/* ========================================
   CCT Labs Vision Page — Design System
   ======================================== */

:root {
  /* Colors */
  --bg-primary: #0a0e1a;
  --bg-surface: #111827;
  --bg-surface-alpha: rgba(17, 24, 39, 0.7);
  --accent-brute: #ff8a00;
  --accent-tuned-rgb: 0, 119, 151;
  --accent-tuned: #007797;
  --accent-tuned-bright: #1492ad;
  --accent-tuned-label: #32abc1;
  --text-primary: #e8edf5;
  --text-secondary: #8899b3;
  --text-dim: #5a6a80;
  --grid-line: rgba(26, 32, 53, 0.6);
  --border-subtle: rgba(0, 119, 151, 0.15);
  --border-glow: rgba(0, 119, 151, 0.3);
  --future-placeholder-image: url('../assets/figures/cct_space_metric_engineer_1765696486734.png');

  /* Typography */
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Spacing */
  --section-gap: clamp(80px, 12vw, 140px);
  --content-width: 720px;
  --content-width-wide: 960px;
  --hero-scroll-span: 400vh;
}

/* ========================================
   Reset & Base
   ======================================== */

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

html {
  scroll-behavior: auto; /* let JS handle smoothness */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-primary);
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.75;
  color: var(--text-primary);
  overflow-x: hidden;
}

body.scene-lightbox-open,
body.summary-lightbox-open {
  overflow: hidden;
}

::selection {
  background: rgba(0, 119, 151, 0.3);
  color: var(--text-primary);
}

/* ========================================
   Navigation / Wordmark
   ======================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 32px;
  pointer-events: none;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  opacity: 0.7;
  transition: opacity 0.3s ease;
  pointer-events: auto;
}

.wordmark:hover {
  opacity: 1;
}

.nav-summary-trigger {
  appearance: none;
  border: 1px solid rgba(var(--accent-tuned-rgb), 0.22);
  border-radius: 999px;
  background: rgba(7, 14, 24, 0.78);
  color: rgba(232, 237, 245, 0.88);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 10px 14px;
  pointer-events: auto;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.nav-summary-trigger:hover,
.nav-summary-trigger:focus-visible {
  border-color: rgba(var(--accent-tuned-rgb), 0.42);
  background: rgba(8, 16, 28, 0.94);
  color: var(--text-primary);
  outline: none;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
  position: relative;
  height: var(--hero-scroll-span);
}

.hero-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

#waveCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Hero text overlays */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

.hero-text {
  position: absolute;
  top: 18vh;
  width: 100%;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 4.5vw, 48px);
  line-height: 1.3;
  color: var(--text-primary);
  padding: 0 24px;
  opacity: 0;
  transition: opacity 0.15s ease;
  max-width: 800px;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
}

/* Energy indicator */
.energy-indicator {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.energy-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.energy-bar {
  width: 120px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}

.energy-fill {
  width: 100%;
  height: 100%;
  background-color: var(--accent-brute);
  border-radius: 2px;
  transition: background-color 0.3s ease;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.8s ease;
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-indicator svg {
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

.hero-bridge {
  position: relative;
  z-index: 2;
  margin-top: -26vh;
  min-height: clamp(400px, 62vh, 660px);
  padding: clamp(60px, 11vh, 120px) 24px clamp(56px, 11vh, 108px);
  background: none;
}

.hero-bridge::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 119, 151, 0.03) 18%,
      rgba(0, 119, 151, 0.08) 42%,
      rgba(0, 119, 151, 0.1) 56%,
      rgba(0, 119, 151, 0.06) 72%,
      rgba(0, 0, 0, 0) 100%
    );
}

.hero-bridge-inner {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
}

.hero-bridge-inner::before {
  content: none;
}

.hero-bridge-line {
  max-width: 18ch;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.16;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-wrap: balance;
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  will-change: opacity, transform;
  position: relative;
  z-index: 1;
  text-shadow: none;
}

/* ========================================
   Content Sections
   ======================================== */

.content-section {
  position: relative;
  padding: var(--section-gap) 24px;
}

#future.content-section {
  padding-top: clamp(40px, 6vw, 72px);
}

.section-inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

.section-inner--wide {
  max-width: var(--content-width-wide);
}

/* Section headings */
.section-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-tuned);
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 40px;
}

/* Body text */
.section-text {
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 65ch;
}

.section-text strong {
  color: var(--text-primary);
  font-weight: 500;
}

.section-text em {
  color: var(--accent-tuned);
  font-style: normal;
}

.lab-media {
  position: relative;
  width: min(calc(100vw - 48px), 820px);
  margin:
    40px
    calc(50% - min(calc(100vw - 48px), 820px) / 2)
    44px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0, 119, 151, 0.16);
  background:
    radial-gradient(circle at top left, rgba(var(--accent-tuned-rgb), 0.12), transparent 34%),
    linear-gradient(180deg, rgba(12, 16, 28, 0.92), rgba(6, 8, 14, 0.98));
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.lab-media::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(5, 8, 14, 0.06) 100%);
  pointer-events: none;
}

.lab-media img {
  display: block;
  width: 100%;
  height: auto;
}

/* Highlighted inline */
.highlight {
  color: var(--accent-tuned);
  font-weight: 500;
}

/* Divider pulse */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
  margin: 48px 0;
  opacity: 0.5;
}

/* Subtle wave background for §1 — continuity from hero */
.section-with-wave-bg {
  position: relative;
  overflow: visible;
  isolation: isolate;
}

.section-with-wave-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 80% 40% at 50% 20%, rgba(0, 119, 151, 0.04) 0%, transparent 70%),
    radial-gradient(ellipse 60% 30% at 30% 60%, rgba(0, 119, 151, 0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.section-with-wave-bg > .section-inner {
  position: relative;
  z-index: 1;
}

.future-story-flow {
  position: relative;
  margin-top: 160px;
}

.future-domain-layout {
  display: flex;
  gap: 64px;
  align-items: flex-start;
}

.future-copy-stage {
  flex: 1.08 1 0;
  min-width: 0;
  position: relative;
}

.future-domain-layout.reveal .future-copy-stage,
.future-domain-layout.reveal .future-visual-stage {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  will-change: opacity, transform;
}

.future-domain-layout.reveal.visible .future-copy-stage {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.06s;
}

.future-domain-layout.reveal.visible .future-visual-stage {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.18s;
}

.future-copy-head {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.future-copy-panels {
  display: flex;
  flex-direction: column;
  gap: clamp(180px, 30vh, 340px);
  padding-top: 0;
  padding-bottom: calc(50vh - 210px);
}

.future-domain-block {
  position: relative;
  min-height: 260px;
  border-radius: 22px;
  padding: 26px 28px 28px;
  background:
    linear-gradient(180deg, rgba(11, 18, 30, 0.7), rgba(8, 12, 21, 0.92)),
    rgba(8, 12, 21, 0.8);
  box-shadow:
    0 22px 46px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  opacity: 0.24;
  transform: translateY(18px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    border-color 0.35s ease,
    background 0.35s ease,
    box-shadow 0.35s ease;
  pointer-events: auto;
}

.future-domain-block.active {
  opacity: 1;
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.future-domain-block::before {
  content: '';
  position: absolute;
  top: 22px;
  bottom: 22px;
  left: 0;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(136, 153, 179, 0), rgba(136, 153, 179, 0.52), rgba(136, 153, 179, 0));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.future-domain-block.active::before {
  opacity: 1;
}

.future-domain-meta {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-height: 0;
  margin-bottom: 0;
}

.future-domain-index,
.future-step-index {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.future-domain-block p {
  max-width: 45ch;
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.85;
}

.future-domain-block p em {
  color: var(--accent-tuned);
  font-style: normal;
}

.future-visual-col {
  flex: 0 0 42%;
  max-width: 440px;
  position: sticky;
  top: calc(50vh - 318px);
  align-self: flex-start;
}

.future-visual-stage {
  display: flex;
  flex-direction: column;
  position: relative;
}

.future-stage-progress-dashes {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.future-stage-dash {
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: rgba(90, 106, 128, 0.28);
  box-shadow: inset 0 0 0 1px rgba(90, 106, 128, 0.18);
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease,
    opacity 0.25s ease;
  opacity: 0.7;
}

#futureWorldStage[data-active-domain="space"] .future-stage-dash--space,
#futureWorldStage[data-active-domain="manufacturing"] .future-stage-dash--space,
#futureWorldStage[data-active-domain="compute"] .future-stage-dash--space,
#futureWorldStage[data-active-domain="manufacturing"] .future-stage-dash--manufacturing,
#futureWorldStage[data-active-domain="compute"] .future-stage-dash--manufacturing,
#futureWorldStage[data-active-domain="compute"] .future-stage-dash--compute {
  background: rgba(var(--accent-tuned-rgb), 0.96);
  box-shadow:
    0 0 16px rgba(var(--accent-tuned-rgb), 0.28),
    inset 0 0 0 1px rgba(var(--accent-tuned-rgb), 0.18);
  opacity: 1;
  transform: scaleX(1.04);
}

.future-stage-kicker,
.future-stage-counter,
.future-stage-tag,
.future-step-name {
  font-family: var(--font-display);
}

.future-stage-kicker {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-tuned);
}

.future-stage-caption {
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-dim);
  text-transform: lowercase;
}

.future-stage-caption--current {
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-tuned-rgb), 0.2);
  background: rgba(8, 18, 28, 0.78);
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.18em;
  color: var(--text-primary);
  text-transform: uppercase;
}

.future-stage-caption--current::before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-tuned-bright);
  box-shadow: 0 0 14px rgba(var(--accent-tuned-rgb), 0.72);
  flex: 0 0 auto;
}

