:root {
  --navy: #07102f;
  --navy-2: #101a3e;
  --yellow: #ffd21f;
  --cream: #f4f0e6;
  --coral: #ff796e;
  --blue: #9aafff;
  --muted: #b4bbcc;
  --line: rgba(244, 240, 230, .2);
  --page: min(1320px, calc(100vw - 64px));
  --mono: "JetBrains Mono", monospace;
  --display: "Orbitron", sans-serif;
  --sans: "Space Grotesk", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--navy); }
body { margin: 0; background: var(--navy); color: var(--cream); font: 400 16px/1.55 var(--sans); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
button { font: inherit; color: inherit; }
::selection { background: var(--yellow); color: var(--navy); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.skip-link { position: fixed; z-index: 999; left: 16px; top: 12px; transform: translateY(-160%); padding: 9px 12px; background: var(--yellow); color: var(--navy); font: 600 .75rem var(--mono); }
.skip-link:focus { transform: none; }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: 64px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(32px, calc((100vw - 1320px) / 2)); border-bottom: 1px solid var(--line); background: rgba(7, 16, 47, .97); }
.site-header a { text-decoration: none; }
.wordmark { font: 700 .75rem var(--mono); letter-spacing: .13em; text-transform: uppercase; }
.site-nav { display: flex; gap: 24px; font: 500 .75rem var(--mono); }
.site-nav a[aria-current="page"] { color: var(--yellow); }

/* Publication index */
.home-main { width: var(--page); margin: 0 auto; padding-top: 64px; }
.home-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(240px, .5fr); gap: 8vw; padding: 88px 0 72px; border-bottom: 1px solid var(--line); }
.home-hero h1 { max-width: 930px; margin: 0; font: 900 clamp(3rem, 7vw, 7rem)/.94 var(--display); letter-spacing: -.055em; text-transform: uppercase; }
.home-deck { max-width: 760px; margin: 32px 0 0; color: var(--muted); font-size: clamp(1.08rem, 1.6vw, 1.4rem); }
.home-scope { align-self: end; margin: 0; border-top: 1px solid var(--line); }
.home-scope div { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.home-scope dt, .edition-verdict dt { color: var(--muted); font: 500 .75rem var(--mono); }
.home-scope dd { margin: 0; text-align: right; font-size: .9rem; }

.current-edition { display: grid; grid-template-columns: .85fr 1.15fr; gap: 7vw; padding: 78px 0; border-bottom: 1px solid var(--line); }
.edition-heading h2 { margin: 0; font: 900 clamp(2.4rem, 4.8vw, 5rem)/.98 var(--display); letter-spacing: -.05em; text-transform: uppercase; }
.edition-heading > p { max-width: 620px; margin: 28px 0; color: var(--muted); font-size: 1.08rem; }
.primary-action { display: inline-flex; min-height: 44px; align-items: center; padding: 13px 17px; background: var(--yellow); color: var(--navy); font: 700 .78rem var(--mono); text-decoration: none; }
.primary-action:hover { background: var(--cream); }
.edition-verdict dl { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 32px; border: 1px solid var(--line); }
.edition-verdict dl div { padding: 14px; border-right: 1px solid var(--line); }
.edition-verdict dl div:last-child { border-right: 0; }
.edition-verdict dd { margin: 5px 0 0; font-weight: 600; }
table { width: 100%; border-collapse: collapse; }
caption { padding-bottom: 10px; text-align: left; color: var(--muted); font: 500 .75rem var(--mono); }
th, td { padding: 15px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { padding-right: 24px; font-weight: 500; }
td { width: 150px; text-align: right; }

.status-chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 7px; border: 1px solid currentColor; font: 500 .75rem/1.25 var(--mono); text-transform: uppercase; }
.status-chip::before { content: ""; width: 7px; height: 7px; background: currentColor; }
.status-eu { color: var(--yellow); }
.status-partner { color: var(--cream); }
.status-mixed { color: var(--blue); }
.status-external { color: var(--coral); }

.home-principle { display: grid; grid-template-columns: .85fr 1.15fr; gap: 7vw; padding: 68px 0; border-bottom: 1px solid var(--line); }
.home-principle h2, .research-queue h2, .contact-strip h2 { margin: 0; font: 900 clamp(1.9rem, 3vw, 3.3rem)/1 var(--display); letter-spacing: -.04em; text-transform: uppercase; }
.home-principle div { max-width: 680px; }
.home-principle p { margin: 0 0 18px; color: var(--muted); font-size: 1.05rem; }
.home-principle strong, .home-principle a { color: var(--cream); }

.research-queue { display: grid; grid-template-columns: .85fr 1.15fr; gap: 7vw; padding: 68px 0; border-bottom: 1px solid var(--line); }
.queue-list { border-top: 1px solid var(--line); }
.queue-list article { display: grid; grid-template-columns: 44px minmax(140px, .6fr) 1fr auto; gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.queue-list article > span, .queue-list strong { color: var(--muted); font: 500 .75rem var(--mono); }
.queue-list h3, .queue-list p { margin: 0; }
.queue-list h3 { font-size: 1rem; }
.queue-list p { color: var(--muted); }
.queue-list strong { color: var(--blue); text-transform: uppercase; }

.contact-strip { padding: 68px 0 76px; }
.contact-strip > a { display: inline-block; margin-top: 20px; color: var(--yellow); font-size: 1.05rem; }
.contact-strip nav { display: flex; gap: 20px; margin-top: 44px; color: var(--muted); font: 500 .75rem var(--mono); }

/* E-bike story */
.story-intro { width: var(--page); margin: 0 auto; padding: 140px 0 72px; border-bottom: 1px solid var(--line); }
.story-intro h1 { max-width: 1100px; margin: 0; font: 900 clamp(3rem, 7vw, 7.2rem)/.94 var(--display); letter-spacing: -.055em; text-transform: uppercase; }
.story-deck { max-width: 800px; margin: 32px 0 36px; color: var(--muted); font-size: clamp(1.1rem, 1.7vw, 1.45rem); }
.story-summary { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 930px; margin: 0; border: 1px solid var(--line); }
.story-summary div { padding: 14px; border-right: 1px solid var(--line); }
.story-summary div:last-child { border-right: 0; }
.story-summary dt { color: var(--muted); font: 500 .75rem var(--mono); }
.story-summary dd { margin: 5px 0 0; font-size: .9rem; }
.story-scope { max-width: 820px; margin: 20px 0 0; color: var(--muted); font-size: .9rem; }
.system-overview { max-width: 930px; margin-top: 42px; }
.system-overview h2 { margin: 0 0 12px; font: 700 .78rem var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.system-overview table { font-size: .88rem; }
.system-overview th, .system-overview td { padding: 10px 14px 10px 0; }
.system-overview thead th { color: var(--muted); font: 500 .75rem var(--mono); }
.system-overview tbody th { width: 26%; }
.system-overview tbody td { width: auto; text-align: left; color: var(--muted); }
.system-overview tbody td:nth-child(2) { color: var(--cream); }

.chapter-nav { position: sticky; z-index: 70; top: 64px; display: flex; gap: 5px; overflow-x: auto; padding: 9px max(16px, calc((100vw - 1320px) / 2)); border-bottom: 1px solid var(--line); background: rgba(7, 16, 47, .98); scrollbar-width: thin; }
.chapter-nav a { flex: 0 0 auto; display: flex; min-height: 44px; gap: 8px; align-items: center; padding: 9px 12px; border: 1px solid var(--line); color: var(--muted); font: 500 .75rem var(--mono); text-decoration: none; }
.chapter-nav a span { color: var(--cream); }
.chapter-nav a[aria-current="location"], .chapter-nav a:hover { border-color: var(--yellow); color: var(--cream); }
.chapter-nav a[aria-current="location"] span { color: var(--yellow); }

.story-shell { width: var(--page); margin: 0 auto; display: grid; grid-template-columns: minmax(0, .96fr) minmax(470px, 1.04fr); gap: clamp(40px, 5vw, 82px); align-items: start; }
.story-narrative { min-width: 0; grid-column: 1; grid-row: 1; }
.chapter { padding: 88px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 116px; }
.chapter-head { display: grid; grid-template-columns: 58px 1fr; gap: 18px; }
.chapter-head > div { min-width: 0; }
.chapter-no { padding-top: 8px; color: var(--yellow); font: 500 .75rem var(--mono); }
.chapter h2 { margin: 0 0 22px; font: 900 clamp(1.9rem, 3.2vw, 3.8rem)/.98 var(--display); letter-spacing: -.045em; text-transform: uppercase; }
.chapter-lede { margin: 0 0 32px; color: var(--cream); font-size: clamp(1.02rem, 1.25vw, 1.2rem); }
.chapter-copy { margin-left: 76px; }
.chapter-copy > p { margin: 0 0 20px; color: var(--muted); }
.chapter-copy strong { color: var(--cream); }
.chapter-snapshot { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 26px; }
.chapter-snapshot span { padding: 6px 8px; border: 1px solid var(--line); color: var(--muted); font: 500 .75rem var(--mono); }

.evidence-grid { display: grid; gap: 7px; margin-top: 30px; }
.evidence-card { position: relative; display: grid; grid-template-columns: minmax(150px, .45fr) minmax(210px, 1fr); gap: 8px 18px; padding: 16px 16px 16px 19px; border: 1px solid var(--line); background: rgba(255,255,255,.015); }
.evidence-card::before { content: ""; position: absolute; inset: -1px auto -1px -1px; width: 4px; background: var(--status-color); }
.evidence-card[data-status="eu"] { --status-color: var(--yellow); }
.evidence-card[data-status="partner"] { --status-color: var(--cream); }
.evidence-card[data-status="mixed"] { --status-color: var(--blue); }
.evidence-card[data-status="external"] { --status-color: var(--coral); }
.evidence-top { grid-column: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.evidence-card h3 { grid-column: 2; grid-row: 1; margin: 1px 0 8px; font-size: .96rem; line-height: 1.25; }
.evidence-card > p:not(.evidence-location) { grid-column: 2; margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.45; }
.evidence-location { grid-column: 1; margin: 7px 0 0; color: var(--cream); font: 500 .75rem/1.4 var(--mono); }
.evidence-date { grid-column: 1; color: var(--muted); font: 500 .75rem var(--mono); }
.evidence-links { grid-column: 2; display: flex; flex-wrap: wrap; gap: 10px; align-self: end; }
.evidence-links a { color: var(--yellow); font: 500 .75rem var(--mono); }
.confidence { color: var(--muted); font: 500 .75rem var(--mono); }
.confidence::before { content: "Confidence: "; }

.visual-column { position: sticky; top: 116px; height: calc(100vh - 116px); display: grid; grid-template-rows: auto minmax(260px, 1fr) auto auto; grid-column: 2; grid-row: 1; align-items: center; padding: 22px 0 18px; }
.visual-toolbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.visual-toolbar > strong { flex: 0 0 auto; font: 600 .75rem var(--mono); }
.legend { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 10px; }
.legend span { display: flex; align-items: center; gap: 5px; color: var(--muted); font: 500 .75rem var(--mono); }
.swatch { width: 10px; height: 10px; border: 1px solid currentColor; }
.swatch.eu { color: var(--yellow); background: var(--yellow); }
.swatch.partner { color: var(--cream); background: var(--cream); }
.swatch.external { color: var(--coral); background: var(--coral); }
.swatch.mixed { color: var(--blue); background: repeating-linear-gradient(135deg, var(--blue) 0 2px, transparent 2px 4px); }

.bike-stage { position: relative; width: 100%; aspect-ratio: 1.35; max-height: 54vh; margin: 10px 0; }
.bike-stage::after { content: ""; position: absolute; left: 1%; right: 1%; bottom: 6%; border-bottom: 1px solid var(--line); }
.bike-part { position: absolute; z-index: 2; transition: opacity .2s ease, filter .2s ease; }
.tyre { bottom: 6.5%; width: 31%; aspect-ratio: 1; border: 8px solid var(--yellow); border-radius: 50%; }
.tyre-rear { left: 1%; }
.tyre-front { right: 1%; }
.rim { bottom: 10.5%; width: 25%; aspect-ratio: 1; border: 3px solid var(--yellow); border-radius: 50%; background: repeating-conic-gradient(from 0deg, transparent 0 14deg, rgba(255,210,31,.55) 14deg 15deg); }
.rim::after { content: ""; position: absolute; inset: 47%; border-radius: 50%; background: var(--yellow); }
.rim-rear { left: 4%; }
.rim-front { right: 4%; }
.hub { bottom: 25.5%; width: 3%; aspect-ratio: 1; border: 2px solid var(--yellow); border-radius: 50%; background: var(--navy); }
.hub-rear { left: 15%; }
.hub-front { right: 15%; }
.brake-disc { bottom: 24.1%; width: 5.2%; aspect-ratio: 1; border: 1px dashed var(--blue); border-radius: 50%; }
.disc-rear { left: 13.9%; }
.disc-front { right: 13.9%; }

.frame-tube { height: 8px; border-radius: 8px; background: var(--yellow); transform-origin: left center; }
.top-tube { left: 37%; top: 38%; width: 32%; transform: rotate(-4deg); }
.down-tube { left: 69%; top: 35%; width: 35%; transform: rotate(129deg); }
.seat-tube { left: 37%; top: 38%; width: 27%; transform: rotate(68deg); }
.seat-stay { left: 37%; top: 39%; width: 32%; transform: rotate(130deg); }
.chain-stay { left: 16%; top: 72%; width: 31%; transform: rotate(-1deg); }
.head-tube { left: 69%; top: 34%; width: 7px; height: 15%; background: var(--yellow); transform: rotate(-13deg); }
.fork-leg { left: 71%; top: 48%; width: 4px; height: 28%; background: repeating-linear-gradient(to bottom, var(--blue) 0 4px, transparent 4px 7px); transform: rotate(-33deg); transform-origin: top; }
.fork-b { left: 72.2%; }
.cockpit { left: 67%; top: 27%; width: 17%; height: 5px; background: var(--blue); transform: rotate(-4deg); }
.cockpit::before { content: ""; position: absolute; left: 18%; bottom: 0; width: 4px; height: 38px; background: var(--blue); transform: rotate(-20deg); transform-origin: bottom; }
.saddle { left: 31.5%; top: 27%; width: 15%; height: 10px; border: 2px solid var(--blue); border-radius: 50% 60% 45% 35%; transform: rotate(3deg); }
.saddle::after { content: ""; position: absolute; left: 54%; top: 8px; width: 3px; height: 43px; background: var(--blue); transform: rotate(-7deg); }

.battery-pack { left: 58%; top: 41%; width: 23%; height: 9%; border: 2px solid var(--blue); background: var(--navy); transform: rotate(129deg); transform-origin: left center; }
.battery-pack::after { content: "PACK"; position: absolute; right: 5px; top: 50%; color: var(--blue); font: 500 .55rem var(--mono); transform: translateY(-50%); }
.cell-row { position: absolute; inset: 4px 36px 4px 5px; background: repeating-linear-gradient(90deg, var(--coral) 0 7px, transparent 7px 10px); }
.bms-board { position: absolute; right: 5px; top: 4px; bottom: 4px; width: 24px; border: 1px solid var(--blue); background: repeating-linear-gradient(135deg, var(--blue) 0 2px, transparent 2px 4px); }
.motor-body { left: 42.5%; top: 63%; width: 9%; aspect-ratio: 1; border: 3px solid var(--yellow); border-radius: 50%; background: var(--navy); }
.motor-body::after { content: ""; position: absolute; inset: 32%; border: 2px solid var(--yellow); border-radius: 50%; }
.magnet-ring { position: absolute; inset: 12%; border: 4px dashed var(--coral); border-radius: 50%; }
.crank { left: 46.6%; top: 69%; width: 17%; height: 4px; background: var(--yellow); transform: rotate(18deg); transform-origin: left; }
.crank::before { content: ""; position: absolute; left: -7px; top: -6px; width: 13px; height: 13px; border: 2px solid var(--yellow); border-radius: 50%; }
.chain { left: 17%; top: 69%; width: 30%; height: 8px; border-top: 2px dotted var(--blue); border-bottom: 2px dotted var(--blue); transform: rotate(-1deg); }
.controller { left: 53%; top: 60%; width: 8%; height: 7%; border: 2px solid var(--blue); background: repeating-linear-gradient(135deg, var(--blue) 0 2px, var(--navy) 2px 5px); }
.controller::before { content: ""; position: absolute; left: -9px; right: -9px; top: 48%; border-top: 1px solid var(--blue); }
.connectivity { left: 49%; top: 32%; width: 7%; height: 5%; border: 2px solid var(--yellow); background: var(--navy); }
.torque-sensor { left: 44.7%; top: 66%; width: 5%; aspect-ratio: 1; border: 2px dashed var(--blue); border-radius: 50%; }

.story-shell[data-active="raw-materials"] .bike-part:not(.part-materials),
.story-shell[data-active="frame-mechanical"] .bike-part:not(.part-frame),
.story-shell[data-active="motor-electronics"] .bike-part:not(.part-motor),
.story-shell[data-active="battery"] .bike-part:not(.part-battery),
.story-shell[data-active="controls"] .bike-part:not(.part-controls),
.story-shell[data-active="assembly"] .bike-part:not(.part-assembly),
.story-shell[data-active="circularity"] .bike-part:not(.part-circular) { opacity: .12; filter: grayscale(.7); }
.story-shell[data-active="verdict"] .s-external { filter: drop-shadow(0 0 7px rgba(255,121,110,.55)); }

.component-key { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.part-label { min-width: 0; min-height: 50px; padding: 9px 10px; border: 0; background: var(--navy); text-align: left; cursor: pointer; }
.part-label[data-status="eu"] { box-shadow: inset 3px 0 var(--yellow); }
.part-label[data-status="mixed"] { box-shadow: inset 3px 0 var(--blue); }
.part-label[data-status="external"] { box-shadow: inset 3px 0 var(--coral); }
.part-label span, .part-label small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.part-label span { font-size: .76rem; }
.part-label small { margin-top: 2px; color: var(--muted); font: 500 .75rem var(--mono); }
.part-label:hover { background: var(--navy-2); }
.visual-caption { display: flex; justify-content: space-between; gap: 16px; padding-top: 10px; color: var(--muted); font: 500 .75rem var(--mono); }
.visual-caption strong { color: var(--cream); font-weight: 500; }

.verdict-block { margin: 30px 0; padding: 26px; background: var(--yellow); color: var(--navy); }
.verdict-label { margin: 0 0 8px; font: 500 .75rem var(--mono); }
.verdict-block strong { display: block; font: 900 clamp(2.8rem, 5vw, 4.8rem)/1 var(--display); text-transform: uppercase; }
.verdict-block p:last-child { margin: 16px 0 0; }
.dependency-list { margin: 28px 0; padding: 0; list-style: none; }
.dependency-list li { padding: 12px 0; border-top: 1px solid var(--line); color: var(--muted); }
.colophon { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font: 500 .75rem/1.6 var(--mono); }
.colophon strong { color: var(--cream); }
.text-action { color: var(--yellow); font: 500 .75rem var(--mono); }

.source-register { width: var(--page); margin: 0 auto; padding: 84px 0 110px; border-top: 1px solid var(--line); }
.source-register h2 { margin: 0 0 22px; font: 900 clamp(2rem, 4vw, 4rem)/1 var(--display); text-transform: uppercase; letter-spacing: -.04em; }
.source-register > p { max-width: 760px; color: var(--muted); }
.source-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 36px; padding: 1px; background: var(--line); list-style: none; }
.source-list li { min-width: 0; padding: 15px; background: var(--navy); }
.source-list span { display: block; margin-bottom: 8px; color: var(--yellow); font: 500 .75rem var(--mono); }
.source-list a { overflow-wrap: anywhere; font-size: .82rem; }
.source-list small { display: block; margin-top: 7px; color: var(--muted); font: 500 .75rem var(--mono); }

/* Evidence drawer */
.evidence-drawer { position: fixed; z-index: 120; inset: 0 0 0 auto; width: min(480px, 100%); max-width: none; height: 100%; max-height: none; margin: 0; padding: 80px 30px 30px; border: 0; overflow-y: auto; background: var(--cream); color: var(--navy); box-shadow: -20px 0 60px rgba(0,0,0,.3); }
.evidence-drawer::backdrop { background: rgba(3, 7, 24, .72); }
.drawer-close { position: absolute; top: 22px; right: 22px; width: 44px; height: 44px; border: 1px solid rgba(7,16,47,.3); background: transparent; cursor: pointer; }
.evidence-drawer h2 { margin: 0 0 16px; font: 900 2rem/1 var(--display); text-transform: uppercase; }
.drawer-status { width: fit-content; margin-bottom: 24px; }
.drawer-claim { font-size: 1.02rem; }
.drawer-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 24px 0; background: rgba(7,16,47,.2); }
.drawer-facts div { padding: 12px; background: var(--cream); }
.drawer-facts dt { color: rgba(7,16,47,.62); font: 500 .75rem var(--mono); }
.drawer-facts dd { margin: 4px 0 0; font-size: .84rem; }
.drawer-sources a { display: block; margin: 9px 0; color: var(--navy); }

/* Methodology and legal */
.method-page, .legal-page { min-height: 100vh; background: var(--cream); color: var(--navy); }
.method-page .site-header, .legal-page .site-header { color: var(--cream); }
.method-page .status-eu { color: #705900; }
.method-hero, .legal-main { width: min(960px, calc(100vw - 64px)); margin: 0 auto; padding: 140px 0 70px; }
.method-hero h1, .legal-main h1 { margin: 0; font: 900 clamp(2.7rem, 6vw, 6rem)/.98 var(--display); text-transform: uppercase; letter-spacing: -.05em; }
.method-hero p { max-width: 720px; margin: 28px 0 0; font-size: 1.18rem; }
.method-content { width: min(960px, calc(100vw - 64px)); margin: 0 auto; padding-bottom: 100px; }
.method-section { display: grid; grid-template-columns: 220px 1fr; gap: 42px; padding: 54px 0; border-top: 1px solid rgba(7,16,47,.22); scroll-margin-top: 82px; }
.method-section h2 { margin: 0; font: 900 1.15rem/1.2 var(--display); text-transform: uppercase; }
.method-section h2 span { display: inline-block; width: 34px; color: rgba(7,16,47,.5); font: 500 .75rem var(--mono); }
.method-section h3 { margin: 28px 0 10px; }
.method-section p, .method-section li { max-width: 700px; }
.method-section a, .legal-main a { color: inherit; }
.status-definition { display: grid; grid-template-columns: 120px 1fr; gap: 12px 22px; }
.status-definition dt, .status-definition dd { margin: 0; padding-top: 12px; border-top: 1px solid rgba(7,16,47,.16); }
.method-note { padding: 20px; background: var(--navy); color: var(--cream); }
.method-note strong { color: var(--yellow); }
.legal-main { max-width: 760px; }
.legal-main h1 { margin-bottom: 36px; }
.legal-main p { font-size: 1.05rem; }
.back-link { display: inline-block; margin-top: 34px; font: 500 .75rem var(--mono); }

@media (max-width: 1050px) {
  :root { --page: calc(100vw - 40px); }
  .story-shell { grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr); gap: 30px; }
  .chapter-copy { margin-left: 0; }
  .chapter-head { grid-template-columns: 46px 1fr; }
  .component-key { grid-template-columns: repeat(2, 1fr); }
  .evidence-card { grid-template-columns: 140px 1fr; }
}

@media (max-width: 780px) {
  :root { --page: calc(100vw - 32px); }
  .site-header { height: 58px; padding-inline: 16px; }
  .site-nav { gap: 14px; font-size: .75rem; }
  .chapter-nav { top: 58px; }
  .home-main { padding-top: 58px; }
  .home-hero, .current-edition, .home-principle, .research-queue { grid-template-columns: 1fr; gap: 38px; }
  .home-hero { padding: 70px 0 52px; }
  .home-hero h1 { font-size: clamp(2.5rem, 12vw, 4.2rem); }
  .edition-verdict dl, .story-summary { grid-template-columns: 1fr 1fr; }
  .edition-verdict dl div:nth-child(2), .story-summary div:nth-child(2) { border-right: 0; }
  .edition-verdict dl div:nth-child(-n+2), .story-summary div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .queue-list article { grid-template-columns: 32px 1fr auto; }
  .queue-list article p { grid-column: 2 / -1; }
  .story-intro { padding: 110px 0 54px; }
  .story-intro h1 { font-size: clamp(2.3rem, 10vw, 4.2rem); }
  .system-overview { overflow-x: auto; }
  .system-overview table { min-width: 600px; }
  .chapter-nav a { min-height: 44px; padding: 9px 11px; }
  .story-shell { display: block; width: 100%; }
  .visual-column { display: none; }
  .story-narrative { width: var(--page); margin: 0 auto; }
  .chapter { padding: 68px 0; scroll-margin-top: 105px; }
  .chapter-head { grid-template-columns: 1fr; gap: 8px; }
  .chapter-no { padding-top: 0; }
  .chapter h2 { overflow-wrap: anywhere; font-size: clamp(1.75rem, 7.4vw, 3rem); }
  .chapter-snapshot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; padding: 1px; background: var(--line); }
  .chapter-snapshot::before { content: "CHAPTER SNAPSHOT"; grid-column: 1 / -1; padding: 9px 10px; background: var(--navy-2); color: var(--cream); font: 600 .75rem var(--mono); }
  .chapter-snapshot span { min-width: 0; padding: 10px; border: 0; background: var(--navy); overflow-wrap: anywhere; }
  .source-list { grid-template-columns: 1fr 1fr; }
  .method-hero, .method-content, .legal-main { width: calc(100vw - 32px); }
  .method-section { grid-template-columns: 1fr; gap: 22px; }
}

@media (max-width: 520px) {
  .wordmark { font-size: .75rem; letter-spacing: .06em; }
  .site-nav { gap: 6px; font-size: .75rem; }
  .home-hero h1 { overflow-wrap: anywhere; font-size: clamp(2.3rem, 10vw, 2.55rem); }
  .method-hero h1, .legal-main h1 { overflow-wrap: anywhere; }
  .current-edition, .home-principle, .research-queue, .contact-strip { padding: 54px 0; }
  .edition-verdict dl { grid-template-columns: 1fr; }
  .edition-verdict dl div { border-right: 0; border-bottom: 1px solid var(--line); }
  .edition-verdict dl div:last-child { border-bottom: 0; }
  .edition-verdict th, .edition-verdict td { display: block; width: 100%; padding: 10px 0; text-align: left; }
  .edition-verdict td { padding-top: 0; border-top: 0; }
  .story-summary { grid-template-columns: 1fr 1fr; }
  .system-overview table { min-width: 540px; }
  .evidence-card { display: block; }
  .evidence-top { flex-direction: row; justify-content: space-between; margin-bottom: 12px; }
  .evidence-card h3 { margin: 0 0 8px; }
  .evidence-location { margin-top: 14px; }
  .evidence-date { display: block; margin-top: 5px; }
  .evidence-links { margin-top: 9px; }
  .source-list { grid-template-columns: 1fr; }
  .status-definition { grid-template-columns: 1fr; }
  .status-definition dd { padding-top: 0; border-top: 0; }
}

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

@media print {
  .site-header, .chapter-nav, .visual-column, .primary-action { display: none !important; }
  body, .story-page { background: white; color: black; }
  .story-intro, .chapter, .source-register { padding: 26px 0; border-color: #aaa; }
  .story-shell { display: block; width: 100%; }
  .story-narrative { width: 100%; }
  .chapter-copy > p, .evidence-card p, .source-register > p { color: #222; }
  .evidence-card, .source-list { break-inside: avoid; border-color: #aaa; }
  .evidence-card, .source-list li { background: white; color: black; }
}
