/* Stellar Silicon: one monochrome stylesheet for every page (home, digit lab, arcade).
   Sections alternate between a black field and a white one; every component draws from
   the same tokens, so it reads correctly on either. No accent colour: live vs emulated
   is carried by fill, dashes and a pulsing dot rather than by hue. */
@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@300;400;500;600&family=DM+Mono:wght@400;500&family=Michroma&display=swap');

:root, .theme-dark, .screen {
  --bg: #000;
  --fg: #fff;
  --surface: #0b0b0b;
  --surface-2: #161616;
  --line: rgba(255, 255, 255, .16);
  --line-strong: rgba(255, 255, 255, .38);
  --soft: #e4e4e4;
  --muted: #a8a8a8;
  --dim: #707070;
}
.theme-light {
  --bg: #f4f4f1;
  --fg: #0a0a0a;
  --surface: #ebebe7;
  --surface-2: #dedeD9;
  --line: rgba(0, 0, 0, .13);
  --line-strong: rgba(0, 0, 0, .34);
  --soft: #262626;
  --muted: #555;
  --dim: #8a8a8a;
}
:root {
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --header: 72px;
  --sans: Barlow, "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, monospace;
  --brand: Michroma, Barlow, Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
.theme-dark, .theme-light, .screen { background: var(--bg); color: var(--fg); }

* { box-sizing: border-box; }
[id] { scroll-margin-top: calc(var(--header) + 12px); }
body { margin: 0; background: #000; color: #fff; font: 400 16px/1.6 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img, svg, canvas { max-width: 100%; }
.hidden { display: none !important; }
::selection { background: var(--fg); color: var(--bg); }
:focus-visible { outline: 1px solid var(--fg); outline-offset: 3px; }
.wrap { margin: 0 auto; max-width: var(--max); padding: 0 var(--gutter); }

/* Page transition: a black curtain falls when an internal link is followed (site.js adds
   .is-leaving). It is invisible by default and never used on arrival, so a page can
   never be left hidden behind it if animations do not run. */
.curtain { background: #000; inset: 0; opacity: 0; pointer-events: none; position: fixed; z-index: 100; }
.curtain.is-leaving { animation: curtain-down .45s var(--ease) both; }
@keyframes curtain-down { from { opacity: 0; } to { opacity: 1; } }

/* ------------------------------------------------------------------ header -- */
.site-header {
  --bg: #000; --fg: #fff; --line: rgba(255, 255, 255, .16); --line-strong: rgba(255, 255, 255, .38); --soft: #e4e4e4; --muted: #a8a8a8;
  border-bottom: 1px solid transparent; color: var(--fg); height: var(--header); left: 0; position: fixed; right: 0; top: 0; z-index: 50;
  transition: background .4s ease, color .4s ease, border-color .4s ease, transform .5s var(--ease);
}
.site-header.is-solid { background: rgba(0, 0, 0, .86); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.site-header.on-light { --bg: #f4f4f1; --fg: #0a0a0a; --line: rgba(0, 0, 0, .13); --line-strong: rgba(0, 0, 0, .34); --soft: #262626; --muted: #555; }
.site-header.on-light.is-solid { background: rgba(244, 244, 241, .88); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { align-items: center; display: flex; gap: 32px; height: 100%; max-width: 1520px; }
.progress-bar { background: var(--fg); bottom: -1px; height: 1px; left: 0; position: absolute; transform: scaleX(0); transform-origin: left; width: 100%; }

.brand { align-items: center; color: inherit; display: flex; gap: 16px; text-decoration: none; }
.brand-mark { display: block; fill: currentColor; height: 30px; width: 56px; }
.brand-word { display: flex; flex-direction: column; font: 400 15px/1 var(--brand); letter-spacing: .36em; }
.brand-word small { color: var(--muted); font-size: 8px; letter-spacing: .72em; margin-top: 7px; }

.nav { display: flex; gap: 32px; margin-left: auto; }
.nav a { color: var(--soft); font: 500 13px var(--sans); letter-spacing: .22em; padding: 8px 0; position: relative; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.nav a::after { background: var(--fg); bottom: 0; content: ""; height: 1px; left: 0; position: absolute; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); width: 100%; }
.nav a:hover { color: var(--fg); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--fg); }
.nav { align-items: center; }
/* Contact sits at the end of the nav as a bordered button. */
.nav a.nav-cta { border: 1px solid var(--line-strong); color: var(--fg); padding: 9px 18px; transition: background .3s, color .3s; }
.nav a.nav-cta::after { display: none; }
.nav a.nav-cta:hover, .nav a.nav-cta[aria-current="page"] { background: var(--fg); color: var(--bg); }

.badge { align-items: center; border: 1px solid var(--line); color: var(--muted); display: inline-flex; font: 500 13px var(--mono); gap: 8px; letter-spacing: .14em; padding: 8px 12px; white-space: nowrap; }
.badge::before { background: currentColor; border-radius: 50%; content: ""; height: 6px; width: 6px; }
.badge--ok { border-color: var(--line-strong); color: var(--fg); }
.badge--ok::before { animation: pulse 1.6s ease-in-out infinite; box-shadow: 0 0 10px currentColor; }
.badge--bad::before { background: transparent; border: 1px solid currentColor; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.menu-toggle { background: none; border: 0; color: var(--fg); cursor: pointer; display: none; height: 40px; margin-left: 4px; padding: 0; position: relative; width: 32px; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { background: currentColor; content: ""; height: 1px; left: 4px; position: absolute; right: 4px; transition: transform .3s ease, opacity .2s; }
.menu-toggle::before { top: 13px; }
.menu-toggle span { top: 20px; }
.menu-toggle::after { top: 27px; }
.nav-open .menu-toggle::before { transform: translateY(7px) rotate(45deg); }
.nav-open .menu-toggle span { opacity: 0; }
.nav-open .menu-toggle::after { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------------------------------------------------- buttons -- */
.button {
  align-items: center; background: transparent; border: 1px solid var(--fg); color: var(--fg); cursor: pointer; display: inline-flex;
  font: 500 12px var(--sans); gap: 12px; isolation: isolate; justify-content: center; letter-spacing: .22em; min-height: 50px; overflow: hidden; padding: 0 30px;
  position: relative; text-decoration: none; text-transform: uppercase; transition: color .45s var(--ease), transform .35s var(--ease);
}
/* The fill wipes up from the bottom on hover rather than snapping. */
.button::before { background: var(--fg); content: ""; inset: 0; position: absolute; transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: -1; }
.button:hover { color: var(--bg); }
.button:hover::before { transform: scaleY(1); }
.button b { font-weight: 400; transition: transform .45s var(--ease); }
.button:hover b { transform: translateX(4px); }
.button:disabled { cursor: wait; opacity: .5; }
.button:disabled:hover { color: var(--fg); }
.button:disabled::before { transform: scaleY(0); }
.button--solid { color: var(--bg); }
.button--solid::before { transform: scaleY(1); transform-origin: top; }
.button--solid:hover { color: var(--fg); }
.button--solid:hover::before { transform: scaleY(0); }
.button--quiet { border-color: var(--line-strong); color: var(--soft); }

/* -------------------------------------------------------------- typography -- */
.eyebrow { align-items: center; color: var(--muted); display: flex; font: 500 15px var(--mono); gap: 18px; letter-spacing: .14em; margin: 0 0 26px; text-transform: uppercase; }
.eyebrow b { color: var(--fg); font-weight: 500; }
.eyebrow b::after { background: var(--line-strong); content: ""; display: inline-block; height: 1px; margin-left: 16px; vertical-align: middle; width: 40px; }
.display { font: 500 clamp(30px, 3.6vw, 54px)/1.06 var(--sans); letter-spacing: .015em; margin: 0; text-transform: uppercase; }
.title { font: 500 clamp(28px, 3.1vw, 46px)/1.1 var(--sans); letter-spacing: .01em; margin: 0; text-transform: uppercase; text-wrap: balance; }
.lede { color: var(--soft); font: 300 clamp(17px, 1.3vw, 20px)/1.6 var(--sans); margin: 28px 0 0; max-width: 660px; }
.body { color: var(--muted); font: 400 17px/1.75 var(--sans); margin: 22px 0 0; max-width: 580px; }
.body b { color: var(--fg); font-weight: 500; }

/* Split headings: each word rises out of its own mask, staggered (site.js wraps them). */
.split-word { display: inline-block; overflow: hidden; padding-bottom: .06em; vertical-align: top; }
.split-word > span { display: inline-block; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.js [data-split]:not(.is-in) .split-word > span { transform: translateY(105%); }

/* Generic reveal: fade and rise; children of .stagger follow one another. */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .stagger > * { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .stagger.is-in > * { opacity: 1; transform: none; }
.stagger.is-in > *:nth-child(2) { transition-delay: 120ms; }
.stagger.is-in > *:nth-child(3) { transition-delay: 240ms; }
.stagger.is-in > *:nth-child(4) { transition-delay: 360ms; }
.stagger.is-in > *:nth-child(5) { transition-delay: 480ms; }

/* --------------------------------------------------------------- starfield -- */
.sky { inset: 0; overflow: hidden; pointer-events: none; position: absolute; }
.sky canvas { display: block; height: 100%; width: 100%; }
/* The limb of a planet, lit from behind: one huge circle with a glowing edge. */
.horizon {
  background: #000; border-radius: 50%; bottom: calc(-1 * min(150vw, 2100px) + 17vh); height: min(150vw, 2100px);
  left: 50%; position: absolute; transform: translate(-50%, var(--rise, 0px)); width: min(150vw, 2100px);
  box-shadow: 0 -1px 0 rgba(255, 255, 255, .7), 0 -20px 70px rgba(255, 255, 255, .22), 0 -90px 200px rgba(255, 255, 255, .1);
  animation: horizon-in 2.4s var(--ease) .3s both;
}
@keyframes horizon-in { from { opacity: 0; translate: 0 12vh; } to { opacity: 1; translate: 0 0; } }

/* -------------------------------------------------------------------- hero -- */
.hero { align-items: center; display: flex; min-height: 100vh; min-height: 100svh; overflow: hidden; position: relative; }
.hero-inner { padding: calc(var(--header) + 12px) var(--gutter) 5vh; position: relative; text-align: center; width: 100%; will-change: transform, opacity; }

/* The full logo lockup, as on the brand sheet: mark, STELLAR, SILICON, tagline. */
.lockup { margin: 0; }
.lockup-mark { display: block; height: auto; margin: 0 auto clamp(20px, 3.5vh, 42px); overflow: visible; width: clamp(120px, min(17vw, 20vh), 250px); }
.lockup-mark path { fill: #fff; stroke: #fff; stroke-width: 1.4; }
.js .lockup-mark path { animation: mark-draw 2s var(--ease) .35s both, mark-fill .9s ease 1.5s both; fill-opacity: 0; stroke-dasharray: var(--len, 1200); stroke-dashoffset: var(--len, 1200); }
@keyframes mark-draw { to { stroke-dashoffset: 0; } }
@keyframes mark-fill { to { fill-opacity: 1; stroke-opacity: 0; } }
.lockup-word { display: block; font: 400 clamp(34px, min(6.2vw, 10.5vh), 92px)/1 var(--brand); letter-spacing: .34em; margin-right: -.34em; }
.lockup-sub { color: #e0e0e0; display: block; font: 400 clamp(12px, min(1.5vw, 2.6vh), 22px)/1 var(--brand); letter-spacing: .72em; margin: clamp(16px, 2.2vw, 28px) -.72em 0 0; }
.lockup-word .ch, .lockup-sub .ch { display: inline-block; }
.js .lockup-word .ch { animation: letter-in 1.4s var(--ease) both; animation-delay: calc(1s + var(--i) * 70ms); }
.js .lockup-sub .ch { animation: letter-in 1.2s var(--ease) both; animation-delay: calc(1.5s + var(--i) * 55ms); }
@keyframes letter-in { from { filter: blur(12px); opacity: 0; transform: translateY(.35em); } to { filter: blur(0); opacity: 1; transform: none; } }
.tagline { align-items: center; color: #cfcfcf; display: flex; font: 500 clamp(11px, .95vw, 14px)/1.4 var(--mono); gap: 22px; justify-content: center; letter-spacing: .14em; margin: clamp(24px, 4.5vh, 50px) 0 0; text-transform: uppercase; }
.tagline::before, .tagline::after { background: rgba(255, 255, 255, .35); content: ""; height: 1px; width: clamp(24px, 6vw, 90px); }
.hero .lede { margin: 22px auto 0; max-width: 620px; }
/* Equal-width buttons: a shrink-wrapped grid whose 1fr columns all take the widest label's width. */
.hero-actions { display: grid; gap: 14px; grid-auto-columns: 1fr; grid-auto-flow: column; margin: clamp(24px, 4.5vh, 40px) auto 0; width: max-content; }
.js .hero-fade { animation: rise-in 1.3s var(--ease) both; animation-delay: var(--d, 2s); }
@keyframes rise-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------- statement -- */
/* Pinned while the reader scrolls; each word brightens as it is reached. */
.statement { height: 200vh; position: relative; }
.statement-pin { align-items: center; display: flex; height: 100vh; overflow: hidden; position: sticky; top: 0; }
.statement-grid { align-items: center; display: grid; gap: clamp(32px, 5vw, 90px); grid-template-columns: 1.1fr .9fr; position: relative; width: 100%; }
.statement-text { font: 300 clamp(24px, 2.9vw, 42px)/1.35 var(--sans); letter-spacing: .005em; margin: 0; max-width: 30ch; }
.orbit-figure { animation: rise-in 1.4s var(--ease) both; justify-self: center; margin: 0; max-width: 560px; width: 100%; }
.orbit { display: block; height: auto; overflow: visible; width: 100%; }
.orbit-figure figcaption { color: var(--muted); font: 500 13px var(--mono); letter-spacing: .14em; margin-top: 18px; text-align: center; text-transform: uppercase; }
.orbit-path { fill: none; stroke: rgba(255, 255, 255, .4); stroke-dasharray: 2 6; stroke-width: 1; }
.orbit-path--back { stroke: rgba(255, 255, 255, .2); }
.globe-body { fill: #000; }
.globe-rim { fill: none; stroke: rgba(255, 255, 255, .6); stroke-width: 1; }
.meridian, .parallel { fill: none; stroke: rgba(255, 255, 255, .17); stroke-width: 1; }
.sat-glow { fill: #fff; opacity: .08; }
.sat-body { fill: #fff; }
.sat-panel { fill: rgba(255, 255, 255, .14); stroke: #fff; stroke-width: 1; }
.sat-arm { stroke: #fff; stroke-width: 1; }
.statement .sw { opacity: .14; transition: opacity .25s linear; }
.statement .sw.is-lit { opacity: 1; }
.no-js .statement, .statement.is-static { height: auto; }
.statement.is-static .statement-pin { height: auto; padding: 18vh 0; position: static; }
.statement.is-static .sw { opacity: 1; }

/* ---------------------------------------------------------------- sections -- */
.section { overflow: hidden; padding: clamp(80px, 10vw, 140px) 0; position: relative; }
.split { align-items: center; display: grid; gap: clamp(40px, 6vw, 110px); grid-template-columns: 1fr 1fr; }
.split--figure { gap: clamp(32px, 4vw, 72px); grid-template-columns: 1.05fr .95fr; }
.section-index { color: var(--fg); font: 300 clamp(80px, 10vw, 150px)/.8 var(--sans); opacity: .06; pointer-events: none; position: absolute; right: var(--gutter); top: clamp(28px, 4vw, 56px); user-select: none; }
.section > .wrap { position: relative; }

.power-compare { border-top: 1px solid var(--line); display: grid; gap: 44px; padding-top: 40px; }
.power-row small { color: var(--muted); display: block; font: 500 13px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.power-row strong { display: block; font: 300 clamp(50px, 5.6vw, 86px)/1 var(--sans); letter-spacing: -.02em; margin: 12px 0 18px; }
.power-row i { background: var(--surface-2); display: block; height: 3px; position: relative; }
.power-row i b { background: var(--fg); display: block; height: 100%; transform: scaleX(0); transform-origin: left; transition: transform 2s var(--ease) .3s; width: var(--w); }
.power-compare.is-in .power-row i b { transform: scaleX(1); }
.power-row--dim strong { color: var(--dim); }
.power-row--dim i b { background: var(--dim); }
.power-row--dim i::after { border-left: 1px dashed var(--muted); bottom: -10px; content: ""; left: var(--w); position: absolute; top: -10px; }
.sat-figure { display: block; margin-left: auto; max-width: 760px; overflow: visible; width: 100%; }
.sat-figure rect, .sat-figure path { fill: none; stroke: var(--fg); stroke-width: 1.4; }
.sat-figure .sat-grid { stroke: var(--muted); stroke-width: 1; }
.sat-figure .sat-chip { fill: var(--fg); }
.sat-figure .sat-pkg { fill: var(--bg); }
.sat-figure .sat-die { stroke: var(--bg); stroke-width: 1; }
.sat-figure .sat-lead path { stroke: var(--line-strong); stroke-width: 1; }
.sat-dot circle { fill: var(--fg); }
.sat-figure .sat-land { fill: url(#satEarthFade); stroke: none; }
.sat-figure .sat-globe { stroke: var(--line); stroke-width: 1; }
.sat-earth-label { fill: var(--muted); }
.sat-stop-a { stop-color: var(--fg); stop-opacity: .06; }
.sat-stop-b { stop-color: var(--fg); stop-opacity: 0; }
.sat-figure .sat-link { stroke-dasharray: 4 6; }
.sat-figure .sat-earth { stroke: var(--fg); stroke-width: 1.4; }
.sat-figure .sat-atmo { stroke: var(--line-strong); stroke-dasharray: 2 5; }
.sat-figure .sat-heat path { stroke: var(--muted); opacity: .7; }
.sat-cap { fill: var(--fg); font: 500 16px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.sat-sub { fill: var(--muted); font: 400 15px var(--mono); letter-spacing: .04em; }
.sat-figure.is-in .sat-link { animation: sat-link 1.2s linear infinite; }
.sat-figure.is-in .sat-heat path { animation: sat-heat 2.4s ease-in-out infinite; }
.sat-figure.is-in .sat-heat path:nth-child(2) { animation-delay: .5s; }
.sat-figure.is-in .sat-heat path:nth-child(3) { animation-delay: 1s; }
@keyframes sat-link { to { stroke-dashoffset: -20; } }
@keyframes sat-heat { 0% { opacity: 0; transform: translateY(6px); } 50% { opacity: .9; } 100% { opacity: 0; transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .sat-figure.is-in .sat-link, .sat-figure.is-in .sat-heat path { animation: none; } }
/* On phones the labels would be too small to read; the four items below the figure carry the same text. */
@media (max-width: 560px) { .sat-cap, .sat-sub, .sat-lead, .sat-dot { display: none; } }
.limits { border-top: 1px solid var(--line); display: grid; gap: 0; grid-template-columns: repeat(4, 1fr); list-style: none; margin: clamp(32px, 3.5vw, 48px) 0 0; padding: 0; }
.limits li { border-right: 1px solid var(--line); padding: 28px 28px 4px 0; }
.limits li + li { padding-left: 28px; }
.limits li:last-child { border-right: 0; }
.limits small { color: var(--fg); display: block; font: 500 13px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.limits p { color: var(--muted); font: 400 15px/1.65 var(--sans); margin: 12px 0 0; }

/* Architecture figure. .is-in starts the signal animation: data shuttles along the
   conventional bus, activations sweep along the rows, delay flows down the columns. */
.imc-figure { display: block; height: auto; margin: 0 auto; max-width: 540px; width: 100%; }
.imc-figure text { font-family: var(--mono); }
.imc-cap { fill: var(--muted); font-size: 9.5px; letter-spacing: .14em; }
.imc-cap--accent { fill: var(--fg); }
.imc-box { fill: var(--surface-2); stroke: var(--line-strong); stroke-width: 1; }
.imc-box--accent { fill: var(--fg); stroke: var(--fg); }
.imc-label { fill: var(--soft); font-size: 11px; letter-spacing: .12em; text-anchor: middle; }
.imc-flow { fill: none; stroke: var(--dim); stroke-width: 1.4; }
.imc-flow--back { stroke-dasharray: 4 3; }
.imc-tip { fill: var(--dim); }
.imc-tip--out { fill: var(--fg); }
.imc-mid { fill: var(--muted); font-size: 10px; text-anchor: middle; }
.imc-mid--accent { fill: var(--fg); }
.imc-warn { fill: var(--soft); font-size: 10px; text-anchor: middle; }
.imc-rule { stroke: var(--line); stroke-width: 1; }
.imc-side { fill: var(--muted); font-size: 8.5px; letter-spacing: .1em; text-anchor: middle; }
.imc-side--accent { fill: var(--fg); }
.imc-side--start { text-anchor: start; }
.imc-side--end { text-anchor: end; }
.imc-rows path { fill: none; stroke: var(--line-strong); stroke-width: 1.2; }
.imc-cols path { fill: none; stroke: var(--muted); stroke-width: 1.4; }
.imc-cols--out path { stroke: var(--fg); }
.imc-cells rect { fill: var(--bg); stroke: var(--line-strong); stroke-width: 1; transition: fill .3s; }
.imc-w text { fill: var(--soft); font-size: 10px; text-anchor: middle; }
.imc-tdc-label text { fill: var(--bg); font-size: 10px; font-weight: 500; letter-spacing: .06em; text-anchor: middle; }
.imc-pulse path { fill: none; opacity: 0; stroke: var(--fg); stroke-dasharray: 14 400; stroke-linecap: round; stroke-width: 2.4; }
.imc-figure.is-in .imc-pulse--bus path { animation: bus 1.6s linear infinite; opacity: 1; }
.imc-figure.is-in .imc-pulse--bus path:nth-child(2) { animation-delay: .8s; }
.imc-figure.is-in .imc-pulse--row path { animation: sweep-row 2.4s var(--ease) infinite; opacity: 1; }
.imc-figure.is-in .imc-pulse--col path { animation: sweep-col 2.4s ease-in infinite; opacity: 1; }
.imc-pulse path:nth-child(2) { animation-delay: .15s !important; }
.imc-pulse path:nth-child(3) { animation-delay: .3s !important; }
.imc-pulse path:nth-child(4) { animation-delay: .45s !important; }
@keyframes bus { from { stroke-dashoffset: 14; } to { stroke-dashoffset: -190; } }
@keyframes sweep-row { 0% { stroke-dashoffset: 14; } 50%, 100% { stroke-dashoffset: -360; } }
@keyframes sweep-col { 0%, 35% { stroke-dashoffset: 14; } 80%, 100% { stroke-dashoffset: -230; } }
.imc-figure.is-in .imc-tdc rect { animation: tdc-flash 2.4s ease infinite; }
.imc-figure.is-in .imc-tdc rect:nth-child(2) { animation-delay: .15s; }
.imc-figure.is-in .imc-tdc rect:nth-child(3) { animation-delay: .3s; }
.imc-figure.is-in .imc-tdc rect:nth-child(4) { animation-delay: .45s; }
@keyframes tdc-flash { 0%, 72% { opacity: .55; } 80% { opacity: 1; } 100% { opacity: .55; } }

.metrics { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 56px; }
.metric { border-right: 1px solid var(--line); padding: 40px 32px 8px 0; }
.metric + .metric { padding-left: 32px; }
.metric:last-child { border-right: 0; }
.metric strong { display: block; font: 300 clamp(52px, 5.8vw, 90px)/1 var(--sans); letter-spacing: -.03em; }
.metric span { color: var(--muted); display: block; font: 400 16px/1.6 var(--sans); margin-top: 20px; max-width: 30ch; }
.footnote { color: var(--dim); font: 400 13px/1.7 var(--mono); letter-spacing: .02em; margin: 56px 0 0; max-width: 900px; }

/* Roadmap: the rail fills with scroll progress (site.js sets --p on the list). */
.timeline { --p: 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 60px 0 0; padding: 0; position: relative; }
.timeline::before, .timeline::after { content: ""; height: 1px; left: 0; position: absolute; top: 0; width: 100%; }
.timeline::before { background: var(--line); }
.timeline::after { background: var(--fg); transform: scaleX(var(--p)); transform-origin: left; }
.timeline li { padding: 36px 28px 0 0; position: relative; }
.timeline li::before { background: var(--bg); border: 1px solid var(--muted); border-radius: 50%; content: ""; height: 11px; left: 0; position: absolute; top: -6px; transition: background .4s, border-color .4s, box-shadow .4s; width: 11px; z-index: 1; }
.timeline li.is-reached::before { background: var(--fg); border-color: var(--fg); }
.timeline li.is-now.is-reached::before { animation: pulse 1.6s ease-in-out infinite; box-shadow: 0 0 14px var(--fg); }
.timeline small { color: var(--muted); font: 500 13px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.timeline h3 { font: 500 19px/1.3 var(--sans); letter-spacing: .06em; margin: 14px 0 0; text-transform: uppercase; }
.timeline p { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 14px 0 0; }

/* Demo cards tilt toward the cursor and carry a soft spotlight (site.js sets the vars). */
.demo-grid { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; margin-top: 56px; perspective: 1400px; }
.demo-card {
  --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg;
  background: #000; border: 1px solid #000; color: #fff; display: flex; flex-direction: column; min-height: 440px; overflow: hidden;
  padding: clamp(28px, 4vw, 52px); position: relative; text-decoration: none; transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d; transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.demo-card::before { background: radial-gradient(520px circle at var(--mx) var(--my), rgba(255, 255, 255, .13), transparent 45%); content: ""; inset: 0; opacity: 0; pointer-events: none; position: absolute; transition: opacity .5s; }
.demo-grid > .demo-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
.demo-card:hover { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); }
.theme-dark .demo-card { background: var(--surface); border-color: var(--line); }
.demo-card:hover::before { opacity: 1; }
.demo-card svg { color: #fff; height: 170px; margin: 0 0 auto; transition: transform .8s var(--ease); width: 100%; }
.demo-card:hover svg { transform: translateZ(40px) scale(1.04); }
.demo-card h3 { font: 500 clamp(24px, 2.4vw, 34px)/1.1 var(--sans); letter-spacing: .06em; margin: 36px 0 0; text-transform: uppercase; }
.demo-card p { color: #b5b5b5; font-size: 16px; line-height: 1.7; margin: 14px 0 28px; max-width: 44ch; }
.demo-card .more { font: 500 12px var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.demo-card .more b { display: inline-block; font-weight: 400; margin-left: 10px; transition: transform .45s var(--ease); }
.demo-card:hover .more b { transform: translateX(8px); }
.demo-card .draw-path { stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.6s var(--ease) .3s; }
.demo-grid.is-in .draw-path { stroke-dashoffset: 0; }
.lander-bob { animation: bob 3.2s ease-in-out infinite; }
.lander-flame { animation: flame .18s steps(2) infinite; transform-origin: 0 12px; }
@keyframes bob { 0%, 100% { transform: translate(220px, 58px); } 50% { transform: translate(220px, 70px); } }
@keyframes flame { from { transform: scaleY(1); } to { transform: scaleY(.72); } }

/* --------------------------------------------------------------- sub-pages -- */
.page-hero { overflow: hidden; padding: calc(var(--header) + clamp(28px, 3.5vw, 52px)) 0 clamp(32px, 3.5vw, 52px); position: relative; }
.page-hero .wrap { position: relative; }
.page-hero .lede { max-width: 47em; }
/* Banners stay short so each page's content is visible on arrival. */
.page-hero .lede { margin-top: 20px; }
.page-hero .availability { margin-top: 22px; }
.page-hero + .lab { padding-top: clamp(28px, 3vw, 44px); }
.availability { border-left: 1px solid var(--fg); color: var(--muted); font: 400 15px/1.7 var(--sans); margin: 30px 0 0; max-width: 800px; padding: 2px 0 2px 22px; }
.availability b { color: var(--fg); font-weight: 500; }
.lab { padding: clamp(40px, 5vw, 72px) 0 clamp(72px, 9vw, 120px); }

.lab-grid { background: var(--line); border: 1px solid var(--line); display: grid; gap: 1px; grid-template-columns: 1.05fr .95fr; }
.canvas-panel, .result-panel { background: var(--bg); min-width: 0; padding: clamp(18px, 2.6vw, 36px); }
.theme-light .canvas-panel, .theme-light .result-panel { background: #fff; }
.panel-head { align-items: flex-start; border-bottom: 1px solid var(--line); display: flex; gap: 16px; justify-content: space-between; padding-bottom: 20px; }
.panel-head small { color: var(--muted); font: 500 13px var(--mono); letter-spacing: .14em; }
.panel-head h3 { font: 500 24px/1.2 var(--sans); letter-spacing: .06em; margin: 8px 0 0; text-transform: uppercase; }
.result-dot { animation: pulse 1.6s ease-in-out infinite; background: var(--fg); border-radius: 50%; height: 7px; margin-top: 4px; width: 7px; }

.pixel-readout { align-items: center; color: var(--muted); display: flex; font: 400 13px/1.5 var(--mono); gap: 10px; letter-spacing: .12em; }
.pixel-readout canvas, .wl-seen { background: #000; border: 1px solid var(--line-strong); height: 52px; image-rendering: pixelated; width: 52px; }

/* The drawing surfaces are screens: always black, whatever section they sit in. */
.drawing-wrap { --bg: #000; --fg: #fff; background: #000; border: 1px solid var(--line); display: grid; margin-top: 22px; place-items: center; position: relative; }
.drawing-wrap::before, .drawing-wrap::after { background: rgba(255, 255, 255, .1); content: ""; position: absolute; }
.drawing-wrap::before { height: 1px; left: 8%; right: 8%; top: 50%; }
.drawing-wrap::after { bottom: 8%; left: 50%; top: 8%; width: 1px; }
.drawing-wrap canvas { cursor: crosshair; display: block; max-width: 100%; position: relative; touch-action: none; width: 280px; z-index: 1; }
.corner, .draw-hint { color: #6f6f6f; font: 400 13px var(--mono); letter-spacing: .12em; pointer-events: none; position: absolute; z-index: 2; }
.corner--tl { left: 12px; top: 12px; }
.corner--br { bottom: 12px; right: 12px; }
.draw-hint { left: 50%; top: 14px; transform: translateX(-50%); }
.digit-guide { color: rgba(255, 255, 255, .07); font: 300 190px/.8 var(--sans); left: 50%; pointer-events: none; position: absolute; top: 50%; transform: translate(-50%, -45%); z-index: 2; }
.actions { align-items: center; display: flex; gap: 12px; justify-content: space-between; margin-top: 20px; }

.empty-state { align-items: center; color: var(--muted); display: flex; flex-direction: column; justify-content: center; min-height: 360px; text-align: center; }
.empty-number { align-items: center; animation: breathe 3.6s ease-in-out infinite; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--dim); display: flex; font: 300 58px var(--sans); height: 116px; justify-content: center; margin-bottom: 22px; width: 116px; }
@keyframes breathe { 0%, 100% { box-shadow: 0 0 0 0 var(--line); } 50% { box-shadow: 0 0 0 14px transparent; } }
.empty-state p { color: var(--soft); font-size: 17px; margin: 0 0 8px; }
.empty-state small { font: 400 13px var(--mono); letter-spacing: .14em; }

.progress { display: grid; gap: 12px; list-style: none; margin: 30px 0; padding: 0; }
.progress li { align-items: center; color: var(--dim); display: grid; font: 400 13px var(--mono); gap: 12px; grid-template-columns: 14px 1fr; letter-spacing: .14em; text-transform: uppercase; transition: color .2s; }
.progress li::before { border: 1px solid var(--dim); border-radius: 50%; content: ""; height: 8px; margin-left: 3px; width: 8px; }
.progress--active { color: var(--fg) !important; }
.progress--active::before { animation: pulse 1s ease-in-out infinite; background: var(--fg); border-color: var(--fg) !important; }
.progress--done { color: var(--muted) !important; }
.progress--done::before { background: var(--muted); border-color: var(--muted) !important; }

.result-content:not(.hidden) { animation: rise-in .8s var(--ease) both; }
.result-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { border: 1px solid var(--line-strong); color: var(--soft); font: 500 13px var(--mono); letter-spacing: .14em; padding: 7px 10px; }
.chip--live { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.chip--sim { border-style: dashed; }
.prediction-block { align-items: flex-end; display: flex; gap: 22px; margin: 30px 0 22px; }
.prediction-block > span { color: var(--muted); font: 500 13px var(--mono); letter-spacing: .14em; }
.prediction-block strong { font: 300 104px/.78 var(--sans); }
.prediction-block p { color: var(--fg); font: 500 13px var(--mono); letter-spacing: .1em; margin: 0 0 6px; }
.divider { border-top: 1px solid var(--line); }
.prob-head { color: var(--muted); display: flex; font: 500 13px var(--mono); justify-content: space-between; letter-spacing: .14em; margin: 22px 0 12px; }
.probabilities { display: grid; gap: 9px; }
.probability { align-items: center; display: grid; gap: 12px; grid-template-columns: 16px 1fr 54px; }
.probability > span { color: var(--soft); font: 500 13px var(--mono); }
.probability i { background: var(--surface-2); display: block; height: 4px; overflow: hidden; }
.probability b { animation: grow 1s var(--ease) both; background: var(--fg); display: block; height: 100%; transform-origin: left; }
@keyframes grow { from { transform: scaleX(0); } }
.probability strong { color: var(--soft); font: 400 13px var(--mono); text-align: right; }
.wl-bars .probability:not(:first-child) b { opacity: .5; }
.notes { border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; line-height: 1.65; margin: 26px 0 0; padding: 16px 0 0 18px; }

.benchmark { border-top: 1px solid var(--line); margin-top: 28px; padding-top: 22px; }
.benchmark-head { align-items: baseline; display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: space-between; }
.benchmark-head small { color: var(--fg); font: 500 13px/1.4 var(--mono); letter-spacing: .12em; }
.benchmark-head span { color: var(--muted); font: 400 10.5px var(--mono); letter-spacing: .14em; white-space: nowrap; }
.bm-node { color: var(--muted); }
.benchmark-group { margin-top: 30px; }
.bm-title { font: 500 16px var(--sans); letter-spacing: .06em; margin: 0; text-transform: uppercase; }
.bm-sub { color: var(--muted); font-size: 14.5px; line-height: 1.55; margin: 6px 0 14px; }
.benchmark-row { align-items: center; display: grid; gap: 12px; grid-template-columns: 124px 1fr 90px; margin-top: 10px; }
.benchmark-row > span { color: var(--soft); font: 500 13px var(--sans); letter-spacing: .04em; }
.benchmark-row > span em { color: var(--muted); display: block; font: 400 13px var(--mono); font-style: normal; letter-spacing: .08em; }
.benchmark-row > i { background: var(--surface-2); display: block; height: 6px; }
.benchmark-row > i > b { background: var(--dim); display: block; height: 100%; transition: width 1.2s var(--ease); width: 0; }
.benchmark-row > strong { color: var(--soft); font: 500 13px var(--mono); text-align: right; }
.benchmark-row--stellar > span, .benchmark-row--stellar > strong { color: var(--fg); }
.benchmark-row--stellar > i > b { background: var(--fg); }
.benchmark-row--limit > i > b { background: transparent; border: 1px dashed var(--muted); }
.benchmark-row--limit > span, .benchmark-row--limit > strong { color: var(--muted); }
.benchmark-callout { color: var(--fg); font: 500 14.5px/1.5 var(--sans); margin: 14px 0 0; }
.bm-note-line { color: var(--muted); font-size: 14px; line-height: 1.65; margin: 12px 0 0; }
.bm-note-line span { color: var(--fg); font-weight: 500; }
.bm-asterisk { color: var(--muted); }
.benchmark-note { color: var(--dim); display: block; font: 400 10.5px/1.7 var(--mono); letter-spacing: .02em; margin-top: 22px; }

.terminal { --fg: #fff; background: #000; border: 1px solid var(--line); margin-top: 24px; overflow: hidden; }
.terminal-head { align-items: center; background: #0b0b0b; border-bottom: 1px solid rgba(255, 255, 255, .14); display: flex; gap: 10px; padding: 9px 12px; }
.terminal-dots { display: flex; gap: 5px; }
.terminal-dots i { background: #555; border-radius: 50%; height: 6px; width: 6px; }
.terminal-head small { color: #a8a8a8; font: 400 13px var(--mono); letter-spacing: .12em; }
.terminal-head small span { color: #fff; }
.switch { cursor: pointer; display: inline-flex; margin-left: auto; }
.switch input { height: 0; opacity: 0; position: absolute; width: 0; }
.switch-track { background: #161616; border: 1px solid rgba(255, 255, 255, .38); border-radius: 99px; display: block; height: 16px; position: relative; transition: background .2s; width: 30px; }
.switch-track::after { background: #a8a8a8; border-radius: 50%; content: ""; height: 10px; left: 2px; position: absolute; top: 2px; transition: transform .2s, background .2s; width: 10px; }
.switch input:checked + .switch-track { background: #fff; }
.switch input:checked + .switch-track::after { background: #000; transform: translateX(14px); }
.switch input:focus-visible + .switch-track { outline: 1px solid #fff; outline-offset: 2px; }
.terminal-body { background: #000; color: #e4e4e4; font: 400 13px/1.75 var(--mono); margin: 0; max-height: 260px; overflow: auto; padding: 12px; white-space: pre; }

/* ------------------------------------------------------------------ arcade -- */
.wl-tabs { border-bottom: 1px solid var(--line); display: flex; gap: 0 40px; margin: 0 0 36px; overflow-x: auto; position: relative; scrollbar-width: none; }
.wl-tabs::-webkit-scrollbar { display: none; }
.wl-tab { background: none; border: 0; flex: none; white-space: nowrap; color: var(--muted); cursor: pointer; font: 500 13px var(--sans); letter-spacing: .22em; padding: 18px 0; text-transform: uppercase; transition: color .3s; }
.wl-tab:hover, .wl-tab.is-active { color: var(--fg); }
.wl-tab-ink { background: var(--fg); bottom: 0; height: 2px; left: 0; position: absolute; transition: transform .55s var(--ease), width .55s var(--ease); width: 0; }
.wl-panel[hidden] { display: none; }
.wl-panel:not([hidden]) { animation: rise-in .7s var(--ease) both; }
.wl-panel:not(.lab-grid) { border: 1px solid var(--line); }
#wl-pad { cursor: crosshair; touch-action: none; width: 280px; }
.wl-sky-wrap canvas { cursor: default; height: auto; max-width: 100%; width: min(100%, 720px, calc((100vh - 430px) * 1.5)); min-width: min(100%, 420px); }
.wl-hint { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.actions .wl-hint { text-align: right; }
.wl-actions-left { justify-content: flex-start; }
.wl-cats { color: var(--muted); font: 400 13px/1.8 var(--mono); letter-spacing: .04em; margin: 18px 0 0; }
.wl-lede { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 22px 0 0; max-width: 560px; }
.wl-lede em { color: var(--fg); font-style: normal; }
.wl-bars { margin-top: 24px; }
.wl-bars .probability { grid-template-columns: 120px 1fr 54px; }
.wl-bars .probability > span { font: 500 14.5px var(--sans); letter-spacing: .04em; }
.wl-bars .probability:first-child > span { color: var(--fg); }
.wl-meta { border-top: 1px solid var(--line); color: var(--muted); font: 400 13px/1.8 var(--mono); letter-spacing: .04em; margin: 26px 0 0; padding-top: 14px; }
.wl-meta b { font-weight: 500; }
.wl-meta b.is-live { background: var(--fg); color: var(--bg); padding: 1px 6px; }
.wl-meta b.is-emulated { border: 1px dashed var(--muted); color: var(--soft); padding: 0 5px; }
.wl-tally { font: 400 19px var(--sans); letter-spacing: .02em; margin: 22px 0 0; }
.wl-features { border-collapse: collapse; font: 400 13px var(--mono); margin-top: 24px; }
.wl-features td { color: var(--muted); padding: 3px 20px 3px 0; }
.wl-features td:last-child { color: var(--soft); text-align: right; }
.wl-doom-screen { aspect-ratio: 4 / 3; max-width: 100%; }
.wl-doom-screen::before, .wl-doom-screen::after { display: none; }
.wl-doom-screen video, .wl-doom-screen img { background: #000; display: block; height: 100%; image-rendering: pixelated; object-fit: contain; width: 100%; }
.wl-doom-screen [hidden] { display: none; }
.wl-doom-go { display: flex; flex-wrap: wrap; gap: 8px; }
.wl-doom-go .button[hidden] { display: none; }
.wl-doom-actions { align-items: stretch; flex-direction: column; }
.wl-doom-go .button { white-space: nowrap; }
.wl-doom-timeline { height: 30px; margin-top: 12px; position: relative; }
.wl-doom-timeline svg { display: block; height: 100%; width: 100%; }
.wl-doom-timeline input { cursor: pointer; height: 100%; inset: 0; margin: 0; opacity: 0; position: absolute; width: 100%; }
.wl-doom-timeline:focus-within { outline: 1px solid var(--line-strong); outline-offset: 2px; }
.wl-doom-games { display: flex; flex-wrap: nowrap; gap: 8px; }
.wl-doom-games .button { flex: 1 1 0; min-width: 0; padding-inline: 12px; white-space: nowrap; }
.wl-doom-games .button { font-size: 12px; padding-block: 10px; }
.wl-doom-games .button[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.wl-doom-lead { margin: 12px 0 0; }
.wl-doom-lead b { color: var(--fg); font-weight: 500; }
.wl-doom-bars .probability { grid-template-columns: minmax(0, 190px) 1fr 54px; }
.wl-doom-bars .probability > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ------------------------------------------------------------------ footer -- */
.site-footer { border-top: 1px solid var(--line); overflow: hidden; padding: clamp(80px, 10vw, 130px) 0 40px; position: relative; }
.footer-cta { align-items: flex-end; border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; padding-bottom: clamp(56px, 7vw, 90px); }
.footer-cta .title { max-width: 18ch; }
.footer-top { align-items: flex-start; display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; padding-top: 56px; }
/* Testbed (coming soon). */
.steps { counter-reset: none; display: grid; gap: 24px; grid-template-columns: repeat(4, 1fr); list-style: none; margin: 0; padding: 0; }
.steps li { border-top: 2px solid var(--fg); padding-top: 22px; }
.steps small { color: var(--muted); font: 500 13px var(--mono); letter-spacing: .14em; }
.steps h3 { font: 500 19px/1.3 var(--sans); letter-spacing: .06em; margin: 14px 0 0; text-transform: uppercase; }
.steps p { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 12px 0 0; }
.soon-cta { align-items: center; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 20px 32px; justify-content: space-between; margin-top: clamp(48px, 6vw, 80px); padding-top: 36px; }
.soon-cta p { font: 400 18px/1.5 var(--sans); margin: 0; }
.soon-cta + .soon-cta { margin-top: 36px; }

/* Early Access Program: the Astronaut Pass, a boarding-pass style ticket beside the perks. */
.pass-layout { align-items: start; display: grid; gap: clamp(40px, 6vw, 88px); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pass-ticket { background: #000; color: #fff; display: grid; grid-template-columns: 1fr auto; transform: rotate(-2deg); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); }
.pass-main { padding: clamp(28px, 3vw, 44px); }
.pass-main small, .pass-stub small, .pass-main dt { color: #8a8a8a; font: 500 13px var(--mono); letter-spacing: .14em; }
.pass-main strong { display: block; font: 500 clamp(34px, 4vw, 56px)/1 var(--sans); letter-spacing: .08em; margin: 26px 0 30px; }
.pass-main dl { display: grid; gap: 14px 24px; grid-template-columns: repeat(3, auto); margin: 0; }
.pass-main dd { font: 500 13px var(--mono); letter-spacing: .1em; margin: 6px 0 0; }
.pass-stub { align-items: center; border-left: 2px dashed rgba(255, 255, 255, .35); display: flex; flex-direction: column; justify-content: center; padding: 28px clamp(20px, 2.5vw, 36px); }
.pass-stub strong { font: 500 18px var(--mono); letter-spacing: .14em; margin-top: 10px; writing-mode: vertical-rl; }
.pass-perks { display: grid; gap: 26px; list-style: none; margin: 34px 0 0; padding: 0; }
.pass-perks b { display: block; font: 500 15px var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.pass-perks span { color: var(--muted); display: block; font-size: 16px; line-height: 1.7; margin-top: 8px; }
.pass-apply { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.button.is-pending { cursor: default; opacity: .55; pointer-events: none; }

/* Contact page. */
.contact-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); }
.contact-card { background: #000; border: 1px solid #000; color: #fff; display: flex; flex-direction: column; min-height: 270px; padding: clamp(26px, 2.6vw, 40px); text-decoration: none; transition: box-shadow .6s var(--ease), transform .6s var(--ease); }
a.contact-card:hover { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); transform: translateY(-4px); }
.contact-card small { color: #8a8a8a; font: 500 13px var(--mono); letter-spacing: .14em; }
.contact-card h3 { font: 500 clamp(22px, 2vw, 30px)/1.1 var(--sans); letter-spacing: .06em; margin: 22px 0 0; text-transform: uppercase; }
.contact-card p { color: #b5b5b5; font-size: 16px; line-height: 1.7; margin: 14px 0 28px; }
.contact-card .more { font: 500 12px var(--sans); letter-spacing: .22em; margin-top: auto; text-transform: uppercase; }
/* Email addresses keep their lower case; everything else about them matches the links around them. */
.contact-card[href^="mailto:"] .more, .footer-contact a[href^="mailto:"] { overflow-wrap: anywhere; text-transform: none; }
/* Lower-case letters read smaller than the capitals beside them, so the address is set a size up. */
.footer-contact a[href^="mailto:"] { font-size: 15px; }
.contact-card[href^="mailto:"] .more { font-size: 14px; }
.contact-card .more b { display: inline-block; font-weight: 400; margin-left: 10px; transition: transform .45s var(--ease); }
a.contact-card:hover .more b { transform: translateX(8px); }
.contact-card.is-pending .more { color: #8a8a8a; }
.contact-topics { border-top: 1px solid var(--line); margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(40px, 5vw, 64px); }
.contact-topics ul { display: grid; gap: 32px 48px; grid-template-columns: 1fr 1fr; list-style: none; margin: 40px 0 0; padding: 0; }
.contact-topics b { display: block; font: 500 15px var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.contact-topics span { color: var(--muted); display: block; font-size: 16px; line-height: 1.7; margin-top: 10px; }
.footer-tag { color: var(--muted); font: 500 13px var(--mono); letter-spacing: .14em; margin: 22px 0 0; text-transform: uppercase; }
.footer-contact { align-items: baseline; display: flex; flex-wrap: wrap; gap: 14px 38px; margin: 40px 0 0; }
.footer-contact a { color: var(--soft); font: 500 13px var(--sans); letter-spacing: .2em; text-decoration: none; text-transform: uppercase; }
.footer-contact a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 6px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 14px 38px; }
.footer-nav a { color: var(--soft); font: 500 13px var(--sans); letter-spacing: .2em; text-decoration: none; text-transform: uppercase; }
.footer-nav a:hover { color: var(--fg); text-decoration: underline; text-underline-offset: 6px; }
.footer-base { color: var(--dim); display: flex; flex-wrap: wrap; font: 400 13px var(--mono); gap: 10px 30px; justify-content: space-between; letter-spacing: .12em; margin-top: 48px; padding-top: 0; text-transform: uppercase; }

/* -------------------------------------------------------------- responsive -- */
@media (max-width: 1320px) {
  .menu-toggle { display: block; }
  .nav {
    background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; inset: var(--header) 0 auto 0; margin: 0; padding: 12px var(--gutter) 32px;
    position: fixed; transform: translateY(-8px); visibility: hidden; opacity: 0; transition: opacity .25s, transform .25s, visibility 0s .25s;
  }
  .nav a { border-bottom: 1px solid var(--line); font-size: 15px; padding: 18px 0; }
  .nav a::after { display: none; }
  .nav { align-items: stretch; }
  .nav a.nav-cta { border: 0; border-bottom: 1px solid var(--line); padding: 18px 0; }
  .nav a.nav-cta:hover, .nav a.nav-cta[aria-current="page"] { background: none; color: var(--fg); }
  .nav-open .nav { opacity: 1; transform: none; transition: opacity .25s, transform .25s; visibility: visible; }
  .nav-open .site-header { background: var(--bg); border-bottom-color: var(--line); }
  .site-header .badge, .menu-toggle { margin-left: auto; }
  .site-header .badge + .menu-toggle { margin-left: 4px; }
}
@media (max-width: 1000px) {
  .split, .split--figure, .lab-grid, .demo-grid { grid-template-columns: 1fr; }
  .contact-grid, .contact-topics ul { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .pass-layout { grid-template-columns: 1fr; }
  .pass-ticket { max-width: 560px; }
  .contact-card { min-height: 0; }
  .timeline { gap: 48px 0; grid-template-columns: 1fr 1fr; }
  .timeline::after { display: none; }
  .timeline li::before { background: var(--fg); border-color: var(--fg); }
  .timeline li { border-top: 1px solid var(--line); }
  .timeline::before { display: none; }
  .imc-figure { max-width: 480px; }
  .section-index { font-size: 110px; }
}
@media (max-width: 820px) {
  :root { --header: 60px; }
  .brand-mark { height: 24px; width: 44px; }
  .brand-word { font-size: 12px; }
  .metrics { grid-template-columns: 1fr; }
  .limits { grid-template-columns: 1fr; }
  .limits li, .limits li + li { border-bottom: 1px solid var(--line); border-right: 0; padding: 20px 0; }
  .metric, .metric + .metric { border-bottom: 1px solid var(--line); border-right: 0; padding: 32px 0; }
  .metric:last-child { border-bottom: 0; }
  .statement { height: 170vh; }
  .statement-grid { gap: 20px; grid-template-columns: 1fr; }
  .orbit-figure { max-width: min(320px, 38vh); order: -1; }
  .orbit-figure figcaption { margin-top: 8px; }
}
@media (max-width: 560px) {
  .brand-word { display: none; }
  .badge { font-size: 9px; letter-spacing: .1em; padding: 6px 9px; }
  .timeline { grid-template-columns: 1fr; }
  .hero-actions { grid-auto-flow: row; width: 100%; }
  .hero-actions .button { width: 100%; }
  .tagline { gap: 12px; letter-spacing: .28em; }
  .tagline::before, .tagline::after { display: none; }
  .actions { align-items: stretch; flex-direction: column; }
  .actions .wl-hint { text-align: left; }
  .actions .button { width: 100%; }
  .wl-actions-left { flex-direction: column; }
  .benchmark-row { gap: 8px; grid-template-columns: 84px 1fr 70px; }
  .prediction-block strong { font-size: 84px; }
  .wl-bars .probability { grid-template-columns: 96px 1fr 50px; }
  .wl-doom-games .button { font-size: 11px; letter-spacing: .08em; padding-inline: 8px; }
  .pixel-readout span { display: none; }
  .demo-card { min-height: 420px; }
  .steps { grid-template-columns: 1fr; }
  .pass-main dl { grid-template-columns: 1fr 1fr; }
  .pass-ticket { transform: none; }
  .wl-tabs { gap: 0 28px; }
}
@media (hover: none) { .demo-card { transform: none !important; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition: none !important; }
  .js .reveal, .js .stagger > * { opacity: 1; transform: none; }
  .js [data-split] .split-word > span { transform: none; }
  .statement { height: auto; }
  .statement-pin { height: auto; padding: 18vh 0; position: static; }
  .statement .sw { opacity: 1; }
}

/* ------------------------------------- 03 Stellar Edge, 04 Edge Performance -- */
/* Sections 03 and 04: text and numbers come from build_claims_page.py --site (Stellar Silicon architecture folder). */
.e2-upto { color: var(--muted); display: block; font: 500 13px var(--mono); letter-spacing: .14em; margin-bottom: 12px; text-transform: uppercase; }
.e2-lede { color: var(--soft); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; max-width: 64em; }
.e2-vs { color: var(--muted); font: 400 14px var(--mono); margin: 20px 0 0; }
.e2-h3 { font: 500 clamp(20px, 2vw, 28px)/1.2 var(--sans); letter-spacing: .01em; margin: clamp(36px, 4vw, 52px) 0 0; text-transform: uppercase; }
.e2-llm { border-top: 1px solid var(--line); color: var(--muted); font-size: 17px; margin: 32px 0 0; padding-top: 22px; }
.e2-llm b { color: var(--fg); font: 300 clamp(36px, 3.6vw, 52px)/1 var(--sans); margin-right: 14px; vertical-align: -6px; }
.e2-power { gap: 18px; margin-top: 32px; padding-top: 24px; }
.e2-power .power-row { align-items: center; display: grid; gap: 24px; grid-template-areas: "label bar value"; grid-template-columns: 300px 1fr 120px; }
.e2-power .power-row small { grid-area: label; }
.e2-power .power-row i { grid-area: bar; height: 4px; }
.e2-power .power-row--dim i::after { bottom: -8px; top: -8px; }
.e2-power .power-row strong { font-size: clamp(24px, 2.2vw, 32px); grid-area: value; margin: 0; text-align: right; }
.e2-chart { margin-top: 24px; }
.e2-caxis { color: var(--muted); font: 500 13px var(--mono); letter-spacing: .14em; margin: 0 0 14px calc(32% + 16px); text-transform: uppercase; }
.e2-brow { align-items: center; border-top: 1px solid var(--line); display: grid; gap: 16px; grid-template-columns: 32% 1fr; outline: none; padding: 10px 0; }
.e2-blabel { font-size: 15px; line-height: 1.3; }
.e2-blabel span { color: var(--muted); display: block; font: 400 13px var(--mono); margin-top: 3px; }
.e2-btrack { height: 30px; margin-right: 64px; position: relative; }
.e2-tick { border-left: 1px solid var(--line); bottom: -10px; position: absolute; top: -10px; }
.e2-tick i { display: none; }
.e2-brow:last-child { padding-bottom: 30px; }
#constraint, #advantage, #performance { padding: clamp(56px, 6vw, 88px) 0; }
#advantage .metric strong, #performance .metric strong { font-size: clamp(40px, 4vw, 64px); }
#advantage .metric span, #performance .metric span { margin-top: 12px; }
#advantage .metrics, #performance .metrics { margin-top: 32px; }
#advantage .metric, #performance .metric { padding-top: 24px; }
#advantage .footnote, #performance .footnote { margin-top: 24px; }
.e2-brow:last-child .e2-tick i { color: var(--dim); display: block; font: 400 13px var(--mono); font-style: normal; position: absolute; top: 100%; transform: translateX(-50%); white-space: nowrap; }
.e2-bar { background: var(--dim); border-radius: 0 4px 4px 0; height: 12px; left: 0; position: absolute; top: 9px; }
.e2-own .e2-bar { background: var(--fg); }
.e2-own .e2-blabel { font-weight: 600; }
.e2-brow:hover .e2-bar, .e2-brow:focus .e2-bar { background: var(--soft); }
.e2-bval { font: 500 18px var(--sans); margin-left: 10px; position: absolute; top: 1px; white-space: nowrap; }
.e2-tip { background: var(--fg); color: var(--bg); display: none; font: 400 13px/1.5 var(--mono); left: 0; padding: 8px 10px; position: absolute; top: 34px; z-index: 5; }
.e2-brow:hover .e2-tip, .e2-brow:focus .e2-tip { display: block; }
.e2-method { border-top: 1px solid var(--line); display: grid; gap: 0 28px; grid-template-columns: repeat(4, 1fr); margin-top: 24px; padding-top: 20px; }
.e2-method div { font-size: 15px; line-height: 1.45; }
.e2-method b { color: var(--muted); display: block; font: 500 13px var(--mono); letter-spacing: .14em; margin-bottom: 6px; text-transform: uppercase; }
@media (max-width: 760px) {
  .e2-brow { gap: 6px; grid-template-columns: 1fr; }
  .e2-caxis { margin-left: 0; }
  .e2-method { gap: 18px; grid-template-columns: 1fr 1fr; }
  .e2-power .power-row { gap: 8px 16px; grid-template-areas: "label value" "bar bar"; grid-template-columns: 1fr auto; }
}

/* ------------------------------------------------ Testbed: Stellar Edge explorer -- */
/* Four steps: board (with specs), model, results, comparison. Data: /explorer-data.json
   (build_explorer_data.py); logic: /explorer.js. */
.exd { border-top: 1px solid var(--line); padding: clamp(40px, 5vw, 72px) 0 clamp(48px, 6vw, 88px); }
.exd-top { align-items: end; display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; }
.exd-top .eyebrow { margin-bottom: 12px; }
.exd-title { font: 500 clamp(24px, 2.4vw, 34px)/1.1 var(--sans); letter-spacing: .01em; margin: 0; text-transform: uppercase; }
.exd-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.exd-tags span { border: 1px solid var(--line-strong); color: var(--muted); font: 500 13px var(--mono); letter-spacing: .14em; padding: 6px 10px; text-transform: uppercase; }
.exd-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; margin-top: 28px; }
.exd-col { display: grid; gap: 16px; align-content: start; min-width: 0; }
.exd-panel { background: var(--surface); border: 1px solid var(--line); padding: 20px 22px; }
.exd-step { align-items: center; display: flex; font: 500 15px var(--sans); gap: 12px; letter-spacing: .08em; margin: 0 0 16px; text-transform: uppercase; }
.exd-step b { align-items: center; background: var(--fg); color: var(--bg); display: inline-flex; font: 500 13px var(--mono); height: 24px; justify-content: center; width: 24px; }
.exd select { appearance: none; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23a8a8a8'/%3E%3C/svg%3E") no-repeat right 12px center;
  border: 1px solid var(--line-strong); border-radius: 0; color: var(--fg); font: 400 15px var(--sans); padding: 11px 32px 11px 12px; width: 100%; }
.exd-seg { display: flex; flex-wrap: wrap; gap: 6px; }
.exd-seg button { background: var(--bg); border: 1px solid var(--line-strong); color: var(--soft); cursor: pointer; flex: 1 1 auto; font: 500 13px var(--mono); padding: 10px 8px; }
.exd-seg button:hover { border-color: var(--fg); }
.exd-seg button[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.exd-chiprow { align-items: baseline; display: flex; justify-content: space-between; margin-top: 16px; }
.exd-chiprow label { color: var(--muted); font: 500 13px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.exd-chiprow output { font: 500 26px var(--mono); }
.exd input[type=range] { accent-color: var(--fg); margin-top: 6px; width: 100%; }
.exd-specs { border-collapse: collapse; font-size: 14px; margin-top: 16px; width: 100%; }
.exd-specs th { color: var(--muted); font: 500 13px var(--mono); letter-spacing: .12em; padding: 8px 0; text-align: right; text-transform: uppercase; }
.exd-specs th:first-child { text-align: left; }
.exd-specs td { border-top: 1px solid var(--line); padding: 9px 0; text-align: right; }
.exd-specs td:first-child { color: var(--soft); text-align: left; }
.exd-specs td:last-child { font: 500 15px var(--mono); }
.exd-specs tr.is-key td:last-child { font-size: 18px; }
.exd-note { color: var(--muted); font: 400 13px/1.6 var(--mono); margin: 12px 0 0; }
.exd-kpis { display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.exd-kpi { border: 1px solid var(--line); padding: 14px 16px; }
.exd-kpi small { color: var(--muted); display: block; font: 500 13px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.exd-kpi strong { display: block; font: 400 clamp(22px, 2.1vw, 30px)/1 var(--mono); margin-top: 12px; }
.exd-kpi span { color: var(--soft); display: block; font-size: 13px; margin-top: 8px; }
.exd-verdict { font: 400 17px/1.45 var(--sans); margin: 18px 0 4px; }
.exd-verdict b { font: 500 34px var(--mono); margin-right: 8px; }
.exd-bars { display: grid; gap: 12px; margin-top: 16px; }
.exd-bar { align-items: center; display: grid; gap: 4px 14px; grid-template-columns: 120px 1fr 150px; }
.exd-bar > small { color: var(--soft); font-size: 13px; }
.exd-bar .bars { display: grid; gap: 4px; }
.exd-bar .bars i { background: var(--dim); display: block; height: 8px; min-width: 2px; }
.exd-bar .bars i.own { background: var(--fg); }
.exd-bar b { font: 500 15px var(--mono); text-align: right; }
.exd-legend { color: var(--muted); display: flex; flex-wrap: wrap; font: 400 11.5px var(--mono); gap: 6px 16px; margin-top: 12px; }
.exd-legend i { display: inline-block; height: 9px; margin-right: 6px; width: 9px; }
.exd-legend i.d { background: var(--dim); }
.exd-legend i.b { background: var(--fg); }
.exd-reco { border-top: 1px solid var(--line); list-style: none; margin: 18px 0 0; padding: 6px 0 0; }
.exd-reco li { color: var(--soft); font-size: 14px; line-height: 1.55; padding: 7px 0 7px 20px; position: relative; }
.exd-reco li::before { color: var(--fg); content: "\25B8"; font: 400 13px var(--mono); left: 0; position: absolute; top: 9px; }
.exd-reco li b { color: var(--fg); font-weight: 500; }
@media (max-width: 1000px) { .exd-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .exd-kpis { grid-template-columns: 1fr; }
  .exd-bar { grid-template-columns: 1fr 90px; }
  .exd-bar .bars { grid-column: 1 / -1; grid-row: 2; }
}


/* ---------------------------------------------------------- edge-first home -- */
.hero .lockup-mark { margin-bottom: clamp(10px, 1.8vh, 20px); width: clamp(64px, min(8vw, 10vh), 120px); }
.hero .lockup-word { font-size: clamp(20px, min(2.8vw, 4.6vh), 40px); }
.hero .lockup-sub { font-size: clamp(9px, min(.9vw, 1.5vh), 13px); margin-top: clamp(8px, 1vw, 12px); }
.hero-title { font: 500 clamp(30px, min(4.3vw, 7vh), 66px)/1.1 var(--sans); letter-spacing: -.01em; margin: clamp(28px, 5.4vh, 60px) auto 0; max-width: 21ch; text-wrap: balance; }
.hero .lede { margin-top: clamp(18px, 3vh, 30px); max-width: 680px; }
.hero-proof { border-top: 1px solid rgba(255, 255, 255, .22); display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin: clamp(28px, 5vh, 56px) auto 0; max-width: 860px; padding: 0; }
.hero-proof li { border-right: 1px solid rgba(255, 255, 255, .22); padding: clamp(14px, 2.4vh, 24px) 12px 0; }
.hero-proof li:last-child { border-right: 0; }
.hero-proof small { color: var(--muted); display: block; font: 500 13px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.hero-proof strong { display: block; font: 300 clamp(30px, min(3.2vw, 5.4vh), 48px)/1.15 var(--sans); }
.hero-proof span { color: var(--soft); display: block; font: 400 14px/1.4 var(--sans); }
.hero .hero-actions { margin-top: clamp(30px, 5vh, 52px); }

.sat-figure ellipse { fill: none; stroke: var(--fg); stroke-width: 1.2; }
.sat-figure .drone-cam { fill: none; stroke: var(--fg); stroke-width: 1.4; }
.sat-figure .drone-rotor, .reach-rotor { transform-box: fill-box; transform-origin: center; }
.sat-figure.is-in .drone-rotor, .reach-figure.is-in .reach-rotor { animation: rotor .16s linear infinite alternate; }
@keyframes rotor { to { transform: scaleX(.8); } }

.reach-head { align-items: start; display: grid; gap: 16px clamp(32px, 5vw, 80px); grid-template-columns: 1fr 1fr; }
.reach-head .body { margin: 0; max-width: none; }
.reach-figure { display: block; margin: clamp(18px, 3vh, 32px) auto 0; max-height: calc(100vh - 340px); min-height: 240px; overflow: visible; width: 100%; }
#performance { padding-top: clamp(56px, 8vh, 90px); }
.reach-figure path, .reach-figure rect, .reach-figure circle, .reach-figure ellipse { fill: none; stroke: var(--fg); stroke-width: 1.4; }
.reach-figure .reach-land { fill: url(#reachFade); stroke: none; }
.reach-figure .reach-atmo { stroke: var(--line-strong); stroke-dasharray: 2 5; }
.reach-figure .reach-link { stroke: var(--muted); stroke-dasharray: 3 7; }
.reach-figure .reach-grid { stroke: var(--muted); stroke-width: 1; }
.reach-figure .reach-body, .reach-figure .reach-joint { fill: var(--bg); }
.reach-figure .reach-chip { fill: var(--fg); stroke: none; }
.reach-figure .reach-pins { stroke-width: 2; }
.reach-figure .reach-pulse { fill: var(--fg); stroke: none; }
.reach-figure .reach-stars circle { fill: var(--muted); stroke: none; }
.reach-figure .reach-solid { stroke-width: 5; }
.reach-mid { text-anchor: middle; }
.reach-figure.is-in .reach-link { animation: sat-link 1.6s linear infinite; }
.limits--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .limits--3 { grid-template-columns: 1fr; } .limits--3 li, .limits--3 li + li { border-right: 0; border-top: 1px solid var(--line); padding-left: 0; } .limits--3 li:first-child { border-top: 0; } }
@media (max-width: 560px) {
  .hero-proof strong { font-size: 30px; }
  .hero-proof span { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .sat-figure.is-in .drone-rotor, .reach-figure.is-in .reach-rotor, .reach-figure.is-in .reach-link { animation: none; }
  .reach-figure .reach-pulse { display: none; }
}

/* Numbers sit in proportion with the text around them. */
#advantage .metrics, #performance .metrics { margin-top: 32px; }
#advantage .metric, #performance .metric { padding-bottom: 0; padding-top: 22px; }
#advantage .metric strong, #performance .metric strong { font-size: clamp(32px, 3.2vw, 48px); }
#advantage .metric span, #performance .metric span { font-size: 15px; margin-top: 8px; }
@media (max-width: 900px) { .reach-head { grid-template-columns: 1fr; } .reach-figure { max-height: none; min-height: 0; } }

/* The power comparison reads at the same scale as the numbers above it. */
#performance .power-compare { gap: 24px; padding-top: 28px; }
#performance .power-row small { color: var(--fg); font: 500 clamp(18px, 1.6vw, 22px)/1.2 var(--sans); letter-spacing: .01em; text-transform: none; }
#performance .power-row strong { white-space: nowrap; }

/* Home demos: three compact cards on one row. */
#demos { padding: clamp(64px, 11vh, 110px) 0; }
#demos .demo-grid { margin-top: 36px; }
#demos .demo-card { min-height: 0; padding: 24px; }
#demos .demo-card svg { height: 96px; margin: 0; }
#demos .demo-card .more { margin-top: auto; }
#demos .demo-card h3 { font-size: 20px; margin-top: 20px; }
#demos .demo-card p { font-size: 15px; line-height: 1.55; margin: 8px 0 18px; }
@media (min-width: 901px) {
  #demos .demo-grid { grid-template-columns: repeat(3, 1fr); }
  #demos .demo-grid > .demo-card:last-child:nth-child(odd) { grid-column: auto; }
}