.future-stage-counter {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-tuned);
  white-space: nowrap;
}

.future-stage-viewport {
  position: relative;
  height: min(58vh, 477px);
  min-height: 377px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background:
    radial-gradient(circle at top right, rgba(0, 119, 151, 0.18), transparent 40%),
    linear-gradient(180deg, rgba(17, 24, 39, 0.92), rgba(7, 10, 18, 0.98));
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.future-stage-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  opacity: 0;
  transform: translateY(10px) scale(0.985);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.future-stage-panel.active {
  z-index: 2;
  opacity: 1;
  transform: translateY(0) scale(1);
}

.future-stage-panel::before,
.future-stage-panel::after {
  content: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.future-stage-media {
  position: relative;
  z-index: 2;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transition: transform 1.2s ease;
}

.future-stage-panel.active .future-stage-media {
  transform: none;
}

.future-stage-title {
  z-index: 2;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(136, 153, 179, 0.72);
  opacity: 1;
}

.future-stage-media--space {
  background-image:
    radial-gradient(circle at 78% 18%, rgba(var(--accent-tuned-rgb), 0.16), transparent 20%),
    radial-gradient(circle at 18% 78%, rgba(255, 138, 0, 0.08), transparent 28%);
}

.future-stage-media--manufacturing {
  background-image:
    radial-gradient(circle at 50% 44%, rgba(var(--accent-tuned-rgb), 0.1), transparent 28%),
    radial-gradient(circle at 26% 74%, rgba(255, 138, 0, 0.12), transparent 24%);
}

.future-stage-media--compute {
  background-image:
    radial-gradient(circle at 72% 28%, rgba(var(--accent-tuned-rgb), 0.14), transparent 22%),
    linear-gradient(145deg, rgba(var(--accent-tuned-rgb), 0.05), transparent 40%, rgba(255, 138, 0, 0.05) 82%, transparent 100%);
}

.future-diagram-shell.console-diagram-wrap {
  position: relative;
  inset: auto;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.future-diagram-shell::before,
.future-diagram-shell::after {
  content: none;
}

.future-diagram {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.future-diagram * {
  vector-effect: non-scaling-stroke;
}

.future-diagram text {
  font-family: var(--font-display);
}

.future-diagram-label {
  fill: var(--accent-tuned-label);
  font-size: 2.7px;
  letter-spacing: 0.16em;
}

.future-diagram-label--small {
  font-size: 2.1px;
  letter-spacing: 0.14em;
}

.future-diagram-label--warm {
  fill: rgba(255, 138, 0, 0.54);
}

.future-diagram-callout {
  stroke: rgba(var(--accent-tuned-rgb), 0.24);
  stroke-width: 0.52;
  stroke-linecap: round;
  stroke-dasharray: 1.4 2.6;
}

.future-diagram-callout--warm {
  stroke: rgba(255, 138, 0, 0.26);
}

.space-callout--warm {
  fill: rgba(255, 138, 0, 0.52);
}

.space-callout-line--warm {
  stroke: rgba(255, 138, 0, 0.3);
}

.future-space-planet {
  fill: rgba(255, 138, 0, 0.08);
  stroke: rgba(255, 138, 0, 0.14);
  stroke-width: 0.82;
}

.future-space-path-direct,
.future-space-path-managed,
.future-space-path-support {
  fill: none;
  stroke-linecap: round;
}

.future-space-path-direct {
  stroke: rgba(255, 138, 0, 0.48);
  stroke-width: 0.96;
  stroke-dasharray: 1.7 4.2;
}

.future-space-path-managed {
  stroke: rgba(var(--accent-tuned-rgb), 0.92);
  stroke-width: 1.55;
  stroke-dasharray: 4.4 6.1;
  animation: dashFlow 9s linear infinite;
}

.future-space-path-support {
  stroke: rgba(var(--accent-tuned-rgb), 0.16);
  stroke-width: 0.72;
  stroke-dasharray: 1.8 8;
  animation: dashFlow 13s linear infinite reverse;
}

.future-space-burden {
  fill: rgba(255, 138, 0, 0.42);
  transform-box: fill-box;
  transform-origin: center;
  animation: futureBurdenShift 4.8s ease-in-out infinite;
}

.future-space-burden--2 {
  fill: rgba(255, 138, 0, 0.5);
  animation-delay: 0.35s;
}

.future-space-burden--3 {
  fill: rgba(255, 138, 0, 0.58);
  animation-delay: 0.7s;
}

.future-space-node {
  fill: rgba(var(--accent-tuned-rgb), 0.08);
  stroke: rgba(var(--accent-tuned-rgb), 0.48);
  stroke-width: 0.94;
  transform-box: fill-box;
  transform-origin: center;
  animation: nodePulse 3.6s ease-in-out infinite;
}

.future-space-node-core {
  fill: rgba(var(--accent-tuned-rgb), 0.94);
}

.future-space-pulse {
  fill: rgba(255, 255, 255, 0.96);
  transform-box: fill-box;
  transform-origin: center;
  animation: pulseTravel 2.5s ease-in-out infinite;
}

.future-space-pulse--late {
  animation-delay: 1.05s;
}

.future-space-craft {
  fill: rgba(232, 237, 245, 0.96);
  transform-origin: 28px 70px;
  animation: craftFloat 6.1s ease-in-out infinite;
}

.future-space-old-target {
  fill: rgba(255, 138, 0, 0.04);
  stroke: rgba(255, 138, 0, 0.34);
  stroke-width: 0.84;
}

.future-space-old-target-core {
  fill: rgba(255, 138, 0, 0.68);
}

.future-space-destination {
  fill: rgba(var(--accent-tuned-rgb), 0.08);
  stroke: rgba(var(--accent-tuned-rgb), 0.5);
  stroke-width: 0.9;
}

.future-space-destination-core {
  fill: rgba(var(--accent-tuned-rgb), 0.96);
}

.future-mfg-chamber {
  fill: rgba(9, 14, 24, 0.28);
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 0.82;
}

.future-mfg-band {
  fill: rgba(var(--accent-tuned-rgb), 0.12);
}

.future-mfg-centerline {
  stroke: rgba(var(--accent-tuned-rgb), 0.82);
  stroke-width: 0.88;
}

.future-mfg-sensor {
  stroke: rgba(136, 153, 179, 0.24);
  stroke-width: 0.82;
  stroke-dasharray: 1 5;
}

.future-mfg-scan {
  stroke: rgba(var(--accent-tuned-rgb), 0.16);
  stroke-width: 4.6;
  transform-box: fill-box;
  transform-origin: left center;
  animation: futureScanSweep 4.2s ease-in-out infinite;
}

.future-mfg-noisy,
.future-mfg-guided {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.future-mfg-noisy {
  stroke: rgba(255, 138, 0, 0.72);
  stroke-width: 1.3;
  stroke-dasharray: 2 4;
  animation: dashFlow 8.2s linear infinite reverse;
}

.future-mfg-guided {
  stroke: rgba(var(--accent-tuned-rgb), 0.94);
  stroke-width: 1.54;
  stroke-dasharray: 4.4 6;
  animation: dashFlow 8.2s linear infinite;
}

.future-mfg-actuator {
  fill: rgba(255, 138, 0, 0.44);
}

.future-mfg-actuator--soft {
  fill: rgba(255, 138, 0, 0.52);
}

.future-mfg-control {
  fill: rgba(var(--accent-tuned-rgb), 0.42);
  transform-box: fill-box;
  transform-origin: center;
  animation: futureOutputPulse 4.2s ease-in-out infinite;
}

.future-mfg-control--tall {
  fill: rgba(var(--accent-tuned-rgb), 0.64);
  animation-delay: 0.65s;
}

.future-compute-envelope {
  fill: rgba(var(--accent-tuned-rgb), 0.1);
  stroke: rgba(var(--accent-tuned-rgb), 0.46);
  stroke-width: 0.86;
}

.future-compute-envelope-mid {
  stroke: rgba(var(--accent-tuned-rgb), 0.64);
  stroke-width: 0.88;
  stroke-dasharray: 2 4;
}

.future-compute-threshold {
  stroke: rgba(255, 138, 0, 0.28);
  stroke-width: 0.84;
  stroke-dasharray: 2 4;
}

.future-compute-divider {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 0.84;
  stroke-dasharray: 1.6 3;
}

.future-compute-step {
  fill: rgba(255, 138, 0, 0.15);
  stroke: rgba(255, 138, 0, 0.28);
  stroke-width: 0.82;
  transform-box: fill-box;
  transform-origin: center;
  animation: futureOutputPulse 4.6s ease-in-out infinite;
}

.future-compute-step--2 {
  animation-delay: 0.6s;
}

.future-compute-step--3 {
  animation-delay: 1.2s;
}

.future-compute-step--4 {
  animation-delay: 1.8s;
}

.future-compute-window {
  fill: rgba(255, 255, 255, 0.02);
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 0.82;
  animation: windowPulse 4.6s ease-in-out infinite;
}

.future-compute-window--2 {
  animation-delay: 1s;
}

.future-compute-window--3 {
  animation-delay: 2s;
}

.future-compute-wander,
.future-compute-trace {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.future-compute-wander {
  stroke: rgba(255, 138, 0, 0.7);
  stroke-width: 1.22;
  stroke-dasharray: 2 4;
  animation: dashFlow 8.2s linear infinite reverse;
}

.future-compute-wander--mid {
  animation-delay: 0.9s;
}

.future-compute-wander--late {
  animation-delay: 1.8s;
}

.future-compute-trace {
  stroke: rgba(var(--accent-tuned-rgb), 0.94);
  stroke-width: 1.56;
  stroke-dasharray: 5.2 6.7;
  animation: dashFlow 8s linear infinite;
}

.future-compute-source {
  fill: rgba(255, 138, 0, 0.48);
  transform-box: fill-box;
  transform-origin: center;
  animation: futureOutputPulse 4.6s ease-in-out infinite;
}

.future-compute-stable {
  fill: rgba(var(--accent-tuned-rgb), 0.82);
  stroke: rgba(var(--accent-tuned-rgb), 0.42);
  stroke-width: 0.72;
  transform-box: fill-box;
  transform-origin: center;
  animation: nodePulse 3.2s ease-in-out infinite;
  animation-delay: 1.2s;
}

.future-compute-output {
  fill: rgba(var(--accent-tuned-rgb), 0.38);
  transform-box: fill-box;
  transform-origin: center;
  animation: futureOutputPulse 4.8s ease-in-out infinite;
}

.future-compute-output--1 {
  animation-delay: 1.2s;
}

.future-compute-output--2 {
  fill: rgba(var(--accent-tuned-rgb), 0.5);
  animation-delay: 1.8s;
}

.future-compute-output--3 {
  fill: rgba(var(--accent-tuned-rgb), 0.68);
  animation-delay: 2.4s;
}

.future-science-window {
  fill: rgba(var(--accent-tuned-rgb), 0.08);
  stroke: rgba(var(--accent-tuned-rgb), 0.38);
  stroke-width: 0.84;
}

.future-science-row {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 0.78;
}

.future-science-trace-warm,
.future-science-trace {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.future-science-trace-warm {
  stroke: rgba(255, 138, 0, 0.76);
  stroke-width: 1.22;
  stroke-dasharray: 2 4;
  animation: dashFlow 8.4s linear infinite reverse;
}

.future-science-trace {
  stroke: rgba(var(--accent-tuned-rgb), 0.9);
  stroke-width: 1.34;
  stroke-dasharray: 4.4 6;
  animation: dashFlow 8.4s linear infinite;
}

.future-science-trace--mid {
  animation-delay: 0.9s;
}

.future-science-trace--late {
  animation-delay: 1.8s;
}

.future-science-node {
  fill: rgba(var(--accent-tuned-rgb), 0.9);
  transform-box: fill-box;
  transform-origin: center;
  animation: nodePulse 3.4s ease-in-out infinite;
}

.future-science-node--mid {
  animation-delay: 0.9s;
}

.future-science-node--late {
  animation-delay: 1.8s;
}

.future-science-transfer {
  stroke: rgba(var(--accent-tuned-rgb), 0.26);
  stroke-width: 0.92;
  stroke-dasharray: 2 4;
  animation: dashFlow 6.8s linear infinite;
}

.future-science-transfer--mid {
  animation-delay: 0.9s;
}

.future-science-transfer--late {
  animation-delay: 1.8s;
}

/* ========================================
   Vision Statement — Full-Screen Typography
   ======================================== */

.vision-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90vh;
  padding: 80px 24px;
  /* subtle top/bottom borders */
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

/* Animated wave lines — disabled in favor of global field layer
.vision-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 400' preserveAspectRatio='none'%3E%3Cpath d='M0,200 C300,-50 300,450 600,200 C900,-50 900,450 1200,200' fill='none' stroke='rgba(0,119,151,0.18)' stroke-width='1'/%3E%3Cpath d='M0,200 C300,-10 300,410 600,200 C900,-10 900,410 1200,200' fill='none' stroke='rgba(0,119,151,0.1)' stroke-width='5'/%3E%3Cpath d='M0,200 C300,40 300,360 600,200 C900,40 900,360 1200,200' fill='none' stroke='rgba(0,119,151,0.05)' stroke-width='16'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 0;
  transform-origin: center center;
  animation: waveBreathe 12s ease-in-out infinite;
} */

/* Static radial glow */
.vision-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(0, 119, 151, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* @keyframes waveBreathe {
  0%, 100% { transform: scaleY(0.9); }
  50% { transform: scaleY(1.1); }
} */

.vision-inner {
  position: relative;
  max-width: 750px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.vision-line {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.42;
  letter-spacing: -0.02em;
  color: var(--text-secondary);
  text-align: center;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.vision-line.visible {
  color: var(--text-primary);
}

.vision-line--accent strong {
  color: var(--accent-tuned);
  font-weight: 700;
}

/* Stagger the three lines */
.vision-inner .vision-line:nth-child(1) { transition-delay: 0s; }
.vision-inner .vision-line:nth-child(2) { transition-delay: 0.2s; }
.vision-inner .vision-line:nth-child(3) { transition-delay: 0.4s; }

/* ========================================
   Scene Cards (Section 2)
   ======================================== */

/* ========================================
   Scene Sticky Layout (Section 2)
   ======================================== */

.scenes-sticky-layout {
  display: flex;
  gap: 64px;
  margin-top: 64px;
  position: relative;
  align-items: flex-start;
}

/* Visual Column (Sticky) */
.scenes-visual-col {
  flex: 1;
  position: sticky;
  top: 120px;
  height: 64vh;
  min-height: 460px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background:
    radial-gradient(circle at top right, rgba(0, 119, 151, 0.18), transparent 40%),
    linear-gradient(180deg, rgba(17, 24, 39, 0.92), rgba(7, 10, 18, 0.98));
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.scenes-sticky-frame {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.operational-console::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 138, 0, 0.06) 0%, rgba(0, 119, 151, 0) 24%, rgba(0, 119, 151, 0.05) 100%);
  pointer-events: none;
}

.console-chrome,
.console-scene-meta,
.console-progress {
  position: relative;
  z-index: 2;
}

.console-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.console-scene-counter,
.metric-chip-label,
.console-progress-item,
.console-status {
  font-family: var(--font-display);
}

.console-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 119, 151, 0.24);
  background: rgba(6, 14, 24, 0.72);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
}

.console-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-tuned-bright);
  box-shadow: 0 0 12px rgba(var(--accent-tuned-rgb), 0.9);
  animation: consolePulse 2.6s ease-in-out infinite;
}

.console-scene-counter {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
}

.console-scene-counter--chrome {
  color: var(--accent-tuned);
  opacity: 0.9;
}

.console-viewport {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(0, 119, 151, 0.18);
  background: linear-gradient(180deg, rgba(10, 14, 26, 0.94), rgba(5, 7, 13, 0.98));
}

.console-viewport::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.14) 100%);
  pointer-events: none;
}

.console-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26, 32, 53, 0.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 32, 53, 0.35) 1px, transparent 1px),
    radial-gradient(circle at 20% 18%, rgba(255, 138, 0, 0.12), transparent 22%),
    radial-gradient(circle at 80% 15%, rgba(0, 119, 151, 0.16), transparent 24%);
  background-size: 100% 22%, 14% 100%, auto, auto;
  opacity: 0.72;
  pointer-events: none;
}

