:root {
  --surface-bg: #090A09;
  --surface-stage: #0E0F0E;
  --surface-panel: #111211;
  --surface-subtle: #161816;
  --surface-hover: #1C1F1C;
  --light-table: #EAE8E1;
  --ivory: #F4F1E9;
  --titan-muted: #969A90;
  --titan-faint: #5E6359;
  --accent-gold: #E3C982;
  --accent-gold-dim: rgba(227, 201, 130, 0.14);
  --accent-lime: #CBE86B;
  --border-hairline: rgba(244, 241, 233, 0.08);
  --border-subtle: rgba(244, 241, 233, 0.14);
  --border-gold: rgba(227, 201, 130, 0.35);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Monaco, Consolas, monospace;
  --max-shell: 1440px;
}

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

html {
  background-color: var(--surface-bg);
  color: var(--ivory);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--surface-bg);
  color: var(--ivory);
  min-height: 100vh;
  overflow-x: hidden;
}

::selection {
  background-color: rgba(227, 201, 130, 0.22);
  color: var(--ivory);
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--surface-bg);
}
::-webkit-scrollbar-thumb {
  background: #232623;
  border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
  background: #353935;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.18s ease, border-color 0.18s ease, background-color 0.18s ease, opacity 0.18s ease;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, textarea {
  font: inherit;
  color: inherit;
}

.bypass-link {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 999;
  padding: 8px 14px;
  background: var(--ivory);
  color: var(--surface-bg);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
}
.bypass-link:focus {
  top: 12px;
}

.shell-frame {
  max-width: var(--max-shell);
  margin-inline: auto;
  padding-inline: 32px;
}

/* Top Fixed Instrumentation Header */
.hud-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 56px;
  background: rgba(9, 10, 9, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-hairline);
}

.topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-cluster {
  display: flex;
  align-items: center;
  gap: 16px;
}

.rig-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 24px;
  height: 24px;
  background: var(--surface-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.18s ease;
}

.rig-brand:hover .brand-mark {
  border-color: var(--accent-gold);
}

.brand-diamond {
  width: 8px;
  height: 8px;
  background: var(--accent-gold);
  transform: rotate(45deg);
}

.brand-wordmark {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ivory);
  text-transform: uppercase;
}

.brand-spec-tag {
  padding-left: 16px;
  border-left: 1px solid var(--border-hairline);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--titan-faint);
  text-transform: uppercase;
}

.hud-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.hud-nav a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--titan-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hud-nav a .nav-idx {
  color: var(--titan-faint);
}

.hud-nav a:hover,
.hud-nav a[aria-current="page"] {
  color: var(--ivory);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 2px;
  background: var(--surface-panel);
  border: 1px solid var(--border-hairline);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--titan-muted);
  text-transform: uppercase;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-lime);
  box-shadow: 0 0 8px rgba(203, 232, 107, 0.75);
  animation: statusPulse 2.4s infinite ease-in-out;
}

@keyframes statusPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.btn-ivory-sm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--ivory);
  color: var(--surface-bg);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid var(--ivory);
  cursor: pointer;
}
.btn-ivory-sm:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--surface-bg);
}

.locale-pod {
  position: relative;
}
.locale-pod summary {
  list-style: none;
  cursor: pointer;
  padding: 5px 10px;
  background: var(--surface-panel);
  border: 1px solid var(--border-hairline);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--titan-muted);
  text-transform: uppercase;
}
.locale-pod summary::-webkit-details-marker {
  display: none;
}
.locale-pod summary:hover {
  color: var(--ivory);
  border-color: var(--border-subtle);
}
.locale-pod nav {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 120px;
  background: var(--surface-panel);
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  padding: 4px;
  display: flex;
  flex-direction: column;
  z-index: 80;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.65);
}
.locale-pod nav a {
  padding: 6px 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--titan-muted);
  border-radius: 2px;
}
.locale-pod nav a:hover,
.locale-pod nav a[aria-current="page"] {
  background: var(--surface-subtle);
  color: var(--accent-gold);
}

