/* FORG3D.app. Tokens as HSL variables (the Anvil convention), dark by default, light on
   <html class="light">. Fonts are vendored (OFL) except Michroma, used for the lockup only,
   which loads from Google Fonts with a local fallback. No colour is hard-coded outside the
   orbit canvas, which paints a night sky, not a surface. */

@font-face { font-family: 'Inter'; font-weight: 100 900; font-display: swap; src: url(fonts/inter-latin-wght-normal.woff2) format('woff2-variations'); }
@font-face { font-family: 'JetBrains Mono'; font-weight: 100 800; font-display: swap; src: url(fonts/jetbrains-mono-latin-wght-normal.woff2) format('woff2-variations'); }
@font-face { font-family: 'Instrument Serif'; font-weight: 400; font-display: swap; src: url(fonts/instrument-serif-latin-400-normal.woff2) format('woff2'); }

:root {
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --font-lockup: 'Michroma', 'Eurostile', 'Bank Gothic', 'Inter', sans-serif;

  /* DARK, the default: machined charcoal, champagne accent. */
  --background: 240 7% 5%;
  --foreground: 40 20% 90%;
  --card: 240 5% 9%;
  --muted: 240 5% 13%;
  --muted-foreground: 40 8% 64%;
  --primary: 39 46% 61%;
  --primary-foreground: 240 7% 5%;
  --border: 240 5% 21%;
  --ring: 39 46% 61%;
  --shadow: 0 0% 0%;
  --st-live: 153 75% 68%;
  --st-built: 207 55% 70%;
  --st-pilot: 36 75% 60%;
  --st-planned: 220 10% 50%;
  --radius: 6px;
  --tile-overlay: linear-gradient(hsl(0 0% 100% / 0.02), hsl(0 0% 100% / 0.02));
  --tile-shadow: 0 2px 8px hsl(var(--shadow) / 0.5);
  color-scheme: dark;
}
html.light {
  /* LIGHT: porcelain paper, graphite ink, bronze accent (the product's print tokens). */
  --background: 40 25% 95%;
  --foreground: 40 5% 10%;
  --card: 40 30% 98%;
  --muted: 40 18% 91%;
  --muted-foreground: 40 6% 36%;
  --primary: 38 51% 33%;
  --primary-foreground: 40 30% 98%;
  --border: 40 14% 76%;
  --ring: 38 51% 33%;
  --shadow: 40 10% 20%;
  --st-live: 150 48% 28%;
  --st-built: 207 52% 35%;
  --st-pilot: 38 51% 33%;
  --st-planned: 40 6% 52%;
  --tile-overlay: none;
  --tile-shadow: 0 2px 6px hsl(var(--shadow) / 0.14);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: hsl(var(--background)); color: hsl(var(--foreground));
  font: 16px/1.55 var(--font-sans); -webkit-font-smoothing: antialiased; font-feature-settings: 'ss01', 'cv11';
}
::selection { background: hsl(var(--primary) / 0.35); }
a { color: inherit; }
img, svg, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.word-box[hidden] { display: block !important; }
p { margin: 0 0 10px; }
h1, h2, h3 { margin: 0; font-weight: 400; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
.num { font-variant-numeric: tabular-nums; }
.container { width: min(100% - 32px, 1200px); margin-inline: auto; }
@media (min-width: 640px) { .container { width: min(100% - 48px, 1200px); } }
@media (min-width: 1024px) { .container { width: min(100% - 64px, 1200px); } }

/* one grammar: mono eyebrow, display title, muted lead */
.eyebrow { font: 600 11px/1.4 var(--font-mono); letter-spacing: .2em; text-transform: uppercase; color: hsl(var(--primary)); margin: 0; }
.eyebrow .n { color: hsl(var(--muted-foreground)); margin-right: 8px; }
.title { font-family: var(--font-display); font-size: clamp(26px, 3.2vw, 38px); line-height: 1.12; letter-spacing: -.005em; margin-top: 8px; text-wrap: balance; }
.lead { color: hsl(var(--muted-foreground)); font-size: clamp(15px, 1.3vw, 18px); line-height: 1.55; align-self: end; margin: 0; }
.muted { color: hsl(var(--muted-foreground)); }
.mono { font-family: var(--font-mono); }
.small { font-size: 13px; }
.tiny { font: 11px/1.5 var(--font-mono); color: hsl(var(--muted-foreground)); }

/* machined panel: bevel edge and an inner hairline; corners for the ones that matter */
.panel { position: relative; border: 1px solid hsl(var(--border)); border-radius: var(--radius); background: hsl(var(--card)); background-image: var(--tile-overlay); box-shadow: var(--tile-shadow); }
.panel::before { content: ''; position: absolute; inset: 4px; border: 1px solid hsl(var(--border) / .45); border-radius: calc(var(--radius) - 3px); pointer-events: none; }
.panel.corners::after { content: ''; position: absolute; inset: 4px; pointer-events: none; border-radius: calc(var(--radius) - 3px);
  background:
    linear-gradient(hsl(var(--primary)), hsl(var(--primary))) top left / 10px 1px no-repeat, linear-gradient(hsl(var(--primary)), hsl(var(--primary))) top left / 1px 10px no-repeat,
    linear-gradient(hsl(var(--primary)), hsl(var(--primary))) top right / 10px 1px no-repeat, linear-gradient(hsl(var(--primary)), hsl(var(--primary))) top right / 1px 10px no-repeat,
    linear-gradient(hsl(var(--primary)), hsl(var(--primary))) bottom left / 10px 1px no-repeat, linear-gradient(hsl(var(--primary)), hsl(var(--primary))) bottom left / 1px 10px no-repeat,
    linear-gradient(hsl(var(--primary)), hsl(var(--primary))) bottom right / 10px 1px no-repeat, linear-gradient(hsl(var(--primary)), hsl(var(--primary))) bottom right / 1px 10px no-repeat; }
.pad { padding: 20px; }
.pad-lg { padding: 28px; }

/* status ladder */
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid; border-radius: 3px; padding: 1px 6px; font: 600 9px/1.6 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; font-style: normal; background: hsl(var(--card)); vertical-align: 1px; white-space: nowrap; }
.chip i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip.live { color: hsl(var(--st-live)); border-color: hsl(var(--st-live) / .6); }
.chip.built { color: hsl(var(--st-built)); border-color: hsl(var(--st-built) / .6); }
.chip.pilot { color: hsl(var(--st-pilot)); border-color: hsl(var(--st-pilot) / .6); }
.chip.planned { color: hsl(var(--st-planned)); border-color: hsl(var(--st-planned) / .6); }
.dot-live { background: hsl(var(--st-live)); } .dot-built { background: hsl(var(--st-built)); } .dot-pilot { background: hsl(var(--st-pilot)); } .dot-planned { background: hsl(var(--st-planned)); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: hsl(var(--muted-foreground)); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }

/* buttons */
.btn { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 8px; border: 1px solid hsl(var(--border)); border-radius: var(--radius); padding: 0 20px; font: 600 12px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; background: transparent; transition: color .2s, border-color .2s, background .2s; }
.btn:hover, .btn:focus-visible { border-color: hsl(var(--primary)); color: hsl(var(--primary)); outline: none; }
.btn.primary { background: hsl(var(--primary)); border-color: hsl(var(--primary)); color: hsl(var(--primary-foreground)); }
.btn.primary:hover, .btn.primary:focus-visible { background: hsl(var(--primary) / .88); color: hsl(var(--primary-foreground)); }
.btn:focus-visible { box-shadow: 0 0 0 2px hsl(var(--background)), 0 0 0 4px hsl(var(--ring)); }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid hsl(var(--border)); border-radius: var(--radius); background: transparent; cursor: pointer; }
.icon-btn:hover, .icon-btn:focus-visible { border-color: hsl(var(--primary)); color: hsl(var(--primary)); outline: none; }
.icon-btn svg { width: 16px; height: 16px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid hsl(var(--border)); background: hsl(var(--background) / .85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav .container.bar { display: flex; height: 56px; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font-family: var(--font-lockup); font-size: 14px; letter-spacing: .12em; text-decoration: none; }
.brand small { margin-left: 10px; font: 10px/1 var(--font-mono); letter-spacing: .18em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.nav-links { display: none; gap: 20px; }
.nav-links a { font: 11px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: hsl(var(--muted-foreground)); text-decoration: none; }
.nav-links a:hover { color: hsl(var(--primary)); }
.nav-right { display: flex; gap: 8px; }
.nav .nav-menu { display: none; border-top: 1px solid hsl(var(--border)); padding: 8px 0 12px; }
.nav .nav-menu[data-open] { display: block; }
.nav-menu a { display: block; padding: 10px 0; font: 12px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: hsl(var(--muted-foreground)); text-decoration: none; }
@media (min-width: 768px) { .nav-links { display: flex; } .menu-btn { display: none; } .nav-menu { display: none !important; } .brand small { display: inline; } }
@media (max-width: 639px) { .brand small { display: none; } }

/* hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid hsl(var(--border)); }
.hero .grid-bg { position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background-image: linear-gradient(hsl(var(--border) / .35) 1px, transparent 1px), linear-gradient(90deg, hsl(var(--border) / .35) 1px, transparent 1px); background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 20%, #000, transparent 70%); mask-image: radial-gradient(ellipse at 30% 20%, #000, transparent 70%); }
.hero .scan { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, hsl(var(--primary) / .7), transparent); animation: scan 9s linear infinite; pointer-events: none; }
@keyframes scan { to { transform: translateY(60vh); } }
.hero .container { position: relative; display: grid; gap: 40px; padding: 64px 0; }
@media (min-width: 768px) { .hero .container { grid-template-columns: 3fr 2fr; align-items: end; padding: 96px 0 72px; } }
.lockup { font-family: var(--font-lockup); font-size: clamp(44px, 9vw, 112px); line-height: .95; letter-spacing: .02em; margin-top: 20px; }
.lockup small { display: block; font: 500 clamp(13px, 1.6vw, 20px)/1.4 var(--font-sans); letter-spacing: .3em; text-transform: uppercase; color: hsl(var(--primary)); margin-top: 10px; }
.pitch { max-width: 42rem; margin-top: 28px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; color: hsl(var(--muted-foreground)); text-wrap: pretty; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; padding: 4px; overflow: hidden; }
@media (min-width: 768px) { .facts { grid-template-columns: 1fr; } }
.facts div { background: hsl(var(--card)); padding: 12px 16px; }
.facts dt { font: 10px/1.4 var(--font-mono); letter-spacing: .18em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
.facts dd { margin: 4px 0 0; font: 600 16px/1.3 var(--font-sans); }

/* ticker */
.ticker { overflow: hidden; border-top: 1px solid hsl(var(--border)); background: hsl(var(--muted) / .6); padding: 8px 0; }
.ticker div { display: flex; width: max-content; gap: 48px; white-space: nowrap; font: 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: hsl(var(--muted-foreground)); animation: ticker 60s linear infinite; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* sections */
section.s { border-top: 1px solid hsl(var(--border)); padding: 56px 0; scroll-margin-top: 72px; }
@media (min-width: 768px) { section.s { padding: 80px 0; } }
.head { display: grid; gap: 16px; margin-bottom: 32px; }
@media (min-width: 768px) { .head { grid-template-columns: 1fr 2fr; gap: 40px; } }
.cards { display: grid; gap: 12px; }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 640px) { .cards-sm2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } .cards-4 { grid-template-columns: repeat(4, 1fr); } .cards-5 { grid-template-columns: repeat(5, 1fr); } }
.card h3 { font: 600 17px/1.3 var(--font-sans); margin-top: 8px; }
.card p { font-size: 14px; line-height: 1.55; color: hsl(var(--muted-foreground)); margin: 4px 0 0; }
.stat .v { font: 700 36px/1.05 var(--font-sans); letter-spacing: -.02em; }
.stat .l { margin-top: 4px; }
.stat .c { font-size: 12px; line-height: 1.5; color: hsl(var(--muted-foreground)); margin-top: 4px; }

/* tables and definition lists */
.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; padding: 12px 16px; background: hsl(var(--muted) / .6); font: 500 10px/1.4 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
td { padding: 11px 16px; border-top: 1px solid hsl(var(--border)); vertical-align: top; }
td.name { font-weight: 600; white-space: nowrap; }
td.r, th.r { text-align: right; white-space: nowrap; font-family: var(--font-mono); font-size: 12px; }
th.r { font-family: var(--font-mono); font-size: 10px; }
td.m { color: hsl(var(--muted-foreground)); }
.terms > div { display: grid; gap: 4px; padding: 12px 20px; border-top: 1px solid hsl(var(--border)); }
.terms > div:first-child { border-top: 0; }
@media (min-width: 640px) { .terms > div { grid-template-columns: 160px 1fr; gap: 16px; } }
.terms dt { font: 600 10px/1.6 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: hsl(var(--primary)); }
.terms dd { margin: 0; font-size: 14px; line-height: 1.55; }
.rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-top: 1px solid hsl(var(--border)); font-size: 14px; }
.rows > div:first-child { border-top: 0; }
.rows dt { color: hsl(var(--muted-foreground)); } .rows dd { margin: 0; font: 12px/1.6 var(--font-mono); }
.tl li { display: grid; grid-template-columns: 96px 1fr; gap: 12px; font-size: 14px; padding: 4px 0; }
.tl li.gate { border-left: 2px solid hsl(var(--primary)); background: hsl(var(--primary) / .06); padding: 6px 8px; border-radius: 3px; }
.tl .when { font: 600 10px/1.6 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: hsl(var(--primary)); }
.tl .what { color: hsl(var(--muted-foreground)); }
.two { display: grid; gap: 24px; }
@media (min-width: 1024px) { .two { grid-template-columns: 3fr 2fr; } .two.r { grid-template-columns: 2fr 3fr; } }
.stack { display: grid; gap: 12px; align-content: start; }
.list li { display: flex; gap: 8px; font-size: 14px; line-height: 1.55; color: hsl(var(--muted-foreground)); }
.list li::before { content: ''; flex: none; width: 4px; height: 4px; border-radius: 50%; background: hsl(var(--st-pilot)); margin-top: 9px; }
.warn { border-color: hsl(var(--st-pilot) / .4); }
.warn .eyebrow { color: hsl(var(--st-pilot)); }
.team li { display: grid; gap: 4px; padding: 16px 20px; border-top: 1px solid hsl(var(--border)); }
.team li:first-child { border-top: 0; }
@media (min-width: 640px) { .team li { grid-template-columns: 1fr 110px; gap: 16px; } .team .when { text-align: right; } }
.team b { font-weight: 600; } .team p { margin: 4px 0 0; font-size: 14px; color: hsl(var(--muted-foreground)); }
.team .when { font: 600 10px/1.6 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: hsl(var(--primary)); }
.close { border-top: 1px solid hsl(var(--border)); padding: 56px 0; background-image: repeating-linear-gradient(135deg, hsl(var(--border) / .45) 0 1px, transparent 1px 7px); }
.close .panel { max-width: 48rem; margin-inline: auto; text-align: center; padding: 32px; }
@media (min-width: 768px) { .close { padding: 80px 0; } .close .panel { padding: 48px; } }
.close ul { max-width: 36rem; margin: 24px auto 0; text-align: left; display: grid; gap: 8px; }
.close ul li { display: flex; gap: 8px; font-size: 14px; color: hsl(var(--muted-foreground)); }
.close ul li::before { content: '✓'; color: hsl(var(--primary)); }
footer.foot { border-top: 1px solid hsl(var(--border)); padding: 32px 0; }
footer.foot .container { display: grid; gap: 12px; font: 10.5px/1.6 var(--font-mono); color: hsl(var(--muted-foreground)); }
@media (min-width: 768px) { footer.foot .container { grid-template-columns: 1fr auto; } footer.foot .container p:last-child { text-align: right; } }

/* ===== the orbit: a rotary selector over a wheel of tiles ===== */
.orbit { position: relative; margin-top: 24px; overflow: hidden; isolation: isolate; display: flex; flex-direction: column;
  border: 1px solid hsl(var(--border)); background: #09090c; color: #F1EADB; --phone: 0;
  --o-live: #8fe3b8; --o-built: #9cc3e6; --o-pilot: #e8a24b; --o-planned: #8a8f99; }
.hmi { display: flex; justify-content: space-between; gap: 16px; padding: 14px 20px; font: 700 11px/1 var(--font-mono); letter-spacing: .22em; text-transform: uppercase; color: #A89F8E; border-bottom: 1px solid rgba(241,234,219,.12); }
.hmi span:last-child { color: #E8C482; }
.hmi-mid { color: #6f6b64; }
.obody { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .obody { grid-template-columns: minmax(600px, 54%) minmax(0, 1fr); } }
.dial { position: relative; min-height: clamp(560px, 50vw, 700px); border-right: 1px solid rgba(241,234,219,.12); }
.dial .sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.dial > * { z-index: 1; }
/* bezel labels: chips seated on the band, centred on their stop; the one at the index is white and larger */
.orbit-item { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 7px 11px 7px 9px; border: 1px solid rgba(241,234,219,.22); background: #0b0b0e;
  font: 700 12px/1 var(--font-sans); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
  color: rgba(241,234,219, calc(.7 + .3 * var(--near, 0))); transition: color .25s, border-color .25s, font-size .25s, padding .25s; }
.orbit-item .dot { width: 14px; height: 14px; border-radius: 2px; border: 1px solid rgba(241,234,219,.4); display: grid; place-items: center; background: #09090c; flex: none; transition: border-color .25s, box-shadow .25s; }
.orbit-item .dot i { width: 6px; height: 6px; border-radius: 1px; background: var(--st); }
.orbit-item:hover, .orbit-item:focus-visible { color: #fff; outline: none; }
.orbit-item:focus-visible .dot { outline: 2px solid hsl(var(--primary)); outline-offset: 3px; }
.orbit-item.is-selected { color: #fff; font-size: 14px; padding: 9px 14px 9px 11px; border-color: #fff; box-shadow: 0 0 0 4px rgba(232,196,130,.18); }
.orbit-item.is-selected .dot { border-color: #fff; }
.word-box { position: absolute; left: 50%; top: calc(50% + 6px); transform: translate(-50%, -50%); width: 48%; max-width: 400px; aspect-ratio: 2.1; background: none; border: 0; padding: 0; cursor: pointer; }
.word-box:focus-visible { outline: 2px solid hsl(var(--primary)); outline-offset: 10px; }
/* the side: a big headline, then the wheel */
.oside { display: flex; flex-direction: column; min-width: 0; }
.orbit-head { margin: 0; padding: 28px 28px 8px; }
.orbit-step { font: 700 11px/1.4 var(--font-mono); letter-spacing: .22em; text-transform: uppercase; color: #E8C482; margin: 0 0 12px; }
.orbit-title { font: 700 clamp(24px, 2.2vw, 34px)/1.12 var(--font-sans); letter-spacing: -.02em; margin: 0 0 12px; color: #fff; text-wrap: balance; }
.orbit-blurb { font: 400 15px/1.6 var(--font-sans); color: #C9C0B0; margin: 0; max-width: 60ch; text-wrap: pretty; }
.wheel { position: relative; margin-top: auto; padding: 20px 0 24px 28px; }
.wheel::after { content: ''; position: absolute; top: 0; right: 0; bottom: 0; width: 72px; background: linear-gradient(90deg, transparent, #09090c); pointer-events: none; }
.tiles { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 80px 4px 0; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tiles::-webkit-scrollbar { display: none; }
.tile { flex: none; width: 272px; min-height: 236px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; padding: 18px 18px 16px; border: 1px solid rgba(241,234,219,.16); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,0)); opacity: 0; transform: translateY(10px); transition: opacity .4s ease var(--d, 0s), transform .4s ease var(--d, 0s), border-color .2s; }
.tile.is-in { opacity: 1; transform: none; }
.tile:hover { border-color: rgba(232,196,130,.6); }
.tile-no { margin: 0; display: flex; align-items: center; gap: 10px; font: 700 11px/1 var(--font-mono); letter-spacing: .2em; color: #E8C482; }
.tile-text { margin: 0; font: 600 16px/1.35 var(--font-sans); letter-spacing: -.005em; color: #fff; }
.tile-shot { width: 320px; }
.tile-shot .shot { font-size: 11px; }
.tile-cap { margin: auto 0 0; font: 600 9px/1.5 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: #8E8A80; }
.tile-more { border-style: dashed; }
.tile-more .tile-text { font: italic 400 17px/1.35 var(--font-display); color: #F1EADB; }
.tile-open { margin-top: auto; align-self: flex-start; background: none; border: 0; border-bottom: 1px solid currentColor; padding: 0 0 3px; font: 700 11px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: #E8C482; cursor: pointer; }
.tile-open:hover, .tile-open:focus-visible { color: #fff; outline: none; }
.wheel-ctl { position: absolute; right: 24px; top: -18px; display: flex; gap: 6px; }
.wheel-ctl button, .orbit-ctl button { width: 36px; height: 36px; border: 1px solid rgba(241,234,219,.35); background: #09090c; color: #F1EADB; cursor: pointer; font: 600 14px/1 var(--font-mono); display: grid; place-items: center; transition: border-color .2s, color .2s; }
.wheel-ctl button:hover, .wheel-ctl button:focus-visible, .orbit-ctl button:hover, .orbit-ctl button:focus-visible { border-color: #fff; color: #fff; outline: none; }
.ochip { display: inline-block; padding: 2px 7px; font: 700 9px/1.4 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: #09090c; background: var(--st); }
.ochip.planned { color: #F1EADB; background: transparent; border: 1px solid var(--st); }
/* the console: index dots, explore, the ring controls */
.console { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 20px; border-top: 1px solid rgba(241,234,219,.12); background: #0d0d10; }
.odots { display: flex; gap: 6px; }
.odot { width: 22px; height: 6px; border: 0; padding: 0; background: rgba(241,234,219,.22); cursor: pointer; transition: background .3s, width .3s; }
.odot.is-on { width: 44px; background: #E8C482; }
.orbit-open { font: 700 12px/1.4 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: #E8C482; text-decoration: none; border: 0; border-bottom: 1px solid currentColor; background: none; padding: 0 0 3px; cursor: pointer; white-space: nowrap; }
.orbit-open:hover, .orbit-open:focus-visible { color: #fff; outline: none; }
.orbit-ctl { display: flex; gap: 8px; align-items: center; }
.orbit-ctl .kbd { font: 700 10px/1 var(--font-mono); letter-spacing: .16em; color: #6f6b64; margin-right: 8px; }
@media (max-width: 1023px) {
  .orbit { --phone: 1; }
  .hmi-mid { display: none; }
  .hmi { padding: 12px 16px; font-size: 10px; letter-spacing: .18em; }
  .hmi span:first-child { display: none; }
  .dial { min-height: 0; border-right: 0; padding: 16px 16px 0; }
  .dial .sky, .word-box { display: none !important; }
  .orbit-nav { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; margin: 0 -16px; padding-inline: 16px; scroll-snap-type: x proximity; }
  .orbit-nav::-webkit-scrollbar { display: none; }
  .orbit-item { position: static; transform: none !important; flex-direction: row !important; gap: 8px !important; padding: 10px 14px 10px 10px; border: 1px solid rgba(241,234,219,.22); font-size: 12px; min-height: 40px; color: #C9C0B0; scroll-snap-align: start; }
  .orbit-item.is-selected { border-color: #fff; font-size: 12px; color: #fff; }
  .orbit-head { padding: 18px 16px 4px; }
  .wheel { padding: 16px 0 20px 16px; }
  .tile { width: 248px; min-height: 180px; }
  .tile-shot { width: 290px; }
  .wheel-ctl { right: 16px; top: -14px; }
  .console { padding: 12px 16px 14px; }
  .orbit-ctl .kbd { display: none; }
  .orbit-ctl button, .wheel-ctl button { width: 44px; height: 44px; }
  .odots { display: none; }
}
@media (prefers-reduced-motion: reduce) { .tile { transition: none; } .hero .scan, .ticker div { animation: none; } }
/* detail layer: while it is open the panel outranks the sticky nav, on every size */
.orbit:has(.orbit-detail:not([hidden])) { z-index: 60; }
.orbit .orbit-detail { position: absolute; inset: 0; z-index: 20; background: rgba(7,7,10,.85); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 22px; margin: 0; }
.orbit .orbit-detail[hidden] { display: none; }
.detail-card { position: relative; width: min(100%, 920px); max-height: 100%; overflow: auto; background: #0b0b0f; border: 1px solid rgba(234,226,211,.22); box-shadow: 0 30px 80px rgba(0,0,0,.6); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.detail-main { padding: 26px 26px 22px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.detail-name { font: clamp(17px, 2vw, 24px)/1.15 var(--font-lockup); letter-spacing: .06em; text-transform: uppercase; color: #fff; margin: 0; text-wrap: balance; }
.detail-tag { font: italic clamp(15px, 1.5vw, 18px)/1.4 var(--font-display); color: #EAE2D3; margin: 0; border-left: 2px solid hsl(var(--primary)); padding-left: 12px; }
.detail-what { font: 11.5px/1.6 var(--font-mono); color: #C4BBAA; margin: 0; }
.detail-caps { display: grid; gap: 6px; }
.detail-caps li { font: 10.5px/1.4 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: #D8D0C0; display: flex; gap: 8px; align-items: baseline; }
.detail-caps li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--st); flex: none; transform: translateY(-2px); }
.detail-shot { margin: 0; padding: 26px 26px 26px 0; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.detail-shot figcaption { font: 9px/1.4 var(--font-mono); letter-spacing: .18em; text-transform: uppercase; color: #8E8A80; }
.detail-close { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(234,226,211,.35); background: #0b0b0f; color: #EAE2D3; cursor: pointer; font-size: 16px; line-height: 1; display: grid; place-items: center; z-index: 2; }
.detail-close:hover, .detail-close:focus-visible { border-color: #fff; color: #fff; outline: none; }
.shot { border: 1px solid rgba(234,226,211,.22); background: #07070a; border-radius: 4px; overflow: hidden; font: 10.5px/1.45 var(--font-mono); color: #D8D0C0; }
.shot-bar { display: flex; align-items: center; gap: 8px; padding: 7px 11px; border-bottom: 1px solid rgba(234,226,211,.14); color: #A89F8E; letter-spacing: .14em; text-transform: uppercase; font-size: 9px; }
.shot-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(234,226,211,.3); }
.shot-bar b { color: #EAE2D3; font-weight: 500; margin-left: auto; }
.shot-body { padding: 12px 13px; display: grid; gap: 7px; }
.shot .row { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed rgba(234,226,211,.12); padding-bottom: 5px; }
.shot .row:last-child { border-bottom: 0; padding-bottom: 0; }
.shot .k { color: #A89F8E; flex: none; } .shot .v { color: #fff; text-align: right; min-width: 0; overflow-wrap: anywhere; }
.shot .ok { color: var(--o-live); } .shot .warn { color: var(--o-pilot); } .shot .cool { color: var(--o-built); }
@media (max-width: 767px) {
  .orbit .orbit-detail { position: fixed; inset: 0; padding: 10px; z-index: 50; }
  .detail-card { grid-template-columns: 1fr; }
  .detail-shot { padding: 0 16px 20px; }
  .detail-main { padding: 20px 16px 12px; }
  .detail-close { width: 44px; height: 44px; }
}

/* ===== scroll-stage (the forged-origin-web drop-in), in FORG3D's tokens ===== */
/* ---- scroll-stage: begin ---- */
.ss-track { position: relative; --ss-top: 56px; }
.ss-stage { position: sticky; top: var(--ss-top); height: calc(100vh - var(--ss-top)); display: flex; align-items: center; overflow: hidden; }
.ss-grid { display: grid; grid-template-columns: 240px 1fr 1.1fr; gap: 40px; align-items: center; }
.ss-rail { display: grid; gap: 6px; }
.ss-rail li { display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid transparent; cursor: pointer; color: hsl(var(--muted-foreground)); font: 700 14px/1.2 var(--font-sans); letter-spacing: .01em; transition: color .4s, border-color .4s, background .4s; }
.ss-rail .jr-no { font: 700 11px/1 var(--font-mono); letter-spacing: .14em; color: hsl(var(--primary) / .5); }
.ss-rail li.is-done { color: hsl(var(--foreground) / .6); }
.ss-rail li.is-active { color: hsl(var(--foreground)); border-color: hsl(var(--border)); background: hsl(var(--card)); }
.ss-rail li.is-active .jr-no { color: hsl(var(--primary)); }
.ss-rail li:hover { color: hsl(var(--foreground)); }
.ss-visual { position: relative; height: 440px; }
.ss-visual::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, hsl(var(--primary) / .14), transparent 60%); }
.ss-visual > * { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: scale(.9); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.ss-visual svg { width: 380px; height: 380px; }
.ss-copy { max-width: 34rem; }
.ss-panels { position: relative; min-height: 260px; }
.ss-panels > * { position: absolute; inset: 0; opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.ss-panels h3 { margin: 12px 0 0; font: 400 clamp(30px, 2.8vw, 42px)/1.1 var(--font-display); }
.ss-panels p:last-child { margin: 16px 0 0; font-size: 17px; line-height: 1.6; color: hsl(var(--muted-foreground)); }
.ss-step { margin: 0; font: 700 11px/1.4 var(--font-mono); letter-spacing: .2em; color: hsl(var(--primary)); }
.ss-dots { display: flex; gap: 6px; margin-top: 32px; }
.ss-dots span { height: 4px; width: 16px; background: hsl(var(--border)); transition: width .5s, background .5s; }
.ss-track[data-active="0"] [data-step="0"], .ss-track[data-active="1"] [data-step="1"], .ss-track[data-active="2"] [data-step="2"],
.ss-track[data-active="3"] [data-step="3"], .ss-track[data-active="4"] [data-step="4"], .ss-track[data-active="5"] [data-step="5"],
.ss-track[data-active="6"] [data-step="6"], .ss-track[data-active="7"] [data-step="7"] { opacity: 1; transform: none; pointer-events: auto; }
.ss-dots span.is-active { width: 40px; background: hsl(var(--primary)); }
@media (max-width: 1023px) {
  .ss-track { height: auto !important; }
  .ss-stage { position: static; height: auto; display: block; overflow: visible; padding: 32px 0 0; }
  .ss-grid { display: block; }
  .ss-rail, .ss-dots, .ss-visual { display: none; }
  .ss-panels { min-height: 0; border-left: 1px solid hsl(var(--border)); margin-left: 8px; }
  .ss-panels > * { position: static; opacity: 1; transform: none; pointer-events: auto; padding: 0 0 36px 28px; position: relative; }
  .ss-panels > *::before { content: ''; position: absolute; left: -9px; top: 2px; width: 17px; height: 17px; border: 1px solid hsl(var(--primary)); background: hsl(var(--background)); }
  .ss-panels > *::after { content: ''; position: absolute; left: -3px; top: 8px; width: 5px; height: 5px; background: hsl(var(--primary)); }
  .ss-panels h3 { font-size: 26px; }
  .ss-panels p:last-child { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) { .ss-visual > *, .ss-panels > *, .ss-rail li, .ss-dots span { transition: none; } }
/* ---- scroll-stage: end ---- */

/* phones: tables become stacked records, each cell labelled by its column header (data-th set at load) */
@media (max-width: 639px) {
  .scroll table { min-width: 0 !important; }
  .scroll thead { display: none; }
  .scroll tr { display: grid; gap: 4px; padding: 12px 14px; border-top: 1px solid hsl(var(--border)); }
  .scroll tbody tr:first-child { border-top: 0; }
  .scroll td { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 0; border: 0; font-size: 13px; }
  .scroll td::before { content: attr(data-th); font: 600 9px/1.6 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: hsl(var(--muted-foreground)); }
  .scroll td.name, .scroll td:first-child { font-size: 15px; grid-template-columns: 1fr; }
  .scroll td.name::before, .scroll td:first-child::before { display: none; }
  .scroll td:first-child.m { color: hsl(var(--foreground)); font-weight: 600; }
  .scroll td.r { text-align: left; white-space: normal; }
  .scroll td:empty { display: none; }
}

/* Tile wheel, 2026-11-04: one tile fills the strip, a counter and dots show it moves left to right, and it turns on its own */
.wheel { padding-right: 28px; }
.wheel::after { display: none; }
.tiles { padding: 4px 0; }
.tile, .tile-shot { flex: 0 0 100%; width: 100%; box-sizing: border-box; }
.tile-shot .shot { font-size: 12px; }
.wheel-count { align-self: center; margin-right: 6px; font: 700 11px/1 var(--font-mono); letter-spacing: .16em; color: #8E8A80; }
.wheel-dots { display: flex; justify-content: center; gap: 4px; margin-top: 12px; }
.wheel-dots button { width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.wheel-dots button::before { content: ''; width: 8px; height: 8px; border-radius: 50%; border: 1px solid rgba(241,234,219,.45); transition: background .2s, border-color .2s, width .2s; }
.wheel-dots button[aria-current="true"]::before { width: 18px; border-radius: 4px; background: #E8C482; border-color: #E8C482; }
.wheel-dots button:focus-visible { outline: 1px solid #fff; }
@media (max-width: 760px) { .wheel { padding-right: 16px; } .tile, .tile-shot { width: 100%; } }

/* Tile wheel, peek (2026-11-04): the current tile sits in the middle with a slice of its neighbours at each side */
.wheel { padding-left: 0; padding-right: 0; }
.tiles { padding: 4px 11%; scroll-padding-inline: 11%; }
.tile, .tile-shot { flex: 0 0 78%; width: 78%; scroll-snap-align: center; transition: opacity .35s, transform .35s, border-color .2s; }
.tiles .tile.is-in.is-side { opacity: .38; transform: scale(.96); cursor: pointer; }
.tiles .tile.is-side:hover { opacity: .6; }
@media (max-width: 760px) { .tiles { padding: 4px 8%; scroll-padding-inline: 8%; } .tile, .tile-shot { flex-basis: 84%; width: 84%; } }
@media (prefers-reduced-motion: reduce) { .tile, .tile-shot { transition: none; } .tiles .tile.is-in.is-side { transform: none; } }
@media (max-width: 760px) { .tiles { padding: 4px 6%; scroll-padding-inline: 6%; } .tile, .tile-shot { flex-basis: 88%; width: 88%; } .tile-shot { padding: 14px 12px 12px; } .tile-shot .shot { font-size: 10.5px; } .tile-shot .shot .row { gap: 8px; } }