.scene-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.75s ease, transform 0.75s ease;
  transform: translateY(10px) scale(0.985);
  padding: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.scene-image.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.scene-image-button {
  position: relative;
  flex: 1;
  min-height: 0;
  width: 100%;
  border: 0;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  display: block;
  cursor: zoom-in;
  background: none;
  box-shadow: none;
}

.scene-image-button::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 9, 18, 0.04) 0%, rgba(5, 9, 18, 0.08) 46%, rgba(5, 9, 18, 0.52) 100%),
    radial-gradient(circle at 78% 22%, rgba(var(--accent-tuned-rgb), 0.08), transparent 26%);
  pointer-events: none;
}

.scene-image-button:hover .scene-image-expand,
.scene-image-button:focus-visible .scene-image-expand {
  border-color: rgba(var(--accent-tuned-rgb), 0.42);
  background: rgba(8, 13, 24, 0.92);
  color: rgba(233, 243, 255, 0.96);
}

.scene-image-button:focus-visible {
  outline: 0;
  box-shadow:
    0 0 0 1px rgba(var(--accent-tuned-rgb), 0.46),
    0 0 0 6px rgba(var(--accent-tuned-rgb), 0.14);
}

.scene-image-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

#img-space .scene-image-photo {
  object-position: calc(50% + 75px) center;
}

