/* ═══════════════════════════════════════════════════════════
   GENESIS PROBE — The Universe Won't Pause
   Site stylesheet
   ═══════════════════════════════════════════════════════════ */

:root {
  --void: #04070f;
  --space: #080d1a;
  --nebula: #0e1524;
  --panel: #0a1220;
  --line: #17233b;
  --line-bright: #1f3452;
  --cyan: #5eead4;
  --cyan-dim: #14b8a6;
  --cyan-deep: #0d9488;
  --signal: #22d3ee;
  --warning: #fb7185;
  --warning-dim: #9f1239;
  --amber: #fbbf24;
  --star: #e0f2fe;
  --text: #cbd5e1;
  --text-dim: #64748b;
  --text-faint: #334155;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --sans: 'DM Sans', -apple-system, system-ui, sans-serif;

  /* Scroll-driven values (updated by JS) */
  --hero-progress: 0;       /* 0 at top, 1 when hero is fully scrolled past */
  --page-progress: 0;       /* 0 → 1 across the full page */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--void);
  color: var(--text);
  font-family: var(--mono);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Permanent cosmic backdrop — visible in the margins on wide screens,
   also gives depth under every section. Built from layered radial
   gradients (nebula glow + star dust) so no extra images are needed. */
body {
  background-color: var(--void);
  background-image:
    /* Soft nebula breath — adds depth, centred on the viewport */
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(20, 184, 166, 0.05) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 20% 80%, rgba(34, 211, 238, 0.035) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 85% 60%, rgba(94, 234, 212, 0.025) 0%, transparent 50%),
    /* Static star dust — tiny bright pixels scattered across the page */
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1400' height='1400' viewBox='0 0 1400 1400'><g fill='%23e0f2fe'><circle cx='47' cy='103' r='0.6' opacity='0.7'/><circle cx='192' cy='231' r='0.4' opacity='0.5'/><circle cx='318' cy='74' r='0.8' opacity='0.85'/><circle cx='429' cy='388' r='0.5' opacity='0.6'/><circle cx='563' cy='147' r='0.4' opacity='0.45'/><circle cx='691' cy='295' r='0.7' opacity='0.75'/><circle cx='820' cy='61' r='0.5' opacity='0.55'/><circle cx='947' cy='412' r='0.9' opacity='0.9'/><circle cx='1083' cy='178' r='0.4' opacity='0.5'/><circle cx='1213' cy='334' r='0.6' opacity='0.7'/><circle cx='1339' cy='93' r='0.5' opacity='0.6'/><circle cx='89' cy='517' r='0.8' opacity='0.8'/><circle cx='237' cy='632' r='0.4' opacity='0.45'/><circle cx='376' cy='484' r='0.5' opacity='0.55'/><circle cx='512' cy='701' r='0.7' opacity='0.75'/><circle cx='648' cy='548' r='0.5' opacity='0.6'/><circle cx='781' cy='789' r='0.4' opacity='0.5'/><circle cx='915' cy='623' r='0.8' opacity='0.85'/><circle cx='1056' cy='752' r='0.5' opacity='0.6'/><circle cx='1194' cy='569' r='0.6' opacity='0.7'/><circle cx='1328' cy='697' r='0.4' opacity='0.45'/><circle cx='63' cy='867' r='0.7' opacity='0.75'/><circle cx='204' cy='979' r='0.5' opacity='0.6'/><circle cx='349' cy='841' r='0.4' opacity='0.5'/><circle cx='483' cy='1113' r='0.9' opacity='0.9'/><circle cx='617' cy='925' r='0.5' opacity='0.55'/><circle cx='759' cy='1047' r='0.6' opacity='0.7'/><circle cx='891' cy='893' r='0.4' opacity='0.45'/><circle cx='1027' cy='1159' r='0.5' opacity='0.6'/><circle cx='1168' cy='1002' r='0.8' opacity='0.8'/><circle cx='1301' cy='1083' r='0.4' opacity='0.5'/><circle cx='125' cy='1247' r='0.6' opacity='0.7'/><circle cx='271' cy='1341' r='0.4' opacity='0.45'/><circle cx='408' cy='1195' r='0.5' opacity='0.6'/><circle cx='547' cy='1302' r='0.7' opacity='0.75'/><circle cx='684' cy='1248' r='0.5' opacity='0.55'/><circle cx='821' cy='1359' r='0.4' opacity='0.5'/><circle cx='958' cy='1211' r='0.6' opacity='0.65'/><circle cx='1093' cy='1297' r='0.5' opacity='0.6'/><circle cx='1235' cy='1225' r='0.4' opacity='0.45'/></g></svg>");
  background-repeat: no-repeat, no-repeat, no-repeat, repeat;
  background-size: auto, auto, auto, 1400px 1400px;
  background-attachment: fixed, fixed, fixed, fixed;
}

