/* Danube at Low Water — Hydrometric Cutaway design system
   Tokens per docs/DESIGN-OPTIONS.md. AA contrast vs paper-white. */

/* Bundled fonts (SIL OFL 1.1, see LICENSES.md) — no network dependency.
   unicode-range splits latin-ext (Romanian diacritics) from latin. */
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/ibm-plex-sans-400-latin-ext.woff2") format("woff2");
  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; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/ibm-plex-sans-400-latin.woff2") format("woff2");
  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: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/ibm-plex-sans-500-latin-ext.woff2") format("woff2");
  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; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/ibm-plex-sans-500-latin.woff2") format("woff2");
  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: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/ibm-plex-sans-600-latin-ext.woff2") format("woff2");
  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; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("fonts/ibm-plex-sans-600-latin.woff2") format("woff2");
  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: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/ibm-plex-mono-400-latin-ext.woff2") format("woff2");
  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; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
  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: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/ibm-plex-mono-500-latin-ext.woff2") format("woff2");
  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; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
  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: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/instrument-serif-400-latin-ext.woff2") format("woff2");
  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; }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("fonts/instrument-serif-400-latin.woff2") format("woff2");
  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: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("fonts/instrument-serif-italic-400-latin-ext.woff2") format("woff2");
  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; }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("fonts/instrument-serif-italic-400-latin.woff2") format("woff2");
  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; }

:root {
  --river-green: #1f5c4d;
  --mineral-blue-grey: #465e6c;
  --oxidized-copper: #4e7d74;
  --thermal-coral: #c25a4a;
  --gauge-yellow: #d9a441;
  --paper-white: #f6f3ec;
  --ink: #1c2421;
  --ink-soft: #3d4a45;
  --line: #d8d2c4;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --max: 48rem;
  --wide: 88rem;
  --deep-water: #102a24;
  --silt: #d8c5a5;
  --base-path: "/danube-water-energy/";
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0; background: var(--paper-white); color: var(--ink);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
.mono { font-family: var(--mono); font-size: .92em; }
.dim { color: var(--mineral-blue-grey); font-size: .85em; }

/* skip link */
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper-white); padding: .6rem 1rem; z-index: 50; }
.skip:focus { left: 0; }