#img-mfg .scene-image-photo {
  object-position: calc(50% - 75px) center;
}

.scene-callout-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.scene-callout {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  --callout-color: rgba(244, 248, 252, 0.98);
  --callout-line: rgba(244, 248, 252, 0.82);
  --callout-glow: rgba(255, 255, 255, 0.16);
}

.scene-callout--warm {
  --callout-color: rgba(244, 248, 252, 0.98);
  --callout-line: rgba(244, 248, 252, 0.82);
  --callout-glow: rgba(255, 255, 255, 0.16);
}

.scene-callout--reverse {
  flex-direction: row-reverse;
}

.scene-callout--vertical,
.scene-callout--vertical-up {
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  text-align: center;
}

.scene-callout--vertical-up {
  flex-direction: column-reverse;
}

.scene-callout-label {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  color: var(--callout-color);
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(var(--accent-tuned-rgb), 0.82);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.42);
}

.scene-callout-line {
  width: var(--callout-line-width, 72px);
  height: 1px;
  background: linear-gradient(90deg, var(--callout-line), rgba(255, 255, 255, 0));
}

.scene-callout--reverse .scene-callout-line {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), var(--callout-line));
}

.scene-callout--vertical .scene-callout-line,
.scene-callout--vertical-up .scene-callout-line {
  width: 1px;
  height: var(--callout-line-height, 72px);
  background: linear-gradient(180deg, var(--callout-line), rgba(255, 255, 255, 0));
}

.scene-callout--vertical-up .scene-callout-line {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--callout-line));
}

.scene-callout-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--callout-color);
  box-shadow: 0 0 0 6px var(--callout-glow);
  flex: none;
}

.scene-callout--mfg-left {
  top: 31%;
  left: 24px;
  --callout-line-width: 110px;
}

.scene-callout--mfg-top {
  top: 23%;
  right: 24px;
  --callout-line-width: 96px;
}

.scene-callout--mfg-mid {
  top: 47%;
  right: 24px;
  --callout-line-width: 126px;
}

.scene-callout--mfg-bottom {
  bottom: 16%;
  right: 24px;
  --callout-line-width: 104px;
}

.scene-callout--space-onboard {
  top: 42%;
  left: 18px;
  --callout-line-width: 86px;
}

.scene-callout--space-sync {
  top: 13%;
  left: 38%;
  right: auto;
  --callout-line-height: 106px;
}

.scene-callout--space-handoff {
  top: 11%;
  left: 61%;
  right: auto;
  --callout-line-height: 110px;
}

.scene-callout--space-route {
  top: 18%;
  left: 83%;
  right: auto;
  --callout-line-height: 88px;
}

.scene-callout--space-next {
  top: 45%;
  bottom: auto;
  left: 79%;
  right: auto;
  --callout-line-height: 116px;
}

