/* AETHELON — Foundation-inspired predictive intelligence demo
   Palette: anthracite / brushed bronze / polished gold / holographic cyan
*/

:root {
  --bg-0: #08070a;
  --bg-1: #110a0e;
  --bg-2: #1a1014;
  --ink: #efe6d4;
  --ink-mute: #9a9080;
  --ink-faint: #5a5446;
  --bronze: #a87c4c;
  --bronze-lit: #c89c5c;
  --gold: #d9a86a;
  --gold-hot: #efbe78;
  --burgundy: #5c1822;
  --burgundy-lit: #8a2838;
  --teal: #2e8a8a;
  --teal-lit: #4eb5b5;
  --cyan: #3a8fbf;
  --cyan-lit: #6bb5dd;
  --hairline: #2a201a;
  --hairline-lit: #3a2e24;

  --serif: 'Cormorant Unicase', 'Cormorant Garamond', serif;
  --sans: 'Manrope', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --col: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-0);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

a { color: inherit; text-decoration: none; }

/* GRAIN OVERLAY */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0.85  0 0 0 0 0.78  0 0 0 0 0.6  0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 1200px 700px at 50% -10%, rgba(217, 168, 106, 0.22), transparent 70%),
    radial-gradient(ellipse 1000px 600px at 92% 20%, rgba(46, 138, 138, 0.08), transparent 75%),
    radial-gradient(ellipse 900px 500px at 8% 80%, rgba(92, 24, 34, 0.22), transparent 75%),
    radial-gradient(ellipse 800px 400px at 50% 100%, rgba(168, 124, 76, 0.06), transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* HAZE — atmospheric fog wash across page */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='800' height='800'><filter id='h'><feTurbulence type='fractalNoise' baseFrequency='0.012' numOctaves='3' seed='2'/><feColorMatrix values='0 0 0 0 0.85  0 0 0 0 0.66  0 0 0 0 0.4  0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23h)'/></svg>");
  background-size: 1200px 1200px;
  opacity: 0.18;
  mix-blend-mode: screen;
  animation: haze-drift 60s ease-in-out infinite alternate;
}
@keyframes haze-drift {
  0% { background-position: 0% 0%; }
  100% { background-position: 30% 20%; }
}

/* FLOATING PARTICLES — fine golden pigment dust drifting upward */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}
.particle {
  position: absolute;
  bottom: -10px;
  width: 1px;
  height: 1px;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  animation: particle-rise linear infinite;
}
.particle.teal { background: var(--teal-lit); }
.particle.hot { background: var(--gold-hot); }
.particle.warm { background: var(--bronze-lit); }
.particle.glow { box-shadow: 0 0 3px currentColor; }
@keyframes particle-rise {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 0;
  }
  8% { opacity: var(--peak, 0.5); }
  92% { opacity: var(--peak, 0.5); }
  100% {
    transform: translate3d(var(--drift, 20px), -110vh, 0);
    opacity: 0;
  }
}

/* GOD RAYS — volumetric light shafts from top */
.god-rays {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  opacity: 0.55;
}
.god-rays::before,
.god-rays::after {
  content: "";
  position: absolute;
  top: -10%;
  left: 50%;
  width: 60%;
  height: 110%;
  background: linear-gradient(180deg,
    rgba(239, 190, 120, 0.18) 0%,
    rgba(217, 168, 106, 0.08) 30%,
    transparent 80%);
  transform-origin: top center;
  filter: blur(20px);
  mix-blend-mode: screen;
}
.god-rays::before {
  transform: translateX(-50%) skewX(-12deg);
  animation: ray-breathe 9s ease-in-out infinite;
}
.god-rays::after {
  transform: translateX(-50%) skewX(8deg);
  width: 40%;
  opacity: 0.7;
  animation: ray-breathe 13s ease-in-out infinite reverse;
}
@keyframes ray-breathe {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* NAV — minimal top bar (real menu is the radial constellation) */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px var(--gutter);
  background: linear-gradient(180deg, rgba(8, 7, 10, 0.7), rgba(8, 7, 10, 0));
}
.nav-inner {
  max-width: var(--col);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.nav-eyebrow {
  color: var(--ink-mute);
}
.nav-cycle {
  color: var(--bronze-lit);
}
@media (max-width: 640px) {
  .nav-eyebrow { font-size: 9px; letter-spacing: 0.18em; }
}

/* Legacy brand class kept for footer reuse */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.sigil {
  width: 28px;
  height: 28px;
  color: var(--bronze-lit);
  animation: sigil-breathe 8s ease-in-out infinite;
}
@keyframes sigil-breathe {
  0%, 100% { transform: rotate(0deg); opacity: 0.85; }
  50% { transform: rotate(180deg); opacity: 1; }
}
.brand-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--ink);
}

/* CINEMATIC — ONE sticky container, scenes overlap as absolute layers */
.cinematic {
  position: relative;
  width: 100%;
  height: 1000vh; /* 6 scenes × ~150-180vh each, with overlap buffer */
}
.cinematic-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  perspective: 1400px;
  perspective-origin: 50% 42%;
}
.scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0;
  transform-origin: 50% 42%;
  will-change: opacity, transform;
  /* Non-hero scenes are visual-only by default; only their interactive
     children (hotspots, copy) catch clicks. Prevents invisible scenes
     from blocking clicks on the hero behind them. */
  pointer-events: none;
}
.scene-hero {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;   /* hero is fully interactive */
}
/* Re-enable pointer events ONLY on truly interactive elements.
   NOT on .planet-hotspots (it's a full-screen overlay layer that
   would block clicks on the hero behind invisible scenes).
   NOT on .*-copy text containers — they're decorative text only and
   were intercepting clicks on the hero pentagon nodes (Forecast SE,
   Whisper SW) because they sit on z-index 4 inside scenes that are
   stacked above scene-hero even when their opacity is 0. */
.scene .hotspot {
  pointer-events: auto;
}
.scene-tunnel { z-index: 2; }
.scene-cosmos { z-index: 3; }
.scene-trantor-far { z-index: 4; }
.scene-trantor { z-index: 5; }
.scene-trantor-ground { z-index: 6; }

/* legacy section reset (scene-hero contains the radial hero section) */
.scene > section {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* HERO — radial constellation around the Prime Radiant */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px var(--gutter) 60px;
  overflow: hidden;
  z-index: 2;
}
.hero-radial {
  flex-direction: column;
  align-items: stretch;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}
.hero-bg img,
.hero-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  filter: contrast(1.05) saturate(0.96);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, transparent 0%, transparent 25%, rgba(8, 7, 10, 0.6) 70%, rgba(8, 7, 10, 0.92) 100%),
    linear-gradient(180deg, rgba(8, 7, 10, 0.55) 0%, transparent 18%, transparent 70%, rgba(8, 7, 10, 0.95) 100%);
  pointer-events: none;
}

/* RADIAL STAGE — fixed-aspect container so menu nodes orbit predictably */
.radial-stage {
  position: relative;
  z-index: 3;
  width: min(880px, 92vw);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  pointer-events: none;
}
.radial-stage > * { pointer-events: auto; }
.radial-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

/* 3D wireframe Radiant — sits as an interactive aura ring AROUND the video Radiant */
.radiant-3d {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  opacity: 0.55;
  mix-blend-mode: screen;
}
.radiant-3d canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