.nav-drawer-toggle {
  background: var(--surface-panel);
  border: 1px solid var(--border-subtle);
  color: var(--ivory);
  padding: 5px 10px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Section 01: Hero Instrumentation Bento */
.hero-section {
  padding-top: 24px;
  padding-bottom: 48px;
}

.bento-hairline-grid {
  display: grid;
  gap: 1px;
  background: var(--border-hairline);
  border: 1px solid var(--border-hairline);
  border-radius: 2px;
  overflow: hidden;
}

.hero-bento {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.hero-left-panel {
  grid-column: span 6;
  background: var(--surface-panel);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.panel-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-hairline);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.meta-gold {
  color: var(--accent-gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.meta-gold-bar {
  width: 6px;
  height: 6px;
  background: var(--accent-gold);
  display: inline-block;
}

.meta-faint {
  color: var(--titan-faint);
}

.mono-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 14px;
}

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.4vw, 4rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--ivory);
  margin-bottom: 24px;
}

.hero-h1 span {
  color: var(--titan-muted);
  font-weight: 300;
}

.hero-lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--titan-muted);
  font-weight: 300;
  max-width: 580px;
}

.chassis-audit-callout {
  margin-top: 28px;
  padding: 16px 18px;
  background: rgba(9, 10, 9, 0.65);
  border: 1px solid var(--border-hairline);
  border-left: 2px solid var(--accent-gold);
  border-radius: 2px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.chassis-audit-callout .callout-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold);
  white-space: nowrap;
  padding-top: 2px;
}

.chassis-audit-callout p {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--titan-muted);
}

.chassis-audit-callout strong {
  color: var(--ivory);
  font-weight: 500;
}

.hero-cta-bar {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-hairline);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.btn-primary-ivory {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  background: var(--ivory);
  color: var(--surface-bg);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid var(--ivory);
  cursor: pointer;
}
.btn-primary-ivory:hover {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--surface-bg);
}

.btn-secondary-obsidian {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  background: var(--surface-subtle);
  color: var(--ivory);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
}
.btn-secondary-obsidian:hover {
  border-color: rgba(244, 241, 233, 0.35);
  background: var(--surface-hover);
}

/* Right Column: Swiss Architectural Calibration Stage */
.hero-right-stage {
  grid-column: span 6;
  background: var(--surface-stage);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.stage-top-bar {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-hairline);
  background: rgba(17, 18, 17, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--titan-muted);
  text-transform: uppercase;
}

.stage-top-bar .coord-gold {
  color: var(--accent-gold);
}

.stage-viewport-pad {
  flex: 1;
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Warm Stone Light-Table Presentation Bed (#EAE8E1) */
.light-table-bed {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4 / 5;
  background-color: var(--light-table);
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
}

.light-table-grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  background-image:
    linear-gradient(to right, rgba(9, 10, 9, 0.12) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(9, 10, 9, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
}

.light-table-ruler {
  position: absolute;
  left: 12px;
  top: 24px;
  bottom: 24px;
  width: 42px;
  border-left: 1px solid rgba(9, 10, 9, 0.22);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-left: 6px;
  font-family: var(--font-mono);
  font-size: 8px;
  color: rgba(9, 10, 9, 0.48);
  pointer-events: none;
  z-index: 2;
}

.light-table-ref {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(9, 10, 9, 0.55);
  text-transform: uppercase;
  pointer-events: none;
  z-index: 2;
}

.light-table-pass {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(9, 10, 9, 0.55);
  text-transform: uppercase;
  pointer-events: none;
  z-index: 2;
}

.light-table-bed img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  mix-blend-mode: multiply;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: zoom-in;
}

.light-table-bed:hover img {
  transform: scale(1.03);
}

/* Interactive Callout Hotspots on Light-Table */
.stage-hotspot {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.stage-hotspot.hs-01 { top: 18%; right: 14%; }
.stage-hotspot.hs-02 { top: 43%; left: 15%; }
.stage-hotspot.hs-03 { top: 60%; right: 12%; }
.stage-hotspot.hs-04 { bottom: 20%; left: 16%; }

.hotspot-node {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--surface-bg);
  color: var(--ivory);
  border: 1px solid var(--accent-gold);
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.hotspot-chip {
  background: rgba(9, 10, 9, 0.92);
  color: var(--ivory);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 2px;
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.zoom-trigger-btn {
  position: absolute;
  bottom: 10px;
  left: 56px;
  z-index: 6;
  background: rgba(9, 10, 9, 0.86);
  color: var(--ivory);
  border: 1px solid rgba(9, 10, 9, 0.4);
  border-radius: 2px;
  padding: 3px 8px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.zoom-trigger-btn:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

/* Stage Bottom Telemetry Strip */
.stage-telemetry-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border-hairline);
  border-top: 1px solid var(--border-hairline);
}

.stage-telemetry-cell {
  background: var(--surface-panel);
  padding: 16px 20px;
}

.stage-telemetry-cell .cell-k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--titan-faint);
  margin-bottom: 4px;
}

.stage-telemetry-cell .cell-v {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--ivory);
}