.scene-image-expand {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border-radius: 999px;
  border: 1px solid rgba(var(--accent-tuned-rgb), 0.26);
  background: rgba(8, 13, 24, 0.78);
  color: rgba(230, 239, 251, 0.84);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  opacity: 1;
  pointer-events: none;
  backdrop-filter: blur(12px);
  transform: none;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.scene-image-expand svg {
  flex: none;
}

.scene-lightbox {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.scene-lightbox[hidden] {
  display: none;
}

.scene-lightbox.is-open {
  opacity: 1;
}

.scene-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(3, 6, 13, 0.84);
  backdrop-filter: blur(18px);
}

.scene-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100vw - 48px));
  display: flex;
  justify-content: center;
  padding: 18px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 74% 14%, rgba(var(--accent-tuned-rgb), 0.12), transparent 26%),
    linear-gradient(180deg, rgba(10, 14, 24, 0.94), rgba(6, 9, 16, 0.96));
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.56),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.scene-lightbox-stage {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.scene-lightbox-callouts {
  z-index: 2;
}

.scene-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(8, 12, 21, 0.82);
  color: rgba(231, 239, 250, 0.86);
  padding: 10px 14px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.scene-lightbox-close:hover,
.scene-lightbox-close:focus-visible {
  border-color: rgba(var(--accent-tuned-rgb), 0.42);
  color: rgba(240, 247, 255, 0.98);
  background: rgba(8, 12, 21, 0.92);
  outline: 0;
}

.scene-lightbox-image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 84px);
  height: auto;
  border-radius: 18px;
  background: rgba(3, 5, 11, 0.68);
}

.summary-lightbox {
  position: fixed;
  inset: 0;
  z-index: 230;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.summary-lightbox[hidden] {
  display: none;
}

.summary-lightbox.is-open {
  opacity: 1;
}

.summary-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(3, 6, 13, 0.86);
  backdrop-filter: blur(18px);
}

.summary-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 82% 12%, rgba(var(--accent-tuned-rgb), 0.12), transparent 24%),
    radial-gradient(circle at 16% 16%, rgba(255, 138, 0, 0.06), transparent 20%),
    linear-gradient(180deg, rgba(10, 14, 24, 0.96), rgba(6, 9, 16, 0.98));
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.56),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.summary-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(8, 12, 21, 0.82);
  color: rgba(231, 239, 250, 0.86);
  padding: 10px 14px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.summary-lightbox-close:hover,
.summary-lightbox-close:focus-visible {
  border-color: rgba(var(--accent-tuned-rgb), 0.42);
  color: rgba(240, 247, 255, 0.98);
  background: rgba(8, 12, 21, 0.92);
  outline: 0;
}

.summary-lightbox-head {
  display: grid;
  gap: 14px;
  padding-right: 96px;
  margin-bottom: 24px;
}

.summary-lightbox-kicker {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-tuned);
  margin-bottom: 10px;
}

.summary-lightbox-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.2vw, 42px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.summary-lightbox-intro {
  max-width: 62ch;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
}

.summary-tabs {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 6px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 12, 21, 0.78);
  margin-bottom: 24px;
}

.summary-tab {
  appearance: none;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 12px 16px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.summary-tab.active,
.summary-tab:hover,
.summary-tab:focus-visible {
  background: rgba(var(--accent-tuned-rgb), 0.14);
  color: var(--text-primary);
  outline: none;
}

.summary-panel {
  display: none;
}

.summary-panel.active {
  display: block;
}

.summary-thesis {
  max-width: 60ch;
  margin-bottom: 26px;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.52;
  color: var(--text-primary);
}

.summary-overview {
  max-width: 64ch;
  margin-bottom: 26px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.78;
}

.summary-flow {
  display: grid;
  gap: 24px;
  max-width: 68ch;
}

.summary-section {
  display: grid;
  gap: 10px;
}

.summary-section h3 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-tuned);
}

.summary-section p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.8;
}

.scene-image-placeholder {
  position: relative;
  display: flex;
  flex: 1;
  min-height: 0;
  width: 100%;
  padding: 28px;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at 76% 18%, rgba(var(--accent-tuned-rgb), 0.2), transparent 28%),
    radial-gradient(circle at 18% 26%, rgba(255, 138, 0, 0.1), transparent 22%),
    linear-gradient(180deg, rgba(9, 13, 24, 0.84), rgba(7, 10, 18, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.scene-image-placeholder::before {
  content: '';
  position: absolute;
  inset: 16px;
  border-radius: 10px;
  border: 1px solid rgba(var(--accent-tuned-rgb), 0.12);
  background:
    linear-gradient(rgba(26, 32, 53, 0.24) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26, 32, 53, 0.18) 1px, transparent 1px);
  background-size: 100% 22%, 14% 100%;
  opacity: 0.7;
  pointer-events: none;
}

.scene-image-placeholder-label,
.scene-image-placeholder-title,
.scene-image-placeholder-note {
  position: relative;
  z-index: 1;
}

.scene-image-placeholder-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-tuned);
}

.scene-image-placeholder-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  max-width: 10ch;
}

.scene-image-placeholder-note {
  max-width: 28ch;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.55;
}

