:root {
  color-scheme: dark;
  --ink: #101923;
  --ink-deep: #071016;
  --paper: #e4e1d8;
  --paper-warm: #d6d1c4;
  --paper-line: #b8b8ae;
  --text: #e9e7dd;
  --muted: #aeb4b1;
  --copper: #d39163;
  --coral: #e3604e;
  --silver: #b7c0bd;
  --cloud: #72818a;
  --max: 1220px;
  --sans: "IBM Plex Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --display: "Fraunces", "Source Serif 4", Georgia, serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

@font-face {
  font-family: "Fraunces";
  src: url("./fonts/fraunces-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("./fonts/fraunces-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("./fonts/source-serif-4-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Source Serif 4";
  src: url("./fonts/source-serif-4-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("./fonts/ibm-plex-sans-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("./fonts/ibm-plex-sans-500.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("./fonts/ibm-plex-sans-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink-deep); }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--serif); font-weight: 400; line-height: 1.62; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; z-index: 30; left: 1rem; top: -5rem; padding: .7rem 1rem; color: var(--ink); background: var(--copper); font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 1rem; }
.site-shell { overflow: hidden; }
.masthead { width: min(var(--max), calc(100% - 3rem)); margin: 0 auto; padding: 1.35rem 0 1rem; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(228,225,216,.2); gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--text); font: 600 .68rem/1 var(--sans); letter-spacing: .11em; }
.brand-symbol { display: grid; place-items: center; width: 1.7rem; height: 1.7rem; border: 1px solid var(--copper); border-radius: 50%; color: var(--copper); font-size: 1rem; }
.site-nav { display: flex; align-items: center; gap: 1.25rem; color: var(--muted); font: 500 .67rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.site-nav a { text-decoration: none; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--copper); }
.lang-switch { border: 1px solid rgba(228,225,216,.4); padding: .55rem .65rem; color: var(--text); }

.hero { width: min(var(--max), calc(100% - 3rem)); margin: 0 auto; min-height: 690px; padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(4rem, 8vw, 7rem); display: grid; grid-template-columns: minmax(0, .93fr) minmax(440px, 1.07fr); align-items: center; gap: clamp(3rem, 7vw, 8rem); }
.hero-copy { max-width: 690px; }
.eyebrow, .tag, .status-chip, .stage-meta, .stage-footer, .lane-top, .geo-annotations span, .hero-note span, .stats-band small { font: 600 .67rem/1.3 var(--sans); letter-spacing: .09em; text-transform: uppercase; }
.source-id, .dial-head, .dial-axis, .apparatus-row, .timeline-marker { font: 500 .67rem/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.eyebrow { color: var(--copper); margin: 0 0 1.4rem; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-wrap: balance; }
h1 { max-width: 720px; margin-bottom: 1.7rem; color: var(--paper); font-family: var(--display); font-size: clamp(4rem, 8.5vw, 8.5rem); line-height: .88; font-weight: 700; letter-spacing: -.045em; text-wrap: balance; }
h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.032em; }
h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.02em; }
.standfirst { max-width: 625px; color: var(--paper); font-size: clamp(1.18rem, 1.8vw, 1.5rem); line-height: 1.48; }
.hero-note { max-width: 520px; margin: 2.6rem 0 0; padding-top: 1.1rem; border-top: 1px solid rgba(228,225,216,.25); color: var(--muted); font-size: .92rem; }
.hero-note span { display: block; margin-bottom: .55rem; color: var(--copper); font-size: .6rem; }
.hero-visual { max-width: 600px; justify-self: end; width: 100%; }
.stage-meta { display: flex; justify-content: space-between; margin-bottom: .65rem; color: var(--muted); }
.stage-meta strong { color: var(--paper); font: 600 .78rem/1 var(--sans); letter-spacing: .01em; }
.eclipse-stage { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 1.18; border: 1px solid rgba(228,225,216,.25); background: radial-gradient(circle at 50% 50%, rgba(211,145,99,.11), transparent 24%), linear-gradient(135deg, #14212a, #080f15 65%); }
.eclipse-stage::before, .eclipse-stage::after { content: ""; position: absolute; z-index: -1; inset: 12%; border: 1px solid rgba(183,192,189,.18); border-radius: 50%; transform: rotate(-18deg) scaleX(1.65); }
.eclipse-stage::after { inset: 22%; border-style: dashed; transform: rotate(32deg) scaleX(1.65); opacity: .55; }
.eclipse-stage .corona { position: absolute; left: 50%; top: 50%; width: 48%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: repeating-conic-gradient(from 2deg, rgba(227,96,78,.5) 0deg 1deg, transparent 1deg 8deg), radial-gradient(circle, transparent 49%, rgba(211,145,99,.18) 52%, rgba(183,192,189,.35) 58%, transparent 69%); filter: blur(.3px); }
.eclipse-stage .sun-orb { position: absolute; left: 50%; top: 50%; width: 31%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: #e3604e; box-shadow: 0 0 36px rgba(227,96,78,.45), 0 0 90px rgba(211,145,99,.22); }
.eclipse-stage .moon-orb { position: absolute; left: 51%; top: 48%; width: 27%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle at 30% 26%, #27343c 0 2%, transparent 2.7%), radial-gradient(circle at 66% 64%, #0a1219 0 5%, transparent 5.7%), radial-gradient(circle at 30% 74%, #1d2b34 0 3%, transparent 3.5%), #070c10; box-shadow: 0 0 0 1px rgba(228,225,216,.35); transition: transform .45s ease, width .45s ease; }
.eclipse-stage .stage-crosshair { position: absolute; inset: 0; background: linear-gradient(90deg, transparent calc(50% - .5px), rgba(228,225,216,.2) 50%, transparent calc(50% + .5px)), linear-gradient(0deg, transparent calc(50% - .5px), rgba(228,225,216,.2) 50%, transparent calc(50% + .5px)); }
.stage-time, .stage-phase { position: absolute; left: 1.1rem; bottom: 1rem; color: var(--paper); font: 700 clamp(1.8rem, 4vw, 3.6rem)/1 var(--mono); letter-spacing: -.08em; }
.stage-phase { right: 1rem; left: auto; color: var(--copper); font-size: .8rem; letter-spacing: .08em; }
.stage-footer { display: flex; justify-content: space-between; margin-top: .65rem; color: var(--muted); font-size: .58rem; }
.visual-note { margin: .9rem 0 0; color: var(--muted); font-size: .78rem; }

.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(228,225,216,.2); border-bottom: 1px solid rgba(228,225,216,.2); background: #17242d; }
.stat { min-height: 160px; padding: 1.6rem clamp(1.2rem, 4vw, 3rem); border-right: 1px solid rgba(228,225,216,.14); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--copper); font: 500 clamp(1.8rem, 3.2vw, 2.8rem)/.95 var(--display); letter-spacing: -.045em; }
.stat span { display: block; margin: .65rem 0 .35rem; color: var(--paper); font-size: .93rem; }
.stat small { color: var(--muted); font-size: .58rem; }

.section { padding: clamp(5rem, 10vw, 9rem) max(1.5rem, calc((100vw - var(--max)) / 2)); }
.paper-section, .geography-section, .limits-section { color: var(--ink); background: var(--paper); }
.section-heading { max-width: 760px; }
.section-heading h2 { margin-bottom: 1.5rem; font-size: clamp(3rem, 6.3vw, 6.8rem); line-height: .88; font-weight: 800; text-wrap: balance; }
.paper-section .eyebrow, .geography-section .eyebrow, .limits-section .eyebrow, .timeline-section .eyebrow { color: #a6543c; }
.lede { max-width: 700px; margin: 0; font-size: clamp(1.05rem, 1.4vw, 1.3rem); line-height: 1.5; }
.thesis-pull { max-width: 640px; margin: 4rem 0 4rem auto; padding: 1.4rem 0 1.4rem 1.5rem; border-left: 4px solid var(--coral); }
.thesis-pull span { color: #a6543c; font: 700 .68rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.thesis-pull p { margin: .7rem 0 0; font: 500 clamp(1.5rem, 2.6vw, 2.25rem)/1.16 var(--display); letter-spacing: -.025em; }
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--paper-line); }
.story-card { min-height: 265px; padding: 1.6rem 1.5rem 1.5rem 0; margin-right: 1.5rem; border-right: 1px solid var(--paper-line); }
.story-card:last-child { border-right: 0; margin-right: 0; }
.tag { display: inline-block; margin-bottom: 2.2rem; color: #a6543c; font-size: .62rem; }
.story-card h3 { max-width: 320px; margin-bottom: .8rem; font: 600 clamp(1.48rem, 2vw, 2rem)/1.08 var(--serif); letter-spacing: -.025em; }
.story-card p { max-width: 340px; margin-bottom: 0; font-size: .94rem; }

.dark-section { background: var(--ink-deep); }
.dark-section .section-heading { color: var(--text); }
.dark-section .lede { color: var(--muted); }
.dark-section .eyebrow, .field-section .eyebrow, .sources-section .eyebrow { color: var(--copper); }
.dial-layout { display: grid; grid-template-columns: minmax(350px, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(3rem, 8vw, 8rem); margin-top: 4rem; }
.dial-panel { max-width: 540px; }
.dial-head { display: flex; justify-content: space-between; padding-bottom: .7rem; color: var(--muted); border-bottom: 1px solid rgba(228,225,216,.25); }
.dial-head strong { color: var(--paper); font-size: 1.2rem; }
.dial-stage { aspect-ratio: 1.15; }
.dial-stage[data-phase="0"] .moon-orb { width: 4%; left: 24%; top: 25%; background: var(--paper); box-shadow: 0 0 20px var(--paper); }
.dial-stage[data-phase="1"] .moon-orb { width: 21%; left: 47%; top: 49%; }
.dial-stage[data-phase="2"] .moon-orb { width: 27%; left: 51%; top: 48%; }
.dial-stage[data-phase="3"] .moon-orb { width: 20%; left: 56%; top: 47%; }
.dial-stage[data-phase="4"] .moon-orb { width: 5%; left: 76%; top: 30%; background: var(--paper); box-shadow: 0 0 20px var(--paper); }
.dial-stage[data-phase="0"] .sun-orb, .dial-stage[data-phase="4"] .sun-orb { box-shadow: 0 0 28px rgba(227,96,78,.28); }
.dial-axis { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: .65rem; padding-top: .75rem; color: var(--muted); font-size: .58rem; }
.dial-axis i { height: 1px; background: rgba(228,225,216,.35); }
.dial-copy { max-width: 580px; }
.phase-controls { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(228,225,216,.23); border-bottom: 1px solid rgba(228,225,216,.23); }
.phase-button { min-height: 125px; padding: .85rem .7rem; color: var(--muted); border: 0; border-right: 1px solid rgba(228,225,216,.16); background: transparent; text-align: left; cursor: pointer; font: inherit; }
.phase-button:last-child { border-right: 0; }
.phase-button:hover, .phase-button:focus-visible, .phase-button.is-selected { color: var(--paper); background: rgba(211,145,99,.13); outline: none; }
.phase-button > span, .phase-button > strong, .phase-button > small { display: block; }
.phase-button > span { color: var(--copper); font: 700 .65rem/1 var(--mono); }
.phase-button > strong { margin: 1.3rem 0 .45rem; font: 500 1rem/1 var(--mono); letter-spacing: -.06em; }
.phase-button > small { font-size: .72rem; line-height: 1.25; }
.live-status { display: grid; gap: .35rem; margin: 2rem 0 0; padding-left: 1rem; border-left: 2px solid var(--copper); }
.live-status span { color: var(--copper); font: 700 .62rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.live-status strong { color: var(--paper); font: 600 1.7rem/1.12 var(--serif); letter-spacing: -.025em; }
.live-status small { color: var(--muted); font-size: .9rem; }
.footnote { margin: 2rem 0 0; color: var(--muted); font-size: .78rem; }
.fallback-table { margin-top: 4rem; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; color: var(--text); font-size: .85rem; }
.paper-section .data-table, .geography-section .data-table, .limits-section .data-table { color: var(--ink); }
.data-table caption { margin-bottom: .75rem; color: var(--copper); font: 700 .65rem/1 var(--mono); letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.data-table th, .data-table td { padding: .85rem .7rem .85rem 0; border-top: 1px solid rgba(228,225,216,.2); vertical-align: top; text-align: left; }
.paper-section .data-table th, .paper-section .data-table td, .geography-section .data-table th, .geography-section .data-table td { border-color: var(--paper-line); }
.data-table th { font-weight: 700; }
.dark-section .fallback-table .data-table td:first-of-type { color: var(--copper); font-family: var(--mono); }

.field-section { background: #1d2a31; }
.field-section .section-heading h2 { color: var(--paper); }
.field-section .lede { color: var(--muted); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 4rem; }
.field-lane { position: relative; min-height: 415px; padding: 1.4rem; overflow: hidden; border: 1px solid rgba(228,225,216,.22); }
.field-lane.ground { background: linear-gradient(180deg, #334650, #17242c 72%); }
.field-lane.air { background: linear-gradient(180deg, #0c151c, #101e28 72%); }
.lane-top { display: flex; justify-content: space-between; color: var(--copper); }
.lane-top b { color: var(--muted); font: 700 .8rem/1 var(--mono); }
.field-lane h3 { position: relative; z-index: 1; max-width: 370px; margin: 4rem 0 1.5rem; color: var(--paper); font: 500 clamp(2rem, 4vw, 3.8rem)/.96 var(--display); letter-spacing: -.045em; }
.field-lane ul { position: relative; z-index: 1; max-width: 330px; margin: 0; padding: 0; list-style: none; color: var(--text); font-size: .9rem; }
.field-lane li { padding: .55rem 0; border-top: 1px solid rgba(228,225,216,.16); }
.lane-sky { position: absolute; right: -12%; bottom: -20%; width: 80%; aspect-ratio: 1.7; border-radius: 50%; border: 1px solid rgba(228,225,216,.22); transform: rotate(-15deg); opacity: .75; }
.lane-sky::before, .lane-sky::after { content: ""; position: absolute; left: 15%; top: 35%; width: 36%; height: 16%; border-radius: 50%; background: rgba(183,192,189,.24); filter: blur(9px); }
.lane-sky::after { left: 42%; top: 42%; width: 40%; }
.air-sky { right: -14%; bottom: -36%; border-color: rgba(227,96,78,.43); }
.air-sky::before, .air-sky::after { background: rgba(211,145,99,.26); filter: blur(5px); }
.lane-sky i { position: absolute; left: 50%; top: 48%; width: 34%; height: 1px; background: var(--copper); transform: rotate(-15deg); }
.lane-sky span { position: absolute; left: 8%; top: 10%; color: var(--muted); font: 700 .6rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.field-note { max-width: 720px; margin: 3rem 0 0; color: var(--paper); font: 500 clamp(1.38rem, 2.5vw, 2.05rem)/1.2 var(--display); letter-spacing: -.025em; }
.apparatus { display: grid; grid-template-columns: .7fr 1.3fr; gap: 4rem; margin-top: 6rem; padding-top: 1.2rem; border-top: 1px solid rgba(228,225,216,.23); }
.apparatus-grid { display: grid; grid-template-columns: 1fr 1fr; }
.apparatus-row { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 0; color: var(--muted); border-bottom: 1px solid rgba(228,225,216,.16); font-size: .61rem; }
.apparatus-row strong { color: var(--paper); text-align: right; font-size: .62rem; font-weight: 500; letter-spacing: 0; text-transform: none; }

.geography-section { background: var(--paper-warm); }
.route { display: flex; align-items: center; flex-wrap: wrap; gap: .7rem; margin: 4rem 0 2rem; padding: 1rem 0; border-top: 1px solid var(--paper-line); border-bottom: 1px solid var(--paper-line); }
.route-stop { display: inline-flex; align-items: center; gap: .4rem; color: var(--ink); font: 700 .71rem/1 var(--mono); text-transform: uppercase; }
.route-stop i { color: #a6543c; font-style: normal; font-size: .55rem; }
.route-arrow { color: #a6543c; }
.geo-annotations { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 3rem; }
.geo-annotations p { margin: 0; padding: 1rem; border: 1px solid var(--paper-line); font-size: .93rem; }
.geo-annotations span { display: block; margin-bottom: .7rem; color: #a6543c; font-size: .58rem; }

.timeline-section { background: #c9c8be; color: var(--ink); }
.timeline-section .section-heading { max-width: 900px; }
.timeline { position: relative; margin-top: 4rem; border-top: 1px solid #9ea099; }
.timeline-item { display: grid; grid-template-columns: 180px 1fr; gap: 2rem; padding: 1.5rem 0; border-bottom: 1px solid #9ea099; }
.timeline-marker { display: flex; flex-direction: column; gap: .5rem; color: #a6543c; }
.timeline-marker b { color: var(--ink); font-size: .62rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.timeline-item h3 { max-width: 780px; margin: 0 0 .6rem; color: var(--ink); font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.85rem); line-height: 1.22; letter-spacing: -.02em; font-weight: 400; }
.source-ref { color: #a6543c; font: .65rem/1.2 var(--mono); text-decoration: none; }
.source-ref:hover, .source-ref:focus-visible { text-decoration: underline; }

.limits-section { background: #e8e5dc; }
.limits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 3.5rem; }
.limit-card { padding: 1.6rem; border: 1px solid var(--paper-line); }
.limit-card.known { background: rgba(211,145,99,.13); border-color: rgba(166,84,60,.4); }
.limit-card.open { background: rgba(16,25,35,.06); }
.limit-card h3 { margin-bottom: 1.2rem; color: #a6543c; font: 600 1.75rem/1.06 var(--serif); letter-spacing: -.025em; }
.limit-card ul { margin: 0; padding-left: 1.15rem; }
.limit-card li { margin: .65rem 0; font-size: .92rem; }
.conclusion { max-width: 850px; margin: 3.5rem 0 0; font: 500 clamp(1.38rem, 2.5vw, 2.05rem)/1.2 var(--display); letter-spacing: -.025em; }

.sources-section { background: var(--ink); }
.sources-section .section-heading h2 { color: var(--paper); }
.sources-section .lede { color: var(--muted); }
.method-box { max-width: 760px; margin: 3rem 0; padding: 1.25rem 1.4rem; border: 1px solid rgba(211,145,99,.55); background: rgba(211,145,99,.08); }
.method-box strong { display: block; margin-bottom: .5rem; color: var(--copper); font: 700 .68rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.method-box p { margin-bottom: .8rem; color: var(--text); font-size: .92rem; }
.method-box small { color: var(--muted); font: .65rem/1 var(--mono); }
.source-groups { display: grid; gap: .7rem; }
.source-group { border-top: 1px solid rgba(228,225,216,.24); }
.source-group summary { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 0; color: var(--paper); cursor: pointer; font: 700 .76rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; list-style: none; }
.source-group summary::-webkit-details-marker { display: none; }
.source-group summary::before { content: "+"; margin-right: .7rem; color: var(--copper); font-size: 1.1rem; }
.source-group[open] summary::before { content: "−"; }
.source-group summary span { margin-right: auto; }
.source-group summary b { color: var(--muted); font-size: .65rem; font-weight: 500; }
.source-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; padding: 0 0 1.5rem; }
.source-card { display: flex; flex-direction: column; min-height: 245px; padding: 1.15rem; border: 1px solid rgba(228,225,216,.18); background: rgba(255,255,255,.035); }
.source-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: .6rem; }
.status-chip { display: inline-block; padding: .34rem .45rem; color: var(--ink); background: var(--copper); font-size: .53rem; }
.status-chip.calculation { background: #a8b3ad; }
.status-chip.institutional { background: #9aa4b5; }
.status-chip.context { background: #c4ba8a; }
.status-chip.open { color: var(--paper); background: #73483f; }
.source-id { color: var(--muted); font-size: .53rem; text-align: right; }
.source-card h3 { margin: 1.6rem 0 .7rem; color: var(--paper); font-size: 1rem; line-height: 1.2; }
.source-card p { margin-bottom: 1.2rem; color: var(--muted); font-size: .8rem; }
.source-card a { display: block; margin-top: auto; color: var(--copper); font: .65rem/1.3 var(--mono); text-decoration: none; }
.source-card a:hover, .source-card a:focus-visible { text-decoration: underline; }

.site-footer { display: flex; justify-content: space-between; gap: 3rem; padding: 3rem max(1.5rem, calc((100vw - var(--max)) / 2)); color: var(--muted); background: var(--ink-deep); font-size: .75rem; }
.not-found { min-height: 100vh; display: grid; place-items: center; text-align: center; }
.not-found h1 { max-width: none; margin-bottom: 1.3rem; font-size: clamp(3.4rem, 9vw, 7rem); }
.not-found p:not(.eyebrow) { color: var(--muted); }
.site-footer > div { max-width: 420px; }
.site-footer p { margin: 1rem 0 0; }
.site-footer a:not(.brand):not(.back-top) { display: inline-block; margin-top: 1rem; color: var(--copper); font: .65rem/1 var(--mono); text-decoration: none; }
.back-top { display: inline-flex; align-items: center; justify-content: center; align-self: flex-end; min-width: 44px; min-height: 44px; padding: .6rem .75rem; color: var(--ink); background: var(--copper); font: 600 .68rem/1 var(--sans); text-decoration: none; box-shadow: 0 4px 20px rgba(0,0,0,.25); }
.js-ready .back-top:not(.is-visible) { opacity: 0; pointer-events: none; }
.back-top.is-visible { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 10; }
.back-top span { margin-left: .35rem; }

@media (max-width: 900px) {
  .masthead { align-items: flex-start; }
  .site-nav { flex-wrap: wrap; justify-content: flex-end; gap: .7rem 1rem; }
  .hero { grid-template-columns: 1fr; gap: 3rem; min-height: 0; }
  .hero-visual { justify-self: start; max-width: 660px; }
  .dial-layout { grid-template-columns: 1fr; gap: 3rem; }
  .dial-panel { max-width: 660px; }
  .source-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .masthead, .hero { width: min(var(--max), calc(100% - 2rem)); }
  .masthead { display: block; }
  .site-nav { justify-content: flex-start; margin-top: 1.1rem; }
  .site-nav a:nth-child(-n+2) { display: none; }
  h1 { font-size: clamp(3.6rem, 17vw, 6rem); }
  .hero { padding-top: 4rem; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .stat { min-height: 130px; padding: 1rem; }
  .stat strong { font-size: 1.45rem; }
  .section { padding: 4.5rem 1rem; }
  .section-heading h2 { font-size: clamp(2.8rem, 14vw, 4.8rem); }
  .story-grid, .field-grid, .limits-grid, .geo-annotations { grid-template-columns: 1fr; }
  .story-card { min-height: 0; padding: 1.3rem 0; margin-right: 0; border-right: 0; border-bottom: 1px solid var(--paper-line); }
  .story-card:last-child { border-bottom: 0; }
  .tag { margin-bottom: 1.2rem; }
  .phase-controls { grid-template-columns: repeat(5, minmax(72px, 1fr)); overflow-x: auto; }
  .phase-button { min-width: 82px; min-height: 110px; }
  .phase-button > strong { margin-top: 1rem; font-size: .8rem; }
  .field-lane { min-height: 400px; }
  .apparatus { grid-template-columns: 1fr; gap: 1rem; margin-top: 4rem; }
  .apparatus-grid { grid-template-columns: 1fr; }
  .apparatus-row { font-size: .58rem; }
  .route { gap: .5rem; }
  .route-stop { font-size: .61rem; }
  .route-arrow { font-size: .7rem; }
  .timeline-item { grid-template-columns: 1fr; gap: .7rem; }
  .source-grid { grid-template-columns: 1fr; }
  .source-card { min-height: 0; }
  .site-footer { display: block; padding: 2.5rem 1rem; }
  .site-footer .back-top { margin-top: 2rem; }
  .site-footer > div + div { margin-top: 2rem; }
  .back-top span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  body { color: #000; background: #fff; }
  .masthead, .back-top, .phase-controls, .hero-visual, .site-footer { display: none; }
  .section, .hero { width: 100%; padding: 1.5rem 0; background: #fff; color: #000; }
  h1, h2, h3, .lede, .story-card p, .limit-card li { color: #000 !important; }
  .source-card a::after { content: " (" attr(href) ")"; }
}