.stage-telemetry-cell .cell-v.gold {
  color: var(--accent-gold);
}

/* Section Headers & Layout */
.sector-block {
  padding-block: 88px;
  border-top: 1px solid var(--border-hairline);
}

.sector-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.sector-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ivory);
}

.sector-subcopy {
  max-width: 440px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--titan-muted);
}

/* Section 02: Architectural Anatomy (3-Column Macro Inspector) */
.anatomy-bento-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.anatomy-cell {
  background: var(--surface-panel);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background-color 0.2s ease;
}

.anatomy-cell:hover {
  background: var(--surface-subtle);
}

.cell-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cell-top-meta .pos-gold {
  color: var(--accent-gold);
}

.cell-top-meta .zone-faint {
  color: var(--titan-faint);
}

.macro-photo-bed {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--light-table);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.macro-photo-bed img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  mix-blend-mode: multiply;
  transition: transform 0.5s ease;
  cursor: zoom-in;
}

.anatomy-cell:hover .macro-photo-bed img {
  transform: scale(1.05);
}

.macro-zoom-tag {
  position: absolute;
  bottom: 8px;
  left: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: rgba(9, 10, 9, 0.58);
  text-transform: uppercase;
  pointer-events: none;
}

.anatomy-cell h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 10px;
}

.anatomy-cell p {
  font-size: 14px;
  line-height: 1.62;
  color: var(--titan-muted);
}

.cell-bottom-specs {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--border-hairline);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.cell-bottom-specs .spec-k {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--titan-faint);
}

.cell-bottom-specs .spec-v {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ivory);
  margin-top: 3px;
}

/* Scanner Filter Bar (Optional Interactive Highlight) */
.scanner-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.scanner-tab {
  background: var(--surface-panel);
  border: 1px solid var(--border-hairline);
  color: var(--titan-muted);
  padding: 7px 14px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.scanner-tab[aria-pressed="true"],
.scanner-tab:hover {
  border-color: var(--accent-gold);
  color: var(--ivory);
  background: var(--surface-subtle);
}

.anatomy-cell.is-focused {
  outline: 1px solid var(--border-gold);
  background: var(--surface-subtle);
}

/* Section 03: The Hardware Matrix (Air-Table) */
.air-table-wrap {
  border: 1px solid var(--border-hairline);
  border-radius: 2px;
  overflow-x: auto;
  background: var(--surface-panel);
}

.air-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 720px;
}

.air-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.air-table thead tr {
  border-bottom: 1px solid var(--border-hairline);
  background: var(--surface-subtle);
}

.air-table th,
.air-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-hairline);
  font-size: 13.5px;
  vertical-align: top;
}

.air-table thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--titan-muted);
}

.air-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.015);
}

.air-table tbody th {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--ivory);
  width: 24%;
}

.air-table tbody td {
  color: var(--titan-muted);
  width: 25%;
}

.air-table .col-focus {
  background: rgba(244, 241, 233, 0.025);
  border-left: 1px solid var(--border-subtle);
  color: var(--ivory);
  font-weight: 500;
}

.air-table thead .col-focus {
  color: var(--accent-gold);
  font-weight: 600;
}

.focus-col-head {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Section 04: Deployment Protocols (3-Column Scene Cards) */
.protocol-card {
  background: var(--surface-panel);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.protocol-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-subtle);
}

.protocol-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 0.65s ease, opacity 0.35s ease;
}

.protocol-card:hover .protocol-media img {
  transform: scale(1.04);
  opacity: 1;
}

.protocol-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--surface-panel) 4%, rgba(17, 18, 17, 0.25) 55%, transparent 100%);
  pointer-events: none;
}

.vector-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 4px 10px;
  background: rgba(9, 10, 9, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--accent-gold);
  text-transform: uppercase;
}

.protocol-body {
  padding: 28px 32px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.protocol-body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 10px;
}

.protocol-body p {
  font-size: 14px;
  line-height: 1.62;
  color: var(--titan-muted);
}

.protocol-foot {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--titan-faint);
}

