@font-face {
  font-family: "Manrope";
  src: url("./assets/fonts/manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  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: "Manrope";
  src: url("./assets/fonts/manrope-cyrillic.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("./assets/fonts/instrument-serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("./assets/fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --ink: #373737;
  --ink-soft: var(--amber);
  --ivory: #fffaf0;
  --paper: #f4efe3;
  --amber: #fcb731;
  --amber-dark: #976100;
  --rust: #fcb731;
  --sage: #7f9e6f;
  --blue-grey: #9fb1c7;
  --blue: #3b60c5;
  --muted: #6f706d;
  --line-light: rgba(40, 64, 125, 0.3);
  --line-dark: rgba(40, 64, 125, 0.24);
  --page-x: clamp(1.25rem, 4.2vw, 5.75rem);
  --editorial-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  --reading-surface: rgba(16, 31, 57, 0.96);
  --reading-muted: #dae2ed;
  --header-h: 4.5rem;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --district-accent: var(--amber);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  background: var(--paper);
  scroll-behavior: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--rust) #f9f9f9;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 1;
  inset: 0;
  content: "";
  opacity: 0;
  pointer-events: none;
}


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

a,
button {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 4px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  z-index: 1001;
  top: 1rem;
  left: 1rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--ink-soft);
  border-radius: 0.15rem;
  background: var(--amber);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transform: translateY(-180%);
  transition: transform 220ms var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

/* --- Map-inspired real progress loader ---------------------------------- */

.scene-caption,
.chapter-nav__toggle,
.sound-toggle,
.journey-meter,
.eyebrow,
.scale-counter small,
.map-key,
.district-story__number,
.district-story__theme,
.district-story__evidence span,
.district-index button,
.evidence-story__topline,
.evidence-story__value span,
.evidence-story__sources a,
.source-list__number,
.source-list__meta,
.site-footer__date {
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

/* --- Persistent cinematic world ---------------------------------------- */

.webgl-shell,
.fallback-world {
  position: fixed;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100svh;
  pointer-events: none;
}

.webgl-shell {
  opacity: 0;
  transition: opacity 1.3s var(--ease-out);
}

body.is-ready .webgl-shell {
  opacity: 1;
}

#webgl-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.scene-vignette,
.scene-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.scene-vignette {
  z-index: 2;
  background:
    radial-gradient(circle at 50% 43%, transparent 48%, rgba(32, 53, 95, 0.055) 100%),
    linear-gradient(180deg, rgba(255, 250, 240, 0.035), transparent 20% 78%, rgba(25, 39, 67, 0.04));
}

.scene-grain {
  z-index: 3;
  inset: -25%;
  background-image:
    repeating-radial-gradient(circle at 19% 31%, rgba(35, 46, 62, 0.52) 0 0.45px, transparent 0.65px 3px),
    repeating-radial-gradient(circle at 73% 61%, rgba(119, 87, 53, 0.32) 0 0.38px, transparent 0.58px 4px);
  background-position: 0 0, 1px 2px;
  background-size: 5px 5px, 7px 7px;
  mix-blend-mode: multiply;
  opacity: 0.055;
  animation: scene-grain-drift 0.34s steps(2, end) infinite;
  will-change: transform;
}

@keyframes scene-grain-drift {
  0% { transform: translate3d(-1.5%, -1%, 0); }
  25% { transform: translate3d(1%, -1.5%, 0); }
  50% { transform: translate3d(-0.5%, 1.5%, 0); }
  75% { transform: translate3d(1.5%, 0.5%, 0); }
  100% { transform: translate3d(-1.5%, -1%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .scene-grain { animation: none; }
}

.scene-caption {
  position: absolute;
  right: var(--page-x);
  bottom: 2rem;
  display: grid;
  grid-template-columns: auto auto;
  gap: 0.8rem;
  align-items: center;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.scene-caption__index {
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 0.08rem;
}

.map-coordinate {
  position: absolute;
  bottom: 2.2rem;
  left: var(--page-x);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: 0.8rem;
  font-style: italic;
  letter-spacing: 0.04em;
  opacity: 0.66;
  transition: opacity 400ms;
  color: var(--ink-soft);
}

.fallback-world {
  display: none;
  overflow: hidden;
  background: #f9f9f9;
}

.fallback-world__sun {
  position: absolute;
  top: 13%;
  left: 65%;
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  border: 1px solid var(--rust);
  background: #f2b59e;
  filter: none;
  opacity: 0.72;
}

.fallback-world__horizon {
  position: absolute;
  top: 37%;
  left: -5%;
  width: 110%;
  height: 25%;
  border-radius: 50% 50% 0 0;
  border-top: 1px solid var(--ink-soft);
  background: #afbd9e;
  box-shadow: 0 -2rem 0 rgba(249, 249, 249, 0.32);
}

.fallback-world__road {
  position: absolute;
  top: 45%;
  bottom: -10%;
  left: 50%;
  width: 65%;
  background: #53565c;
  clip-path: polygon(47% 0, 53% 0, 88% 100%, 12% 100%);
  transform: translateX(-50%);
}

.fallback-world__road::after {
  position: absolute;
  top: 8%;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: repeating-linear-gradient(180deg, var(--ivory) 0 1.2rem, transparent 1.2rem 2.6rem);
  content: "";
}

.fallback-world__city {
  position: absolute;
  top: 37%;
  left: 50%;
  display: flex;
  gap: 0.22rem;
  align-items: flex-end;
  transform: translateX(-50%);
}

.fallback-world__city i {
  display: block;
  width: clamp(0.7rem, 2vw, 2rem);
  height: clamp(1rem, 5vw, 4.8rem);
  border: 1px solid var(--ink-soft);
  background: #dce4ed;
  box-shadow: inset -0.25rem 0 0 rgba(40, 64, 125, 0.16);
}

.fallback-world__city i:nth-child(3n) { height: clamp(2rem, 7vw, 7rem); }
.fallback-world__city i:nth-child(4n) { background: #e7a99a; }

.fallback-world__sign {
  position: absolute;
  right: 13%;
  bottom: 24%;
  padding: 0.8rem 1.2rem;
  border: 3px solid var(--ink-soft);
  border-radius: 0;
  background: #fcb731;
  color: var(--ink);
  font-size: clamp(0.95rem, 2vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  transform: rotate(-2deg);
}

.no-webgl .webgl-shell {
  display: none;
}

.no-webgl .fallback-world {
  display: block;
}

/* --- Global navigation -------------------------------------------------- */

.site-header {
  position: fixed;
  z-index: 80;
  top: 0.8rem;
  right: var(--page-x);
  left: var(--page-x);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: var(--header-h);
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(40, 64, 125, 0.48);
  border-radius: 0.18rem;
  background: rgba(249, 249, 249, 0.94);
  box-shadow: 0.38rem 0.38rem 0 rgba(40, 64, 125, 0.1);
  color: var(--ink);
  transition: color 400ms, background 400ms, border-color 400ms, transform 700ms var(--ease-out);
}

@media (min-width: 821px) {
  .site-header {
    top: 0.65rem;
    min-height: 4.1rem;
    padding: 0.38rem 0.65rem;
  }

  .chapter-nav__toggle,
  .sound-toggle {
    min-height: 2.6rem;
  }

  .wordmark__mark {
    width: 1.7rem;
    height: 1.7rem;
  }
}


body.is-light .site-header {
  border-color: rgba(40, 64, 125, 0.48);
  background: rgba(249, 249, 249, 0.94);
  color: var(--ink);
}

.wordmark {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  justify-self: start;
  color: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.wordmark small {
  padding-left: 0.65rem;
  border-left: 1px solid currentColor;
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  opacity: 0.58;
  text-transform: uppercase;
}

.wordmark__mark {
  position: relative;
  display: grid;
  width: 1.8rem;
  height: 1.8rem;
  place-items: center;
  border: 1px solid var(--ink-soft);
  border-radius: 0.08rem;
  background: var(--rust);
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0 50%);
}

.wordmark__mark i {
  width: 0.6rem;
  height: 0.6rem;
  border: 2px solid var(--ink);
  border-top-color: transparent;
  transform: rotate(45deg);
}

.chapter-nav {
  position: relative;
  justify-self: center;
}

.chapter-nav__toggle,
.sound-toggle {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  min-height: 2.8rem;
  padding: 0 1rem;
  border-radius: 0.1rem;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 0.64rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.chapter-nav__toggle {
  border: 1px solid var(--ink-soft);
}

.chapter-nav__toggle i {
  width: 0.38rem;
  height: 0.38rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 260ms var(--ease-out);
}

.chapter-nav__toggle[aria-expanded="true"] i {
  transform: translateY(2px) rotate(225deg);
}

.chapter-nav__list {
  position: absolute;
  top: calc(100% + 0.8rem);
  left: 50%;
  width: min(21rem, calc(100vw - 2.5rem));
  margin: 0;
  padding: 0.6rem;
  border: 1px solid rgba(40, 64, 125, 0.55);
  border-radius: 0.16rem;
  background: var(--paper);
  box-shadow: 0.45rem 0.45rem 0 rgba(40, 64, 125, 0.14);
  color: var(--ink);
  list-style: none;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translate(-50%, -0.6rem);
  transition: opacity 240ms, transform 240ms var(--ease-out), visibility 0s linear 240ms;
}

.chapter-nav__list.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translate(-50%, 0);
  transition-delay: 0s;
}

.chapter-nav__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.76rem 0.8rem;
  border-radius: 0.08rem;
  color: inherit;
  font-size: 0.72rem;
  text-decoration: none;
  transition: color 180ms, background 180ms;
}

.chapter-nav__list a::before {
  width: 0.35rem;
  height: 0.35rem;
  margin-right: 0.8rem;
  border: 1px solid currentColor;
  border-radius: 0;
  content: "";
}

.chapter-nav__list a:hover,
.chapter-nav__list a[aria-current="true"] {
  background: var(--blue);
  color: var(--ivory);
}

.sound-toggle {
  justify-self: end;
}

.sound-toggle__bars {
  display: flex;
  gap: 2px;
  align-items: center;
  width: 1rem;
  height: 1rem;
}

.sound-toggle__bars i {
  width: 2px;
  height: 22%;
  background: currentColor;
  transition: height 260ms var(--ease-out);
}

.sound-toggle[aria-pressed="true"] .sound-toggle__bars i:nth-child(1) { height: 46%; }
.sound-toggle[aria-pressed="true"] .sound-toggle__bars i:nth-child(2) { height: 86%; }
.sound-toggle[aria-pressed="true"] .sound-toggle__bars i:nth-child(3) { height: 62%; }
.sound-toggle[aria-pressed="true"] .sound-toggle__bars i:nth-child(4) { height: 38%; }

.journey-meter {
  position: fixed;
  z-index: 70;
  top: 50%;
  left: 1rem;
  display: grid;
  grid-template-rows: auto 8rem auto;
  gap: 0.7rem;
  justify-items: center;
  color: var(--ink-soft);
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: translateY(-50%);
  transition: color 400ms, opacity 500ms;
}


body.is-light .journey-meter {
  color: var(--ink-soft);
}

.journey-meter__label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.journey-meter__track {
  position: relative;
  width: 1px;
  height: 8rem;
  background: currentColor;
  opacity: 0.35;
}

.journey-meter__track i {
  position: absolute;
  top: 0;
  left: -1px;
  width: 3px;
  height: 0;
  background: var(--rust);
}

.journey-meter__value {
  font-variant-numeric: tabular-nums;
}

/* --- Story typography and stages --------------------------------------- */

#story {
  position: relative;
  z-index: 2;
}

.story-section,
.district-story,
.evidence-story {
  position: relative;
  min-height: 155vh;
  padding: calc(var(--header-h) + 5rem) var(--page-x) 7rem;
}

.story-section--hero {
  min-height: 260vh;
}

.story-section--scale {
  min-height: 220vh;
}

.story-section--map {
  min-height: 230vh;
}

.story-section--benetics {
  min-height: 210vh;
}

.story-section--finale {
  min-height: 220vh;
  background: linear-gradient(180deg, rgba(16, 31, 76, 0.86) 0%, rgba(24, 43, 98, 0.94) 30%, #182b62 66%, #101f4c 100%);
  color: var(--ivory);
}

.section-copy {
  position: sticky;
  z-index: 4;
  top: 50%;
  width: min(42rem, 54vw);
  transform: translateY(-50%);
}

.section-copy--center {
  right: 0;
  left: 0;
  width: min(64rem, 86vw);
  margin: 0 auto;
  text-align: center;
}

.section-copy--center .eyebrow {
  justify-content: center;
}

.eyebrow {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  margin: 0 0 1.25rem;
  font-size: clamp(0.75rem, 0.8vw, 0.875rem);
  font-weight: 750;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  flex: 0 0 auto;
  width: 1.7rem;
  height: 1px;
  background: var(--district-accent, var(--amber));
  content: "";
}

.display-title,
.section-title,
.scale-title,
.district-story__title,
.finale-quote {
  margin: 0;
  text-wrap: balance;
}

.display-title {
  max-width: 13ch;
  font-size: clamp(3.4rem, min(6.6vw, 9svh), 7.5rem);
  font-weight: 720;
  letter-spacing: -0.072em;
  line-height: 1.02;
}

.section-title {
  font-size: clamp(3rem, min(6.1vw, 10.5svh), 7.2rem);
  font-weight: 690;
  letter-spacing: -0.066em;
  line-height: 1.02;
}

.hero-copy {
  top: 46%;
}

.hero-copy__lead,
.section-lead,
.scale-copy__body,
.finale-question {
  max-width: 38rem;
  margin: 1.7rem 0 0;
  color: rgba(55, 55, 55, 0.82);
  font-family: "Manrope", Arial, sans-serif;
  font-size: clamp(1.15rem, 1.7vw, 1.72rem);
  font-weight: 470;
  letter-spacing: -0.018em;
  line-height: 1.35;
}

.story-section--finale .finale-question {
  color: var(--ivory);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.28;
}

.story-section--finale .annotation {
  border-top-color: rgba(253, 248, 240, 0.2);
  color: var(--reading-muted);
}

.drive-cue {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-top: 3rem;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.drive-cue i {
  position: relative;
  display: inline-block;
  width: 4.8rem;
  height: 1px;
  overflow: hidden;
  background: rgba(40, 64, 125, 0.28);
}

.drive-cue i::after {
  position: absolute;
  inset: 0;
  background: var(--rust);
  content: "";
  animation: drive-line 2s var(--ease-in-out) infinite;
  transform: translateX(-100%);
}

@keyframes drive-line {
  0% { transform: translateX(-100%); }
  50%, 100% { transform: translateX(100%); }
}

.scale-copy {
  text-shadow: none;
}

.scale-title {
  color: var(--rust);
  font-size: clamp(4.4rem, min(11.6vw, 15svh), 13rem);
  font-weight: 760;
  letter-spacing: -0.085em;
  line-height: 0.88;
}

.scale-copy__body,
.section-copy--center .section-lead {
  margin-right: auto;
  margin-left: auto;
}

.annotation {
  max-width: 37rem;
  margin: 2.2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line-light);
  border-color: rgba(40, 64, 125, 0.28);
  color: #505050;
  font-size: clamp(0.9375rem, 1vw, 1rem);
  line-height: 1.55;
}

.section-copy--center .annotation {
  margin-right: auto;
  margin-left: auto;
}

.scale-counter {
  position: absolute;
  right: var(--page-x);
  bottom: 6rem;
  display: grid;
  justify-items: end;
  font-variant-numeric: tabular-nums;
}

.scale-counter span {
  color: var(--ink-soft);
  font-size: clamp(1.7rem, 3.4vw, 4.2rem);
  font-weight: 300;
  letter-spacing: -0.055em;
}

.scale-counter small {
  color: rgba(40, 64, 125, 0.68);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.map-intro {
  width: min(38rem, 49vw);
  isolation: isolate;
}

.map-key {
  position: absolute;
  right: var(--page-x);
  bottom: 6rem;
  display: grid;
  grid-template-columns: auto minmax(9rem, 14rem) auto;
  gap: 1rem;
  align-items: center;
  font-size: 0.53rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}

.map-key i {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 2px;
  background: rgba(40, 64, 125, 0.24);
}

.map-key i b {
  display: block;
  width: 0;
  height: 100%;
  background: var(--rust);
}

/* --- Five district journey --------------------------------------------- */

.district-journey {
  position: relative;
}

.district-story {
  --district-accent: var(--accent, var(--amber));
  --district-readable: color-mix(in srgb, var(--district-accent) 68%, var(--ink-soft));
  min-height: 165vh;
  display: flex;
  align-items: center;
}

.district-story:nth-child(even) {
  justify-content: flex-end;
}

.district-story__panel {
  position: relative;
  width: min(38rem, 47vw);
  padding: clamp(1.5rem, 2.5vw, 2.8rem);
  border: 1px solid rgba(40, 64, 125, 0.5);
  border-radius: 0.2rem;
  background: rgba(249, 249, 249, 0.96);
  box-shadow: 0.5rem 0.5rem 0 rgba(40, 64, 125, 0.13);
  color: var(--ink);
}

.district-story__panel::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--district-accent) 0 3.8rem, transparent 3.8rem) 0 0 / 100% 3px no-repeat;
  content: "";
  opacity: 0.48;
  pointer-events: none;
}

.district-story__topline {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(2.2rem, 4vw, 4.2rem);
}

.district-story__number {
  display: grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  border: 1px solid var(--district-accent);
  border-radius: 0.08rem;
  color: var(--district-readable);
  font-size: 0.66rem;
  font-weight: 800;
}

.district-story__theme {
  color: var(--district-readable);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.district-story__name {
  position: relative;
  margin: 0 0 0.85rem;
  color: var(--district-readable);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.15rem, 1.7vw, 1.8rem);
  font-style: italic;
  font-weight: 400;
}

.district-story__title {
  position: relative;
  font-size: clamp(2.4rem, min(4.5vw, 9svh), 5.4rem);
  font-weight: 650;
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.district-story__description {
  position: relative;
  max-width: 34rem;
  margin: 1.6rem 0 0;
  color: rgba(55, 55, 55, 0.76);
  font-size: clamp(0.9rem, 1.1vw, 1.1rem);
}

.district-story__evidence {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  margin-top: 2.4rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(40, 64, 125, 0.24);
}

.district-story__evidence div {
  display: grid;
  align-content: start;
  gap: 0.6rem;
}

.district-story__evidence span {
  color: var(--district-readable);
  font-size: 0.54rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.district-story__evidence p {
  margin: 0;
  color: rgba(55, 55, 55, 0.78);
  font-size: 0.72rem;
  line-height: 1.55;
}

.district-index {
  position: sticky;
  z-index: 12;
  top: calc(50vh - 8.5rem);
  float: right;
  display: grid;
  gap: 0.4rem;
  width: 2.4rem;
  margin: 0 1.1rem 0 0;
  padding: 0;
  list-style: none;
}

.district-index button {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid rgba(40, 64, 125, 0.45);
  border-radius: 0.08rem;
  background: rgba(249, 249, 249, 0.94);
  box-shadow: 0.18rem 0.18rem 0 rgba(40, 64, 125, 0.11);
  color: rgba(40, 64, 125, 0.76);
  cursor: pointer;
  font-size: 0.53rem;
  font-weight: 800;
  transition: color 230ms, background 230ms, transform 230ms var(--ease-out);
}

.district-index button:hover,
.district-index button[aria-current="true"] {
  background: var(--active-accent, var(--amber));
  color: var(--ink);
  transform: translate(-2px, -2px);
}

/* --- Product transition ------------------------------------------------- */

.solution-copy {
  width: min(42rem, 52vw);
}

.product-link,
.exit-link {
  display: inline-flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
  min-width: 15rem;
  margin-top: 2.2rem;
  padding: 0.95rem 1.25rem;
  border: 1px solid var(--ink-soft);
  border-radius: 0.1rem;
  background: var(--ink-soft);
  box-shadow: 0.3rem 0.3rem 0 rgba(252, 183, 49, 0.42);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 240ms, background 240ms, box-shadow 240ms, transform 240ms var(--ease-out);
}

.product-link:hover,
.exit-link:hover {
  background: var(--blue);
  color: var(--ivory);
  box-shadow: 0.12rem 0.12rem 0 rgba(40, 64, 125, 0.16);
  transform: translate(0.18rem, 0.18rem);
}

.product-link i,
.exit-link i {
  font-size: 1rem;
  font-style: normal;
}

.information-legend {
  position: absolute;
  right: var(--page-x);
  bottom: 5.5rem;
  display: grid;
  grid-template-columns: 1fr 4rem 1fr;
  gap: 1.3rem;
  width: min(39rem, 48vw);
  padding: 1.2rem;
  border: 1px solid var(--line-light);
  border-radius: 0.16rem;
  background: rgba(249, 249, 249, 0.96);
  box-shadow: 0.4rem 0.4rem 0 rgba(40, 64, 125, 0.12);
  color: var(--ink);
}

.information-legend > i {
  position: relative;
  align-self: center;
  height: 1px;
  background: linear-gradient(90deg, var(--rust), var(--amber), var(--blue));
}

.information-legend > i::after {
  position: absolute;
  top: -3px;
  right: 0;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--blue);
  border-right: 1px solid var(--blue);
  content: "";
  transform: rotate(45deg);
}

.information-legend > div > span {
  font-size: 0.53rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.information-legend ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
}

.information-legend li {
  padding: 0.28rem 0.48rem;
  border: 1px solid rgba(40, 64, 125, 0.26);
  border-radius: 0.08rem;
  color: rgba(55, 55, 55, 0.67);
  font-size: 0.54rem;
}

/* --- Data city ---------------------------------------------------------- */

.evidence-section {
  --evidence-local-progress: 0;
  --evidence-scan-progress: 0;
  position: relative;
  min-height: 690vh;
}

.evidence-intro {
  position: relative;
  top: auto;
  min-height: 160vh;
  padding: 34vh 0 20vh;
  isolation: isolate;
  transform: none;
}

.evidence-stories {
  position: relative;
}

.evidence-story {
  display: flex;
  min-height: 132vh;
  align-items: center;
}

.evidence-story:nth-child(even) {
  justify-content: flex-end;
}

.evidence-story__panel {
  container-type: inline-size;
  width: min(38rem, 48vw);
  padding: clamp(1.35rem, 2.3vw, 2.3rem);
  border: 1px solid rgba(40, 64, 125, 0.48);
  border-radius: 0.18rem;
  background: rgba(249, 249, 249, 0.96);
  box-shadow: 0.5rem 0.5rem 0 rgba(40, 64, 125, 0.13);
  color: var(--ink);
}

.evidence-story__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3.3rem;
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.evidence-story__topline span:first-child {
  color: var(--amber-dark);
}

.evidence-story__values {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 1.2rem;
  align-items: end;
}

.evidence-story__values > i {
  width: 1px;
  height: 5rem;
  background: var(--line-light);
}

.evidence-story__value {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
  container-type: inline-size;
}

.evidence-story__value strong {
  display: block;
  max-width: 100%;
  color: var(--rust);
  font-size: clamp(2.75rem, 25cqi, 7rem);
  font-weight: 350;
  font-variant-numeric: tabular-nums lining-nums;
  letter-spacing: -0.08em;
  line-height: 0.75;
  white-space: nowrap;
}

.evidence-story__value--long strong {
  font-size: clamp(2.55rem, 22cqi, 6.2rem);
  letter-spacing: -0.095em;
}

.evidence-story__value--compare strong {
  color: var(--blue);
}

.evidence-story__value span {
  max-width: 14rem;
  color: rgba(55, 55, 55, 0.78);
  font-size: 0.63rem;
  line-height: 1.4;
}

.evidence-story__body {
  max-width: 35rem;
  margin: 2.4rem 0 0;
  color: rgba(55, 55, 55, 0.74);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.18rem, 1.7vw, 1.65rem);
  line-height: 1.35;
}

.evidence-story__sources {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.4rem;
}

.evidence-story__sources a {
  padding: 0.42rem 0.65rem;
  border: 1px solid var(--line-light);
  border-radius: 0.08rem;
  color: rgba(40, 64, 125, 0.82);
  font-size: 0.56rem;
  font-weight: 750;
  text-decoration: none;
  transition: color 200ms, border-color 200ms;
}

.evidence-story__sources a:hover {
  border-color: var(--rust);
  color: var(--rust);
}

/* Text surfaces follow the complete copy block as it wraps. */

.reading-panel,
.district-story__panel,
.evidence-story__panel {
  padding: clamp(1.25rem, 2.2vw, 2.5rem);
  border: 1px solid rgba(252, 183, 49, 0.35);
  border-radius: 0.18rem;
  background: var(--reading-surface);
  box-shadow: 0 1rem 3rem rgba(10, 22, 42, 0.16);
  color: var(--ivory);
}

.reading-panel :is(.display-title, .section-title, .scale-title),
.district-story__title,
.evidence-story__value strong {
  color: var(--amber);
}

.reading-panel :is(.hero-copy__lead, .section-lead, .scale-copy__body),
.district-story__description,
.evidence-story__body {
  color: var(--ivory);
}

.reading-panel .annotation,
.district-story__evidence p,
.evidence-story__value span {
  color: var(--reading-muted);
  font-size: clamp(0.9375rem, 1vw, 1rem);
}

.reading-panel .annotation,
.district-story__evidence {
  border-top-color: rgba(255, 250, 240, 0.25);
}

.district-story__number,
.district-story__theme,
.district-story__name,
.district-story__evidence span,
.evidence-story__topline span:first-child {
  color: var(--amber);
}

.district-story__theme,
.district-story__evidence span,
.evidence-story__topline,
.evidence-story__sources a {
  font-size: 0.75rem;
}

.district-story__topline {
  gap: 1rem;
  margin-bottom: 2rem;
}

.district-story__theme {
  text-align: right;
}

.district-story__description {
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  line-height: 1.55;
}

.evidence-story__sources a {
  border-color: rgba(255, 250, 240, 0.3);
  color: var(--ivory);
}

.evidence-story__values > i {
  background: rgba(255, 250, 240, 0.3);
}

.information-legend > div > span,
.information-legend li {
  color: var(--ink);
  font-size: 0.8125rem;
}

.scene-caption,
.map-coordinate,
.scale-counter,
.map-key {
  padding: 0.65rem 0.85rem;
  border-radius: 0.18rem;
  background: var(--reading-surface);
  color: var(--amber);
}

.scale-counter span,
.scale-counter small {
  color: var(--amber);
}

.scale-counter small,
.map-key,
.scene-caption {
  font-size: 0.75rem;
}

/* --- Editorial method and sources -------------------------------------- */

.method-section,
.sources-section,
.site-footer {
  position: relative;
  z-index: 8;
  background: #f9f9f9;
  color: var(--ink);
}

.method-section::before,
.sources-section::before,
.site-footer::before {
  display: none;
}

.method-section {
  display: grid;
  grid-template-columns: var(--editorial-columns);
  gap: 7vw;
  min-height: 100vh;
  padding: clamp(7rem, 12vw, 13rem) var(--page-x);
}

.method-section__heading {
  position: sticky;
  top: calc(var(--header-h) + 4rem);
  align-self: start;
}

.method-section__body {
  min-width: 0;
}

.method-section__heading .section-title,
.sources-section__heading .section-title {
  font-size: clamp(3rem, 5.6vw, 6.8rem);
}

.method-steps,
.method-caveats ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.method-steps {
  counter-reset: method;
}

.method-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line-dark);
  counter-increment: method;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.2;
}

.method-steps li::before {
  color: var(--rust);
  content: "0" counter(method);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.method-caveats {
  margin-top: 6rem;
  padding: 2rem;
  border: 1px solid var(--ink-soft);
  border-radius: 0.18rem;
  background: var(--ink-soft);
  box-shadow: 0.5rem 0.5rem 0 rgba(252, 183, 49, 0.28);
  color: var(--ink);
}

.method-caveats li {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(55, 55, 55, 0.24);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.55;
}

.method-caveats li:last-child {
  border-bottom: 0;
}

.sources-section {
  display: grid;
  grid-template-columns: var(--editorial-columns);
  gap: 7vw;
  padding: 5rem var(--page-x) clamp(7rem, 12vw, 13rem);
}

.sources-section__heading p:last-child {
  max-width: 29rem;
  color: #505050;
}

.source-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-dark);
  list-style: none;
}

.source-list li {
  border-bottom: 1px solid var(--line-dark);
}

.source-list a {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.6rem 1rem;
  align-items: start;
  padding: 1.35rem 0;
  color: inherit;
  text-decoration: none;
  transition: color 220ms;
}

.source-list a:hover {
  color: var(--rust);
}

.source-list__number,
.source-list__meta {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.source-list__title {
  display: block;
  margin-bottom: 0.35rem;
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.35rem, 1.55vw, 1.6rem);
  line-height: 1.3;
}

.source-list__publisher {
  display: block;
  color: #505050;
  font-size: 0.875rem;
  line-height: 1.5;
}

.source-list__meta {
  grid-column: 2;
  color: #505050;
  text-align: left;
}

/* --- Quiet finale ------------------------------------------------------- */

.finale-copy {
  top: 50%;
  width: min(76rem, 90vw);
}

.finale-quote {
  max-width: 18ch;
  margin: 0 auto;
  color: var(--amber);
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(3.2rem, 6vw, 7.2rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  word-spacing: 0.06em;
  line-height: 1.05;
}

.finale-question {
  max-width: 50rem;
  margin-right: auto;
  margin-left: auto;
}

.finale-copy .exit-link {
  margin-top: 2.8rem;
}

.unknown-coordinate {
  position: absolute;
  right: var(--page-x);
  bottom: 5rem;
  display: grid;
  gap: 0.7rem;
  justify-items: center;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.unknown-coordinate i {
  width: 4.8rem;
  height: 4.8rem;
  border: 1px dashed rgba(243, 239, 229, 0.48);
  border-radius: 50%;
  animation: unknown-spin 14s linear infinite;
}

@keyframes unknown-spin {
  to { transform: rotate(360deg); }
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 4vw;
  padding: 3.5rem var(--page-x);
  border-top: 1px solid var(--line-dark);
}

.site-footer p {
  margin: 0;
  color: #505050;
  font-size: 0.875rem;
  line-height: 1.6;
}

.site-footer__brand span {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.site-footer a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.site-footer__date {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* --- Fine-pointer interactions ----------------------------------------- */

.custom-cursor {
  position: fixed;
  z-index: 900;
  top: 0;
  left: 0;
  display: none;
  width: 4.2rem;
  height: 4.2rem;
  place-items: center;
  border: 1px solid rgba(40, 64, 125, 0.76);
  border-radius: 50%;
  color: var(--ink-soft);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0) scale(0.55);
  transition: width 230ms var(--ease-out), height 230ms var(--ease-out), background 230ms, color 230ms;
}

.custom-cursor i {
  position: absolute;
  width: 0.26rem;
  height: 0.26rem;
  border-radius: 50%;
  background: currentColor;
}

.custom-cursor span {
  font-size: 0.46rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  opacity: 0;
}

.custom-cursor.is-link {
  border-color: var(--rust);
  background: var(--rust);
  color: var(--ivory);
}

.custom-cursor.is-link i {
  opacity: 0;
}

.custom-cursor.is-link span {
  opacity: 1;
}

.word {
  display: inline-block;
  overflow: hidden;
  /* Keep descenders and the last glyph inside the reveal mask, including
     headings with tight line-height and negative letter-spacing. */
  margin: -0.2em 0.01em -0.25em -0.1em;
  padding: 0.2em 0.1em 0.25em;
  vertical-align: bottom;
}

.word > span {
  display: inline-block;
  will-change: transform;
}

.noscript-message {
  position: fixed;
  z-index: 999;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  padding: 1rem;
  border: 1px solid var(--ink-soft);
  border-radius: 0.12rem;
  background: var(--rust);
  color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
  body.has-custom-cursor,
  body.has-custom-cursor a,
  body.has-custom-cursor button {
    cursor: none;
  }

  .custom-cursor {
    display: grid;
  }
}

/* --- Laptop ------------------------------------------------------------- */

@media (max-width: 1180px) {
  :root {
    --page-x: clamp(1.25rem, 3.5vw, 3.2rem);
  }

  .site-header {
    right: 1rem;
    left: 1rem;
  }

  .display-title {
    font-size: clamp(3.3rem, min(8vw, 9svh), 7.1rem);
  }

  .district-story__panel,
  .evidence-story__panel {
    width: min(39rem, 55vw);
  }

  .journey-meter {
    display: none;
  }

  .scene-caption {
    right: 1.2rem;
    bottom: 1.2rem;
  }

  .map-coordinate {
    bottom: 1.4rem;
    left: 1.2rem;
  }
}

/* --- Tablet ------------------------------------------------------------- */

@media (max-width: 820px) {
  :root {
    --header-h: 4rem;
  }

  .site-header {
    grid-template-columns: 1fr auto auto;
    border-radius: 0.18rem;
  }

  .wordmark small,
  .sound-toggle__label {
    display: none;
  }

  .chapter-nav {
    justify-self: end;
  }

  .chapter-nav__toggle {
    min-height: 2.55rem;
  }

  .sound-toggle {
    min-width: 2.55rem;
    min-height: 2.55rem;
    justify-content: center;
    padding: 0.55rem;
  }

  .story-section,
  .district-story,
  .evidence-story {
    min-height: 125vh;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .story-section--hero { min-height: 190vh; }
  .story-section--scale { min-height: 155vh; }
  .story-section--map { min-height: 165vh; }
  .story-section--benetics { min-height: 155vh; }
  .story-section--finale { min-height: 190vh; }

  .section-copy,
  .map-intro,
  .solution-copy {
    width: min(40rem, calc(100vw - 2.5rem));
  }


  .hero-copy {
    top: 52%;
  }

  .display-title {
    font-size: clamp(3.3rem, 11.5vw, 6.2rem);
  }

  .section-title {
    font-size: clamp(2.85rem, 10vw, 5.8rem);
  }

  .scale-title {
    font-size: clamp(4rem, 15vw, 7.5rem);
  }

  .district-story,
  .district-story:nth-child(even),
  .evidence-story,
  .evidence-story:nth-child(even) {
    align-items: flex-end;
    justify-content: stretch;
    padding-bottom: 12vh;
  }

  .district-story__panel,
  .evidence-story__panel {
    width: 100%;
  }

  .district-story__panel {
    padding: 1.5rem;
    border-radius: 0.16rem;
  }

  .district-story__topline {
    margin-bottom: 2rem;
  }

  .district-index {
    top: calc(100vh - 5rem);
    right: 50%;
    float: none;
    display: flex;
    width: max-content;
    margin: 0;
    transform: translateX(50%);
  }

  .district-index button {
    background: rgba(249, 249, 249, 0.96);
  }

  .information-legend {
    right: 1.25rem;
    bottom: 5rem;
    left: 1.25rem;
    width: auto;
  }

  .evidence-section {
    min-height: 550vh;
  }

  .evidence-intro {
    min-height: 130vh;
  }


  .evidence-story__values {
    gap: 0.75rem;
  }

  .method-section,
  .sources-section {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .method-section__heading {
    position: static;
  }

  .sources-section__heading {
    max-width: 36rem;
  }

  .site-footer {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__date {
    grid-column: 1 / -1;
  }



}

/* --- Mobile ------------------------------------------------------------- */

@media (max-width: 560px) {
  :root {
    --page-x: 1.1rem;
  }

  .site-header {
    top: 0.55rem;
    right: 0.55rem;
    left: 0.55rem;
    min-height: 3.75rem;
    padding: 0.4rem 0.5rem;
  }

  .wordmark {
    gap: 0.45rem;
    font-size: 0.72rem;
  }

  .wordmark__mark {
    width: 1.55rem;
    height: 1.55rem;
  }

  .chapter-nav__toggle {
    width: 2.55rem;
    padding: 0;
    justify-content: center;
  }

  .chapter-nav__toggle span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }

  .story-section,
  .district-story,
  .evidence-story {
    min-height: 108vh;
    padding: 7rem 1.1rem 5rem;
  }

  .story-section--hero { min-height: 155vh; }
  .story-section--scale { min-height: 130vh; }
  .story-section--map { min-height: 140vh; }
  .story-section--benetics { min-height: 140vh; }
  .story-section--finale {
    min-height: auto;
    padding-top: 10rem;
    padding-bottom: 8rem;
  }

  .finale-copy {
    position: relative;
    top: auto;
    transform: none;
  }

  .section-copy,
  .map-intro,
  .solution-copy {
    width: calc(100vw - 2.2rem);
    position: relative;
    top: auto;
    transform: none;
  }

  .hero-copy {
    top: auto;
  }

  .display-title {
    max-width: 11ch;
    font-size: clamp(2.85rem, 13.5vw, 4.7rem);
    letter-spacing: -0.064em;
    line-height: 1.02;
  }


  .section-title {
    font-size: clamp(2.85rem, 13vw, 4.8rem);
  }

  .scale-title {
    font-size: clamp(4.3rem, 21vw, 7.3rem);
    line-height: 0.88;
  }

  .hero-copy__lead,
  .section-lead,
  .scale-copy__body,
  .finale-question {
    font-size: 1.22rem;
  }


  .annotation {
    margin-top: 1.5rem;
    font-size: 0.9375rem;
  }

  .drive-cue {
    margin-top: 1.4rem;
  }

  .scale-counter,
  .map-key,
  .scene-caption,
  .map-coordinate,
  .unknown-coordinate {
    display: none;
  }

  .district-story,
  .district-story:nth-child(even),
  .evidence-story,
  .evidence-story:nth-child(even) {
    padding-bottom: 4.8rem;
  }

  .district-story__title {
    font-size: clamp(2.35rem, 10vw, 3.6rem);
  }

  .district-story__description {
    font-size: 1rem;
  }

  .district-story__evidence {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .district-story__evidence div:nth-child(2) {
    padding-top: 1rem;
    border-top: 1px solid rgba(40, 64, 125, 0.2);
  }

  .district-index {
    top: 4.7rem;
    gap: 0.27rem;
  }

  .district-index button {
    width: 1.92rem;
    height: 1.92rem;
  }

  .information-legend {
    right: 1.1rem;
    bottom: 4.4rem;
    left: 1.1rem;
    grid-template-columns: 1fr 1.2rem 1fr;
    gap: 0.6rem;
    padding: 0.8rem;
  }

  .information-legend li {
    padding: 0.2rem 0.35rem;
    font-size: 0.75rem;
  }

  .product-link,
  .exit-link {
    width: 100%;
  }

  .evidence-section {
    min-height: 475vh;
  }

  .evidence-intro {
    min-height: 115vh;
    padding: 27vh 1.1rem 15vh;
  }



  .evidence-story__topline {
    margin-bottom: 2.4rem;
  }

  .evidence-story__values {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .evidence-story__values > i {
    width: 100%;
    height: 1px;
  }

  .evidence-story__value strong {
    font-size: clamp(3.1rem, 22cqi, 5.4rem);
  }

  .evidence-story__value--long strong {
    font-size: clamp(2.85rem, 18cqi, 4.8rem);
  }

  .evidence-story__body {
    font-size: 1.12rem;
  }

  .method-section,
  .sources-section {
    gap: 3rem;
    padding-right: 1.1rem;
    padding-left: 1.1rem;
  }

  .method-section__heading .section-title,
  .sources-section__heading .section-title {
    font-size: clamp(2.8rem, 13vw, 4.5rem);
  }

  .method-steps li {
    grid-template-columns: 2.2rem 1fr;
    gap: 0.8rem;
    font-size: 1.3rem;
  }

  .method-caveats {
    margin-top: 3rem;
    padding: 1.3rem;
  }

  .source-list a {
    grid-template-columns: 2.4rem 1fr;
  }

  .source-list__meta {
    grid-column: 2;
    text-align: left;
  }

  .finale-quote {
    font-size: clamp(3.1rem, 14vw, 5.6rem);
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 3rem 1.1rem;
  }

  .site-footer__date {
    grid-column: auto;
  }





}

/* --- Near-square screens ---------------------------------------------- */

@media (min-width: 561px) and (max-width: 1180px) and (max-aspect-ratio: 6 / 5) {
  .district-story,
  .district-story:nth-child(even),
  .evidence-story,
  .evidence-story:nth-child(even) {
    align-items: flex-end;
    justify-content: stretch;
    padding-bottom: 10vh;
  }

  .district-story__panel,
  .evidence-story__panel {
    width: 100%;
  }

  .section-copy,
  .map-intro,
  .solution-copy {
    width: min(42rem, calc(100vw - 2.5rem));
  }

  .district-index {
    top: calc(100vh - 5rem);
    right: 50%;
    float: none;
    display: flex;
    width: max-content;
    margin: 0;
    transform: translateX(50%);
  }
}

/* --- Short landscape screens ----------------------------------------- */

@media (orientation: landscape) and (max-height: 620px) {
  :root {
    --header-h: 3.6rem;
  }

  .site-header {
    top: 0.45rem;
    min-height: var(--header-h);
  }

  .wordmark small,
  .sound-toggle__label,
  .journey-meter,
  .district-index,
  .scene-caption,
  .map-coordinate {
    display: none;
  }

  .story-section,
  .district-story,
  .evidence-story,
  .evidence-section,
  .evidence-intro {
    min-height: auto;
  }

  .story-section,
  .district-story,
  .evidence-story {
    align-items: flex-start;
    padding-top: calc(var(--header-h) + 3rem);
    padding-bottom: 5rem;
  }

  .section-copy,
  .map-intro,
  .solution-copy,
  .finale-copy {
    position: relative;
    top: auto;
    width: min(42rem, calc(100vw - 2.5rem));
    transform: none;
  }

  .district-story,
  .district-story:nth-child(even),
  .evidence-story,
  .evidence-story:nth-child(even) {
    justify-content: stretch;
  }

  .district-story__panel,
  .evidence-story__panel {
    width: min(42rem, 100%);
  }

  .district-story__topline,
  .evidence-story__topline {
    margin-bottom: 1.5rem;
  }

  .information-legend {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: min(42rem, 100%);
    margin-top: 2rem;
  }
}

/* --- Motion and forced fallback ---------------------------------------- */

@media (prefers-reduced-transparency: reduce) {
  .reading-panel {
    background: #101f39;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .story-section,
  .district-story,
  .evidence-story,
  .evidence-section,
  .evidence-intro {
    min-height: auto !important;
  }

  .story-section,
  .district-story,
  .evidence-story {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }

  .section-copy {
    position: relative;
    top: auto;
    transform: none;
  }

  .district-story,
  .district-story:nth-child(even),
  .evidence-story,
  .evidence-story:nth-child(even) {
    justify-content: stretch;
  }

  .district-story__panel,
  .evidence-story__panel {
    width: min(46rem, 100%);
  }

  .district-index {
    display: none;
  }
}

.force-reduced-motion {
  scroll-behavior: auto;
}

.force-reduced-motion *,
.force-reduced-motion *::before,
.force-reduced-motion *::after {
  scroll-behavior: auto !important;
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
}

.force-reduced-motion .story-section,
.force-reduced-motion .district-story,
.force-reduced-motion .evidence-story,
.force-reduced-motion .evidence-section,
.force-reduced-motion .evidence-intro {
  min-height: auto !important;
}

.force-reduced-motion .section-copy {
  position: relative;
  top: auto;
  transform: none;
}

@media (forced-colors: active) {
  body::before,
  .scene-grain,
  .scene-vignette,
  .method-section::before,
  .sources-section::before,
  .site-footer::before {
    display: none;
  }

  .webgl-shell,
  .fallback-world {
    opacity: 0.15;
  }

  .reading-panel,
  .district-story__panel,
  .evidence-story__panel,
  .information-legend {
    border: 2px solid CanvasText;
    background: Canvas;
    color: CanvasText;
  }
}

@media print {
  body::before,
  .method-section::before,
  .sources-section::before,
  .site-footer::before,

  body,
  .reading-panel,
  .district-story__panel,
  .evidence-story__panel,
  .story-section--finale,
  .method-section,
  .sources-section,
  .site-footer {
    background: white;
    color: black;
  }

  #story * {
    color: black !important;
    text-shadow: none !important;
  }

  .story-section,
  .district-story,
  .evidence-story,
  .evidence-section {
    min-height: auto;
    break-inside: avoid;
    padding: 2rem;
  }

  .section-copy {
    position: static;
    width: 100%;
    transform: none;
  }

  a {
    color: black;
  }
}

/* Opening and district orientation: preserve the existing road-sign palette. */
.is-initializing .fallback-world { display: block; }
.story-section--hero { min-height: 135svh; }
.evidence-story--opening {
  min-height: 125svh;
  justify-content: center;
  align-items: center;
}
.evidence-story--opening .evidence-story__panel { width: min(44rem, 100%); }
.evidence-section { min-height: auto; }
.story-section--map { min-height: 165svh; }
.city-overview {
  position: sticky;
  top: calc(var(--header-h) + 3rem);
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
}
.city-overview .map-intro { width: 100%; }
.city-overview .section-title { font-size: clamp(2.5rem, 4vw, 4.4rem); }
.city-overview .section-lead { font-size: clamp(1rem, 1.25vw, 1.2rem); }
.city-overview .annotation { margin-top: 1.5rem; font-size: .875rem; }
.district-map {
  margin: 0;
  padding: 1.5rem;
  background: #f4efe3;
  border: 1px solid rgba(40, 64, 125, .28);
  color: #182b45;
}
.district-map__sign {
  display: grid;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 1rem;
  padding: .6rem 2rem;
  border: 3px solid #182b45;
  background: var(--amber);
  text-align: center;
}
.district-map__sign strong { font-size: clamp(1.4rem, 2.4vw, 2.4rem); letter-spacing: -.05em; }
.district-map__sign span { margin-top: .2rem; padding-top: .3rem; border-top: 1px solid currentColor; font-size: .7rem; }
.district-map__drawing { display: block; width: 100%; height: auto; overflow: visible; }
.district-map__boundary { fill: #ebe8df; stroke: #8d9397; stroke-width: 1.4; transition: fill 200ms; }
.district-map__region.is-current .district-map__boundary { fill: #ffe1a0; stroke: #976100; stroke-width: 3; }
.district-map__river { fill: none; stroke: #9fb1c7; stroke-width: 5; }
.district-map__route { fill: none; stroke: #b97a09; stroke-width: 3; stroke-linejoin: round; }
.district-map__pin { fill: #f4efe3; stroke: #182b45; stroke-width: 2; transition: fill 200ms; }
.district-map__stop.is-current .district-map__pin,
.district-map__stop:hover .district-map__pin,
.district-map__stop:focus .district-map__pin { fill: var(--amber); stroke-width: 3; }
.district-map__stop:focus { outline: none; }
.district-map__stop:focus .district-map__label { text-decoration: underline; }
.district-map__number { fill: #182b45; font: 800 14px "Manrope", sans-serif; }
.district-map__label { fill: #182b45; font: 750 17px "Manrope", sans-serif; paint-order: stroke; stroke: #f4efe3; stroke-width: 7; stroke-linejoin: round; }
.district-map__caption { margin: 1rem 0 0; font-size: .75rem; text-align: center; }
.district-locator {
  position: fixed;
  z-index: 12;
  right: 1.25rem;
  bottom: 1.25rem;
  display: grid;
  grid-template-columns: 8rem 1fr;
  align-items: center;
  gap: 1rem;
  padding: .8rem 1rem;
  border: 1px solid #9b9d9e;
  background: #f4efe3;
  color: #182b45;
}
.district-locator[hidden] { display: none; }
.district-locator__caption { margin: 0 0 .25rem; font-size: .65rem; }
.district-locator__name { margin: 0 0 .5rem; font-size: 1rem; font-weight: 800; }
.district-locator__back { display: inline-block; margin-top: .5rem; font-size: .65rem; text-decoration: underline; text-underline-offset: 3px; }
.district-locator .district-index {
  position: static;
  display: flex;
  float: none;
  width: auto;
  margin: 0;
  gap: .4rem;
  transform: none;
}
.district-locator .district-index button { width: 2rem; height: 2rem; box-shadow: none; color: #182b45; }
.district-locator .district-index button[aria-current="true"] { background: var(--amber); }
body[data-phase="district"] .scene-caption { display: none; }
@media (max-width: 900px) {
  .city-overview { grid-template-columns: 1fr; position: relative; top: auto; gap: 1.5rem; }
  .city-overview .map-intro { padding: 1.5rem; }
  .city-overview .section-title { font-size: 2.75rem; }
  .district-map { width: min(100%, 40rem); margin-inline: auto; padding: 1rem; }
  .story-section--map { min-height: auto; padding-bottom: 6rem; }
  .story-section--hero { min-height: 125svh; }
}
@media (max-width: 560px) {
  .district-locator { left: .7rem; right: .7rem; bottom: .7rem; padding: .65rem .75rem; grid-template-columns: 5.5rem 1fr; gap: .65rem; }
  .district-locator__name { font-size: .9rem; }
  .district-locator .district-index { justify-content: space-between; }
  .district-locator .district-index button { width: 2.2rem; height: 2.2rem; }
  .district-story { padding-bottom: 12rem; }
  .district-map { padding: .8rem .4rem; }
  .district-map__label { font-size: 19px; }
  .evidence-story--opening { min-height: 110svh; padding-top: 5rem; }
}
@media (prefers-reduced-motion: reduce), (max-height: 600px) {
  .city-overview { position: relative; top: auto; }
}
.force-reduced-motion .city-overview { position: relative; top: auto; }
@media print {
  .district-locator { display: none !important; }
  .city-overview { position: static; display: block; }
}
.evidence-story.evidence-story--opening { justify-content: center; }
.district-map > .district-map__drawing { max-height: 43svh; }
.is-initializing .text-mask .word > span { transform: none; }
@media (max-width: 900px) {
  .district-map > .district-map__drawing { max-height: none; }
}
@media (max-width: 560px) and (min-height: 601px) {
  .story-section--hero { padding-top: 48svh; }
  .hero-copy .display-title { max-width: none; font-size: clamp(1.85rem, 8.2vw, 2.6rem); }
  .hero-copy .hero-copy__lead { margin-top: 1rem; font-size: 1rem; }
  .hero-copy .drive-cue { margin-top: 1.4rem; }
  .hero-copy .eyebrow { margin-bottom: 1rem; }
}
@media (max-width: 560px) {
  .district-locator__details { min-width: 0; }
  .district-locator .district-index { gap: .25rem; }
  .district-locator .district-index button { width: clamp(1.6rem, 8vw, 2.2rem); }
}
@media (max-width: 900px) {
  .city-overview .district-map { grid-row: 1; }
  .city-overview .map-intro { grid-row: 2; }
}

/* German reference edition: original evidence follows the cinematic journey. */
.reference-section {
  position: relative;
  z-index: 2;
  min-height: auto;
  padding: clamp(4rem, 8vw, 8rem) var(--page-x);
  background: var(--paper);
  color: #182b45;
  border-top: 1px solid var(--line-dark);
  line-height: 1.7;
}
.reference-wrap { width: min(100%, 76rem); margin-inline: auto; }
.reference-section h2 { max-width: 23ch; margin: 1rem 0 2rem; font-size: clamp(2rem, 4.4vw, 4.2rem); line-height: 1.12; letter-spacing: -.045em; }
.reference-section h3 { max-width: 35ch; margin: 1rem 0 1.5rem; font-size: clamp(1.6rem, 2.7vw, 2.5rem); line-height: 1.25; letter-spacing: -.025em; }
.reference-section h4 { margin: 0 0 1rem; font-size: 1.2rem; line-height: 1.4; }
.reference-section p { margin: 0 0 1.2rem; }
.reference-section p:last-child { margin-bottom: 0; }
.reference-section a { text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; }
.reference-section h2, .reference-section h3, .reference-section h4 { hyphens: auto; overflow-wrap: anywhere; }
.reference-section img { max-width: 100%; height: auto; }
.reference-col, .reference-prose, .reference-lead, .reference-gapbody { max-width: 49rem; }
.reference-lead { font-size: clamp(1.1rem, 1.8vw, 1.4rem); }
.reference-eyebrow { display: flex; gap: 1.2rem; margin-bottom: 2rem; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.reference-n, .reference-idx, .reference-tno, .reference-pn, .reference-qn { color: #976100; font-weight: 800; }
.reference-sup { font-size: .75em; vertical-align: super; white-space: nowrap; }
.reference-section .reference-note, .reference-section .reference-sub { font-size: .875rem; color: #4c5a68; }
.reference-equation { max-width: 57rem; margin: 3rem 0; }
.reference-step { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: 1rem; padding: 1.8rem 0; border-top: 1px solid var(--line-dark); }
.reference-step .reference-val { display: inline; font-size: clamp(1.9rem, 4vw, 3.8rem); font-weight: 800; line-height: 1.2; letter-spacing: -.04em; }
.reference-step .reference-u { display: block; font-size: .9rem; margin-top: .7rem; }
.reference-step.reference-last { padding: 2rem; background: var(--amber); }
.reference-arrowdown { margin: 0 0 .5rem 3rem; font-size: 1.8rem; color: #976100; }
.reference-rates { display: grid; gap: 1rem; margin-bottom: 1.2rem; }
.reference-rate { display: grid; grid-template-columns: 1fr auto; gap: 1rem; align-items: center; }
.reference-bar { grid-column: 1 / -1; height: .4rem; background: #182b45; order: 3; }
.reference-hi .reference-bar { width: 27.27%; background: #bd810d; }
.reference-cando, .reference-pressgrid, .reference-numgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.reference-cando { max-width: 65rem; margin-block: 2rem; }
.reference-can, .reference-no { border-top: 2px solid #71806d; padding-top: 1rem; }
.reference-no { border-color: #b28038; }
.reference-cando h4 { font-size: 1rem; }
.reference-deep { margin-top: 3rem; border-block: 1px solid var(--line-dark); }
.reference-section summary { cursor: pointer; padding: 1rem 0; font-weight: 700; }
.reference-deepbody { padding: 1rem 0 2rem; }
.reference-mblock { max-width: 57rem; margin-bottom: 2rem; }
.reference-tablewrap { margin-top: 2rem; }
.reference-table-scroll { max-width: 100%; overflow: auto; overscroll-behavior-x: contain; }
.reference-calc { width: 100%; min-width: 650px; border-collapse: collapse; font-size: .8rem; font-variant-numeric: tabular-nums; text-align: right; }
.reference-calc th, .reference-calc td { padding: .7rem .9rem; border-bottom: 1px solid var(--line-dark); }
.reference-calc th { background: #e8e2d5; text-align: right; }
.reference-calc th:first-child, .reference-calc td:first-child { text-align: left; }
.reference-calc .reference-sum { background: #f9dda0; font-weight: 800; }
.reference-cluster { margin-top: 4rem; }
.reference-num { padding: clamp(1.2rem, 2.8vw, 2.5rem); border: 1px solid var(--line-dark); background: #faf7ef; }
.reference-stamp { display: flex; flex-wrap: wrap; gap: .3rem .7rem; align-items: baseline; font-size: .64rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.reference-kind { padding: .15rem .4rem; background: #ebe5d8; }
.reference-yr { margin-left: auto; }
.reference-big { display: block; margin: 1.5rem 0 1rem; font-size: clamp(2rem, 3.8vw, 3.8rem); font-weight: 800; letter-spacing: -.05em; line-height: 1.12; overflow-wrap: anywhere; }
.reference-unit { font-size: .52em; letter-spacing: -.025em; }
.reference-txt { display: block; }
.reference-ci { display: block; margin-top: .75rem; font-size: .8rem; color: #53606c; }
.reference-srcbox { margin-top: 1.5rem; padding-top: .4rem; border-top: 1px solid var(--line-dark); font-size: .8rem; }
.reference-srcbox dl { margin-block: 0 1rem; }
.reference-srcbox dt { font-weight: 800; margin-top: .7rem; }
.reference-srcbox dd { margin: .2rem 0 0; }
.reference-grab { display: block; margin-top: 1rem; padding: .65rem 1rem; border: 1px solid #9b9d9e; background: transparent; cursor: pointer; text-align: left; }
.reference-grab:hover, .reference-grab:focus-visible { background: var(--amber); }
.reference-logonote { margin-top: 2rem; font-size: .8rem; }
.reference-thesis { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--line-dark); }
.reference-seq, .reference-mini3 { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 1rem; margin: 2rem 0; align-items: center; }
.reference-node, .reference-mini3 > div { padding: 1.25rem; border: 1px solid var(--line-dark); }
.reference-node small, .reference-body, .reference-mini3 .reference-v { display: block; }
.reference-node b { font-size: 1.15rem; }
.reference-arr { color: #976100; font-size: 1.5rem; }
.reference-mini3 { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.reference-mini3 .reference-m { display: block; font-size: 1.7rem; font-weight: 800; color: #976100; }
.reference-trades { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2rem 0; }
.reference-trades span { padding: .4rem .7rem; border: 1px solid var(--line-dark); }
.reference-pull, .reference-praxis { max-width: 55rem; margin: 2rem 0; padding: 2rem; border-left: 3px solid #b97a09; background: #eee7d8; }
.reference-label { display: block; margin-bottom: 1rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.reference-said { display: block; margin-bottom: 1rem; font-size: 1.4rem; }
.reference-who, .reference-ctx { font-size: .8rem; }
.reference-founder { margin-top: 4rem; }
.reference-founderwrap { display: grid; grid-template-columns: minmax(150px, 220px) minmax(0, 1fr); gap: 3rem; max-width: 66rem; align-items: center; }
.reference-portrait { margin: 0; }
.reference-portrait img { display: block; width: 100%; }
.reference-portrait figcaption { margin-top: .5rem; font-size: .75rem; }
.reference-quotebox { font-family: "Instrument Serif", Georgia, serif; font-size: clamp(1.6rem, 2.6vw, 2.6rem); line-height: 1.35; }
.reference-attrib { margin-top: 1.5rem !important; font-family: "Manrope", sans-serif; font-size: .75rem; }
.reference-limitlist { max-width: 57rem; margin: 3rem 0; }
.reference-limit { display: grid; grid-template-columns: 2rem 1fr; gap: 1rem; padding: 1.4rem 0; border-top: 1px solid var(--line-dark); }
.reference-sources { list-style: none; padding: 0; margin: 3rem 0 0; }
.reference-sources li { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr) 12rem 4rem; gap: 1.2rem; padding: 1.5rem 0; border-top: 1px solid var(--line-dark); font-size: .875rem; }
.reference-sn { color: #976100; font-weight: 800; }
.reference-sk { font-size: .75rem; color: #53606c; }
.reference-backlink { grid-column: 2 / -1; font-size: .75rem; }
.reference-pressgrid { margin: 3rem 0; }
.reference-pressitem { padding: 1.5rem 0; border-top: 1px solid var(--line-dark); }
.reference-pn { display: block; margin-bottom: .7rem; }
.reference-facts { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; margin-block: 2rem; }
.reference-facts dt { font-size: .75rem; }
.reference-facts dd { margin: .25rem 0 0; font-weight: 800; }
.reference-quotebox-profile { padding: 1.5rem; margin-block: 2rem; border: 1px solid var(--line-dark); }
.reference-dark { background: #101f39; color: var(--ivory); border-color: #4a5870; }
.reference-dark h2, .reference-dark h3 { color: var(--amber); }
.reference-dark .reference-n { color: var(--amber); }
.reference-question { max-width: 46rem; font-family: "Instrument Serif", Georgia, serif; font-size: clamp(1.5rem, 3vw, 2.8rem); line-height: 1.3; }
.reference-spread { display: block; margin: 2rem 0; color: var(--amber); font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 800; letter-spacing: -.04em; }
.reference-exit { margin-top: 7rem; padding-top: 4rem; border-top: 1px solid #4a5870; }
.reference-exitwrap { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.reference-exitsign { position: relative; width: fit-content; padding: 1.5rem 3rem; border: 4px solid #182b45; outline: 2px solid var(--amber); background: var(--amber); color: #182b45; text-align: center; transform: rotate(-3deg); }
.reference-place { font-size: clamp(1.7rem, 3vw, 3rem); font-weight: 800; }
.reference-strike { position: absolute; top: 48%; left: 5%; width: 90%; height: .5rem; background: #b94031; transform: rotate(-18deg); }
.reference-backtop { display: inline-block; margin-top: 2rem; }
.site-footer.reference-section { display: block; padding-block: 3rem; font-size: .75rem; }
.reference-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem; }
.reference-mark { display: flex; gap: .7rem; align-items: center; margin-bottom: 1rem; font-size: 1rem; }
.chapter-nav__list { max-height: calc(100svh - var(--header-h) - 5rem); overflow-y: auto; }
.district-story__title { hyphens: auto; }
.district-story__evidence { line-height: 1.6; }
.district-map-note { border-top: 1px solid var(--line-light); padding-top: 1rem; }
@media (max-width: 900px) {
  .reference-sources li { grid-template-columns: 2rem minmax(0, 1fr); gap: .5rem 1rem; }
  .reference-sk, .reference-sl { grid-column: 2; }
  .reference-cols { grid-template-columns: 1fr; gap: 2rem; }
  .reference-numgrid, .reference-pressgrid { gap: 1.25rem; }
}
@media (max-width: 600px) {
  .reference-numgrid, .reference-pressgrid, .reference-cando, .reference-founderwrap, .reference-exitwrap { grid-template-columns: 1fr; }
  .reference-founderwrap, .reference-exitwrap { gap: 2rem; }
  .reference-portrait { max-width: 200px; }
  .reference-step { grid-template-columns: 1.5rem minmax(0, 1fr); gap: .7rem; }
  .reference-step.reference-last { padding: 1.2rem .8rem; }
  .reference-seq { grid-template-columns: 1fr; }
  .reference-arr { text-align: center; transform: rotate(90deg); }
  .reference-mini3 { grid-template-columns: 1fr; }
  .reference-exitsign { margin: 1rem .5rem; padding: 1.2rem 2rem; }
  .reference-rate { font-size: .8rem; }
}
@media print {
  .reference-section { padding: 2rem; color: #000; background: #fff; }
  .reference-grab { display: none; }
  .reference-num, .reference-step, .reference-sources li { break-inside: avoid; }
}
.reference-qn { display: block; margin-bottom: .7rem; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.reference-mini3 .reference-m { font-size: .9rem; font-weight: 400; color: #182b45; }
.reference-mini3 h5 { margin: 0 0 1rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.reference-mini3 .reference-v { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 800; color: #976100; letter-spacing: -.04em; }
.reference-section .reference-spread { max-width: 49rem; margin: 2rem 0; padding: 1.5rem 0; border-block: 1px solid #4a5870; color: var(--ivory); font-size: 1rem; font-weight: 400; line-height: 1.7; letter-spacing: normal; }
.reference-spread b { color: var(--amber); }
.reference-node small { font-size: .75rem; margin-top: .4rem; }
@media (max-height: 850px) {
  .city-overview { position: relative; top: auto; }
}
body[data-phase="editorial"] .journey-meter { color: #182b45; }

/* Quiet loading state and the supplied Benetics AI identity. */
.page-loader { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; background: #f6f4ee; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 280ms ease, visibility 280ms; }
.is-initializing .page-loader { opacity: 1; visibility: visible; pointer-events: auto; }
.page-loader__spinner { width: 36px; height: 36px; border: 2px solid #deddd5; border-top-color: #9b6b10; border-right-color: #fcb731; border-radius: 50%; animation: loading-spin 850ms linear infinite; }
@keyframes loading-spin { to { transform: rotate(360deg); } }
.no-js .page-loader { display: none; }
.wordmark__logo { display: block; width: clamp(122px, 12vw, 170px); height: auto; }
@supports (font-size: 1cqw) {
  .hero-copy, .scale-copy { container-type: inline-size; }
  .hero-copy .display-title { max-width: none; font-size: clamp(1.8rem, 11.5cqw, 6rem); }
  .scale-copy .scale-title { font-size: clamp(2rem, 14cqw, 9rem); line-height: .96; }
}
@media (prefers-reduced-motion: reduce) {
  .page-loader { transition: none; }
  .page-loader__spinner { animation: none; }
}