/* ORBIT NODES — radial menu items */
.orbit-node {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  z-index: 4;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(.2,.7,.3,1.4);
  --tx: 0px;
  --ty: 0px;
  --r: 420px;
  transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty)));
  width: 140px;
}
.orbit-node:hover { transform: translate(calc(-50% + var(--tx) * 0.92), calc(-50% + var(--ty) * 0.92)) scale(1.04); }

/* Position calculations — ÆTHELON crown at 12, other 5 in pentagon-like spread */
/* Pentagon-Spread vergrößert (--r 380→460) damit SE/SW Nodes nicht mehr in die
   Hand+Ikosaeder ragen. Crown (12) und Access (6) bekommen vh-Caps via max()/min()
   damit sie auch auf kleineren Viewport-Höhen (≤900px laptop) im Bild bleiben. */
/* 12 (top) — BRAND CROWN */
.node-12 { --tx: 0px; --ty: max(calc(var(--r) * -1.0), -42vh); }
/* 2 (NE) */
.node-2  { --tx: calc(var(--r) * 0.866); --ty: calc(var(--r) * -0.5); }
/* 4 (SE) */
.node-4  { --tx: calc(var(--r) * 0.866); --ty: calc(var(--r) * 0.5); }
/* 6 (bottom) — cap so it never collides with the hero-tag (Predict Centuries +
   long-horizon prose) which is bottom-anchored at ~70px + content height of ~80px.
   Reserve ~220px below viewport-center for that area + 30px buffer. */
.node-6  { --tx: 0px; --ty: min(calc(var(--r) * 1.0), calc(50vh - 220px)); }
/* 8 (SW) */
.node-8  { --tx: calc(var(--r) * -0.866); --ty: calc(var(--r) * 0.5); }
/* 10 (NW) */
.node-10 { --tx: calc(var(--r) * -0.866); --ty: calc(var(--r) * -0.5); }

/* BRAND CROWN treatment */
.node-12 { width: 240px; }
.node-12 .node-label {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 500;
  letter-spacing: 0.36em;
  color: var(--ink);
  text-transform: uppercase;
  text-shadow:
    0 0 24px rgba(239, 190, 120, 0.55),
    0 0 48px rgba(239, 190, 120, 0.3),
    0 0 2px rgba(8, 7, 10, 0.95);
  margin-top: 6px;
}
.node-12 .node-dot {
  width: 10px;
  height: 10px;
  background: var(--gold-hot);
  box-shadow:
    0 0 16px var(--gold-hot),
    0 0 32px rgba(239, 190, 120, 0.55),
    0 0 64px rgba(239, 190, 120, 0.25);
}
.node-12 .node-dot::before { border-color: rgba(239, 190, 120, 0.5); }
.node-12 .node-sub {
  letter-spacing: 0.34em;
  color: var(--bronze-lit);
  margin-top: 2px;
}
.node-12:hover .node-label { color: var(--gold-hot); }

.node-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-lit);
  box-shadow:
    0 0 12px var(--teal-lit),
    0 0 24px rgba(78, 181, 181, 0.4);
  position: relative;
  transition: all 0.4s;
}
.node-dot::before {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(78, 181, 181, 0.35);
  border-radius: 50%;
  animation: dot-ring 3s ease-out infinite;
}
@keyframes dot-ring {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}
.node-dot.node-gold {
  background: var(--gold-hot);
  box-shadow:
    0 0 14px var(--gold-hot),
    0 0 28px rgba(239, 190, 120, 0.5);
}
.node-dot.node-gold::before { border-color: rgba(239, 190, 120, 0.4); }

.orbit-node:hover .node-dot {
  transform: scale(1.4);
  box-shadow:
    0 0 18px var(--gold-hot),
    0 0 36px rgba(239, 190, 120, 0.6);
  background: var(--gold-hot);
}

.node-label {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-transform: uppercase;
  line-height: 1;
  transition: color 0.4s;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.9);
}
.node-label-cta { color: var(--gold-hot); }
.orbit-node:hover .node-label { color: var(--gold-hot); }

.node-sub {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--ink-faint);
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.9);
  transition: color 0.4s;
}
.orbit-node:hover .node-sub { color: var(--bronze-lit); }

/* Connecting line from node toward center on hover */
.orbit-node::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 0;
  background: linear-gradient(180deg, transparent, var(--gold-hot), transparent);
  transform-origin: top center;
  opacity: 0;
  transition: opacity 0.5s, height 0.5s;
  pointer-events: none;
}

/* Responsive radius */
@media (min-width: 1200px) {
  .orbit-node { --r: 460px; }
}
@media (max-width: 980px) {
  .radial-stage { aspect-ratio: 4 / 5; width: 96vw; }
  .orbit-node { --r: 42vw; width: 110px; }
  .node-label { font-size: 14px; }
  .node-sub { font-size: 8px; letter-spacing: 0.18em; }
}
@media (max-width: 640px) {
  .orbit-node { --r: 44vw; width: 90px; }
  .node-label { font-size: 12px; }
  .node-sub { font-size: 7px; }
}

/* REVEAL — instant, GSAP controls scene transitions on scroll */
.hero-bg img,
.hero-bg video {
  opacity: 1;
}

.radiant-3d {
  opacity: 0.55;
  transform: translate(-50%, -50%) scale(1);
}

#floating-particles {
  opacity: 1;
}

.orbit-node {
  opacity: 1;
  transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty)));
}

.orbit-node.revealed:hover,
.orbit-node:hover {
  transform: translate(calc(-50% + var(--tx) * 0.92), calc(-50% + var(--ty) * 0.92)) scale(1.04);
}

.hero-tag {
  opacity: 1;
  transform: translateX(-50%);
}

.hero-scroll {
  opacity: 1;
}

/* HERO TAGLINE — anchored at bottom */
.hero-tag {
  position: absolute;
  bottom: 70px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 4;
  width: 100%;
  max-width: 720px;
  padding: 0 var(--gutter);
}
.hero-tag-mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--bronze-lit);
  margin-bottom: 10px;
}
.hero-tag-prose {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(15px, 1.3vw, 18px);
  color: var(--ink-mute);
}
@media (max-width: 640px) {
  .hero-tag { bottom: 50px; }
  .hero-tag-mono { font-size: 9px; letter-spacing: 0.28em; }
}

.hero-orbit {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
  opacity: 0.4;
}
.hero-orbit svg {
  width: min(1400px, 160vw);
  height: auto;
  opacity: 0.85;
}

.orbit { transform-origin: 600px 600px; }
.orbit-1 { animation: spin 120s linear infinite; }
.orbit-2 { animation: spin-rev 80s linear infinite; }
.orbit-3 { animation: spin 200s linear infinite; }
.orbit-4 { animation: spin-rev 160s linear infinite; }
.glyphs { animation: spin 60s linear infinite; transform-origin: 600px 600px; }
.core { animation: pulse-core 4s ease-in-out infinite; transform-origin: 600px 600px; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }
@keyframes pulse-core {
  0%, 100% { r: 6; opacity: 1; }
  50% { r: 9; opacity: 0.7; }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 620px;
  margin-left: auto;
  text-align: left;
}
@media (max-width: 980px) {
  .hero-content {
    margin-left: 0;
    margin-right: auto;
    text-align: left;
    padding-top: 56vh;
  }
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--ink-mute);
  text-transform: uppercase;
  margin-bottom: 36px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--gold);
  animation: dot-pulse 3s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 11vw, 156px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 40px;
  text-shadow: 0 0 80px rgba(168, 124, 76, 0.15);
}
.display .line-1,
.display .line-2,
.display .line-3 { display: block; }
.display .line-2 {
  color: var(--bronze-lit);
  font-style: italic;
  letter-spacing: -0.02em;
}
.display em {
  font-style: italic;
  color: var(--ink-mute);
  font-weight: 300;
}