.console-diagram-wrap {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at 10% 15%, rgba(255, 138, 0, 0.08), transparent 20%),
    radial-gradient(circle at 80% 10%, rgba(0, 119, 151, 0.14), transparent 24%),
    linear-gradient(180deg, rgba(9, 13, 24, 0.84), rgba(7, 10, 18, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.console-diagram {
  width: 100%;
  height: 100%;
  display: block;
}

.console-diagram * {
  vector-effect: non-scaling-stroke;
}

.console-metric-strip {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.metric-chip {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 119, 151, 0.16);
  background: rgba(8, 12, 21, 0.86);
  min-width: 0;
}

.metric-chip-label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.metric-chip-value {
  display: block;
  font-size: 13px;
  line-height: 1.2;
  color: var(--text-primary);
}

.console-progress {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  align-items: stretch;
}

.console-progress-item {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(9, 13, 22, 0.84);
  color: var(--text-secondary);
  border-radius: 12px;
  min-width: 0;
  padding: 10px 12px;
  font-size: 10px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.console-progress-item span:last-child {
  min-width: 0;
  white-space: nowrap;
}

.console-progress-item:hover,
.console-progress-item:focus-visible {
  border-color: rgba(0, 119, 151, 0.3);
  color: var(--text-primary);
  transform: translateY(-1px);
  outline: none;
}

.console-progress-item.active {
  background: rgba(0, 119, 151, 0.14);
  border-color: rgba(var(--accent-tuned-rgb), 0.34);
  color: var(--text-primary);
}

.console-progress-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 138, 0, 0.55);
  flex: 0 0 auto;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.console-progress-item.active .console-progress-dot {
  background: var(--accent-tuned-bright);
  box-shadow: 0 0 10px rgba(var(--accent-tuned-rgb), 0.7);
}

.space-earth {
  fill: rgba(255, 138, 0, 0.09);
  stroke: rgba(255, 138, 0, 0.16);
  stroke-width: 1;
}

.space-route-old,
.space-route-managed,
.space-route-support {
  fill: none;
  stroke-linecap: round;
}

.space-route-old {
  stroke: rgba(255, 138, 0, 0.48);
  stroke-width: 1.2;
  stroke-dasharray: 2 4;
}

.space-route-managed {
  stroke: rgba(var(--accent-tuned-rgb), 0.92);
  stroke-width: 1.9;
  stroke-dasharray: 6 7;
  animation: dashFlow 9s linear infinite;
}

.space-route-support {
  stroke: rgba(var(--accent-tuned-rgb), 0.18);
  stroke-width: 0.9;
  stroke-dasharray: 2 8;
  animation: dashFlow 14s linear infinite reverse;
}

.space-node-ring {
  fill: rgba(var(--accent-tuned-rgb), 0.08);
  stroke: rgba(var(--accent-tuned-rgb), 0.5);
  stroke-width: 1.1;
  transform-box: fill-box;
  transform-origin: center;
  animation: nodePulse 3.4s ease-in-out infinite;
}

.space-node-core {
  fill: var(--accent-tuned-bright);
}

.space-pulse {
  fill: rgba(255, 255, 255, 0.96);
  transform-box: fill-box;
  transform-origin: center;
  animation: pulseTravel 2.4s ease-in-out infinite;
}

.space-pulse--delayed {
  animation-delay: 1.1s;
}

.space-craft {
  fill: rgba(232, 237, 245, 0.96);
  filter: drop-shadow(0 0 10px rgba(232, 237, 245, 0.08));
}

.space-relay-object {
  fill: rgba(136, 153, 179, 0.76);
  filter: drop-shadow(0 0 6px rgba(var(--accent-tuned-rgb), 0.18));
}

.space-callout {
  fill: var(--accent-tuned-label);
  font-family: var(--font-display);
  font-size: 2.85px;
  letter-spacing: 0.14em;
}

.space-callout-line {
  stroke: rgba(var(--accent-tuned-rgb), 0.56);
  stroke-width: 0.6;
  stroke-linecap: round;
  stroke-dasharray: 1.2 2.6;
}

.space-callout--warm {
  fill: rgba(255, 138, 0, 0.82);
}

.space-callout-line--warm {
  stroke: rgba(255, 138, 0, 0.54);
}

.mfg-chamber {
  fill: rgba(9, 14, 24, 0.3);
  stroke: none;
}

.mfg-target-band {
  fill: rgba(var(--accent-tuned-rgb), 0.12);
}

.mfg-target-line {
  stroke: rgba(var(--accent-tuned-rgb), 0.8);
  stroke-width: 1;
}

.mfg-sensor {
  stroke: rgba(136, 153, 179, 0.26);
  stroke-width: 1;
  stroke-dasharray: 1 5;
}

.mfg-scanline {
  stroke: rgba(var(--accent-tuned-rgb), 0.18);
  stroke-width: 5;
  transform-box: fill-box;
  transform-origin: left center;
  animation: scanSweep 4.2s ease-in-out infinite;
}

.mfg-trace-noisy,
.mfg-trace-guided {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mfg-trace-noisy {
  stroke: rgba(255, 138, 0, 0.74);
  stroke-width: 1.6;
  stroke-dasharray: 2 4;
  animation: dashFlow 8s linear infinite reverse;
}

.mfg-trace-guided {
  stroke: rgba(var(--accent-tuned-rgb), 0.94);
  stroke-width: 1.8;
  stroke-dasharray: 5 6;
  animation: dashFlow 8s linear infinite;
}

.compute-envelope {
  fill: rgba(var(--accent-tuned-rgb), 0.1);
  stroke: rgba(var(--accent-tuned-rgb), 0.48);
  stroke-width: 1;
}

.compute-envelope-mid {
  stroke: rgba(var(--accent-tuned-rgb), 0.66);
  stroke-width: 1;
  stroke-dasharray: 2 4;
}

.compute-baseline {
  stroke: rgba(255, 138, 0, 0.42);
  stroke-width: 1.1;
  stroke-dasharray: 4 5;
}

.compute-threshold {
  stroke: rgba(255, 138, 0, 0.32);
  stroke-width: 1;
  stroke-dasharray: 2 4;
}

.compute-window {
  fill: rgba(255, 255, 255, 0.02);
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
}

.compute-window--1 { animation: windowPulse 4.4s ease-in-out infinite; }
.compute-window--2 { animation: windowPulse 4.4s ease-in-out 1s infinite; }
.compute-window--3 { animation: windowPulse 4.4s ease-in-out 2s infinite; }

.compute-trace {
  fill: none;
  stroke: rgba(var(--accent-tuned-rgb), 0.94);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 6 7;
  animation: dashFlow 8s linear infinite;
}

.compute-trace--warm {
  stroke: rgba(255, 138, 0, 0.74);
  stroke-width: 1.6;
  stroke-dasharray: 2 4;
  animation: dashFlow 8s linear infinite reverse;
}

.compute-sample {
  animation: windowPulse 4.6s ease-in-out infinite;
}

.compute-sample--warm {
  fill: rgba(255, 138, 0, 0.46);
}

.compute-sample--warm-soft {
  fill: rgba(255, 138, 0, 0.56);
  animation-delay: 0.8s;
}

.compute-sample--cool {
  fill: rgba(var(--accent-tuned-rgb), 0.5);
  animation-delay: 1.6s;
}

.compute-sample--verified {
  fill: rgba(var(--accent-tuned-rgb), 0.84);
  animation-delay: 2.4s;
}

.science-site {
  fill: rgba(9, 14, 24, 0.3);
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
}

.science-shared-window {
  fill: rgba(var(--accent-tuned-rgb), 0.08);
  stroke: rgba(var(--accent-tuned-rgb), 0.38);
  stroke-width: 1;
}

.science-row-guide {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
}

.science-signal {
  fill: none;
  stroke: rgba(var(--accent-tuned-rgb), 0.88);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 5 6;
  animation: dashFlow 8.5s linear infinite;
}

.science-signal--warm {
  stroke: rgba(255, 138, 0, 0.76);
  stroke-width: 1.55;
  stroke-dasharray: 2 4;
  animation: dashFlow 8.4s linear infinite reverse;
}

.science-signal--mid {
  animation-delay: 0.9s;
}

.science-signal--late {
  animation-delay: 1.8s;
}

.science-link {
  stroke: rgba(var(--accent-tuned-rgb), 0.42);
  stroke-width: 1.2;
  stroke-dasharray: 3 4;
  animation: dashFlow 6.5s linear infinite;
}

.science-link--second {
  animation-delay: 1.2s;
}

.science-link--third {
  animation-delay: 2s;
}

.science-replica {
  fill: rgba(var(--accent-tuned-rgb), 0.92);
  transform-box: fill-box;
  transform-origin: center;
  animation: nodePulse 3.2s ease-in-out infinite;
}

.science-replica--warm {
  fill: rgba(255, 138, 0, 0.74);
}

.science-replica--mid {
  animation-delay: 0.8s;
}

.science-replica--late {
  animation-delay: 1.6s;
}

.science-trust-rail {
  stroke: rgba(255, 138, 0, 0.35);
  stroke-width: 1.2;
}

.science-rail-node {
  fill: rgba(255, 138, 0, 0.7);
}

@keyframes consolePulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes dashFlow {
  to { stroke-dashoffset: -48; }
}

@keyframes nodePulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.12); }
}

@keyframes pulseTravel {
  0%, 100% { opacity: 0.2; transform: translate(-2px, 2px); }
  50% { opacity: 1; transform: translate(2px, -2px); }
}

@keyframes craftFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(1.5px, -1.5px); }
}

@keyframes scanSweep {
  0%, 100% { transform: translateX(0); opacity: 0.3; }
  50% { transform: translateX(54px); opacity: 0.9; }
}

@keyframes windowPulse {
  0%, 100% { fill: rgba(255, 255, 255, 0.02); }
  50% { fill: rgba(var(--accent-tuned-rgb), 0.08); }
}

@keyframes futureBurdenShift {
  0%, 100% { opacity: 0.95; transform: translateX(0); }
  50% { opacity: 0.45; transform: translateX(1.8px); }
}

@keyframes futureScanSweep {
  0%, 100% { transform: translateX(-3px); opacity: 0.26; }
  50% { transform: translateX(11px); opacity: 0.78; }
}

@keyframes futureOutputPulse {
  0%, 100% { opacity: 0.6; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-1px); }
}

/* Text Column (Scrolling) */
.scenes-text-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-bottom: 30vh; /* padding to scroll past last image */
}

