/* slavery.r-w.us: The 5,000-Year Story. Dark documentary look, motion plays once, all off under reduced motion. */
:root {
  --bg: #0e0d0b;
  --bg2: #151412;
  --bg3: #1c1a17;
  --line: #2e2b26;
  --ink: #f2eadb;
  --ink2: #cfc5b2;
  --muted: #9a917f;
  --gold: #d9a94e;
  --gold-soft: rgba(217, 169, 78, .14);
  --red: #d4473d;
  --era-a: #b98a2f;
  --era-m: #13998c;
  --era-e: #d4473d;
  --era-t: #7180dd;
  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 18px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: #f0c46c; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* film grain over everything, very faint */
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 60; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* top bar */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 58px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 22px; background: linear-gradient(to bottom, rgba(14,13,11,.92), rgba(14,13,11,.55) 70%, rgba(14,13,11,0));
  transition: background .3s;
}
.topbar.solid { background: rgba(14,13,11,.94); border-bottom: 1px solid var(--line); }
.brand { font: 700 15px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand b { color: var(--gold); }
.nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { color: var(--ink2); text-decoration: none; font: 500 14px/1 var(--sans); padding: 9px 11px; border-radius: 999px; white-space: nowrap; }
.nav a:hover, .nav a.on { color: var(--ink); background: rgba(255,255,255,.07); }
.progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); }
@media (max-width: 860px) { .nav { display: none; } }