.lede {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-mute);
  max-width: 560px;
  margin-bottom: 48px;
  line-height: 1.65;
}
@media (max-width: 980px) {
  .lede { margin-left: auto; margin-right: auto; }
}

.hero-actions {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
@media (max-width: 980px) {
  .hero-actions { justify-content: center; }
}

.btn-primary {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bg-0);
  background: linear-gradient(180deg, var(--gold), var(--bronze));
  padding: 18px 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
  box-shadow: 0 0 0 1px var(--bronze), 0 8px 32px rgba(168, 124, 76, 0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--gold), 0 12px 48px rgba(217, 168, 106, 0.4);
}

.btn-ghost {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
  border-bottom: 1px solid var(--hairline);
  padding: 8px 0;
  transition: all 0.3s;
}
.btn-ghost:hover {
  color: var(--bronze-lit);
  border-color: var(--bronze);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  max-width: 720px;
  margin: 0 auto;
}
.hero-meta > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 12px;
  background: rgba(16, 16, 21, 0.6);
  backdrop-filter: blur(4px);
}
.meta-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.meta-value {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--bronze-lit);
  letter-spacing: 0.04em;
}
@media (max-width: 640px) {
  .hero-meta { grid-template-columns: repeat(2, 1fr); }
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--ink-faint);
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--bronze), transparent);
  animation: scroll-pulse 2.5s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scroll-pulse {
  0%, 100% { transform: scaleY(0.2); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* SCENE: PIGMENT TUNNEL */
.scene-tunnel-inner {
  position: absolute;
  inset: 0;
  background: var(--bg-0);
}
.tunnel-bg,
.tunnel-face {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.tunnel-bg img,
.tunnel-face img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.tunnel-bg {
  z-index: 1;
  opacity: 0;
  transform: scale(1.6);
  will-change: transform, opacity;
}
.tunnel-bg img {
  /* Always overscan so no edge bleeds during scale animation */
  width: 110%;
  height: 110%;
  top: -5%;
  left: -5%;
}
.tunnel-face {
  z-index: 2;
  opacity: 0;
  transform: scale(0.78);
  will-change: transform, opacity;
  /* Radial mask makes the face dissolve into the tunnel — no visible image edges */
  -webkit-mask-image: radial-gradient(ellipse 65% 75% at 50% 50%, black 35%, transparent 78%);
          mask-image: radial-gradient(ellipse 65% 75% at 50% 50%, black 35%, transparent 78%);
}
.tunnel-face img {
  filter: contrast(1.08) saturate(1.0);
}
.tunnel-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 90% at 50% 50%, transparent 30%, rgba(8, 7, 10, 0.55) 70%, rgba(8, 7, 10, 0.95) 100%),
    linear-gradient(180deg, rgba(8, 7, 10, 0.65) 0%, transparent 18%, transparent 75%, rgba(8, 7, 10, 0.95) 100%);
}
.tunnel-copy {
  position: absolute;
  inset: auto 0 16vh 0;
  z-index: 4;
  text-align: center;
  padding: 0 var(--gutter);
  opacity: 0;
  transform: translateY(40px);
}
.tunnel-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--bronze-lit);
  margin-bottom: 28px;
}
.tunnel-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.12;
  color: var(--ink);
  max-width: 880px;
  margin: 0 auto 36px;
  letter-spacing: -0.005em;
  text-shadow: 0 0 24px rgba(8, 7, 10, 0.9);
}
.tunnel-headline span { display: block; }
.tunnel-headline .em {
  font-style: italic;
  color: var(--gold-hot);
}
.tunnel-attrib {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* STAGE FLASH — masks scene swaps at top of cinematic-stage (above all scenes) */
.stage-flash {
  position: absolute;
  inset: 0;
  z-index: 90;
  background: radial-gradient(circle at 50% 42%,
    rgba(255, 245, 215, 1) 0%,
    rgba(255, 220, 150, 0.92) 25%,
    rgba(200, 150, 90, 0.5) 55%,
    rgba(8, 7, 10, 0) 80%);
  opacity: 0;
  pointer-events: none;
}

/* SCENE: COSMOS — galaxy parallax approach */
.scene-cosmos-inner {
  position: absolute;
  inset: 0;
  background: var(--bg-0);
}
.cosmos-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  opacity: 0;
  transform: scale(1.4);
  will-change: transform, opacity;
}
.cosmos-bg img {
  position: absolute;
  width: 115%;
  height: 115%;
  top: -7%;
  left: -7%;
  object-fit: cover;
  object-position: center center;
  filter: contrast(1.08) saturate(1.05);
}
.cosmos-stars {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255, 240, 200, 0.9), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(255, 240, 200, 0.7), transparent),
    radial-gradient(1px 1px at 80% 20%, rgba(78, 181, 181, 0.8), transparent),
    radial-gradient(1px 1px at 30% 80%, rgba(255, 230, 180, 0.6), transparent),
    radial-gradient(1px 1px at 90% 50%, rgba(255, 240, 200, 0.7), transparent),
    radial-gradient(1px 1px at 10% 60%, rgba(78, 181, 181, 0.6), transparent),
    radial-gradient(2px 2px at 45% 40%, rgba(255, 250, 220, 0.95), transparent),
    radial-gradient(1px 1px at 70% 35%, rgba(239, 190, 120, 0.7), transparent);
  background-size: 100% 100%;
  opacity: 0;
  will-change: transform, opacity;
}
.cosmos-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 80% at 50% 50%, transparent 40%, rgba(8, 7, 10, 0.55) 80%, rgba(8, 7, 10, 0.92) 100%),
    linear-gradient(180deg, rgba(8, 7, 10, 0.4) 0%, transparent 18%, transparent 78%, rgba(8, 7, 10, 0.95) 100%);
}
.cosmos-copy {
  position: absolute;
  inset: auto 0 14vh 0;
  z-index: 4;
  text-align: center;
  padding: 0 var(--gutter);
  opacity: 0;
  transform: translateY(40px);
}
.cosmos-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--teal-lit);
  margin-bottom: 28px;
}
.cosmos-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.12;
  color: var(--ink);
  max-width: 880px;
  margin: 0 auto;
  letter-spacing: -0.005em;
  text-shadow: 0 0 24px rgba(8, 7, 10, 0.9);
}
.cosmos-headline span { display: block; }
.cosmos-headline .em {
  font-style: italic;
  color: var(--teal-lit);
}

