/* =================================================================
   TERAFAB — editorial. Restraint over effects.
   Newsreader (serif) + Geist (grotesque). Monochrome; imagery is the colour.
   ================================================================= */

:root {
  --bg:      #000;
  --bg-2:    #000;
  --bg-rgb:  0, 0, 0;
  --text:    #ededee;
  --text-2:  rgba(237, 237, 238, 0.62);
  --text-3:  rgba(237, 237, 238, 0.40);
  --line:    rgba(255, 255, 255, 0.13);
  /* opaque equivalent of --line on --bg (avoids ghosting on structural guides) */
  --line-guide: #1f1f1f;
  --line-guide-soft: #1a1a1a;
  --line-guide-faint: #141414;
  --gridline: rgba(255, 255, 255, 0.03);
  --gutter:  32px;
  --line-2:  rgba(255, 255, 255, 0.24);
  --sans:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --heading: "Inter Tight", var(--sans);
  --heading-weight: 300;
  --display: "Space Grotesk", var(--sans);
  --chip:    "Unbounded", "Archivo Expanded", var(--display);
  --container: 1180px;
  --pad:     48px;
  --ease:    cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.6; font-size: 16px; font-optical-sizing: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
em { font-style: normal; }
::selection { background: rgba(255,255,255,0.85); color: #000; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
:focus-visible { outline: 1px solid var(--text); outline-offset: 4px; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--pad); }

/* structural guides — per-section, aligned to .layout-12 (no scroll-driven overlay) */
[data-grid-lines] { position: relative; isolation: isolate; }
.section-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
/* keep section content above the guide overlay */
[data-grid-lines] > .container,
[data-grid-lines] > .kard-shell {
  position: relative;
  z-index: 1;
}
[data-grid-lines="chips"] .section-grid__col:nth-child(1) {
  border-left-style: solid;
  border-left-color: var(--line-guide);
}
/* left guide through chip photos without lifting the full grid over headlines */
@media (min-width: 981px) {
  [data-grid-lines="chips"] .chip:first-child .chip__img {
    position: relative;
  }
  [data-grid-lines="chips"] .chip:first-child .chip__img::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--line-guide);
    z-index: 2;
    pointer-events: none;
  }
}
.section-grid__frame {
  height: 100%;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 0;
  box-sizing: border-box;
}
.section-grid__col { border-left: 1px solid transparent; }
[data-grid-lines="edge"] .section-grid__col:nth-child(1) {
  border-left-style: solid;
  border-left-color: var(--line-guide-soft);
}
[data-grid-lines="builders"] .section-grid__col:nth-child(1) {
  border-left-style: solid;
  border-left-color: var(--line-guide-soft);
}
[data-grid-lines="builders"] .section-grid__col:nth-child(4),
[data-grid-lines="builders"] .section-grid__col:nth-child(8) {
  border-left-style: dashed;
  border-left-color: var(--line-guide-faint);
}
/* shared 12-column content tracks (must match .section-grid__frame) */
.layout-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 0;
}
/* ---------- type ---------- */
.kicker { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0.02em; text-transform: none; color: var(--text-3); }
.h2 { font-family: var(--heading); font-weight: var(--heading-weight); font-size: clamp(2.15rem, 3.85vw, 3.5rem); line-height: 1.02; letter-spacing: -0.032em; color: #fff; text-wrap: balance; }
.h2 em { color: var(--text-3); }
.h2__keep { white-space: nowrap; }

/* mobile-only CTA labels (desktop shows .cta__full) */
.cta__mob { display: none; }

/* CTAs — primary in a box; secondary text + chevron only */
.link-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1;
  color: var(--text-2);
  padding: 6px 2px 6px 0;
  border: none;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  transition: color 0.22s var(--ease);
}
.link-cta:not(.link-cta--fill):hover { color: #fff; }
.link-cta:not(.link-cta--fill):active { color: var(--text); }
.link-cta:focus-visible { outline: 2px solid rgba(255, 255, 255, 0.45); outline-offset: 3px; }
.link-cta--fill {
  color: #0a0a0b;
  padding: 11px 16px 11px 18px;
  border: 1px solid #ededee;
  border-radius: 2px;
  background: #ededee;
  transition: color 0.22s var(--ease), background 0.22s var(--ease), border-color 0.22s var(--ease);
}
.link-cta--fill:hover { color: #0a0a0b; background: #fff; border-color: #fff; }
.link-cta--fill:active { background: #f5f5f6; }
/* xAI-style chevron → arrow (see main.js + animated-arrow.tsx) */
.link-cta__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  margin-right: -1px;
}
.link-cta__arrow svg { display: block; width: 100%; height: 100%; }

/* ---------- nav — layered progressive blur on scroll (JS sets --nav-*) ---------- */
.nav {
  --nav-blur: 0px;
  --nav-bg: 0;
  --nav-fade: 0;
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  pointer-events: none;
}
.nav__frost {
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  top: 0;
  height: clamp(124px, 17vh, 172px);
  pointer-events: none;
  opacity: var(--nav-fade);
}
.nav__frost-band {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  pointer-events: none;
  backdrop-filter: blur(var(--band-blur)) saturate(calc(1 + var(--nav-bg) * 0.18));
  -webkit-backdrop-filter: blur(var(--band-blur)) saturate(calc(1 + var(--nav-bg) * 0.18));
  background: linear-gradient(
    180deg,
    rgba(var(--bg-rgb), calc(var(--nav-bg) * var(--band-tint))) 0%,
    rgba(var(--bg-rgb), 0) 100%
  );
  -webkit-mask-image: var(--band-mask);
  mask-image: var(--band-mask);
}
/* Strong blur at top, easing off downward — stacked bands */
.nav__frost-band--1 {
  --band-blur: calc(var(--nav-blur) * 1.12);
  --band-tint: 0.62;
  --band-mask: linear-gradient(180deg, #000 0%, #000 20%, rgba(0, 0, 0, 0.55) 38%, transparent 58%);
}
.nav__frost-band--2 {
  --band-blur: calc(var(--nav-blur) * 0.68);
  --band-tint: 0.42;
  --band-mask: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.88) 26%, rgba(0, 0, 0, 0.35) 52%, transparent 74%);
}
.nav__frost-band--3 {
  --band-blur: calc(var(--nav-blur) * 0.38);
  --band-tint: 0.24;
  --band-mask: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.72) 34%, rgba(0, 0, 0, 0.22) 62%, transparent 88%);
}
.nav__frost-band--4 {
  --band-blur: calc(var(--nav-blur) * 0.14);
  --band-tint: 0.1;
  --band-mask: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.45) 42%, transparent 100%);
}
.nav__inner {
  position: relative;
  z-index: 1;
  pointer-events: auto;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--pad) 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.9);
}
/* Logo entrance — full wordmark (synced with hero via .nav--logo-in) */
.js .nav__logo {
  opacity: 0;
  transform: translateY(8px);
}
.nav.nav--logo-in .nav__logo {
  opacity: 1;
  transform: none;
  transition: opacity 0.58s var(--ease) 0.06s, transform 0.58s var(--ease) 0.06s;
}
/* Logo retract — T fixed; ERAFAB track collapses left */
.nav__logo {
  --nav-logo-h: 13px;
  --nav-logo-t: calc(var(--nav-logo-h) * 89.72 / 56);
  --nav-logo-full: calc(var(--nav-logo-h) * 751 / 56);
  --nav-logo-rest-w: calc(var(--nav-logo-full) - var(--nav-logo-t));
  --nav-logo-dur: 0.48s;
  --nav-logo-ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* T-in-tile badge — the favicon mark, inverted; blooms in as the wordmark retracts */
  --nav-chip-w: calc(var(--nav-logo-t) + 15px);
  --nav-chip-h: calc(var(--nav-logo-h) + 11px);
  --nav-chip-radius: 4px;
  position: relative;
  display: inline-flex;
  align-items: center;
  height: var(--nav-logo-h);
}
.nav__logo-t {
  position: relative;
  z-index: 2;
  display: block;
  width: var(--nav-logo-t);
  height: var(--nav-logo-h);
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.42s var(--ease) 0.04s;
}
/* white fill tile that the standalone T settles into on scroll */
.nav__logo-chip {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: calc(var(--nav-logo-t) / 2);
  width: var(--nav-chip-w);
  height: var(--nav-chip-h);
  border-radius: var(--nav-chip-radius);
  background: #ededee;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
  pointer-events: none;
  will-change: transform, opacity;
  transition:
    opacity 0.34s var(--ease) 0.04s,
    transform var(--nav-logo-dur) var(--nav-logo-ease) 0.02s;
}
.nav__logo-rest-track {
  position: relative;
  z-index: 0;
  overflow: hidden;
  width: var(--nav-logo-rest-w);
  height: var(--nav-logo-h);
  transition:
    width var(--nav-logo-dur) var(--nav-logo-ease),
    opacity 0.42s var(--ease);
}
.nav__logo-rest {
  display: block;
  width: var(--nav-logo-rest-w);
  height: var(--nav-logo-h);
  max-width: none;
}
.nav--logo-retract .nav__logo-rest-track {
  width: 0;
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 38%,
    rgba(0, 0, 0, 0.94) 52%,
    rgba(0, 0, 0, 0.72) 66%,
    rgba(0, 0, 0, 0.42) 80%,
    rgba(0, 0, 0, 0.14) 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 38%,
    rgba(0, 0, 0, 0.94) 52%,
    rgba(0, 0, 0, 0.72) 66%,
    rgba(0, 0, 0, 0.42) 80%,
    rgba(0, 0, 0, 0.14) 92%,
    transparent 100%
  );
}
/* retracted: T inverts to dark and settles into the white tile */
.nav--logo-retract .nav__logo-t { color: #0a0a0b; }
.nav--logo-retract .nav__logo-chip {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.nav__actions { display: flex; align-items: center; gap: 30px; position: relative; top: 1px; }
.nav__actions .nav__link {
  font-size: 13px;
  color: var(--text-2);
  letter-spacing: 0.02em;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  pointer-events: none;
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease),
    visibility 0s linear 0.4s;
}
.nav__actions .nav__link--cta { color: var(--text); }
.nav--cta-visible .nav__actions .nav__link {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
  transition:
    opacity 0.4s var(--ease),
    transform 0.4s var(--ease),
    visibility 0s;
}
.nav--cta-visible .nav__actions .nav__link:nth-child(2) {
  transition-delay: 0.07s;
}
@media (prefers-reduced-motion: reduce) {
  .nav__actions .nav__link,
  .nav--cta-visible .nav__actions .nav__link:nth-child(2) {
    transition: none;
    transform: none;
  }
}

/* ---------- hero (editorial, left-aligned) ---------- */
.hero { padding-top: clamp(152px, 23vh, 252px); padding-bottom: clamp(60px, 10vh, 120px); }
.hero > .container:first-of-type { margin-top: clamp(8px, 1.2vh, 20px); }
.hero .kicker { display: block; margin-bottom: 30px; font-size: 13px; font-weight: 400; color: var(--text-2); }
.hero__title {
  font-family: var(--heading); font-weight: var(--heading-weight); font-size: clamp(2.05rem, 4.1vw, 3.85rem); line-height: 1.06; letter-spacing: -0.03em;
  color: var(--text-2); max-width: 22em;
}
.hero__title--hi { font-style: normal; color: #fff; }
.hero__title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.22s var(--ease);
}
.hero__title-link:hover { color: #fff; }
.hero__title-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: 3px;
  border-radius: 1px;
}
/* Linear-style line reveal — blur + upward drift, staggered per line */
@keyframes heroLineIn {
  from {
    opacity: 0;
    filter: blur(11px);
    transform: translate3d(0, 18%, 0);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0);
  }
}
.hero__line {
  display: block;
}
.js .hero__line {
  opacity: 0;
  filter: blur(11px);
  transform: translate3d(0, 18%, 0);
  will-change: opacity, filter, transform;
}
.hero.hero--ready .hero__line {
  animation: heroLineIn 0.82s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero.hero--ready .hero__line:nth-child(1) { animation-delay: 0.08s; }
.hero.hero--ready .hero__line:nth-child(2) { animation-delay: 0.22s; }
.hero.hero--ready .hero__line:nth-child(3) { animation-delay: 0.36s; }
.hero.hero--ready .hero__line:nth-child(4) { animation-delay: 0.5s; }
.hero__actions { display: flex; align-items: center; gap: clamp(20px, 2.5vw, 32px); margin-top: clamp(36px, 5vh, 56px); flex-wrap: wrap; }

.hero__partners {
  display: flex;
  align-items: flex-end;
  gap: 36px;
  margin-top: clamp(80px, 13vh, 150px);
  padding-top: 30px;
  border-top: 1px solid var(--line);
  width: 100%;
  max-width: 100%;
}
.logos {
  --logo-row: 20px;
  display: flex;
  align-items: flex-end;
  gap: clamp(28px, 4vw, 48px);
  height: var(--logo-row);
}
.logos .logo {
  display: flex;
  align-items: flex-end;
  height: var(--logo-row);
  line-height: 0;
}

/* hero — automated die-grid + ambient layers */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero .container { position: relative; z-index: 2; }
.hero__grid-fx {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none;
  opacity: 0;
}
.hero__grid-fx.is-on {
  opacity: 0.94;
  animation: heroGridFade 0.45s ease-out forwards;
}
@keyframes heroGridFade {
  from { opacity: 0; }
  to { opacity: 0.94; }
}
.hero__fade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(var(--bg-rgb), 0.55) 22%, rgba(var(--bg-rgb), 0.1) 44%, rgba(var(--bg-rgb), 0.06) 62%, transparent 88%),
    linear-gradient(
      180deg,
      var(--bg) 0%,
      rgba(var(--bg-rgb), 0) 18%,
      rgba(var(--bg-rgb), 0) 68%,
      rgba(var(--bg-rgb), 0.55) 86%,
      var(--bg) 100%
    ); }
