/* ==========================================================================
   SYSTEM DESIGN TOKENS & 8-POINT GRID
   ========================================================================== */
:root {
  --font-heading: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  /* Light Theme (Tactile Blueprint & Crisp Accents) */
  --bg-canvas: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-surface-sunken: #e2e8f0;
  --border-line: #cbd5e1;
  --border-dark: #0f172a;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;

  /* High-Contrast Accents */
  --c-amber: #d97706;
  --c-amber-bg: #fef3c7;
  --c-purple: #7c3aed;
  --c-purple-bg: #ede9fe;
  --c-blue: #2563eb;
  --c-blue-bg: #dbeafe;
  --c-cyan: #0891b2;
  --c-cyan-bg: #cffafe;
  --c-green: #059669;
  --c-green-bg: #d1fae5;

  /* Buttons */
  --btn-email-bg: #e2e8f0;
  --btn-email-text: #0f172a;
  --btn-linkedin-bg: #dbeafe;
  --btn-linkedin-text: #1e40af;
  --btn-github-bg: #f1f5f9;
  --btn-github-text: #0f172a;
  --btn-accent-bg: #0f172a;
  --btn-accent-text: #ffffff;

  /* Spatial & Elevation */
  --radius-card: 16px;
  --radius-sub: 10px;
  --radius-pill: 999px;
  --hard-shadow: 4px 4px 0px #0f172a;
  --hard-shadow-sm: 2px 2px 0px #0f172a;
}

[data-theme="dark"] {
  /* Dark Theme */
  --bg-canvas: #090d16;
  --bg-surface: #111827;
  --bg-surface-elevated: #1a2336;
  --bg-surface-sunken: #0d131f;
  --border-line: #2d3b55;
  --border-dark: #4b5e82;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;

  --c-amber-bg: #2d1f05;
  --c-purple-bg: #251347;
  --c-blue-bg: #0d234a;
  --c-cyan-bg: #052a33;
  --c-green-bg: #062b1e;

  --btn-email-bg: #1e293b;
  --btn-email-text: #f8fafc;
  --btn-linkedin-bg: #1e3a8a;
  --btn-linkedin-text: #eff6ff;
  --btn-github-bg: #334155;
  --btn-github-text: #f8fafc;
  --btn-accent-bg: #38bdf8;
  --btn-accent-text: #090d16;

  --hard-shadow: 4px 4px 0px #000000;
  --hard-shadow-sm: 2px 2px 0px #000000;
}

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

body {
  background-color: var(--bg-canvas);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: hidden;
  position: relative;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

/* Background Engineering Blueprint Overlay */
.blueprint-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: 32px 32px;
  background-image:
    linear-gradient(to right, rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  pointer-events: none;
  z-index: -2;
}

/* Subtle Glow Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  opacity: 0.18;
  z-index: -1;
}
.orb-amber {
  width: 500px;
  height: 500px;
  background: var(--c-amber);
  top: -80px;
  left: -120px;
}
.orb-cyan {
  width: 550px;
  height: 550px;
  background: var(--c-cyan);
  top: 600px;
  right: -100px;
}

.site-shell {
  max-width: 1140px;
  margin: 0 auto;
  padding: 24px 20px 80px;
}

/* ==========================================================================
   TOP NAVIGATION
   ========================================================================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 2px solid var(--border-line);
}

.nav-brand {
  text-decoration: none;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}
.crosshair {
  color: var(--c-blue);
  font-weight: 800;
}

.nav-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.nav-link {
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.nav-link:hover {
  color: var(--text-main);
}

.theme-toggle {
  background: var(--bg-surface);
  border: 2px solid var(--border-line);
  color: var(--text-main);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  box-shadow: var(--hard-shadow-sm);
  transition: transform 0.15s ease;
}
.theme-toggle:hover {
  transform: translateY(-1px);
}

/* ==========================================================================
   HERO BLOCK
   ========================================================================== */
.hero-block {
  background: var(--bg-surface);
  border: 2px solid var(--border-line);
  border-radius: var(--radius-card);
  padding: 40px;
  margin-bottom: 56px;
  box-shadow: var(--hard-shadow);
}

.hero-grid {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.hero-avatar-col {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.avatar-rig {
  position: relative;
  width: 170px;
  height: 170px;
  border: 2px solid var(--border-dark);
  border-radius: 18px;
  background: var(--bg-surface-elevated);
  padding: 4px;
}
.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* Technical Corner Brackets */
.corner-bracket {
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--c-blue);
  pointer-events: none;
}
.corner-bracket.tr {
  top: -4px;
  right: -4px;
  border-top: 3px solid var(--c-blue);
  border-right: 3px solid var(--c-blue);
}
.corner-bracket.bl {
  bottom: -4px;
  left: -4px;
  border-bottom: 3px solid var(--c-blue);
  border-left: 3px solid var(--c-blue);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}
.live-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c-green);
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.25);
}

