/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; overflow: hidden; }

:root {
  --bg: #0a0a0a;
  --bg-deep: #060606;
  --text: #ffffff;
  --text-dim: #9ca3af;
  --text-faint: #5a6273;
  --amber: #fbbf24;
  --sun: #ffcf6b;
  --sun-warm: #ff9b3a;
  --sun-deep: #b54a10;
  --earth-blue: #4a9fff;
  --blue: #4a9fff;
  --blue-soft: rgba(74, 159, 255, 0.18);
  --earth-land: #3ca26b;
  --line: rgba(255,255,255,0.08);
  --line-strong: rgba(255,255,255,0.18);
  --ease-spring: cubic-bezier(.22, 1.2, .36, 1);
  --font-display: 'D-DIN', 'Inter', Arial, Verdana, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

/* ---------- Starfield ---------- */
#starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background:
    /* Sun's warm radiance bleeding across the scene from the left */
    radial-gradient(ellipse 78% 80% at -5% 50%,
      rgba(255, 155, 58, 0.28) 0%,
      rgba(255, 120, 30, 0.14) 16%,
      rgba(255, 90, 20, 0.06) 34%,
      rgba(255, 90, 20, 0.02) 54%,
      transparent 70%),
    /* cool counter-accent on the far right for depth */
    radial-gradient(ellipse 55% 60% at 96% 72%, rgba(74, 159, 255, 0.07), transparent 70%),
    var(--bg);
}

/* ---------- Header / Pill nav ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  z-index: 50;
  pointer-events: none;
}
.header > * { pointer-events: auto; }

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.14em;
  color: var(--text);
  transition: opacity .2s ease;
}
.wordmark:hover { opacity: .8; }
.wordmark-text { line-height: 1; position: relative; top: 1px; }
.wordmark-sub {
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.14em;
  margin-left: 0.14em;
}
.wordmark-tm {
  font-family: var(--font-body);
  font-size: 0.48em;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0;
  margin-left: 3px;
  position: relative;
  top: -0.55em;
}
.logo-mark {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--text);
}
.logo-mark .lm-outer { fill: currentColor; opacity: .95; }
.logo-mark .lm-inner { fill: currentColor; opacity: .4; }

/* Flat inline nav — always expanded, bullet-separated links, tight CTA */
.pill {
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 8px 0 18px;
  border-radius: 999px;
  background: #111112;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background .3s ease, border-color .3s ease;
}
.pill:hover { background: #17171a; }

/* When a page is open, the pill sheds its chrome (border, background, blur)
   so nav items read as part of the modal rather than a floating chip.
   The active-link highlight and close × keep their own backgrounds. */
body.nav-open .pill {
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.nav-open .pill:hover { background: transparent; }

.pill-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-dim);
  transition: color .2s ease;
}
.pill-link::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 12px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s var(--ease-spring);
}
.pill-link:hover,
.pill-link:focus-visible { color: var(--text); }
.pill-link:hover::after,
.pill-link:focus-visible::after { transform: scaleX(1); }

/* Active link — filled pill-highlight (LateCheckouts pattern). Hide the
   underline so it doesn't double up with the filled background. */
.pill-link.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}
.pill-link.is-active::after { opacity: 0; }

.pill-sep {
  color: var(--text-faint);
  font-size: 13px;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  opacity: .55;
}

.pill-divider {
  width: 1px;
  height: 18px;
  margin: 0 10px 0 12px;
  background: rgba(255, 255, 255, 0.12);
}

.pill-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: background .25s ease, color .25s ease, transform .25s var(--ease-spring);
}
.pill-cta:hover { background: var(--amber); }
.pill-cta-arrow {
  font-family: var(--font-body);
  font-weight: 500;
  transition: transform .25s var(--ease-spring);
}
.pill-cta:hover .pill-cta-arrow { transform: translateX(3px); }

/* Right-side slot: holds either the CTA (landing) or the close × (page
   open). Both are absolutely positioned at right:0 so they share the slot
   and nothing reflows when swapping — the about/ventures/contact link
   positions stay rock-solid. */
.pill-end {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  height: 34px;
  min-width: 160px;
}
.pill-end .pill-cta,
.pill-end .pill-close {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}
.pill-end .pill-cta {
  transition: opacity .25s ease, background .25s ease, transform .25s var(--ease-spring);
}
.pill-close {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, background .2s ease, transform .3s var(--ease-spring);
}
.pill-close:hover { background: rgba(255, 255, 255, 0.18); }
body.nav-open .pill-cta  { opacity: 0; pointer-events: none; transform: translateY(-50%) scale(.92); }
body.nav-open .pill-close { opacity: 1; pointer-events: auto; transform: translateY(-50%) scale(1); }

/* ---------- Mobile pill — simplified to just the CTA ----------
   Below 720px the inline about / ventures / contact links drop off and
   the pill's chrome disappears entirely; only the CTA button remains in
   the right slot. It reads as a clean single-action button next to the
   wordmark rather than a cramped multi-item bar.
*/
@media (max-width: 720px) {
  .header { padding: 16px 18px; }
  .wordmark { font-size: 18px; gap: 8px; }
  .logo-mark { width: 20px; height: 20px; }
  .wordmark-sub { font-size: 0.9em; }

  .pill {
    height: auto;
    padding: 0;
    background: transparent;
    border: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .pill:hover { background: transparent; }

  /* hide the inline nav items on mobile */
  .pill-link,
  .pill-sep,
  .pill-divider { display: none; }

  /* the right slot no longer needs reserved width */
  .pill-end { min-width: 0; height: 36px; }
  .pill-cta,
  .pill-close { position: static; transform: none; }
  body.nav-open .pill-cta  { transform: scale(.92); }
  body.nav-open .pill-close { transform: scale(1); }

  .pill-cta {
    height: 36px;
    padding: 0 16px;
    font-size: 11px;
    letter-spacing: 0.04em;
  }
}

/* Very narrow screens — shorten the CTA label so it never wraps. */
@media (max-width: 380px) {
  .pill-cta .pill-cta-label-enter { display: none; }
  .pill-cta { padding: 0 14px; }
}

/* ---------- Stage: single viewport, nothing scrolls ---------- */
.stage {
  position: relative;
  height: 100vh;
  height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  padding: 120px 32px 80px;
  z-index: 2;
  overflow: hidden;
}
/* Dark film — sits above the scene (dims planets + background glow) but
   below the headline and CTA so the text stays bright. Text layers are
   explicitly lifted to z-index 3 below. */
.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.32);
  pointer-events: none;
  z-index: 2;
}

.hero-headline {
  position: relative;
  z-index: 3;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.18em;
  margin: 0 0 56px;
  color: var(--text);
}
.hero-headline::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background: var(--amber);
  margin: 28px auto 0;
  opacity: .8;
}

/* ---------- Scene ---------- */
.scene {
  position: relative;
  width: 100%;
  height: min(68vh, 680px);
  min-height: 460px;
  margin: 0 auto;
  --scene-y: 50%;
}
/* Localized warm glow emanating from the Sun side — adds visible "light"
   bleeding past Signal into the Earth area. Sits behind all bodies. */
.scene::before {
  content: "";
  position: absolute;
  inset: -20% -30% -20% -30%;
  background: radial-gradient(ellipse 48% 60% at 12% 50%,
    rgba(255, 165, 50, 0.18) 0%,
    rgba(255, 120, 25, 0.09) 22%,
    rgba(255, 80, 20, 0.03) 45%,
    transparent 68%);
  filter: blur(24px);
  pointer-events: none;
  z-index: 0;
}

/* Horizontal orbital spine */
.horizon {
  position: absolute;
  left: 8%;
  right: 6%;
  top: var(--scene-y);
  height: 1px;
  background-image: linear-gradient(to right,
    transparent 0%,
    rgba(255,255,255,0.08) 18%,
    rgba(255,255,255,0.12) 50%,
    rgba(255,255,255,0.08) 82%,
    transparent 100%);
  z-index: 0;
}

/* ---------- Body (base) ---------- */
.body {
  position: absolute;
  --px: 0px;
  --py: 0px;
  transform: translate(calc(-50% + var(--px)), calc(-50% + var(--py)));
  cursor: pointer;
  outline: none;
  will-change: transform;
  /* Transitions drive the body-inspector focus animation. Size + position
     animate in lockstep with the zoom-in keyframe (same 550ms, same ease),
     so the body physically grows while the canvas re-renders at each
     intermediate size — no upscaling blur. */
  transition:
    top .55s cubic-bezier(0.16, 1, 0.3, 1),
    left .55s cubic-bezier(0.16, 1, 0.3, 1),
    width .55s cubic-bezier(0.16, 1, 0.3, 1),
    height .55s cubic-bezier(0.16, 1, 0.3, 1),
    transform .55s cubic-bezier(0.16, 1, 0.3, 1),
    opacity .4s ease,
    filter .4s ease;
}
.body::after {
  content: attr(data-name);
  position: absolute;
  left: 50%;
  bottom: -38px;
  transform: translate(-50%, -4px);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--text);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s ease, transform .6s var(--ease-spring), letter-spacing .6s var(--ease-spring);
}
.body::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 14px;
  height: 1px;
  background: var(--amber);
  transform: translate(-50%, -4px) scaleX(.4);
  opacity: 0;
  transform-origin: center;
  transition: opacity .5s ease, transform .6s var(--ease-spring);
}
.body:hover, .body:focus-visible {
  filter: brightness(1.04);
}
.body:hover::after, .body:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
  letter-spacing: 0.36em;
}
.body:hover::before, .body:focus-visible::before {
  opacity: 1;
  transform: translate(-50%, 0) scaleX(1);
}