/* SCENE: TRANTOR — arrival */
.scene-trantor-inner {
  position: absolute;
  inset: 0;
  background: var(--bg-0);
}
.trantor-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  opacity: 0;
  transform: scale(1.25);
  will-change: transform, opacity;
}
.trantor-bg img {
  position: absolute;
  width: 110%;
  height: 110%;
  top: -5%;
  left: -5%;
  object-fit: cover;
  object-position: center center;
  filter: contrast(1.06) saturate(1.02);
}
.trantor-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 95% 100% at 50% 50%, transparent 50%, rgba(8, 7, 10, 0.45) 85%, rgba(8, 7, 10, 0.92) 100%),
    linear-gradient(180deg, rgba(8, 7, 10, 0.5) 0%, transparent 15%, transparent 70%, rgba(8, 7, 10, 0.95) 100%);
}
.trantor-copy {
  position: absolute;
  inset: auto 0 12vh 0;
  z-index: 3;
  text-align: center;
  padding: 0 var(--gutter);
  opacity: 0;
  transform: translateY(40px);
  max-width: 720px;
  margin: 0 auto;
  left: 0;
  right: 0;
}
.trantor-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-hot);
  margin-bottom: 28px;
}
.trantor-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.12;
  color: var(--ink);
  margin: 0 auto 28px;
  letter-spacing: -0.005em;
  text-shadow: 0 0 24px rgba(8, 7, 10, 0.95);
}
.trantor-headline span { display: block; }
.trantor-headline .em {
  font-style: italic;
  color: var(--gold-hot);
}
.trantor-sub {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-mute);
  max-width: 540px;
  margin: 0 auto;
  text-shadow: 0 0 16px rgba(8, 7, 10, 0.95);
}

/* SCENE: TRANTOR FAR — first sight from cosmos */
.scene-trantor-far-inner {
  position: absolute;
  inset: 0;
  background: var(--bg-0);
}
.trantor-far-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  opacity: 0;
  transform: scale(1.3);
  will-change: transform, opacity;
}
.trantor-far-bg img {
  position: absolute;
  width: 112%;
  height: 112%;
  top: -6%;
  left: -6%;
  object-fit: cover;
  object-position: center center;
  filter: contrast(1.05) saturate(1.0);
}
.trantor-far-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 100% at 50% 50%, transparent 50%, rgba(8, 7, 10, 0.45) 85%, rgba(8, 7, 10, 0.92) 100%),
    linear-gradient(180deg, rgba(8, 7, 10, 0.55) 0%, transparent 18%, transparent 75%, rgba(8, 7, 10, 0.95) 100%);
}
.trantor-far-copy {
  position: absolute;
  inset: auto 0 18vh 0;
  z-index: 3;
  text-align: center;
  padding: 0 var(--gutter);
  opacity: 0;
  transform: translateY(40px);
}
.trantor-far-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--bronze-lit);
  margin-bottom: 28px;
}
.trantor-far-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.12;
  color: var(--ink);
  max-width: 720px;
  margin: 0 auto;
  letter-spacing: -0.005em;
  text-shadow: 0 0 24px rgba(8, 7, 10, 0.95);
}
.trantor-far-headline span { display: block; }
.trantor-far-headline .em {
  font-style: italic;
  color: var(--bronze-lit);
}

/* SCENE: TRANTOR GROUND — the megacity, we landed */
.scene-trantor-ground-inner {
  position: absolute;
  inset: 0;
  background: var(--bg-0);
}
.trantor-ground-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
  opacity: 0;
  transform: scale(1.2);
  will-change: transform, opacity;
}
.trantor-ground-bg img {
  position: absolute;
  width: 108%;
  height: 108%;
  top: -4%;
  left: -4%;
  object-fit: cover;
  object-position: center 55%;
  filter: contrast(1.06) saturate(1.05);
}
.trantor-ground-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 100% 100% at 50% 60%, transparent 55%, rgba(8, 7, 10, 0.4) 85%, rgba(8, 7, 10, 0.88) 100%),
    linear-gradient(180deg, rgba(8, 7, 10, 0.5) 0%, transparent 15%, transparent 60%, rgba(8, 7, 10, 0.98) 100%);
}
.trantor-ground-copy {
  position: absolute;
  inset: auto 0 14vh 0;
  z-index: 3;
  text-align: center;
  padding: 0 var(--gutter);
  opacity: 0;
  transform: translateY(40px);
  max-width: 720px;
  margin: 0 auto;
  left: 0;
  right: 0;
}
.trantor-ground-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-hot);
  margin-bottom: 28px;
}
.trantor-ground-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.05;
  color: var(--ink);
  margin: 0 auto 28px;
  letter-spacing: -0.005em;
  text-shadow: 0 0 28px rgba(8, 7, 10, 0.95);
}
.trantor-ground-headline span { display: block; }
.trantor-ground-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(15px, 1.4vw, 19px);
  color: var(--bronze-lit);
  text-shadow: 0 0 16px rgba(8, 7, 10, 0.95);
}

/* WHITE FLASH — transition burst between scenes */
.white-flash {
  position: absolute;
  inset: 0;
  z-index: 10;
  background: radial-gradient(circle at 50% 50%, rgba(255, 240, 200, 0.95) 0%, rgba(255, 220, 150, 0.6) 30%, rgba(8, 7, 10, 0) 70%);
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* SECTION COMMON */
.section-head {
  max-width: var(--col);
  margin: 0 auto 64px;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 24px;
  position: relative;
  z-index: 10;
}
.section-num {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 400;
  color: var(--bronze);
  line-height: 1;
}
.section-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* MANIFEST */
.manifest {
  position: relative;
  z-index: 2;
  padding: 140px 0 120px;
}
.manifest-grid {
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 880px) {
  .manifest-grid { grid-template-columns: 1fr; gap: 48px; }
}
.manifest-quote {
  position: sticky;
  top: 120px;
  border-left: 1px solid var(--bronze);
  padding-left: 32px;
}
.manifest-quote p {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.15;
  font-style: italic;
  color: var(--ink);
  margin-bottom: 18px;
}
.attrib {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.manifest-body p {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.7;
  color: var(--ink-mute);
  margin-bottom: 24px;
}
.manifest-body em {
  color: var(--bronze-lit);
  font-style: italic;
}

/* AXIOMS */
.axioms {
  position: relative;
  z-index: 2;
  padding: 100px 0 140px;
  background: linear-gradient(180deg, transparent, rgba(16, 16, 21, 0.5), transparent);
}
.axioms-grid {
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--hairline);
}
.axiom {
  padding: 56px 40px 64px;
  border-right: 1px solid var(--hairline);
  position: relative;
  background: rgba(16, 16, 21, 0.35);
  transition: background 0.6s;
}
.axiom:last-child { border-right: none; }
.axiom:hover { background: rgba(168, 124, 76, 0.04); }
.axiom-glyph {
  width: 64px;
  height: 64px;
  color: var(--bronze-lit);
  margin-bottom: 32px;
  display: block;
  transition: transform 0.6s;
}
.axiom:hover .axiom-glyph {
  transform: rotate(45deg);
  color: var(--gold);
}
.axiom h3 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 18px;
}
.axiom p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-mute);
}
.axiom-num {
  position: absolute;
  top: 32px;
  right: 32px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
@media (max-width: 880px) {
  .axioms-grid { grid-template-columns: 1fr; }
  .axiom { border-right: none; border-bottom: 1px solid var(--hairline); }
  .axiom:last-child { border-bottom: none; }
}

/* FORECAST */
.forecast {
  position: relative;
  z-index: 2;
  padding: 100px 0 140px;
}
.forecast-panel {
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.panel-header {
  border: 1px solid var(--hairline);
  border-bottom: none;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(16, 16, 21, 0.6);
  flex-wrap: wrap;
  gap: 16px;
}
.panel-id {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: var(--mono);
  font-size: 12px;
}
.panel-id-label {
  color: var(--ink-faint);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 10px;
}
.panel-id-code {
  color: var(--bronze-lit);
  letter-spacing: 0.1em;
}
.panel-status {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.status-dot {
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan);
  animation: status-blink 2s ease-in-out infinite;
}
@keyframes status-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.panel-body {
  border: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 1fr 320px;
  background: rgba(10, 10, 13, 0.5);
}
@media (max-width: 880px) {
  .panel-body { grid-template-columns: 1fr; }
}

.panel-chart {
  position: relative;
  border-right: 1px solid var(--hairline);
  padding: 32px 28px 64px;
  min-height: 360px;
}
@media (max-width: 880px) {
  .panel-chart { border-right: none; border-bottom: 1px solid var(--hairline); }
}
.panel-chart svg {
  width: 100%;
  height: 320px;
  display: block;
}
.trend, .trend-alt {
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  animation: draw-line 4s ease-out forwards;
}
.trend-alt { animation-delay: 0.6s; }
@keyframes draw-line {
  to { stroke-dashoffset: 0; }
}
.markers circle {
  animation: marker-fade 0.4s ease-out forwards;
  opacity: 0;
}
.markers circle:nth-child(1) { animation-delay: 1.2s; }
.markers circle:nth-child(2) { animation-delay: 1.6s; }
.markers circle:nth-child(3) { animation-delay: 2.0s; }
.markers circle:nth-child(4) { animation-delay: 2.4s; }
@keyframes marker-fade {
  to { opacity: 1; }
}

.chart-overlay {
  position: absolute;
  inset: 32px 28px 64px;
  pointer-events: none;
}
.overlay-tag {
  position: absolute;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  animation: tag-fade 0.6s ease-out forwards;
  opacity: 0;
}
.overlay-tag:nth-child(1) { animation-delay: 1.6s; }
.overlay-tag:nth-child(2) { animation-delay: 2.0s; }
.overlay-tag:nth-child(3) { animation-delay: 2.4s; }
@keyframes tag-fade {
  to { opacity: 1; transform: translate(-50%, -110%); }
}
.tag-code {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--gold);
  background: var(--bg-0);
  padding: 2px 6px;
  border: 1px solid var(--bronze);
}
.tag-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  background: var(--bg-0);
  padding: 2px 6px;
  margin-top: 4px;
}

