:root {
  color-scheme: light;
  --haze: #FBCD71; --beam: #FCE2A6; --hull: #EAD0A2; --lamp: #F4A63A; --glass: #4E7565; --glass-deep: #2F4640;
  --dune: #E6A34C; --ochre: #BD7C3C; --distance: #B48F5A; --rust: #8E5B33; --rust-dark: #6E4426; --basalt: #3C3D40; --night: #171D26; --ink: #12181E;
  --hull-shade: #CDB284;
  --rock-lab: #2F3237; --rock-farms: #2F2119; --rock-cavern: #24140E; --floor-cavern: #7C4A24;

  --f-display: "Anybody", "Arial Black", Impact, sans-serif;
  --f-body: "Atkinson Hyperlegible", "Helvetica Neue", Arial, sans-serif;
  --f-data: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --step--1: .875rem; --step-0: 1.0625rem; --step-1: 1.3rem; --step-2: 1.75rem; --step-3: clamp(2rem, 4.4vw, 3.2rem);
  --shadow: 5px 5px 0 var(--ink);
  --cap: 1920px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; background: var(--rock-lab); color: var(--hull); font-family: var(--f-body); font-size: var(--step-0); line-height: 1.55; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 900; font-stretch: 140%; font-variation-settings: "wdth" 140; line-height: 1.02; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p, ul, ol { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--lamp); outline-offset: 3px; }
.data { font-family: var(--f-data); font-size: var(--step--1); letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--lamp); color: var(--ink); padding: 8px 12px; border: 2px solid var(--ink); }
.skip:focus { left: 16px; }
.h-center { text-align: center; font-size: var(--step-3); }
.subhead { font-size: var(--step-2); margin-top: clamp(48px, 6vw, 72px); margin-bottom: 18px; }

.btn { display: inline-flex; align-items: center; gap: .5em; font-family: var(--f-body); font-weight: 700; font-size: 1rem; text-decoration: none; padding: .7em 1.25em; border: 2px solid var(--ink); border-radius: 0; box-shadow: var(--shadow); cursor: pointer; transition: transform .12s, box-shadow .12s; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 1px 1px 0 var(--ink); }
.btn--primary { background: var(--lamp); color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--hull); box-shadow: 5px 5px 0 var(--ochre); }
.btn--small { font-size: .875rem; padding: .45em .9em; }