/* ---------- SUN (cut off on the left) ---------- */
.body-sun {
  left: 0;
  top: var(--scene-y);
  transform: translate(-58%, -50%);
  width: clamp(520px, 92vh, 960px);
  height: clamp(520px, 92vh, 960px);
  pointer-events: auto;
}
.body-sun::after { left: 86%; bottom: auto; top: 52%; }
.body-sun::before { left: 86%; bottom: auto; top: 48%; }

.sun-disc {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 38% 36%,
      #fff2c2 0%,
      #ffc864 18%,
      #ff9130 42%,
      #e35a18 68%,
      #8a2a0a 92%,
      #3a1405 100%);
  box-shadow:
    inset -40px -50px 110px rgba(60,18,4,0.7),
    inset 30px 40px 100px rgba(255,240,200,0.25),
    0 0 120px rgba(255,145,48,0.4),
    0 0 220px rgba(255,90,20,0.2);
  overflow: hidden;
  animation: sun-breathe 9s ease-in-out infinite;
}
.sun-spots {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 7% 5% at 32% 58%, rgba(90,30,5,0.55), transparent 65%),
    radial-gradient(ellipse 5% 4% at 58% 42%, rgba(90,30,5,0.45), transparent 65%),
    radial-gradient(ellipse 9% 7% at 66% 68%, rgba(120,45,10,0.5), transparent 65%),
    radial-gradient(ellipse 4% 3% at 44% 30%, rgba(255,240,200,0.5), transparent 65%),
    radial-gradient(ellipse 6% 5% at 22% 42%, rgba(100,35,8,0.35), transparent 65%);
  mix-blend-mode: multiply;
  opacity: .85;
  animation: sun-drift 80s linear infinite;
}
.sun-core {
  position: absolute; inset: 24%;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 42%, rgba(255,245,200,0.55) 0%, rgba(255,200,100,0) 70%);
  filter: blur(16px);
  opacity: .9;
}
.sun-corona {
  position: absolute; inset: -28%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 58% 50%, rgba(255,145,48,0.35) 8%, rgba(255,90,20,0.15) 30%, rgba(255,90,20,0.05) 55%, transparent 75%);
  filter: blur(30px);
  animation: sun-corona 10s ease-in-out infinite;
}
@keyframes sun-breathe {
  0%, 100% { box-shadow: inset -40px -50px 110px rgba(60,18,4,0.7), inset 30px 40px 100px rgba(255,240,200,0.25), 0 0 100px rgba(255,145,48,0.35), 0 0 200px rgba(255,90,20,0.18); }
  50%      { box-shadow: inset -40px -50px 110px rgba(60,18,4,0.7), inset 30px 40px 100px rgba(255,240,200,0.3),  0 0 170px rgba(255,145,48,0.55), 0 0 280px rgba(255,90,20,0.3); }
}
@keyframes sun-corona {
  0%, 100% { opacity: .85; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.05); }
}
@keyframes sun-drift {
  from { transform: rotate(0); }
  to   { transform: rotate(360deg); }
}

/* ---------- SIGNAL (Three.js asteroid belt) ---------- */
.body-signal {
  left: 33%;                                 /* clear of the Sun's visible edge */
  top: var(--scene-y);
  width: clamp(96px, 11vh, 140px);
  height: clamp(96px, 11vh, 140px);
}
.asteroids-canvas {
  position: absolute;
  inset: -18%;            /* headroom for asteroids bumped out of the cluster */
  width: 136%;
  height: 136%;
  display: block;
  pointer-events: none;   /* hover events land on .body-signal */
}

/* ---------- EARTH ---------- */
.body-earth {
  left: 52%;
  top: var(--scene-y);
  width: clamp(120px, 15vh, 180px);
  height: clamp(120px, 15vh, 180px);
}
.earth-disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%,
    #b8dcff 0%,
    #4a9fff 28%,
    #1e5cb8 62%,
    #0a2a5a 90%,
    #061838 100%);
  overflow: hidden;
  box-shadow: inset -20px -22px 55px rgba(0,0,0,0.7);
  animation: earth-spin 70s linear infinite;
}
.earth-ocean {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 11% 5% at 66% 36%, rgba(255,255,255,0.12), transparent 60%),
    radial-gradient(ellipse 9% 4% at 38% 68%, rgba(255,255,255,0.08), transparent 60%);
  opacity: .5;
}
.earth-land {
  position: absolute; inset: 0;
  background:
    /* North America */
    radial-gradient(ellipse 18% 22% at 28% 34%, #3ca26b 45%, transparent 60%),
    radial-gradient(ellipse 10% 14% at 22% 26%, #3ca26b 45%, transparent 60%),
    /* South America */
    radial-gradient(ellipse 9% 16% at 34% 62%, #2d8356 45%, transparent 60%),
    /* Africa / EU */
    radial-gradient(ellipse 14% 20% at 56% 48%, #3ca26b 45%, transparent 60%),
    radial-gradient(ellipse 8% 10% at 58% 30%, #2d8356 45%, transparent 60%),
    /* Asia */
    radial-gradient(ellipse 16% 12% at 74% 32%, #3ca26b 45%, transparent 60%),
    /* Australia */
    radial-gradient(ellipse 10% 8% at 80% 68%, #2d8356 45%, transparent 60%);
  opacity: .88;
}
.earth-cloud {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 30% 6% at 22% 26%, rgba(255,255,255,0.45), transparent 65%),
    radial-gradient(ellipse 26% 5% at 66% 58%, rgba(255,255,255,0.36), transparent 65%),
    radial-gradient(ellipse 22% 6% at 48% 80%, rgba(255,255,255,0.3), transparent 65%),
    radial-gradient(ellipse 18% 4% at 42% 20%, rgba(255,255,255,0.25), transparent 65%);
  mix-blend-mode: screen;
  opacity: .78;
}
.earth-shade {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 78% 78%, rgba(0,10,30,0.55), transparent 55%);
  pointer-events: none;
}
.earth-atmos {
  position: absolute; inset: -10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(120,180,255,0.3) 46%, rgba(74,159,255,0.08) 62%, transparent 78%);
  filter: blur(8px);
}
@keyframes earth-spin {
  from { filter: hue-rotate(0deg); }
  to   { filter: hue-rotate(4deg); }
}

/* ---------- ROCKET — Launchpad (Three.js) ---------- */
.body-rocket {
  left: 70%;
  top: var(--scene-y);
  width: clamp(78px, 11vh, 130px);
  height: clamp(156px, 22vh, 260px);     /* 2:1 — room below the body for the shader flame */
  transform: translate(-50%, -50%) rotate(12deg);
  animation: rocket-rise 7s ease-in-out infinite;
  transform-origin: 50% 45%;
}
.body-rocket::after {
  left: 50%;
  bottom: -40px;
  top: auto;
  transform: translate(-50%, -4px) rotate(-12deg);
}
.body-rocket:hover::after,
.body-rocket:focus-visible::after { transform: translate(-50%, 0) rotate(-12deg); }
.body-rocket::before {
  left: 50%;
  bottom: -18px;
  top: auto;
  transform: translate(-50%, -4px) rotate(-12deg) scaleX(.4);
}
.body-rocket:hover::before,
.body-rocket:focus-visible::before { transform: translate(-50%, 0) rotate(-12deg) scaleX(1); }

.rocket-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;      /* hover/focus events land on .body-rocket */
}

@keyframes rocket-rise {
  0%, 100% { transform: translate(-50%, -50%) rotate(12deg); }
  50%      { transform: translate(-50%, -53%) rotate(12deg); }
}

/* ---------- SATELLITE / ORBIT ---------- */
.body-orbit {
  left: 87%;
  top: var(--scene-y);
  width: clamp(120px, 15vh, 180px);
  height: clamp(120px, 15vh, 180px);
}
/* Three.js canvases — unified styling for Sun/Earth/Mars. Inset-outward
   so halos and coronas aren't clipped at the canvas edge. Pointer events
   fall through to the parent .body so hover/focus still works. */
.planet-canvas {
  position: absolute;
  inset: -18%;
  width: 136%;
  height: 136%;
  display: block;
  pointer-events: none;
  background: transparent;
}
.body-sun .planet-canvas {
  /* Corona is now tight (1.12×) so the canvas only needs a little headroom */
  inset: -8%;
  width: 116%;
  height: 116%;
}

/* Orbit ring around Mars — keeps the station's meaning (sits outside the atmospheric halo) */
.orbit-ring {
  position: absolute;
  inset: -28%;
  border: 1px dashed rgba(255,170,120,0.2);
  border-radius: 50%;
  animation: ring-rotate 100s linear infinite;
  pointer-events: none;
}
.orbit-ring::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -3px;
  width: 5px;
  height: 5px;
  margin-top: -3px;
  border-radius: 50%;
  background: #fbbf24;
  box-shadow: 0 0 8px rgba(251,191,36,0.6);
}
@keyframes ring-rotate {
  from { transform: rotate(0); }
  to   { transform: rotate(360deg); }
}

/* ---------- CTA ---------- */
.stage-cta {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  margin-top: 48px;
}
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.25);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  transition: color .4s ease, border-color .4s ease, background .4s ease, letter-spacing .5s var(--ease-spring);
}
.cta-primary:hover {
  color: var(--bg);
  background: var(--amber);
  border-color: var(--amber);
  letter-spacing: 0.38em;
}
.cta-primary span { transition: transform .4s var(--ease-spring); font-family: var(--font-body); font-size: 14px; letter-spacing: 0; }
.cta-primary:hover span { transform: translateX(4px); }