.js .hero__seq {
  opacity: 0;
  filter: blur(8px);
  transform: translate3d(0, 14%, 0);
  will-change: opacity, filter, transform;
}
.hero.hero--ready .hero__actions.hero__seq {
  animation: heroLineIn 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.72s forwards;
}
.hero.hero--ready .hero__partners.hero__seq {
  animation: heroLineIn 0.78s cubic-bezier(0.22, 1, 0.36, 1) 0.92s forwards;
}
.logo img { height: 16px; width: auto; opacity: 0.55; filter: grayscale(1); transition: opacity 0.25s; }
.logos .logo img {
  width: auto;
  display: block;
  opacity: 0.55;
  filter: grayscale(1);
  transition: opacity 0.25s;
}
/* Hero partner marks — baseline-aligned row, Tesla scaled down vs neighbors */
.logos .logo:nth-child(1) img { height: 12.5px; }
.logos .logo:nth-child(2) img { height: 17px; transform: translateY(-0.5px); }
.logos .logo--xai { margin-left: -14px; }
.logos .logo--xai img { height: 17px; transform: translateY(1px); }
.logos .logo:hover img { opacity: 1; }
.logo:hover img { opacity: 1; }

/* ---------- section mesh — pure black + soft edge fades ---------- */
.hero,
.statement-sec,
.block,
.footer {
  background: var(--bg);
}

.statement-sec::before,
.block::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1;
  height: clamp(120px, 18vh, 240px);
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(var(--bg-rgb), 0.42) 38%,
    rgba(var(--bg-rgb), 0.78) 62%,
    var(--bg) 100%
  );
}
/* footer — soft seam from mass only (no solid band over the dot field) */
.footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 1;
  height: clamp(56px, 8vh, 96px);
  pointer-events: none;
  background: linear-gradient(
    180deg,
    var(--bg) 0%,
    rgba(var(--bg-rgb), 0.72) 28%,
    rgba(var(--bg-rgb), 0.2) 55%,
    transparent 100%
  );
}

.kard-sticky::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 3;
  height: clamp(100px, 14vh, 200px);
  pointer-events: none;
  background: linear-gradient(
    180deg,
    var(--bg) 0%,
    rgba(var(--bg-rgb), 0.72) 28%,
    rgba(var(--bg-rgb), 0.2) 58%,
    transparent 100%
  );
}

/* ---------- statement ---------- */
.statement-sec { position: relative; padding: clamp(80px, 14vh, 170px) 0; }
.statement-sec .container,
.block .container { position: relative; z-index: 2; }
.statement { font-family: var(--heading); font-weight: var(--heading-weight); font-size: clamp(1.6rem, 3.4vw, 2.8rem); line-height: 1.22; letter-spacing: -0.027em; color: var(--text-2); max-width: 24ch; text-wrap: pretty; }
.statement__w { color: rgba(237, 237, 238, 0.38); transition: color 0.4s var(--ease); }
.statement__w.is-lit { color: #fff; }
.statement__w--emph.is-lit { color: #fff; }

/* ---------- kardashev (full-bleed smooth scrub) ---------- */
.kardashev { position: relative; }
.kard-shell { min-height: 340vh; }
.kard-sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; align-items: flex-end; }
.kard-media { position: absolute; inset: 0; z-index: 0; background: #000; }
.kard__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; z-index: 1; background: #000; }
.kard__vid[data-seg="2"] { z-index: 2; }
@media (min-width: 981px) {
  .kard__vid[data-seg="1"] { opacity: 1; }
}
@media (max-width: 980px) {
  .kard__vid.is-active { opacity: 1; }
}
.kard-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--bg) 0%, rgba(var(--bg-rgb), 0.88) 10%, rgba(var(--bg-rgb), 0.42) 20%, rgba(var(--bg-rgb), 0.1) 32%, transparent 48%),
    linear-gradient(to right, rgba(var(--bg-rgb), 0.28) 0%, transparent 48%);
}
.kard-overlay { position: relative; z-index: 2; padding-bottom: clamp(60px, 11vh, 120px); }
.kard-overlay .kicker { display: block; margin-bottom: 20px; }
.kard__title {
  font-family: var(--heading);
  font-weight: var(--heading-weight);
  font-size: clamp(2rem, 4.4vw, 3.9rem);
  line-height: 1.04;
  letter-spacing: -0.032em;
  color: #fff;
  max-width: 16ch;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.55);
}
.scale { margin-top: clamp(28px, 4vh, 44px); max-width: 580px; border-top: 1px solid var(--line); }
.scale__tier { display: grid; grid-template-columns: 110px 1fr; align-items: baseline; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line); opacity: 0.45; transition: opacity 0.4s var(--ease); }
.scale__tier.is-active { opacity: 1; }
@media (max-width: 980px) {
  .scale__tier { transition: none; }
  .scale__tier.is-active { opacity: 1; }
  /* keep the desc color constant on mobile so the JS-driven tier opacity is the
     only thing that changes — a smooth fade instead of a hard grey/white flip.
     #kardashev prefix raises specificity above the later base .scale__desc rules */
  #kardashev .scale__desc { color: #fff; }
}
.scale__id { font-family: var(--heading); font-weight: var(--heading-weight); font-size: 0.95rem; letter-spacing: -0.01em; color: #fff; }
.scale__desc { font-size: 1rem; color: var(--text-2); }
.scale__tier.is-active .scale__desc { color: #fff; }
/* ---------- full-bleed scenes ---------- */
.scene { position: relative; min-height: 96vh; display: flex; align-items: center; overflow: hidden; }
.scene__media { position: absolute; inset: 0; z-index: 0; }
.scene__bg { width: 100%; height: 100%; object-fit: cover; }
.scene__scrim { position: absolute; inset: 0; }
.scene__scrim--left { background: linear-gradient(90deg, rgba(var(--bg-rgb),0.85) 0%, rgba(var(--bg-rgb),0.4) 42%, transparent 72%), linear-gradient(0deg, rgba(var(--bg-rgb),0.6), transparent 36%); }
.mass .scene__scrim--left {
  background: linear-gradient(90deg, rgba(var(--bg-rgb),0.85) 0%, rgba(var(--bg-rgb),0.38) 40%, transparent 68%);
}
.scene__scrim--bottom {
  z-index: 1;
  top: auto;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(160px, 22vh, 280px);
  background: linear-gradient(
    0deg,
    var(--bg) 0%,
    rgba(var(--bg-rgb), 0.92) 22%,
    rgba(var(--bg-rgb), 0.55) 48%,
    rgba(var(--bg-rgb), 0.12) 72%,
    transparent 100%
  );
}

.mass {
  min-height: 100vh;
  padding-bottom: clamp(64px, 9vh, 112px);
  background: var(--bg);
}
/* smooth fade-in from space section — strongest at top-left */
.mass__scrim-top {
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  bottom: auto;
  height: clamp(180px, 26vh, 320px);
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 140% 100% at 0% 0%,
      var(--bg) 0%,
      rgba(var(--bg-rgb), 0.94) 16%,
      rgba(var(--bg-rgb), 0.62) 34%,
      rgba(var(--bg-rgb), 0.22) 52%,
      transparent 72%
    ),
    linear-gradient(
      180deg,
      var(--bg) 0%,
      rgba(var(--bg-rgb), 0.92) 7%,
      rgba(var(--bg-rgb), 0.55) 16%,
      rgba(var(--bg-rgb), 0.18) 26%,
      transparent 40%
    );
}
.mass .scene__scrim--bottom {
  height: clamp(200px, 28vh, 360px);
  background: linear-gradient(
    0deg,
    var(--bg) 0%,
    rgba(var(--bg-rgb), 0.88) 18%,
    rgba(var(--bg-rgb), 0.45) 42%,
    rgba(var(--bg-rgb), 0.12) 68%,
    transparent 100%
  );
}
.mass__outro {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: clamp(140px, 20vh, 260px);
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(var(--bg-rgb), 0.22) 24%,
    rgba(var(--bg-rgb), 0.52) 46%,
    rgba(var(--bg-rgb), 0.82) 68%,
    rgba(var(--bg-rgb), 0.96) 86%,
    var(--bg) 100%
  );
}
.mass-footer-blend {
  position: relative;
  z-index: 3;
  display: block;
  height: clamp(100px, 14vh, 180px);
  margin-top: clamp(-88px, -11vh, -140px);
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(var(--bg-rgb), 0.35) 28%,
    rgba(var(--bg-rgb), 0.72) 52%,
    rgba(var(--bg-rgb), 0.94) 76%,
    var(--bg) 100%
  );
}