/* Film grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/></svg>");
}

/* CRT scanlines — barely visible */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  background: repeating-linear-gradient(
    0deg,
    rgba(94, 234, 212, 0),
    rgba(94, 234, 212, 0) 2px,
    rgba(94, 234, 212, 0.012) 3px,
    rgba(94, 234, 212, 0) 4px
  );
}

/* ─────────────── SCROLL PROGRESS BAR (top) ─────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: calc(var(--page-progress) * 100%);
  background: linear-gradient(to right, var(--cyan-deep), var(--cyan));
  z-index: 10000;
  transition: width 0.05s linear;
  box-shadow: 0 0 8px rgba(94, 234, 212, 0.6);
  pointer-events: none;
}

/* ─────────────── TOP BAR ─────────────── */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: linear-gradient(to bottom, rgba(4,7,15,0.85), rgba(4,7,15,0));
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.topbar .brand {
  color: var(--cyan);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}
.topbar .brand::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--cyan);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 0.4; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1); }
}
.topbar .meta { color: var(--text-dim); display: flex; gap: 24px; }
.topbar .meta span { display: flex; align-items: center; gap: 6px; }
.topbar .meta .live { color: var(--cyan); }
.topbar .meta .live::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--cyan);
  display: inline-block;
  border-radius: 50%;
  animation: pulse-dot 1.6s ease-in-out infinite;
}
@media (max-width: 640px) {
  .topbar { padding: 14px 18px; }
  .topbar .meta { display: none; }
}

/* ─────────────── HERO ─────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--void);
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: block;
  will-change: transform;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  /* Scroll-driven zoom + lift. Combines with the slow breathing animation. */
  transform:
    scale(calc(1.02 + var(--hero-progress) * 0.12))
    translateY(calc(var(--hero-progress) * 6%));
  transition: transform 0.1s linear;
  animation: hero-breathe 20s ease-in-out infinite;
}
@keyframes hero-breathe {
  0%, 100% { filter: brightness(1); }
  50%      { filter: brightness(1.04); }
}
@media (max-width: 480px) {
  .hero-bg img { object-position: 60% center; }
}

.starfield {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* Stars drift UP as you scroll down — depth illusion */
  transform: translateY(calc(var(--hero-progress) * -18%));
  will-change: transform;
}
.starfield canvas { width: 100%; height: 100%; display: block; }

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 20%, rgba(4,7,15,0.65) 100%);
  pointer-events: none;
  opacity: calc(1 + var(--hero-progress) * 0.4);
}

.hero-scan {
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--cyan), transparent);
  opacity: 0;
  animation: scan-sweep 14s ease-in-out infinite;
  pointer-events: none;
}
@keyframes scan-sweep {
  0%, 5%   { top: -2%;  opacity: 0; }
  6%       { opacity: 0.4; }
  15%      { top: 100%; opacity: 0.4; }
  16%,100% { opacity: 0; top: 100%; }
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
  margin-top: 16vh;
  /* Content drifts upward + fades as viewer scrolls past */
  transform: translateY(calc(var(--hero-progress) * -60px));
  opacity: calc(1 - var(--hero-progress) * 1.2);
  transition: transform 0.1s linear, opacity 0.1s linear;
  will-change: transform, opacity;
}