.protocol-foot .foot-gold {
  color: var(--accent-gold);
}

/* Section 05: Verification Disclosure & Telemetry Audit */
.disclosure-panel {
  background: var(--surface-panel);
  border: 1px solid var(--border-hairline);
  border-radius: 2px;
  padding: 44px;
}

.disclosure-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 36px;
}

.disclosure-intro {
  grid-column: span 4;
}

.disclosure-intro h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ivory);
  margin-bottom: 14px;
}

.disclosure-intro p {
  font-size: 14px;
  line-height: 1.62;
  color: var(--titan-muted);
}

.disclosure-cards {
  grid-column: span 8;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.audit-subcard {
  background: var(--surface-bg);
  border: 1px solid var(--border-hairline);
  border-radius: 2px;
  padding: 28px;
}

.audit-subcard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border-hairline);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.audit-subcard-head .head-lime {
  color: var(--accent-lime);
}

.audit-subcard-head .head-gold {
  color: var(--accent-gold);
}

.audit-subcard-head .head-faint {
  color: var(--titan-faint);
}

.audit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.audit-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--titan-muted);
}

.audit-list li .mark-lime {
  color: var(--accent-lime);
  font-family: var(--font-mono);
}

.audit-list li .mark-gold {
  color: var(--accent-gold);
  font-family: var(--font-mono);
}

/* FAQ Accordion Matrix */
.faq-layout {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 40px;
  align-items: start;
}

.faq-stack {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border-hairline);
  border: 1px solid var(--border-hairline);
  border-radius: 2px;
}

.faq-stack details {
  background: var(--surface-panel);
  padding: 20px 24px;
  transition: background-color 0.18s ease;
}

.faq-stack details[open] {
  background: var(--surface-subtle);
}

.faq-stack summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--ivory);
}

.faq-stack summary::-webkit-details-marker {
  display: none;
}

.faq-stack summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent-gold);
}

.faq-stack details[open] summary::after {
  content: "−";
}

.faq-stack details p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--titan-muted);
}

/* Section 06: Interactive Hardware Allocation & Enquiry Console */
.allocation-bento {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.allocation-left {
  grid-column: span 5;
  background: var(--surface-panel);
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.allocation-right {
  grid-column: span 7;
  background: var(--surface-stage);
  padding: 48px;
}

.protocol-steps-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.protocol-step-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.step-badge {
  width: 24px;
  height: 24px;
  border-radius: 2px;
  background: var(--surface-subtle);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.protocol-step-row h3 {
  font-size: 14px;
  font-weight: 500;
  color: var(--ivory);
}

.protocol-step-row p {
  font-size: 12.5px;
  color: var(--titan-muted);
  margin-top: 2px;
}

.selector-group {
  margin-bottom: 24px;
}

.selector-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--titan-muted);
  margin-bottom: 10px;
}

.selector-pills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.selector-pills.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.selector-pill {
  padding: 11px 12px;
  background: var(--surface-panel);
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--titan-muted);
  text-align: center;
  cursor: pointer;
  transition: all 0.16s ease;
}

.selector-pill:hover {
  border-color: rgba(244, 241, 233, 0.35);
  color: var(--ivory);
}

.selector-pill[aria-pressed="true"] {
  border-color: var(--accent-gold);
  background: var(--accent-gold-dim);
  color: var(--ivory);
}

/* Editable Terminal Brief Box */
.terminal-console {
  background: var(--surface-panel);
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  padding: 24px;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-hairline);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold);
}

.terminal-dots {
  display: inline-flex;
  gap: 6px;
}

.terminal-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--titan-faint);
  display: inline-block;
}

.terminal-console label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--titan-muted);
  margin-bottom: 8px;
}

.terminal-console textarea {
  width: 100%;
  background: var(--surface-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  padding: 14px;
  color: var(--ivory);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.6;
  resize: vertical;
}

.terminal-console textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.terminal-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.terminal-status {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-lime);
  min-height: 18px;
}

/* Subpage Dossier Layout (Checklist & Comparison Pages) */
.dossier-hero {
  padding-top: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border-hairline);
}

.crumb-trail {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--titan-muted);
  margin-bottom: 20px;
}

.crumb-trail a:hover {
  color: var(--accent-gold);
}

.dossier-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 48px;
  padding-block: 56px;
  align-items: start;
}