.scene__content { position: relative; z-index: 2; width: 100%; }
.scene__content--bottom { align-self: flex-end; padding-bottom: clamp(60px, 10vh, 120px); }
.scene .h2 { max-width: 17ch; }
.scene__actions { margin-top: clamp(32px, 4.5vh, 52px); }
.mass .scene__content .h2 { margin-bottom: 0; }
.list { margin-top: 30px; max-width: 520px; border-top: 1px solid var(--line); }
.list li { padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 1.08rem; color: var(--text-2); }

/* sun: baked "you are here" removed at source; crisp animated HTML marker over the black space */
.sun { align-items: flex-end; }
.sun .scene__bg { object-position: 54% 50%; }
/* top fade — fixed; avoids harsh seam with section above */
.sun__scrim-top {
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  bottom: auto;
  height: clamp(140px, 20vh, 260px);
  background: linear-gradient(
    180deg,
    var(--bg) 0%,
    rgba(var(--bg-rgb), 0.96) 8%,
    rgba(var(--bg-rgb), 0.72) 16%,
    rgba(var(--bg-rgb), 0.32) 26%,
    transparent 42%
  );
  pointer-events: none;
}
.sun__scrim {
  z-index: 1;
  background:
    radial-gradient(
      ellipse 85% 65% at 10% 90%,
      rgba(var(--bg-rgb), 0.55) 0%,
      rgba(var(--bg-rgb), 0.22) 48%,
      transparent 70%
    ),
    linear-gradient(
      90deg,
      rgba(var(--bg-rgb), 0.86) 0%,
      rgba(var(--bg-rgb), 0.52) 30%,
      rgba(var(--bg-rgb), 0.14) 54%,
      transparent 70%
    ),
    linear-gradient(
      0deg,
      rgba(var(--bg-rgb), 0.8) 0%,
      rgba(var(--bg-rgb), 0.4) 10%,
      rgba(var(--bg-rgb), 0.1) 18%,
      transparent 28%
    );
  transition: opacity 0.35s var(--ease);
}
.sun__scrim::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, transparent 14%, rgba(72, 48, 140, 0.07) 22%, rgba(48, 88, 180, 0.06) 26%, transparent 32%);
  pointer-events: none;
}
.sun__scrim::after {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  bottom: 24%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(72, 118, 210, 0.12) 10%,
    rgba(108, 82, 210, 0.45) 26%,
    rgba(200, 118, 220, 0.55) 50%,
    rgba(92, 148, 235, 0.45) 74%,
    rgba(88, 62, 180, 0.12) 90%,
    transparent 100%
  );
  box-shadow: 0 0 10px rgba(130, 100, 255, 0.18), 0 0 22px rgba(80, 120, 255, 0.08);
  opacity: var(--sun-line, 0.42);
  transition: opacity 0.35s var(--ease);
}
.sun__overlay { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.sun__overlay .container { position: relative; height: 100%; }
.sun__marker {
  position: absolute;
  left: var(--sun-marker-x, 17%);
  top: var(--sun-marker-y, 27%);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.sun__callout {
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}
.sun__tick {
  width: 1px;
  height: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.28));
  transform: scaleY(0);
  transform-origin: 50% 100%;
  opacity: 0;
}
.sun__earth-wrap {
  position: relative;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  pointer-events: auto;
}
.sun__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  overflow: visible;
  pointer-events: none;
}
.sun__earth {
  --sun-earth-x: 50.33%;
  --sun-earth-y: 38.25%;
  --sun-earth-hit: 48px;
  position: absolute;
  left: var(--sun-earth-x);
  top: var(--sun-earth-y);
  z-index: 2;
  width: 8px;
  height: 8px;
  margin: 0;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.35);
  background: radial-gradient(circle at 34% 30%, #bcd8ff, #2f63b8 56%, #0a1c36 100%);
  box-shadow: 0 0 5px rgba(120, 170, 255, 0.38);
  pointer-events: auto;
  cursor: default;
  outline: none;
  overflow: visible;
}
.sun__earth::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--sun-earth-hit);
  height: var(--sun-earth-hit);
  transform: translate(-50%, -50%);
  border-radius: 50%;
}
.sun__earth-tip {
  position: absolute;
  left: 50%;
  top: calc(100% + 12px);
  bottom: auto;
  transform: translateX(-50%) translateY(-5px);
  padding: 8px 17px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
  background: rgba(12, 12, 14, 0.88);
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}
.sun__earth:hover .sun__earth-tip,
.sun__earth:focus-visible .sun__earth-tip,
.sun__earth-wrap:hover .sun__earth-tip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.sun__ring-path,
.sun__ring-sketch { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.sun__ring-sketch { stroke: rgba(255, 255, 255, 0.2); stroke-width: 1.35; }
.sun__ring-path { stroke: rgba(255, 255, 255, 0.8); stroke-width: 1.08; }
.sun__label {
  display: block;
  width: clamp(108px, 13.2vw, 148px);
  margin: 0;
  color: #fff;
  filter: drop-shadow(0 1px 5px rgba(0, 0, 0, 0.55));
  transform: rotate(-2.5deg);
}
.sun__label-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.sun__label-pen {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1 2;
  stroke-dashoffset: 1;
}
.sun__marker--in-view .sun__earth { animation: sunEarthIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) 0s forwards; }
.sun__marker--in-view .sun__ring-sketch { animation: sunStrokeDraw 0.62s cubic-bezier(0.22, 1, 0.36, 1) 0.42s forwards; }
.sun__marker--in-view .sun__ring-path { animation: sunStrokeDraw 0.54s cubic-bezier(0.22, 1, 0.36, 1) 0.48s forwards; }
.sun__marker--in-view .sun__tick { animation: sunTickDraw 0.34s cubic-bezier(0.22, 1, 0.36, 1) 1.08s forwards; }
.sun__marker--in-view .sun__label-pen {
  animation-name: sunLabelReveal;
  animation-duration: calc(var(--dur) * 1ms);
  animation-delay: calc(1.38s + var(--d) * 1ms);
  animation-timing-function: var(--ease, linear);
  animation-fill-mode: both;
}
@keyframes sunTickDraw { to { transform: scaleY(1); opacity: 1; } }
@keyframes sunEarthIn { to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }
@keyframes sunStrokeDraw { to { stroke-dashoffset: 0; } }
@keyframes sunLabelReveal {
  to {
    stroke-dashoffset: 0;
  }
}

.sun__content { display: grid; grid-template-columns: repeat(12, 1fr); padding-bottom: clamp(56px, 10vh, 110px); }
.sun__content .h2 {
  grid-column: 1 / 10;
  max-width: 20ch;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.55);
}
.sun__content .list { grid-column: 1 / 6; max-width: none; }
.sun__content .list li {
  color: rgba(237, 237, 238, 0.68);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}