/* ---------- Footer ---------- */
.footer {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 12px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-faint);
  z-index: 2;
  pointer-events: none;
}
.footer-sep { opacity: 0.5; }
.footer-powered {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.claude-mark {
  width: 12px;
  height: 12px;
  color: #d97757;
  flex-shrink: 0;
}
.claude-name {
  color: var(--text-dim);
  letter-spacing: 0.22em;
}
.touch-powered {
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-faint);
  opacity: 0.85;
}

/* ---------- Touch stage (vertical scroll-snap pager for tablet/mobile) ---------- */
.touch-stage {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2;
  overflow-y: scroll;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
}
.touch-stage::-webkit-scrollbar { display: none; }
.touch-stage { scrollbar-width: none; }

.touch-slide {
  position: relative;
  height: 100vh;
  height: 100dvh;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  justify-items: center;
  padding: 96px 20px 72px;
  text-align: center;
}

.touch-slide-meta {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--text-faint);
  opacity: .7;
}

.touch-slide-art {
  position: relative;
  width: min(74vw, 55vh, 420px);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.touch-slide-art canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}

/* Sun needs more breathing room so the corona isn't clipped */
.touch-slide-art--sun { width: min(88vw, 62vh, 520px); }
.touch-slide-art--sun canvas {
  inset: -10%;
  width: 120%;
  height: 120%;
}

/* Rocket canvas is taller than wide */
.touch-slide-art--rocket {
  width: min(42vw, 30vh, 220px);
  aspect-ratio: 1 / 2;
}

/* Orbit — ring drawn in the slide, not the scene */
.touch-slide-art--orbit { width: min(74vw, 55vh, 380px); }
.touch-orbit-ring {
  position: absolute;
  inset: 4%;
  border: 1px dashed rgba(255, 170, 120, 0.22);
  border-radius: 50%;
  animation: ring-rotate 90s linear infinite;
  pointer-events: none;
}
.touch-orbit-ring::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -3px;
  width: 5px;
  height: 5px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.6);
}

.touch-slide-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 34ch;
}
.touch-slide-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--amber);
  opacity: .9;
}
.touch-slide-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(30px, 8vw, 48px);
  line-height: 1.05;
  letter-spacing: 0.14em;
  margin: 0;
  color: var(--text);
}
.touch-slide-name::after {
  content: "";
  display: block;
  width: 32px;
  height: 1px;
  background: var(--amber);
  margin: 14px auto 0;
  opacity: .75;
}
.touch-slide-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0;
}

/* CTA slide — no 3D art, just text + button */
.touch-slide--cta {
  grid-template-rows: 1fr;
  padding-top: 120px;
}
.touch-slide-label--cta { gap: 16px; }
.touch-slide-label--cta .touch-slide-name { font-size: clamp(36px, 10vw, 56px); letter-spacing: 0.04em; }
.touch-slide-label--cta .touch-slide-name::after { display: none; }
.touch-cta { margin-top: 28px; }

/* Scroll affordance — only on the first slide */
.touch-slide-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.36em;
  color: var(--text-faint);
  animation: touch-hint 2.2s ease-in-out infinite;
  pointer-events: none;
}
.touch-slide-hint-arrow { font-size: 14px; letter-spacing: 0; opacity: .8; }
@keyframes touch-hint {
  0%, 100% { transform: translate(-50%, 0);   opacity: .35; }
  50%      { transform: translate(-50%, 6px); opacity: .85; }
}

/* Pagination dots, right edge */
.touch-dots {
  position: fixed;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 3;
  pointer-events: none;
}
.touch-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: background .3s ease, transform .3s var(--ease-spring);
}
.touch-dot.is-active {
  background: var(--amber);
  transform: scale(1.4);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  /* Swap desktop scene for the vertical pager */
  .stage { display: none; }
  .footer { display: none; }
  .touch-stage { display: block; }
  /* Tighten the top nav so it sits cleanly above the first slide */
  .header { padding: 16px 18px; }
}

@media (max-width: 860px) {
  .stage { padding: 100px 16px 120px; }
  .hero-headline { margin-bottom: 32px; }
  .scene { height: 56vh; min-height: 380px; }
  .body-sun { transform: translate(-62%, -50%); width: clamp(440px, 82vh, 640px); height: clamp(440px, 82vh, 640px); }
  .body-signal { left: 36%; width: clamp(76px, 9.5vh, 115px); height: clamp(76px, 9.5vh, 115px); }
  .body-earth { left: 55%; width: clamp(100px, 14vh, 150px); height: clamp(100px, 14vh, 150px); }
  .body-rocket { left: 73%; width: clamp(64px, 9.5vh, 100px); height: clamp(128px, 19vh, 200px); }
  .body-orbit { left: 90%; width: clamp(104px, 13vh, 150px); height: clamp(104px, 13vh, 150px); }
}

@media (max-width: 560px) {
  .hero-headline { font-size: clamp(36px, 10vw, 64px); margin-bottom: 24px; }
  .scene { min-height: 320px; }
  .body::after { font-size: 9px; padding: 5px 10px; }
}

/* ---------- Page modal (scrollable pages per nav link) ----------
   LateCheckouts pattern: the header/pill stay anchored; clicking a nav
   link slides in a full-viewport modal that owns its own scroll. The
   body scroll is locked so only the modal content moves.
*/
.nav-modal {
  position: fixed;
  inset: 12px;                           /* landing peeks around all four edges */
  z-index: 40;                           /* below header (z:50) so pill sits over it */
  background: #111112;                   /* neutral dark grey, no blue cast */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
  overflow: hidden;                      /* clip scroll content to rounded rect */
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(.985);
  transform-origin: top center;
  transition:
    opacity .35s ease,
    transform .55s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-modal.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Top "navbar zone" — a solid band + soft fade that hides scrolling
   content before it reaches the pill. Sits above the scroll layer so
   any text scrolled into the top 96px dissolves into the modal bg. */
.nav-modal::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 96px;
  background: linear-gradient(
    to bottom,
    #111112 0%,
    #111112 58%,
    rgba(17, 17, 18, 0.85) 78%,
    rgba(17, 17, 18, 0) 100%
  );
  z-index: 2;
  pointer-events: none;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
}

.nav-modal-scroll {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;        /* Firefox */
  -ms-overflow-style: none;     /* IE/Edge legacy */
}
.nav-modal-scroll::-webkit-scrollbar { width: 0; height: 0; display: none; }

@media (max-width: 720px) {
  .nav-modal { inset: 8px; border-radius: 18px; }
  .nav-modal::before { border-top-left-radius: 18px; border-top-right-radius: 18px; height: 80px; }
}

/* Only the active page renders */
.nav-page {
  display: none;
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(140px, 18vh, 200px) clamp(24px, 5vw, 80px) 180px;
  color: var(--text);
}
.nav-page.is-active { display: block; }

.nav-page-eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 28px;
}
.nav-page-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7.6vw, 108px);
  line-height: 0.98;
  letter-spacing: -0.018em;
  font-weight: 400;
  margin: 0 0 32px;
  max-width: 16ch;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.78) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-page-lede {
  font-size: clamp(17px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 52ch;
  margin: 0 0 0;
  font-weight: 300;
}
.nav-page-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 52ch;
  margin: 56px 0 0;
}

/* About / Mission grid */
.nav-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 48px 40px;
  margin: 56px 0 32px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.nav-page-block h3 {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.01em;
  font-weight: 400;
  margin: 10px 0 12px;
}
.nav-page-block p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0;
}
.nav-page-block-num {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--text-faint);
}

/* Ventures list */
.nav-page-ventures {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.nav-page-ventures li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  align-items: baseline;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.nav-page-ventures .v-status {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--amber);
  padding-top: 6px;
}
.nav-page-ventures h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 400;
  letter-spacing: 0.01em;
  margin: 0 0 8px;
}
.nav-page-ventures p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0;
  max-width: 60ch;
}

/* Ventures — grouped by vertical */
.nav-page-vertical {
  margin-top: 56px;
}
.nav-page-vertical:first-of-type {
  margin-top: 48px;
}
.nav-page-vertical-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}
.nav-page-vertical-tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--amber);
}
.nav-page-vertical-title {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.4vw, 18px);
  letter-spacing: 0.04em;
  font-weight: 400;
  color: var(--text-dim);
  margin: 0;
  text-transform: uppercase;
}

