:root {
  --ink: #070b09;
  --panel: #0d1410;
  --panel-2: #111a15;
  --paper: #e8e7dc;
  --muted: #8d9a8f;
  --dim: #59635b;
  --line: #2c3a30;
  --green: #b8ff4c;
  --amber: #ffad33;
  --amber-soft: #c98228;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: Inter, Arial, sans-serif;
}

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }

::selection { color: var(--ink); background: var(--green); }

main {
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 74% 7%, rgba(184,255,76,.05), transparent 28rem),
    radial-gradient(circle at 2% 52%, rgba(255,173,51,.035), transparent 24rem),
    var(--ink);
}

.ambient {
  position: fixed;
  inset: 0;
  opacity: .38;
  pointer-events: none;
  z-index: 20;
  background-image:
    linear-gradient(rgba(255,255,255,.014) 1px, transparent 1px),
    radial-gradient(rgba(184,255,76,.14) .5px, transparent .8px);
  background-size: 100% 4px, 5px 5px;
  mix-blend-mode: screen;
}

.site-header,
.hero,
.timeline-section,
.method-section,
.sources-section,
footer {
  width: min(1480px, calc(100% - 80px));
  margin-inline: auto;
}

.site-header {
  height: 84px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font: 500 12px/1 "Lucida Console", Monaco, monospace;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid #70806f; color: var(--green); font-size: 22px; }
.muted { color: var(--muted); }
.site-header nav { display: flex; gap: 48px; }
.site-header nav a { text-decoration: none; color: #c9cdc5; transition: color .2s ease; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--green); }
.status { justify-self: end; display: flex; gap: 10px; align-items: center; color: var(--green); }
.status span { color: var(--paper); }
.status i { width: 5px; height: 5px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }

.hero {
  min-height: 650px;
  padding: 76px 0 64px;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(600px, 1.15fr);
  gap: clamp(48px, 6vw, 110px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--green);
  font: 500 12px/1.4 var(--font-geist-mono), monospace;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(52px, 5.7vw, 96px);
  line-height: .92;
  letter-spacing: -.065em;
  font-weight: 760;
  text-wrap: balance;
}

.hero h1 span { color: transparent; -webkit-text-stroke: 1px #a5afa5; }

.lead {
  max-width: 630px;
  margin: 30px 0 34px;
  color: #a7b0a6;
  font-size: clamp(16px, 1.2vw, 20px);
  line-height: 1.65;
}

.primary-button {
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid var(--amber);
  border-radius: 0;
  color: var(--amber);
  background: rgba(255,173,51,.03);
  font: 600 12px/1 var(--font-geist-mono), monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.primary-button span { margin-left: 30px; font-size: 20px; vertical-align: -1px; }
.primary-button:hover, .primary-button:focus-visible { color: var(--ink); background: var(--amber); transform: translateY(-2px); outline: none; }

.hero-card {
  min-height: 430px;
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  border: 1px solid #61705f;
  background: rgba(10,16,12,.78);
  position: relative;
  clip-path: polygon(14px 0, calc(100% - 16px) 0, 100% 16px, 100% calc(100% - 14px), calc(100% - 14px) 100%, 14px 100%, 0 calc(100% - 14px), 0 14px);
}
.hero-card::before, .hero-card::after { content: ""; position: absolute; width: 22px; height: 2px; background: var(--amber); right: -1px; z-index: 3; }
.hero-card::before { top: 0; }
.hero-card::after { bottom: 0; }
.hero-card .mechanic-visual { border-right: 1px solid var(--line); }
.hero-card-copy { padding: 38px 32px 30px; display: flex; flex-direction: column; }
.card-kicker { display: flex; gap: 12px; align-items: baseline; padding-bottom: 24px; border-bottom: 1px solid var(--line); font: 600 clamp(20px, 2vw, 32px)/1 var(--font-geist-mono), monospace; text-transform: uppercase; }
.card-kicker strong { color: var(--green); }
.card-kicker span { color: var(--muted); }
.card-label { color: var(--muted) !important; font: 500 12px/1.5 var(--font-geist-mono), monospace !important; letter-spacing: .04em; text-transform: uppercase; }
.hero-card-copy > p { color: #b5bdb3; font-size: 15px; line-height: 1.7; margin: 28px 0 0; }
.tag-row { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; }
.tag-row span { border: 1px solid #53624f; padding: 9px 11px; color: #aebaa7; font: 500 10px/1 var(--font-geist-mono), monospace; text-transform: uppercase; clip-path: polygon(7px 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%,0 7px); }

.mechanic-visual { min-height: 330px; position: relative; overflow: hidden; background: #09100c; isolation: isolate; }
.visual-grid { position: absolute; inset: 0; opacity: .45; background-image: radial-gradient(rgba(184,255,76,.22) .65px, transparent .8px); background-size: 11px 11px; }
.visual-index { position: absolute; z-index: 3; top: 18px; left: 20px; color: #657062; font: 500 10px/1 var(--font-geist-mono), monospace; letter-spacing: .12em; }
.visual-scanline { position: absolute; z-index: 5; left: 0; right: 0; height: 1px; top: -5%; background: rgba(184,255,76,.25); box-shadow: 0 0 12px rgba(184,255,76,.35); animation: scan 6s linear infinite; }
.visual-shape, .visual-path { position: absolute; z-index: 2; }

@keyframes scan { to { top: 105%; } }

.visual-duel .shape-a, .visual-duel .shape-b { width: 11px; height: 90px; top: 38%; background: var(--green); box-shadow: 0 0 18px rgba(184,255,76,.22); }
.visual-duel .shape-a { left: 16%; }
.visual-duel .shape-b { right: 16%; transform: translateY(22px); }
.visual-duel .shape-c { width: 15px; height: 15px; left: 51%; top: 55%; background: var(--green); }
.visual-duel .visual-path { top: 18%; bottom: 12%; left: 50%; border-left: 2px dashed #687967; }

.visual-maze .shape-a { inset: 23% 17%; border: 2px solid #6e826c; clip-path: polygon(0 0,100% 0,100% 22%,44% 22%,44% 44%,78% 44%,78% 66%,28% 66%,28% 100%,0 100%); }
.visual-maze .shape-b { width: 24px; height: 24px; left: 48%; top: 48%; border: 2px solid var(--green); transform: rotate(45deg); }
.visual-maze .shape-c { width: 9px; height: 9px; left: 26%; top: 31%; background: var(--amber); border-radius: 50%; }

.visual-road .visual-path { left: 28%; right: 28%; top: 12%; bottom: -15%; border-left: 2px dashed #73826d; border-right: 2px dashed #73826d; transform: perspective(180px) rotateX(7deg); }
.visual-road .shape-a, .visual-road .shape-b, .visual-road .shape-c { width: 20px; height: 35px; border: 2px solid var(--green); }
.visual-road .shape-a { left: 46%; bottom: 18%; }
.visual-road .shape-b { left: 34%; top: 24%; transform: scale(.7); }
.visual-road .shape-c { right: 35%; top: 43%; transform: scale(.55); border-color: var(--amber); }

.visual-aim .shape-a, .visual-aim .shape-b { width: 16px; height: 44px; bottom: 24%; border: 2px solid var(--green); }
.visual-aim .shape-a { left: 22%; }
.visual-aim .shape-b { right: 22%; }
.visual-aim .shape-c { width: 10px; height: 10px; left: 50%; top: 43%; border: 2px solid var(--amber); border-radius: 50%; }
.visual-aim .visual-path { width: 44%; left: 28%; top: 50%; border-top: 1px dashed var(--amber); transform: rotate(-8deg); }

.visual-cave .visual-path { inset: 18% 13%; background: linear-gradient(130deg, transparent 10%, #556353 11% 13%, transparent 14% 32%, #556353 33% 35%, transparent 36% 55%, #556353 56% 58%, transparent 59%); clip-path: polygon(0 25%, 38% 25%, 38% 0, 65% 0, 65% 48%, 100% 48%, 100% 75%, 57% 75%, 57% 100%, 20% 100%, 20% 58%, 0 58%); border: 1px solid #435043; }
.visual-cave .shape-a { width: 10px; height: 16px; left: 22%; top: 36%; background: var(--green); }
.visual-cave .shape-b { width: 16px; height: 16px; right: 24%; bottom: 24%; border: 1px solid var(--amber); transform: rotate(45deg); }

.visual-bricks .shape-a { left: 18%; right: 18%; top: 20%; height: 38%; background: repeating-linear-gradient(90deg, #61705d 0 42px, transparent 42px 47px), repeating-linear-gradient(0deg, transparent 0 18px, #09100c 18px 22px); }
.visual-bricks .shape-b { width: 74px; height: 8px; left: calc(50% - 37px); bottom: 16%; background: var(--green); }
.visual-bricks .shape-c { width: 13px; height: 13px; border: 2px solid var(--amber); left: 54%; top: 66%; transform: rotate(45deg); }

.visual-text::after { content: "> OPEN MAILBOX\A THE MAILBOX IS CLOSED.\A > OPEN MAILBOX\A YOU OPEN THE MAILBOX."; white-space: pre; position: absolute; inset: 26% 12%; color: #8fa082; font: 500 12px/2.1 var(--font-geist-mono), monospace; }
.visual-text .shape-a { width: 8px; height: 16px; left: 62%; bottom: 26%; background: var(--green); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.visual-swarm .shape-a { left: 18%; right: 18%; top: 24%; height: 42%; background: radial-gradient(circle, var(--green) 0 4px, transparent 5px); background-size: 38px 30px; }
.visual-swarm .shape-b { width: 28px; height: 10px; left: calc(50% - 14px); bottom: 14%; background: var(--amber); clip-path: polygon(20% 0,80% 0,100% 100%,0 100%); }

.visual-world .shape-a, .visual-world .shape-b, .visual-world .shape-c { width: 26px; height: 26px; border: 1px solid var(--green); border-radius: 50%; }
.visual-world .shape-a { left: 25%; top: 31%; }
.visual-world .shape-b { left: 57%; top: 24%; border-color: var(--amber); }
.visual-world .shape-c { right: 24%; bottom: 25%; }
.visual-world .visual-path { inset: 20%; background: linear-gradient(25deg, transparent 48%, #5f705d 49% 50%, transparent 51%), linear-gradient(-35deg, transparent 48%, #5f705d 49% 50%, transparent 51%); }

.visual-inertia .shape-a { width: 46px; height: 46px; left: 44%; top: 43%; border: 2px solid var(--green); clip-path: polygon(50% 0,100% 100%,50% 72%,0 100%); }
.visual-inertia .shape-b, .visual-inertia .shape-c { width: 44px; height: 44px; border: 2px solid #647260; transform: rotate(32deg); }
.visual-inertia .shape-b { left: 18%; top: 28%; }
.visual-inertia .shape-c { right: 17%; bottom: 20%; transform: rotate(72deg) scale(.7); }
.visual-inertia .visual-path { width: 28%; border-top: 1px dashed var(--amber); left: 20%; top: 54%; transform: rotate(-12deg); }

.visual-inventory .shape-a { width: 64px; height: 64px; left: calc(50% - 32px); top: 32%; border: 2px solid var(--green); transform: rotate(45deg); }
.visual-inventory .shape-b { width: 20px; height: 48px; left: 25%; bottom: 20%; border: 2px solid var(--amber); }
.visual-inventory .shape-c { width: 34px; height: 7px; right: 23%; top: 33%; background: #647161; }

.visual-pursuit .visual-path { inset: 20% 14%; border: 10px double #526152; border-radius: 30%; }
.visual-pursuit .shape-a { width: 30px; height: 30px; left: 45%; top: 43%; border-radius: 50%; background: var(--green); clip-path: polygon(0 0,100% 0,52% 50%,100% 100%,0 100%); }
.visual-pursuit .shape-b, .visual-pursuit .shape-c { width: 24px; height: 24px; border: 2px solid var(--amber); border-radius: 50% 50% 4px 4px; }
.visual-pursuit .shape-b { left: 25%; top: 31%; }
.visual-pursuit .shape-c { right: 26%; bottom: 29%; }

.visual-procedural::after { content: ".#........#...\A.#.@..!...#...\A.####.####...\A....M.....+...\A.######.###...\A......?......."; white-space: pre; position: absolute; left: 23%; top: 22%; color: #7e9279; font: 600 20px/1.45 var(--font-geist-mono), monospace; letter-spacing: .12em; }
.visual-procedural .shape-a { width: 12px; height: 12px; left: 41%; top: 35%; background: var(--green); box-shadow: 0 0 14px var(--green); }

.visual-rescue .visual-path { left: 8%; right: 8%; bottom: 26%; height: 62px; background: linear-gradient(160deg, transparent 0 12%, #5f6d5d 13% 16%, transparent 17% 34%, #5f6d5d 35% 38%, transparent 39% 61%, #5f6d5d 62% 65%, transparent 66%); }
.visual-rescue .shape-a { width: 42px; height: 18px; left: 32%; top: 34%; border: 2px solid var(--green); clip-path: polygon(0 40%,75% 0,100% 50%,75% 100%); }
.visual-rescue .shape-b { left: 14%; right: 14%; top: 17%; height: 18px; border: 1px solid #556353; }
.visual-rescue .shape-b::after { content: ""; position: absolute; left: 64%; top: 3px; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }

.timeline-section { padding: 110px 0 90px; scroll-margin-top: 10px; border-top: 1px solid rgba(44,58,48,.8); }
.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: end; }
.section-heading h2 { margin: 0; max-width: 800px; font-size: clamp(36px, 4.1vw, 68px); line-height: .98; letter-spacing: -.05em; text-wrap: balance; }
.section-heading > p { max-width: 560px; margin: 0; color: #8f998f; font-size: 15px; line-height: 1.7; }

.filters { display: flex; gap: 8px; margin: 50px 0 58px; flex-wrap: wrap; }
.filters button { border: 1px solid var(--line); color: #879186; background: transparent; padding: 12px 14px; cursor: pointer; font: 500 10px/1 var(--font-geist-mono), monospace; letter-spacing: .07em; text-transform: uppercase; transition: border-color .18s ease, color .18s ease, background .18s ease; }
.filters button small { margin-left: 12px; color: #576257; }
.filters button:hover, .filters button:focus-visible { color: var(--paper); border-color: #687666; outline: none; }
.filters button.active { color: var(--ink); background: var(--green); border-color: var(--green); }
.filters button.active small { color: #3c551e; }

.timeline { position: relative; display: grid; grid-template-columns: repeat(9, minmax(104px, 1fr)); min-width: 1060px; padding: 0 18px 38px; outline: none; overflow: visible; }
.timeline::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 18px; border-left: 1px solid #465346; border-right: 1px solid #465346; border-bottom: 1px dotted #465346; }
.timeline-line { position: absolute; top: 66px; left: 18px; right: 18px; border-top: 1px solid #5a6859; }
.year-node { position: relative; height: 132px; padding: 0; border: 0; background: transparent; color: #8d998a; cursor: pointer; }
.year-label { position: absolute; top: 0; left: 50%; transform: translateX(-50%); font: 600 17px/1 var(--font-geist-mono), monospace; transition: color .2s ease; }
.node-glyph { position: absolute; z-index: 2; top: 52px; left: 50%; width: 28px; height: 28px; transform: translateX(-50%) rotate(calc(var(--node-index) * 9deg)); border: 1px solid #899487; background: var(--ink); display: grid; place-items: center; transition: width .2s ease, height .2s ease, top .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.year-node:nth-of-type(3n) .node-glyph { border-radius: 50%; }
.year-node:nth-of-type(4n) .node-glyph { transform: translateX(-50%) rotate(45deg); }
.node-glyph i { width: 6px; height: 6px; background: #738070; }
.node-caption { position: absolute; top: 101px; left: 50%; width: 120px; transform: translateX(-50%); color: #687367; font: 500 9px/1.3 var(--font-geist-mono), monospace; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.node-count { position: absolute; top: 45px; left: calc(50% + 14px); z-index: 3; color: var(--amber); font: 600 9px/1 var(--font-geist-mono), monospace; }
.year-node:hover .year-label, .year-node:focus-visible .year-label { color: var(--paper); }
.year-node:focus-visible { outline: 1px dashed var(--amber); outline-offset: 4px; }
.year-node.active .year-label { color: var(--green); }
.year-node.active .node-glyph { width: 48px; height: 48px; top: 42px; border-color: var(--amber); box-shadow: 0 0 0 7px rgba(255,173,51,.08), 0 0 24px rgba(255,173,51,.14); transform: translateX(-50%) rotate(0); }
.year-node.active .node-glyph::before, .year-node.active .node-glyph::after { content: ""; position: absolute; background: var(--amber); }
.year-node.active .node-glyph::before { width: 64px; height: 1px; }
.year-node.active .node-glyph::after { width: 1px; height: 64px; }
.year-node.active .node-glyph i { width: 16px; height: 16px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(184,255,76,.8); }
.year-node.disabled { opacity: .2; cursor: not-allowed; }

.detail-layout { margin-top: 80px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, .83fr); border: 1px solid var(--line); min-height: 590px; background: rgba(12,18,14,.68); }
.detail-visual-wrap { border-right: 1px solid var(--line); display: grid; grid-template-rows: 1fr auto; }
.detail-visual-wrap .mechanic-visual { min-height: 500px; }
.visual-controls { min-height: 70px; display: grid; grid-template-columns: 70px 1fr 70px; border-top: 1px solid var(--line); align-items: center; }
.visual-controls button { height: 100%; border: 0; color: var(--amber); background: transparent; cursor: pointer; font-size: 22px; transition: background .2s ease; }
.visual-controls button:hover, .visual-controls button:focus-visible { background: rgba(255,173,51,.08); outline: none; }
.visual-controls span { justify-self: center; color: #697568; font: 500 11px/1 var(--font-geist-mono), monospace; letter-spacing: .12em; }
.detail-card { padding: clamp(34px, 4vw, 66px); animation: reveal .32s ease both; }
@keyframes reveal { from { opacity: 0; transform: translateY(8px); } }
.detail-meta { display: flex; justify-content: space-between; gap: 24px; padding-bottom: 26px; border-bottom: 1px solid var(--line); color: #727e72; font: 500 10px/1.4 var(--font-geist-mono), monospace; letter-spacing: .08em; text-transform: uppercase; }
.detail-meta span:first-child { color: var(--green); font-size: 14px; }
.detail-card h3 { margin: 34px 0 4px; font-size: clamp(46px, 5vw, 78px); line-height: 1; letter-spacing: -.055em; }
.detail-mechanic { margin: 0 0 30px; color: var(--amber); font: 500 12px/1.5 var(--font-geist-mono), monospace; text-transform: uppercase; letter-spacing: .08em; }
.detail-summary { color: #bec5bb; font-size: 17px; line-height: 1.75; }
.why-block { margin-top: 34px; padding: 20px 22px; border-left: 2px solid var(--green); background: rgba(184,255,76,.035); }
.why-block span, .descendants span { display: block; margin-bottom: 8px; color: var(--green); font: 500 9px/1 var(--font-geist-mono), monospace; text-transform: uppercase; letter-spacing: .12em; }
.why-block p, .descendants p { margin: 0; color: #959f95; font-size: 14px; line-height: 1.65; }
.descendants { margin-top: 28px; }
.descendants span { color: #657164; }
.source-link { display: inline-block; margin-top: 30px; color: #8d988c; font: 500 10px/1.5 var(--font-geist-mono), monospace; text-decoration: none; border-bottom: 1px dotted #596559; }
.source-link:hover, .source-link:focus-visible { color: var(--amber); outline: none; }

.event-strip { margin-top: 20px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.event-strip button { min-height: 126px; padding: 18px; text-align: left; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: transparent; color: var(--paper); cursor: pointer; display: flex; flex-direction: column; transition: background .2s ease; }
.event-strip button:hover, .event-strip button:focus-visible { background: rgba(184,255,76,.03); outline: none; }
.event-strip button.active { background: rgba(184,255,76,.07); box-shadow: inset 0 2px var(--green); }
.event-strip button span { color: var(--green); font: 500 10px/1 var(--font-geist-mono), monospace; }
.event-strip button strong { margin-top: 13px; font-size: 17px; }
.event-strip button small { margin-top: 6px; color: #6f7b70; font-size: 11px; line-height: 1.4; }

.method-section { padding: 120px 0 110px; border-top: 1px solid var(--line); }
.method-grid { margin-top: 66px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.method-grid article { min-height: 270px; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.method-grid span { color: var(--amber); font: 500 11px/1 var(--font-geist-mono), monospace; }
.method-grid h3 { margin: 66px 0 15px; font-size: 24px; }
.method-grid p { max-width: 340px; margin: 0; color: #7f8a80; font-size: 14px; line-height: 1.65; }

.sources-section { padding: 95px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.sources-section h2 { margin: 0; max-width: 600px; font-size: clamp(36px, 4vw, 64px); line-height: .98; letter-spacing: -.05em; }
.sources-section > div:last-child { color: #8f9a8f; font-size: 15px; line-height: 1.8; }
.sources-section a { display: inline-block; margin-top: 16px; color: var(--green); font: 500 11px/1 var(--font-geist-mono), monospace; text-decoration: none; text-transform: uppercase; letter-spacing: .08em; }

footer { min-height: 90px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; color: #566157; font: 500 10px/1 var(--font-geist-mono), monospace; letter-spacing: .1em; }

@media (max-width: 1180px) {
  .site-header, .hero, .timeline-section, .method-section, .sources-section, footer { width: min(100% - 48px, 1480px); }
  .site-header { grid-template-columns: 1fr 1fr; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 64px; }
  .hero-copy { max-width: 820px; }
  .hero-card { min-height: 400px; }
  .timeline { overflow-x: auto; margin-inline: -24px; padding-inline: 42px; }
  .timeline-line { left: 42px; right: 42px; }
  .detail-layout { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .site-header, .hero, .timeline-section, .method-section, .sources-section, footer { width: min(100% - 32px, 1480px); }
  .site-header { height: 70px; }
  .brand .muted { display: none; }
  .status span { display: none; }
  .hero { min-height: auto; padding: 54px 0 74px; gap: 52px; }
  .hero h1 { font-size: clamp(48px, 14vw, 74px); }
  .hero-card { grid-template-columns: 1fr; }
  .hero-card .mechanic-visual { min-height: 300px; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-card-copy { min-height: 340px; }
  .timeline-section { padding-top: 80px; }
  .section-heading, .sources-section { grid-template-columns: 1fr; gap: 30px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -16px; padding-inline: 16px; }
  .filters button { flex: 0 0 auto; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-visual-wrap { border-right: 0; border-bottom: 1px solid var(--line); }
  .detail-visual-wrap .mechanic-visual { min-height: 380px; }
  .event-strip { grid-template-columns: repeat(2, 1fr); }
  .method-grid { grid-template-columns: 1fr; }
  .method-grid article { min-height: 220px; }
  .method-grid h3 { margin-top: 44px; }
  footer { min-height: 110px; align-items: flex-start; justify-content: center; flex-direction: column; gap: 12px; }
}

@media (max-width: 520px) {
  .brand { gap: 9px; font-size: 10px; }
  .brand-mark { width: 27px; height: 27px; }
  .status { font-size: 9px; }
  .eyebrow { font-size: 10px; }
  .hero h1 { font-size: 47px; }
  .lead { font-size: 16px; }
  .primary-button { width: 100%; display: flex; justify-content: space-between; align-items: center; }
  .hero-card-copy { padding: 28px 22px; }
  .card-kicker { font-size: 20px; }
  .section-heading h2 { font-size: 40px; }
  .timeline { margin-inline: -16px; }
  .detail-layout { margin-inline: -16px; border-left: 0; border-right: 0; }
  .detail-card { padding: 34px 22px 42px; }
  .detail-card h3 { font-size: 48px; }
  .event-strip { grid-template-columns: 1fr; margin-inline: -16px; }
  .method-section { padding-bottom: 80px; }
  .method-grid { margin-inline: -16px; }
}

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