/* type */
.eyebrow { font: 700 13px/1.2 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.04; margin: 0; letter-spacing: -.005em; }
h2 { font-size: clamp(40px, 6vw, 76px); }
h3 { font-size: clamp(27px, 3vw, 36px); line-height: 1.1; }
.lead { font-size: clamp(19px, 2vw, 23px); line-height: 1.6; color: var(--ink2); max-width: 760px; }
.lead strong, p strong { color: var(--ink); }
section { position: relative; }
.sec { padding: clamp(90px, 12vw, 150px) 0; }
.sec-head { max-width: 900px; margin-bottom: 56px; }
.sec-head .lead { margin-top: 22px; }
.hl { color: var(--gold); }
.red { color: #ec6a60; }
.src { font: 500 12px/1 var(--sans); color: var(--muted); text-decoration: none; vertical-align: super; margin-left: 2px; }
.src:hover { color: var(--gold); }

/* reveal on scroll (only when JS runs and motion is allowed) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 110px 0 90px; isolation: isolate; }
.hero-bg { position: absolute; inset: -4%; z-index: -3; background: #191612 72% 50% / cover no-repeat; filter: grayscale(.15) sepia(.3) brightness(.82) contrast(1.06); transform: scale(1.02); }
.js .hero-bg.kb { animation: kb 26s ease-out forwards; }
@keyframes kb { from { transform: scale(1.02) translate(0,0); } to { transform: scale(1.13) translate(-1.5%, -1%); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(90deg, rgba(14,13,11,.95) 0%, rgba(14,13,11,.86) 36%, rgba(14,13,11,.42) 70%, rgba(14,13,11,.25) 100%), linear-gradient(to bottom, rgba(14,13,11,.35) 0%, rgba(14,13,11,0) 25%, rgba(14,13,11,.15) 75%, var(--bg) 100%); }
@media (max-width: 760px) { .hero::before { background: linear-gradient(to bottom, rgba(14,13,11,.72), rgba(14,13,11,.86) 45%, var(--bg)); } }
.hero-cap { position: absolute; right: 22px; bottom: 18px; max-width: 360px; text-align: right; font-size: 12px; line-height: 1.4; color: rgba(242,234,219,.55); }
@media (max-width: 760px) { .hero-cap { display: none; } }
#dust { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; }
.hero h1 { font-size: clamp(54px, 9.4vw, 132px); line-height: .95; max-width: 1050px; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .ln > span { display: inline-block; }
.js .hero h1 .ln > span { transform: translateY(105%); transition: transform 1.1s var(--ease); }
.js .hero.go h1 .ln > span { transform: none; }
.hero h1 .ln:nth-child(2) > span { transition-delay: .14s; }
.hero h1 .ln:nth-child(3) > span { transition-delay: .28s; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero-count { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; margin: 34px 0 6px; }
.hero-count .num { font: 800 clamp(64px, 10vw, 128px)/.9 var(--sans); letter-spacing: -.04em; color: var(--ink); }
.hero-count .unit { font: 700 clamp(18px, 2vw, 24px)/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.hero-count .hnote { flex-basis: 100%; color: var(--muted); font-size: 15px; margin-top: 6px; }
.hero p.lead { margin: 22px 0 34px; }
.js .hero .fade { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease) .7s, transform 1s var(--ease) .7s; }
.js .hero.go .fade { opacity: 1; transform: none; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 10px; font: 700 16px/1 var(--sans); text-decoration: none; padding: 16px 22px; border-radius: 999px; border: 1px solid var(--gold); color: #17140f; background: var(--gold); transition: transform .2s, background .2s; cursor: pointer; }
.btn:hover { transform: translateY(-2px); background: #ecbd62; color: #17140f; }
.btn.ghost { background: transparent; color: var(--ink); border-color: rgba(242,234,219,.35); }
.btn.ghost:hover { border-color: var(--ink); color: var(--ink); }
.cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); color: var(--muted); font: 600 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; }
.cue i { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); display: block; }
.js .cue i { animation: cue 2.2s ease-in-out 3; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- MAIN POINT ---------- */
.point { padding: 40px 0 clamp(90px, 11vw, 140px); }
.point-card { position: relative; border: 1px solid rgba(217,169,78,.55); border-radius: 22px; padding: clamp(30px, 5vw, 64px); background: linear-gradient(160deg, rgba(217,169,78,.10), rgba(217,169,78,.02) 45%, rgba(0,0,0,0)); overflow: hidden; }
.point-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(217,169,78,.12), 0 30px 80px rgba(0,0,0,.45); }
.point-card .tag { display: inline-block; font: 800 13px/1 var(--sans); letter-spacing: .24em; color: #17140f; background: var(--gold); padding: 9px 14px; border-radius: 6px; margin-bottom: 26px; }
.point-card h2 { font-size: clamp(36px, 5.4vw, 70px); line-height: 1.04; }
.point-card h2 .strike { position: relative; white-space: nowrap; color: #f08a80; }
.point-card h2 .strike::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.02em; height: .07em; border-radius: 2px; background: var(--red); transform-origin: 0 50%; transform: scaleX(1); }
.js .point-card h2 .strike::after { transform: scaleX(0); transition: transform .8s var(--ease) .5s; }
.js .point-card.in h2 .strike::after { transform: scaleX(1); }
.point-card .big2 { margin-top: 20px; font-family: var(--serif); font-size: clamp(30px, 4.2vw, 54px); line-height: 1.1; color: var(--gold); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.stat { background: rgba(0,0,0,.28); border: 1px solid var(--line); border-radius: 16px; padding: 24px 24px 22px; }
.stat .v { font: 800 clamp(44px, 5.4vw, 70px)/1 var(--sans); letter-spacing: -.035em; }
.stat .v small { font-size: .45em; letter-spacing: 0; font-weight: 700; margin-left: 2px; }
.stat .l { color: var(--ink2); font-size: 16px; line-height: 1.45; margin-top: 12px; }
.stat.us .v { color: #ec6a60; }
.stat.eu .v { color: var(--gold); }
.kicker { margin-top: 34px; font-size: clamp(19px, 2.1vw, 24px); line-height: 1.55; color: var(--ink); max-width: 900px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr; } }

/* ---------- TIMELINE ----------
   Default (no script, or reduced motion): a plain readable list with the full bar.
   With motion: a sticky, scroll-driven scrubber. */
.tl-stick { position: relative; padding: 100px 0 80px; }
.tl-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(26px, 5vh, 54px); }
.tl-top h2 { font-size: clamp(34px, 4.6vw, 60px); max-width: 720px; }
.tl-year { font: 800 clamp(44px, 7vw, 96px)/1 var(--sans); letter-spacing: -.04em; color: var(--gold); white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; display: none; }
.tl-year small { display: block; font: 600 12px/1.4 var(--sans); letter-spacing: .2em; color: var(--muted); text-transform: uppercase; }
.track-wrap { position: relative; padding: 46px 0 40px; }
.track { position: relative; height: 18px; border-radius: 9px; background: #23201c; box-shadow: inset 0 0 0 1px #34302a; }
.track .fill { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; border-radius: 9px; background: linear-gradient(90deg, #6d5320, var(--gold)); opacity: .55; }
.track .band { position: absolute; top: 0; bottom: 0; border-radius: 3px; background: transparent; transition: background .35s, transform .35s, box-shadow .35s; }
.track .band.on { background: rgba(242,234,219,.22); box-shadow: inset 0 0 0 2px rgba(242,234,219,.9); transform: scaleY(1.7); z-index: 2; }
.track .band.us { background: var(--red); opacity: 1; z-index: 2; transform: scaleY(2.1); box-shadow: 0 0 0 2px rgba(212,71,61,.25), 0 0 22px rgba(212,71,61,.55); }
.cursor { display: none; position: absolute; top: 0; bottom: 0; width: 2px; left: 0; background: var(--ink); z-index: 3; }
.cursor::before { content: ""; position: absolute; left: 50%; top: -14px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); transform: translateX(-50%); box-shadow: 0 0 0 4px rgba(242,234,219,.15); }
.ticks { position: relative; height: 26px; margin-top: 12px; font: 600 12px/1 var(--sans); color: var(--muted); }
.ticks span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.ticks span:first-child { transform: none; }
.ticks span:first-child::before { left: 0; }
.ticks span:last-child { transform: translateX(-100%); }
.ticks span:last-child::before { left: auto; right: 0; }
.ticks span::before { content: ""; position: absolute; left: 50%; top: -12px; width: 1px; height: 7px; background: #4a453d; }
.us-callout { position: absolute; right: 2.9%; top: -2px; transform: translateY(-100%); text-align: right; font: 700 14px/1.3 var(--sans); color: #ec6a60; }
.tl-card { display: grid; gap: 26px; max-width: 900px; }
.tl-item { border-left: 2px solid var(--line); padding: 2px 0 2px 20px; }
.tl-item .when { font: 800 14px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.tl-item h3 { margin: 10px 0 8px; font-size: clamp(26px, 3vw, 36px); }
.tl-item p { margin: 0; color: var(--ink2); font-size: clamp(17px, 1.8vw, 19px); max-width: 760px; }
.tl-item.usa { border-left-color: var(--red); }
.tl-item.usa .when { color: #ec6a60; }
.tl-final { border-left: 2px solid var(--red); padding: 4px 0 4px 20px; }
.tl-final h3 { font-size: clamp(30px, 4vw, 50px); margin-top: 10px; }
.tl-final p { color: var(--ink2); font-size: clamp(17px, 1.9vw, 21px); margin: 14px 0 0; }
.tl-steps { display: none; gap: 5px; margin-top: 26px; flex-wrap: wrap; }
.tl-steps i { width: 22px; height: 4px; border-radius: 2px; background: #3a362f; }
.tl-steps i.on { background: var(--gold); }

.tl-fig { display: none; }
/* motion version */
.js:not(.static) .tl { height: 1050vh; }
.js:not(.static) .tl-stick { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 70px 0 30px; }
.js:not(.static) .tl-year { display: block; }
.js:not(.static) .cursor { display: block; }
.js:not(.static) .tl-steps { display: flex; }
.js:not(.static) .track .fill { width: 0; }
.js:not(.static) .track .band.us { opacity: .8; transform: none; box-shadow: none; }
.js:not(.static) .track .band.us.on, .js:not(.static) .tl.final .track .band.us { opacity: 1; transform: scaleY(2.1); box-shadow: 0 0 0 2px rgba(212,71,61,.25), 0 0 22px rgba(212,71,61,.55); }
.js:not(.static) .us-callout { opacity: 0; transition: opacity .5s; }
.js:not(.static) .tl.final .us-callout { opacity: 1; }
.js:not(.static) .tl-card { display: block; position: relative; min-height: 210px; max-width: 860px; }
.js:not(.static) .tl-item { position: absolute; inset: 0 auto auto 0; border: 0; padding: 0; opacity: 0; transform: translateY(16px); transition: opacity .45s var(--ease), transform .45s var(--ease); pointer-events: none; }
.js:not(.static) .tl-item.on { opacity: 1; transform: none; pointer-events: auto; }
.js:not(.static) .tl-item .when { font-size: 15px; line-height: 1; }
.js:not(.static) .tl-item h3 { margin: 12px 0 10px; font-size: clamp(30px, 3.6vw, 46px); }
.js:not(.static) .tl-item p { font-size: clamp(17px, 1.8vw, 20px); }
.js:not(.static) .tl-final { position: absolute; inset: 0 auto auto 0; border: 0; padding: 0; opacity: 0; transition: opacity .6s; pointer-events: none; max-width: 900px; }
.js:not(.static) .tl.final .tl-final { opacity: 1; pointer-events: auto; }
.js:not(.static) .tl.final .tl-item { opacity: 0 !important; }
@media (min-width: 1000px) {
  .js:not(.static) .tl-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
  .js:not(.static) .tl-fig { display: block; position: relative; width: 320px; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #1c1915; box-shadow: 0 24px 60px rgba(0,0,0,.5); opacity: 0; transition: opacity .5s; }
  .js:not(.static) .tl-fig.on { opacity: 1; }
  .js:not(.static) .tl-fig img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: sepia(.25) brightness(.9); opacity: 0; transition: opacity .6s; }
  .js:not(.static) .tl-fig img.on { opacity: 1; }
}

/* ---------- EUROPE STORY ---------- */
.europe { background: linear-gradient(to bottom, var(--bg), #12100d 30%, #12100d 70%, var(--bg)); }
.story { position: relative; display: grid; gap: clamp(70px, 9vw, 120px); }
.story::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: linear-gradient(transparent, var(--line) 4%, var(--line) 96%, transparent); }
.chap { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.chap::before { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 2px solid var(--gold); transform: translate(-50%, -50%); z-index: 1; }
.chap:nth-child(even) .chap-text { order: 2; }
.chap-text .when { display: inline-block; font: 800 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(217,169,78,.45); padding: 8px 12px; border-radius: 999px; margin-bottom: 18px; }
.chap-text h3 { font-size: clamp(32px, 3.8vw, 50px); margin-bottom: 16px; }
.chap-text p { color: var(--ink2); margin: 0 0 14px; }
.chap-text .num { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 8px 0 18px; }
.chap-text .num b { font: 800 clamp(40px, 5vw, 62px)/1 var(--sans); letter-spacing: -.035em; color: var(--ink); }
.chap-text .num span { color: var(--muted); font-size: 15px; line-height: 1.35; max-width: 260px; }
.chap-fig { margin: 0; position: relative; }
.chap-fig .frame { position: relative; overflow: hidden; border-radius: 14px; background: #1f1c18; aspect-ratio: 4 / 3; box-shadow: 0 30px 70px rgba(0,0,0,.5); }
.chap-fig img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.25) contrast(1.04) brightness(.92); transform: scale(1.08); transition: transform 6s ease-out; }
.chap-fig.in img, .static .chap-fig img { transform: scale(1); }
.chap-fig figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.4; }
.chap-fig .frame.noimg { display: flex; align-items: center; justify-content: center; }
.chap-fig .frame.noimg { background: radial-gradient(120% 100% at 30% 20%, #2a241b, #17140f); border: 1px solid #2f2a22; }
.chap-fig .frame.noimg span { font: 700 clamp(40px, 5vw, 64px)/1.05 var(--serif); color: rgba(217,169,78,.55); text-align: center; padding: 0 24px; }
.panel { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: clamp(22px, 4vw, 44px); }
.panel .p-big { font: italic 700 clamp(46px, 6vw, 84px)/1 var(--serif); color: var(--gold); }
.panel .p-sub { margin-top: 14px; color: var(--ink2); font-size: 16px; }
.panel.doc { background: #e9dfc8; color: #3b3022; }
.panel.doc .d-h { font: 700 clamp(26px, 3vw, 38px)/1 var(--serif); letter-spacing: .02em; margin-bottom: 18px; }
.panel.doc .d-l { height: 9px; border-radius: 5px; background: rgba(59,48,34,.16); margin: 0 0 12px; }
.panel.doc .d-s { margin-top: 18px; font: italic 600 18px/1.3 var(--serif); color: #5b4a33; }
.panel.camps { gap: 18px; }
.panel.camps div { border-left: 3px solid var(--era-t); padding-left: 16px; }
.panel.camps b { display: block; font: 800 clamp(22px, 2.6vw, 30px)/1.1 var(--sans); color: var(--ink); }
.panel.camps span { color: var(--ink2); font-size: 15px; }
@media (max-width: 860px) {
  .story::before, .chap::before { left: 0; }
  .chap { grid-template-columns: 1fr; padding-left: 26px; }
  .chap:nth-child(even) .chap-text { order: 0; }
  .chap::before { top: 8px; transform: translate(-50%, 0); }
}
/* small round portrait over a chapter picture */
.chap-fig .inset { position: absolute; right: -14px; top: -20px; width: 118px; height: 118px; border-radius: 50%; overflow: hidden; border: 3px solid var(--bg); box-shadow: 0 12px 30px rgba(0,0,0,.65); z-index: 2; }
.chap-fig .inset img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transform: none !important; }
@media (max-width: 860px) { .chap-fig .inset { right: 8px; top: -14px; width: 88px; height: 88px; } }
.pcard .pc-img { width: calc(100% + 52px); max-width: none; margin: -26px -26px 20px; height: 180px; object-fit: cover; border-radius: 16px 16px 0 0; filter: sepia(.2); }
.side-fig { margin: 0; }
.side-fig img { border-radius: 12px; background: #e9e4da; box-shadow: 0 24px 60px rgba(0,0,0,.5); }
.side-fig figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.4; }
.atlantic .side-fig { float: right; width: min(300px, 34%); margin: 0 0 30px 40px; }
.ended .side-fig.medal { float: right; width: min(230px, 30%); margin: 0 0 20px 40px; }
.ended .side-fig.medal img { background: #1d1b18; }
@media (max-width: 760px) { .atlantic .side-fig, .ended .side-fig.medal { float: none; width: 70%; margin: 0 auto 30px; } }
.prop { clear: both; }
.endlist { clear: both; }
/* row of peoples */
.peoples-row { margin: -10px 0 90px; }
.peoples-row .pr-label { font: 700 13px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.peoples-row ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.peoples-row li { font: 600 16px/1 var(--sans); color: var(--ink); padding: 11px 15px; border-radius: 999px; border: 1px solid rgba(217,169,78,.4); background: rgba(217,169,78,.07); }
.js .peoples-row li { opacity: 0; transform: translateY(10px) scale(.96); transition: opacity .5s var(--ease), transform .5s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.js .peoples-row.in li { opacity: 1; transform: none; }
/* the word morph */
.morph { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; margin: 6px 0 20px; font: 800 clamp(26px, 3.2vw, 38px)/1 var(--sans); letter-spacing: .02em; }
.morph span { color: var(--muted); transition: color .5s, transform .5s; }
.morph span.on { color: var(--ink); transform: translateY(-2px); }
.morph span.last.on { color: var(--gold); }
.morph i { font-style: normal; color: #5a5348; font-weight: 400; }

/* ---------- COUNT (comparison chart) ---------- */
.count { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.chart { margin-top: 10px; }
.bar-row { display: grid; grid-template-columns: minmax(170px, 300px) 1fr; gap: 6px 22px; align-items: center; padding: 16px 0; }
.bar-row + .bar-row { border-top: 1px solid #25221e; }
.bar-name { font-size: 16px; line-height: 1.35; color: var(--ink); }
.bar-name small { display: block; color: var(--muted); font-size: 13px; margin-top: 3px; }
.bar-area { position: relative; height: 24px; }
.bar-area .gridl { position: absolute; top: -16px; bottom: -16px; width: 1px; background: #2a2723; }
.bar { position: absolute; left: 0; top: 0; height: 24px; border-radius: 0 4px 4px 0; transform-origin: 0 50%; }
.bar.lo { background: var(--gold); }
.bar.hi { background: rgba(217,169,78,.38); }
.bar.us { background: #8d8575; }
.js .bar { transform: scaleX(0); transition: transform 1.4s var(--ease); }
.js .chart.in .bar { transform: scaleX(1); }
.js .chart.in .bar.hi { transition-delay: .5s; }
.bar-val { position: absolute; top: 50%; transform: translateY(-50%); white-space: nowrap; font: 700 16px/1 var(--sans); color: var(--ink); padding-left: 12px; }
.js .bar-val { opacity: 0; transition: opacity .6s 1.2s; }
.js .chart.in .bar-val { opacity: 1; }
.axis { display: grid; grid-template-columns: minmax(170px, 300px) 1fr; gap: 22px; margin-top: 4px; }
.axis .ax { position: relative; height: 22px; font: 600 12px/1 var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; }
.axis .ax span { position: absolute; top: 6px; transform: translateX(-50%); white-space: nowrap; }
.axis .ax span:first-child { transform: none; }
.axis .ax span:last-child { transform: translateX(-100%); }
@media (max-width: 760px) { .bar-row, .axis { grid-template-columns: 1fr; } .axis > div:first-child { display: none; } }
.versus { display: grid; grid-template-columns: 1fr auto 1fr; gap: 26px; align-items: center; margin: 70px 0 10px; text-align: center; }
.versus .side b { display: block; font: 800 clamp(48px, 7vw, 92px)/1 var(--sans); letter-spacing: -.04em; }
.versus .side span { display: block; color: var(--ink2); font-size: 16px; margin-top: 12px; line-height: 1.45; }
.versus .side.eu b { color: var(--gold); }
.versus .side.us b { color: var(--ink2); }
.versus .vs { font: italic 700 clamp(30px, 4vw, 48px)/1 var(--serif); color: var(--muted); }
@media (max-width: 760px) { .versus { grid-template-columns: 1fr; } }
.note { margin-top: 40px; border-left: 3px solid var(--muted); padding: 6px 0 6px 20px; color: var(--ink2); font-size: 17px; max-width: 860px; }
.note b { color: var(--ink); }
details.table { margin-top: 28px; color: var(--ink2); font-size: 15px; }
details.table summary { cursor: pointer; color: var(--gold); font-weight: 600; }
details.table table { border-collapse: collapse; margin-top: 14px; width: 100%; max-width: 860px; font-variant-numeric: tabular-nums; }
details.table th, details.table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
details.table th { color: var(--ink); font-weight: 600; }

/* quotes */
.quote { margin: 70px 0 0; padding: 0; max-width: 980px; }
.quote p { font: italic 600 clamp(26px, 3.3vw, 42px)/1.25 var(--serif); margin: 0; color: var(--ink); }
.quote p::before { content: "\201C"; color: var(--gold); margin-right: 4px; }
.quote p::after { content: "\201D"; color: var(--gold); margin-left: 2px; }
.quote footer { margin-top: 20px; color: var(--muted); font-size: 15px; }
.quote footer b { color: var(--ink2); font-weight: 600; }

/* ---------- ATLANTIC proportion bar ---------- */
.prop { margin-top: 20px; }
.prop-bar { display: flex; gap: 2px; height: 74px; border-radius: 10px; overflow: hidden; }
.prop-bar div { position: relative; height: 100%; display: flex; align-items: flex-end; padding: 0 0 10px 10px; font: 700 14px/1.15 var(--sans); color: #fff; min-width: 0; overflow: visible; }
.prop-bar div.us { background: var(--red); }
.prop-bar div span { white-space: nowrap; }
.js .prop-bar div { transform: scaleY(0); transform-origin: 50% 100%; transition: transform .8s var(--ease); }
.js .prop.in .prop-bar div { transform: none; }
.prop-legend { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px 22px; margin-top: 22px; padding: 0; list-style: none; }
.prop-legend li { display: flex; gap: 10px; align-items: baseline; font-size: 15px; color: var(--ink2); line-height: 1.4; }
.prop-legend li i { flex: none; width: 12px; height: 12px; border-radius: 3px; transform: translateY(1px); }
.prop-legend li b { color: var(--ink); }
.us-arrow { display: flex; justify-content: flex-end; margin-top: 12px; color: #ec6a60; font: 700 15px/1.3 var(--sans); text-align: right; }

/* ---------- WORLD MAP ---------- */
.world { overflow: hidden; }
.map-box { position: relative; margin-top: 10px; border: 1px solid var(--line); border-radius: 18px; background: radial-gradient(120% 120% at 50% 40%, #191714, #0f0e0c); padding: 14px; }
.map-box svg { width: 100%; height: auto; display: block; }
.map-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.map-swipe { display: none; color: var(--muted); font-size: 13px; margin: 8px 2px 0; }
@media (max-width: 760px) { .map-scroll svg { width: 860px; max-width: none; } .map-swipe { display: block; } }
.map-box .land { fill: #2a2620; stroke: #3a352d; stroke-width: .6; }
.map-box .grat { fill: none; stroke: rgba(242,234,219,.05); stroke-width: .5; }
.map-box .route { fill: none; stroke-width: 2; stroke-linecap: round; opacity: .95; }
.map-box .route.dim { opacity: .08; }
.map-box .route-hit { fill: none; stroke: transparent; stroke-width: 14; cursor: pointer; }
.map-box .dot { stroke: #0f0e0c; stroke-width: 2; }
.map-box .spot { stroke: #0f0e0c; stroke-width: 2; }
.map-box .spot.dim, .map-box .dot.dim { opacity: .1; }
.js .map-box .pulse { animation: pulse 2.4s ease-out 2; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { from { opacity: .7; transform: scale(1); } to { opacity: 0; transform: scale(3.2); } }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; }
.chip { font: 600 14px/1 var(--sans); padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--ink2); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.chip i { width: 10px; height: 10px; border-radius: 50%; }
.chip.on { color: var(--ink); border-color: var(--ink2); background: rgba(255,255,255,.06); }
.map-tip { position: absolute; pointer-events: none; background: rgba(14,13,11,.95); border: 1px solid var(--line); color: var(--ink); font: 600 14px/1.35 var(--sans); padding: 9px 12px; border-radius: 10px; transform: translate(-50%, -120%); opacity: 0; transition: opacity .15s; white-space: nowrap; z-index: 4; }
.map-tip.on { opacity: 1; }
.map-caption { margin-top: 14px; color: var(--muted); font-size: 14px; }
.map-era-now { position: absolute; left: 26px; bottom: 22px; font: 800 clamp(16px, 2vw, 22px)/1.2 var(--sans); color: var(--ink); letter-spacing: .02em; pointer-events: none; text-shadow: 0 2px 10px #000; }
.map-era-now small { display: block; font: 500 13px/1.4 var(--sans); color: var(--ink2); }
details.routes { margin-top: 18px; color: var(--ink2); font-size: 15px; }
details.routes summary { cursor: pointer; color: var(--gold); font-weight: 600; }
details.routes ul { columns: 2 280px; margin: 14px 0 0; padding-left: 18px; }
.peoples { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 60px; }
.pcard { background: var(--bg3); border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.pcard .when { font: 800 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.pcard h3 { font-size: 30px; margin: 12px 0 10px; }
.pcard p { color: var(--ink2); margin: 0; font-size: 17px; }
.pcard .num { font: 800 34px/1 var(--sans); color: var(--ink); margin: 6px 0 12px; letter-spacing: -.02em; }

/* ---------- ENDED ---------- */
.ended { background: linear-gradient(to bottom, var(--bg), #14120f); }
.chain { width: 220px; height: 70px; margin: 0 0 30px; }
.chain .l { fill: none; stroke: var(--gold); stroke-width: 6; }
.js .chain .left, .js .chain .right { transition: transform 1.2s var(--ease) .3s; }
.js .chain.in .left { transform: translate(-16px, 6px) rotate(-10deg); }
.js .chain.in .right { transform: translate(16px, 6px) rotate(10deg); }
.chain .left { transform-origin: 110px 35px; }
.chain .right { transform-origin: 110px 35px; }
.endlist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.endlist li { border-top: 2px solid var(--gold); padding: 18px 4px 6px; }
.endlist li b { display: block; font: 800 34px/1 var(--sans); letter-spacing: -.02em; color: var(--ink); margin-bottom: 10px; }
.endlist li span { color: var(--ink2); font-size: 16px; line-height: 1.5; display: block; }
.endlist li.today { border-top-color: var(--red); }
.endlist li.today b { color: #ec6a60; }

/* ---------- TRUTH ---------- */
.truth { text-align: center; padding: clamp(110px, 14vw, 180px) 0; }
.truth h2 { font-size: clamp(42px, 6.6vw, 92px); max-width: 1000px; margin: 0 auto; }
.truth .lead { margin: 30px auto 0; }
.truth .quote { margin: 60px auto 0; text-align: center; }
.share { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 46px; }
.share .done { color: var(--gold); font-size: 15px; align-self: center; min-width: 120px; }

/* ---------- SOURCES ---------- */
.sources { background: var(--bg2); border-top: 1px solid var(--line); padding: 90px 0 60px; font-size: 15px; color: var(--ink2); }
.sources h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 18px; }
.sources h3 { font-family: var(--sans); font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 40px 0 14px; }
.vids { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.vid { display: block; text-decoration: none; background: var(--bg3); border: 1px solid var(--line); border-radius: 14px; padding: 20px; color: var(--ink2); }
.vid b { display: block; color: var(--ink); font-size: 17px; margin-bottom: 6px; }
.vid:hover { border-color: var(--gold); color: var(--ink2); }
ol.refs { padding-left: 22px; margin: 0; columns: 2 420px; column-gap: 40px; }
ol.refs li { margin: 0 0 10px; break-inside: avoid; line-height: 1.5; }
ol.refs li:target { color: var(--ink); background: var(--gold-soft); border-radius: 4px; }
.checked { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; max-width: 980px; }
.checked li { padding-left: 26px; position: relative; line-height: 1.55; }
.checked li::before { content: "\2715"; position: absolute; left: 0; top: 0; color: var(--red); font-weight: 700; }
.checked li b { color: var(--ink); font-weight: 600; }
footer.foot { padding: 30px 0 50px; color: var(--muted); font-size: 14px; background: var(--bg2); }

/* reduced motion and no-JS: everything shown finished */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