/* ---------- block (editorial sections) ---------- */
.block { position: relative; padding: clamp(80px, 13vh, 170px) 0; border-top: 1px solid var(--line); }
.block__head { margin-bottom: clamp(44px, 6vh, 76px); }
.block__head .kicker { display: block; margin-bottom: 18px; }
.block__head .h2 { max-width: 18ch; }

/* builders — 12-col parent grid + subgrid (cols 1–3 | 4–7 | 8–12) */
.builders__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 0;
  row-gap: clamp(52px, 8vh, 88px);
}
.builders__head {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: 1 / -1;
  margin-bottom: clamp(44px, 6vh, 76px);
  align-items: start;
}
.builders__head .h2 {
  grid-column: 1 / -1;
  max-width: 22ch;
  line-height: 1.04;
  text-align: left;
}
.builders__list { display: contents; }
.builder { display: contents; }
.builder__row {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: 1 / -1;
  align-items: start;
}
.builder__brand {
  grid-column: 1 / span 3;
  padding-top: 0;
  display: block;
  justify-self: start;
  align-self: start;
  line-height: 0;
}
.builder__brand img { display: block; height: 21px; width: auto; opacity: 0.9; }
.builders__list .builder:first-child .builder__brand img { height: 18px; }
.builders__list .builder:nth-child(2) .builder__brand img { height: 23px; }
.builder__brand--xai img { height: 32px; }
.builder__col {
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
  align-self: start;
}
.builder__col--a {
  grid-column: 4 / span 4;
  max-width: 34ch;
  padding-right: clamp(8px, 1vw, 16px);
}
.builder__col--b { grid-column: 8 / span 5; }
.builder__col li {
  padding: 4px 0;
  font-size: 0.94rem;
  line-height: 1.45;
  color: var(--text-2);
  overflow-wrap: break-word;
}
/* first line cap aligns to logo top (per-row logo height) */
.builder__col li:first-child {
  padding-top: 0;
  padding-bottom: 4px;
  line-height: var(--builder-logo-h, 21px);
  min-height: var(--builder-logo-h, 21px);
  text-box-trim: trim-both;
  text-box-edge: cap alphabetic;
}
.builders__list .builder:first-child .builder__col { --builder-logo-h: 18px; }
.builders__list .builder:nth-child(2) .builder__col { --builder-logo-h: 23px; }
.builders__list .builder:nth-child(3) .builder__col { --builder-logo-h: 32px; }
@supports not (grid-template-columns: subgrid) {
  .builders__head,
  .builder__row {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
}

/* scaling — headline full width; stats left, diagram right */
.scaling.block {
  padding-bottom: clamp(72px, 11vh, 128px);
}
.scaling__head {
  margin-bottom: clamp(44px, 5.5vh, 68px);
}
.scaling__head .h2 { max-width: none; }
.scaling__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 4.5vw, 64px);
  align-items: start;
}
.figs {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 4.5vh, 48px);
}
.fig__n { font-family: var(--heading); font-weight: var(--heading-weight); font-size: clamp(2.2rem, 4.4vw, 3.5rem); line-height: 1; letter-spacing: -0.035em; color: #fff; }
.fig p { margin-top: 16px; font-size: 1rem; color: var(--text-2); max-width: none; }
.scaling .plate {
  border-top: none;
  padding-top: 0;
  margin: clamp(-108px, -12vh, -148px) 0 clamp(-36px, -4vh, -52px);
  min-width: 0;
  overflow: visible;
}
.scaling .diagram {
  position: relative;
  width: 108%;
  max-width: 108%;
  margin: 0 0 32px;
  line-height: 0;
}
.scaling .diagram > img {
  display: block;
  width: 100%;
  height: auto;
}
/* vertical dashed height lines — grow up to each object's measured height on reveal */
.dline {
  position: absolute;
  width: 1px;
  height: 0;
  background-image: repeating-linear-gradient(to top, var(--line-2) 0 4px, transparent 4px 10px);
  background-size: 1px 10px;
  background-repeat: repeat-y;
  background-position-y: bottom;
  opacity: 0;
  transition: height 1.15s cubic-bezier(0.22, 1, 0.36, 1) 0.2s, opacity 0.5s ease 0.2s;
  animation: dlineMarch 0.7s linear infinite;
  pointer-events: none;
}
@keyframes dlineMarch {
  from { background-position-y: bottom; }
  to { background-position-y: calc(100% - 10px); }
}
/* object boxes measured from Scaling_clean.png (985×777); JS sets --obj-*-x/base/h */
.dline--optimus  { left: calc(var(--obj-optimus-x, 25%) - 13px);  bottom: calc(100% - var(--obj-optimus-base, 92%)); }
.dline--starship { left: calc(var(--obj-starship-x, 41%) - 13px); bottom: calc(100% - var(--obj-starship-base, 92%)); }
.dline--sat      { left: calc(var(--obj-sat-x, 69%) - 13px);      bottom: calc(100% - var(--obj-sat-base, 92%)); }
.plate.in-view .dline--optimus  { height: var(--obj-optimus-h, 4%);   opacity: 1; }
.plate.in-view .dline--starship { height: var(--obj-starship-h, 60%); opacity: 1; }
.plate.in-view .dline--sat      { height: var(--obj-sat-h, 84%);      opacity: 1; }
.dlabel {
  position: absolute;
  pointer-events: none;
}
/* labels above each object (desktop + mobile) */
@media (min-width: 981px) {
  .scaling .diagram .dlabel--optimus {
    left: var(--anchor-optimus, 27.4%);
    bottom: calc(100% - var(--obj-optimus-base, 92%) + var(--obj-optimus-h, 4%));
    transform: translate(-50%, -100%);
    padding: 0 0 12px;
  }
  .scaling .diagram .dlabel--starship {
    left: var(--anchor-starship, 48.4%);
    bottom: calc(100% - var(--obj-starship-base, 92%) + var(--obj-starship-h, 60%));
    transform: translate(-50%, -100%);
    padding: 0 0 12px;
  }
  .scaling .diagram .dlabel--sat {
    left: var(--anchor-sat, 70.4%);
    bottom: calc(100% - var(--obj-sat-base, 92%) + var(--obj-sat-h, 84%));
    transform: translate(-50%, -100%);
    padding: 0 0 12px;
  }
  @media (max-width: 1180px) {
    .scaling .diagram .dlabel--sat {
      left: calc(var(--anchor-sat, 70.4%) + 4%);
      padding-bottom: 16px;
    }
  }
}
.dlabel__txt {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-2);
  white-space: nowrap;
}