.hero-text-col {
  flex-grow: 1;
}

.chip-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.hero-pill {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1.5px solid transparent;
}
.pill-gt {
  background: var(--c-amber-bg);
  color: var(--c-amber);
  border-color: var(--c-amber);
}
.pill-cs {
  background: var(--c-purple-bg);
  color: var(--c-purple);
  border-color: var(--c-purple);
}
.pill-d1 {
  background: var(--c-blue-bg);
  color: var(--c-blue);
  border-color: var(--c-blue);
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 4px;
}
.hero-subtitle {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--c-blue);
  margin-bottom: 16px;
}

.hero-statement {
  font-size: 1.0625rem;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.55;
}
.hero-substatement {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.55;
}

.hero-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 10px 18px;
  border-radius: 8px;
  transition: transform 0.15s ease;
  border: 2px solid var(--border-dark);
  box-shadow: var(--hard-shadow-sm);
}
.btn:hover {
  transform: translateY(-2px);
}

.btn-mail {
  background: var(--btn-email-bg);
  color: var(--btn-email-text);
}
.btn-li {
  background: var(--btn-linkedin-bg);
  color: var(--btn-linkedin-text);
}
.btn-gh {
  background: var(--btn-github-bg);
  color: var(--btn-github-text);
}
.btn-action-accent {
  background: var(--btn-accent-bg);
  color: var(--btn-accent-text);
}

/* ==========================================================================
   SECTION COMMON HEADER
   ========================================================================== */
.section-container {
  margin-bottom: 64px;
}

.section-title-wrap {
  margin-bottom: 28px;
}
.section-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-blue);
  display: block;
  margin-bottom: 4px;
}
.section-heading {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
}
.section-subtext {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

/* Bullet list style */
.clean-bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.clean-bullet-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.clean-bullet-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--text-subtle);
  font-weight: 700;
}

/* ==========================================================================
   HIGHLIGHTS & PROOF OF WORK (3 PANELS)
   ========================================================================== */
.highlights-triad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.highlight-panel {
  background: var(--bg-surface);
  border: 2px solid var(--border-line);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--hard-shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition:
    transform 0.15s ease,
    border-color 0.15s ease;
}
.highlight-panel:hover {
  border-color: var(--border-dark);
  transform: translateY(-2px);
}

.panel-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.highlight-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 4px;
}
.tag-blue {
  background: var(--c-blue-bg);
  color: var(--c-blue);
}
.tag-amber {
  background: var(--c-amber-bg);
  color: var(--c-amber);
}
.tag-purple {
  background: var(--c-purple-bg);
  color: var(--c-purple);
}

.icon-indicator {
  color: var(--text-subtle);
  font-size: 0.8rem;
}

.panel-header {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
}

/* ==========================================================================
   FEATURED HARDWARE DECK (TABS & LARGE VIEWPORT)
   ========================================================================== */
.tab-command-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.command-tab {
  background: var(--bg-surface);
  border: 2px solid var(--border-line);
  border-radius: var(--radius-sub);
  padding: 14px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  box-shadow: var(--hard-shadow-sm);
  transition: all 0.15s ease;
}
.command-tab:hover {
  border-color: var(--border-dark);
}
.command-tab.active {
  background: var(--bg-surface-elevated);
  border-color: var(--c-blue);
  transform: translateY(-2px);
}

.tab-seq {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-subtle);
}
.command-tab.active .tab-seq {
  color: var(--c-blue);
}

.tab-info {
  display: flex;
  flex-direction: column;
}
.tab-label {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-main);
}
.tab-tech {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Deck Panels */
.project-deck-panel {
  display: none;
  background: var(--bg-surface);
  border: 2px solid var(--border-line);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: var(--hard-shadow);
  animation: fadeIn 0.2s ease-out;
}
.project-deck-panel.active {
  display: block;
}

.deck-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 2px dashed var(--border-line);
  margin-bottom: 28px;
}

.deck-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-blue);
  display: block;
  margin-bottom: 4px;
}
.deck-title {
  font-family: var(--font-heading);
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.deck-meta {
  font-size: 0.8125rem;
  color: var(--text-subtle);
  font-family: var(--font-mono);
  margin-top: 4px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 440px;
}
.mono-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-line);
  padding: 3px 8px;
  border-radius: 6px;
  color: var(--text-muted);
}

.deck-body-layout {
  display: grid;
  grid-template-columns: 1.8fr 1.2fr;
  gap: 32px;
  margin-bottom: 36px;
}