.topbar { position: absolute; z-index: 20; inset: 0 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 10px; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.wordmark { font-family: var(--f-display); font-weight: 900; font-variation-settings: "wdth" 140; font-stretch: 140%; color: var(--ink); text-decoration: none; font-size: 1.15rem; letter-spacing: -.01em; white-space: nowrap; }
.wordmark span { color: var(--lamp); }
.topbar .wordmark { visibility: hidden; }
.topbar__actions { display: flex; gap: 6px; align-items: center; }
.topbar__link { color: var(--ink); text-decoration: none; font-weight: 700; font-size: .9rem; padding: 6px 10px; }
.topbar__link:hover { text-decoration: underline; }
.topbar__actions .btn--primary { box-shadow: 3px 3px 0 var(--ink); margin-left: 6px; }

:root { --sh: clamp(620px, 100vh, 1600px); }
.surface { position: relative; background: var(--haze); color: var(--ink); height: var(--sh); overflow: hidden; }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#scene-surface:not(.is-live) .rover { opacity: 0; }
.is-restoring body { visibility: hidden; }
.hero { position: relative; z-index: 2; padding-top: clamp(110px, 17vh, 190px); --core: max(50vw, 1.5 * var(--sh)); padding-left: max(16px, env(safe-area-inset-left, 0px), 6vw, calc((100vw - var(--core)) / 2 + var(--core) * .085)); padding-right: max(16px, env(safe-area-inset-right, 0px)); display: grid; justify-items: start; gap: 18px; max-width: 940px; }
.hero__mark { display: grid; justify-items: start; line-height: .9; }
.hero__eth { font-family: var(--f-data); font-weight: 500; font-size: clamp(.85rem, 1.3vw, 1.05rem); letter-spacing: .45em; color: var(--ink); background: var(--lamp); border: 2px solid var(--ink); padding: 3px 6px 3px 12px; margin-bottom: 12px; }
.hero__cc { font-size: clamp(2.1rem, 6.6vw, 6.2rem); font-variation-settings: "wdth" 150; font-stretch: 150%; letter-spacing: -.03em; color: var(--ink); text-shadow: 5px 5px 0 var(--hull); }
.hero__lede { font-size: var(--step-1); font-weight: 700; max-width: 30ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 4px; }
.scroll-cue { position: absolute; z-index: 3; right: max(16px, env(safe-area-inset-right, 0px)); bottom: 18px; font-family: var(--f-data); font-size: .8rem; color: var(--hull); background: var(--ink); padding: 6px 10px; }
.scroll-cue { transition: opacity .3s, translate .3s; }
.scroll-cue.is-gone { opacity: 0; translate: 0 8px; pointer-events: none; }
.scroll-cue::after { content: " ↓"; }

.strata { position: relative; container-type: inline-size; background: var(--rock-lab); overflow-x: clip; overflow-y: visible; }
.strata svg { --sw: max(100cqw, calc(var(--sh) * 3)); display: block; width: var(--sw); height: calc(var(--sw) * 874 / 3072); margin-left: calc((100cqw - var(--sw)) / 2); margin-bottom: calc(var(--sw) * -874 / 3072 * .3); }

.art { position: relative; width: 100%; aspect-ratio: var(--w) / var(--h); max-width: 100%; max-height: calc(var(--cap) * var(--h) / var(--w)); overflow: hidden; }
.art > svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.art--lab { background: var(--rock-lab); overflow-x: clip; overflow-y: visible; }
.art--lab > svg { overflow: visible; }
.art--farms { background: var(--rock-farms); overflow-x: clip; overflow-y: visible; }
.art--farms > svg { overflow: visible; }
.art > .scene--front { z-index: 3; pointer-events: none; }
.art--cavern { background: var(--rock-cavern); --cap: 1440px; }
.core { position: absolute; top: 0; bottom: 0; left: 50%; translate: -50% 0; aspect-ratio: var(--w) / var(--h); pointer-events: none; }
.over { position: absolute; z-index: 2; pointer-events: auto; }
#door-button { cursor: pointer; }
#door-button:hover { filter: brightness(1.12); }
.over--lab { left: 7%; top: 18%; width: 33%; }
.over--board { left: 19%; top: 21%; width: 42%; }
.plaque { background: var(--hull); color: var(--ink); border: 2px solid var(--ink); box-shadow: var(--shadow); padding: clamp(12px, 1.4vw, 22px); display: grid; gap: 10px; justify-items: start; font-size: clamp(.75rem, .95vw, 1rem); }
.plaque h2 { font-size: clamp(1.3rem, 2.4vw, 2.4rem); }
.plaque p { line-height: 1.45; }
.plaque .btn { font-size: .95em; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 14px; width: 100%; border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); padding: 10px 0; }
.facts dt { font-family: var(--f-data); font-size: .72em; text-transform: uppercase; letter-spacing: .06em; color: var(--rust); }
.facts dd { margin: 0; font-weight: 700; line-height: 1.25; }

