/* Void Blue — pure black base, ice blue primary */
:root {
  --bg:            #050509;
  --bg-panel:      #11111f;
  --bg-sidebar:    #11111f;
  --bg-hover:      #2a2a55;
  --bg-card:       #0c0c15;
  --border:        #18183a;
  --border-subtle: #0f0f22;

  --text:          #dce8ff;
  --text-sub:      #88a3cc;
  --text-muted:    #5c6c96;

  --blue:          #80a7ea;
  --green:         #72e168;
  --yellow:        #f9e2af;
  --red:           #f38ba8;
  --purple:        #cba6f7;
  --teal:          #94e2d5;
  --peach:         #fab387;

  --sidebar-width: 310px;
  --font-mono:     'JetBrains Mono', 'Fira Code', monospace;
  --font-sans:     'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius:        8px;
  --radius-sm:     6px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  background-image: radial-gradient(circle, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 40px 40px;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

/* ── LAYOUT ─────────────────────────────────── */

.layout {
  display: flex;
  min-height: 100vh;
}

/* ── SIDEBAR ─────────────────────────────────── */

.sidebar {
  width: var(--sidebar-width);
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  flex-shrink: 0;
  padding: 20px 0 17px;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}

.sidebar::-webkit-scrollbar {
  width: 4px;
}
.sidebar::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 20px 17px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 6px;
}

.brand-dot {
  width: 11px;
  height: 11px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 9px var(--green);
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-mono);
  font-size: 19px;
  color: var(--text);
  letter-spacing: 0.01em;
}

.brand-accent {
  color: var(--blue);
}

/* ── SIDEBAR NAV ─────────────────────────────── */

.sidebar-nav {
  padding: 6px 11px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 15px;
  transition: background 0.15s, color 0.15s;
  border: 1px solid transparent;
}

.nav-item svg {
  flex-shrink: 0;
  opacity: 0.6;
  width: 18px;
  height: 18px;
}

.nav-item:hover {
  background: var(--bg-hover);
  color: var(--text-sub);
}

.nav-item.active {
  background: rgba(137, 180, 250, 0.1);
  color: var(--blue);
  border-color: rgba(137, 180, 250, 0.15);
}

.nav-item.active svg {
  opacity: 1;
}

/* ── ACTIVITY FEED ───────────────────────────── */

.sidebar-feed {
  margin-top: 28px;
  padding: 14px 20px 18px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 6px;
}

.sidebar-section-title {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--blue);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.sidebar-section-title::before {
  content: '// ';
  opacity: 0.5;
}

.feed-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feed-item {
  display: grid;
  grid-template-columns: 39px 11px 1fr;
  align-items: start;
  column-gap: 7px;
}

.feed-date {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.5;
}

.feed-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-top: 6px;
  flex-shrink: 0;
}

.feed-dot.green  { background: var(--green); }
.feed-dot.blue   { background: var(--blue); }
.feed-dot.yellow { background: var(--yellow); }
.feed-dot.purple { background: var(--purple); }
.feed-dot.teal   { background: var(--teal); }
.feed-dot.red    { background: var(--red); }

.feed-text {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.45;
}

/* ── TOP NAV (MOBILE) ────────────────────────── */

.top-nav {
  display: none;
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-sidebar);
  border-bottom: 1px solid var(--border);
  padding: 0 22px;
  height: 72px;
  align-items: center;
  justify-content: space-between;
}

.top-nav-brand {
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--text);
}

.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  border-radius: var(--radius-sm);
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 1px;
  transition: background 0.15s;
}

.nav-toggle:hover span,
.nav-toggle[aria-expanded="true"] span {
  background: var(--text);
}

.top-nav-links {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--bg-sidebar);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  padding: 11px;
  gap: 3px;
}

.top-nav-links.open {
  display: flex;
}

.top-nav-links a {
  padding: 14px 17px;
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 14px;
  border-radius: var(--radius-sm);
  transition: background 0.15s, color 0.15s;
}

.top-nav-links a:hover {
  background: var(--bg-hover);
  color: var(--text);
}

/* ── MAIN CONTENT ────────────────────────────── */

.main {
  flex: 1;
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}

/* ── PANELS ──────────────────────────────────── */

.panel {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.panel.active-panel {
  border-color: rgba(137, 180, 250, 0.5);
  box-shadow: 0 0 0 1px rgba(137, 180, 250, 0.08);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.45);
}

.panel-title {
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--blue);
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.panel-title::before {
  content: '// ';
  opacity: 0.5;
}

.panel-status {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-muted);
}

.panel-status.online {
  color: var(--green);
}

.panel-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 34px;
}

/* ── OVERVIEW ────────────────────────────────── */

.overview-hero {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.overview-hero h1 {
  font-size: 34px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.2;
}

.role {
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--blue);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.bio {
  color: var(--text-sub);
  font-size: 17px;
  line-height: 1.8;
}

.terminal-prompt {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--green);
  opacity: 0.85;
  letter-spacing: 0.04em;
}

.subsection {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.subsection-label {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--blue);
  letter-spacing: 0.08em;
}

/* ── CERT BADGES ─────────────────────────────── */

.cert-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 17px;
  border-radius: 17px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid;
  white-space: nowrap;
}