/* About — methodology (5-step) */
.nav-page-method {
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.nav-page-method-label {
  display: block;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 24px;
}
.nav-page-method-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 20px;
}
.nav-page-method-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  align-items: baseline;
}
.nav-page-method-num {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--amber);
  padding-top: 2px;
}
.nav-page-method-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 62ch;
}
.nav-page-method-text strong {
  color: var(--text);
  font-weight: 500;
}

/* Contact — partnership paths */
.nav-page-paths {
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.nav-page-paths-label {
  display: block;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 24px;
}
.nav-page-paths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px 40px;
}
.nav-page-path {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.nav-page-path-num {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--text-faint);
}
.nav-page-path h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.01em;
  margin: 2px 0 4px;
}
.nav-page-path p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0;
}

/* Contact rows */
.nav-page-contact {
  margin-top: 32px;
  border-top: 1px solid var(--line);
}
.nav-page-contact-row {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 24px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  transition: padding-left .3s var(--ease-spring), color .2s ease;
}
.nav-page-contact-row:hover { padding-left: 16px; }
.nav-page-contact-row:hover .nav-page-contact-arrow { transform: translateX(4px); color: var(--amber); }
.nav-page-contact-label {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--text-faint);
  text-transform: uppercase;
}
.nav-page-contact-value {
  font-size: clamp(18px, 2vw, 24px);
  color: var(--text);
}
.nav-page-contact-arrow {
  font-size: 18px;
  color: var(--text-dim);
  transition: transform .3s var(--ease-spring), color .2s ease;
}

/* Mission Control CTA button */
.nav-page-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 56px;
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  transition: background .25s ease, letter-spacing .4s var(--ease-spring);
}
.nav-page-cta:hover { background: var(--amber); letter-spacing: 0.36em; }
.nav-page-cta span { font-family: var(--font-body); font-size: 14px; letter-spacing: 0; }

/* Scroll-to-read cue — bottom of the modal (not viewport), hides on scroll */
.nav-modal-cue {
  position: absolute;                   /* relative to .nav-modal, not viewport */
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-faint);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s ease;
  z-index: 2;
}
.nav-modal-cue-arrow {
  font-size: 14px;
  animation: nav-cue-bob 1.8s ease-in-out infinite;
}
body.nav-open .nav-modal-cue { opacity: 1; transition-delay: .45s; }
body.nav-open .nav-modal-cue.is-hidden { opacity: 0; transition-delay: 0s; }
@keyframes nav-cue-bob {
  0%, 100% { transform: translateY(0); opacity: .8; }
  50%      { transform: translateY(4px); opacity: 1; }
}

/* Lock body scroll + disable landing scene interaction while a page is open */
body.nav-open { overflow: hidden; }
body.nav-open .stage { pointer-events: none; }

@media (max-width: 720px) {
  .nav-page { padding: clamp(110px, 16vh, 160px) 22px 140px; }
  .nav-page-title { font-size: clamp(40px, 10vw, 64px); }
  .nav-page-lede { font-size: 16px; margin-bottom: 48px; }
  .nav-page-ventures li { grid-template-columns: 1fr; gap: 6px; }
  .nav-page-ventures .v-status { padding-top: 0; }
  .nav-page-contact-row { grid-template-columns: 1fr auto; }
  .nav-page-contact-label { display: none; }
  .nav-page-vertical { margin-top: 44px; }
  .nav-page-vertical-head { gap: 10px; }
  .nav-page-method { margin-top: 56px; padding-top: 40px; }
  .nav-page-method-list li { grid-template-columns: 36px 1fr; gap: 14px; }
  .nav-page-paths { margin-top: 56px; padding-top: 40px; }
}

/* ---------- Body inspector (click a body → focus left, panel right) ----------
   Clicking a .body in the scene pins it to a fixed left-half position while
   the .inspector slides in from the right with its detail panel.  Other
   bodies fade out.  Hero headline + CTA + horizon dim to keep the focus on
   the single body + panel.
*/
body.inspecting .hero-headline,
body.inspecting .stage-cta,
body.inspecting .horizon {
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

/* Non-focused bodies fade out cleanly — no blur (blur on a canvas reads as
   pixelation). Just opacity. */
body.inspecting .body:not(.is-focus) {
  opacity: 0;
  pointer-events: none;
}
/* The hover label would look weird on the giant focused body — hide it */
body.inspecting .body.is-focus::after,
body.inspecting .body.is-focus::before {
  opacity: 0 !important;
}

/* The focused body pins to the centre of the viewport's left half. Sizes
   are per-body (below) so each one keeps its natural aspect — forcing a
   single huge box on all of them distorts the ones with non-square native
   proportions (rocket is tall, sun is a big circle, signal is a small
   field). vh-based sizing also keeps everything consistent regardless of
   window width. */
body.inspecting .body.is-focus {
  position: fixed;
  top: 50%;
  left: 25vw;                            /* centre of the left half */
  z-index: 30;
  cursor: zoom-out;                      /* clicking the focused body closes */
  animation: body-zoom-in .55s cubic-bezier(0.16, 1, 0.3, 1) both !important;
}

/* Per-body focus sizes. Conservative — smaller = sharper (three.js renders
   at actual pixel size, so bigger canvases aren't crisper, just bigger). */
body.inspecting .body-sun.is-focus    { width: 52vh; height: 52vh; }
body.inspecting .body-signal.is-focus { width: 40vh; height: 40vh; }
body.inspecting .body-earth.is-focus  { width: 50vh; height: 50vh; }
body.inspecting .body-rocket.is-focus {
  width: 30vh; height: 62vh;             /* tall aspect matches the scene rocket */
  animation-name: body-zoom-in-rocket;   /* pins rotate(0) per keyframe */
}
body.inspecting .body-orbit.is-focus  { width: 52vh; height: 52vh; }

/* Clean zoom: scale 0.94 → 1 with opacity fade, no overshoot, no filter
   blur. Scale stays ≤ 1 so the canvas is only ever downscaled (crisp)
   during the animation — never upscaled past 1 (which would pixel-stretch
   the rendered frame until the next ResizeObserver tick catches up). */
@keyframes body-zoom-in {
  0%   { transform: translate(-50%, -50%) scale(0.94); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(1);    opacity: 1; }
}
@keyframes body-zoom-in-rocket {
  0%   { transform: translate(-50%, -50%) rotate(0deg) scale(0.94); opacity: 0; }
  100% { transform: translate(-50%, -50%) rotate(0deg) scale(1);    opacity: 1; }
}

/* Bodies in the scene signal their interactivity with a zoom-in cursor */
.scene .body { cursor: zoom-in; }

/* Inspector panel — right-side sheet. Matches the page-modal palette. */
.inspector {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 42vw;
  max-width: 560px;
  min-width: 360px;
  padding: 120px 56px 56px;
  background: rgba(17, 17, 18, 0.94);
  border-left: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--text);
  z-index: 35;
  opacity: 0;
  pointer-events: none;
  transform: translateX(40px);
  transition:
    opacity .4s ease,
    transform .55s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.inspector::-webkit-scrollbar { width: 0; height: 0; display: none; }
body.inspecting .inspector {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.inspector-close {
  position: absolute;
  top: 26px;
  right: 28px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  transition: background .2s ease, transform .3s var(--ease-spring);
}
.inspector-close:hover { background: rgba(255, 255, 255, 0.16); transform: scale(1.05); }

/* Only one panel shows at a time. Cross-fade between them by toggling
   .is-active — position: absolute keeps all panels occupying the same slot
   so the transition has nothing to shove around. */
.inspector-panel {
  position: absolute;
  top: 120px;
  left: 56px;
  right: 56px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .35s ease, transform .45s cubic-bezier(0.16, 1, 0.3, 1);
}
.inspector-panel.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.inspector-eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 22px;
}
.inspector-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.2vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  font-weight: 400;
  margin: 0 0 28px;
}
.inspector-lede {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--text);
  margin: 0 0 22px;
}
.inspector-body-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dim);
  margin: 0 0 40px;
  max-width: 44ch;
}
.inspector-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  transition: background .25s ease, letter-spacing .4s var(--ease-spring);
}
.inspector-cta:hover { background: var(--amber); letter-spacing: 0.36em; }
.inspector-cta span { font-family: var(--font-body); font-size: 14px; letter-spacing: 0; }

/* Tablet + phone: stack — focused body becomes a header, panel fills below.
   Below the touch-stage breakpoint the desktop scene is typically hidden
   anyway, so the inspector just doesn't open. Guard with a min-width. */
@media (max-width: 820px) {
  .inspector { width: 100vw; max-width: none; min-width: 0; padding: 100px 24px 40px; }
  .inspector-panel { left: 24px; right: 24px; top: 96px; }
  body.inspecting .body.is-focus { display: none; }
}

/* ============================================================
   PREMIUM nav-page system — editorial, Apple-grade polish.
   ============================================================ */

.nav-page-hero {
  margin-bottom: clamp(72px, 10vh, 120px);
  max-width: 68ch;
}
.nav-page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 36px;
  padding: 6px 14px 6px 10px;
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.04);
}
.nav-page-kicker-dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--amber);
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.6);
}

