/* Anaxes company site — art direction: flight-dynamics console / engineering drawing.
   True black, warm off-white type, hairline rules, crop marks, mono annotations. Colour lives in the data
   (the globe, the families); the UI itself stays monochrome with gold for what is live or selected. */

@font-face { font-family: 'IBM Plex Sans'; src: url('assets/fonts/ibm-plex-sans-latin-wght.woff2') format('woff2'); font-weight: 100 700; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('assets/fonts/ibm-plex-mono-latin-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('assets/fonts/ibm-plex-mono-latin-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #030405;
  --bg-2: #08090b;
  --ink: #ece9e2;
  --ink-2: #b9b6ae;
  --muted: #9da1a7;
  --faint: #7b8087;
  --rule: rgb(236 233 226 / .13);
  --rule-2: rgb(236 233 226 / .3);
  --gold: #f5913a;
  --brand: #fb6c00;
  --teal: #73d1ed;
  --lav: #c7bdff;
  --eo: #ffbd66;
  --focus: #7cc7e0;
  --sans: 'IBM Plex Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --gutter: 20px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --out: cubic-bezier(.16, 1, .3, 1);
}
@media (width >= 768px) { :root { --gutter: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 1.5px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--gold); color: #000; }
.wrap { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--gutter); top: -100px; z-index: 400; padding: 10px 16px; background: var(--ink); color: #000; }
.skip:focus { top: 12px; }

/* Shared type */
.fig-label, .step-tag, .pn, .step-no, .ticker-caption { font: 500 11px/1.4 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
h2 { font-size: clamp(2rem, 1.1rem + 3vw, 4rem); line-height: 1; font-weight: 500; letter-spacing: -.045em; text-wrap: balance; max-width: 18ch; }
.fig-label + h2 { margin-top: 22px; }
.lead { margin-top: 28px; max-width: 62ch; font-size: 18px; line-height: 1.65; color: var(--ink-2); }

/* ---- Boot ------------------------------------------------------------------------------------------ */
.boot { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: #000; clip-path: inset(0 0 0 0); transition: clip-path 1s var(--out); }
.boot.done { clip-path: inset(50% 0 50% 0); }
.boot-inner { display: grid; justify-items: center; gap: 18px; width: min(420px, 80vw); }
/* The logo paints itself on, left to right, like a brush stroke */
.boot-logo { width: min(340px, 72vw); height: auto; -webkit-mask: linear-gradient(90deg, #000 40%, transparent 60%) 100% 0 / 260% 100% no-repeat; mask: linear-gradient(90deg, #000 40%, transparent 60%) 100% 0 / 260% 100% no-repeat; animation: paint 1.25s .15s cubic-bezier(.5, 0, .2, 1) forwards; }
@keyframes paint { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
.boot-rule { position: relative; width: 100%; height: 9px; background: repeating-linear-gradient(90deg, var(--rule-2) 0 1px, transparent 1px 12px) bottom / 100% 5px no-repeat; }
.boot-rule span { position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--gold); transform-origin: left; transform: scaleX(0); transition: transform .2s linear; }
.boot-meta { display: flex; gap: 10px; font: 400 11px var(--mono); letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.boot-meta b { font-weight: 500; color: var(--ink); min-width: 6ch; text-align: right; }

/* ---- Instrument frame --------------------------------------------------------------------------------- */
.frame { position: fixed; inset: 10px; z-index: 50; pointer-events: none; opacity: 0; transition: opacity 1s 1.4s; }
.ready .frame { opacity: 1; }
.cm { position: absolute; width: 14px; height: 14px; border-color: var(--rule-2); border-style: solid; border-width: 0; }
.cm.tl { left: 0; top: 0; border-top-width: 1px; border-left-width: 1px; }
.cm.tr { right: 0; top: 0; border-top-width: 1px; border-right-width: 1px; }
.cm.bl { left: 0; bottom: 0; border-bottom-width: 1px; border-left-width: 1px; }
.cm.br { right: 0; bottom: 0; border-bottom-width: 1px; border-right-width: 1px; }
.frame-fig { position: absolute; left: 20px; bottom: 2px; padding: 3px 6px; background: var(--bg); font: 500 10.5px var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.frame-ruler { position: absolute; right: 20px; bottom: 2px; padding: 3px 6px; background: var(--bg); display: flex; align-items: center; gap: 12px; }
.frame-ticks { position: relative; width: 150px; height: 8px; background: repeating-linear-gradient(90deg, var(--rule-2) 0 1px, transparent 1px 10px); }
.frame-ticks::after { content: ''; position: absolute; top: -3px; bottom: -3px; left: calc(var(--sp, 0) * 100%); width: 2px; background: var(--gold); }
.frame-pos { font: 500 10.5px var(--mono); letter-spacing: .09em; color: var(--ink-2); }
@media (width < 900px) { .frame-fig, .frame-ruler { display: none; } }

/* ---- Top bar ------------------------------------------------------------------------------------- */
.bar { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; align-items: center; gap: 28px; height: 60px; padding-inline: var(--gutter); border-bottom: 1px solid transparent; transition: background-color .4s, border-color .4s, transform .9s var(--out), opacity .9s; }
.js .bar { opacity: 0; transform: translateY(-12px); }
.js.ready .bar { opacity: 1; transform: none; transition-delay: 0s, 0s, 1.2s, 1.2s; }
.bar.scrolled { background: rgb(3 4 5 / .86); border-color: var(--rule); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.logo { display: block; height: 28px; width: auto; }
.bar-links { display: none; gap: 26px; }
.bar-links a { font-size: 13.5px; color: var(--muted); text-decoration: none; transition: color .2s; }
.bar-links a:hover { color: var(--ink); }
.bar-clock { display: none; align-items: center; gap: 8px; margin-left: auto; font: 400 11px var(--mono); letter-spacing: .04em; color: var(--muted); }
.dot { width: 6px; height: 6px; background: #72d09b; animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.bar .btn { margin-left: auto; }
@media (width >= 1000px) { .bar-links { display: flex; } }
@media (width >= 1180px) { .bar-clock { display: flex; } .bar-clock + .btn { margin-left: 0; } }

/* ---- Buttons ------------------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; height: 48px; padding: 0 22px; border: 1px solid var(--ink); font: 500 15px/1 var(--sans); text-decoration: none; white-space: nowrap; transition: background-color .25s, color .25s, border-color .25s; }
.btn .arr { display: inline-block; transition: transform .35s var(--out); }
.btn:hover .arr { transform: translateX(5px); }
.btn-primary { background: var(--ink); color: #000; }
.btn-primary:hover { background: var(--gold); border-color: var(--gold); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; gap: 10px; }
.btn-lg { height: 56px; padding: 0 26px; font-size: 16px; }
.link-arrow { display: inline-flex; gap: 10px; align-items: center; font-size: 15px; color: var(--ink-2); text-decoration: none; background: linear-gradient(var(--ink-2), var(--ink-2)) 0 100% / 0 1px no-repeat; padding-bottom: 3px; transition: background-size .4s var(--out), color .2s; }
.link-arrow:hover { color: var(--ink); background-size: 100% 1px; }

/* ---- Stage --------------------------------------------------------------------------------------- */
.stage { position: relative; }
.stage-track { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.stage-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; --fade: 1; }
.globe { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.2s var(--ease); }
.globe-ready .globe { opacity: var(--fade); }
.globe-fallback { position: absolute; inset: 0; display: none; }
.no-webgl .globe-fallback { display: block; opacity: var(--fade); background: radial-gradient(circle at 68% 55%, #102a3e 0 17%, transparent 17.2%); }
.scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(3 4 5 / .88) 0%, rgb(3 4 5 / .5) 30%, rgb(3 4 5 / 0) 52%), linear-gradient(180deg, transparent 75%, var(--bg) 100%); }
@media (width < 900px) {
  .scrim { background: linear-gradient(180deg, rgb(3 4 5 / .92) 0%, rgb(3 4 5 / .6) 42%, rgb(3 4 5 / .05) 64%, rgb(3 4 5 / .7) 100%); }
  .past-hero .scrim { background: linear-gradient(180deg, rgb(3 4 5 / .2) 0%, rgb(3 4 5 / .05) 35%, rgb(3 4 5 / .85) 68%, var(--bg) 100%); }
}

/* Leader-line callouts locked onto real spacecraft */
.callouts { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.callouts path { fill: none; stroke: var(--ink-2); stroke-width: 1; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.1s var(--ease), opacity .4s; }
.callouts rect { fill: none; stroke: var(--gold); stroke-width: 1; opacity: 0; transition: opacity .4s; }
.callouts .on path { stroke-dashoffset: 0; }
.callouts .on rect { opacity: 1; }
.callouts g:not(.on) path { opacity: 0; }
.callout-labels .cl { position: absolute; left: 0; top: 0; padding: 3px 7px; background: rgb(3 4 5 / .72); font: 400 11px/1.45 var(--mono); letter-spacing: .03em; color: var(--muted); white-space: nowrap; opacity: 0; transition: opacity .5s .5s var(--ease); }
.callout-labels .cl.on { opacity: 1; }
.callout-labels .cl b { display: block; font-weight: 500; color: var(--ink); letter-spacing: .06em; }

/* Ground targeting: crosshair across the view, coordinates and what is overhead */
.aim { position: absolute; inset: 0; opacity: 0; transition: opacity .25s; --ax: -100px; --ay: -100px; }
.aim.on { opacity: 1; }
.aim-h, .aim-v { position: absolute; background: rgb(236 233 226 / .16); }
.aim-h { left: 0; right: 0; height: 1px; top: var(--ay); }
.aim-v { top: 0; bottom: 0; width: 1px; left: var(--ax); }
.aim-box { position: absolute; left: var(--ax); top: var(--ay); width: 22px; height: 22px; margin: -11px 0 0 -11px; border: 1px solid var(--gold); }
.aim-card { position: absolute; left: var(--ax); top: var(--ay); transform: translate(20px, 16px); display: grid; gap: 1px; padding: 8px 10px; background: rgb(3 4 5 / .82); border: 1px solid var(--rule-2); font: 400 11px/1.5 var(--mono); color: var(--muted); white-space: nowrap; }
.aim-card b { color: var(--ink); font-weight: 500; letter-spacing: .04em; }
.aim-card [data-aim-view] { color: var(--ink-2); }
.aim-on .hero, .aim-on .chapter { cursor: none; }

/* Hovered spacecraft */
.sat-tip { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .2s; }
.sat-tip.is-on { opacity: 1; }
.sat-ring { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border: 1px solid var(--ink); }
.sat-ring::before, .sat-ring::after { content: ''; position: absolute; background: var(--ink); }
.sat-ring::before { left: 50%; top: -7px; width: 1px; height: 5px; }
.sat-ring::after { left: -7px; top: 50%; width: 5px; height: 1px; }
.sat-card { position: absolute; left: 18px; top: -40px; display: grid; gap: 1px; padding: 8px 11px; background: rgb(3 4 5 / .86); border: 1px solid var(--rule-2); border-left: 2px solid var(--gold); font: 400 11px/1.5 var(--mono); color: var(--muted); white-space: nowrap; }
.sat-card b { color: var(--ink); font-weight: 500; letter-spacing: .05em; font-size: 12px; }

/* Tracked target (Landsat 9, ISS) */
.reticle { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .5s var(--ease); }
.reticle.is-on { opacity: 1; }
.reticle-ring { position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; animation: lock 2.2s var(--ease) infinite;
  background:
    linear-gradient(var(--gold), var(--gold)) 0 0 / 10px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) 0 0 / 1px 10px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 100% 0 / 10px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) 100% 0 / 1px 10px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 0 100% / 10px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) 0 100% / 1px 10px no-repeat,
    linear-gradient(var(--gold), var(--gold)) 100% 100% / 10px 1px no-repeat, linear-gradient(var(--gold), var(--gold)) 100% 100% / 1px 10px no-repeat; }
@keyframes lock { 0%, 100% { transform: scale(1); } 50% { transform: scale(.8); } }
.reticle-label { position: absolute; left: 32px; top: -10px; padding: 4px 8px; white-space: nowrap; font: 500 11px var(--mono); letter-spacing: .05em; color: var(--gold); background: rgb(3 4 5 / .78); border: 1px solid rgb(226 182 111 / .4); }

/* HUD */
.hud { position: absolute; left: 0; right: 0; bottom: 34px; display: grid; gap: 10px; max-width: 1320px; margin-inline: auto; padding-inline: var(--gutter); opacity: 0; transition: opacity .5s; }
.globe-ready .hud { opacity: var(--fade); animation: fadein 1.2s 1.8s backwards; }
@keyframes fadein { from { opacity: 0; } }
.legend { display: flex; flex-wrap: wrap; gap: 6px 20px; font: 400 11px var(--mono); letter-spacing: .04em; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 8px; transition: opacity .5s; }
.legend i { width: 7px; height: 7px; background: var(--c); }
.legend b { font-weight: 500; color: var(--ink-2); }
.legend [data-fam="0"] { --c: #9eb0c7; }
.legend [data-fam="1"] { --c: var(--eo); }
.legend [data-fam="2"] { --c: var(--teal); }
.legend [data-fam="3"] { --c: var(--lav); }
.hud[data-fam="1"] li:not([data-fam="1"]), .hud[data-fam="2"] li:not([data-fam="2"]), .hud[data-fam="3"] li:not([data-fam="3"]) { opacity: .28; }
.hud-note { max-width: 70ch; font: 400 11px/1.5 var(--mono); color: var(--faint); }
@media (width >= 900px) { .past-hero .hud { justify-items: end; } .past-hero .hud-note { display: none; } }
.hud-hint { color: var(--muted); }
@media (hover: none) { .hud-hint { display: none; } }
@media (width < 600px) { .hud { display: none; } .reticle-label { left: -40px; top: 30px; white-space: normal; width: 170px; } }

/* ---- Hero ------------------------------------------------------------------------------------------ */
.hero { position: relative; z-index: 1; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 96px 0 130px; }
.hero .wrap { width: 100%; }
.hero-title { font-size: clamp(2.9rem, .6rem + 5.6vw, 6.8rem); line-height: .92; font-weight: 500; letter-spacing: -.058em; }
.hero-lead { margin-top: 26px; max-width: 40ch; font-size: clamp(1.05rem, .95rem + .35vw, 1.2rem); line-height: 1.55; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 28px; }
@media (width < 900px) { .hero { align-items: flex-start; padding-top: 92px; } .hero-title br { display: none; } }

/* Kinetic title: each word rises from behind a hairline */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w > span { display: inline-block; }
.js .w > span { transform: translateY(105%); transition: transform 1.2s var(--out); transition-delay: calc(var(--i) * 70ms + 150ms); }
.js.ready .w > span { transform: none; }
.js [data-intro] { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform 1.1s var(--out); }
.js.ready [data-intro] { opacity: 1; transform: none; }
.js.ready .hero-lead[data-intro] { transition-delay: .7s; }
.js.ready .console[data-intro] { transition-delay: .85s; }
.js.ready .hero-actions[data-intro] { transition-delay: 1s; }

/* StarSearch console */
.console { margin-top: 30px; max-width: 560px; padding: 14px 16px 12px; border: 1px solid var(--rule-2); background: rgb(3 4 5 / .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-family: var(--mono); }
.console-line { display: flex; align-items: center; gap: 10px; min-height: 22px; font-size: 14px; }
.prompt { color: var(--gold); }
.typed { color: var(--ink); white-space: pre; }
.caret { width: 8px; height: 16px; background: var(--ink); animation: blink 1s steps(2) infinite; }
.console-parsed { min-height: 18px; margin-top: 6px; font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }
.console-parsed i { font-style: normal; color: var(--ink-2); padding: 0 6px; border: 1px solid var(--rule); margin-right: 6px; }
.console-result { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--rule); }
.console-result b { font: 500 30px/1 var(--sans); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.console-result span { font-size: 11.5px; color: var(--muted); }
.console-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.console-chips button { padding: 6px 10px; border: 1px solid var(--rule-2); background: transparent; font: 400 11.5px var(--mono); color: var(--ink-2); cursor: pointer; transition: border-color .2s, color .2s, background-color .2s; }
.console-chips button:hover { border-color: var(--ink); color: var(--ink); }
.console-chips button[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); background: rgb(245 145 58 / .08); }
@media (width < 600px) {
  .console { padding: 12px; } .console-line { flex-wrap: wrap; gap: 2px 8px; font-size: 13px; } .typed { white-space: pre-wrap; } .prompt { font-size: 11px; }
  .console-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -12px; padding-inline: 12px; } .console-chips button { flex: none; }
}

/* ---- Chapters --------------------------------------------------------------------------------------- */
.chapter { position: relative; z-index: 1; min-height: 115vh; display: flex; align-items: center; padding: 14vh 0; }
.chapter .wrap { width: 100%; }
.ch { --fc: var(--ink); position: relative; max-width: 480px; padding-left: 28px; border-left: 1px solid var(--rule-2); transition: opacity .8s var(--ease), transform 1s var(--out); }
.ch::before { content: ''; position: absolute; left: -1px; top: 0; width: 1px; height: 0; background: var(--fc); transition: height 1.2s var(--out); }
.chapter.is-active .ch::before { height: 100%; }
.js .chapter:not(.is-active) .ch { opacity: .8; transform: translateY(20px); }
.ch.fig { max-width: 600px; padding: 22px 24px 20px; border: 1px solid var(--rule-2); border-top: 0; background: rgb(3 4 5 / .84); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.ch.fig::before { left: 0; right: 0; top: 0; width: auto; height: 2px; transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--out); }
.chapter.is-active .ch.fig::before { height: 2px; transform: scaleX(1); }
.fig-title { margin-top: 10px; font-size: clamp(1.2rem, 1rem + .6vw, 1.55rem); line-height: 1.15; font-weight: 500; letter-spacing: -.025em; max-width: none; }
.chart { margin: 16px 0 14px; }
.chart-svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart-svg .grid { stroke: rgb(236 233 226 / .09); stroke-width: 1; }
.chart-svg .tick { font: 400 10px var(--mono); fill: var(--muted); letter-spacing: .02em; }
.chart-svg .ann { font: 500 11px var(--mono); fill: var(--ink); letter-spacing: .02em; }
.chart-svg .big { font: 500 22px var(--sans); fill: var(--ink); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.chart-svg .lead { fill: none; stroke: var(--ink-2); stroke-width: 1; }
.chart-svg .band { fill: rgb(255 189 102 / .07); stroke: var(--eo); stroke-width: 1; stroke-dasharray: 3 3; }
.chart-svg .ring { fill: none; stroke: var(--gold); stroke-width: 1.5; }
.chart-svg .note { transition: opacity .3s; }
.fig-cap { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.fig-cap b { color: var(--ink); font-weight: 600; }
.roster-live { --p: 1; font: 400 12px var(--mono); }
.rl-head, .rl-list li { display: grid; grid-template-columns: 1fr 90px 60px; gap: 12px; align-items: center; }
.rl-head { padding-bottom: 8px; border-bottom: 1px solid var(--rule-2); font-size: 10.5px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.rl-list { height: 196px; overflow: hidden; }
.rl-list { transition: transform .8s var(--out); }
.chart:has(.roster-live) { overflow: hidden; }
.rl-list li { height: 28px; border-bottom: 1px solid var(--rule); color: var(--ink-2); padding-left: 10px; position: relative; transition: color .3s, background-color .3s; }
.rl-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 4px; height: 9px; background: var(--lav); opacity: 0; transition: opacity .3s; }
.rl-list li.on { color: var(--ink); background: rgb(199 189 255 / .07); }
.rl-list li.on::before { opacity: 1; }
.rl-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.telemetry { --p: 1; }
.tm-map { display: block; width: 100%; aspect-ratio: 2 / 1; border: 1px solid var(--rule); }
.tm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 12px 0 0; background: var(--rule); border: 1px solid var(--rule); }
.tm-grid div { background: var(--bg); padding: 8px 10px; }
.tm-grid dt { font: 500 10px var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.tm-grid dd { margin: 2px 0 0; font: 500 15px var(--mono); color: var(--ink); font-variant-numeric: tabular-nums; }
[data-fam-accent="1"] { --fc: var(--eo); }
[data-fam-accent="2"] { --fc: var(--teal); }
[data-fam-accent="3"] { --fc: var(--lav); }
[data-fam-accent="4"] { --fc: var(--gold); }
.ch .fig-label { color: var(--fc); }
.odo-wrap { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; margin-top: 16px; }
.odo { font: 500 clamp(3.4rem, 2rem + 4.2vw, 6rem)/1 var(--sans); letter-spacing: -.05em; color: var(--ink); font-variant-numeric: tabular-nums; }
.unit { font: 400 11.5px var(--mono); letter-spacing: .04em; color: var(--muted); }
.ch h2 { margin-top: 18px; font-size: clamp(1.8rem, 1.2rem + 1.9vw, 2.9rem); max-width: 16ch; }
.ch > p:not(.fig-label):not(.odo-wrap):not(.ch-note) { margin-top: 16px; color: var(--ink-2); font-size: 16.5px; line-height: 1.6; }
.ch-note { display: flex; gap: 10px; align-items: center; margin-top: 22px; font: 400 11.5px/1.5 var(--mono); color: var(--muted); }
.ch-note::before { content: ''; flex: none; width: 7px; height: 7px; background: var(--fc); animation: blink 1.6s steps(2) infinite; }
@media (width < 900px) { .chapter { align-items: flex-end; min-height: 125vh; padding: 0 0 6vh; } .ch.fig { padding: 16px 14px 14px; } .rl-list { height: 140px; } }

/* Odometer digits */
.odo .dg { display: inline-block; height: 1em; overflow: hidden; vertical-align: top; }
.odo .dg > span { display: block; transform: translateY(0); transition: transform 1.6s cubic-bezier(.2, .9, .1, 1); transition-delay: calc(var(--k) * 70ms); }
.odo .dg > span > span { display: block; height: 1em; line-height: 1; }

/* ---- Statement: declassified ---------------------------------------------------------------------- */
.statement { position: relative; padding: clamp(130px, 22vh, 240px) 0 clamp(90px, 14vh, 160px); }
.statement-text { margin-top: 26px; max-width: 24ch; font-size: clamp(2rem, .9rem + 3.4vw, 4.4rem); line-height: 1.08; font-weight: 500; letter-spacing: -.04em; }
@media (width >= 1100px) { .statement-text { max-width: 28ch; } }
/* Words rise into place as the statement enters; key phrases get a marker sweep, scrubbed by scroll */
.statement-text .sw2, .statement-text .hw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.statement-text .sw2 > span, .statement-text .hw > span { display: inline-block; }
.js:not(.reduced) .statement-text .sw2 > span, .js:not(.reduced) .statement-text .hw > span { transform: translateY(108%); transition: transform 1.1s var(--out); transition-delay: calc(var(--i) * 16ms); }
.js .statement-text.in .sw2 > span, .js .statement-text.in .hw > span { transform: none; }
.hw { --k: clamp(0, calc(var(--r, 0) * var(--m, 1) - var(--j, 0)), 1); }
.hw > span { position: relative; }
.hw > span::before { content: attr(data-t); position: absolute; left: 0; top: 0; color: var(--gold); clip-path: inset(0 calc((1 - var(--k)) * 100%) -.2em 0); }
.reduced .hw > span { color: var(--gold); }
.pains { display: grid; gap: 30px; margin-top: clamp(64px, 10vh, 110px); counter-reset: none; }
.pains li { padding-top: 20px; border-top: 1px solid var(--rule-2); color: var(--muted); font-size: 15.5px; line-height: 1.6; }
.pains .pn { display: block; margin-bottom: 14px; color: var(--gold); }
.pains b { display: block; margin-bottom: 8px; color: var(--ink); font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
@media (width >= 900px) { .pains { grid-template-columns: repeat(3, 1fr); gap: 48px; } }

/* Reveal: a horizontal wipe, like a plotter pass */
.js [data-reveal] { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--out); transition-delay: calc(var(--i, 0) * 120ms); }
.js [data-reveal].in { clip-path: inset(0 0 0 0); }

/* ---- Ticker ------------------------------------------------------------------------------------- */
.ticker { border-block: 1px solid var(--rule); padding: 18px 0 20px; }
.ticker-caption { max-width: 1320px; margin: 0 auto 14px; padding-inline: var(--gutter); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 80s linear infinite; }
.js-marquee .marquee-track { animation: none; }
.marquee-track li { display: inline-flex; align-items: baseline; gap: 10px; padding: 0 22px; border-right: 1px solid var(--rule); white-space: nowrap; font: 500 clamp(1.1rem, .9rem + .7vw, 1.6rem)/1.2 var(--sans); letter-spacing: -.02em; color: var(--ink-2); }
.marquee-track i { font: 400 11px var(--mono); font-style: normal; letter-spacing: .06em; color: var(--muted); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- Pinned product walkthrough: a camera move across each real screenshot ------------------------- */
.showcase { position: relative; height: 470vh; }
.showcase-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.showcase-grid { display: grid; gap: 32px; align-items: center; }
.showcase-steps { margin-top: 36px; border-top: 1px solid var(--rule); }
.showcase-steps li { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.showcase-steps .step-tag { transition: color .5s; }
.showcase-steps li.is-active .step-tag { color: var(--gold); }
.showcase-steps h3 { margin-top: 6px; font-size: clamp(1.4rem, 1.1rem + .9vw, 2rem); font-weight: 500; letter-spacing: -.03em; color: var(--faint); transition: color .5s; }
.showcase-steps li.is-active h3 { color: var(--ink); }
.showcase-steps li > p:last-child { max-height: 0; opacity: 0; overflow: hidden; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; transition: max-height .8s var(--ease), opacity .6s, margin .8s var(--ease); }
.showcase-steps li.is-active > p:last-child { max-height: 170px; opacity: 1; margin-top: 10px; }
.showcase-stage { position: relative; display: grid; padding: 22px; }
.showcase-stage .cm { width: 18px; height: 18px; border-color: var(--rule-2); }
.shot { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform 1s var(--out); pointer-events: none; }
.shot.is-active { opacity: 1; transform: none; pointer-events: auto; }
.shot.is-past { transform: translateY(-24px); }
.viewport { position: relative; width: min(100%, 66vh * 1.6); width: min(100%, 66svh * 1.6); --scan: 1; }
.view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #07080a; border: 1px solid var(--rule-2); }
.plate { position: absolute; left: 0; top: 0; width: 100%; transform-origin: 0 0; }
.plate img { width: 100%; height: auto; }
.scanline { display: none; }
/* Notes: a plain list under the screenshot until the walkthrough runs */
.notes { display: grid; gap: 6px; margin-top: 14px; font: 400 12px/1.5 var(--mono); color: var(--ink-2); }
.notes b { color: var(--gold); font-weight: 500; margin-right: 8px; }
.note-cap { display: none; }
.shot figcaption { align-self: flex-start; margin-top: 16px; font: 400 11.5px/1.5 var(--mono); color: var(--muted); }
.shot figcaption span { color: var(--gold); margin-right: 10px; letter-spacing: .08em; text-transform: uppercase; }
@media (width >= 1024px) { .showcase-grid { grid-template-columns: minmax(0, 3.6fr) minmax(0, 8.4fr); gap: 56px; } .showcase-copy h2 { font-size: clamp(2.2rem, 1rem + 2.2vw, 3.4rem); } .shot figcaption { align-self: auto; width: min(100%, 66vh * 1.6); } }
@media (width < 1024px) {
  .showcase-pin { align-items: flex-start; padding-top: 84px; }
  .showcase-steps { margin-top: 18px; }
  .showcase-steps li:not(.is-active) { display: none; }
  .showcase-copy h2 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.6rem); }
  .showcase-stage { padding: 12px; }
}

/* Live walkthrough: the view scans in, then the camera moves and notes pin themselves to the UI */
.live .view { clip-path: inset(0 0 calc((1 - var(--scan)) * 100%) 0); }
.live .scanline { display: block; position: absolute; left: -12px; right: -12px; top: calc(var(--scan) * 100%); height: 1px; background: var(--gold); box-shadow: 0 0 14px 1px rgb(245 145 58 / .8); pointer-events: none; }
.live .shot[data-scanned] .scanline { opacity: 0; transition: opacity .4s; }
.live .notes { position: absolute; inset: 0; display: block; margin: 0; pointer-events: none; }
.live .notes li { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0; transition: opacity .35s var(--ease); }
.live .notes li.on { opacity: 1; }
.live .notes li::before { content: ''; position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; background: var(--gold); box-shadow: 0 0 0 2px rgb(3 4 5 / .9), 0 0 16px 3px rgb(245 145 58 / .55); }
.live .notes li::after { content: ''; position: absolute; left: -15px; top: -15px; width: 30px; height: 30px; border: 1px solid var(--gold); border-radius: 50%; animation: ping 2.4s var(--out) infinite; }
.live .notes li b { position: absolute; left: 14px; top: -11px; height: 22px; display: grid; place-items: center; padding: 0 6px; margin: 0; background: var(--gold); color: #000; font-size: 11px; letter-spacing: .04em; }
/* The note text sits beside its marker */
.live .notes li > span { position: absolute; left: 44px; top: -11px; width: max-content; max-width: 250px; padding: 3px 9px 4px; background: rgb(3 4 5 / .9); border: 1px solid rgb(245 145 58 / .45); color: var(--ink); font-size: 11.5px; line-height: 1.45; clip-path: inset(0 100% 0 0); transition: clip-path .7s var(--out) .1s; }
.live .notes li.on > span { clip-path: inset(0 0 0 0); }
.live .notes li.flip b { left: auto; right: 14px; }
.live .notes li.flip > span { left: auto; right: 44px; text-align: right; }
.live .notes li.up b { top: -34px; }
.live .notes li.up > span { top: auto; bottom: 12px; }
@media (width < 700px) {
  .live .notes li > span, .live .notes li b { display: none; }
  .live .note-cap { display: block; align-self: stretch; min-height: 3em; margin-top: 12px; font: 400 12px/1.5 var(--mono); color: var(--ink); }
}
.reduced .notes li b { color: var(--gold); }

/* ---- Flow schematic ------------------------------------------------------------------------------- */
.flow { position: relative; padding: clamp(110px, 16vh, 180px) 0; --p: 0; }
.steps-wrap { position: relative; margin-top: 56px; }
.steps { position: relative; display: grid; gap: 0; padding-left: 40px; }
.steps::before, .steps::after { content: ''; position: absolute; left: 11px; top: 6px; bottom: 6px; width: 1px; }
.steps::before { background: repeating-linear-gradient(180deg, var(--rule-2) 0 1px, transparent 1px 9px); }
.steps::after { background: var(--gold); transform-origin: top; transform: scaleY(var(--p)); }
.steps li { position: relative; padding: 0 0 40px; opacity: .8; transition: opacity .6s var(--ease); }
.steps li.lit { opacity: 1; }
.node { position: absolute; left: -34px; top: 2px; z-index: 1; width: 11px; height: 11px; border: 1px solid var(--rule-2); background: var(--bg); transition: background-color .4s, border-color .4s, box-shadow .4s; }
.steps li.lit .node { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 4px rgb(226 182 111 / .14); }
.steps-wrap .packet { position: absolute; left: 7px; top: calc(var(--p) * (100% - 18px)); z-index: 2; width: 9px; height: 9px; background: var(--ink); box-shadow: 0 0 14px 3px rgb(236 233 226 / .45); }
.steps h3 { margin-top: 8px; font-size: 22px; font-weight: 500; letter-spacing: -.02em; }
.steps p:not(.step-no) { margin-top: 8px; max-width: 46ch; color: var(--ink-2); font-size: 15.5px; line-height: 1.6; }
@media (width >= 1024px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 32px; padding: 52px 0 0; }
  .steps::before, .steps::after { left: 0; right: 0; top: 5px; bottom: auto; width: auto; height: 1px; }
  .steps::before { background: repeating-linear-gradient(90deg, var(--rule-2) 0 1px, transparent 1px 9px); }
  .steps::after { transform-origin: left; transform: scaleX(var(--p)); }
  .node { left: 0; top: -52px; }
  .steps-wrap .packet { left: calc(var(--p) * (100% - 9px)); top: 1px; }
  .steps li { padding: 0; }
  .steps li::before { content: ''; position: absolute; left: 5px; top: -41px; width: 1px; height: 34px; background: var(--rule-2); transform-origin: top; transform: scaleY(0); transition: transform .6s var(--out); }
  .steps li.lit::before { transform: scaleY(1); background: var(--gold); }
}

/* ---- Who it's for: the next six hours over two real places --------------------------------------- */
.spec, .principles, .roster { position: relative; padding: clamp(100px, 14vh, 160px) 0; border-top: 1px solid var(--rule); }
.roster-table { margin-top: 56px; border-top: 1px solid var(--rule-2); }
.sites { position: relative; margin-top: 56px; }
.sites-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; padding-bottom: 12px; border-bottom: 1px solid var(--rule-2); }
.sites-clock { display: flex; align-items: baseline; gap: 14px; font: 500 13px var(--mono); letter-spacing: .06em; color: var(--ink); font-variant-numeric: tabular-nums; }
.sites-clock span { color: var(--gold); min-width: 12ch; }
.sites-hint { font: 400 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.sites-map { display: block; width: 100%; aspect-ratio: 2.2 / 1; background: #050607; } /* 2.2:1 keeps the region at true shape for 37° N */
.sites-strip-wrap { display: grid; grid-template-columns: 92px 1fr; grid-template-rows: auto auto; column-gap: 14px; padding-top: 12px; border-top: 1px solid var(--rule); }
.sites-strip-labels { display: grid; grid-template-rows: 1fr 1fr; font: 500 10.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.sites-strip-labels span { display: flex; align-items: center; }
.sites-strip { display: block; width: 100%; height: 56px; }
.sites-strip-axis { grid-column: 2; display: flex; justify-content: space-between; margin-top: 6px; font: 400 10.5px var(--mono); color: var(--faint); }
.sites figcaption { margin-top: 18px; max-width: 90ch; font: 400 11.5px/1.6 var(--mono); color: var(--muted); }
.aud { display: grid; gap: 48px; margin-top: 64px; }
.aud-col { padding-top: 20px; border-top: 1px solid var(--rule-2); }
.aud-tag { font: 500 11px var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--gold); }
.aud-col h3 { margin-top: 12px; max-width: 30ch; font-size: clamp(1.3rem, 1.05rem + .7vw, 1.75rem); line-height: 1.2; font-weight: 500; letter-spacing: -.025em; }
.aud-stat { margin-top: 18px; color: var(--ink-2); font-size: 15.5px; }
.aud-stat b { display: block; font: 500 clamp(2.6rem, 1.8rem + 2.2vw, 3.6rem)/1 var(--sans); letter-spacing: -.045em; color: var(--ink); font-variant-numeric: tabular-nums; margin-bottom: 6px; }
.aud-next { margin-top: 16px; border-top: 1px solid var(--rule); font: 400 12px var(--mono); }
.aud-next li { display: grid; grid-template-columns: 80px 1fr auto; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--rule); color: var(--muted); }
.aud-next b { font-weight: 500; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aud-next i { font-style: normal; }
.aud-dl { margin: 26px 0 0; }
.aud-dl div { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.aud-dl dt { font: 500 11px/1.9 var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.aud-dl dd { margin: 0; color: var(--ink-2); font-size: 15.5px; }
@media (width >= 900px) { .aud { grid-template-columns: 1fr 1fr; gap: 64px; } }
@media (width < 600px) { .sites-strip-wrap { grid-template-columns: 72px 1fr; } }

/* Principles */
.rules { margin-top: 56px; border-top: 1px solid var(--rule-2); }
.rules li { display: grid; gap: 8px; padding: 24px 0; border-bottom: 1px solid var(--rule); }
.rules .pn { color: var(--gold); }
.rules h3 { font-size: 21px; font-weight: 500; letter-spacing: -.02em; }
.rules p { color: var(--ink-2); font-size: 15.5px; max-width: 64ch; }
@media (width >= 900px) { .rules li { grid-template-columns: 160px minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: baseline; } }

/* Roster */
.roster-row { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--rule); transition: background-color .3s; }
.roster-row:not(.roster-head):hover { background: rgb(236 233 226 / .025); }
.roster-head { display: none; }
.roster-head span { font: 500 11px var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.roster-row .rn { font-size: 22px; font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.roster-row [role="cell"]:nth-child(2) { color: var(--gold); font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.roster-row [role="cell"]:nth-child(n+3) { color: var(--ink-2); font-size: 15px; }
@media (width >= 1000px) {
  .roster-row { grid-template-columns: 1.1fr 1fr 1.4fr 2.2fr; gap: 32px; align-items: baseline; padding: 24px 0; }
  .roster-head { display: grid; padding: 14px 0; }
}

/* ---- Finale: the whole catalog to scale, in a second globe ---------------------------------------- */
.finale { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: clamp(110px, 16vh, 180px) 0; border-top: 1px solid var(--rule); overflow: hidden; }
.finale-scene { position: absolute; inset: 0; touch-action: pan-y; }
.finale-globe { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.4s var(--ease); }
.finale.globe-ready .finale-globe { opacity: 1; }
.finale-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgb(3 4 5 / .92) 0%, rgb(3 4 5 / .6) 30%, rgb(3 4 5 / 0) 52%), linear-gradient(180deg, var(--bg) 0%, rgb(3 4 5 / 0) 16%, rgb(3 4 5 / 0) 84%, var(--bg) 100%); }
.fine .finale-scene { cursor: grab; }
.fine .finale-scene.dragging { cursor: grabbing; }
.ring-label { position: absolute; left: 0; top: 0; display: grid; padding: 4px 9px 5px 14px; margin: -14px 0 0 10px; background: rgb(3 4 5 / .72); border-left: 1px solid var(--c); font: 400 11px/1.45 var(--mono); letter-spacing: .03em; color: var(--ink-2); white-space: nowrap; opacity: 0; transition: opacity .8s var(--ease); pointer-events: none; }
.ring-label.on { opacity: 1; }
.ring-label::before { content: ''; position: absolute; left: -14px; top: 10px; width: 7px; height: 7px; background: var(--c); }
.ring-label b { font: 500 18px/1.1 var(--sans); letter-spacing: -.02em; color: var(--ink); }
.ring-label i { font-style: normal; color: var(--muted); }
.ring-label[data-ring="leo"] { --c: var(--teal); }
.ring-label[data-ring="meo"] { --c: var(--lav); }
.ring-label[data-ring="geo"] { --c: var(--gold); }
.finale .wrap { position: relative; z-index: 1; pointer-events: none; }
.finale-copy { max-width: 560px; pointer-events: auto; }
.finale h2 { font-size: clamp(2.6rem, 1rem + 4.6vw, 6rem); line-height: .95; max-width: 11ch; }
.finale-copy > p:not(.fig-label):not(.finale-note) { margin-top: 24px; max-width: 40ch; color: var(--ink-2); font-size: 18px; }
.finale .btn { margin-top: 32px; }
.finale-note { margin-top: 34px; max-width: 52ch; font: 400 11.5px/1.65 var(--mono); color: var(--muted); }
.finale-note span[data-regime] { color: var(--ink-2); }
.drag-hint { color: var(--ink-2); }
@media (hover: none) { .drag-hint { display: none; } }
.no-webgl .finale-rings { display: none; }
@media (width < 900px) {
  .finale { align-items: flex-start; min-height: 150svh; }
  .finale-scrim { background: linear-gradient(180deg, var(--bg) 0%, rgb(3 4 5 / .85) 30%, rgb(3 4 5 / 0) 55%, rgb(3 4 5 / 0) 88%, var(--bg) 100%); }
  .ring-label { font-size: 10px; } .ring-label b { font-size: 15px; }
  .ring-label[data-ring="leo"], .ring-label[data-ring="meo"] { display: none; }
}

/* ---- Footer ------------------------------------------------------------------------------------- */
.footer { padding: 40px 0 56px; border-top: 1px solid var(--rule); }
.footer-grid { display: grid; gap: 12px; font: 400 11.5px/1.6 var(--mono); color: var(--faint); }
.footer .brand { margin-bottom: 8px; }
.footer .logo { height: 20px; }
@media (width >= 1000px) { .footer-grid { grid-template-columns: auto 1fr 2fr 2fr auto; gap: 32px; align-items: start; } .footer .brand { margin: 0; } }

/* ---- Reduced motion: everything visible, nothing moving ------------------------------------------- */
.reduced *, .reduced *::before, .reduced *::after { animation: none !important; transition: none !important; }
.reduced [data-reveal] { clip-path: none !important; }

/* ---- Target: drop a pin, see who passes over it next ------------------------------------------------ */
.pin { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .3s; }
.pin.on { opacity: 1; }
.pin-dot { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; background: var(--gold); box-shadow: 0 0 0 2px #000, 0 0 18px 4px rgb(245 145 58 / .7); }
.pin-ring { position: absolute; left: -26px; top: -26px; width: 52px; height: 52px; border: 1px solid var(--gold); border-radius: 50%; animation: ping 2.4s var(--out) infinite; }
.pin-ring.r2 { animation-delay: 1.2s; }
@keyframes ping { from { transform: scale(.2); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }
.aim-cta { margin-top: 4px; color: var(--gold); }
@media (hover: none) { .aim-cta { display: none; } }
.target { position: fixed; right: var(--gutter); top: 50%; z-index: 70; width: min(360px, calc(100vw - 2 * var(--gutter))); padding: 16px 18px 14px; background: rgb(5 6 8 / .97); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--rule-2); border-top: 2px solid var(--gold); pointer-events: auto; opacity: 0; visibility: hidden; transform: translate(16px, -50%); transition: opacity .4s var(--ease), transform .6s var(--out), visibility 0s .4s; }
.target.on { opacity: 1; visibility: visible; transform: translate(0, -50%); transition-delay: 0s; }
.target-head { display: flex; justify-content: space-between; align-items: center; }
.target-label { font: 500 11px var(--mono); letter-spacing: .09em; text-transform: uppercase; color: var(--gold); }
.target-close { padding: 2px 6px; border: 1px solid var(--rule-2); background: none; font: 400 11px var(--mono); color: var(--muted); cursor: pointer; }
.target-close:hover { color: var(--ink); border-color: var(--ink); }
.target-coord { margin-top: 8px; font: 500 15px var(--mono); letter-spacing: .02em; }
.target-sum { margin-top: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--rule); font-size: 12.5px; color: var(--muted); }
.target-sum b { display: block; font: 500 34px/1 var(--sans); letter-spacing: -.03em; color: var(--ink); margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.target-list { margin-top: 6px; max-height: 210px; overflow: hidden; }
.target-list li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 7px 0; border-bottom: 1px solid var(--rule); font: 400 11.5px/1.4 var(--mono); color: var(--muted); animation: rowin .5s var(--out) backwards; animation-delay: calc(var(--k) * 60ms); }
.target-list li b { color: var(--ink); font-weight: 500; letter-spacing: .03em; }
.target-list li .tm { color: var(--gold); text-align: right; font-variant-numeric: tabular-nums; }
.target-list li.now .tm { color: #72d09b; }
.target-list li .sw { grid-column: 1 / -1; }
.target-list .sw-i { display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: var(--c, var(--gold)); vertical-align: 0; }
@keyframes rowin { from { opacity: 0; transform: translateX(8px); } }
.target-note { margin-top: 10px; font: 400 10.5px/1.5 var(--mono); color: var(--faint); }
.target.computing .target-sum b { color: var(--muted); }
@media (width < 900px) { .target { top: auto; bottom: 12px; left: var(--gutter); right: var(--gutter); width: auto; transform: translateY(16px); box-shadow: 0 -20px 60px rgb(0 0 0 / .7); } .target.on { transform: none; } .target-list { max-height: 118px; } }
.sat-tip.flip .sat-card { left: auto; right: 18px; border-left: 1px solid var(--rule-2); border-right: 2px solid var(--gold); text-align: right; }
.aim.flip .aim-card { transform: translate(calc(-100% - 20px), 16px); text-align: right; }