.scene-text-block {
  position: relative;
  margin-bottom: 70vh; /* distance between text blocks */
  transition: opacity 0.55s ease;
  opacity: 0.4;
  transform: none;
}

.scene-text-block.active {
  opacity: 1;
  transform: none;
}

.scene-text-block:last-child {
  margin-bottom: 0;
}

/* Text Styling inside blocks */
.scene-card-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-tuned);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.scene-card-label::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-tuned);
}

.scene-card-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.scene-text-block p {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.7;
}

.scene-text-block p + p {
  margin-top: 16px;
}

.scene-text-block p strong {
  color: var(--text-primary);
  font-weight: 500;
}

.scene-inline-media {
  display: none;
}

.scenes-stack-layout {
  display: flex;
  flex-direction: column;
  gap: clamp(112px, 14vw, 180px);
  margin-top: 64px;
}

.scene-row {
  display: flex;
  align-items: center;
  gap: 64px;
}

.scene-row.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.scene-row.reveal .scene-row-copy,
.scene-row.reveal .scene-row-media {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
  will-change: opacity, transform;
}

.scene-row.reveal.visible .scene-row-copy {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.04s;
}

.scene-row.reveal.visible .scene-row-media {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.16s;
}

.scene-row-copy,
.scene-row-media {
  min-width: 0;
}

.scene-row-copy {
  flex: 1 1 0;
  order: 2;
}

.scene-row-media {
  flex: 0 0 min(42vw, 460px);
  max-width: 460px;
  width: 100%;
  order: 1;
}

.scene-row--reverse .scene-row-copy {
  order: 1;
}

.scene-row--reverse .scene-row-media {
  order: 2;
}

.scenes-stack-layout .scene-text-block {
  margin: 0;
  opacity: 1;
  transition: none;
}

.scenes-stack-layout .scene-text-block.active {
  opacity: 1;
}

.scene-visual-card {
  position: relative;
  width: 100%;
  min-height: 620px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background:
    radial-gradient(circle at top right, rgba(0, 119, 151, 0.18), transparent 40%),
    linear-gradient(180deg, rgba(17, 24, 39, 0.92), rgba(7, 10, 18, 0.98));
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.scene-visual-card .scenes-sticky-frame {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
}

.scene-visual-card .console-viewport {
  display: block;
  flex: 1 1 auto;
  height: auto;
  min-height: 580px;
}

.scene-image--static {
  position: absolute;
  inset: 0;
  top: 0;
  left: 0;
  flex: none;
  min-height: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
  transform: none;
  padding: 6px;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  pointer-events: auto;
}

.scene-image--static .scene-image-button {
  display: block;
  align-items: initial;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.scene-image--static .scene-image-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

/* ========================================
   Portable Results Bridge
   ======================================== */

.bridge-section {
  position: relative;
  padding-top: clamp(88px, 12vw, 132px);
  padding-bottom: clamp(88px, 12vw, 132px);
}

.bridge-section::before {
  content: '';
  position: absolute;
  inset: 8% 0 auto;
  height: min(56vh, 420px);
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(var(--accent-tuned-rgb), 0.08), transparent 68%);
  opacity: 0.9;
}

.bridge-section > .section-inner {
  position: relative;
  z-index: 1;
}

.bridge-section .section-label {
  display: block;
  width: 100%;
  text-align: center;
}

.bridge-section .section-heading {
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.bridge-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(28px, 4vw, 44px);
}

.bridge-copy {
  min-width: 0;
  width: 100%;
  max-width: 62ch;
  text-align: center;
}

.bridge-copy .section-text {
  max-width: 58ch;
  margin-left: auto;
  margin-right: auto;
}

.bridge-threshold {
  max-width: 34ch;
  margin-top: 8px;
  margin-left: auto;
  margin-right: auto;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.42;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.bridge-visual {
  min-width: 0;
  width: min(100%, 580px);
}

.bridge-panel {
  position: relative;
  width: 100%;
  border-radius: 28px;
  padding: 18px 18px 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at 16% 16%, rgba(255, 138, 0, 0.08), transparent 24%),
    radial-gradient(circle at 82% 16%, rgba(0, 119, 151, 0.11), transparent 26%),
    radial-gradient(circle at 74% 78%, rgba(0, 119, 151, 0.04), transparent 28%),
    linear-gradient(180deg, rgba(12, 18, 29, 0.94), rgba(8, 11, 18, 0.98));
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.bridge-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 16%),
    radial-gradient(circle at 18% 18%, rgba(255, 138, 0, 0.05), transparent 24%),
    radial-gradient(circle at 80% 16%, rgba(var(--accent-tuned-rgb), 0.07), transparent 24%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: auto, auto, auto, 56px 56px, 56px 56px;
}

.bridge-panel-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.bridge-panel-kicker {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(50, 171, 193, 0.76);
}

.bridge-panel-chain {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  opacity: 0.72;
}

.bridge-panel-chain span {
  position: relative;
  padding-right: 12px;
}

.bridge-panel-chain span:last-child {
  padding-right: 0;
}

.bridge-panel-chain span:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 6px;
  height: 1px;
  background: rgba(136, 153, 179, 0.28);
  transform: translateY(-50%);
}