.deck-text h4 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.deck-text p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  line-height: 1.6;
}
.technical-bullets {
  padding-left: 18px;
  margin-bottom: 16px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}
.technical-bullets li {
  margin-bottom: 8px;
}

.callout-box {
  background: var(--bg-surface-elevated);
  border-left: 4px solid var(--c-blue);
  padding: 12px 16px;
  border-radius: 0 8px 8px 0;
  font-size: 0.875rem;
  color: var(--text-main);
}

.data-sheet {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sub);
  padding: 18px;
  margin-bottom: 16px;
}
.data-sheet h4 {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.data-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.8125rem;
  border-bottom: 1px dashed var(--border-line);
  gap: 12px;
}
.data-row:last-child {
  border-bottom: none;
}
.data-row span {
  color: var(--text-muted);
}
.data-row strong {
  font-family: var(--font-code);
  color: var(--text-main);
  text-align: right;
}

.pdf-viewer-compact {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sub);
  padding: 12px;
}
.pdf-bar {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-code);
  margin-bottom: 8px;
}
.pdf-bar a {
  color: var(--c-blue);
  text-decoration: none;
}
.mini-pdf-frame {
  width: 100%;
  height: 220px;
  border: 1px solid var(--border-line);
  border-radius: 6px;
  background: #ffffff;
}

.xprize-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sub);
  padding: 16px;
  text-align: center;
}
.xprize-logo {
  max-width: 110px;
  display: inline-block;
  margin-bottom: 8px;
}
.xprize-card span {
  display: block;
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-subtle);
}

/* ==========================================================================
   LARGE MEDIA VIEWPORT & THUMBNAIL STRIP
   ========================================================================== */
.media-showcase-section {
  border-top: 2px dashed var(--border-line);
  padding-top: 28px;
}

.showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.showcase-header h4 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
}
.showcase-note {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-subtle);
}

/* The Main Large Stage */
.main-preview-stage {
  position: relative;
  width: 100%;
  height: 480px;
  background: #000000;
  border: 2px solid var(--border-dark);
  border-radius: var(--radius-card);
  overflow: hidden;
  cursor: zoom-in;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage-media {
  height: calc(
    100% - 44px
  ); /* leaves exact clearance for the bottom caption bar */
  width: auto;
  max-width: 96%;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.stage-caption-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.88);
  color: #f8fafc;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  padding: 8px 16px;
  backdrop-filter: blur(4px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

/* Thumbnail Selector Strip */
.media-thumbnail-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
}
.media-thumbnail-strip::-webkit-scrollbar {
  height: 6px;
}
.media-thumbnail-strip::-webkit-scrollbar-thumb {
  background: var(--border-line);
  border-radius: var(--radius-pill);
}

.thumb-node {
  position: relative;
  flex: 0 0 130px;
  height: 90px;
  background: var(--bg-surface-elevated);
  border: 2px solid var(--border-line);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition:
    border-color 0.15s ease,
    transform 0.15s ease;
}
.thumb-node:hover {
  border-color: var(--border-dark);
  transform: translateY(-2px);
}
.thumb-node.active {
  border-color: var(--c-blue);
  box-shadow: 0 0 0 2px var(--c-blue);
}

.thumb-node img {
  width: 100%;
  height: 62px;
  object-fit: cover;
  display: block;
}
.thumb-node span {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  padding: 3px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: var(--bg-surface);
  color: var(--text-main);
  border-top: 1px solid var(--border-line);
}

.video-thumb-overlay {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.8);
  color: #ffffff;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

/* ==========================================================================
   EXPERIENCE ACCORDIONS
   ========================================================================== */
.accordion-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.exp-drawer {
  background: var(--bg-surface);
  border: 2px solid var(--border-line);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--hard-shadow-sm);
  transition: border-color 0.15s ease;
}
.exp-drawer[open] {
  border-color: var(--border-dark);
}

.drawer-summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.drawer-summary::-webkit-details-marker {
  display: none;
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.drawer-logo {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  object-fit: contain;
  background: #ffffff;
  padding: 4px;
  border: 1px solid var(--border-line);
}

.drawer-title {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-main);
}
.drawer-org {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.drawer-status {
  display: flex;
  align-items: center;
  gap: 16px;
}
.drawer-date {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--text-subtle);
}
.drawer-caret {
  font-size: 0.875rem;
  color: var(--text-subtle);
  transition: transform 0.2s ease;
}
.exp-drawer[open] .drawer-caret {
  transform: rotate(180deg);
}

.drawer-content {
  padding: 0 24px 20px 86px;
}