/* On very wide screens, expand the container so the title fits on one line */
@media (min-width: 1360px) {
  .hero-content { max-width: 1400px; }
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--line-bright);
  border-radius: 2px;
  background: rgba(10, 18, 32, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--cyan);
  text-transform: uppercase;
  opacity: 0;
  animation: fade-in-up 1s ease 0.4s forwards;
}
.hero-pill::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--cyan);
  box-shadow: 0 0 8px var(--cyan);
  border-radius: 50%;
  animation: pulse-dot 1.6s ease-in-out infinite;
}

.hero-title {
  margin-top: 32px;
  font-family: var(--mono);
  font-weight: 200;
  font-size: clamp(28px, 6.4vw, 72px);
  letter-spacing: 0.22em;
  line-height: 1.15;
  color: var(--star);
  text-transform: uppercase;
  text-shadow: 0 0 40px rgba(4, 7, 15, 0.8), 0 2px 8px rgba(4, 7, 15, 0.6);
}
.hero-title .t1, .hero-title .t2 {
  display: block;
  opacity: 0;
  transform: translateY(20px);
  animation: fade-in-up 1.4s cubic-bezier(0.2, 0.6, 0.2, 1) forwards;
}
.hero-title .t1 { animation-delay: 1.0s; }
.hero-title .t2 { animation-delay: 1.35s; }

/* On wide screens, put the title on a single line — restores the starfield expanse */
@media (min-width: 1360px) {
  .hero-title .t1, .hero-title .t2 { display: inline-block; }
  .hero-title .t1 { margin-right: 0.4em; }
}

.hero-divider {
  width: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--cyan), transparent);
  margin: 28px auto 0;
  animation: divider-grow 1.4s cubic-bezier(0.2, 0.6, 0.2, 1) 1.8s forwards;
  box-shadow: 0 0 12px rgba(94, 234, 212, 0.4);
}
@keyframes divider-grow {
  from { width: 0; opacity: 0; }
  to { width: min(280px, 60%); opacity: 1; }
}

@media (max-width: 520px) {
  .hero-title { letter-spacing: 0.18em; }
}

.hero-sub {
  margin-top: 28px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--text-dim);
  text-transform: uppercase;
  opacity: 0;
  animation: fade-in-up 1s ease 2.6s forwards;
}
.hero-sub .sep { color: var(--line-bright); margin: 0 12px; }
.hero-sub .val { color: var(--cyan); }
@media (max-width: 520px) {
  .hero-sub { font-size: 9.5px; letter-spacing: 0.22em; }
  .hero-sub .sep { margin: 0 6px; }
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.4em;
  color: var(--text-dim);
  text-transform: uppercase;
  opacity: 0;
  animation: fade-in-up 1s ease 3.4s forwards;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.scroll-indicator .line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
  animation: scroll-line 2.4s ease-in-out infinite;
}
@keyframes scroll-line {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.3; }
  50% { transform: scaleY(1); opacity: 0.9; }
}
/* Fade the scroll indicator as user scrolls */
.hero .scroll-indicator {
  opacity: calc(max(0, 1 - var(--hero-progress) * 2.5)) !important;
}

/* ─────────────── SECTIONS ─────────────── */
section {
  position: relative;
  padding: 140px 32px;
  max-width: 1280px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--cyan);
}

.section-title {
  font-family: var(--mono);
  font-weight: 200;
  font-size: clamp(28px, 4.5vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--star);
  margin-bottom: 32px;
  max-width: 820px;
}
.section-title em { font-style: normal; color: var(--cyan); }

.section-body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  max-width: 640px;
}
.section-body p + p { margin-top: 20px; }
.section-body .emph { color: var(--cyan); }

/* ─────────────── SCROLL REVEAL ─────────────── */
/* Baseline reveal — applied to any .reveal element */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 1.1s cubic-bezier(0.2, 0.6, 0.2, 1),
    transform 1.1s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Per-element reveal variants */
.reveal-left  { transform: translateX(-48px); }
.reveal-right { transform: translateX(48px); }
.reveal-left.is-visible,
.reveal-right.is-visible { transform: translateX(0); }