/* output — scroll-scrubbed size comparison (heading above, video pins centered) */
#output.block { padding-bottom: clamp(28px, 4vh, 52px); }
#output .block__head { margin-bottom: clamp(10px, 1.6vh, 24px); }
.gauge__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.gauge__n { font-family: var(--heading); font-weight: var(--heading-weight); font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1; letter-spacing: -0.035em; color: var(--text-2); }
.gauge__row--hi .gauge__n { color: #fff; }
.gauge__l { font-size: 0.95rem; color: var(--text-3); letter-spacing: 0.01em; }
.gauge__row--hi .gauge__l { color: #ff6a28; }
.gauge__bar { position: relative; margin-top: 16px; height: 4px; background: var(--line); overflow: hidden; }
.gauge__bar i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  transform-origin: left center;
  will-change: width;
}
.gauge__bar i::before,
.gauge__bar i::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  pointer-events: none;
}
/* outer bloom (clipped — reads as pressure at the bar wall) */
.gauge__bar i::before {
  width: 28px;
  height: 26px;
  transform: translate(42%, -50%);
  border-radius: 50%;
  opacity: 0.85;
}
.gauge__bar i::after {
  width: 10px;
  height: 22px;
  transform: translate(58%, -50%);
  transform-origin: center center;
  border-radius: 3px;
}
.gauge__row:not(.gauge__row--hi) .gauge__bar i {
  background-image:
    linear-gradient(90deg, #52525a 0%, #6e6e78 38%, #94949e 72%, #c2c2ca 90%, #e4e4ea 100%),
    linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.05) 40%, rgba(255, 255, 255, 0.18) 50%, rgba(255, 255, 255, 0.05) 60%, transparent 100%);
  background-size: 100% 100%, 38% 100%;
  background-position: 100% 0, -130% 0;
  background-repeat: no-repeat;
  box-shadow: none;
}
.gauge__row:not(.gauge__row--hi) .gauge__bar i::before,
.gauge__row:not(.gauge__row--hi) .gauge__bar i::after {
  display: none;
}
.gauge__row--hi .gauge__bar i {
  background: linear-gradient(90deg, #4a1604 0%, #7a2808 22%, #c7440a 48%, #ff7a38 78%, #ff6a28 100%);
  background-size: 100% 100%;
  background-position: 100% 0;
  background-repeat: no-repeat;
  box-shadow: 10px 0 26px rgba(255, 106, 40, 0.38);
}
.gauge__row--hi .gauge__bar i::before {
  width: 24px;
  height: 22px;
  opacity: 0.6;
  background: radial-gradient(circle, rgba(255, 130, 60, 0.55) 0%, transparent 72%);
}
.gauge__row--hi .gauge__bar i::after {
  display: block;
  width: 10px;
  background: linear-gradient(90deg, rgba(255, 120, 60, 0.4) 0%, #ff9a5c 45%, #ffc8a0 100%);
  box-shadow: 0 0 18px rgba(255, 120, 50, 0.75);
}
.gauge--in-view .gauge__bar i {
  animation: gaugeFillInLo 1.55s cubic-bezier(0.22, 1, 0.36, 1) 0s forwards;
}
.gauge--in-view .gauge__row:not(.gauge__row--hi) .gauge__bar i {
  animation-name: gaugeFillInLo, gaugeLoShimmer;
  animation-duration: 1.55s, 2.5s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1), ease-in-out;
  animation-fill-mode: forwards, none;
  animation-iteration-count: 1, infinite;
  animation-delay: 0s, 1.55s;
}
.gauge--in-view .gauge__row--hi .gauge__bar i {
  animation-name: gaugeFillInHi;
  animation-duration: 1.55s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-delay: 0s;
}
.gauge--in-view .gauge__row--hi .gauge__bar i::before {
  opacity: 0.58;
  transform: translate(48%, -50%) scale(0.98, 1.08);
}
@keyframes gaugeFillInLo {
  0% { width: 0; }
  100% { width: var(--w); }
}
@keyframes gaugeLoShimmer {
  0% { background-position: 100% 0, -130% 0; }
  100% { background-position: 100% 0, 230% 0; }
}
@keyframes gaugeFillInHi {
  0% { width: 0; }
  100% { width: 100%; }
}
/* output size comparison — heading + scroll-scrubbed video pinned together, HTML annotation overlay */
.osc { position: relative; }
.osc-shell { min-height: 260vh; }
.osc-sticky { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; justify-content: center; }
.osc-media { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #000; container-type: size; }
.osc__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* annotation overlay — positions/sizes are % / container units so they track the 16:9 frame */
.osc-overlay { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.osc-cap { position: absolute; margin: 0; }
.osc-cap--gf { left: 17.3%; top: 15.7%; }
.osc-cap--tf { left: 11.6%; top: 9.6%; }
.osc-cap__n {
  display: block;
  font-family: var(--heading);
  font-weight: var(--heading-weight);
  font-size: 2.8cqw;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(0.7cqw);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.osc-cap__l {
  display: block;
  margin-top: 0.5cqw;
  font-family: var(--sans);
  font-size: 1.05cqw;
  letter-spacing: 0.02em;
  color: var(--text-2);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(0.7cqw);
  transition: opacity 0.5s ease 0.06s, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.06s;
}
/* dashed leader line that draws downward on entrance */
.osc-cap__line {
  position: absolute;
  left: 1px;
  top: 100%;
  margin-top: 0.8cqh;
  width: 1px;
  background-image: repeating-linear-gradient(to bottom, rgba(214, 222, 233, 0.75) 0 5px, transparent 5px 11px);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}
.osc-cap--gf .osc-cap__line { height: 15cqh; }
.osc-cap--tf .osc-cap__line { height: 21cqh; }
.osc-cap.is-in .osc-cap__n,
.osc-cap.is-in .osc-cap__l { opacity: 1; transform: none; }
.osc-cap.is-in .osc-cap__line { transform: scaleY(1); }
/* instant hide — prevents the two top-left labels overlapping on a fast reverse scroll */
.osc-cap.is-snap .osc-cap__n,
.osc-cap.is-snap .osc-cap__l,
.osc-cap.is-snap .osc-cap__line { transition: none; }
.osc-compare { position: absolute; inset: 0; }
.osc-stat { position: absolute; bottom: 8%; display: flex; flex-direction: column; }
.osc-stat--hi { left: 61.7%; }
.osc-stat--us { left: 84.5%; }
.osc-stat__l {
  font-family: var(--sans);
  font-size: 1.05cqw;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--text-2);
  max-width: 13cqw;
  opacity: 0;
  transform: translateY(0.8cqw);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.osc-stat__n {
  margin-top: 0.5cqw;
  font-family: var(--heading);
  font-weight: var(--heading-weight);
  font-size: 4.2cqw;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(0.8cqw);
  transition: opacity 0.5s ease 0.08s, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}
.osc-stat__u { font-size: 0.5em; color: var(--text-2); }
.osc-compare__div {
  position: absolute;
  left: 81%;
  bottom: 8%;
  width: 1px;
  height: 12%;
  background-image: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.45) 0 5px, transparent 5px 11px);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}
.osc-compare.is-in .osc-stat__l,
.osc-compare.is-in .osc-stat__n { opacity: 1; transform: none; }
.osc-compare.is-in .osc-compare__div { transform: scaleY(1); }
@media (prefers-reduced-motion: reduce) {
  .osc-cap__n, .osc-cap__l, .osc-stat__l, .osc-stat__n,
  .osc-cap__line, .osc-compare__div {
    transition: opacity 0.25s linear !important;
    transform: none !important;
    opacity: 0;
  }
  .osc-cap.is-in .osc-cap__n, .osc-cap.is-in .osc-cap__l, .osc-cap.is-in .osc-cap__line,
  .osc-compare.is-in .osc-stat__l, .osc-compare.is-in .osc-stat__n, .osc-compare.is-in .osc-compare__div {
    opacity: 1;
  }
}

/* chips — 4×3-column mosaic, flush to structural grid; left edge guide only */
.chips .container {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 0;
}
.chips .block__head {
  grid-column: 1 / -1;
  margin-bottom: clamp(44px, 6vh, 76px);
}
.chip-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 0;
  row-gap: clamp(32px, 4vh, 48px);
  align-items: start;
  margin: 0;
  padding: 0;
}
.chip {
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  min-width: 0;
  border-radius: 0 !important;
}
/* Chip panels: no per-column verticals (section grid shows far-left guide only) */
.chip__img {
  width: 100%;
  aspect-ratio: 3 / 4;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 0 !important;
  background: #000;
  border: none;
  line-height: 0;
}
.chip__img img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 0 !important;
  object-fit: cover;
  object-position: top center;
  /* PNGs ship with rounded transparent corners — scale past them for square clips */
  transform: scale(1.08);
  transform-origin: top center;
}
.chip:nth-child(4) .chip__img img {
  object-position: top right;
  /* scale from top center (not the corner) so the PNG's rounded top-right
     transparent corner gets pushed out of the square clip like the other chips */
  transform-origin: top center;
}
.chip figcaption {
  margin-top: 18px;
}
.chip figcaption b {
  display: block;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: #fff;
}
.chip__name,
.chip--code figcaption b {
  display: inline-block;
  font-family: var(--chip);
  font-weight: 600;
  font-size: clamp(0.78rem, 1.05vw, 0.94rem);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
  /* little outlined container, no fill */
  padding: 4px 6px;
  border: 2px solid #fff;
  border-radius: 5px;
}
.chip figcaption span { display: block; margin-top: 4px; font-size: 0.9rem; color: var(--text-3); }

/* space — full-bleed scene: satellite in bg, copy + compare left, sunny on the right */
.space {
  min-height: min(96vh, 920px);
  align-items: flex-end;
}
.space .scene__bg {
  object-position: 50% 38%;
}
.scene__scrim--space {
  background:
    linear-gradient(90deg, rgba(var(--bg-rgb), 0.92) 0%, rgba(var(--bg-rgb), 0.72) 28%, rgba(var(--bg-rgb), 0.28) 48%, transparent 62%),
    linear-gradient(0deg, rgba(var(--bg-rgb), 0.55) 0%, transparent 42%);
}
.space__sun-glow {
  position: absolute;
  left: var(--space-sun-x, 58%);
  top: var(--space-sun-y, 12%);
  width: clamp(420px, 48vw, 780px);
  height: clamp(420px, 48vw, 780px);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
  background: radial-gradient(circle at center,
    rgba(255, 240, 212, 0.92) 0%,
    rgba(255, 214, 158, 0.52) 22%,
    rgba(255, 188, 116, 0.22) 44%,
    rgba(255, 168, 92, 0.07) 66%,
    transparent 84%);
  filter: blur(38px);
  opacity: 0;
  will-change: opacity;
}
#space {
  --space-sun-x: 58%;
  --space-sun-y: 12%;
}
.space__content {
  align-self: stretch;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  row-gap: clamp(40px, 5.5vh, 64px);
  padding-top: clamp(88px, 14vh, 152px);
  padding-bottom: clamp(88px, 14vh, 152px);
}
.space__lead {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  margin: 0;
}
.space__copy {
  grid-column: 1 / span 5;
  min-width: 0;
}
.space__copy .kicker { display: block; margin-bottom: 18px; }
.space__copy .h2 { margin: 0; max-width: 20ch; }
.space__sunny {
  grid-column: 8 / -1;
  justify-self: end;
  align-self: start;
  display: block;
  width: clamp(200px, 22vw, 280px);
  max-width: 280px;
  height: auto;
  margin: 0;
  color: #fff;
  filter: drop-shadow(0 1px 12px rgba(0, 0, 0, 0.5));
}
#space .compare {
  grid-column: 1 / span 7;
  margin-top: 0;
  max-width: none;
}

