/* Speculai — one-page site. No framework. Motion lives in main.js and degrades to a static page. */

:root {
  --bg: #05070d;
  --ink: #fff;
  --text: #c4cfe0;
  --muted: #8a97ad;
  --line: rgba(255, 255, 255, .14);
  --glass: rgba(255, 255, 255, .08);
  --cyan: #6fc3ff;
  --amber: #f4b44a;
  --light: #eef1f6;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --sans: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --gut: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(to bottom, #000 0%, #03060c 35%, #07101f 70%, #0d1d3a 100%);
  color: var(--text);
  font: 400 clamp(16px, 1.1vw + 11px, 19px)/1.55 var(--sans);
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
sup { font: 500 .6em/1 var(--mono); vertical-align: super; margin-left: 1px; }
sup a { color: var(--amber); text-decoration: none; padding: 0 1px; }
sup a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1600px; margin: 0 auto; padding: 0 var(--gut); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- type ---------- */
.kicker, .tag, .mono-label {
  font: 500 12px/1.2 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--amber);
}
.kicker { margin-bottom: 22px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--amber); }
.display {
  font-weight: 500;
  font-size: clamp(38px, 7.6vw, 118px);
  line-height: 1;
  letter-spacing: -.035em;
  color: #fff;
  text-wrap: balance;
}
.h3 { font-weight: 500; font-size: clamp(26px, 3.2vw, 46px); line-height: 1.08; letter-spacing: -.025em; color: #fff; text-wrap: balance; }
.lead { font-size: clamp(19px, 2vw, 28px); line-height: 1.32; letter-spacing: -.012em; color: #fff; text-wrap: pretty; }
.small-copy { max-width: 560px; color: var(--text); }
.note { color: var(--muted); font-size: .92em; max-width: 78ch; }

/* ---------- buttons ---------- */
.btn {
  --arrow: 0px;
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px 16px 26px;
  border: 0; border-radius: 10px;
  background: #fff; color: #000;
  font: 500 17px/1 var(--sans);
  text-decoration: none; cursor: pointer;
  overflow: hidden;
  transition: background .3s var(--ease), color .3s var(--ease), padding .3s var(--ease);
}
.btn .arrow { width: 0; opacity: 0; transform: translateX(-8px); transition: width .3s var(--ease), opacity .3s var(--ease), transform .3s var(--ease); flex: none; }
.btn:hover { background: var(--amber); }
.btn:hover .arrow { width: 18px; opacity: 1; transform: none; }
.btn-line { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .5); padding: 9px 20px; font-size: 16px; }
.btn-line:hover { background: var(--amber); border-color: var(--amber); color: #000; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 16px 0; transition: transform .45s var(--ease); }
.site-header.hide { transform: translateY(-130%); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pill {
  display: flex; align-items: center; gap: 8px;
  padding: 0 12px 0 8px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  border-radius: 10px;
}
.pill ul { display: flex; }
.pill a.l { display: block; padding: 16px 12px; color: #fff; opacity: .8; text-decoration: none; font-size: 16px; transition: color .15s, opacity .15s; }
.pill a.l:hover { color: var(--amber); opacity: 1; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 600; font-size: 26px; letter-spacing: -.03em; }
.brand svg { width: 32px; height: 32px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); cursor: pointer; align-items: center; justify-content: center; }
.menu-btn span, .menu-btn span::before { display: block; width: 20px; height: 2px; background: #fff; position: relative; transition: transform .3s var(--ease); }
.menu-btn span::before { content: ""; position: absolute; top: 6px; left: 0; }
.menu-open .menu-btn span { transform: translateY(3px) rotate(45deg); }
.menu-open .menu-btn span::before { transform: translateY(-6px) rotate(-90deg); top: 6px; }

.menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 90px var(--gut) 40px;
  background: radial-gradient(120% 80% at 80% 100%, #1b3a6b 0%, #05070d 60%);
  visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s;
}
.menu-open .menu { visibility: visible; opacity: 1; }
.menu a { color: #fff; text-decoration: none; font-size: clamp(36px, 11vw, 56px); font-weight: 500; letter-spacing: -.03em; transform: translateY(24px); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease), color .2s; }
.menu a:hover { color: var(--amber); }
.menu-open .menu a { transform: none; opacity: 1; }
.menu a:nth-child(2) { transition-delay: .04s; } .menu a:nth-child(3) { transition-delay: .08s; }
.menu a:nth-child(4) { transition-delay: .12s; } .menu a:nth-child(5) { transition-delay: .16s; }
.menu a:nth-child(6) { transition-delay: .2s; } .menu a:nth-child(7) { transition-delay: .24s; }

@media (max-width: 980px) {
  .pill { display: none; }
  .menu-btn { display: inline-flex; }
  .nav { flex-direction: row-reverse; }
  .nav .brand { font-size: 22px; }
}

/* ---------- hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; overflow: hidden; background: #000; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.35) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 45%, rgba(0,0,0,.78) 100%); pointer-events: none; }
.hero-inner { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding-bottom: clamp(24px, 5vh, 56px); }
.hero h1 { max-width: 15ch; margin-bottom: clamp(20px, 3.4vh, 36px); }
.hero .status { margin-top: 22px; display: flex; align-items: center; gap: 10px; font: 400 12px/1.4 var(--mono); color: #a9b6cc; letter-spacing: .02em; max-width: 60ch; }
.dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 0 rgba(244, 180, 74, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(244, 180, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(244, 180, 74, 0); } }
.hero-card {
  position: absolute; z-index: 3; right: var(--gut); bottom: clamp(24px, 5vh, 56px);
  display: flex; align-items: stretch; width: min(26rem, 90vw);
  background: #fff; color: #000; border-radius: 14px; overflow: hidden; text-decoration: none;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
  transition: background .3s, color .3s, transform .4s var(--ease);
}
.hero-card:hover { background: #000; color: #fff; transform: translateY(-3px); }
.hero-card .t { padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.hero-card .t b { font-weight: 500; font-size: 16px; line-height: 1.25; }
.hero-card .t i { font: 500 12px/1 var(--sans); font-style: normal; text-decoration: underline; text-underline-offset: 3px; }
.hero-card .thumb { flex: none; width: 8.5rem; background: #05070d; }
.hero-card .thumb svg { width: 100%; height: 100%; }
.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 18px; width: 22px; height: 36px; margin-left: -11px; border: 1.5px solid rgba(255,255,255,.55); border-radius: 12px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 1.8s infinite var(--ease); }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 980px) { .hero-card, .scroll-cue { display: none; } }

/* hero headline: words rise from a mask */
.split .wm { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .wi { display: inline-block; transform: translateY(0); }
.js .split .wi { transform: translateY(110%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 70ms + 150ms); }
.js .split.go .wi { transform: none; }
.js .hero-fade { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease) .8s, transform .9s var(--ease) .8s; }
.js .hero.go .hero-fade { opacity: 1; transform: none; }

/* ---------- section scaffolding ---------- */
section { position: relative; }
.sec { padding: clamp(72px, 11vw, 150px) 0; }
.sec-tight { padding: clamp(40px, 6vw, 80px) 0; }
.half { width: 100%; max-width: 760px; margin-left: auto; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: start; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } .half { margin-left: 0; } }

.intro-sec { padding: clamp(110px, 15vw, 200px) 0 clamp(40px, 6vw, 90px); }
.intro-text { position: relative; font-size: clamp(22px, 2.5vw, 38px); line-height: 1.22; letter-spacing: -.02em; color: #fff; font-weight: 400; }
.intro-text .dot { display: inline-block; width: 20px; height: 20px; margin: 0 14px 6px 0; vertical-align: middle; animation: none; box-shadow: none; background: #fff; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.stat { padding: 28px 22px 10px 0; }
.stat + .stat { padding-left: 22px; border-left: 1px solid var(--line); }
.stat b { display: block; font-weight: 500; font-size: clamp(44px, 6.4vw, 104px); line-height: 1; letter-spacing: -.04em; color: #fff; margin-bottom: 14px; }
.stat span { display: block; color: var(--text); font-size: 15px; line-height: 1.4; max-width: 28ch; }
@media (max-width: 860px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 28px; }
}

/* scroll-filled headline */
.words { font-weight: 500; font-size: clamp(38px, 7.6vw, 118px); line-height: 1; letter-spacing: -.035em; color: #fff; display: block; }
.words .w { transition: opacity .15s linear; }
.js .words .w { opacity: .16; }
.under { margin-top: clamp(24px, 4vw, 56px); }

/* size band */
.sizeband { display: grid; grid-template-columns: 1fr 2.4fr 1fr; gap: 3px; margin: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); }
.sizeband > div { padding: 22px 22px 26px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.sizeband .range { font: 500 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sizeband .what { font-size: clamp(20px, 2vw, 30px); font-weight: 500; color: #fff; line-height: 1.1; letter-spacing: -.02em; }
.sizeband .why { font-size: 14.5px; color: var(--text); }
.sizeband .s-mid { background: linear-gradient(160deg, rgba(244, 180, 74, .22), rgba(244, 180, 74, .06)); border-color: rgba(244, 180, 74, .6); }
.sizeband .s-mid .range { color: var(--amber); }
@media (max-width: 860px) { .sizeband { grid-template-columns: 1fr; } }

/* ---------- drag carousel ---------- */
.rail { display: flex; gap: 20px; overflow-x: auto; padding: 4px var(--gut) 8px; margin: 0 calc(-1 * var(--gut)); scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch; user-select: none; }
.rail::-webkit-scrollbar { display: none; }
.rail.drag { cursor: grabbing; }
.rail.drag * { pointer-events: none; }
.rail-hint { margin-top: 18px; font: 500 12px/1 var(--mono); color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.rcard {
  flex: none; position: relative; overflow: hidden;
  width: min(520px, 84vw); min-height: min(520px, 112vw);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(22px, 2.4vw, 34px); border-radius: 18px;
  background: #0a1224; border: 1px solid var(--line);
}
.rcard .art { position: absolute; inset: 0 0 auto 0; height: 58%; -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent); mask-image: linear-gradient(to bottom, #000 55%, transparent); }
.rcard .art svg { width: 100%; height: 100%; }
.rcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(2, 5, 12, .92) 8%, rgba(2, 5, 12, .15) 70%); }
.rcard > *:not(.art) { position: relative; z-index: 1; }
.rcard .tag { margin-bottom: 14px; }
.rcard h3 { font-weight: 500; font-size: clamp(26px, 3vw, 42px); line-height: 1.05; letter-spacing: -.028em; color: #fff; margin-bottom: 16px; text-wrap: balance; }
.rcard p { font-size: 15px; line-height: 1.5; color: #d4dcea; }
.rcard .who { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); color: #fff; font-size: 14px; }
.rcard.tall { min-height: min(500px, 110vw); }

/* ---------- cards ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 980px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .grid-2 { grid-template-columns: 1fr; } }
.card { padding: clamp(22px, 2.4vw, 34px); border-radius: 18px; background: rgba(255, 255, 255, .045); border: 1px solid var(--line); transition: border-color .3s, background .3s, transform .5s var(--ease); }
.card:hover { border-color: rgba(244, 180, 74, .55); background: rgba(255, 255, 255, .07); }
.card .tag { display: block; margin-bottom: 16px; }
.card h3 { font-weight: 500; font-size: clamp(22px, 2vw, 30px); line-height: 1.1; letter-spacing: -.022em; color: #fff; margin-bottom: 14px; text-wrap: balance; }
.card p + p { margin-top: 10px; }
.num { font-family: var(--mono); color: var(--amber); }

/* ---------- figures ---------- */
.figure { padding: clamp(18px, 2.4vw, 34px); border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.figure h3 { font-weight: 500; font-size: 24px; letter-spacing: -.02em; color: #fff; margin-bottom: 18px; }
figcaption { margin-top: 16px; color: var(--muted); font-size: 14px; max-width: 90ch; }
.scroll-x { overflow-x: auto; scrollbar-width: thin; }
.scroll-x svg { min-width: 640px; width: 100%; height: auto; }
.scroll-hint { display: none; color: var(--muted); font: 500 12px/1 var(--mono); margin-bottom: 10px; }
@media (max-width: 720px) { .scroll-hint { display: block; } }
.mt-24 { margin-top: 24px; } .mt-40 { margin-top: 40px; }

/* ---------- scale-up panels ---------- */
.panel { height: 220vh; position: relative; }
.panel-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.panel-frame { position: relative; width: 100%; height: 100%; overflow: hidden; background: #02050b; will-change: transform; }
.js .panel-frame { transform: scale(.66); border-radius: 50px; opacity: .8; }
.panel-frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.panel-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .86) 0%, rgba(0, 0, 0, .5) 30%, rgba(0, 0, 0, 0) 58%); pointer-events: none; }
.panel-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 clamp(24px, 6vw, 96px) clamp(32px, 7vh, 80px); max-width: 980px; }
.panel-copy .tag { display: block; margin-bottom: 18px; }
.panel-copy h3 { font-weight: 500; font-size: clamp(30px, 5vw, 76px); line-height: 1; letter-spacing: -.035em; color: #fff; margin-bottom: 18px; text-wrap: balance; }
.panel-copy p { font-size: clamp(16px, 1.45vw, 21px); line-height: 1.4; color: #dbe3f0; max-width: 62ch; }
.js .panel-copy > * { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .panel-copy > *:nth-child(2) { transition-delay: .08s; } .js .panel-copy > *:nth-child(3) { transition-delay: .16s; }
.js .panel.on .panel-copy > * { opacity: 1; transform: none; }
@media (max-width: 700px) { .panel { height: 190vh; } }

/* spacecraft */
.craft { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(20px, 4vw, 60px); align-items: center; padding: clamp(24px, 4vw, 60px); border-radius: 22px; background: radial-gradient(90% 120% at 100% 100%, rgba(111, 195, 255, .16), rgba(111, 195, 255, 0) 60%), #060b16; border: 1px solid var(--line); overflow: hidden; }
.craft .h3 { margin-bottom: 26px; }
.specs { display: grid; grid-template-columns: 8.5rem 1fr; gap: 0; }
.specs dt, .specs dd { padding: 13px 0; border-top: 1px solid var(--line); }
.specs dt { font: 500 12px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--amber); padding-right: 12px; }
.specs dd { color: #e2e9f5; font-size: 16px; }
.craft svg { width: 100%; height: auto; }
@media (max-width: 900px) { .craft { grid-template-columns: 1fr; } .specs { grid-template-columns: 6.6rem 1fr; } }

/* ---------- altitude figure legend etc. ---------- */
.alt-svg text { font-family: var(--sans); }

/* ---------- data bars ---------- */
.bars { display: grid; gap: 22px; }
.bar-row { display: grid; grid-template-columns: minmax(150px, 15rem) 1fr; gap: 20px; align-items: center; }
.bar-label b { display: block; color: #fff; font-weight: 500; font-size: 17px; }
.bar-label { color: var(--muted); font-size: 14px; line-height: 1.3; }
.bar-track { position: relative; height: 38px; display: flex; align-items: center; }
.bar { height: 100%; min-width: 3px; border-radius: 6px; background: linear-gradient(90deg, #3b93d6, var(--cyan)); transform-origin: left center; transition: transform 1.4s var(--ease); }
.bar.radar { background: var(--amber); }
.js .bar { transform: scaleX(0); }
.js .in .bar { transform: none; }
.bar.w0 { width: .27%; } .bar.w1 { width: 4.8%; } .bar.w2 { width: 28.6%; } .bar.w3 { width: 86%; }
.bar-val { margin-left: 12px; font: 500 13px/1 var(--mono); color: #fff; white-space: nowrap; }
@media (max-width: 720px) {
  .bar-row { grid-template-columns: 1fr; gap: 8px; }
  .bar-track { height: 30px; }
  .bar.w3 { width: 62%; } .bar.w2 { width: 22%; }
}

/* compare table */
.table-scroll { overflow-x: auto; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 16px; }
.compare th, .compare td { text-align: left; padding: 16px 18px 16px 0; border-top: 1px solid var(--line); vertical-align: top; }
.compare th { font: 500 12px/1 var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); border-top: 0; }
.compare td:first-child { color: #fff; width: 36%; }
.compare td.us { color: var(--cyan); }

/* ---------- timeline ---------- */
.timeline { position: relative; display: grid; gap: clamp(28px, 4vw, 56px); padding-left: clamp(28px, 4vw, 60px); margin-top: clamp(30px, 5vw, 70px); }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(to bottom, var(--amber), rgba(244, 180, 74, .15)); transform-origin: top; transform: scaleY(var(--p, 1)); }
.timeline li { position: relative; display: grid; grid-template-columns: minmax(7rem, 14rem) 1fr; gap: 16px 40px; }
.timeline li::before { content: ""; position: absolute; left: calc(-1 * clamp(28px, 4vw, 60px) + 1px); top: .65em; width: 11px; height: 11px; border-radius: 50%; background: #05070d; border: 2px solid var(--amber); }
.timeline .when { font: 500 14px/1.6 var(--mono); color: var(--amber); letter-spacing: .06em; text-transform: uppercase; }
.timeline h3 { font-weight: 500; font-size: clamp(24px, 3vw, 42px); line-height: 1.05; letter-spacing: -.028em; color: #fff; margin-bottom: 10px; }
.timeline p { max-width: 58ch; }
@media (max-width: 700px) { .timeline li { grid-template-columns: 1fr; gap: 6px; } }

/* claims */
.claims li { position: relative; padding: 22px 0 22px 44px; border-top: 1px solid var(--line); color: #e2e9f5; }
.claims li:last-child { border-bottom: 1px solid var(--line); }
.claims li::before { content: ""; position: absolute; left: 0; top: 29px; width: 20px; height: 1px; background: var(--amber); }

/* ---------- contact ---------- */
.contact-box { position: relative; overflow: hidden; border-radius: 22px; min-height: clamp(460px, 70vh, 640px); background: #000; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; padding: clamp(24px, 4vw, 56px); }
.contact-box canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.contact-box > *:not(canvas) { position: relative; z-index: 1; }
.contact-box h2 { max-width: 16ch; }
.contact-box p { max-width: 56ch; margin-top: 22px; color: #dbe3f0; font-size: clamp(16px, 1.4vw, 20px); }

/* ---------- sources ---------- */
.sources { counter-reset: s; display: grid; gap: 10px; font-size: 14px; color: var(--muted); max-width: 120ch; }
.sources li { counter-increment: s; position: relative; padding-left: 38px; scroll-margin-top: 90px; }
.sources li::before { content: counter(s); position: absolute; left: 0; font: 500 12px/1.9 var(--mono); color: var(--amber); }
.sources li:target { color: #fff; }
.sources a { color: #cfe0f6; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 3px; }
.sources a:hover { color: var(--amber); }

/* ---------- footer ---------- */
footer { background: var(--light); color: #000; margin-top: clamp(60px, 9vw, 120px); }
footer .wrap { padding-top: clamp(32px, 5vw, 64px); padding-bottom: clamp(24px, 3vw, 40px); }
.foot-nav { display: grid; grid-template-columns: repeat(2, max-content); grid-auto-flow: column; grid-template-rows: repeat(3, auto); column-gap: clamp(40px, 12vw, 200px); row-gap: 8px; }
.foot-nav a { color: #969696; font-weight: 500; font-size: clamp(30px, 4.4vw, 56px); letter-spacing: -.03em; line-height: 1.02; text-decoration: none; transition: color .3s; }
.foot-nav a:hover { color: #d98a14; }
.foot-bottom { margin-top: clamp(36px, 6vw, 80px); display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; font-size: 14px; }
.foot-bottom a { color: #000; text-underline-offset: 3px; }
.foot-bottom a:hover { color: #d98a14; }
.foot-bottom .fine { flex-basis: 100%; color: #5b6575; font-size: 13px; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .split .wi, .js .hero-fade, .js .panel-copy > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  .js .words .w { opacity: 1; }
  .js .panel-frame { transform: none; border-radius: 0; opacity: 1; }
  .js .bar { transform: none; transition: none; }
  .dot, .scroll-cue::after { animation: none; }
}

/* utilities (no inline styles: the CSP forbids them) */
.stats-top { margin-top: clamp(56px, 8vw, 120px); }
.d-md { font-size: clamp(34px, 5vw, 76px); }
.d-lg { font-size: clamp(34px, 5.4vw, 84px); }
.mb-32 { margin-bottom: 32px; }

/* ---------- v3: data-first narrative ---------- */
.hero-sub { max-width: 46ch; margin: 0 0 clamp(18px, 3vh, 30px); font-size: clamp(16px, 1.6vw, 24px); line-height: 1.3; letter-spacing: -.01em; color: #e3eaf6; }
.hero h1 { max-width: 12ch; margin-bottom: clamp(14px, 2.4vh, 24px); }
.table-scroll { margin-top: 4px; }
.compare th[scope="row"] { font: 500 14px/1.4 var(--sans); text-transform: none; letter-spacing: 0; color: #fff; border-top: 1px solid var(--line); width: 14%; padding-right: 16px; }
.compare.pop td.n { font: 500 clamp(22px, 2.6vw, 38px)/1 var(--sans); letter-spacing: -.03em; color: #fff; white-space: nowrap; }
.compare.pop td:first-child { width: 20%; font: 500 13px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.compare.pop tr.hot td { background: rgba(244, 180, 74, .09); }
.compare.pop tr.hot td:first-child { color: var(--amber); }
.compare.pop tr.hot td.n { color: var(--amber); }
.compare.pop tr.hot td:last-child { color: #fff; }
.compare.cmp { min-width: 880px; font-size: 15px; }
.compare.cmp td { color: #c4cfe0; width: 28%; }
.compare.cmp td.us, .compare.cmp th.us { color: var(--cyan); }
.compare.cmp th.us { font: 500 12px/1 var(--mono); }
.ministats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 3vw, 40px); margin-top: 8px; }
.ministats b { display: block; font-weight: 500; font-size: clamp(28px, 3.6vw, 52px); line-height: 1; letter-spacing: -.035em; color: #fff; margin-bottom: 12px; }
.ministats span { display: block; color: var(--text); font-size: 15px; max-width: 34ch; }
@media (max-width: 860px) { .ministats { grid-template-columns: 1fr; } }

.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.versus .side { padding: clamp(22px, 3vw, 40px); border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); display: grid; gap: 26px; align-content: start; }
.versus .side.us { border-color: rgba(111, 195, 255, .55); background: linear-gradient(160deg, rgba(111, 195, 255, .14), rgba(111, 195, 255, .03)); }
.versus .mono-label { color: var(--muted); }
.versus .us .mono-label { color: var(--cyan); }
.versus .pair b { display: block; font-weight: 500; font-size: clamp(36px, 5.2vw, 84px); line-height: 1; letter-spacing: -.04em; color: #fff; margin-bottom: 10px; }
.versus .ground .pair b { color: #c4cfe0; }
.versus .pair span { display: block; color: var(--text); font-size: 15px; max-width: 40ch; }
@media (max-width: 760px) { .versus { grid-template-columns: 1fr; } }

.phase .who { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); color: #fff; font-size: 15px; }

/* ---------- top-of-page size table ---------- */
.census { padding-top: clamp(100px, 13vw, 170px); }
.intro-after { padding-top: clamp(20px, 4vw, 60px); }
.compare.cen { min-width: 880px; font-size: 15px; }
.compare.cen th { vertical-align: bottom; line-height: 1.3; padding-right: 18px; }
.compare.cen th.us, .compare.cen td.us { color: var(--cyan); }
.compare.cen th sup a { color: var(--amber); }
.compare.cen td:first-child { width: 11%; font: 500 13px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.compare.cen td.n { font: 500 clamp(18px, 2vw, 30px)/1.1 var(--sans); letter-spacing: -.028em; color: #fff; white-space: nowrap; }
.compare.cen td.n.us { color: var(--cyan); }
.compare.cen tr.hot td { background: rgba(244, 180, 74, .09); }
.compare.cen tr.hot td:first-child { color: var(--amber); }
.compare.cen tr.sub td { padding-top: 10px; padding-bottom: 10px; border-top: 1px dashed var(--line); font-size: 14px; color: #aab6ca; }
.compare.cen tr.sub td:first-child { padding-left: 18px; font: 400 14px/1.3 var(--sans); letter-spacing: 0; text-transform: none; color: #aab6ca; }
.compare.cen tr.sub td.us { color: var(--cyan); }
.compare.cen td.hours { color: #fff; }
.compare.cen td.hours span { display: block; }
.compare.cen td.hours .h-radar { color: var(--amber); margin-bottom: 6px; }
.compare.cen td.hours .h-us { color: var(--cyan); }
.compare.cen td[colspan] { color: #c4cfe0; }

.hours-strip { display: none; gap: 14px; margin-top: 18px; }
.hours-strip div { padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); }
.hours-strip b { display: block; font-weight: 500; font-size: 26px; line-height: 1.1; letter-spacing: -.03em; margin-bottom: 6px; }
.hours-strip span { display: block; font-size: 14px; color: var(--text); }
.hours-strip .h-radar b { color: var(--amber); }
.hours-strip .h-us b { color: var(--cyan); }
@media (max-width: 860px) { .hours-strip { display: grid; } }


.census .display { color: var(--amber); }