.nav-page-section {
  margin-top: clamp(72px, 9vh, 120px);
  padding-top: clamp(56px, 7vh, 88px);
  border-top: 1px solid var(--line);
}
.nav-page-section-head {
  margin-bottom: clamp(40px, 5vh, 64px);
  max-width: 60ch;
}
.nav-page-section-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 20px;
  position: relative;
  padding-left: 28px;
}
.nav-page-section-num::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 20px; height: 1px;
  background: var(--line-strong);
}
.nav-page-section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-weight: 400;
  margin: 0;
  color: var(--text);
}

.nav-page-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  padding: 40px 0;
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.nav-page-stats--compact { padding: 28px 0; }
.nav-page-stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 0 24px;
  border-left: 1px solid var(--line);
  position: relative;
  transition: transform .35s var(--ease-spring, cubic-bezier(0.22, 1, 0.36, 1));
}
.nav-page-stat:first-child { border-left: 0; padding-left: 0; }
.nav-page-stat:last-child { padding-right: 0; }
.nav-page-stat:hover { transform: translateY(-2px); }
.nav-page-stat-num {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
  display: inline-flex;
  align-items: flex-start;
  gap: 2px;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}
.nav-page-stats--compact .nav-page-stat-num { font-size: clamp(28px, 2.8vw, 40px); }
.nav-page-stat-plus {
  font-size: 0.5em;
  color: var(--amber);
  margin-top: 0.15em;
  font-weight: 400;
}
.nav-page-stat-label {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.nav-page-statement {
  margin-top: clamp(88px, 12vh, 140px);
  text-align: center;
  padding: 0 clamp(0px, 4vw, 40px);
}
.nav-page-statement .nav-page-section-num {
  padding-left: 0;
  margin-bottom: 28px;
}
.nav-page-statement .nav-page-section-num::before { display: none; }
.nav-page-statement-text {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: var(--text);
  margin: 0 auto 24px;
  max-width: 22ch;
}
.nav-page-statement-text em {
  color: var(--amber);
  font-style: normal;
}
.nav-page-statement-sub {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0;
}

.nav-page-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.nav-page-value {
  background: linear-gradient(180deg, rgba(255,255,255,0.018) 0%, rgba(255,255,255,0.008) 100%);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 200px;
  transition: background .35s ease;
}
.nav-page-value:hover {
  background: linear-gradient(180deg, rgba(251,191,36,0.04) 0%, rgba(255,255,255,0.012) 100%);
}
.nav-page-value-num {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--text-faint);
  text-transform: uppercase;
  transition: color .25s ease;
}
.nav-page-value:hover .nav-page-value-num { color: var(--amber); }
.nav-page-value h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: 0.005em;
  margin: 0;
  color: var(--text);
}
.nav-page-value p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-dim);
  margin: 0;
}

.nav-page-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}
.nav-page-timeline::before {
  content: "";
  position: absolute;
  left: 25px;
  top: 32px;
  bottom: 32px;
  width: 1px;
  background: linear-gradient(180deg, var(--line) 0%, rgba(251,191,36,0.24) 50%, var(--line) 100%);
}
.nav-page-timeline-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 28px;
  padding: 18px 0;
  position: relative;
}
.nav-page-timeline-num {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--bg-deep);
  border: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--text-dim);
  position: relative;
  z-index: 1;
  transition: border-color .3s ease, color .3s ease, box-shadow .3s ease;
}
.nav-page-timeline-item:hover .nav-page-timeline-num {
  border-color: var(--amber);
  color: var(--amber);
  box-shadow: 0 0 0 4px rgba(251,191,36,0.1);
}
.nav-page-timeline-body { padding-top: 12px; }
.nav-page-timeline-body h4 {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 400;
  letter-spacing: 0.005em;
  margin: 0 0 8px;
  color: var(--text);
}
.nav-page-timeline-body p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-dim);
  margin: 0;
  max-width: 62ch;
}

/* ============================================================
   Foundation — Built on Claude
   Premium enterprise panel + matrix + integration snippet.
   Brand color: #d97757 (Claude / Anthropic)
   ============================================================ */
.nav-page-section--foundation {
  --claude: #d97757;
  --claude-soft: rgba(217, 119, 87, 0.10);
  --claude-line: rgba(217, 119, 87, 0.22);
  --claude-glow: rgba(217, 119, 87, 0.32);
}

/* — Brand panel —————————————————————————————— */
.claude-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: stretch;
  padding: clamp(28px, 3.2vw, 44px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 0% 0%, rgba(217, 119, 87, 0.06), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.020) 0%, rgba(255,255,255,0.004) 100%);
  overflow: hidden;
}
.claude-panel::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--claude-line) 30%, var(--claude-line) 70%, transparent);
  pointer-events: none;
}
.claude-panel-stage {
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 50%, rgba(217, 119, 87, 0.10), transparent 60%),
    linear-gradient(180deg, #0d0d0d 0%, #060606 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  overflow: hidden;
  isolation: isolate;
}
.claude-panel-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  opacity: 0.55;
  pointer-events: none;
}
.claude-panel-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--claude-glow), transparent 65%);
  filter: blur(40px);
  opacity: 0.55;
  pointer-events: none;
  animation: claude-pulse 6s ease-in-out infinite;
}
@keyframes claude-pulse {
  0%, 100% { opacity: 0.45; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.08); }
}
.claude-burst {
  position: relative;
  z-index: 1;
  width: 96px;
  height: 96px;
  display: block;
  filter: drop-shadow(0 0 24px rgba(217, 119, 87, 0.45));
}
.claude-panel-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 4px 4px 4px 0;
}
.claude-panel-label {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--claude);
}
.claude-panel-name {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1;
  display: inline-flex;
  align-items: flex-start;
  gap: 4px;
}
.claude-panel-tm {
  font-size: 0.32em;
  color: var(--text-faint);
  margin-top: 0.25em;
  font-weight: 400;
}
.claude-panel-by {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-dim);
  margin: 0 0 16px;
  max-width: 48ch;
}
.claude-panel-specs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin: 0;
}
.claude-panel-specs > div {
  background: rgba(10, 10, 10, 0.6);
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.claude-panel-specs dt {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0;
}
.claude-panel-specs dd {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.005em;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
}

/* — Rationale (lede + numbered points) ————————————— */
.claude-rationale {
  margin-top: clamp(56px, 7vh, 88px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.claude-rationale-lede {
  font-family: var(--font-display);
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--text);
  margin: 0;
  font-weight: 400;
  position: sticky;
  top: 96px;
}
.claude-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.claude-points li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.claude-points li:last-child { border-bottom: 1px solid var(--line); }
.claude-points li::after {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 56px;
  height: 1px;
  background: var(--claude-line);
  transition: width .4s var(--ease-spring, cubic-bezier(0.22, 1, 0.36, 1));
}
.claude-points li:hover::after { width: 120px; }
.claude-point-num {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--claude);
  padding-top: 6px;
}
.claude-point-body h4 {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 400;
  letter-spacing: 0.005em;
  margin: 0 0 10px;
  color: var(--text);
}
.claude-point-body p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-dim);
  margin: 0;
  max-width: 58ch;
}

/* — Deployment matrix ——————————————————————————— */
.claude-matrix {
  margin-top: clamp(56px, 7vh, 88px);
}
.claude-matrix-head {
  margin-bottom: 28px;
  max-width: 64ch;
}
.claude-matrix-label {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--claude);
  display: block;
  margin-bottom: 12px;
}
.claude-matrix-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-weight: 400;
  color: var(--text);
  margin: 0 0 10px;
}
.claude-matrix-sub {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0;
}
.claude-matrix-table {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.012) 0%, rgba(255,255,255,0.002) 100%);
}
.claude-matrix-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 24px;
  padding: 18px 24px;
  align-items: center;
  border-top: 1px solid var(--line);
  transition: background .25s ease;
}
.claude-matrix-row:first-child { border-top: 0; }
.claude-matrix-row:not(.claude-matrix-row--head):hover {
  background: rgba(217, 119, 87, 0.04);
}
.claude-matrix-row--head {
  background: rgba(0, 0, 0, 0.4);
  padding: 14px 24px;
}
.claude-matrix-row--head span {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.claude-matrix-row span {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.005em;
  color: var(--text-dim);
}
.claude-matrix-workload { color: var(--text) !important; }
.claude-matrix-model {
  color: var(--claude) !important;
  font-variant-numeric: tabular-nums;
}
.claude-matrix-lat,
.claude-matrix-vol {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* — Integration code snippet ——————————————————— */
.claude-snippet {
  margin-top: clamp(56px, 7vh, 88px);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #050505;
  box-shadow:
    0 0 0 1px rgba(217, 119, 87, 0.04),
    0 24px 60px -24px rgba(0, 0, 0, 0.6);
}
.claude-snippet-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.005) 100%);
  border-bottom: 1px solid var(--line);
}
.claude-snippet-dots {
  display: inline-flex;
  gap: 6px;
}
.claude-snippet-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.claude-snippet-dots span:first-child { background: rgba(217, 119, 87, 0.55); }
.claude-snippet-path {
  flex: 1;
  text-align: center;
  font-family: 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace;
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.02em;
}
.claude-snippet-tag {
  font-family: var(--font-display);
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--claude);
  padding: 4px 10px;
  border: 1px solid var(--claude-line);
  border-radius: 999px;
  background: rgba(217, 119, 87, 0.06);
}
.claude-snippet-body {
  margin: 0;
  padding: 24px 28px;
  font-family: 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace;
  font-size: 13px;
  line-height: 1.7;
  color: #cfcfcf;
  overflow-x: auto;
  background:
    radial-gradient(ellipse at top right, rgba(217, 119, 87, 0.04), transparent 50%),
    transparent;
}
.claude-snippet-body code { font: inherit; color: inherit; }
.tok-c { color: #5a6273; font-style: italic; }
.tok-k { color: #d97757; }
.tok-v { color: #e8e8e8; }
.tok-s { color: #c0a878; }
.tok-f { color: #e8e8e8; }
.tok-p { color: #9ca3af; }
.tok-n { color: #c0a878; }

/* — Attribution footer ————————————————————————— */
.claude-attribution {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.claude-attribution-mark {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: inline-block;
}
.claude-attribution-text {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.nav-page-advisors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.nav-page-advisor {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.018) 0%, rgba(255,255,255,0.005) 100%);
  transition: border-color .3s ease, transform .4s var(--ease-spring), background .3s ease;
  overflow: hidden;
}
.nav-page-advisor::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(251,191,36,0.08), transparent 50%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.nav-page-advisor:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.008) 100%);
}
.nav-page-advisor:hover::before { opacity: 1; }
.nav-page-advisor-avatar {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(251,191,36,0.22) 0%, rgba(251,191,36,0.04) 100%);
  border: 1px solid rgba(251,191,36,0.28);
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.nav-page-advisor-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.005em;
  color: var(--text);
}
.nav-page-advisor-role {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--amber);
}
.nav-page-advisor-bio {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-dim);
  margin-top: 4px;
  flex: 1;
}
.nav-page-advisor-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 8px;
  transition: color .25s ease;
}
.nav-page-advisor-arrow { transition: transform .3s var(--ease-spring); }
.nav-page-advisor:hover .nav-page-advisor-link { color: var(--text); }
.nav-page-advisor:hover .nav-page-advisor-arrow { transform: translateX(3px); }