/* header */
.site-head {
  position: sticky; top: 0; z-index: 20;
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.25rem;
  padding: .6rem clamp(.9rem, 3vw, 2rem);
  background: color-mix(in srgb, var(--paper-white) 92%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.brand { font-family: var(--serif); font-size: 1.25rem; color: var(--river-green); text-decoration: none; }
.site-head nav ul { display: flex; flex-wrap: wrap; gap: .2rem .9rem; list-style: none; margin: 0; padding: 0; }
.site-head nav a { color: var(--ink-soft); text-decoration: none; font-size: .86rem; }
.site-head nav a:hover, .site-head nav a:focus-visible { color: var(--river-green); text-decoration: underline; }
.head-meta { margin-left: auto; display: flex; align-items: center; gap: .8rem; }
.cutoff { font-size: .72rem; color: var(--mineral-blue-grey); }
.lang-switch { font-size: .85rem; font-weight: 600; color: var(--river-green); text-decoration: none; border: 1px solid var(--river-green); border-radius: 999px; padding: .15rem .7rem; }
.lang-switch:hover { background: var(--river-green); color: var(--paper-white); }

main { display: block; }

/* hero */
.hero { padding: clamp(2rem, 6vw, 4.5rem) clamp(.9rem, 3vw, 2rem) 2rem; border-bottom: 1px solid var(--line); }
.kicker { font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mineral-blue-grey); margin: 0 0 .8rem; }
h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.08; margin: 0 0 1rem; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); max-width: 22ch; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); max-width: 26ch; }
h3 { font-family: var(--sans); font-size: 1.02rem; font-weight: 600; margin: 2rem 0 .6rem; }
.promise { font-size: 1.12rem; max-width: var(--max); color: var(--ink-soft); }
.hero .promise { font-size: clamp(1.05rem, 2.4vw, 1.3rem); }
.takeaway { font-family: var(--serif); font-size: clamp(1.3rem, 3vw, 1.8rem); color: var(--river-green); margin: 1.6rem 0 0; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: .8rem; margin: 1.8rem 0 0; max-width: 64rem; }
.stat { border: 1px solid var(--line); border-left: 3px solid var(--gauge-yellow); border-radius: .4rem; padding: .7rem .8rem; background: #fffdf8; display: grid; gap: .15rem; align-content: start; }
.stat strong { font-size: 1.35rem; color: var(--river-green); }
.stat span { font-size: .84rem; color: var(--ink-soft); }

/* spine — intentional, labeled internal scroll viewport (not document overflow) */
.spine-scroll { overflow-x: auto; margin: 1.4rem 0; }
.spine-scroll:focus-visible { outline: 2px solid var(--gauge-yellow); outline-offset: 2px; }
.spine { min-width: 860px; width: 100%; height: auto; display: block; }
.sp-name { font-family: var(--sans); font-size: 11px; fill: var(--ink); font-weight: 600; }
.sp-val { font-family: var(--mono); font-size: 10.5px; }
.sp-km { font-family: var(--mono); font-size: 10px; fill: var(--mineral-blue-grey); }

/* scenes */
.scene { padding: clamp(2rem, 5vw, 3.5rem) clamp(.9rem, 3vw, 2rem); border-bottom: 1px solid var(--line); max-width: 76rem; }
.scene > * { max-width: var(--max); }
.scene .spine-scroll, .scene .chart, .scene .scenario, .scene .table-scroll, .scene .timeline { max-width: 64rem; }
.lede { font-size: clamp(1.08rem, 2.2vw, 1.28rem); line-height: 1.55; color: var(--ink); }
.depth2 p, .deep p { color: var(--ink-soft); }
.deep { margin-top: 1.2rem; border: 1px solid var(--line); border-radius: .4rem; background: #fffdf8; }
.deep summary { cursor: pointer; padding: .7rem 1rem; font-family: var(--mono); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--river-green); }
.deep summary:focus-visible { outline: 2px solid var(--gauge-yellow); outline-offset: 2px; }
.deep div { padding: 0 1rem 1rem; }

/* evidence chips */
.chip {
  display: inline-block; font-family: var(--mono); font-size: .68rem; letter-spacing: .04em;
  border: 1px solid var(--gauge-yellow); color: var(--ink-soft); border-radius: 999px;
  padding: .05rem .5rem; margin-left: .35rem; vertical-align: middle; white-space: nowrap;
  background: color-mix(in srgb, var(--gauge-yellow) 10%, transparent);
}
.chip-documented { border-color: var(--river-green); background: color-mix(in srgb, var(--river-green) 10%, transparent); }
.chip-scenario, .chip-model { border-color: var(--mineral-blue-grey); }
.chip-disputed, .chip-unknown { border-color: var(--thermal-coral); background: color-mix(in srgb, var(--thermal-coral) 10%, transparent); }
.chip-reported { border-color: var(--gauge-yellow); }

/* chart */
.chart { margin: 1.6rem 0; }
.chart svg { width: 100%; max-width: 46rem; height: auto; display: block; }
.ch-ref { font-family: var(--mono); font-size: 10px; fill: var(--mineral-blue-grey); }
.ch-end { font-family: var(--mono); font-size: 11px; fill: var(--river-green); font-weight: 600; }
figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: .4rem; }