.panel-side {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: rgba(16, 16, 21, 0.4);
}
.side-row {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 14px;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
}
.side-row:has(.side-value.mono):not(:has(.side-bar)) {
  grid-template-columns: 90px 1fr;
}
.side-label {
  color: var(--ink-faint);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.side-value {
  color: var(--bronze-lit);
  letter-spacing: 0.06em;
  text-align: right;
}
.side-value.mono { font-size: 11px; }
.side-bar {
  height: 4px;
  background: var(--hairline);
  position: relative;
  overflow: hidden;
}
.side-bar-fill {
  position: absolute;
  inset: 0;
  width: 0;
  background: linear-gradient(90deg, var(--bronze), var(--gold));
  animation: bar-fill 1.8s ease-out forwards;
  animation-delay: 0.5s;
}
.side-bar-cyan {
  background: linear-gradient(90deg, var(--cyan), var(--cyan-lit));
}
@keyframes bar-fill {
  to { width: var(--w); }
}
.side-divider {
  height: 1px;
  background: var(--hairline);
  margin: 4px 0;
}
.side-prose {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-mute);
}
.side-prose strong {
  color: var(--gold);
  font-weight: 500;
}

/* WHISPER */
.whisper {
  position: relative;
  z-index: 2;
  padding: 100px 0 140px;
}
.whisper-figure {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}
.whisper-figure blockquote p {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.3;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 36px;
}
.whisper-figure figcaption {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.who {
  color: var(--bronze-lit);
  font-weight: 500;
}
.role {
  color: var(--ink-faint);
}

/* ACCESS */
.access {
  position: relative;
  z-index: 2;
  padding: 120px 0 140px;
  background: linear-gradient(180deg, transparent, rgba(168, 124, 76, 0.04), transparent);
}
.access-inner {
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 880px) {
  .access-inner { grid-template-columns: 1fr; gap: 48px; }
}
.access-copy .section-kicker {
  display: block;
  margin-bottom: 24px;
}
.access-copy h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.access-copy p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-mute);
  max-width: 460px;
}

.access-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.access-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.access-form label.full {
  grid-column: 1 / -1;
}
.access-form label span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.access-form input,
.access-form select,
.access-form textarea {
  background: rgba(16, 16, 21, 0.6);
  border: 1px solid var(--hairline);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  resize: vertical;
  border-radius: 0;
}
.access-form input:focus,
.access-form select:focus,
.access-form textarea:focus {
  border-color: var(--bronze);
  background: rgba(16, 16, 21, 0.9);
}
.access-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6'><path d='M0 0 L5 6 L10 0' fill='none' stroke='%23a87c4c' stroke-width='1'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 42px;
}

.access-form button {
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bg-0);
  background: linear-gradient(180deg, var(--gold), var(--bronze));
  border: none;
  padding: 18px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 0 0 1px var(--bronze);
}
.access-form button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--gold), 0 8px 32px rgba(217, 168, 106, 0.3);
}
.access-form button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.form-ack {
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--cyan-lit);
  padding: 16px;
  border: 1px solid var(--cyan);
  background: rgba(58, 143, 191, 0.06);
  text-align: center;
}

@media (max-width: 640px) {
  .access-form { grid-template-columns: 1fr; }
}

/* FOOTER */
.foot {
  position: relative;
  z-index: 2;
  padding: 80px var(--gutter) 60px;
  border-top: 1px solid var(--hairline);
}
.foot-inner {
  max-width: var(--col);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.foot-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ink-mute);
}
.foot-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  text-transform: uppercase;
  max-width: 720px;
}

/* SELECTION */
::selection {
  background: var(--bronze);
  color: var(--bg-0);
}

/* ============================================================
   INTERACTIVE LAYER — Hotspots / Cards / Portal / Nav / Modal
   ============================================================ */

/* PLANET HOTSPOTS — clickable points on Trantor surface */
.planet-hotspots {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
.hotspot {
  position: absolute;
  width: 104px;
  height: 104px;
  background: transparent;
  border: none;
  cursor: pointer;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--gold-hot);
  transition: transform 0.4s cubic-bezier(.2,.7,.3,1.4);
  transform: translate(-50%, -50%);
}
/* Legacy fixed positions still used on trantor mid */
/* Trantor-mid: positions tuned to dark / negative-space areas */
.hotspot-1 { top: 14%; left: 28%; }   /* Northern Grid — up into dark sky */
.hotspot-2 { top: 64%; left: 62%; }   /* Industrial Belt — right into dark space below ring */
.hotspot-3 { top: 24%; left: 84%; }   /* Ring Spire — far right, on the dark ring band */

.hotspot-sigil {
  width: 100%;
  height: 100%;
  display: block;
  filter:
    drop-shadow(0 0 14px rgba(239, 190, 120, 0.7))
    drop-shadow(0 0 4px rgba(8, 7, 10, 0.95))
    drop-shadow(0 0 1px rgba(8, 7, 10, 1));
  transition: filter 0.4s, transform 0.6s cubic-bezier(.2,.7,.3,1);
  animation: hotspot-breathe 4.5s ease-in-out infinite;
}
@keyframes hotspot-breathe {
  0%, 100% { opacity: 0.78; }
  50% { opacity: 1; }
}
.hotspot::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--gold-hot);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  animation: hotspot-ring 2.8s ease-out infinite;
}
.hotspot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--gold-hot);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  animation: hotspot-ring 2.8s ease-out infinite;
  animation-delay: 1.4s;
}
@keyframes hotspot-ring {
  0%   { transform: scale(0.85); opacity: 0.7; }
  100% { transform: scale(2.4); opacity: 0; }
}
.hotspot:hover {
  transform: translate(-50%, -50%) scale(1.18);
}
.hotspot:hover .hotspot-sigil {
  filter:
    drop-shadow(0 0 22px rgba(239, 190, 120, 1))
    drop-shadow(0 0 8px rgba(239, 190, 120, 0.6))
    drop-shadow(0 0 2px rgba(8, 7, 10, 1));
  transform: rotate(60deg);
}
.hotspot-label {
  position: absolute;
  left: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-hot);
  white-space: nowrap;
  padding: 6px 10px;
  background: rgba(8, 7, 10, 0.85);
  border: 1px solid var(--hairline-lit);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