.board { background: var(--rust); border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); padding: 0 12px 12px; position: relative; }
.board::before, .board::after { content: ""; position: absolute; top: 100%; width: 14px; height: 12%; background: var(--rust-dark); border: 3px solid var(--ink); border-top: 0; }
.board::before { left: 16%; } .board::after { right: 16%; }
.board__lamps { height: 26px; margin: 0 -12px 12px; border-bottom: 3px solid var(--ink); background: #3a2a1c radial-gradient(circle at 50% 50%, #FFE7B0 0 5px, var(--ink) 5px 7px, transparent 7.5px) 0 0 / 40px 26px repeat-x; }
.board__panel { background: #1E2B23; border: 3px solid var(--ink); padding: clamp(12px, 1.6vw, 24px); display: grid; gap: 8px; background-image: linear-gradient(to bottom, rgba(244, 166, 58, .12), transparent 40%); }
.board__title { color: var(--beam); font-size: clamp(1.1rem, 2.2vw, 2rem); margin-bottom: 4px; }
.board__label { font-family: var(--f-data); font-size: clamp(.6rem, .75vw, .78rem); text-transform: uppercase; letter-spacing: .1em; color: #c9d69a; display: flex; align-items: center; gap: 12px; }
.board__label::after { content: ""; flex: 1; border-top: 1.5px dashed #4f6b60; }
.board__label--light { color: var(--hull-shade); font-size: .78rem; }
.board__label--light::after { border-color: #5c4a3a; }
.slots { list-style: none; margin: 0 0 6px; padding: 0; display: grid; gap: clamp(8px, 1vw, 16px); }
.slots--xl { grid-template-columns: minmax(0, 1fr); }
.slots--lg { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.slots--md { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.slots--sm { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.slot { position: relative; background: var(--hull); color: #8a7752; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); display: grid; place-items: center; font-family: var(--f-data); font-size: clamp(.5rem, .7vw, .75rem); text-transform: uppercase; letter-spacing: .08em; max-width: 100%; }
.slots--xl .slot { aspect-ratio: 6 / 1; }
.slots--lg .slot { aspect-ratio: 5 / 2; }
.slots--md .slot { aspect-ratio: 2 / 1; }
.slots--sm .slot { aspect-ratio: 2 / 1; font-size: .68rem; }
.slot::before, .slot::after { content: ""; position: absolute; top: 6px; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); opacity: .55; }
.slot::before { left: 6px; } .slot::after { right: 6px; }
.slot span { border: 1.5px dashed #b49a6a; padding: 4px 10px; text-align: center; }

.stone { position: relative; }
.stone--farms { background: var(--rock-farms); color: var(--hull); }
.stone--cavern { background: var(--floor-cavern); color: var(--hull); }
.stone__inner { padding-block: clamp(40px, 6vw, 80px) clamp(64px, 9vw, 120px); }
.rows { display: grid; gap: 28px; }
.row-slots { display: grid; gap: 10px; }
.sponsor-cta { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; background: var(--ink); border: 2px solid var(--ink); color: var(--hull); }

.info { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: clamp(36px, 5vw, 60px); }
.info article { background: var(--hull); color: var(--ink); border: 2px solid var(--ink); box-shadow: var(--shadow); padding: 20px; display: grid; gap: 8px; align-content: start; min-width: 0; }
.info h3 { font-size: 1.3rem; }
.commons-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); }
.stops { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 22px; }
.stops::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 6px; background: var(--rust); border: 2px solid var(--ink); }
.stops li { display: grid; grid-template-columns: 28px 1fr; gap: 16px; align-items: start; position: relative; }
.stop__dot { width: 28px; height: 28px; background: var(--hull); border: 3px solid var(--ink); box-shadow: inset 0 0 0 5px var(--lamp); }
.stops h4 { font-size: 1.05rem; }
.stops .data { color: var(--hull-shade); margin-top: 2px; }
.faq details { border: 2px solid var(--ink); background: rgba(18, 24, 30, .35); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 14px 18px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-data); color: var(--lamp); }
.faq details[open] summary { border-bottom: 2px solid var(--ink); background: var(--lamp); color: var(--ink); }
.faq details[open] summary::after { content: "−"; color: var(--ink); }
.faq details p { padding: 14px 18px 18px; max-width: 60ch; }

.bedrock { background: var(--ink); color: var(--hull); }
.bedrock__inner { padding-block: 40px 56px; display: grid; gap: 8px; }
.bedrock .wordmark { color: var(--hull); }
.wordmark--foot { font-size: 1.6rem; }
.bedrock .data { color: #8c7f68; }

@media (max-width: 960px) {
  .topbar__link { display: none; }
  .info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .commons-grid { grid-template-columns: minmax(0, 1fr); }
  .over--lab { width: 42%; left: 6%; top: 14%; }
  .slots--sm { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .scroll-cue { display: none; }
  :root { --sh: clamp(640px, 100vh, 860px); }
  .hero { padding-left: max(16px, env(safe-area-inset-left, 0px)); }
  .hero__cc { font-size: 8.6vw; }
  .art { display: grid; aspect-ratio: auto; max-height: none; }
  .core { display: contents; }
  .art > svg { position: relative; inset: auto; aspect-ratio: var(--w) / var(--h); height: auto; }
  .over { position: static; transform: none; width: auto; padding: 16px; }
  .over--lab { order: -1; }
  .over--board { padding-bottom: 36px; }
  .art--farms > svg { grid-area: 1 / 1; }
  .board::before, .board::after { height: 20px; }
  .slots--lg, .slots--md, .slots--sm { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .info { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.eyebrow { font-family: var(--f-data); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--rust); }
.stone .eyebrow { color: var(--lamp); }
.lead { max-width: 60ch; margin-top: 10px; }
.h-left { font-size: var(--step-3); }
.stone--world { position: relative; z-index: 2; color: var(--hull); }
.stone--lab { position: relative; z-index: 2; color: var(--hull); }
.stone__inner--tight { padding-block: clamp(40px, 6vw, 80px); }
.world { max-width: 62ch; display: grid; gap: 14px; }
.world h2 { font-size: var(--step-3); color: var(--beam); }
.world p + p { margin-top: 2px; }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.tabs a { font-family: var(--f-body); font-weight: 700; font-size: .95rem; text-decoration: none; color: var(--hull); background: transparent; border: 2px solid var(--ink); padding: .5em 1.1em; box-shadow: 3px 3px 0 var(--ink); }
.tabs a.is-on { background: var(--lamp); color: var(--ink); }
.tabs a:hover { text-decoration: underline; }

.research__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.research__grid article { border: 2px solid var(--ink); background: rgba(18, 24, 30, .35); padding: 18px; display: grid; gap: 8px; align-content: start; }
.research__grid h4 { font-size: 1.1rem; color: var(--lamp); }

.systems { list-style: none; margin: clamp(24px, 3vw, 40px) 0 clamp(36px, 5vw, 60px); padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.systems li { background: var(--hull); color: var(--ink); border: 2px solid var(--ink); box-shadow: var(--shadow); padding: 16px 18px; display: grid; gap: 4px; }
.systems__tier { font-family: var(--f-data); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--rust); }
.systems strong { font-family: var(--f-display); font-stretch: 140%; font-variation-settings: "wdth" 140; font-size: 1.3rem; }
.systems li > span:last-child { font-size: .9rem; }

.over--notice { right: 4%; top: 9%; width: 30%; }
.notice { background: rgba(23, 29, 38, .92); color: var(--hull); border: 2px solid var(--ink); box-shadow: 6px 6px 0 rgba(18, 24, 30, .55); padding: clamp(14px, 1.4vw, 22px); display: grid; gap: 8px; font-size: clamp(.8rem, 1vw, 1rem); }

@media (max-width: 960px) {
  .research__grid, .systems { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .over--notice { width: 34%; }
}
@media (max-width: 720px) {
  .research__grid, .systems { grid-template-columns: minmax(0, 1fr); }
  .art--cavern { display: grid; }
  .over--notice { order: -1; }
}

svg[id^="scene-"] image { image-rendering: pixelated; }