.cert-badge.aws {
  border-color: rgba(249, 226, 175, 0.3);
  color: var(--yellow);
  background: rgba(249, 226, 175, 0.07);
}

.cert-badge.comptia {
  border-color: rgba(250, 137, 137, 0.3);
  color: var(--red);
  background: rgba(250, 137, 137, 0.07);
}

.cert-badge.other {
  border-color: rgba(148, 226, 213, 0.3);
  color: var(--teal);
  background: rgba(148, 226, 213, 0.07);
}

.cert-badge.wgu {
  border-color: rgba(203, 166, 247, 0.3);
  color: var(--purple);
  background: rgba(203, 166, 247, 0.07);
}

/* ── TAG CLOUD ───────────────────────────────── */

.stack-tiers {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stack-tier {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tier-label {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 6px 15px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-sub);
  transition: border-color 0.15s, color 0.15s;
  cursor: default;
  white-space: nowrap;
  user-select: none;
}

.tag:hover {
  border-color: rgba(137, 180, 250, 0.4);
  color: var(--blue);
}

.tag.sm {
  font-size: 14px;
  padding: 4px 11px;
}

/* ── TIMELINE ────────────────────────────────── */

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 196px 1fr;
  gap: 28px;
  padding: 0 0 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-subtle);
}

.timeline-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.timeline-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 3px;
  flex-shrink: 0;
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--text-sub);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 11px;
  border-radius: 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  width: fit-content;
  white-space: nowrap;
}

.status-badge.active {
  background: rgba(166, 227, 161, 0.1);
  color: var(--green);
  border: 1px solid rgba(166, 227, 161, 0.22);
}

.status-badge.active::before {
  content: '●';
  font-size: 10px;
}

.timeline-role {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
  line-height: 1.3;
}

.timeline-org {
  font-size: 14px;
  color: var(--text-sub);
  font-family: var(--font-mono);
  margin-bottom: 14px;
}

.timeline-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 13px;
}

.timeline-bullets li {
  color: var(--text-sub);
  font-size: 17px;
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}

.timeline-bullets li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ── EDUCATION ───────────────────────────────── */

.edu-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.edu-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 20px;
  border-left: 3px solid var(--border);
}

.edu-degree {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}

.edu-meta {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
}

.edu-note {
  font-size: 14px;
  color: var(--text-sub);
}

.edu-desc {
  font-size: 17px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-top: 6px;
}

.edu-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

/* ── PROJECTS ────────────────────────────────── */

.project-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 17px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  transition: border-color 0.2s, background 0.2s;
}

.project-card:hover {
  border-color: rgba(137, 180, 250, 0.35);
  background: rgba(137, 180, 250, 0.03);
}

.project-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 11px;
}

.project-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.project-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 17px;
  line-height: 1;
  transition: color 0.15s;
  flex-shrink: 0;
  padding: 1px 3px;
}

.project-link:hover {
  color: var(--blue);
}

.project-desc {
  font-size: 17px;
  color: var(--text-sub);
  line-height: 1.7;
  flex: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

/* ── SIDEBAR BOTTOM CONTACT ──────────────────── */

.sidebar-bottom {
  margin-top: auto;
  padding: 14px 20px 18px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-bottom-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-size: 15px;
  color: var(--text-sub);
  transition: background 0.15s, color 0.15s;
}

.sidebar-bottom-link:hover {
  background: var(--bg-hover);
  color: var(--blue);
}

.sidebar-bottom-link svg {
  flex-shrink: 0;
  opacity: 0.75;
}



.sidebar-link {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.sidebar-link:hover {
  background: var(--bg-hover);
  border-color: rgba(137, 180, 250, 0.35);
}

.sidebar-link-label {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-sub);
}

.sidebar-link-value {
  font-size: 14px;
  color: var(--blue);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── ROW PANELS ──────────────────────────────── */

.row-panels {
  display: flex;
  gap: 17px;
  align-items: stretch;
}

.row-panels > .panel,
.row-panels > .col-panels {
  flex: 1;
  min-width: 0;
}


/* projects panel is half-width — single column cards */
.row-panels .project-grid {
  grid-template-columns: 1fr;
}

/* experience panel is half-width — collapse timeline meta inline */
.row-panels .timeline-item {
  grid-template-columns: 1fr;
  gap: 8px;
}

.row-panels .timeline-meta {
  flex-direction: row;
  align-items: center;
  gap: 14px;
}

/* ── RESPONSIVE ──────────────────────────────── */

@media (max-width: 1024px) {
  .top-nav {
    display: flex;
  }

  .sidebar {
    display: none;
  }

  .layout {
    flex-direction: column;
  }

  .main {
    padding: 22px;
    gap: 20px;
  }

  .row-panels {
    flex-direction: column;
  }

  .row-panels .timeline-item {
    grid-template-columns: 1fr;
  }

  html {
    scroll-padding-top: 80px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .timeline-meta {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .overview-hero h1 {
    font-size: 26px;
  }
}

@media (max-width: 600px) {
  .panel-body {
    padding: 20px;
  }

  .cert-grid {
    gap: 6px;
  }

  .cert-badge {
    font-size: 13px;
    padding: 4px 11px;
  }
}
