:root {
  --paper: #f4efe4;
  --paper-light: #fbf8f1;
  --ink: #112a50;
  --ink-deep: #0a1930;
  --muted: #615e58;
  --line: #112a503d;
  --blue: #194ed8;
  --blue-dark: #123aa7;
  --green: #3f815b;
  --amber: #efae21;
  --vermilion: #cf3f25;
  --display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --background: var(--paper);
  --foreground: var(--ink);
  --card: var(--paper-light);
  --card-foreground: var(--ink);
  --popover: var(--paper-light);
  --popover-foreground: var(--ink);
  --primary: var(--ink);
  --primary-foreground: white;
  --secondary: #e7e0d2;
  --secondary-foreground: var(--ink);
  --muted-foreground: var(--muted);
  --border: var(--ink);
  --input: var(--ink);
  --ring: var(--blue);
  --radius: 0;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--amber); outline-offset: 4px; }

.story-page { min-height: 100vh; overflow-x: clip; }
.topline { min-height: 32px; padding: 0 2.5vw; background: var(--ink-deep); color: white; display: flex; align-items: center; justify-content: space-between; letter-spacing: .13em; text-transform: uppercase; font-size: 10px; font-weight: 750; }
.topline p { margin: 0; }
.topline p:last-child::before { content: ""; width: 6px; height: 6px; margin-right: 8px; display: inline-block; border-radius: 50%; background: #79c98f; }
.site-header { min-height: 100px; margin: 0 2.5vw; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--ink-deep); }
.wordmark { display: inline-flex; flex-direction: column; gap: 5px; }
.wordmark > span { font-family: var(--display); font-size: clamp(31px, 3vw, 48px); font-weight: 700; letter-spacing: -.055em; line-height: .9; }
.wordmark small { margin-left: 2px; font-size: 8px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: 30px; font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.desktop-nav a { padding: 10px 0; border-bottom: 2px solid transparent; }
.desktop-nav a:hover, .desktop-nav .active { border-color: var(--vermilion); }
.back-link { padding: 9px 12px; border: 1px solid var(--ink); font-size: 9px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.hero { min-height: calc(100svh - 132px); padding: clamp(56px, 8vw, 118px) 6vw 72px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(310px, .65fr); align-items: center; gap: 8vw; border-bottom: 1px solid var(--ink); background: radial-gradient(circle at 88% 18%, #efae214d, transparent 22rem), linear-gradient(112deg, var(--paper) 0 65%, #dce5da 65% 100%); }
.eyebrow, .section-index { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow span { width: 34px; height: 4px; background: var(--vermilion); }
.hero h1 { max-width: 1040px; margin: 22px 0 0; font-family: var(--display); font-size: clamp(64px, 7.5vw, 116px); font-weight: 500; letter-spacing: -.065em; line-height: .87; }
.hero h1 em { color: var(--vermilion); font-style: normal; }
.hero-deck { max-width: 760px; margin: 34px 0 0; font-family: var(--display); font-size: clamp(21px, 2vw, 29px); line-height: 1.45; }
.hero-meta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 18px 28px; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.hero-meta span { display: flex; flex-direction: column; gap: 5px; }
.hero-meta strong { color: var(--blue); font-size: 11px; }
.scroll-cue { width: fit-content; margin-top: 42px; padding-bottom: 6px; display: inline-flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--ink); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.scroll-cue b { color: var(--vermilion); font-size: 18px; }
.hero-ledgers { position: relative; min-height: 530px; }
.ledger-card { width: min(100%, 380px); min-height: 245px; padding: 26px; display: flex; flex-direction: column; border: 1px solid var(--ink); box-shadow: 9px 9px 0 var(--ink); position: absolute; }
.ledger-card small { font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.ledger-card strong { margin-top: auto; font-family: var(--display); font-size: clamp(74px, 8vw, 118px); font-weight: 500; line-height: .8; }
.ledger-card p { max-width: 270px; margin: 24px 0 0; font-size: 11px; line-height: 1.55; }
.ledger-card--amber { top: 0; left: -12px; background: var(--amber); transform: rotate(-4deg); }
.ledger-card--blue { right: -8px; bottom: 18px; z-index: 2; background: var(--blue); color: white; transform: rotate(4deg); }
.ledger-stamp { max-width: 220px; padding: 17px; position: absolute; z-index: 3; right: 36%; top: 44%; border: 2px solid var(--vermilion); background: var(--paper-light); transform: rotate(-8deg); }
.ledger-stamp span { color: var(--vermilion); font-size: 9px; font-weight: 950; letter-spacing: .09em; text-transform: uppercase; }
.ledger-stamp p { margin: 7px 0 0; font-family: var(--display); font-size: 16px; line-height: 1.25; }

/* Scroll-led illustrated journey */
.journey { height: 440svh; position: relative; background: var(--ink-deep); }
.journey-sticky { height: 100svh; position: sticky; top: 0; overflow: hidden; isolation: isolate; background: var(--ink-deep); color: white; }
.journey-panorama { width: 400vw; height: 100%; max-width: none; position: absolute; z-index: -4; left: 0; top: 0; object-fit: fill; will-change: transform; filter: saturate(.95) contrast(1.02); }
.journey-wash { position: absolute; z-index: -3; inset: 0; background: linear-gradient(90deg, #0714299e 0, #07142912 28%, #0714290a 67%, #07142973 100%), linear-gradient(0deg, #071429bc 0, transparent 30%, #0714297a 100%); }
.scene-rail { width: min(87vw, 1420px); position: absolute; z-index: 7; top: 28px; left: 50%; display: grid; grid-template-columns: repeat(4, 1fr); transform: translateX(-50%); }
.scene-rail div { min-width: 0; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 8px; color: #ffffff8e; }
.scene-rail span { font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.scene-rail i { height: 2px; background: #ffffff38; overflow: hidden; }
.scene-rail i::after { content: ""; width: 100%; height: 100%; display: block; background: var(--amber); transform: translateX(-101%); transition: transform .35s ease; }
.scene-rail small { grid-column: 1 / -1; margin-top: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 8px; font-style: normal; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.scene-rail .is-past i::after, .scene-rail .is-active i::after { transform: translateX(0); }
.scene-rail .is-past, .scene-rail .is-active { color: white; }
.journey-label { position: absolute; z-index: 8; left: 6.5vw; top: 104px; display: flex; flex-direction: column; gap: 6px; }
.journey-label span { width: fit-content; padding: 7px 9px; background: var(--vermilion); font-size: 8px; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.journey-label small { font-size: 8px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.character-frame { width: min(24vw, 390px); height: 60svh; position: absolute; z-index: 3; transform: translateX(-50%); will-change: left, bottom; transition: left 80ms linear, bottom 80ms linear; }
.character-img { width: 100%; height: 100%; position: relative; z-index: 2; display: block; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 12px 6px #0611258f); transform-origin: 50% 92%; }
.character-shadow { width: 45%; height: 4%; position: absolute; z-index: 1; left: 30%; bottom: 1%; border-radius: 50%; background: #06112599; filter: blur(6px); }
.character-frame.is-moving.character-frame--walk .character-img { animation: stride .31s ease-in-out infinite alternate; }
.character-frame.is-moving.character-frame--walk .character-shadow { animation: shadow-step .31s ease-in-out infinite alternate; }
.character-frame--speak .character-img { animation: speaking-pulse 1.15s ease-in-out infinite alternate; }
.character-frame--interview .character-img { transform: scale(.92) rotate(-1deg); }
@keyframes stride { from { transform: translateY(0) rotate(-.7deg); } to { transform: translateY(-9px) rotate(.8deg); } }
@keyframes shadow-step { from { transform: scaleX(1); opacity: .9; } to { transform: scaleX(.82); opacity: .6; } }
@keyframes speaking-pulse { from { transform: translateY(0) rotate(-.5deg); } to { transform: translateY(-3px) rotate(.3deg); } }
.journey-copy { width: min(43vw, 640px); padding: clamp(22px, 2.3vw, 38px); position: absolute; z-index: 6; top: 20%; border: 1px solid #ffffff7a; background: #0a1930e8; box-shadow: 12px 12px 0 #efae21; backdrop-filter: blur(8px); animation: scene-in .42s cubic-bezier(.2,.75,.2,1) both; }
@keyframes scene-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.journey-copy--left { left: 6.5vw; }
.journey-copy--right { right: 6.5vw; }
.journey-copy > p { margin: 0; }
.journey-place { padding-bottom: 12px; border-bottom: 1px solid #ffffff52; color: #d5e1f7; font-size: 8px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.journey-kind { width: fit-content; margin-top: 18px !important; padding: 6px 8px; background: var(--vermilion); color: white; font-size: 8px; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.journey-kicker { margin-top: 20px !important; color: var(--amber); font-size: 9px; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.journey-copy h2 { margin: 12px 0 20px; font-family: var(--display); font-size: clamp(34px, 3.3vw, 56px); font-weight: 500; letter-spacing: -.045em; line-height: .98; }
.journey-check { padding: 14px 16px; border-left: 4px solid var(--amber); background: #ffffff12; }
.journey-check span { color: var(--amber); font-size: 8px; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.journey-check p { max-width: 540px; margin: 7px 0 0; color: #f5f7fb; font-size: 13px; line-height: 1.58; }
.journey-copy button { margin-top: 24px; padding: 0 0 8px; border: 0; border-bottom: 1px solid white; background: transparent; color: white; cursor: pointer; font-size: 9px; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.journey-copy button span { margin-left: 14px; color: var(--amber); }
.journey-counter { position: absolute; z-index: 7; right: 6.5vw; bottom: 34px; display: flex; align-items: baseline; gap: 7px; }
.journey-counter strong { font-family: var(--display); font-size: 45px; font-weight: 500; line-height: 1; }
.journey-counter span { color: #ffffff8e; font-size: 10px; font-weight: 800; }
.walk-line { display: none; }

/* Separate ledgers */
.ledger-separation { padding: clamp(84px, 10vw, 150px) 6vw; background: var(--ink-deep); color: white; }
.section-heading { display: grid; grid-template-columns: 1fr minmax(280px, .55fr); column-gap: 8vw; }
.section-heading .section-index { grid-column: 1 / -1; margin-bottom: 20px; }
.section-heading h2 { max-width: 950px; margin: 0; font-family: var(--display); font-size: clamp(50px, 7vw, 104px); font-weight: 500; letter-spacing: -.055em; line-height: .9; }
.section-heading > p:last-child { max-width: 540px; margin: 12px 0 0; align-self: end; font-size: 14px; line-height: 1.7; }
.section-heading--light > p:last-child { color: #d8e0ef; }
.count-explainer { margin-top: clamp(56px, 7vw, 100px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid #ffffff6e; border-left: 1px solid #ffffff6e; }
.count-card { min-height: 430px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid #ffffff6e; border-bottom: 1px solid #ffffff6e; }
.count-card > div { display: flex; flex-direction: column; }
.count-card span { font-size: 8px; font-weight: 950; letter-spacing: .11em; text-transform: uppercase; }
.count-card strong { margin-top: 48px; font-family: var(--display); font-size: clamp(100px, 11vw, 170px); font-weight: 500; letter-spacing: -.06em; line-height: .72; }
.count-card small { margin-top: 20px; font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.count-card > p { max-width: 350px; margin: 50px 0 0; font-family: var(--display); font-size: clamp(20px, 1.8vw, 27px); line-height: 1.35; }
.count-card--main { background: var(--amber); color: var(--ink-deep); }
.count-card--claim { background: var(--blue); }
.count-card--repeat { background: #ffffff0a; }
.promise-result { display: grid; grid-template-columns: 1fr 1fr; border-left: 1px solid #ffffff6e; }
.promise-result > div { min-height: 230px; padding: 28px; display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 30px; border-right: 1px solid #ffffff6e; border-bottom: 1px solid #ffffff6e; }
.promise-result span { grid-column: 1 / -1; align-self: start; font-size: 8px; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.promise-result strong { font-family: var(--display); font-size: clamp(72px, 8vw, 120px); font-weight: 500; line-height: .75; }
.promise-result p { max-width: 380px; margin: 0; color: #d8e0ef; font-size: 13px; line-height: 1.6; }
.separation-grid { margin-top: clamp(56px, 7vw, 100px); display: grid; grid-template-columns: 1.05fr 1fr 1fr; border-top: 1px solid #ffffff6e; border-left: 1px solid #ffffff6e; }
.separation-card { min-height: 260px; padding: 24px; display: flex; flex-direction: column; border-right: 1px solid #ffffff6e; border-bottom: 1px solid #ffffff6e; }
.separation-card span { font-size: 8px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.separation-card strong { margin-top: auto; font-family: var(--display); font-size: clamp(68px, 7vw, 110px); font-weight: 500; line-height: .8; }
.separation-card p { max-width: 280px; margin: 24px 0 0; font-size: 11px; line-height: 1.55; }
.separation-card--primary { grid-row: span 2; min-height: 520px; background: var(--amber); color: var(--ink-deep); }
.separation-card--primary strong { font-size: clamp(110px, 15vw, 240px); }
.separation-card--blue { background: var(--blue); }
.separation-card--outline { background: #ffffff0b; }
.equation-note { margin-top: 30px; display: flex; justify-content: center; align-items: center; gap: 20px; color: #ffffff8f; font-family: var(--display); font-size: clamp(18px, 2vw, 28px); }
.equation-note b { color: var(--amber); font-family: var(--sans); font-size: 18px; }

/* Insight chapters */
.chapters { padding: clamp(84px, 10vw, 150px) 6vw; background: var(--paper); }
.chapters > .section-heading > p:last-child { color: var(--muted); }
.chapter-list { margin-top: clamp(70px, 9vw, 140px); border-top: 1px solid var(--ink); }
.chapter { min-height: 660px; padding: clamp(40px, 5vw, 76px) 0; display: grid; grid-template-columns: minmax(290px, .72fr) minmax(0, 1.28fr); gap: 5vw; border-bottom: 1px solid var(--ink); }
.chapter-insight { min-height: 510px; padding: clamp(28px, 3vw, 48px); display: flex; flex-direction: column; border: 1px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); }
.chapter--1 .chapter-insight { background: var(--amber); }
.chapter--2 .chapter-insight { background: #9bc5a9; }
.chapter--3 .chapter-insight { background: var(--blue); color: white; }
.chapter--4 .chapter-insight { background: var(--vermilion); color: white; }
.chapter-insight > p { margin: 0; font-size: 8px; font-weight: 950; letter-spacing: .11em; text-transform: uppercase; }
.chapter-insight > strong { margin-top: auto; font-family: var(--display); font-size: clamp(100px, 12vw, 180px); font-weight: 500; line-height: .72; }
.chapter-insight h3 { margin: 28px 0 0; font-family: var(--display); font-size: clamp(35px, 3.4vw, 52px); font-weight: 500; letter-spacing: -.04em; line-height: .96; }
.chapter-insight > span { max-width: 450px; margin-top: 18px; font-size: 14px; line-height: 1.7; }
.chapter-insight button { width: fit-content; margin-top: 28px; padding: 0 0 7px; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; font-size: 8px; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.chapter-insight button b { margin-left: 12px; }
.chapter-records { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: center; gap: 16px; }
.chapter-records .record-card:last-child { grid-column: 1 / -1; }

/* Reusable record card */
.record-card { min-height: 390px; padding: 25px; display: flex; flex-direction: column; align-items: stretch; border: 1px solid var(--ink); background: var(--paper-light); color: var(--ink); cursor: pointer; text-align: left; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.record-card:hover { z-index: 2; transform: translate(-4px, -4px); box-shadow: 8px 8px 0 var(--ink); background: white; }
.record-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; }
.record-key { min-width: 0; display: flex; align-items: center; gap: 9px; }
.record-key small { max-width: 120px; color: var(--muted); font-size: 7px; font-weight: 900; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; }
.record-id { min-width: 38px; padding: 6px 7px; display: inline-flex; justify-content: center; border: 1px solid var(--ink); font-size: 8px; font-weight: 950; letter-spacing: .08em; }
.verdict { width: fit-content; padding: 6px 8px; border: 1px solid currentColor; font-size: 7.5px; font-weight: 950; letter-spacing: .08em; line-height: 1.15; text-transform: uppercase; }
.verdict--missed, .verdict--false { background: var(--vermilion); border-color: var(--vermilion); color: white; }
.verdict--moved { background: var(--amber); border-color: var(--amber); color: var(--ink-deep); }
.verdict--late, .verdict--near { background: #c4dec7; border-color: var(--green); color: var(--ink-deep); }
.verdict--unresolved { background: var(--ink-deep); border-color: var(--ink-deep); color: white; }
.verdict--misleading { background: #f1d58d; border-color: #a36f00; color: var(--ink-deep); }
.verdict--met { background: var(--green); border-color: var(--green); color: white; }
.record-card__metric { margin-top: auto; padding-top: 34px; font-family: var(--display); font-size: clamp(58px, 5.6vw, 88px); font-weight: 500; letter-spacing: -.055em; line-height: .8; }
.record-card__label { margin-top: 10px; color: var(--muted); font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.record-card > strong { margin-top: 22px; font-family: var(--display); font-size: clamp(23px, 2vw, 31px); font-weight: 600; letter-spacing: -.025em; line-height: 1.05; }
.record-card__latest { margin-top: 13px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.record-open { margin-top: 28px; padding-top: 13px; display: flex; justify-content: space-between; border-top: 1px solid var(--line); font-size: 8px; font-weight: 950; letter-spacing: .09em; text-transform: uppercase; }
.record-open b { color: var(--vermilion); font-size: 13px; }
.record-card--compact { min-height: 250px; }
.record-card--compact .record-card__metric { font-size: clamp(48px, 4vw, 68px); }
.record-card--compact > strong { font-size: clamp(21px, 1.7vw, 28px); }
.record-card--compact .record-open { margin-top: 20px; }

/* Full target explorer */
.records { padding: clamp(84px, 10vw, 150px) 6vw; background: #dfe7dd; }
.records-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .6fr); align-items: end; gap: 8vw; }
.records-intro h2 { margin: 20px 0 0; font-family: var(--display); font-size: clamp(54px, 7vw, 104px); font-weight: 500; letter-spacing: -.055em; line-height: .9; }
.records-intro > p { max-width: 510px; margin: 0; font-size: 14px; line-height: 1.75; }
.theme-tabs { margin-top: 70px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.theme-tabs button { min-height: 114px; padding: 18px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 16px; border: 0; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); background: transparent; cursor: pointer; text-align: left; font-family: var(--display); font-size: 21px; line-height: 1.05; }
.theme-tabs button span { font-family: var(--sans); font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.theme-tabs button:hover, .theme-tabs .is-active { background: var(--ink-deep); color: white; }
.theme-tabs .is-active span { color: var(--amber); }
.records-summary { min-height: 230px; padding: 40px; display: grid; grid-template-columns: .35fr 1fr 1.1fr; align-items: center; gap: 4vw; background: var(--ink-deep); color: white; }
.records-summary p { margin: 0; color: var(--amber); font-size: 8px; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.records-summary h3 { margin: 0; font-family: var(--display); font-size: clamp(38px, 4vw, 58px); font-weight: 500; letter-spacing: -.04em; line-height: .95; }
.records-summary > span { color: #dae3f1; font-size: 13px; line-height: 1.65; }
.record-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.record-grid .record-card { margin: -1px 0 0 -1px; }

/* Claims and controls */
.claims-section { padding: clamp(84px, 10vw, 150px) 6vw; background: var(--paper); }
.claims-heading { max-width: 1100px; }
.claims-heading h2 { margin: 22px 0 0; font-family: var(--display); font-size: clamp(52px, 7vw, 105px); font-weight: 500; letter-spacing: -.055em; line-height: .9; }
.claims-heading > p:last-child { max-width: 680px; margin: 30px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.claim-grid { margin-top: 70px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.claim-grid .record-card + .record-card { border-left: 0; }
.controls-block { margin-top: 80px; padding: clamp(24px, 3vw, 46px); display: grid; grid-template-columns: 1.1fr repeat(2, .75fr); gap: 18px; background: #9bc5a9; border: 1px solid var(--ink); }
#control-one, #control-two { display: contents; }
.controls-copy { padding: 20px; display: flex; flex-direction: column; justify-content: center; }
.controls-copy p { margin: 0; font-size: 8px; font-weight: 950; letter-spacing: .1em; text-transform: uppercase; }
.controls-copy h3 { max-width: 500px; margin: 24px 0 0; font-family: var(--display); font-size: clamp(36px, 4vw, 58px); font-weight: 500; letter-spacing: -.04em; line-height: .95; }
.controls-copy span { max-width: 520px; margin-top: 20px; font-size: 12px; line-height: 1.65; }

/* Method */
.method { padding: clamp(84px, 10vw, 150px) 6vw 70px; display: grid; grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr); gap: 8vw; background: var(--blue); color: white; }
.method-title h2 { margin: 22px 0 0; font-family: var(--display); font-size: clamp(48px, 6vw, 86px); font-weight: 500; letter-spacing: -.055em; line-height: .9; }
.method-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid #ffffff7a; }
.method-steps li { padding: 30px 0; display: grid; grid-template-columns: 60px 1fr; gap: 18px; border-bottom: 1px solid #ffffff7a; }
.method-steps li > span { color: var(--amber); font-size: 9px; font-weight: 950; letter-spacing: .1em; }
.method-steps strong { font-family: var(--display); font-size: clamp(24px, 2.3vw, 34px); font-weight: 600; }
.method-steps p { max-width: 620px; margin: 11px 0 0; color: #dce5f7; font-size: 13px; line-height: 1.7; }
.method-note { grid-column: 1 / -1; margin: 60px 0 0; padding-top: 20px; border-top: 1px solid #ffffff7a; color: #dce5f7; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.story-footer { min-height: 210px; padding: 50px 6vw; display: flex; align-items: center; justify-content: space-between; gap: 30px; background: var(--ink-deep); color: white; }
.wordmark--footer > span { font-size: clamp(34px, 4vw, 55px); }
.story-footer p, .story-footer > a:last-child { margin: 0; font-size: 8px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.story-footer > a:last-child { padding-bottom: 6px; border-bottom: 1px solid white; }

/* Right-side record detail */
.record-sheet { width: min(720px, 96vw) !important; max-width: min(720px, 96vw) !important; gap: 0 !important; border-left: 1px solid var(--ink) !important; background: var(--paper-light) !important; color: var(--ink) !important; }
.record-sheet > button { width: 34px; height: 34px; top: 18px; right: 18px; display: grid; place-items: center; border: 1px solid var(--ink); background: var(--paper-light); opacity: 1; }
.record-sheet__scroll { height: 100%; overflow-y: auto; }
.record-sheet__header { padding: 40px 38px 34px !important; border-bottom: 1px solid var(--ink); }
.record-sheet__meta { padding-right: 50px; display: flex; gap: 10px; }
.record-sheet__meta span { padding: 6px 8px; border: 1px solid var(--ink); font-size: 8px; font-weight: 950; letter-spacing: .09em; text-transform: uppercase; }
.record-sheet__meta span:first-child { background: var(--ink); color: white; }
.record-sheet__title { max-width: 590px; margin-top: 26px; font-family: var(--display); font-size: clamp(43px, 5vw, 66px) !important; font-weight: 500 !important; letter-spacing: -.05em; line-height: .92 !important; }
.record-sheet__description { margin-top: 16px; color: var(--muted) !important; font-size: 8px !important; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.sheet-score { min-height: 210px; padding: 32px 38px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; background: var(--amber); border-bottom: 1px solid var(--ink); }
.sheet-score div { display: flex; flex-direction: column; }
.sheet-score strong { font-family: var(--display); font-size: clamp(70px, 8vw, 110px); font-weight: 500; letter-spacing: -.055em; line-height: .75; }
.sheet-score div span { margin-top: 16px; font-size: 8px; font-weight: 950; letter-spacing: .09em; text-transform: uppercase; }
.sheet-score > p { margin: 0; }
.sheet-section { padding: 34px 38px; border-bottom: 1px solid var(--ink); }
.sheet-section > p, .sheet-sources > p { margin: 0; color: var(--vermilion); font-size: 8px; font-weight: 950; letter-spacing: .11em; text-transform: uppercase; }
.sheet-section h3 { margin: 15px 0 0; font-family: var(--display); font-size: clamp(24px, 2.5vw, 34px); font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
.sheet-section--blue { background: var(--blue); color: white; }
.sheet-section--blue > p { color: var(--amber); }
.sheet-section--caveat { background: #dfe7dd; }
.sheet-sources { padding: 34px 38px 54px; }
.sheet-sources > p { margin-bottom: 18px; }
.sheet-sources a { min-height: 60px; display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 12px; border-top: 1px solid var(--ink); font-size: 11px; font-weight: 800; }
.sheet-sources a:last-child { border-bottom: 1px solid var(--ink); }
.sheet-sources a span { color: var(--muted); font-size: 8px; }
.sheet-sources a b { color: var(--vermilion); }

/* Native detail dialog used by the Hostinger build */
.record-dialog { width: min(720px, 96vw); max-width: none; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; padding: 0; border: 0; border-left: 1px solid var(--ink); background: var(--paper-light); color: var(--ink); }
.record-dialog::backdrop { background: #071429a8; }
.record-dialog__close { width: 38px; height: 38px; position: fixed; z-index: 4; top: 18px; right: 18px; display: grid; place-items: center; border: 1px solid var(--ink); background: var(--paper-light); color: var(--ink); cursor: pointer; font-size: 22px; }
.record-dialog__scroll { height: 100%; overflow-y: auto; }
.record-dialog__header { padding: 40px 38px 34px; border-bottom: 1px solid var(--ink); }
.record-dialog__title { max-width: 590px; margin: 26px 0 0; font-family: var(--display); font-size: clamp(43px, 5vw, 66px); font-weight: 500; letter-spacing: -.05em; line-height: .92; }
.record-dialog__description { margin: 16px 0 0; color: var(--muted); font-size: 8px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.record-dialog .record-sheet__meta { padding-right: 50px; }
.record-dialog .sheet-score { min-height: 210px; }
.record-dialog .sheet-sources a { text-decoration: none; }
.record-dialog[open] { animation: dialog-in .32s ease both; }
@keyframes dialog-in { from { transform: translateX(45px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

.static-note { padding: 16px 6vw; display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--ink); background: #dfe7dd; font-size: 9px; font-weight: 850; letter-spacing: .06em; line-height: 1.5; text-transform: uppercase; }
.static-note strong { color: var(--vermilion); }

@media (max-width: 1050px) {
  .hero { grid-template-columns: minmax(0, 1.1fr) minmax(300px, .8fr); gap: 4vw; }
  .hero-ledgers { transform: scale(.9); transform-origin: center right; }
  .section-heading, .records-intro { grid-template-columns: 1fr; }
  .section-heading > p:last-child, .records-intro > p { margin-top: 30px; }
  .journey-copy { width: min(48vw, 580px); }
  .record-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .controls-block { grid-template-columns: 1fr 1fr; }
  .controls-copy { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .topline { padding-inline: 20px; }
  .topline p:last-child, .desktop-nav { display: none; }
  .site-header { min-height: 82px; margin-inline: 20px; }
  .wordmark > span { font-size: 32px; }
  .wordmark small { font-size: 6.5px; }
  .hero { min-height: auto; padding: 68px 20px 84px; grid-template-columns: 1fr; background: radial-gradient(circle at 86% 63%, #efae2145, transparent 15rem), var(--paper); }
  .hero h1 { font-size: clamp(62px, 18vw, 92px); }
  .hero-ledgers { min-height: 470px; margin-top: 28px; transform: none; }
  .ledger-card { width: min(84%, 340px); min-height: 225px; }
  .ledger-card--amber { left: 2px; }
  .ledger-card--blue { right: 2px; }
  .ledger-stamp { right: 29%; top: 43%; }

  .journey { height: 400svh; }
  .journey-panorama { width: 400vw; }
  .scene-rail { width: calc(100vw - 32px); top: 18px; }
  .scene-rail div { grid-template-columns: 1fr; }
  .scene-rail span { display: none; }
  .scene-rail small { font-size: 6.5px; }
  .journey-label { left: 18px; top: 76px; }
  .journey-label small { display: none; }
  .character-frame { width: 46vw; height: 46svh; }
  .journey-copy, .journey-copy--left, .journey-copy--right { width: calc(100vw - 36px); right: auto; left: 18px; top: 14%; padding: 22px; box-shadow: 7px 7px 0 var(--amber); }
  .journey-place { padding-left: 88px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .journey-kicker { margin-top: 18px !important; }
  .journey-copy h2 { max-width: 90%; font-size: clamp(35px, 10vw, 48px); }
  .journey-copy > p:last-of-type { max-width: 94%; font-size: 11px; }
  .journey-copy button { margin-top: 18px; }
  .journey-counter { right: 18px; bottom: 18px; }
  .walk-line { bottom: 2svh; }

  .ledger-separation, .chapters, .records, .claims-section { padding: 84px 20px; }
  .section-heading h2, .records-intro h2, .claims-heading h2 { font-size: clamp(50px, 15vw, 76px); }
  .separation-grid { grid-template-columns: 1fr 1fr; }
  .count-explainer { grid-template-columns: 1fr; }
  .count-card { min-height: 380px; }
  .count-card strong { font-size: 108px; }
  .count-card > p { max-width: 520px; font-size: 23px; }
  .promise-result { grid-template-columns: 1fr; }
  .promise-result > div { min-height: 220px; }
  .separation-card, .separation-card--primary { min-height: 245px; grid-row: auto; }
  .separation-card--primary { grid-column: 1 / -1; }
  .separation-card--primary strong { font-size: 110px; }
  .equation-note { flex-wrap: wrap; gap: 10px 14px; }

  .chapter { min-height: auto; grid-template-columns: 1fr; gap: 30px; }
  .chapter-insight { min-height: 470px; }
  .chapter-records { grid-template-columns: 1fr; }
  .chapter-records .record-card:last-child { grid-column: auto; }
  .record-card--compact { min-height: 240px; }

  .theme-tabs { grid-template-columns: 1fr 1fr; }
  .theme-tabs button { min-height: 100px; font-size: 17px; }
  .records-summary { padding: 30px 24px; grid-template-columns: 1fr; gap: 14px; }
  .records-summary h3 { font-size: 42px; }
  .record-grid, .claim-grid { grid-template-columns: 1fr; }
  .record-grid .record-card, .claim-grid .record-card + .record-card { margin: -1px 0 0; border-left: 1px solid var(--ink); }
  .record-card { min-height: 360px; }
  .record-card__metric { font-size: 68px; }
  .controls-block { margin-top: 60px; padding: 16px; grid-template-columns: 1fr; }
  .controls-copy { grid-column: auto; }

  .method { padding: 84px 20px 50px; grid-template-columns: 1fr; }
  .method-title h2 { font-size: clamp(48px, 14vw, 70px); }
  .method-steps { margin-top: 20px; }
  .method-steps li { grid-template-columns: 42px 1fr; }
  .method-note { margin-top: 10px; }
  .story-footer { padding: 45px 20px; flex-direction: column; align-items: flex-start; }

  .record-sheet__header, .sheet-score, .sheet-section, .sheet-sources { padding-right: 24px !important; padding-left: 24px !important; }
  .record-dialog__header, .record-dialog .sheet-score, .record-dialog .sheet-section, .record-dialog .sheet-sources { padding-right: 24px !important; padding-left: 24px !important; }
  .sheet-score { align-items: flex-start; flex-direction: column; }
  .static-note { padding-inline: 20px; flex-direction: column; }
}

@media (max-width: 420px) {
  .hero-meta { display: grid; grid-template-columns: 1fr 1fr; }
  .ledger-stamp { right: 20%; }
  .separation-grid { grid-template-columns: 1fr; }
  .promise-result > div { grid-template-columns: 1fr; gap: 22px; }
  .separation-card--primary { grid-column: auto; }
  .theme-tabs { grid-template-columns: 1fr; }
  .journey-copy h2 { font-size: 34px; }
}

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