.radar-toc {
  position: sticky;
  top: 84px;
  background: var(--surface-panel);
  border: 1px solid var(--border-hairline);
  border-radius: 2px;
  padding: 24px;
}

.radar-toc nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.radar-toc a {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--titan-muted);
  padding: 6px 8px;
  border-left: 2px solid transparent;
  transition: all 0.16s ease;
}

.radar-toc a:hover,
.radar-toc a.is-active {
  color: var(--ivory);
  border-left-color: var(--accent-gold);
  background: var(--surface-subtle);
}

.dossier-stream {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.dossier-stream section {
  background: var(--surface-panel);
  border: 1px solid var(--border-hairline);
  border-radius: 2px;
  padding: 36px;
}

.dossier-stream h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 16px;
}

.dossier-stream h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ivory);
  margin-top: 22px;
  margin-bottom: 10px;
}

.dossier-stream p {
  font-size: 15px;
  line-height: 1.68;
  color: var(--titan-muted);
  margin-bottom: 14px;
}

.dossier-stream ul {
  padding-left: 20px;
  margin-block: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--titan-muted);
  font-size: 14.5px;
}

.specimen-box {
  margin-block: 24px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 28px;
  background: var(--surface-bg);
  border: 1px solid var(--border-hairline);
  border-radius: 2px;
  padding: 24px;
  align-items: center;
}

.specimen-box img {
  background: var(--light-table);
  border-radius: 2px;
  padding: 12px;
}

.vector-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-top: 10px;
}

.vector-link:hover {
  color: var(--ivory);
}

.hud-card {
  background: var(--surface-panel);
  border: 1px solid var(--border-hairline);
  border-radius: 2px;
  padding: 28px;
}

.index-code,
.state-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold);
  margin-bottom: 10px;
}

.bento-three {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--border-hairline);
  border: 1px solid var(--border-hairline);
}

.bento-two {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.disclaimer-note {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.6;
  color: var(--titan-faint);
  margin-top: 12px;
}

/* Technical Monospace Colophon Footer */
.cyber-footer {
  border-top: 1px solid var(--border-hairline);
  background: var(--surface-bg);
  padding-block: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 4fr 2fr 2fr 4fr;
  gap: 32px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--border-hairline);
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--titan-faint);
  margin-bottom: 14px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--titan-muted);
}

.footer-links a:hover {
  color: var(--ivory);
}

.footer-disclosure-box {
  background: var(--surface-panel);
  border: 1px solid var(--border-hairline);
  border-radius: 2px;
  padding: 18px;
}

.footer-bottom-bar {
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--titan-faint);
}

/* Accessible Lightbox Modal */
.holo-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(9, 10, 9, 0.92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.holo-modal[hidden] {
  display: none !important;
}

.holo-modal-box {
  max-width: 760px;
  width: 100%;
  background: var(--surface-panel);
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  padding: 24px;
  position: relative;
}

.holo-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border-hairline);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-gold);
}

.holo-modal-close {
  background: var(--surface-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--ivory);
  padding: 5px 12px;
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.holo-modal-stage {
  background: var(--light-table);
  border-radius: 2px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 72vh;
}

.holo-modal-stage img {
  max-height: 64vh;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

@media(max-width:760px) {
  .shell-frame {
    padding-inline: 20px;
  }
  .brand-spec-tag,
  .status-pill {
    display: none;
  }
  .hud-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 56px;
    background: var(--surface-panel);
    border-bottom: 1px solid var(--border-subtle);
    padding: 16px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .hud-nav.is-open {
    display: flex;
  }
  .hero-left-panel,
  .hero-right-stage,
  .allocation-left,
  .allocation-right,
  .disclosure-intro,
  .disclosure-cards {
    grid-column: span 12;
  }
  .hero-left-panel,
  .allocation-left,
  .allocation-right {
    padding: 28px;
  }
  .anatomy-bento-three,
  .bento-three,
  .bento-two,
  .disclosure-cards,
  .faq-layout,
  .dossier-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .radar-toc {
    position: static;
  }
  .specimen-box {
    grid-template-columns: 1fr;
  }
}

@media(max-width:540px) {
  .shell-frame {
    padding-inline: 16px;
  }
  .stage-telemetry-strip,
  .selector-pills,
  .selector-pills.cols-4 {
    grid-template-columns: 1fr;
  }
  .stage-hotspot .hotspot-chip {
    display: none;
  }
  .hero-h1 {
    font-size: 2.2rem;
  }
}