.hotspot:hover .hotspot-label,
.hotspot:focus-visible .hotspot-label {
  opacity: 1;
  transform: translate(4px, -50%);
}
@media (max-width: 880px) {
  .hotspot { width: 76px; height: 76px; }
  .hotspot-label { font-size: 9px; letter-spacing: 0.16em; }
}
@media (max-width: 640px) {
  .hotspot { width: 60px; height: 60px; }
}

/* Section sigil — button wrapper makes it reliably clickable */
.section-sigil-btn {
  background: transparent;
  border: none;
  padding: 6px;
  margin: -6px;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s;
  position: relative;
  z-index: 50;
  pointer-events: auto;
  isolation: isolate;
}
.section-sigil-btn:hover {
  transform: rotate(45deg) scale(1.08);
}
.section-sigil-btn:focus-visible {
  outline: 1px solid var(--gold-hot);
  outline-offset: 6px;
  border-radius: 50%;
}
.section-sigil {
  width: 52px;
  height: 52px;
  color: var(--bronze-lit);
  flex-shrink: 0;
  animation: section-sigil-breathe 6s ease-in-out infinite;
  transition: color 0.3s, filter 0.3s;
  pointer-events: none; /* button parent handles clicks */
}
.section-sigil-btn:hover .section-sigil {
  color: var(--gold-hot);
  filter: drop-shadow(0 0 14px rgba(239, 190, 120, 0.7));
}
@keyframes section-sigil-breathe {
  0%, 100% { opacity: 0.7; transform: rotate(0deg); }
  50% { opacity: 1; transform: rotate(30deg); }
}

/* BRANCH PORTAL — three paths after the cinematic */
.portal {
  position: relative;
  z-index: 5;
  padding: 120px var(--gutter) 140px;
  background: var(--bg-0);
}
.portal-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 720px;
  margin: 0 auto 64px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.portal-line {
  flex: 1;
  height: 1px;
  background: var(--hairline);
}
.portal-grid {
  max-width: var(--col);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
@media (max-width: 880px) {
  .portal-grid { grid-template-columns: 1fr; }
}
.branch {
  position: relative;
  padding: 56px 36px 64px;
  background: rgba(16, 16, 21, 0.5);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  transition: background 0.5s, transform 0.4s;
  overflow: hidden;
}
.branch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(168, 124, 76, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.branch:hover {
  background: rgba(168, 124, 76, 0.05);
}
.branch:hover::after { opacity: 1; }
.branch-glyph {
  width: 48px;
  height: 48px;
  color: var(--bronze-lit);
  transition: color 0.4s, transform 0.6s;
}
.branch:hover .branch-glyph {
  color: var(--gold-hot);
  transform: rotate(15deg);
}
.branch-gold .branch-glyph { color: var(--gold-hot); }
.branch-num {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--bronze);
  line-height: 1;
}
.branch-gold .branch-num { color: var(--gold-hot); }
.branch-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 28px;
  color: var(--ink);
  line-height: 1;
}
.branch-sub {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-mute);
  max-width: 280px;
}
.branch-arrow {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink-faint);
  letter-spacing: 0.1em;
  transition: color 0.4s, transform 0.4s;
}
.branch:hover .branch-arrow {
  color: var(--gold-hot);
  transform: translateX(6px);
}

/* FIXED CODEX NAV — right sidebar, appears after cinematic */
.codex-nav {
  position: fixed;
  top: 50%;
  right: 28px;
  transform: translateY(-50%);
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s;
}
.codex-nav.is-visible {
  opacity: 1;
  pointer-events: auto;
}
.codex-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px 8px 14px;
  color: var(--ink-faint);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: color 0.3s, background 0.3s;
  position: relative;
  background: rgba(8, 7, 10, 0.4);
  border: 1px solid transparent;
}
.codex-nav-item::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink-faint);
  transition: background 0.3s, transform 0.3s;
  margin-right: 4px;
}
.codex-nav-item:hover {
  color: var(--bronze-lit);
  border-color: var(--hairline-lit);
}
.codex-nav-item:hover::before {
  background: var(--bronze-lit);
  transform: scale(1.6);
}
.codex-nav-item.is-active {
  color: var(--gold-hot);
  background: rgba(8, 7, 10, 0.75);
  border-color: var(--bronze);
}
.codex-nav-item.is-active::before {
  background: var(--gold-hot);
  box-shadow: 0 0 8px var(--gold-hot);
  transform: scale(1.6);
}
.codex-nav-num {
  font-family: var(--serif);
  font-size: 14px;
  color: inherit;
  min-width: 18px;
}
.codex-nav-label {
  opacity: 0;
  max-width: 0;
  overflow: hidden;
  transition: opacity 0.3s, max-width 0.4s;
  white-space: nowrap;
}
.codex-nav-item:hover .codex-nav-label,
.codex-nav-item.is-active .codex-nav-label {
  opacity: 1;
  max-width: 140px;
}
@media (max-width: 880px) {
  .codex-nav { right: 12px; }
  .codex-nav-num { font-size: 12px; }
  .codex-nav-item { padding: 6px 8px; font-size: 9px; }
}

/* CODEX MODAL — opens for hotspots and codex-cards */
.codex-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px var(--gutter);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0.4s;
}
.codex-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.codex-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 7, 10, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.codex-modal-panel {
  position: relative;
  z-index: 2;
  width: min(720px, 96vw);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--bg-1);
  border: 1px solid var(--bronze);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8), 0 0 0 1px var(--hairline-lit);
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.5s cubic-bezier(.2,.7,.3,1.2);
}
.codex-modal.is-open .codex-modal-panel {
  transform: translateY(0) scale(1);
}
.codex-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  border-bottom: 1px solid var(--hairline);
  background: rgba(8, 7, 10, 0.6);
}
.codex-modal-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.codex-modal-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-hot);
}
.codex-modal-cycle {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--ink-faint);
}
.codex-modal-close {
  background: transparent;
  border: 1px solid var(--hairline-lit);
  color: var(--ink-mute);
  font-size: 22px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  transition: all 0.3s;
}
.codex-modal-close:hover {
  color: var(--gold-hot);
  border-color: var(--bronze);
}
.codex-modal-body {
  padding: 40px 28px;
}
.codex-modal-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 16px;
}
.codex-modal-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--bronze-lit);
  margin-bottom: 28px;
  line-height: 1.5;
}
.codex-modal-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  margin-bottom: 28px;
}
.codex-modal-stats > div {
  padding: 14px 16px;
  background: rgba(8, 7, 10, 0.4);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.codex-modal-stats .stat-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.codex-modal-stats .stat-value {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--bronze-lit);
  letter-spacing: 0.04em;
}
.codex-modal-prose {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-mute);
}
.codex-modal-prose em {
  color: var(--gold-hot);
  font-style: italic;
}
.codex-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  border-top: 1px solid var(--hairline);
  background: rgba(8, 7, 10, 0.6);
  gap: 16px;
}
.codex-modal-stamp {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.28em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.codex-modal-cta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-hot);
  border: 1px solid var(--bronze);
  padding: 10px 18px;
  transition: all 0.3s;
}
.codex-modal-cta:hover {
  background: rgba(168, 124, 76, 0.12);
  border-color: var(--gold-hot);
}
body.modal-open {
  overflow: hidden;
}