.venture-vertical {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(32px, 5vw, 72px);
  margin-top: clamp(72px, 9vh, 120px);
  padding-top: clamp(56px, 7vh, 88px);
  border-top: 1px solid var(--line);
  align-items: start;
}
.venture-vertical-rail {
  position: sticky;
  top: clamp(130px, 18vh, 180px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-right: 12px;
}
.venture-vertical-index {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.venture-vertical-tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  height: 24px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(251,191,36,0.26);
  background: rgba(251,191,36,0.05);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--amber);
}
.venture-vertical-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.08;
  letter-spacing: -0.005em;
  font-weight: 400;
  margin: 4px 0 0;
  color: var(--text);
}
.venture-vertical-blurb {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 4px 0 0;
  max-width: 28ch;
}

.venture-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}
.venture-card {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 28px 30px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.006) 100%);
  overflow: hidden;
  transition: border-color .3s ease, transform .4s var(--ease-spring), background .3s ease;
}
.venture-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.venture-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 0%, rgba(251,191,36,0.06), transparent 45%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.venture-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.008) 100%);
}
.venture-card:hover::before { opacity: 1; }
.venture-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.venture-card-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.venture-card-dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--text-faint);
}
.venture-card-status--live .venture-card-dot {
  background: #35d37e;
  box-shadow: 0 0 8px rgba(53, 211, 126, 0.55);
}
.venture-card-status--live { color: #35d37e; }
.venture-card-status--build .venture-card-dot {
  background: var(--amber);
  box-shadow: 0 0 8px rgba(251, 191, 36, 0.55);
}
.venture-card-status--build { color: var(--amber); }
.venture-card-status--field .venture-card-dot {
  background: #4a9fff;
  box-shadow: 0 0 8px rgba(74, 159, 255, 0.55);
}
.venture-card-status--field { color: #4a9fff; }
.venture-card-status--stealth .venture-card-dot { background: rgba(255,255,255,0.45); }
.venture-card-status--stealth { color: var(--text-dim); }
.venture-card-no {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--text-faint);
}
.venture-card-name {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.4vw, 30px);
  font-weight: 400;
  letter-spacing: -0.005em;
  margin: 4px 0 0;
  color: var(--text);
}
.venture-card-tagline {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0;
}
.venture-card-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-dim);
  margin: 8px 0 0;
  max-width: 62ch;
}
.venture-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.venture-card-metric {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.venture-card-metric strong {
  color: var(--text);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: -0.005em;
  text-transform: none;
  margin-right: 4px;
}

.nav-page-compound {
  margin-top: clamp(88px, 12vh, 140px);
  padding: clamp(40px, 6vh, 72px) clamp(32px, 5vw, 64px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(ellipse 80% 100% at 0% 0%, rgba(251, 191, 36, 0.08), transparent 55%),
    radial-gradient(ellipse 80% 100% at 100% 100%, rgba(74, 159, 255, 0.06), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.005) 100%);
  position: relative;
  overflow: hidden;
}
.nav-page-compound-inner { max-width: 56ch; }
.nav-page-compound .nav-page-section-num {
  padding-left: 0;
  margin-bottom: 20px;
}
.nav-page-compound .nav-page-section-num::before { display: none; }
.nav-page-compound-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-weight: 400;
  margin: 0 0 20px;
  color: var(--text);
}
.nav-page-compound-text {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-dim);
  margin: 0;
}

.nav-page-primary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 32px 36px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.008) 100%);
  color: var(--text);
  transition: border-color .35s ease, transform .4s var(--ease-spring), background .3s ease;
  overflow: hidden;
  position: relative;
}
.nav-page-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 120% at 0% 50%, rgba(251,191,36,0.1), transparent 60%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.nav-page-primary:hover {
  border-color: rgba(251,191,36,0.5);
  transform: translateY(-2px);
}
.nav-page-primary:hover::before { opacity: 1; }
.nav-page-primary-label {
  display: block;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 8px;
}
.nav-page-primary-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
  line-height: 1;
}
.nav-page-primary-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  transition: background .3s ease, transform .3s var(--ease-spring);
}
.nav-page-primary:hover .nav-page-primary-arrow {
  background: var(--amber);
  transform: translateX(4px);
}

.nav-page-socials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.nav-social {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.015);
  color: var(--text);
  transition: border-color .3s ease, transform .4s var(--ease-spring), background .3s ease;
}
.nav-social:hover {
  border-color: var(--line-strong);
  background: rgba(255,255,255,0.03);
  transform: translateY(-1px);
}
.nav-social-icon {
  width: 40px; height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: var(--text);
  transition: color .3s ease, background .3s ease;
}
.nav-social:hover .nav-social-icon { color: var(--amber); background: rgba(251,191,36,0.08); }
.nav-social-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.nav-social-name {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--text);
}
.nav-social-handle {
  font-size: 12px;
  color: var(--text-faint);
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-social-arrow {
  font-size: 14px;
  color: var(--text-faint);
  transition: transform .3s var(--ease-spring), color .3s ease;
}
.nav-social:hover .nav-social-arrow { color: var(--amber); transform: translateX(3px); }

.nav-page-pathways {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.nav-page-pathway {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.005) 100%);
  overflow: hidden;
  transition: border-color .3s ease, transform .4s var(--ease-spring), background .3s ease;
}
.nav-page-pathway::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 100%, rgba(74,159,255,0.10), transparent 55%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.nav-page-pathway:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  background: linear-gradient(180deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.008) 100%);
}
.nav-page-pathway:hover::before { opacity: 1; }
.nav-page-pathway-num {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--text-faint);
  text-transform: uppercase;
}
.nav-page-pathway h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.005em;
  margin: 4px 0 0;
  color: var(--text);
}
.nav-page-pathway p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-dim);
  margin: 0;
  flex: 1;
}
.nav-page-pathway-tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  height: 24px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 12px;
  transition: color .25s ease, border-color .25s ease, background .25s ease;
}
.nav-page-pathway:hover .nav-page-pathway-tag {
  color: var(--blue);
  border-color: rgba(74,159,255,0.32);
  background: rgba(74,159,255,0.06);
}

/* ============================================================
   Contact form — inline Netlify form, picks up the editorial
   surface language already used by .nav-page-primary / advisor
   cards. Goal: zero friction. One box, send, done.
   ============================================================ */

.contact-form-wrap {
  position: relative;
  margin-top: 24px;
}
.contact-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 36px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(251,191,36,0.05), transparent 55%),
    radial-gradient(ellipse 80% 60% at 100% 100%, rgba(74,159,255,0.05), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.005) 100%);
  overflow: hidden;
}

/* Honeypot — visually hidden, still focusable for screen readers
   to be safe but off-screen. */
