@font-face {
  font-family: "Plex Sans";
  src: url("../fonts/IBMPlexSans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Plex Sans";
  src: url("../fonts/IBMPlexSans-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --bg: #f2eee5;
  --paper: #fbf8f1;
  --ink: #292621;
  --muted: #666057;
  --line: #c8c0b4;
  --line-soft: #ded8cf;
  --ember: #ad4d31;
  --ember-ink: #fff8ed;
  --water: #477f8b;
  --scene-floor: #211d19;
  --shadow: 0 18px 54px rgb(44 34 25 / 10%);
  --ui: "Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-family: var(--ui);
  background: var(--bg);
  color: var(--ink);
  scroll-behavior: smooth;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #1c1b19;
  --paper: #26231f;
  --ink: #f2ece2;
  --muted: #c1b8aa;
  --line: #5b554c;
  --line-soft: #403b35;
  --ember: #e18a5c;
  --ember-ink: #251b17;
  --water: #79abb3;
  --scene-floor: #141312;
  --shadow: 0 18px 54px rgb(0 0 0 / 27%);
}
* { box-sizing: border-box; }
html { min-width: 320px; }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--ink); line-height: 1.65; }
img, svg { max-width: 100%; }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--ember) 58%, transparent); text-underline-offset: .19em; }
a:hover { color: var(--ember); }
button { font: inherit; color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--ember); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 110; top: .5rem; left: .5rem; padding: .7rem 1rem; transform: translateY(-160%); background: var(--ink); color: var(--bg); }
.skip-link:focus { transform: none; }
.progress { position: fixed; z-index: 100; inset: 0 0 auto; height: 3px; pointer-events: none; }
.progress span { display: block; width: 100%; height: 100%; background: linear-gradient(90deg, var(--ember), #e9a45c); transform: scaleX(0); transform-origin: left center; }
.site-bar { position: sticky; z-index: 80; top: 0; border-bottom: 1px solid var(--line-soft); background: color-mix(in srgb, var(--bg) 93%, transparent); backdrop-filter: blur(14px); }
.site-bar-inner { width: min(100% - 1.25rem, 82rem); min-height: 4.05rem; margin: 0 auto; display: flex; align-items: center; gap: .6rem; }
.home-link { display: inline-flex; flex: none; align-items: center; gap: .42rem; color: var(--ink); text-decoration: none; font: 650 .83rem/1 var(--ui); letter-spacing: .01em; }
.home-mark { width: 1.45rem; height: 1.7rem; flex: none; color: var(--ember); }
.topnav { min-width: 0; max-width: min(41vw, 32rem); display: flex; align-items: center; gap: .12rem; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.topnav::-webkit-scrollbar { display: none; }
.topnav a { padding: .62rem .48rem; color: var(--muted); font-size: .77rem; text-decoration: none; }
.topnav a[aria-current="location"] { color: var(--ink); box-shadow: inset 0 -2px var(--ember); }
.bar-spacer { flex: 1 1 auto; }
.edition-link { min-width: 2.3rem; padding: .39rem .58rem; border: 1px solid var(--line-soft); border-radius: 999px; text-align: center; text-decoration: none; font-size: .73rem; font-weight: 650; }
.theme-button { width: 2.5rem; height: 2.5rem; flex: none; display: grid; place-items: center; padding: 0; border: 1px solid var(--line-soft); border-radius: 50%; background: transparent; cursor: pointer; }
.theme-button svg { width: 1rem; height: 1rem; }
.theme-button svg[hidden] { display: none; }
.hero { position: relative; isolation: isolate; min-height: 0; height: 46rem; overflow: hidden; display: flex; align-items: end; color: #fff8ec; background: var(--scene-floor); }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg, rgb(13 13 12 / 7%) 3%, rgb(18 16 14 / 22%) 35%, rgb(18 16 14 / 90%) 100%), linear-gradient(100deg, rgb(17 16 15 / 76%) 0%, rgb(17 16 15 / 24%) 72%); }
.hero::after { content: ""; position: absolute; z-index: -3; inset: 0; background: radial-gradient(ellipse at 25% 88%, #a94e2f 0%, #623829 13%, transparent 40%), linear-gradient(180deg, #242321 0%, #38312b 54%, #161513 100%); }
.hero-image-floor { position: absolute; z-index: -3; inset: 0; height: 100%; background: var(--scene-floor); }
.hero-image-floor img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 48%; filter: saturate(.72) contrast(1.08); }
.hero-inner { width: min(100% - 2rem, 50rem); margin: 0 auto; padding: 4.6rem 0 5.7rem; }
.hero-kicker { margin: 0 0 .75rem; color: #efb187; font-size: .73rem; font-weight: 750; letter-spacing: .17em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 500; text-wrap: balance; }
h1 { max-width: 15ch; margin-bottom: 1rem; font-size: 3.35rem; line-height: .99; letter-spacing: -.045em; }
.deck { max-width: 43rem; margin-bottom: 1rem; color: #eee4d8; font: 400 1.22rem/1.46 Georgia, "Times New Roman", serif; }
.opening { max-width: 40rem; margin: 0; color: #ddd3c7; font-size: .98rem; }
.hero-credit { position: absolute; right: max(1rem, calc((100vw - 82rem) / 2)); bottom: 1.2rem; max-width: 36rem; margin: 0; color: #fff7e9; font-size: .67rem; line-height: 1.4; text-align: right; text-shadow: 0 1px 4px #000; }
.hero-credit a { color: inherit; }
.language-suggestion { display: none; align-items: center; gap: .7rem; width: min(100% - 2rem, 50rem); margin: 1rem auto 0; padding: .7rem .9rem; border: 1px solid var(--line-soft); border-radius: .65rem; background: var(--paper); font-size: .84rem; }
.language-suggestion[data-visible="true"] { display: flex; }
.language-suggestion a { font-weight: 700; }
.dismiss-language { width: 2.4rem; height: 2.4rem; flex: none; margin-left: auto; border: 0; border-radius: 50%; background: transparent; cursor: pointer; font-size: 1.2rem; }
.page { width: min(100% - 2rem, 50rem); margin: 0 auto; }
.share-block { padding: 1.1rem 0 1.4rem; border-bottom: 1px solid var(--line-soft); }
.share-row { display: flex; align-items: center; flex-wrap: wrap; gap: .38rem; }
.share-label { margin-right: .22rem; color: var(--muted); font-size: .77rem; }
.share-button { width: 2.5rem; height: 2.5rem; display: inline-grid; place-items: center; padding: 0; border: 1px solid var(--line-soft); border-radius: 50%; background: transparent; color: var(--ink); text-decoration: none; cursor: pointer; }
.share-button:hover, .share-button:focus-visible { border-color: var(--ember); color: var(--ember); }
.share-button svg { width: 1rem; height: 1rem; }
.share-letter { font-family: Arial, sans-serif; font-size: .95rem; font-weight: 800; }
.share-status { min-height: 1.4em; margin: .25rem 0 0 4.1rem; color: var(--muted); font-size: .76rem; }
.story { position: relative; margin: 2.15rem 0 0 1rem; padding: 0 0 1rem 2rem; border-left: 1px solid var(--line); }
.story-section { position: relative; padding: .35rem 0 3.4rem; scroll-margin-top: 6.1rem; }
.story-section::before { content: ""; position: absolute; top: .82rem; left: -2.39rem; width: .68rem; height: .68rem; border: 2px solid var(--bg); border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 1px var(--ember); }
.section-kicker { margin: 0 0 .42rem; color: var(--ember); font-size: .72rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
h2 { max-width: 20ch; margin-bottom: 1rem; font-size: 2rem; line-height: 1.05; letter-spacing: -.027em; }
.story-section > p { max-width: 43rem; font-size: 1rem; }
.story-section > p.ending { margin: 1.5rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--line-soft); color: var(--muted); font: 400 1.16rem/1.48 Georgia, "Times New Roman", serif; }
.source-links { display: flex; flex-wrap: wrap; gap: .25rem .68rem; margin: -.45rem 0 1.1rem; font-size: .72rem; }
.source-links a { color: var(--muted); }
.evidence-figure { min-width: 0; margin: 1.6rem 0 1.3rem; padding: .78rem; border: 1px solid var(--line-soft); border-radius: .85rem; background: var(--paper); box-shadow: var(--shadow); }
.hero .evidence-figure { position: absolute; inset: 0; z-index: -2; margin: 0; padding: 0; border: 0; border-radius: 0; background: var(--scene-floor); box-shadow: none; }
.visual-date { display: flex; align-items: center; gap: .5rem; min-height: 1.7rem; margin: 0 0 .5rem; color: var(--ember); font-size: .75rem; font-weight: 750; }
.visual-date::before { content: ""; width: .45rem; height: .45rem; flex: none; border-radius: 50%; background: var(--ember); }
.evidence-mount { position: relative; display: grid; width: 100%; aspect-ratio: 1.58; min-height: 14rem; overflow: hidden; place-items: center; border-radius: .48rem; background: #dfd8cd; }
.evidence-mount[data-scene-floor="fixed"] { min-height: 14rem; }
.evidence-mount img { display: block; width: 100%; height: 100%; object-fit: contain; }
.hero .evidence-mount { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; aspect-ratio: auto; border-radius: 0; }
.hero .evidence-mount img { object-fit: cover; }
.evidence-figure figcaption { padding: .7rem .15rem .1rem; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.image-credit { margin: .55rem .15rem .12rem; padding-top: .55rem; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: .69rem; line-height: 1.5; overflow-wrap: anywhere; }
.image-credit a { color: inherit; }
.hero .image-credit { position: absolute; right: max(1rem, calc((100vw - 82rem) / 2)); bottom: .85rem; z-index: 2; max-width: 35rem; padding: 0; border: 0; color: #fff7e9; text-align: right; text-shadow: 0 1px 4px #000; }
.hero .hero-credit { display: none; }
.timeline { display: grid; gap: .8rem; margin: 1.5rem 0 1.7rem; padding: 0; list-style: none; }
.timeline-item { position: relative; display: grid; grid-template-columns: minmax(10rem, .72fr) minmax(0, 1.4fr); gap: 1rem; padding: .95rem 1rem; border: 1px solid var(--line-soft); border-radius: .72rem; background: var(--paper); }
.timeline-item::before { content: ""; position: absolute; top: 1.18rem; left: -.38rem; width: .65rem; height: .65rem; border: 2px solid var(--bg); border-radius: 50%; background: var(--ember); }
.timeline-date { margin: 0; color: var(--ember); font-size: .77rem; font-weight: 750; line-height: 1.4; }
.timeline-copy { margin: 0; font-size: .87rem; }
.timeline-item .source-links { grid-column: 1 / -1; margin: -.45rem 0 0; }
.loss-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .65rem; margin: 1.4rem 0 1.65rem; }
.loss-card { min-width: 0; padding: 1rem .9rem; border-top: 3px solid var(--ember); background: var(--paper); }
.loss-value { display: block; margin-bottom: .34rem; font: 500 2rem/1 Georgia, "Times New Roman", serif; font-variant-numeric: tabular-nums; }
.loss-label { display: block; color: var(--muted); font-size: .73rem; line-height: 1.42; }
.locator-card { margin: 1.55rem 0 1.6rem; padding: .7rem; border: 1px solid var(--line-soft); border-radius: .9rem; background: var(--paper); box-shadow: var(--shadow); }
.locator-card img { display: block; width: 100%; height: auto; border-radius: .5rem; }
.locator-card figcaption { padding: .65rem .32rem .2rem; color: var(--muted); font-size: .76rem; }
.population-chart { margin: 1.5rem 0; padding: 1.1rem; border: 1px solid var(--line-soft); border-radius: .85rem; background: var(--paper); }
.population-chart h3 { margin-bottom: 1rem; font-size: 1.35rem; }
.population-row { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr) 5.7rem; gap: .7rem; align-items: center; margin: .75rem 0; font-size: .78rem; }
.population-bar-track { height: .7rem; overflow: hidden; border-radius: 99px; background: color-mix(in srgb, var(--line) 48%, transparent); }
.population-bar { display: block; height: 100%; border-radius: inherit; background: var(--ember); }
.population-value { text-align: right; font-variant-numeric: tabular-nums; }
.population-note { margin: 1rem 0 0; padding-top: .8rem; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: .79rem; }
.visual-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .85rem; margin: 1rem 0 0; }
.visual-grid .evidence-figure { margin: .45rem 0; }
.visual-grid .evidence-mount { min-height: 11.5rem; }
.sources, .credits { margin: 1rem 0 3rem 1rem; padding: 1.25rem; border: 1px solid var(--line-soft); border-radius: .85rem; background: var(--paper); }
.sources h2, .credits h2 { margin-bottom: .8rem; font-size: 1.7rem; }
.sources ul, .credits ul { display: grid; gap: .5rem; margin: 0; padding-left: 1.2rem; }
.sources li, .credits li { padding-left: .14rem; font-size: .8rem; }
.site-footer { padding: 1.3rem 0 2.6rem; border-top: 1px solid var(--line-soft); color: var(--muted); font-size: .75rem; }
.site-footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.back-top { position: fixed; z-index: 60; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); min-width: 3rem; min-height: 3rem; padding: .65rem .85rem; border: 1px solid var(--line-soft); border-radius: 999px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow); font-size: .78rem; font-weight: 700; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(.4rem); transition: opacity .16s, transform .16s, visibility .16s; }
.back-top[data-visible="true"] { opacity: 1; visibility: visible; transform: none; }
.rail { display: none; }

@media (min-width: 760px) {
  .site-bar-inner { width: min(100% - 3rem, 82rem); gap: .8rem; }
  .topnav { max-width: 38rem; }
  .topnav a { padding-inline: .62rem; font-size: .81rem; }
  .page, .hero-inner { width: min(100% - 3rem, 50rem); }
  .hero-inner { padding-bottom: 6.4rem; }
  h1 { font-size: 4.65rem; }
  h2 { font-size: 3rem; }
  .story { margin-left: 0; padding-left: 2.4rem; }
  .story-section::before { left: -2.78rem; }
  .sources, .credits { margin-left: 0; }
}
@media (min-width: 1100px) {
  .rail { --col: 50rem; --gut: 1.25rem; display: flex; flex-direction: column; position: fixed; top: 50%; left: calc(50% + var(--col)/2 + var(--gut)); transform: translateY(-50%); z-index: 65; margin: 0; padding: .4rem 0; max-height: calc(100vh - 7rem); border-radius: 999px; background: color-mix(in srgb, var(--bg) 88%, transparent); }
  .rail::before { content: ""; position: absolute; left: calc(.875rem - .5px); top: 1.1rem; bottom: 1.1rem; width: 1px; background: var(--line); }
  .rail-dot { position: relative; display: flex; align-items: center; justify-content: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; text-decoration: none; }
  .rail-dot .dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--muted); box-shadow: 0 0 0 3px var(--bg); transition: transform .2s, background .2s, box-shadow .2s; }
  .rail-dot:hover .dot, .rail-dot:focus-visible .dot { background: var(--ember); transform: scale(1.25); }
  .rail-dot[aria-current="true"] .dot { background: var(--ember); transform: scale(1.45); box-shadow: 0 0 0 3px var(--bg), 0 0 0 4.5px color-mix(in srgb, var(--ember) 38%, transparent); }
  .rail-dot:focus-visible { outline: 2px solid var(--ember); outline-offset: -1px; }
  .rail-label { position: absolute; right: calc(100% + .3rem); top: 50%; transform: translate(6px,-50%); padding: .22rem .65rem; border: 1px solid var(--line); border-radius: .5rem; background: var(--bg); color: var(--ink); box-shadow: 0 6px 20px rgb(0 0 0 / 14%); font-size: .8rem; font-weight: 600; line-height: 1.3; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s, transform .15s; }
  .rail-dot:hover .rail-label, .rail-dot:focus-visible .rail-label { opacity: 1; transform: translate(0,-50%); }
}
@media (min-width: 1400px) {
  .rail-label { right: auto; left: calc(100% + .15rem); max-width: calc(50vw - var(--col)/2 - var(--gut) - 3.25rem); overflow: hidden; text-overflow: ellipsis; padding: .1rem .2rem; border-color: transparent; background: transparent; box-shadow: none; color: var(--muted); transform: translate(-4px,-50%); }
  .rail-dot:hover .rail-label, .rail-dot:focus-visible .rail-label { color: var(--ember); }
}
@media (max-width: 540px) {
  .site-bar-inner { gap: .35rem; }
  .home-link { gap: .25rem; font-size: .72rem; }
  .home-mark { width: 1.25rem; }
  .topnav { max-width: 34vw; }
  .topnav a { padding: .55rem .3rem; font-size: .68rem; }
  .edition-link { min-width: 2rem; padding: .35rem .4rem; font-size: .68rem; }
  .theme-button { width: 2.25rem; height: 2.25rem; }
  .hero { height: 38rem; }
  h1 { font-size: 2.65rem; }
  h2 { font-size: 2rem; }
  .deck { font-size: 1.12rem; }
  .hero-inner { width: min(100% - 2rem, 50rem); padding: 3.7rem 0 5.5rem; }
  .hero-credit { left: 1rem; right: 1rem; bottom: .65rem; max-width: none; font-size: .61rem; }
  .page { width: min(100% - 2rem, 50rem); }
  .timeline-item { grid-template-columns: 1fr; gap: .25rem; }
  .timeline-item .source-links { grid-column: auto; margin-top: 0; }
  .loss-grid { grid-template-columns: 1fr; gap: .45rem; }
  .loss-card { padding: .8rem .9rem; }
  .loss-value { display: inline-block; min-width: 6.5rem; font-size: 1.65rem; }
  .loss-label { display: inline; }
  .visual-grid { grid-template-columns: 1fr; }
  .site-footer-inner { align-items: flex-start; }
}
@media (pointer: coarse) { .share-button { width: 2.75rem; height: 2.75rem; } }
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (forced-colors: active) {
  .rail { border: 1px solid CanvasText; background: Canvas; }
  .rail::before { background: CanvasText; }
  .rail-dot .dot { background: CanvasText; box-shadow: 0 0 0 3px Canvas; }
  .rail-dot[aria-current="true"] .dot { background: Highlight; box-shadow: 0 0 0 3px Canvas, 0 0 0 4.5px Highlight; }
  .rail-label { border-color: CanvasText; background: Canvas; color: CanvasText; box-shadow: none; }
}
@media print {
  .site-bar, .progress, .rail, .share-block, .back-top, .language-suggestion { display: none !important; }
  .hero { height: auto; min-height: 0; color: #111; background: #fff; }
  .hero::before, .hero::after { display: none; }
  .hero-inner { padding: 1rem 0; }
  .hero .evidence-figure { position: relative; inset: auto; z-index: 0; }
  .hero .evidence-mount { position: relative; height: 16rem; }
  .hero .hero-credit { color: #222; text-shadow: none; }
}