/* ============================================================
   MANIFEST CASES — three operator stories
   ============================================================ */
.manifest-cases {
  max-width: var(--col);
  margin: 80px auto 0;
  padding: 0 var(--gutter);
}
.cases-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--bronze-lit);
  margin-bottom: 36px;
  text-align: center;
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
@media (max-width: 880px) {
  .cases-grid { grid-template-columns: 1fr; }
}
.case {
  padding: 32px 28px 36px;
  background: rgba(16, 16, 21, 0.4);
  transition: background 0.4s;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.case:hover { background: rgba(168, 124, 76, 0.04); }
.case-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--mono);
}
.case-num {
  font-size: 24px;
  color: var(--bronze);
  letter-spacing: 0.08em;
}
.case-tag {
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.case-headline {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  color: var(--ink);
  margin: 0;
}
.case-body {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-mute);
  margin: 0;
}
.case-stats {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
}
.case-stats span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
}
.case-stats b {
  color: var(--gold-hot);
  font-weight: 500;
  margin-right: 6px;
}

/* ============================================================
   AXIOMS — animated diagrams
   ============================================================ */
.axiom {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.axiom-diagram {
  width: 100%;
  aspect-ratio: 1;
  max-width: 220px;
  margin-bottom: 12px;
  color: var(--bronze-lit);
  transition: color 0.6s;
}
.axiom:hover .axiom-diagram { color: var(--gold-hot); }
.axiom-diagram svg {
  width: 100%;
  height: 100%;
  display: block;
}
.axiom-fragment {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-faint);
  margin-top: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--hairline);
}
.axiom-fragment em {
  font-style: italic;
  color: var(--bronze-lit);
}

/* Animation: swarm dots breathe; target rings pulse */
.ax-swarm circle {
  animation: ax-dot-drift 4s ease-in-out infinite;
  transform-origin: 100px 100px;
}
.ax-swarm circle:nth-child(odd) { animation-delay: -1s; }
.ax-swarm circle:nth-child(3n) { animation-delay: -2s; }
@keyframes ax-dot-drift {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
.ax-target {
  animation: ax-target-pulse 6s ease-in-out infinite;
  transform-origin: 100px 100px;
}
@keyframes ax-target-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

/* Axiom 2 — arcs */
.ax-arcs path {
  stroke-dasharray: 400;
  animation: ax-arc-draw 8s ease-in-out infinite;
}
.ax-arcs path:nth-child(2) { animation-delay: -2s; }
.ax-arcs path:nth-child(3) { animation-delay: -4s; }
@keyframes ax-arc-draw {
  0% { stroke-dashoffset: 400; opacity: 0; }
  20% { opacity: 1; }
  100% { stroke-dashoffset: -400; opacity: 0; }
}
.ax-cause-pts circle, .ax-effect-pts circle {
  animation: ax-pulse 3s ease-in-out infinite;
}
.ax-effect-pts circle { animation-delay: 1.5s; }
@keyframes ax-pulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

/* Axiom 3 — tree */
.ax-tree line {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: ax-tree-grow 4s ease-out forwards;
}
.ax-tree line:nth-child(1) { animation-delay: 0.1s; }
.ax-tree line:nth-child(2), .ax-tree line:nth-child(3) { animation-delay: 0.4s; }
.ax-tree line:nth-child(n+4) { animation-delay: 0.7s; }
.ax-tree line:nth-child(n+8) { animation-delay: 1.0s; }
@keyframes ax-tree-grow {
  to { stroke-dashoffset: 0; }
}
.ax-tree-leaves circle {
  animation: ax-leaf-glow 4s ease-in-out infinite;
}
.ax-tree-leaves circle:nth-child(odd) { animation-delay: -1.5s; }
@keyframes ax-leaf-glow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}
.ax-tree-root {
  animation: ax-root-pulse 3s ease-in-out infinite;
}
@keyframes ax-root-pulse {
  0%, 100% { r: 3; }
  50% { r: 4.5; }
}

/* Number badge for axiom — reposition */
.axiom .axiom-num {
  position: absolute;
  top: 24px;
  right: 24px;
}

/* ============================================================
   FORECAST — extras
   ============================================================ */
.overlay-tag {
  position: absolute;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  pointer-events: auto;
  animation: tag-fade 0.6s ease-out forwards;
  opacity: 0;
  transition: transform 0.3s;
}
.overlay-tag:hover {
  transform: translate(-50%, -114%);
}
.overlay-tag:hover .tag-code {
  background: var(--gold-hot);
  color: var(--bg-0);
}

.panel-side-cta {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-hot);
  border: 1px solid var(--bronze);
  padding: 10px 14px;
  transition: all 0.3s;
}
.panel-side-cta:hover {
  background: rgba(168, 124, 76, 0.1);
  border-color: var(--gold-hot);
}

.forecast-row {
  max-width: var(--col);
  margin: 60px auto 0;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
@media (max-width: 880px) {
  .forecast-row { grid-template-columns: 1fr; }
}
.mini-forecast {
  padding: 24px 22px 22px;
  background: rgba(16, 16, 21, 0.4);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.4s;
}
.mini-forecast:hover { background: rgba(58, 143, 191, 0.05); }
.mini-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.mini-id { color: var(--bronze-lit); }
.mini-status {
  color: var(--ink-faint);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.mini-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.2;
  color: var(--ink);
  margin: 4px 0 0;
}
.mini-lede {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-mute);
}
.mini-chart {
  width: 100%;
  height: 80px;
  display: block;
}
.mini-chart path[stroke] {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: draw-line 3.5s ease-out forwards;
}
.mini-stats {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid var(--hairline);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.mini-stats b {
  color: var(--gold-hot);
  font-weight: 500;
  margin-right: 4px;
}

/* ============================================================
   WHISPER — 3 testimonials
   ============================================================ */
.whisper-intro {
  max-width: 680px;
  margin: 0 auto 56px;
  padding: 0 var(--gutter);
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 1.5vw, 21px);
  color: var(--ink-mute);
  line-height: 1.5;
}
.whisper-grid {
  max-width: var(--col);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
@media (max-width: 880px) {
  .whisper-grid { grid-template-columns: 1fr; }
}
.whisper-card {
  padding: 48px 36px 40px;
  background: rgba(16, 16, 21, 0.5);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: background 0.5s;
}
.whisper-card:hover { background: rgba(168, 124, 76, 0.04); }
.whisper-card-mid {
  background: rgba(168, 124, 76, 0.05);
}
.whisper-glyph {
  font-family: var(--serif);
  font-size: 80px;
  line-height: 0.5;
  color: var(--bronze);
  opacity: 0.4;
  display: block;
}
.whisper-card blockquote {
  margin: 0;
}
.whisper-card blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
}
.whisper-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.whisper-card .who { color: var(--bronze-lit); font-weight: 500; }
.whisper-card .role { color: var(--ink-mute); }
.whisper-card .institution { color: var(--ink-faint); margin-top: 2px; }