/* documentary image breaks: context and scale, never evidence of the 2026 event */
.editorial-media {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(15rem, .55fr);
  gap: clamp(1.2rem, 4vw, 3.5rem);
  align-items: end;
  width: 100%;
  max-width: var(--wide);
  margin: 2.2rem 0 2.4rem;
}
.media-frame {
  overflow: hidden;
  background: var(--deep-water);
  border: 1px solid color-mix(in srgb, var(--mineral-blue-grey) 45%, transparent);
  box-shadow: .45rem .45rem 0 color-mix(in srgb, var(--oxidized-copper) 28%, transparent);
}
.media-frame img { display: block; width: 100%; height: auto; filter: saturate(.88) contrast(1.04); }
.editorial-media figcaption { max-width: 25rem; margin: 0; line-height: 1.45; }
.media-caption { display: block; font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.55rem); line-height: 1.1; color: var(--ink); }
.media-credit { display: block; margin-top: .75rem; font: .7rem/1.45 var(--mono); color: var(--mineral-blue-grey); }
.media-credit a { color: var(--river-green); text-underline-offset: .15em; }
.scene-water-meets-power .media-caption { color: var(--paper-white); }
.scene-water-meets-power .media-credit { color: #c9d9d2; }
.scene-water-meets-power .media-credit a { color: #f1cf74; }
.scene-freight .media-frame { box-shadow: .45rem .45rem 0 color-mix(in srgb, var(--gauge-yellow) 42%, transparent); }

/* timeline */
.timeline { list-style: none; margin: 1.6rem 0; padding: 0; border-left: 3px solid var(--oxidized-copper); }
.timeline li { position: relative; padding: .55rem 0 .55rem 1.2rem; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 1.15rem; width: 9px; height: 9px; border-radius: 50%; background: var(--oxidized-copper); border: 2px solid var(--paper-white); }
.timeline time { font-family: var(--mono); font-size: .8rem; color: var(--mineral-blue-grey); }
.timeline p { margin: .1rem 0 .2rem; max-width: var(--max); }

/* scenario */
.scenario { border: 1px solid var(--line); border-radius: .5rem; background: #fffdf8; padding: 1.1rem 1.2rem; margin: 1.4rem 0; }
.sc-note { font-size: .9rem; color: var(--ink-soft); margin-top: 0; }
.sc-field { display: grid; grid-template-columns: 1fr; gap: .25rem; margin: .9rem 0; }
.sc-field label { font-weight: 600; font-size: .92rem; }
.sc-field output { font-family: var(--mono); font-size: 1.05rem; color: var(--river-green); font-weight: 600; }
.sc-field input[type="range"] { width: 100%; accent-color: var(--river-green); min-height: 2rem; }
.sc-field input[type="range"]:focus-visible { outline: 2px solid var(--gauge-yellow); outline-offset: 2px; }
.sc-out { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: .7rem; margin: 1.1rem 0 .8rem; }
.sc-out div { border-top: 2px solid var(--gauge-yellow); padding-top: .4rem; }
.sc-out span { display: block; font-size: .78rem; color: var(--mineral-blue-grey); text-transform: uppercase; letter-spacing: .06em; }
.sc-out strong { font-family: var(--mono); font-size: 1.25rem; color: var(--ink); }
.sc-legend { font-size: .8rem; color: var(--mineral-blue-grey); margin: .2rem 0 .6rem; }
.sc-state { color: var(--thermal-coral); }
.sc-noscript { border-top: 1px dashed var(--line); margin-top: 1rem; padding-top: .8rem; font-size: .92rem; color: var(--ink-soft); }
.btn { font: inherit; font-weight: 600; color: var(--river-green); background: transparent; border: 1.5px solid var(--river-green); border-radius: .4rem; padding: .45rem 1rem; cursor: pointer; }
.btn:hover, .btn:focus-visible { background: var(--river-green); color: var(--paper-white); }
.btn:focus-visible { outline: 2px solid var(--gauge-yellow); outline-offset: 2px; }

/* sources — table sits in an intentional, labeled internal scroll viewport */
.table-scroll { overflow-x: auto; max-width: 100%; margin: .6rem 0 1rem; }
.table-scroll:focus-visible { outline: 2px solid var(--gauge-yellow); outline-offset: 2px; }
table.src { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: .9rem; margin: 0; }
table.src th, table.src td { text-align: left; padding: .5rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
table.src th { font-family: var(--mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--mineral-blue-grey); }
.gaps li, .legend li, .data-links li { margin: .35rem 0; }
.legend { list-style: none; padding: 0; columns: 2; column-gap: 2rem; }
.data-links a { color: var(--river-green); }

/* acceptance */
.acceptance { padding: clamp(2rem, 5vw, 3.5rem) clamp(.9rem, 3vw, 2rem); max-width: var(--max); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; font-weight: 600; padding: .8rem 0; color: var(--ink); }
.qa summary:focus-visible { outline: 2px solid var(--gauge-yellow); outline-offset: 2px; }
.qa p { margin: 0 0 .9rem; color: var(--ink-soft); }

/* footer */
.site-foot { padding: 2rem clamp(.9rem, 3vw, 2rem) 5rem; font-size: .85rem; color: var(--ink-soft); border-top: 2px solid var(--river-green); }
.site-foot a { color: var(--river-green); }
.site-foot p { max-width: var(--max); }

/* back to top */
.back-top {
  display: inline-flex; align-items: center; gap: .45rem;
  min-height: 2.75rem; color: #f1cf74; text-underline-offset: .16em;
}
.back-top.enhanced {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 30;
  display: grid; place-items: center; text-decoration: none;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1.5px solid var(--river-green); background: var(--paper-white); color: var(--river-green);
  font-size: 1.2rem; cursor: pointer; opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
}
.back-top.enhanced span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.back-top.enhanced.visible { opacity: 1; pointer-events: auto; }
.back-top.enhanced:focus-visible { outline: 2px solid var(--gauge-yellow); outline-offset: 2px; opacity: 1; pointer-events: auto; }

/* 404 */
.nf { display: grid; place-items: center; min-height: 100vh; }
.nf-box { text-align: center; max-width: 34rem; padding: 2rem; }
.nf-box h1 { font-size: 5rem; color: var(--river-green); }

/* responsive */
@media (max-width: 768px) {
  .site-head nav { order: 3; flex-basis: 100%; }
  .head-meta { margin-left: auto; }
  .legend { columns: 1; }
  .scene { max-width: 100%; }
}
@media (max-width: 500px) {
  body { font-size: 1rem; }
  .cutoff { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .chip { white-space: normal; }
}
@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
}

/* Publication composition: a hydrometric field instrument, not a card stack. */
body { overflow-x: hidden; }
.site-head {
  padding-inline: max(1rem, calc((100vw - var(--wide)) / 2));
  background: rgba(246, 243, 236, .96);
  backdrop-filter: none;
}
.site-head nav { flex: 1; min-width: 18rem; }
.site-head nav ul { justify-content: center; }
.site-head nav a { display: inline-block; padding: .2rem 0; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(58rem, calc(100svh - 3rem));
  padding: clamp(4rem, 9vw, 8rem) max(1rem, calc((100vw - var(--wide)) / 2)) clamp(3rem, 7vw, 6rem);
  color: var(--paper-white);
  background:
    linear-gradient(90deg, rgba(217,164,65,.18) 1px, transparent 1px) 0 0 / clamp(3.5rem, 8vw, 8rem) 100%,
    linear-gradient(180deg, #17372f 0 58%, #0e2822 58% 100%);
  border-bottom: .55rem solid var(--gauge-yellow);
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(180deg, transparent 0 47px, rgba(246,243,236,.075) 48px 49px);
  mask-image: linear-gradient(to right, black, transparent 84%);
}
.hero > .kicker, .hero > h1, .hero > .promise, .hero > .takeaway { max-width: 54rem; }
.hero .kicker { color: #f1cf74; }
.hero h1 { max-width: 15ch; font-size: clamp(3.5rem, 8.8vw, 8.6rem); line-height: .88; letter-spacing: -.035em; }
.hero .promise { color: #d8e5df; font-size: clamp(1.15rem, 2vw, 1.55rem); max-width: 43rem; }
.hero .takeaway { color: #f1cf74; font-size: clamp(1.8rem, 4vw, 3.4rem); max-width: 24ch; }
.hero-spine {
  margin: clamp(2rem, 5vw, 4rem) 0 1rem;
  border-top: 1px solid rgba(246,243,236,.26);
  border-bottom: 1px solid rgba(246,243,236,.26);
  scrollbar-color: var(--gauge-yellow) transparent;
}
.hero-spine .sp-name { fill: #f6f3ec; }
.hero-spine .sp-km { fill: #a9c2b8; }
.hero-spine .spine > path:first-of-type { stroke: #a9c2b8; }
.hero-spine .spine > path:nth-of-type(2) { fill: #6da998; opacity: .18; }
.hero-spine .spine > path:nth-of-type(3) { stroke: #79b9a7; }
.hero .stats { max-width: var(--wide); gap: 0; border-block: 1px solid rgba(246,243,236,.24); }
.hero .stat { grid-template-columns: minmax(0, 1fr); min-width: 0; min-height: 8.5rem; padding: 1rem 1.15rem; border: 0; border-left: 1px solid rgba(246,243,236,.24); border-radius: 0; background: transparent; }
.hero .stat:first-child { border-left: 0; }
.hero .stat strong { color: #f1cf74; font-size: clamp(1.35rem, 2.5vw, 2.25rem); }
.hero .stat span { color: #d8e5df; }
.hero .chip { color: #f6f3ec; background: rgba(16,42,36,.5); width: max-content; max-width: 100%; overflow-wrap: anywhere; }

.scene {
  position: relative;
  display: grid;
  grid-template-columns: minmax(16rem, .72fr) minmax(25rem, 1.28fr);
  column-gap: clamp(2.5rem, 8vw, 8rem);
  align-items: start;
  max-width: none;
  min-height: 40rem;
  padding: clamp(4rem, 8vw, 8rem) max(1rem, calc((100vw - var(--wide)) / 2));
  border-bottom: 0;
}
.scene::before {
  content: attr(data-scene);
  position: absolute; top: 1.25rem; right: max(1rem, calc((100vw - var(--wide)) / 2));
  font: 500 .72rem/1 var(--mono); letter-spacing: .16em; color: var(--mineral-blue-grey);
}
.scene > .kicker, .scene > h2, .scene > .lede { grid-column: 1; max-width: 36rem; }
.scene > .lede { font-size: clamp(1.18rem, 1.8vw, 1.55rem); line-height: 1.45; }
.scene > .depth2, .scene > .deep, .scene > .chart, .scene > .timeline, .scene > .scenario, .scene > .table-scroll, .scene > h3, .scene > ul { grid-column: 2; width: 100%; max-width: 48rem; }
.scene > .spine-scroll { grid-column: 1 / -1; width: 100%; max-width: var(--wide); margin-top: 2.5rem; }
.scene h2 { font-size: clamp(2.4rem, 5vw, 5.2rem); line-height: .94; letter-spacing: -.025em; }
.scene .depth2 p:first-child { margin-top: 0; }
.deep { border-radius: 0; border-width: 0 0 0 3px; border-color: var(--gauge-yellow); background: transparent; }
.deep summary { padding-left: 1.1rem; }

.scene-atlas { background: #fbfaf6; }
.scene-what-fell { background: #dfe8e3; }
.scene-what-fell .chart { background: rgba(255,255,255,.52); padding: 1rem; border-top: .35rem solid var(--river-green); }
.scene-water-meets-power {
  color: var(--paper-white);
  background: var(--deep-water);
}
.scene-water-meets-power h2, .scene-water-meets-power .lede { color: var(--paper-white); }
.scene-water-meets-power .kicker { color: #f1cf74; }
.scene-water-meets-power .depth2 p, .scene-water-meets-power .deep p { color: #c9d9d2; }
.scene-water-meets-power .deep { border-color: var(--thermal-coral); }
.scene-water-meets-power .deep summary { color: #f1cf74; }
.scene-timeline { background: #e9ddc9; }
.scene-timeline .timeline { border-left-width: .35rem; }
.scene-timeline .timeline li { padding: .8rem 0 .8rem 1.5rem; }
.scene-timeline .timeline time { color: #794335; font-weight: 500; }
.scene-scenario {
  color: var(--paper-white);
  background: #183849;
}
.scene-scenario h2, .scene-scenario .lede { color: var(--paper-white); }
.scene-scenario .kicker { color: #f1cf74; }
.scene-scenario .depth2 p, .scene-scenario .deep p { color: #d2dfe4; }
.scene-scenario .scenario { border: 0; border-top: .4rem solid var(--gauge-yellow); border-radius: 0; background: #f6f3ec; color: var(--ink); padding: clamp(1rem, 3vw, 2rem); }
.scene-scenario .deep summary { color: #f1cf74; }
.scene-freight { background: #ead8cb; }
.scene-relief-resilience { background: #dfe8e3; }
.scene-sources { display: block; background: #fbfaf6; }
.scene-sources > * { max-width: var(--wide); }
.scene-sources > .lede { max-width: 50rem; }
.scene-sources > .depth2, .scene-sources > .deep { max-width: 52rem; }
.scene-sources table.src { min-width: 58rem; }
.scene-sources table.src tr:hover { background: rgba(217,164,65,.1); }
.scene-sources table.src a { color: var(--river-green); text-underline-offset: .16em; }

.acceptance {
  max-width: none;
  padding: clamp(4rem, 8vw, 7rem) max(1rem, calc((100vw - 64rem)) / 2);
  background: var(--paper-white);
}
.acceptance h2 { font-size: clamp(2.4rem, 5vw, 4.5rem); max-width: 18ch; }
.qa { max-width: 56rem; }
.qa summary { font-size: 1.05rem; padding: 1.1rem 0; }
.site-foot { padding-inline: max(1rem, calc((100vw - var(--wide)) / 2)); background: #102a24; color: #c9d9d2; border-top: .4rem solid var(--gauge-yellow); }
.site-foot p { max-width: 58rem; }
.site-foot a { color: #f1cf74; }
.byline { font-weight: 600; }

@media (max-width: 900px) {
  .site-head { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; overflow-x: hidden; }
  .site-head .brand { grid-column: 1; }
  .site-head .head-meta { grid-column: 2; margin-left: 0; }
  .site-head nav { grid-column: 1 / -1; width: 100%; max-width: 100%; min-width: 0; overflow-x: auto; }
  .site-head nav ul { justify-content: flex-start; flex-wrap: nowrap; min-width: max-content; }
  .scene { display: block; min-height: 0; }
  .scene > * { max-width: 48rem; }
  .scene > .spine-scroll, .scene > .table-scroll { max-width: 100%; }
  .editorial-media { grid-template-columns: 1fr; gap: 1rem; }
  .editorial-media figcaption { max-width: 42rem; }
  .scene h2 { max-width: 18ch; }
}
@media (max-width: 600px) {
  .hero { min-height: 0; padding-top: 3.5rem; }
  .hero h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .hero .stats { grid-template-columns: 1fr 1fr; }
  .hero .stat:nth-child(odd) { border-left: 0; }
  .hero .stat:nth-child(n+3) { border-top: 1px solid rgba(246,243,236,.24); }
  .scene { padding-block: 4rem; }
  .scene h2 { font-size: clamp(2.6rem, 12vw, 4.4rem); }
  .spine { min-width: 760px; }
  .head-meta { width: auto; margin-left: 0; justify-content: flex-end; }
}
@media (max-width: 380px) {
  .hero .stats { grid-template-columns: 1fr; }
  .hero .stat { border-left: 0; border-top: 1px solid rgba(246,243,236,.24); }
}