.contact-honey {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.contact-fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.contact-legend {
  display: block;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 16px;
  padding: 0;
}

.contact-radio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.contact-radio { display: block; cursor: pointer; }
.contact-radio input {
  position: absolute;
  opacity: 0;
  width: 1px; height: 1px;
  pointer-events: none;
}
.contact-radio-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.018);
  transition: border-color .25s ease, background .25s ease, transform .35s var(--ease-spring);
  height: 100%;
}
.contact-radio:hover .contact-radio-card {
  border-color: var(--line-strong);
  background: rgba(255,255,255,0.03);
  transform: translateY(-1px);
}
.contact-radio input:focus-visible + .contact-radio-card {
  outline: 2px solid rgba(251,191,36,0.5);
  outline-offset: 2px;
}
.contact-radio input:checked + .contact-radio-card {
  border-color: rgba(251,191,36,0.55);
  background: linear-gradient(180deg, rgba(251,191,36,0.07) 0%, rgba(251,191,36,0.015) 100%);
  box-shadow: 0 0 0 1px rgba(251,191,36,0.28) inset;
}
.contact-radio-num {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-faint);
  transition: color .2s ease;
}
.contact-radio input:checked + .contact-radio-card .contact-radio-num { color: var(--amber); }
.contact-radio-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: 0.005em;
  color: var(--text);
}
.contact-radio-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-dim);
  flex: 1;
}
.contact-radio-tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-top: 4px;
  transition: color .25s ease, background .25s ease, border-color .25s ease;
}
.contact-radio input:checked + .contact-radio-card .contact-radio-tag {
  color: var(--amber);
  border-color: rgba(251,191,36,0.32);
  background: rgba(251,191,36,0.06);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.contact-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.contact-field--full { grid-column: 1 / -1; }
.contact-label {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.contact-label-opt {
  font-family: var(--font-body);
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-faint);
  opacity: 0.7;
}
.contact-input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: border-color .25s ease, background .25s ease, box-shadow .25s ease;
  -webkit-appearance: none;
  appearance: none;
}
.contact-input::placeholder {
  color: var(--text-faint);
  opacity: 0.7;
}
.contact-input:hover { border-color: var(--line-strong); }
.contact-input:focus,
.contact-input:focus-visible {
  outline: none;
  border-color: rgba(251,191,36,0.55);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 0 0 3px rgba(251,191,36,0.12);
}
.contact-input:invalid:not(:placeholder-shown) {
  border-color: rgba(248,113,113,0.45);
}
.contact-textarea {
  height: auto;
  min-height: 132px;
  padding: 14px 16px;
  resize: vertical;
  line-height: 1.6;
  font-family: var(--font-body);
}

.contact-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.contact-actions-note {
  font-size: 12px;
  color: var(--text-faint);
  margin: 0;
  letter-spacing: 0.01em;
}
.contact-submit {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px 14px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  transition: background .25s ease, transform .35s var(--ease-spring), letter-spacing .35s var(--ease-spring), box-shadow .25s ease;
}
.contact-submit:hover {
  background: var(--amber);
  letter-spacing: 0.36em;
  transform: translateY(-1px);
  box-shadow: 0 10px 32px -16px rgba(251,191,36,0.7);
}
.contact-submit:active { transform: translateY(0); }
.contact-submit-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 999px;
  background: rgba(0,0,0,0.12);
  font-size: 13px;
  letter-spacing: 0;
  transition: transform .35s var(--ease-spring);
}
.contact-submit:hover .contact-submit-arrow { transform: translateX(3px); }
.contact-submit[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
.contact-submit[disabled]:hover { letter-spacing: 0.32em; transform: none; box-shadow: none; }

/* Loading + success states. */
.contact-form.is-sending .contact-submit-label::after {
  content: " · sending";
  color: rgba(0,0,0,0.5);
  letter-spacing: 0.18em;
}
.contact-success {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: clamp(32px, 5vw, 48px);
  border: 1px solid rgba(53,211,126,0.32);
  border-radius: 24px;
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(53,211,126,0.06), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.005) 100%);
  animation: contact-success-in .55s var(--ease-spring) both;
}
.contact-success-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 999px;
  background: rgba(53,211,126,0.14);
  color: #35d37e;
  border: 1px solid rgba(53,211,126,0.4);
  margin-bottom: 4px;
}
.contact-success-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--text);
  margin: 0;
}
.contact-success-text {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0;
  max-width: 52ch;
}
@keyframes contact-success-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* "Or reach us directly" — compact channel row. */
.contact-alt {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: clamp(40px, 6vh, 64px);
  padding-top: clamp(28px, 4vh, 40px);
  border-top: 1px solid var(--line);
}
.contact-alt-label {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.contact-alt-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.contact-alt-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.018);
  color: var(--text-dim);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.04em;
  transition: color .25s ease, border-color .25s ease, background .25s ease, transform .35s var(--ease-spring);
}
.contact-alt-link:hover {
  color: var(--text);
  border-color: var(--line-strong);
  background: rgba(255,255,255,0.04);
  transform: translateY(-1px);
}
.contact-alt-link--email {
  color: var(--text);
  border-color: rgba(251,191,36,0.3);
  background: rgba(251,191,36,0.04);
}
.contact-alt-link--email:hover {
  color: var(--text);
  border-color: rgba(251,191,36,0.55);
  background: rgba(251,191,36,0.08);
}
.contact-alt-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  color: var(--text-dim);
  transition: color .25s ease;
}
.contact-alt-link--email .contact-alt-icon { color: var(--amber); }
.contact-alt-link:hover .contact-alt-icon { color: var(--text); }
.contact-alt-link--email:hover .contact-alt-icon { color: var(--amber); }

@media (max-width: 720px) {
  .contact-radio-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-actions { flex-direction: column; align-items: stretch; }
  .contact-actions-note { order: 2; text-align: center; }
  .contact-submit { justify-content: center; }
}

.nav-page-signoff {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: clamp(72px, 10vh, 120px);
  padding-top: clamp(48px, 6vh, 64px);
  border-top: 1px solid var(--line);
  max-width: 62ch;
}
.nav-page-signoff-mark {
  width: 8px; height: 8px;
  margin-top: 8px;
  border-radius: 999px;
  background: var(--amber);
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.7);
  flex-shrink: 0;
}
.nav-page-signoff p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease-spring), transform .7s var(--ease-spring);
  will-change: transform, opacity;
}
.reveal.is-revealed {
  opacity: 1;
  transform: none;
}

/* Stagger children of revealed groups (cards, advisors, pathways, chips). */
.reveal .venture-card,
.reveal .nav-page-advisor,
.reveal .nav-page-pathway,
.reveal .nav-page-value,
.reveal .nav-page-stat,
.reveal .venture-strip-chip,
.reveal .nav-social {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .65s var(--ease-spring), transform .65s var(--ease-spring);
  transition-delay: calc(var(--stagger-i, 0) * 60ms);
  will-change: transform, opacity;
}
.reveal.is-revealed .venture-card,
.reveal.is-revealed .nav-page-advisor,
.reveal.is-revealed .nav-page-pathway,
.reveal.is-revealed .nav-page-value,
.reveal.is-revealed .nav-page-stat,
.reveal.is-revealed .venture-strip-chip,
.reveal.is-revealed .nav-social {
  opacity: 1;
  transform: none;
}

/* ------- Scroll-progress bar pinned above the modal scroller. ------- */
.nav-progress {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: rgba(255,255,255,0.04);
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease;
}
.nav-modal.is-open .nav-progress { opacity: 1; }
.nav-progress-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--amber) 0%, #f59e0b 55%, rgba(74,159,255,0.55) 100%);
  box-shadow: 0 0 14px rgba(251,191,36,0.45);
  transform-origin: left;
  transition: width .12s linear;
}

/* ------- About hero: animated decorative orbit ring. ------- */
.nav-page-hero--with-orbit { position: relative; }
.nav-page-orbit {
  position: absolute;
  top: -60px;
  right: -20px;
  width: 280px;
  height: 280px;
  pointer-events: none;
  display: block;
  opacity: 0.85;
  filter: drop-shadow(0 0 40px rgba(251,191,36,0.06));
}
.nav-page-orbit-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(251,191,36,0.16);
  border-radius: 50%;
  animation: orbit-spin 26s linear infinite;
}
.nav-page-orbit-ring::before {
  content: "";
  position: absolute;
  top: -3px; left: 50%;
  width: 6px; height: 6px;
  margin-left: -3px;
  border-radius: 999px;
  background: var(--amber);
  box-shadow: 0 0 12px rgba(251,191,36,0.7);
}
.nav-page-orbit-ring--a { transform: scale(1); }
.nav-page-orbit-ring--b {
  inset: 26px;
  border-color: rgba(255,255,255,0.07);
  animation-duration: 38s;
  animation-direction: reverse;
}
.nav-page-orbit-ring--b::before { background: rgba(255,255,255,0.85); box-shadow: 0 0 8px rgba(255,255,255,0.5); width: 4px; height: 4px; margin-left: -2px; top: -2px; }
.nav-page-orbit-ring--c {
  inset: 60px;
  border-color: rgba(74,159,255,0.18);
  animation-duration: 18s;
}
.nav-page-orbit-ring--c::before { background: #4a9fff; box-shadow: 0 0 10px rgba(74,159,255,0.6); width: 5px; height: 5px; margin-left: -2.5px; top: -2.5px; }
.nav-page-orbit-core {
  position: absolute;
  top: 50%; left: 50%;
  width: 8px; height: 8px;
  margin: -4px 0 0 -4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 0 24px rgba(255,255,255,0.4);
}
@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Stat counter — keep numeric value inside .nav-page-stat-val so JS can swap text without nuking the +. */
.nav-page-stat-val {
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

/* ------- Venture card mark (logo column). ------- */
.venture-card-mark {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 30% 20%, rgba(251,191,36,0.06), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.012) 100%);
  color: var(--text);
  flex-shrink: 0;
  position: relative;
  transition: border-color .35s ease, color .35s ease, transform .4s var(--ease-spring), background .35s ease;
}
.venture-card-mark svg {
  width: 28px;
  height: 28px;
  display: block;
}
.venture-card-mark--photo {
  padding: 8px;
}
.venture-card-mark--photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
/* WealthGOAT logo is solid black — invert to white for dark surface. */
.venture-card-mark--photo img[src*="wealthgoat"] {
  filter: invert(1) brightness(1.1);
}
.venture-card:hover .venture-card-mark {
  border-color: rgba(251,191,36,0.42);
  color: var(--amber);
  transform: translateY(-1px) scale(1.03);
  background:
    radial-gradient(circle at 30% 20%, rgba(251,191,36,0.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.018) 100%);
}
/* Cards with blue-coded status (in-build, field-test, stealth) get a blue
   hover to echo their status dot — amber stays for live/deployed. */