.whisper-stamp {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 720px;
  margin: 56px auto 0;
  padding: 0 var(--gutter);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-faint);
  justify-content: center;
}
.stamp-line {
  flex: 1;
  height: 1px;
  max-width: 100px;
  background: var(--hairline);
}

/* ============================================================
   ACCESS — enhanced form
   ============================================================ */
.access-meta {
  list-style: none;
  margin: 36px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 32px;
}
.access-meta li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.access-meta-label {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.access-meta-value {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--bronze-lit);
  letter-spacing: 0.04em;
}

.form-field {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(16, 16, 21, 0.6);
  border: 1px solid var(--hairline);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  resize: vertical;
  border-radius: 0;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--bronze);
  background: rgba(16, 16, 21, 0.9);
}
.form-field.is-error input,
.form-field.is-error select,
.form-field.is-error textarea {
  border-color: var(--burgundy-lit);
}
.form-field.is-valid input,
.form-field.is-valid select,
.form-field.is-valid textarea {
  border-color: var(--bronze-lit);
}
.field-error {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--burgundy-lit);
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 0.3s;
}
.form-field.is-error .field-error {
  opacity: 1;
  height: auto;
}

.form-submit {
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bg-0);
  background: linear-gradient(180deg, var(--gold), var(--bronze));
  border: none;
  padding: 18px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 0 0 1px var(--bronze);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.form-submit:hover:not(:disabled):not(.is-submitting) {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--gold), 0 8px 32px rgba(217, 168, 106, 0.3);
}
.form-submit:disabled,
.form-submit.is-submitting {
  cursor: progress;
  opacity: 0.85;
}
.submit-spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(8, 7, 10, 0.4);
  border-top-color: var(--bg-0);
  display: none;
  animation: spin 0.9s linear infinite;
}
.form-submit.is-submitting .submit-arrow,
.form-submit.is-submitting .submit-label { opacity: 0.5; }
.form-submit.is-submitting .submit-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-ack {
  grid-column: 1 / -1;
  display: flex;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--cyan);
  background: rgba(58, 143, 191, 0.06);
  align-items: flex-start;
  animation: ack-in 0.6s cubic-bezier(.2,.7,.3,1.2) forwards;
}
@keyframes ack-in {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.ack-glyph {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--teal-lit);
}
.ack-title {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 6px;
}
.ack-sub {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-mute);
  margin: 0;
}
.ack-ref {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold-hot);
  letter-spacing: 0.06em;
  padding: 2px 6px;
  background: rgba(8, 7, 10, 0.5);
  border: 1px solid var(--bronze);
}

/* ============================================================
   TEMPLATE PROMO — buyer-facing sales section
============================================================ */
.template-promo {
  position: relative;
  z-index: 5;
  background: var(--bg-0);
  padding: 140px var(--gutter) 120px;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(168, 124, 76, 0.08), transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(46, 138, 138, 0.05), transparent 70%),
    var(--bg-0);
}
.template-stamp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  max-width: 720px;
  margin: 0 auto 56px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--bronze-lit);
}
.template-line {
  flex: 1;
  height: 1px;
  background: var(--hairline);
  max-width: 80px;
}
.template-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: center;
  margin: 0 auto 36px;
  max-width: 920px;
}
.template-title span { display: block; }
.template-title .em {
  font-style: italic;
  color: var(--gold-hot);
}
.template-lede {
  font-family: var(--sans);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
  color: var(--ink-mute);
  max-width: 760px;
  margin: 0 auto 80px;
  text-align: center;
}

.template-features {
  max-width: var(--col);
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
@media (max-width: 1024px) {
  .template-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .template-features { grid-template-columns: 1fr; }
}
.feature {
  padding: 36px 28px 32px;
  background: rgba(16, 16, 21, 0.45);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 0.5s;
}
.feature:hover {
  background: rgba(168, 124, 76, 0.05);
}
.feature-icon {
  width: 44px;
  height: 44px;
  color: var(--bronze-lit);
  transition: color 0.4s, transform 0.6s;
}
.feature:hover .feature-icon {
  color: var(--gold-hot);
  transform: rotate(30deg);
}
.feature h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.2;
  color: var(--ink);
  margin: 0;
}
.feature p {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-mute);
  margin: 0;
}

/* PRICING BLOCK — two columns: buy + custom */
.template-buy {
  max-width: var(--col);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
}
@media (max-width: 880px) {
  .template-buy { grid-template-columns: 1fr; }
}

.buy-card {
  padding: 44px 40px 40px;
  background: rgba(168, 124, 76, 0.06);
  border: 1px solid var(--bronze);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(168, 124, 76, 0.15);
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
}
.buy-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid var(--gold-hot);
  pointer-events: none;
  opacity: 0.25;
}
.buy-version {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-hot);
}
.buy-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--serif);
}
.buy-currency {
  font-size: 36px;
  color: var(--ink-mute);
  font-weight: 400;
}
.buy-value {
  font-size: clamp(64px, 8vw, 96px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.buy-period {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-left: 8px;
}
.buy-list {
  list-style: none;
  padding: 0;
  margin: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.buy-list li {
  position: relative;
  padding-left: 22px;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-mute);
}
.buy-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-hot);
  font-weight: 500;
}
.buy-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bg-0);
  background: linear-gradient(180deg, var(--gold-hot), var(--bronze));
  padding: 20px 28px;
  margin-top: 12px;
  transition: all 0.3s;
  box-shadow: 0 0 0 1px var(--bronze), 0 12px 36px rgba(168, 124, 76, 0.25);
}
.buy-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px var(--gold-hot), 0 16px 48px rgba(239, 190, 120, 0.35);
}
.buy-note {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-align: center;
  margin: 0;
}

.buy-alt {
  padding: 44px 36px 40px;
  background: rgba(16, 16, 21, 0.45);
  border: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.buy-alt h4 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
  color: var(--ink);
  margin: 0;
}
.buy-alt > p {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-mute);
  margin: 0;
}
.alt-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.alt-list li {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--bronze-lit);
  padding-left: 14px;
  position: relative;
}
.alt-list li::before {
  content: "·";
  position: absolute;
  left: 0;
  color: var(--bronze);
  font-weight: 700;
}
.alt-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bronze-lit);
  border: 1px solid var(--bronze);
  padding: 16px 22px;
  margin-top: 8px;
  transition: all 0.3s;
  align-self: flex-start;
}
.alt-cta:hover {
  color: var(--gold-hot);
  border-color: var(--gold-hot);
  background: rgba(168, 124, 76, 0.1);
  transform: translateY(-1px);
}
.alt-note {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0;
}

/* AUDIO TOGGLE — top right corner, click to unmute */
.audio-toggle {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 110;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(8, 7, 10, 0.6);
  border: 1px solid var(--hairline-lit);
  color: var(--ink-mute);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: all 0.3s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.audio-toggle:hover {
  color: var(--bronze-lit);
  border-color: var(--bronze);
}
.audio-toggle[data-state="on"] {
  color: var(--gold-hot);
  border-color: var(--bronze);
  background: rgba(168, 124, 76, 0.1);
}
.audio-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.audio-toggle .icon-on { display: none; }
.audio-toggle[data-state="on"] .icon-muted { display: none; }
.audio-toggle[data-state="on"] .icon-on { display: block; }
.audio-label {
  font-weight: 500;
}
@media (max-width: 640px) {
  .audio-toggle { top: 12px; right: 12px; padding: 8px 10px; font-size: 9px; }
  .audio-label { display: none; }
}