/* Always Sunny wordmark: five words stagger in (it's → always → sunny → in → space) */
.space__sunny svg { display: block; width: 100%; height: auto; max-width: 280px; overflow: visible; }
.space__sunny .sunny__word {
  opacity: 0;
  transform: translateY(6px);
}
.space__sunny .sunny__path {
  fill: #fff;
  stroke: none;
  fill-opacity: 0;
  transform: scale(0.94);
  transform-box: fill-box;
  transform-origin: center;
}
.space__sunny--ready .sunny__word {
  animation: sunnyWordIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--word-i) * 0.14s);
}
.space__sunny--ready .sunny__path {
  animation: sunnyPathFill 0.62s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(var(--word-i) * 0.14s + var(--path-i, 0) * 0.032s);
}
/* "it's" — many overlapping paths; fade the word as one (no per-path scale) */
.space__sunny .sunny__word--its .sunny__path {
  fill-opacity: 1;
  transform: none;
}
.space__sunny--ready .sunny__word--its .sunny__path {
  animation: none;
}
@keyframes sunnyWordIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes sunnyPathFill {
  to { fill-opacity: 1; transform: scale(1); }
}

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); margin-top: clamp(30px, 4vh, 44px); max-width: 760px; }
.compare__col h3 {
  font-family: var(--heading);
  font-size: 0.78rem;
  font-weight: var(--heading-weight);
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--text-3);
  padding-bottom: 14px;
  margin-bottom: 2px;
  position: relative;
  border-bottom: none;
}
.compare__col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 90%;
  height: 1px;
  background: var(--line-2);
}
.compare__col ul { counter-reset: cc; }
.compare__col li {
  counter-increment: cc;
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 11px 0;
  position: relative;
  border-top: none;
  font-size: 1.02rem;
  color: var(--text-2);
}
#space .compare__col li {
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}
.compare__col li:not(:first-of-type)::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 90%;
  height: 1px;
  background: var(--line);
}
.compare__col li::before { content: counter(cc, decimal-leading-zero); font-size: 0.7rem; letter-spacing: 0.04em; color: var(--text-3); min-width: 1.7em; font-variant-numeric: tabular-nums; }
.compare__col--win h3 {
  color: #fff;
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.55);
}
.compare__col--win li { color: #fff; }
.compare__col--win li::before { color: var(--text-2); }

/* ---------- footer ---------- */
.footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(64px, 9vh, 112px) 0 26px;
  background: var(--bg);
}
.footer__grid-fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.94;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 2%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 2%, #000 100%);
}
.footer__grid-fx.is-on { opacity: 0.94; }
.footer__fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Top seam from mass only — do not wash the lower footer in solid black */
  background: linear-gradient(
    180deg,
    var(--bg) 0%,
    rgba(var(--bg-rgb), 0.48) 12%,
    rgba(var(--bg-rgb), 0.1) 28%,
    transparent 46%
  );
}
.footer .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 4vh, 48px);
  align-items: start;
  --footer-head-size: clamp(2.3rem, 5.1vw, 4rem);
}
.footer__cta { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.footer__meta {
  display: none;
}
.footer__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(20px, 2.5vw, 32px);
  margin-top: clamp(32px, 4.2vh, 48px);
}
.footer__head {
  font-family: var(--heading);
  font-weight: var(--heading-weight);
  font-size: var(--footer-head-size);
  line-height: 1;
  letter-spacing: -0.042em;
  color: #fff;
  margin: 0;
  white-space: nowrap;
}
.footer__base {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(72px, 9.5vh, 112px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
@media (max-width: 980px) {
  .footer__base { margin-top: clamp(36px, 5.5vh, 56px); }
}
.footer__legal { display: flex; align-items: center; flex-wrap: wrap; gap: 10px clamp(16px, 2.5vw, 28px); font-size: 12.5px; line-height: 1.45; color: var(--text-3); }
.footer__credit { display: inline; }
.footer__grok-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  vertical-align: middle;
  position: relative;
  top: -0.03em;
  color: var(--text-2);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.footer__grok-link:hover { color: #fff; }
.footer__grok-mark {
  display: block;
  width: 13px;
  height: 13px;
  flex: 0 0 13px;
  transform: translateY(0);
  opacity: 0.62;
  transition: opacity 0.2s;
}
.footer__grok-name { line-height: 1; }
.footer__grok-link:hover .footer__grok-mark { opacity: 0.95; }

/* ---------- video player — mobile native overlay ---------- */
.vplayer-native {
  position: fixed;
  inset: 0;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}
.vplayer-native__video {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100dvh;
  object-fit: contain;
  background: #000;
}
.vplayer-native__close {
  position: absolute;
  top: max(10px, env(safe-area-inset-top, 0px));
  right: max(10px, env(safe-area-inset-right, 0px));
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

/* ---------- video player (mass driver) — Apple / Linear minimal chrome (desktop) ---------- */
.vplayer {
  --vp-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --vp-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --vp-modal-dur: 0.5s;
  --vp-modal-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --vp-hit: 52px;
  --vp-icon: 26px;
  --vp-track: 3px;
  --vp-track-active: 6px;
  --vp-chrome-dur: 0.42s;
  position: fixed;
  inset: 0;
  z-index: 1000;
  visibility: hidden;
  pointer-events: none;
}
.vplayer.is-active {
  visibility: visible;
  pointer-events: auto;
}
.vplayer__veil {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  opacity: 0;
  transition: opacity var(--vp-modal-dur) var(--vp-modal-ease);
  cursor: pointer;
}
.vplayer.is-open:not(.is-closing) .vplayer__veil { opacity: 1; }
.vplayer.is-closing .vplayer__veil { opacity: 0; }
.vplayer__shell {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px);
  pointer-events: none;
}
.vplayer__panel {
  position: relative;
  width: min(100%, 1080px);
  opacity: 0;
  transform: translateY(12px) scale(0.99);
  transition:
    opacity var(--vp-modal-dur) var(--vp-modal-ease),
    transform var(--vp-modal-dur) var(--vp-modal-ease);
  pointer-events: auto;
}
.vplayer.is-open:not(.is-closing) .vplayer__panel {
  opacity: 1;
  transform: none;
}
.vplayer.is-closing .vplayer__panel {
  opacity: 0;
  transform: translateY(10px) scale(0.992);
}
.vplayer__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}
.vplayer__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
  cursor: pointer;
}
.vplayer__chrome {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.vplayer__close {
  pointer-events: none;
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  width: var(--vp-hit);
  height: var(--vp-hit);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  opacity: 0;
  transform: translateY(-6px) scale(0.96);
  transition:
    opacity var(--vp-chrome-dur) var(--vp-spring),
    transform var(--vp-chrome-dur) var(--vp-spring),
    color 0.25s var(--vp-ease);
}
.vplayer.is-chrome-visible .vplayer__close {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.vplayer__close:hover { color: #fff; }
.vplayer__close:active { transform: scale(0.94); }
.vplayer.is-chrome-visible .vplayer__close:active { transform: scale(0.94); }
.vplayer__close:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.4);
  outline-offset: 2px;
  border-radius: 4px;
}
.vplayer__close svg {
  width: 22px;
  height: 22px;
}
.vplayer__dock {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 clamp(12px, 2.5vw, 20px) clamp(10px, 2vw, 16px);
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity var(--vp-chrome-dur) var(--vp-spring),
    transform var(--vp-chrome-dur) var(--vp-spring);
  pointer-events: none;
}
.vplayer.is-chrome-visible .vplayer__dock {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.vplayer__bar {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 22px);
  padding: 0 clamp(14px, 2.5vw, 22px) clamp(14px, 2.5vw, 20px);
}
.vplayer__btn svg,
.vplayer__close svg,
.vplayer__time {
  filter: drop-shadow(0 1px 5px rgba(0, 0, 0, 0.55));
}
.vplayer__track-line {
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.45));
}
.vplayer__btn {
  flex: 0 0 auto;
  width: var(--vp-hit);
  height: var(--vp-hit);
  padding: 0;
  display: inline-grid;
  place-items: center;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  transition: color 0.22s var(--vp-ease), transform 0.18s var(--vp-ease);
}
.vplayer__btn:hover { color: #fff; }
.vplayer__btn:active { transform: scale(0.92); }
.vplayer__btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.35);
  outline-offset: 2px;
  border-radius: 4px;
}
.vplayer__btn svg {
  width: var(--vp-icon);
  height: var(--vp-icon);
}
.vplayer__toggle-icons {
  position: relative;
  display: block;
  width: var(--vp-icon);
  height: var(--vp-icon);
}
.vplayer__toggle-icons svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition:
    opacity 0.32s var(--vp-spring),
    transform 0.38s var(--vp-spring);
}
.vplayer__toggle .vplayer__i-play {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
.vplayer__toggle .vplayer__i-pause {
  opacity: 0;
  transform: scale(0.65) rotate(-12deg);
  pointer-events: none;
}
.vplayer.is-playing .vplayer__toggle .vplayer__i-play {
  opacity: 0;
  transform: scale(0.65) rotate(12deg);
  pointer-events: none;
}
.vplayer.is-playing .vplayer__toggle .vplayer__i-pause {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  pointer-events: auto;
}
.vplayer__toggle.is-animating .vplayer__i-play,
.vplayer__toggle.is-animating .vplayer__i-pause {
  transition-duration: 0.42s;
}
.vplayer__mute-icons {
  position: relative;
  display: block;
  width: var(--vp-icon);
  height: var(--vp-icon);
}
.vplayer__mute-icons svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition:
    opacity 0.32s var(--vp-spring),
    transform 0.38s var(--vp-spring);
}
.vplayer__mute .vplayer__i-vol {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
.vplayer__mute .vplayer__i-muted {
  opacity: 0;
  transform: scale(0.65) rotate(-10deg);
  pointer-events: none;
}
.vplayer.is-muted .vplayer__mute .vplayer__i-vol {
  opacity: 0;
  transform: scale(0.65) rotate(10deg);
  pointer-events: none;
}
.vplayer.is-muted .vplayer__mute .vplayer__i-muted {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  pointer-events: auto;
}
.vplayer__mute.is-animating .vplayer__i-vol,
.vplayer__mute.is-animating .vplayer__i-muted {
  transition-duration: 0.42s;
}
.vplayer__progress {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.5vw, 14px);
}
.vplayer__progress .vplayer__scrub {
  flex: 1 1 auto;
  min-width: 0;
  margin-right: 0;
}
.vplayer__progress .vplayer__time {
  flex: 0 0 auto;
  min-width: 6.75em;
}
.vplayer__audio {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
}
.vplayer__audio .vplayer__mute {
  width: 40px;
  margin-right: -2px;
}
.vplayer__vol {
  --vp-vol: 1;
  --vp-vol-line: 3px;
  --vp-vol-pad: 7px;
  flex: 0 0 auto;
  width: 68px;
  height: var(--vp-hit);
  display: flex;
  align-items: center;
  overflow: visible;
  cursor: pointer;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  opacity: 0.82;
  transition: opacity 0.55s var(--vp-ease);
}
.vplayer__audio:hover .vplayer__vol,
.vplayer__audio:focus-within .vplayer__vol,
.vplayer__audio.is-dragging .vplayer__vol {
  opacity: 1;
}
.vplayer__vol-track {
  position: relative;
  width: 100%;
  height: var(--vp-hit);
  display: flex;
  align-items: center;
  padding: 0 var(--vp-vol-pad);
  box-sizing: border-box;
}
.vplayer__vol-line {
  position: relative;
  width: 100%;
  height: var(--vp-vol-line);
  border-radius: 99px;
  overflow: hidden;
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.45));
}
.vplayer__vol-rail {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.22);
}
.vplayer__vol-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  border-radius: inherit;
  background: #fff;
  transform: scaleX(var(--vp-vol, 1));
  transform-origin: left center;
  will-change: transform;
}
.vplayer__vol-head-pin {
  position: absolute;
  left: var(--vp-vol-pad);
  right: var(--vp-vol-pad);
  top: 50%;
  height: 0;
  transform: translate3d(calc(var(--vp-vol, 1) * 100%), 0, 0);
  pointer-events: none;
  will-change: transform;
}
.vplayer__vol-head {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.35);
  transform: translate(-50%, -50%);
}
.vplayer__vol.is-dragging .vplayer__vol-fill,
.vplayer__vol.is-dragging .vplayer__vol-head-pin,
.vplayer__vol.is-animating .vplayer__vol-fill,
.vplayer__vol.is-animating .vplayer__vol-head-pin {
  transition: none;
}
.vplayer__fs-icons {
  position: relative;
  display: block;
  width: var(--vp-icon);
  height: var(--vp-icon);
}
.vplayer__fs-icons svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition:
    opacity 0.32s var(--vp-spring),
    transform 0.38s var(--vp-spring);
}
.vplayer__fs .vplayer__i-fs-enter {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
.vplayer__fs .vplayer__i-fs-exit {
  opacity: 0;
  transform: scale(0.65) rotate(-8deg);
  pointer-events: none;
}
.vplayer.is-fullscreen .vplayer__fs .vplayer__i-fs-enter {
  opacity: 0;
  transform: scale(0.65) rotate(8deg);
  pointer-events: none;
}
.vplayer.is-fullscreen .vplayer__fs .vplayer__i-fs-exit {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  pointer-events: auto;
}
.vplayer__fs.is-animating .vplayer__i-fs-enter,
.vplayer__fs.is-animating .vplayer__i-fs-exit {
  transition-duration: 0.42s;
}
.vplayer__frame:fullscreen,
.vplayer__frame:-webkit-full-screen {
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 0;
  aspect-ratio: unset;
  box-shadow: none;
}
.vplayer__frame:fullscreen .vplayer__video,
.vplayer__frame:-webkit-full-screen .vplayer__video {
  object-fit: contain;
}
.vplayer__scrub {
  --vp-p: 0;
  --vp-buffer: 0;
  --vp-line: 4px;
  flex: 1 1 auto;
  min-width: 0;
  height: var(--vp-hit);
  display: flex;
  align-items: center;
  cursor: pointer;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}
.vplayer__track {
  position: relative;
  width: 100%;
  height: var(--vp-hit);
  display: flex;
  align-items: center;
}
.vplayer__track-line {
  position: relative;
  width: 100%;
  height: var(--vp-line);
  border-radius: 99px;
  overflow: hidden;
  transition: height 0.38s var(--vp-spring);
}
.vplayer.is-chrome-visible .vplayer__scrub:hover .vplayer__track-line,
.vplayer__scrub.is-dragging .vplayer__track-line,
.vplayer.is-chrome-visible .vplayer__scrub:focus-visible .vplayer__track-line {
  height: var(--vp-track-active);
}
.vplayer__rail {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.22);
}
.vplayer__buffer,
.vplayer__played {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  border-radius: inherit;
  transform-origin: left center;
  pointer-events: none;
  will-change: transform;
}
.vplayer__buffer {
  background: rgba(255, 255, 255, 0.32);
  transform: scaleX(var(--vp-buffer, 0));
}
.vplayer__played {
  background: #fff;
  transform: scaleX(var(--vp-p, 0));
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.22);
}
.vplayer__head-pin {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 0;
  transform: translate3d(calc(var(--vp-p, 0) * 100%), 0, 0);
  pointer-events: none;
  will-change: transform;
}
.vplayer__head {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 1px 6px rgba(0, 0, 0, 0.35),
    0 0 0 0.5px rgba(0, 0, 0, 0.06);
  transform: translate(-50%, -50%) scale(0.72);
  opacity: 0;
  transition:
    opacity 0.36s var(--vp-spring),
    transform 0.4s var(--vp-spring),
    width 0.38s var(--vp-spring),
    height 0.38s var(--vp-spring),
    box-shadow 0.32s var(--vp-ease);
}
.vplayer.is-playing.is-idle .vplayer__head {
  opacity: 0.42;
  transform: translate(-50%, -50%) scale(0.88);
}
.vplayer.is-chrome-visible .vplayer__scrub:hover .vplayer__head,
.vplayer__scrub.is-dragging .vplayer__head,
.vplayer.is-chrome-visible .vplayer__scrub:focus-visible .vplayer__head {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.vplayer__scrub.is-dragging .vplayer__head {
  width: 15px;
  height: 15px;
  box-shadow:
    0 2px 12px rgba(0, 0, 0, 0.4),
    0 0 0 0.5px rgba(0, 0, 0, 0.08);
}
.vplayer__scrub.is-seeking .vplayer__played,
.vplayer__scrub.is-seeking .vplayer__head-pin {
  transition: none;
}
.vplayer__time {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  line-height: 1;
  color: rgba(255, 255, 255, 0.88);
  white-space: nowrap;
}
.vplayer__time .vplayer__sep,
.vplayer__time .vplayer__dur { color: rgba(255, 255, 255, 0.45); }
@media (max-width: 560px) {
  .vplayer {
    --vp-hit: 48px;
    --vp-icon: 24px;
  }
  .vplayer__frame { border-radius: 12px; }
  .vplayer__bar {
    gap: 10px;
    padding: 0 12px 12px;
  }
  .vplayer__time {
    font-size: 13px;
    min-width: 3.4em;
  }
  .vplayer__time .vplayer__sep,
  .vplayer__time .vplayer__dur { display: none; }
  .vplayer__vol {
    width: 56px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .vplayer {
    --vp-chrome-dur: 0.12s;
    --vp-modal-dur: 0.12s;
  }
  .vplayer__close,
  .vplayer__dock,
  .vplayer__toggle-icons svg,
  .vplayer__mute-icons svg,
  .vplayer__track-line,
  .vplayer__head,
  .vplayer__vol { transition-duration: 0.12s; }
}

/* ---------- reveal (subtle) ---------- */
.js :is(.reveal, .h2, .statement) { opacity: 0; transform: translateY(12px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--reveal-delay, 0s); }
.js :is(.reveal, .h2, .statement).in-view { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  :root { --pad: 28px; }
  .builders__grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 44px;
  }
  .builders__grid > * { min-width: 0; }
  .builders__head {
    display: block;
    grid-column: 1 / -1;
    margin-bottom: 32px;
  }
  .builders__head .h2 { grid-column: auto; max-width: 100%; }
  .builders__head .h2__keep { white-space: normal; }
  .builders__list {
    display: block;
    grid-column: 1 / -1;
    min-width: 0;
  }
  .builder {
    display: block;
    margin-bottom: 36px;
  }
  .builder:last-child { margin-bottom: 0; }
  .builder__row {
    display: grid;
    grid-template-columns: 1fr;
    grid-column: 1 / -1;
    row-gap: 20px;
  }
  .builder__brand,
  .builder__col--a,
  .builder__col--b {
    grid-column: 1;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
  }
  .builder__col li {
    overflow-wrap: normal;
  }
  .builder__col li:first-child {
    line-height: 1.45;
    min-height: 0;
  }
  .scaling__grid { grid-template-columns: 1fr; gap: 48px; }
  .scaling .plate { margin: 0; }
  .scaling .diagram {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    width: 100%;
    padding-top: clamp(20px, 4vw, 32px);
    overflow: visible;
  }
  .scaling .diagram > img {
    display: block;
    width: 100%;
    margin: 0;
  }
  .scaling .diagram .dline { display: none; }
  .scaling .diagram .dlabel--optimus {
    left: var(--anchor-optimus, 27.4%);
    bottom: calc(100% - var(--obj-optimus-base, 92%) + var(--obj-optimus-h, 4%));
    transform: translate(-50%, -100%);
    padding: 0 0 10px;
  }
  .scaling .diagram .dlabel--starship {
    left: var(--anchor-starship, 48.4%);
    bottom: calc(100% - var(--obj-starship-base, 92%) + var(--obj-starship-h, 60%));
    transform: translate(-50%, -100%);
    padding: 0 0 10px;
  }
  .scaling .diagram .dlabel--sat {
    left: var(--anchor-sat, 70.4%);
    bottom: calc(100% - var(--obj-sat-base, 92%) + var(--obj-sat-h, 84%));
    transform: translate(-50%, -100%);
    padding: 0 0 10px;
  }
  .scaling .diagram .dlabel__txt { font-size: 10px; letter-spacing: 0.03em; }
  .chip-grid { row-gap: 28px; }
  .chip { grid-column: span 6; }
  .chip__img { border: none; }
  .chip:nth-child(2n) .chip__img img { object-position: top right; }
  .sun__content { grid-template-columns: 1fr; }
  .sun__content .h2, .sun__content .list { grid-column: auto; }
  html { overflow-anchor: none; }
  .kardashev {
    overflow-anchor: none;
  }
  /* sticky lock + short scrub track; Sun sits flush after (no overlap pull) */
  .kard-shell {
    position: relative;
    min-height: calc(100svh + 42svh);
    height: calc(100svh + 42svh);
  }
  .kard-shell::after {
    display: none;
  }
  .kard-sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding-top: 0;
  }
  .kard-sticky::before { height: clamp(48px, 7vh, 72px); }
  .kard-sticky::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    height: clamp(72px, 12vh, 108px);
    pointer-events: none;
    background: linear-gradient(
      0deg,
      var(--bg) 0%,
      rgba(var(--bg-rgb), 0.82) 22%,
      rgba(var(--bg-rgb), 0.4) 48%,
      transparent 100%
    );
  }
  .kard-scrim {
    background:
      linear-gradient(
        to top,
        var(--bg) 0%,
        rgba(var(--bg-rgb), 0.92) 12%,
        rgba(var(--bg-rgb), 0.5) 24%,
        rgba(var(--bg-rgb), 0.14) 38%,
        transparent 54%
      ),
      linear-gradient(to right, rgba(var(--bg-rgb), 0.22) 0%, transparent 44%);
  }
  .kard-media {
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    flex: none;
    order: unset;
  }
  .kard-overlay {
    position: relative;
    z-index: 2;
    order: unset;
    flex: none;
    padding-top: 0;
    padding-bottom: clamp(40px, 7vh, 72px);
  }
  .mass {
    padding-bottom: clamp(40px, 7vh, 72px);
  }
  .mass__outro {
    height: clamp(100px, 16vh, 168px);
  }
  .mass-footer-blend {
    height: clamp(72px, 11vh, 120px);
    margin-top: clamp(-64px, -9vh, -96px);
  }
  .footer {
    padding-top: clamp(44px, 7vh, 72px);
  }
  .footer::before {
    height: clamp(48px, 8vh, 72px);
  }
  .footer__fade {
    background: linear-gradient(
      180deg,
      var(--bg) 0%,
      rgba(var(--bg-rgb), 0.42) 12%,
      rgba(var(--bg-rgb), 0.1) 26%,
      transparent 42%
    );
  }
  .footer__grid-fx {
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 2%, #000 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 2%, #000 100%);
  }
  .footer .container { grid-template-columns: 1fr; gap: 28px; }
  .footer__head { white-space: normal; }
  .footer__meta { display: none; }
  /* space — image band on top, copy/compare on solid bg (no scrim over photo) */
  .space.scene {
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  .space .scene__media {
    position: relative;
    inset: auto;
    width: 100%;
    height: clamp(260px, 52vw, 400px);
    flex: 0 0 auto;
  }
  .space .scene__bg {
    object-position: 50% 36%;
  }
  .space .scene__scrim--space,
  .space .scene__scrim--bottom {
    display: none;
  }
  .space .space__sun-glow {
    width: clamp(180px, 50vw, 320px);
    height: clamp(180px, 50vw, 320px);
  }
  .space__content {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    align-self: stretch;
    background: var(--bg);
    margin-top: -10px;
    padding-top: clamp(10px, 1.6vh, 16px);
    padding-bottom: clamp(56px, 9vh, 88px);
    row-gap: clamp(24px, 3.5vh, 36px);
  }
  .space__lead {
    grid-template-columns: 1fr;
    row-gap: 14px;
  }
  .space__copy,
  .space__sunny,
  #space .compare {
    grid-column: 1 / -1;
  }
  .space__copy { grid-row: 2; }
  .space__sunny {
    grid-row: 1;
    justify-self: start;
    width: min(220px, 52vw);
    max-width: 220px;
    margin: 0 0 4px;
  }
  #space .compare { max-width: none; }
  /* nudge the "lunar mass drivers" heading + Watch button up on mobile */
  .mass .scene__content { transform: translateY(clamp(-180px, -20vh, -110px)); }
  .hero { padding-bottom: clamp(36px, 6vh, 64px); }
  .hero__title { max-width: none; text-wrap: pretty; }
  .hero__line { display: inline; }
  .hero__line + .hero__line::before { content: " "; }
  .statement-sec {
    padding-top: clamp(44px, 7vh, 72px);
    padding-bottom: clamp(32px, 5vh, 52px);
  }
  #sun.sun.scene {
    /* Match desktop: a normal section with a full-bleed video background that
       scrolls in as one unit, instead of a sticky-pinned video. */
    position: relative;
    z-index: 1;
    margin-top: 0;
    min-height: 100svh;
    overflow-anchor: none;
  }
  #sun .scene__media {
    position: absolute;
    inset: 0;
    height: auto;
    min-height: 0;
    width: auto;
    z-index: 0;
  }
  #sun .scene__bg { display: block; width: 100%; height: 100%; object-fit: cover; }
  /* overlay stays absolute (base value) — leaving it in flow makes it a flex
     sibling of the content and shifts the text right; only the content needs relative */
  #sun .sun__content { position: relative; z-index: 2; }
  .sun__scrim,
  .sun__scrim::after { transition: none; }
  .sun__scrim { opacity: 1 !important; }
  .sun__scrim::after { opacity: var(--sun-line, 0.42) !important; }
  .sun__marker { display: none; }
  main { overflow-anchor: none; }
}