.bridge-diagram-shell {
  position: relative;
  width: 100%;
  min-height: 270px;
  border-radius: 22px;
  padding: 16px 18px 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 138, 0, 0.07), transparent 24%),
    radial-gradient(circle at 84% 14%, rgba(var(--accent-tuned-rgb), 0.09), transparent 26%),
    linear-gradient(180deg, rgba(7, 11, 18, 0.72), rgba(5, 8, 13, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.bridge-diagram {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
}

.bridge-diagram * {
  vector-effect: non-scaling-stroke;
}

.bridge-diagram .space-callout {
  font-size: 2.3px;
  letter-spacing: 0.11em;
}

.bridge-diagram .space-callout-line {
  stroke-width: 0.52;
  stroke-dasharray: 1.05 2.2;
}

.bridge-diagram .science-signal {
  stroke-width: 1.35;
}

.bridge-diagram .science-signal--warm {
  stroke-width: 1.28;
}

.bridge-diagram .science-link {
  stroke-width: 1.05;
}

.bridge-diagram .science-row-guide {
  opacity: 0.88;
}

.bridge-diagram-label {
  fill: rgba(232, 237, 245, 0.82);
  font-family: var(--font-display);
  font-size: 4px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.bridge-diagram-label--muted {
  fill: rgba(136, 153, 179, 0.82);
}

.bridge-science-site {
  fill: rgba(9, 14, 24, 0.16);
  stroke: rgba(255, 255, 255, 0.07);
}

/* ========================================
   Section 4: Why a Lab
   ======================================== */

.through-line {
  margin-top: 56px;
}

.through-line p {
  font-family: var(--font-display);
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.through-line-formula {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  color: var(--accent-tuned);
  margin-top: 32px;
  letter-spacing: 0.01em;
}

/* Bench list */
.bench-list {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bench-item {
  padding: 20px 24px;
  background: var(--bg-surface-alpha);
  border-left: 3px solid var(--accent-tuned);
  border-radius: 0 12px 12px 0;
}

.bench-item-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.bench-item p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========================================
   Footer / CTA
   ======================================== */

.footer {
  padding: 80px 24px;
  text-align: center;
  border-top: 1px solid var(--border-subtle);
}

.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.footer-cta {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-tuned);
  border: 1px solid var(--accent-tuned);
  padding: 12px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.footer-cta:hover {
  background: var(--accent-tuned);
  color: var(--bg-primary);
}

/* ========================================
   Scroll-Reveal Animations
   ======================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for children */
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger > .reveal:nth-child(5) { transition-delay: 0.4s; }

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 1024px) {
  .future-domain-layout {
    flex-direction: column;
    gap: 28px;
  }

  .future-copy-stage {
    height: auto;
    min-height: 0;
  }

  .future-copy-head {
    margin-bottom: 16px;
  }

  .future-copy-panels {
    gap: 56px;
    padding-top: 12px;
    padding-bottom: 0;
  }

  .future-domain-block {
    position: relative;
    top: auto;
    padding: 22px 22px 24px;
    min-height: 0;
  }

  .future-domain-block p {
    max-width: none;
    font-size: 16px;
  }

  .future-visual-col {
    width: 100%;
    flex: none;
    max-width: none;
    position: relative;
    top: auto;
    align-self: auto;
  }

  .future-visual-stage {
    position: relative;
  }

  .future-stage-viewport {
    height: 332px;
    min-height: 332px;
  }

  .scenes-sticky-layout {
    flex-direction: column;
    gap: 32px;
    margin-top: 40px;
  }

  .scenes-stack-layout {
    gap: 56px;
    margin-top: 40px;
  }

  .scene-row {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .scene-row-copy,
  .scene-row-media,
  .scene-row--reverse .scene-row-copy,
  .scene-row--reverse .scene-row-media {
    order: initial;
  }

  .scene-row-media {
    flex: none;
    max-width: none;
    width: 100%;
  }

  .scene-visual-card {
    min-height: 0;
  }

  .scene-visual-card .console-viewport {
    aspect-ratio: 16 / 10;
    height: auto;
  }

  .scenes-visual-col {
    display: none;
  }

  .scenes-text-col {
    width: 100%;
    padding-bottom: 0;
  }

  .scene-text-block {
    margin-bottom: 40px;
    opacity: 1;
  }

  .scene-text-block:last-child {
    margin-bottom: 0;
  }

  .scene-inline-media {
    display: block;
    margin-top: 22px;
  }

  .scene-inline-media .scene-image-button {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    background:
      radial-gradient(circle at 76% 18%, rgba(var(--accent-tuned-rgb), 0.16), transparent 26%),
      linear-gradient(180deg, rgba(9, 13, 24, 0.84), rgba(7, 10, 18, 0.98));
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.06),
      inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }

  .scene-inline-media .scene-image-button::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(180deg, rgba(5, 9, 18, 0.04) 0%, rgba(5, 9, 18, 0.08) 46%, rgba(5, 9, 18, 0.52) 100%),
      radial-gradient(circle at 78% 22%, rgba(var(--accent-tuned-rgb), 0.08), transparent 26%);
    pointer-events: none;
  }

  .scene-inline-media .scene-image-photo {
    height: auto;
    aspect-ratio: auto;
    object-fit: cover;
    display: block;
  }

  .scene-inline-media .scene-image-expand {
    left: 12px;
    top: 12px;
  }

  .bridge-layout {
    align-items: stretch;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 16px;
  }

  .nav {
    padding: 16px 20px;
  }

  .nav-inner {
    gap: 12px;
  }

  .nav-summary-trigger {
    font-size: 10px;
    letter-spacing: 0.1em;
    padding: 9px 12px;
  }

  .hero-text {
    padding: 0 20px;
  }

  .energy-indicator {
    bottom: 64px;
  }

  .hero-bridge {
    margin-top: -12vh;
    min-height: 50vh;
    padding: 56px 20px 44px;
  }

  .hero-bridge-line {
    max-width: 16ch;
    font-size: clamp(26px, 7vw, 40px);
  }

  .content-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .lab-media {
    width: calc(100vw - 40px);
    margin: 32px auto 36px;
    border-radius: 18px;
  }

  #future.content-section {
    padding-top: 40px;
  }

  .scene-callout-layer {
    inset: auto 12px 12px 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-content: end;
  }

  .scene-callout {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    gap: 0;
  }

  .scene-callout--reverse {
    flex-direction: row;
  }

  .scene-callout--vertical,
  .scene-callout--vertical-up {
    flex-direction: row;
    align-items: stretch;
    transform: none;
    text-align: left;
  }

  .scene-callout-line,
  .scene-callout-dot {
    display: none;
  }

  .scene-callout-label {
    display: flex;
    align-items: center;
    min-height: 42px;
    width: 100%;
    padding: 10px 12px;
    white-space: normal;
    line-height: 1.18;
    border-radius: 12px;
    background: rgba(var(--accent-tuned-rgb), 0.82);
    backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
  }

  .scene-image-expand {
    left: 12px;
    top: 12px;
    padding: 9px 12px;
    font-size: 9px;
    letter-spacing: 0.14em;
  }

  .scene-lightbox {
    padding: 14px;
  }

  .scene-lightbox-dialog {
    width: calc(100vw - 28px);
    padding: 14px;
    border-radius: 22px;
  }

  .scene-lightbox-close {
    top: 14px;
    right: 14px;
    padding: 9px 12px;
    font-size: 10px;
  }

  .scene-lightbox-image {
    max-height: calc(100vh - 72px);
    border-radius: 14px;
  }

  .summary-lightbox {
    padding: 14px;
  }

  .summary-lightbox-dialog {
    width: calc(100vw - 28px);
    max-height: calc(100vh - 28px);
    padding: 20px;
    border-radius: 22px;
  }

  .summary-lightbox-close {
    top: 14px;
    right: 14px;
    padding: 9px 12px;
    font-size: 10px;
  }

  .summary-lightbox-head {
    padding-right: 0;
    margin-bottom: 20px;
  }

  .summary-tabs {
    width: 100%;
    display: grid;
  }

  .summary-flow {
    gap: 22px;
  }

  .console-diagram-wrap {
    min-height: 220px;
  }

  .console-metric-strip {
    grid-template-columns: 1fr;
  }

  .console-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .future-stage-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .future-sequence-steps {
    display: none;
  }

  .bridge-threshold {
    max-width: none;
    font-size: clamp(18px, 5vw, 24px);
  }

  .bridge-panel {
    padding: 14px;
    border-radius: 24px;
  }

  .bridge-panel-head {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
  }

  .bridge-panel-chain {
    gap: 8px 12px;
  }

  .bridge-diagram-shell {
    min-height: 230px;
    padding: 16px;
  }

  .vision-section {
    min-height: 70vh;
    padding: 60px 20px;
  }

  .vision-inner {
    gap: 36px;
  }

  .vision-line {
    font-size: clamp(20px, 5vw, 28px);
  }
}

@media (max-width: 480px) {
  .nav-summary-trigger {
    padding: 8px 10px;
    font-size: 9px;
  }

  .hero-text {
    font-size: clamp(20px, 6vw, 28px);
  }

  .energy-bar {
    width: 80px;
  }

  .vision-section {
    min-height: 60vh;
  }

  .vision-inner {
    gap: 28px;
  }

  .console-status {
    display: none;
  }

  .console-progress {
    grid-template-columns: 1fr 1fr;
  }

  .future-copy-stage {
    height: auto;
    min-height: 0;
  }

  .future-copy-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
  }

  .future-copy-panels {
    gap: 40px;
    padding-top: 8px;
    padding-bottom: 0;
  }

  .future-domain-block {
    position: relative;
    top: auto;
    padding: 20px 20px 22px;
  }

  .future-domain-meta {
    gap: 12px;
  }

  .future-stage-viewport {
    height: 280px;
    min-height: 280px;
  }

  .future-stage-title {
    font-size: 10px;
  }

  .future-stage-panel {
    padding: 16px;
  }

  .bridge-diagram-shell {
    min-height: 190px;
    padding: 14px;
  }

  .bridge-panel-chain {
    font-size: 9px;
  }

}