.reveal-zoom {
  transform: scale(0.94);
  filter: blur(4px);
  transition:
    opacity 1.4s cubic-bezier(0.2, 0.6, 0.2, 1),
    transform 1.4s cubic-bezier(0.2, 0.6, 0.2, 1),
    filter 1.4s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.reveal-zoom.is-visible {
  transform: scale(1);
  filter: blur(0);
}

/* ─────────────── TRANSMISSION ─────────────── */
.transmission { padding-top: 180px; }

.terminal {
  margin-top: 56px;
  background: linear-gradient(180deg, rgba(10, 18, 32, 0.5), rgba(10, 18, 32, 0.2));
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 28px 32px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.9;
  position: relative;
  overflow: hidden;
  max-width: 780px;
}
.terminal::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--cyan), transparent);
}
.term-header {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 14px;
}
.term-header .signal { color: var(--cyan); }

/* Terminal lines reveal one by one when the terminal enters viewport */
.term-line {
  display: flex;
  gap: 14px;
  color: var(--text);
  align-items: baseline;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.term-line + .term-line { margin-top: 6px; }
.term-line .t { color: var(--text-faint); min-width: 84px; font-size: 11px; }
.term-line .arrow { color: var(--cyan); }
.term-line.warn .arrow { color: var(--warning); }
.term-line .val { color: var(--cyan); font-weight: 500; }
.term-line .val-warn { color: var(--warning); font-weight: 500; }
.terminal.is-visible .term-line {
  opacity: 1;
  transform: translateX(0);
}
.terminal.is-visible .term-line:nth-child(2) { transition-delay: 0.3s; }
.terminal.is-visible .term-line:nth-child(3) { transition-delay: 0.7s; }
.terminal.is-visible .term-line:nth-child(4) { transition-delay: 1.1s; }
.terminal.is-visible .term-line:nth-child(5) { transition-delay: 1.5s; }
.terminal.is-visible .term-line:nth-child(6) { transition-delay: 1.9s; }

.term-cursor {
  display: inline-block;
  width: 8px; height: 14px;
  background: var(--cyan);
  margin-left: 4px;
  vertical-align: middle;
  animation: blink 1.1s steps(2) infinite;
}
@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* ─────────────── WORLD (dashboard) ─────────────── */
.world { padding-top: 60px; }

.dashboard-frame {
  margin-top: 48px;
  position: relative;
  border: 1px solid var(--line-bright);
  border-radius: 4px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(94, 234, 212, 0.04),
    0 40px 80px -20px rgba(0, 0, 0, 0.8),
    0 0 120px -30px rgba(94, 234, 212, 0.15);
  background: var(--nebula);
}
.dashboard-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 60%, rgba(4,7,15,0.45) 100%);
  pointer-events: none;
}

/* Signal acquisition sweep — plays once when the frame enters view */
.dashboard-frame .scan-sweep {
  position: absolute;
  top: 0; bottom: 0;
  left: -20%;
  width: 25%;
  background: linear-gradient(90deg,
    transparent,
    rgba(94, 234, 212, 0.18) 40%,
    rgba(94, 234, 212, 0.45) 50%,
    rgba(94, 234, 212, 0.18) 60%,
    transparent
  );
  pointer-events: none;
  z-index: 2;
  opacity: 0;
}
.dashboard-frame.is-visible .scan-sweep {
  animation: signal-sweep 1.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards;
}
@keyframes signal-sweep {
  0%   { left: -25%; opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { left: 125%; opacity: 0; }
}

.dashboard-frame img,
.dashboard-frame picture img {
  width: 100%;
  display: block;
  opacity: 0;
  filter: brightness(0.3) saturate(0.5);
  transition: opacity 1.2s ease 0.2s, filter 1.6s ease 0.4s;
}
.dashboard-frame.is-visible img,
.dashboard-frame.is-visible picture img {
  opacity: 1;
  filter: brightness(1) saturate(1);
}

.dash-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1px;
  margin-top: 32px;
  background: var(--line);
  border: 1px solid var(--line);
}
.dash-stat {
  background: var(--space);
  padding: 24px 20px;
  font-family: var(--mono);
}
.dash-stat .num {
  font-size: 30px;
  font-weight: 300;
  color: var(--cyan);
  letter-spacing: -0.02em;
  display: block;
}
.dash-stat .num.warn { color: var(--warning); }
.dash-stat .lbl {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 6px;
  display: block;
}