@media (max-width: 560px) {
  :root { --pad: 20px; }
  .cta__full { display: none; }
  .cta__mob { display: inline; }
  #output.block { padding-top: clamp(40px, 6vh, 64px); padding-bottom: clamp(40px, 6vh, 64px); }
  #output .block__head { margin-bottom: clamp(30px, 5vh, 46px); }
  /* mobile: don't pin — the contained video scrubs as it scrolls through the viewport,
     so it sits in normal flow (no 100vh letterbox bands above/below) */
  .osc-shell { min-height: 0; }
  .osc-sticky { position: static; height: auto; display: block; }
  /* content-width video (not full-bleed) — bump label sizes for the narrow box */
  .osc-cap__n { font-size: 4.6cqw; }
  .osc-cap__l { font-size: 2.4cqw; }
  .osc-stat__n { font-size: 5.6cqw; }
  /* give the comparison labels room so they don't wrap to 3+ lines on the narrow box */
  .osc-stat--hi { left: 8%; }
  .osc-stat--us { left: 52%; }
  .osc-compare__div { left: 47%; }
  .osc-stat__l { font-size: 2.4cqw; max-width: 42cqw; }
  .nav__actions { gap: 18px; }
  .chip-grid { row-gap: 22px; }
  .chip:nth-child(2n) .chip__img img { object-position: top right; }
  .compare { grid-template-columns: 1fr; gap: 28px; }
  .space .scene__media { height: clamp(200px, 58vw, 340px); }
  .space .scene__bg { object-position: 50% 32%; }
  .space__content {
    margin-top: -14px;
    padding-top: 8px;
  }
  .space__copy .h2 { max-width: none; }
  .hero__partners { align-items: flex-start; }
  .footer__base { flex-direction: column-reverse; align-items: flex-start; gap: 14px; }
  .footer__head { font-size: clamp(1.65rem, 7.8vw, 2.3rem); }
  .footer { padding-top: clamp(36px, 6vh, 56px); }
  .mass-footer-blend {
    height: clamp(56px, 10vh, 96px);
    margin-top: clamp(-48px, -8vh, -72px);
  }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  .js :is(.reveal, .h2, .statement) { opacity: 1 !important; transform: none !important; }
  .statement__w { color: #fff !important; }
  .space__sunny .sunny__word { opacity: 1 !important; transform: none !important; animation: none !important; }
  .space__sunny .sunny__path { fill-opacity: 1 !important; transform: none !important; animation: none !important; }
  .nav__frost { opacity: 1 !important; }
  .nav__frost-band {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    background: linear-gradient(180deg, rgba(var(--bg-rgb), 0.92) 0%, rgba(var(--bg-rgb), 0) 100%) !important;
  }
  .nav__logo-rest-track { transition: none !important; }
  .js .nav__logo,
  .nav.nav--logo-in .nav__logo {
    opacity: 1 !important;
    transform: none !important;
  }
  .nav.nav--logo-in:not(.nav--logo-retract) .nav__logo-rest-track {
    width: var(--nav-logo-rest-w) !important;
  }
  .nav--logo-retract .nav__logo-rest-track { width: 0 !important; }

  .hero__grid-fx,
  .footer__grid-fx { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }

  .gauge--in-view .gauge__bar i {
    animation: none !important;
    box-shadow: none !important;
    background-size: 100% 100% !important;
    background-position: 100% 0 !important;
  }
  .gauge--in-view .gauge__row:not(.gauge__row--hi) .gauge__bar i {
    width: var(--w);
    background-size: 100% 100%, 0 0 !important;
  }
  .gauge--in-view .gauge__row--hi .gauge__bar i { width: 100%; }
  .gauge--in-view .gauge__bar i::before,
  .gauge--in-view .gauge__bar i::after { animation: none !important; opacity: 1; }
  .js .hero__line,
  .js .hero__seq {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    animation: none !important;
    transition: none !important;
  }
  .sun__marker--in-view .sun__earth { opacity: 1 !important; transform: translate(-50%, -50%) scale(1) !important; filter: none !important; animation: none !important; }
  .sun__marker--in-view .sun__tick,
  .sun__marker--in-view :is(.sun__ring-path, .sun__ring-sketch) { opacity: 1 !important; transform: none !important; animation: none !important; }
  .sun__marker--in-view .sun__label-pen { animation: none !important; stroke-dashoffset: 0 !important; }
}