/* ==========================================================================
   TECHNICAL CAPABILITIES (CLEANED PILLS)
   ========================================================================== */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cap-column {
  background: var(--bg-surface);
  border: 2px solid var(--border-line);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--hard-shadow-sm);
}

.cap-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.cap-icon {
  font-size: 1.25rem;
  color: var(--c-blue);
}
.cap-header h3 {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 700;
}

.cap-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cap-pill {
  font-family: var(--font-mono);
  font-size: 0.78125rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-line);
  color: var(--text-main);
}
.pill-hot {
  border-color: var(--c-blue);
  color: var(--c-blue);
  font-weight: 600;
}
.pill-training {
  border-style: dashed;
  color: var(--text-muted);
}

/* ==========================================================================
   FUTURE GOALS: COMMAND DECK / TERMINAL RADAR LAYOUT
   ========================================================================== */
.roadmap-terminal {
  background: var(--bg-surface);
  border: 2px solid var(--border-dark);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--hard-shadow);
}

.terminal-bar {
  background: var(--border-dark);
  color: #ffffff;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.terminal-dots {
  display: flex;
  gap: 6px;
}
.terminal-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #f87171;
}
.terminal-dots span:nth-child(2) {
  background: #fbbf24;
}
.terminal-dots span:nth-child(3) {
  background: #34d399;
}

.terminal-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.terminal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.radar-lane {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 16px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-sub);
  transition:
    transform 0.15s ease,
    border-color 0.15s ease;
}
.radar-lane:hover {
  border-color: var(--c-blue);
  transform: translateX(4px);
}

.radar-indicator {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.target-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px dashed var(--c-blue);
  border-radius: 50%;
  animation: spinRing 12s linear infinite;
}
@keyframes spinRing {
  100% {
    transform: rotate(360deg);
  }
}
.target-core {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--c-blue);
}

.radar-content h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.radar-content p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   APP FOOTER
   ========================================================================== */
.app-footer {
  border-top: 2px solid var(--border-line);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-meta strong {
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  display: block;
}
.footer-meta span {
  font-size: 0.8125rem;
  color: var(--text-subtle);
}

.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.footer-links a:hover {
  color: var(--c-blue);
}

/* ==========================================================================
   HIGH-RES LIGHTBOX MODAL WITH ZOOM CONTROLS
   ========================================================================== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(9, 13, 22, 0.94);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 32px;
  backdrop-filter: blur(8px);
}
.lightbox.open {
  display: flex;
}

.lightbox-controls {
  position: absolute;
  top: 20px;
  right: 24px;
  display: flex;
  gap: 8px;
  z-index: 1010;
}

.lb-ctrl-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-line);
  color: var(--text-main);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.15s ease;
}
.lb-ctrl-btn:hover {
  background: var(--bg-surface-elevated);
}
.lb-close {
  font-size: 1.25rem;
  line-height: 1;
}

.lightbox-stage-wrap {
  width: 100%;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  cursor: default;
}

#lightbox-img,
#lightbox-video {
  width: min(94vw, 1200px);
  max-height: 78vh;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--border-line);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
  display: block;
  transform-origin: center center;
  transition: transform 0.2s ease;
}

#lightbox-caption {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: #f8fafc;
  margin-top: 14px;
  text-align: center;
}

/* ==========================================================================
   RESPONSIVE LAYOUT
   ========================================================================== */
@media (max-width: 960px) {
  .hero-grid {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .chip-stack,
  .hero-button-row {
    justify-content: center;
  }
  .highlights-triad,
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
  .tab-command-bar {
    grid-template-columns: repeat(2, 1fr);
  }
  .deck-body-layout {
    grid-template-columns: 1fr;
  }
  .main-preview-stage {
    height: 360px;
  }
  .drawer-content {
    padding-left: 24px;
  }
}

@media (max-width: 600px) {
  .site-shell {
    padding: 16px 12px 64px;
  }
  .hero-block,
  .project-deck-panel {
    padding: 20px;
  }
  .tab-command-bar {
    grid-template-columns: 1fr;
  }
  .main-preview-stage {
    height: 280px;
  }
  .hero-headline {
    font-size: 2rem;
  }
}

/* NDA Redaction Notice Banner */
.nda-notice-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-surface-elevated);
  border: 1px dashed var(--border-dark);
  border-left: 4px solid var(--c-amber);
  border-radius: 0 8px 8px 0;
  padding: 12px 16px;
  margin-top: 0;
  margin-bottom: 20px;
}
.nda-icon {
  font-size: 1.1rem;
  line-height: 1.4;
}

.nda-notice-banner p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.nda-notice-banner strong {
  color: var(--text-main);
  font-family: var(--font-mono);
}