/* ─────────────── FEATURES ─────────────── */
.features { padding-top: 60px; }

.feature-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.feature {
  background: var(--space);
  padding: 36px 28px;
  position: relative;
  transition: background 0.4s ease;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  /* Staggered reveal — each card slides in from its own direction */
  opacity: 0;
  transform: translateY(40px);
  transition:
    background 0.4s ease,
    opacity 0.9s cubic-bezier(0.2, 0.6, 0.2, 1),
    transform 0.9s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.feature-grid.is-visible .feature { opacity: 1; transform: translateY(0); }
.feature-grid.is-visible .feature:nth-child(1) { transition-delay: 0.05s; }
.feature-grid.is-visible .feature:nth-child(2) { transition-delay: 0.20s; }
.feature-grid.is-visible .feature:nth-child(3) { transition-delay: 0.35s; }
.feature-grid.is-visible .feature:nth-child(4) { transition-delay: 0.50s; }

.feature:hover { background: var(--nebula); }
.feature:hover .feat-num { color: var(--cyan); }
.feat-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--text-faint);
  margin-bottom: 18px;
  transition: color 0.4s ease;
}
.feat-title {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.feat-body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text);
}

/* ─────────────── PULL QUOTE ─────────────── */
.pullquote {
  padding: 180px 32px;
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}
.pullquote blockquote {
  font-family: var(--mono);
  font-weight: 200;
  font-size: clamp(22px, 3.2vw, 36px);
  line-height: 1.45;
  color: var(--star);
  letter-spacing: -0.005em;
}
.pullquote blockquote em {
  font-style: normal;
  color: var(--cyan);
}
.pullquote .attr {
  margin-top: 40px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* ─────────────── CTA ─────────────── */
.cta {
  padding: 160px 32px 120px;
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
}
.cta-title {
  font-family: var(--mono);
  font-weight: 200;
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.1;
  color: var(--star);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.cta-title .warn { color: var(--warning); }
.cta-sub {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 64px;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 22px 40px;
  background: transparent;
  color: var(--cyan);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--cyan);
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease, letter-spacing 0.4s ease;
  cursor: pointer;
}
.cta-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cyan);
  transform: translateX(-101%);
  transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
  z-index: -1;
}
.cta-button:hover {
  color: var(--void);
  letter-spacing: 0.3em;
}
.cta-button:hover::before { transform: translateX(0); }

.cta-button .arrow {
  width: 18px; height: 1px;
  background: currentColor;
  position: relative;
  display: inline-block;
  transition: width 0.3s ease;
}
.cta-button .arrow::after {
  content: '';
  position: absolute;
  right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.cta-button:hover .arrow { width: 28px; }

.cta-note {
  margin-top: 56px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-faint);
  text-transform: uppercase;
  line-height: 2;
}
.cta-note a {
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.cta-note a:hover { border-color: var(--cyan); color: var(--cyan); }

/* ─────────────── FOOTER ─────────────── */
footer {
  border-top: 1px solid var(--line);
  padding: 36px 32px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-faint);
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
footer .studio { color: var(--text-dim); }
footer .signature {
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}
footer .signature:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}
footer .loc { color: var(--text-faint); }

/* ─────────────── MOBILE ─────────────── */
@media (max-width: 720px) {
  section { padding: 100px 20px; }
  .transmission { padding-top: 130px; }
  .pullquote { padding: 120px 20px; }
  .cta { padding: 120px 20px 80px; }
  .hero-content { margin-top: 20vh; padding: 0 20px; }
  .terminal { padding: 20px 18px; font-size: 12px; }
  .term-line .t { min-width: 70px; font-size: 10px; }
  footer { padding: 28px 20px; font-size: 9px; }
}

/* ─────────────── REDUCED MOTION ─────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-bg img, .starfield, .hero-content {
    transform: none !important;
  }
}