.venture-card[data-status="in-build"]:hover .venture-card-mark,
.venture-card[data-status="field-test"]:hover .venture-card-mark,
.venture-card[data-status="stealth"]:hover .venture-card-mark {
  border-color: rgba(74,159,255,0.4);
  color: var(--blue);
  background:
    radial-gradient(circle at 30% 20%, rgba(74,159,255,0.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.018) 100%);
}
/* Photo logos shouldn't get tinted — keep their native color. */
.venture-card:hover .venture-card-mark--photo { color: inherit; }

/* Pull the head-row spacing back since gap is now on the body. */
.venture-card-body .venture-card-head { margin-bottom: 2px; }

/* ------- Advisor magnetic glow (mouse-tracked). ------- */
.nav-page-advisor {
  --mx: 50%;
  --my: 0%;
}
.nav-page-advisor::before {
  background: radial-gradient(circle at var(--mx) var(--my), rgba(251,191,36,0.14), transparent 55%);
}

/* ------- Contact: venture brand strip. ------- */
.venture-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.venture-strip-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.006) 100%);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  transition: border-color .3s ease, color .3s ease, transform .35s var(--ease-spring), background .3s ease;
}
.venture-strip-chip:hover {
  border-color: rgba(251,191,36,0.4);
  color: var(--text);
  transform: translateY(-1px);
  background: linear-gradient(180deg, rgba(251,191,36,0.04) 0%, rgba(255,255,255,0.012) 100%);
}
.venture-strip-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--amber);
  flex-shrink: 0;
  transition: color .25s ease;
}
.venture-strip-mark svg {
  width: 18px;
  height: 18px;
  display: block;
}
/* Alternate amber/blue across the strip — gives the 12-logo row visual rhythm. */
.venture-strip-chip:nth-child(even) .venture-strip-mark { color: var(--blue); }
.venture-strip-chip:nth-child(even):hover {
  border-color: rgba(74,159,255,0.4);
  background: linear-gradient(180deg, rgba(74,159,255,0.05) 0%, rgba(255,255,255,0.012) 100%);
}

@media (max-width: 900px) {
  .venture-vertical { grid-template-columns: 1fr; gap: 24px; }
  .venture-vertical-rail { position: static; padding-right: 0; }
  .nav-page-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .nav-page-hero { margin-bottom: 56px; }
  .nav-page-kicker { margin-bottom: 24px; }
  .nav-page-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 28px 0; }
  .nav-page-statement { margin-top: 64px; }
  .nav-page-statement-text { font-size: clamp(22px, 6vw, 32px); }
  .nav-page-values { grid-template-columns: 1fr; border-radius: 16px; }
  .nav-page-value { padding: 26px 22px; min-height: 0; }
  .nav-page-timeline::before { left: 20px; }
  .nav-page-timeline-item { grid-template-columns: 42px 1fr; gap: 20px; }
  .nav-page-timeline-num { width: 42px; height: 42px; font-size: 11px; }
  .nav-page-advisors { grid-template-columns: 1fr; }
  .claude-panel { grid-template-columns: 1fr; gap: 24px; padding: 22px; border-radius: 18px; }
  .claude-panel-stage { min-height: 180px; }
  .claude-burst { width: 72px; height: 72px; }
  .claude-panel-specs { grid-template-columns: 1fr 1fr; }
  .claude-panel-specs > div { padding: 14px 16px; }
  .claude-rationale { grid-template-columns: 1fr; gap: 32px; }
  .claude-rationale-lede { position: static; }
  .claude-points li { grid-template-columns: 40px 1fr; gap: 16px; padding: 22px 0; }
  .claude-matrix-row { grid-template-columns: 1.4fr 1fr; gap: 14px 18px; padding: 16px 18px; }
  .claude-matrix-row span:nth-child(3),
  .claude-matrix-row span:nth-child(4) { grid-column: span 1; }
  .claude-matrix-row--head { display: none; }
  .claude-matrix-row { row-gap: 8px; }
  .claude-matrix-row .claude-matrix-workload { grid-column: 1 / -1; font-size: 13px; }
  .claude-snippet-body { font-size: 12px; padding: 20px; }
  .venture-card { padding: 24px 22px; grid-template-columns: 48px 1fr; gap: 18px; }
  .venture-card-mark { width: 48px; height: 48px; border-radius: 12px; }
  .venture-card-mark svg { width: 24px; height: 24px; }
  .venture-card-name { font-size: 22px; }
  .nav-page-orbit { width: 180px; height: 180px; top: -30px; right: -10px; opacity: 0.6; }
  .nav-page-compound { padding: 32px 24px; }
  .nav-page-primary { grid-template-columns: 1fr; gap: 20px; padding: 26px 24px; }
  .nav-page-primary-value { font-size: clamp(20px, 6vw, 28px); word-break: break-word; }
  .nav-page-primary-arrow { align-self: flex-start; }
  .nav-page-pathways { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   Intro overlay — plays once per session on first load.
   Brand-matched wordmark: star + GALAX + STUDIOS™.
   STUDIOS reveals out from behind GALAX horizontally; the whole
   piece settles, holds, and fades up into the page.
   ============================================================ */
.intro {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(40, 28, 12, 0.35), transparent 60%),
    #000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  animation: intro-fade-out .9s cubic-bezier(.4, 0, .2, 1) 3.0s forwards;
}
.intro.intro-skip,
.intro.intro-done { display: none; }

.intro-mark {
  display: inline-flex;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
  transform: translateY(0);
  animation: intro-lift .9s cubic-bezier(.4, 0, .2, 1) 3.0s forwards;
}

.intro-star {
  width: clamp(44px, 7.5vw, 84px);
  height: clamp(44px, 7.5vw, 84px);
  color: var(--text);
  opacity: 0;
  transform: scale(.8) translateY(8px);
  filter: drop-shadow(0 0 24px rgba(251, 191, 36, 0.18));
  animation: intro-star-in 1.0s var(--ease-spring) .2s forwards;
}
.intro-star .lm-outer { fill: currentColor; opacity: .95; }
.intro-star .lm-inner { fill: currentColor; opacity: .4; }

.intro-wordmark {
  display: inline-flex;
  align-items: baseline;
  line-height: 1;
  font-size: clamp(38px, 7.2vw, 76px);
  letter-spacing: 0.32em;
  white-space: nowrap;
  opacity: 0;
  animation:
    intro-wordmark-in .9s cubic-bezier(.4, 0, .2, 1) 1.05s forwards,
    intro-letter-tighten 1.1s cubic-bezier(.4, 0, .2, 1) 1.05s forwards;
}

.intro-galax { display: inline-block; }

.intro-studios-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: baseline;
  max-width: 0;
  margin-left: 0;
  animation: intro-studios-mask 1.0s cubic-bezier(.4, 0, .2, 1) 1.85s forwards;
}
.intro-studios {
  display: inline-block;
  font-weight: 300;
  font-size: 0.46em;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.32em;
  transform: translateX(-22%);
  animation:
    intro-studios-slide 1.0s cubic-bezier(.4, 0, .2, 1) 1.85s forwards,
    intro-studios-tighten 1.1s cubic-bezier(.4, 0, .2, 1) 1.85s forwards;
}
.intro-tm {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.22em;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0;
  margin-left: 6px;
  position: relative;
  top: -1.6em;
  opacity: 0;
  animation: intro-tm-in .5s cubic-bezier(.4, 0, .2, 1) 2.6s forwards;
}

@keyframes intro-star-in {
  to { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes intro-wordmark-in {
  to { opacity: 1; }
}
@keyframes intro-letter-tighten {
  to { letter-spacing: 0.14em; }
}
@keyframes intro-studios-mask {
  0%   { max-width: 0;     margin-left: 0; }
  100% { max-width: 8em;   margin-left: 0.18em; }
}
@keyframes intro-studios-slide {
  to { transform: translateX(0); }
}
@keyframes intro-studios-tighten {
  to { letter-spacing: 0.14em; }
}
@keyframes intro-tm-in {
  to { opacity: 1; }
}
@keyframes intro-lift {
  to { transform: translateY(-8px); }
}
@keyframes intro-fade-out {
  to { opacity: 0; visibility: hidden; }
}

@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
}
