:root {
  --paper: #f1ecdf;
  --paper-bright: #faf7ef;
  --paper-deep: #e6dccb;
  --ink: #17201c;
  --ink-soft: #29332e;
  --muted: #696f68;
  --muted-light: #a9afa9;
  --red: #c84b2f;
  --red-deep: #9e3522;
  --blue: #20627a;
  --blue-light: #84aeba;
  --green: #315b48;
  --gold: #b3853d;
  --line: rgba(23, 32, 28, 0.16);
  --line-strong: rgba(23, 32, 28, 0.28);
  --dark-line: rgba(246, 241, 229, 0.16);
  --dark-muted: rgba(246, 241, 229, 0.62);
  --shadow: 0 24px 70px rgba(35, 30, 20, 0.08);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, SimSun, serif;
  --sans: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", "PingFang SC", sans-serif;
  --number: "Bahnschrift", "DIN Alternate", "Arial Narrow", Arial, sans-serif;
  --shell: min(1400px, calc(100vw - 96px));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(255, 255, 255, 0.55), transparent 28rem),
    var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  content: "";
  opacity: 0.2;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.14'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

::selection {
  color: var(--paper-bright);
  background: var(--red);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
figure,
blockquote,
ol,
ul {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.035em;
}

strong,
b {
  font-weight: 600;
}

em {
  color: var(--red);
  font-style: normal;
}

.nowrap {
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  color: var(--paper-bright);
  background: var(--ink);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

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

.reading-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 130;
  height: 2px;
  pointer-events: none;
}

.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--red);
  transform-origin: left;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 76px;
  padding: 0 max(30px, calc((100vw - 1440px) / 2));
  border-bottom: 1px solid transparent;
  transition:
    background 220ms ease,
    border-color 220ms ease,
    backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(241, 236, 223, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-width: 170px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--paper-bright);
  background: var(--red);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: 0.08em;
}

.brand-text small {
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--number);
  font-size: 8px;
  letter-spacing: 0.14em;
}

.site-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.site-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 12px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-current::after {
  transform: scaleX(1);
}

.site-nav a span {
  margin-right: 4px;
  color: var(--red);
  font-family: var(--number);
  font-size: 9px;
  letter-spacing: 0;
}

.nav-toggle {
  display: none;
  gap: 10px;
  align-items: center;
  padding: 8px 0;
  border: 0;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}

.nav-toggle i {
  display: grid;
  gap: 4px;
  width: 18px;
}

.nav-toggle i::before,
.nav-toggle i::after {
  display: block;
  height: 1px;
  content: "";
  background: var(--ink);
  transition: transform 180ms ease;
}

.nav-toggle[aria-expanded="true"] i::before {
  transform: translateY(2.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] i::after {
  transform: translateY(-2.5px) rotate(-45deg);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(390px, 0.86fr);
  gap: 5vw;
  align-items: center;
  min-height: calc(100svh - 76px);
  padding: 64px max(48px, calc((100vw - 1400px) / 2)) 80px;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, transparent 0 64%, rgba(23, 32, 28, 0.025) 64% 64.1%, transparent 64.1%),
    radial-gradient(circle at 76% 42%, rgba(200, 75, 47, 0.12), transparent 28rem),
    linear-gradient(115deg, rgba(255, 255, 255, 0.38), transparent 48%);
}

.hero-grid {
  position: absolute;
  top: 10%;
  right: -4%;
  z-index: -1;
  width: 50vw;
  height: 70vh;
  opacity: 0.34;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse at center, black 8%, transparent 68%);
  transform: rotate(-8deg);
}

.hero-route {
  position: absolute;
  z-index: -1;
  width: 54vw;
  height: 34vw;
  border: 1px solid rgba(32, 98, 122, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.hero-route::before,
.hero-route::after {
  position: absolute;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--red);
  border: 3px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--red);
}

.hero-route::before {
  top: 16%;
  right: 12%;
}

.hero-route::after {
  bottom: 14%;
  left: 17%;
}

.hero-route-a {
  top: -19vw;
  right: -18vw;
  transform: rotate(18deg);
}

.hero-route-b {
  bottom: -21vw;
  left: -23vw;
  transform: rotate(-12deg);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-top: 1.2rem;
}

.eyebrow {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 30px;
  color: var(--muted);
  font-family: var(--number);
  font-size: 11px;
  letter-spacing: 0.18em;
}

.live-dot {
  width: 7px;
  height: 7px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(200, 75, 47, 0.1);
}

.hero-title {
  display: flex;
  flex-direction: column;
  margin-bottom: 26px;
  font-size: clamp(92px, 11vw, 176px);
  font-weight: 500;
  line-height: 0.79;
  letter-spacing: -0.09em;
}

.hero-title span {
  display: block;
}

.hero-title .title-accent {
  position: relative;
  margin-left: 0.72em;
  color: var(--red);
}

.hero-title .title-accent::after {
  position: absolute;
  right: 0.02em;
  bottom: 0.02em;
  left: 0.02em;
  height: 0.07em;
  content: "";
  background: var(--red);
  transform: scaleX(0.82) rotate(-1.8deg);
  transform-origin: left;
}

.hero-deck {
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(27px, 2.8vw, 44px);
  line-height: 1.28;
  letter-spacing: -0.04em;
}

.hero-intro {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}

.read-link {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.read-link i {
  position: relative;
  width: 46px;
  height: 1px;
  background: var(--ink);
  transition: width 220ms var(--ease);
}

.read-link i::after {
  position: absolute;
  top: -4px;
  right: 0;
  width: 9px;
  height: 9px;
  content: "";
  border-top: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
  transform: rotate(45deg);
}

.read-link:hover i,
.read-link:focus-visible i {
  width: 62px;
}

.hero-parcel {
  position: relative;
  z-index: 2;
  width: min(100%, 500px);
  justify-self: end;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(248, 242, 231, 0.82)),
    var(--paper-bright);
  border: 1px solid rgba(23, 32, 28, 0.23);
  box-shadow:
    24px 30px 0 rgba(23, 32, 28, 0.07),
    var(--shadow);
  transform: rotate(2.4deg);
}

.hero-parcel::before {
  position: absolute;
  inset: 8px;
  z-index: -1;
  content: "";
  border: 1px dashed rgba(23, 32, 28, 0.18);
}

.hero-parcel::after {
  position: absolute;
  top: -13px;
  left: 50%;
  width: 116px;
  height: 28px;
  content: "";
  background: rgba(228, 218, 199, 0.68);
  transform: translateX(-50%) rotate(-3deg);
  mix-blend-mode: multiply;
}

.parcel-label {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 17px;
  border-bottom: 2px solid var(--ink);
}

.parcel-brand {
  display: flex;
  gap: 11px;
  align-items: center;
}

.parcel-logo {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--paper-bright);
  background: var(--ink);
  font-family: var(--serif);
  font-size: 16px;
}

.parcel-brand strong,
.parcel-brand small {
  display: block;
}

.parcel-brand strong {
  font-size: 12px;
  letter-spacing: 0.08em;
}

.parcel-brand small {
  margin-top: 2px;
  color: var(--muted);
  font-family: var(--number);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.parcel-status {
  padding: 3px 9px;
  color: var(--red-deep);
  border: 1px solid currentColor;
  font-size: 9px;
  letter-spacing: 0.12em;
  transform: rotate(6deg);
}

.barcode {
  display: flex;
  gap: 4px;
  align-items: stretch;
  height: 52px;
  margin: 26px 0 7px;
}

.barcode span {
  display: block;
  flex: 1;
  background: var(--ink);
}

.barcode span:nth-child(3n) {
  flex: 0.3;
}

.barcode span:nth-child(4n) {
  flex: 0.5;
}

.barcode span:nth-child(5n) {
  flex: 1.7;
}

.waybill-code {
  color: var(--muted);
  font-family: var(--number);
  font-size: 8px;
  letter-spacing: 0.22em;
}

.hero-counter {
  display: grid;
  gap: 2px;
  margin-top: 31px;
  padding: 24px 0 18px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.counter-label {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.counter-value {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-top: 3px;
  color: var(--red);
  font-family: var(--number);
  font-size: clamp(64px, 7vw, 100px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}

.counter-value small {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
}

.counter-caption {
  color: var(--muted);
  font-size: 9px;
}

.parcel-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 18px 0;
}

.parcel-facts div {
  display: grid;
  gap: 2px;
}

.parcel-facts span {
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
}

.parcel-facts strong {
  font-family: var(--number);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.2;
}

.parcel-facts small {
  margin-left: 2px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 400;
}

.parcel-route {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 8px;
}

.parcel-route i {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--muted) 0 3px, transparent 3px 6px);
}

.parcel-route .is-origin,
.parcel-route .is-end {
  color: var(--ink);
}

.parcel-route .is-end::after {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 4px;
  content: "";
  background: var(--red);
  border-radius: 50%;
}

.parcel-footnote {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 8px;
  letter-spacing: 0.02em;
}

.hero-index {
  position: absolute;
  right: max(40px, calc((100vw - 1400px) / 2));
  bottom: 28px;
  display: flex;
  gap: 10px;
  align-items: baseline;
  color: var(--muted);
}

.hero-index span {
  color: var(--ink);
  font-family: var(--number);
  font-size: 28px;
  font-weight: 600;
}

.hero-index small {
  font-size: 9px;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: max(48px, calc((100vw - 1400px) / 2));
  display: flex;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.12em;
  writing-mode: horizontal-tb;
}

.scroll-cue i {
  position: relative;
  width: 1px;
  height: 30px;
  overflow: hidden;
  background: var(--line);
}

.scroll-cue i::after {
  position: absolute;
  inset: 0;
  content: "";
  background: var(--red);
  animation: scrollPulse 2.2s var(--ease) infinite;
}

@keyframes scrollPulse {
  0% { transform: translateY(-100%); }
  55%, 100% { transform: translateY(100%); }
}

.section-shell {
  width: var(--shell);
  margin: 0 auto;
  padding: 124px 0;
}

.opening {
  padding-top: 110px;
  padding-bottom: 130px;
}

.opening-rule {
  height: 1px;
  background: var(--line-strong);
}

.opening-grid {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 40px;
  padding-top: 46px;
}

.section-index {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.section-index span {
  color: var(--red);
  font-family: var(--number);
  font-size: 13px;
}

.section-index p {
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.opening-copy {
  max-width: 990px;
}

.opening-copy h2 {
  max-width: 990px;
  margin-bottom: 32px;
  font-size: clamp(44px, 5.2vw, 80px);
  line-height: 1.2;
  letter-spacing: -0.055em;
}

.opening-copy > p {
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
  line-height: 2;
}

.opening-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 820px;
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.opening-metrics div {
  display: grid;
  gap: 4px;
  padding: 24px 22px 0 0;
  border-right: 1px solid var(--line);
}

.opening-metrics div:not(:first-child) {
  padding-left: 24px;
}

.opening-metrics div:last-child {
  border-right: 0;
}

.opening-metrics strong {
  font-family: var(--number);
  font-size: 30px;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.opening-metrics span {
  color: var(--muted);
  font-size: 10px;
}

.chapter {
  position: relative;
}

.chapter-header {
  display: grid;
  grid-template-columns: 92px minmax(0, 1.02fr) minmax(330px, 0.72fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 64px;
}

.chapter-number {
  padding-top: 10px;
  color: var(--red);
  font-family: var(--number);
  font-size: 18px;
  letter-spacing: 0.04em;
}

.chapter-kicker {
  margin-bottom: 16px;
  color: var(--muted);
  font-family: var(--number);
  font-size: 10px;
  letter-spacing: 0.15em;
}

.chapter-heading h2 {
  margin-bottom: 0;
  font-size: clamp(54px, 7vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.07em;
}

.chapter-heading h2.title-stacked {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.chapter-heading h2.title-stacked em {
  display: block;
}

.chapter-lede {
  max-width: 500px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}

.metric-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 56px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line-strong);
}

.metric-cell {
  min-height: 176px;
  padding: 25px 24px 22px 0;
  border-right: 1px solid var(--line);
}

.metric-cell:not(:first-child) {
  padding-left: 24px;
}

.metric-cell:last-child {
  border-right: 0;
}

.metric-cell > span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.metric-cell strong {
  display: block;
  margin: 15px 0 14px;
  font-family: var(--number);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.metric-cell strong small {
  margin-left: 5px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
}

.metric-cell p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
}

.chart-block {
  margin: 0;
  padding: 28px;
  background: rgba(250, 247, 239, 0.66);
  border: 1px solid var(--line);
}

.chart-block.chart-wide {
  margin-bottom: 34px;
}

.chart-head {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.chart-overline {
  margin-bottom: 7px;
  color: var(--red);
  font-family: var(--number);
  font-size: 9px;
  letter-spacing: 0.16em;
}

.chart-head h3,
.definitions h3,
.source-head h3 {
  margin-bottom: 0;
  font-size: clamp(22px, 2.2vw, 31px);
  line-height: 1.28;
  letter-spacing: -0.035em;
}

.chart-note {
  max-width: 330px;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
  text-align: right;
}

.chart {
  width: 100%;
  min-width: 0;
}

.chart-large {
  height: 480px;
}

.chart-medium {
  height: 390px;
}

.chart-small {
  height: 320px;
}

.chart figcaption,
.chart-block figcaption {
  display: block;
  margin-top: 13px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.7;
}

.chart-legend {
  display: flex;
  gap: 20px;
  align-items: center;
  margin: -6px 0 10px;
  color: var(--muted);
  font-size: 10px;
}

.chart-legend span {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}

.legend-line {
  display: inline-block;
  width: 26px;
  height: 2px;
}

.legend-volume {
  background: var(--red);
}

.legend-revenue {
  background: var(--blue);
}

.chart-pair,
.network-chart-pair,
.quality-charts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.chart-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 12px;
}

.milestone-rail {
  margin-top: 54px;
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
}

.milestone-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
}

.milestone-head span {
  font-family: var(--serif);
  font-size: 20px;
}

.milestone-head small {
  color: var(--muted);
  font-size: 9px;
}

.milestones {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-left: 1px solid var(--line);
}

.milestone {
  min-height: 170px;
  padding: 0 18px;
  border-right: 1px solid var(--line);
}

.milestone span {
  display: block;
  margin-bottom: 28px;
  color: var(--red);
  font-family: var(--number);
  font-size: 11px;
}

.milestone strong {
  display: block;
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: 21px;
}

.milestone p {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.reading-note,
.village-note {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 28px;
  margin-top: 58px;
  padding: 28px 30px;
  border: 1px solid var(--line-strong);
  background: rgba(200, 75, 47, 0.04);
}

.note-mark {
  color: var(--red);
  font-family: var(--serif);
  font-size: 18px;
}

.reading-note p,
.village-note p {
  max-width: 950px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.9;
}

.chapter-dark {
  position: relative;
  width: 100%;
  max-width: none;
  padding-right: max(48px, calc((100vw - 1400px) / 2));
  padding-left: max(48px, calc((100vw - 1400px) / 2));
  color: var(--paper-bright);
  background:
    radial-gradient(circle at 80% 20%, rgba(32, 98, 122, 0.2), transparent 35rem),
    radial-gradient(circle at 15% 85%, rgba(200, 75, 47, 0.12), transparent 28rem),
    var(--ink);
}

.chapter-dark::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.24;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, transparent, black 45%, transparent);
  pointer-events: none;
}

.chapter-dark > * {
  position: relative;
}

.chapter-dark .chapter-kicker,
.chapter-dark .chapter-lede,
.chapter-dark .chart-note {
  color: var(--dark-muted);
}

.chapter-dark .chapter-number {
  color: #e87b60;
}

.chapter-dark em {
  color: #e98568;
}

.chapter-dark .three-notes article {
  border-top-color: rgba(255, 255, 255, 0.36);
}

.chapter-dark .three-notes h3 {
  color: var(--paper-bright);
}

.chapter-dark .three-notes p {
  color: var(--dark-muted);
}

.chapter-dark .chart-block {
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--dark-line);
}

.chapter-dark .chart-block figcaption {
  color: var(--dark-muted);
}

.price-hero {
  display: grid;
  grid-template-columns: minmax(310px, 0.6fr) minmax(0, 1.4fr);
  gap: 64px;
  align-items: end;
  margin-bottom: 48px;
  padding: 36px 0 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom: 1px solid var(--dark-line);
}

.price-number {
  display: grid;
  gap: 4px;
}

.price-number span {
  font-family: var(--number);
  font-size: clamp(74px, 8.3vw, 132px);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.055em;
  color: #e87b60;
}

.price-number small {
  color: var(--dark-muted);
  font-size: 10px;
}

.price-copy p {
  max-width: 700px;
  margin-bottom: 12px;
  color: rgba(250, 247, 239, 0.84);
  font-family: var(--serif);
  font-size: clamp(21px, 2.3vw, 32px);
  line-height: 1.58;
}

.price-copy strong {
  color: #f3b4a2;
  font-weight: 500;
}

.inline-source {
  color: var(--dark-muted);
  font-size: 9px;
}

.price-pair {
  margin-bottom: 55px;
}

.three-notes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
}

.three-notes article {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.three-notes span {
  color: var(--red);
  font-family: var(--number);
  font-size: 10px;
}

.three-notes h3 {
  margin: 24px 0 12px;
  font-size: 24px;
}

.three-notes p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(300px, 0.42fr);
  gap: 28px;
  margin-bottom: 34px;
}

.map-panel {
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(250, 247, 239, 0.64);
}

.map-head {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 10px;
}

.map-head h3 {
  margin-bottom: 0;
  font-size: clamp(22px, 2.3vw, 32px);
}

.segmented {
  display: inline-flex;
  padding: 3px;
  background: rgba(23, 32, 28, 0.06);
  border: 1px solid var(--line);
}

.segmented button {
  padding: 7px 10px;
  color: var(--muted);
  background: transparent;
  border: 0;
  font-size: 9px;
  cursor: pointer;
  transition:
    color 150ms ease,
    background 150ms ease;
}

.segmented button.is-active {
  color: var(--paper-bright);
  background: var(--ink);
}

.segmented button:hover:not(.is-active) {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.45);
}

.map-stage {
  position: relative;
}

#regionMap {
  height: 570px;
}

.map-readout {
  position: absolute;
  right: 20px;
  bottom: 24px;
  display: grid;
  min-width: 150px;
  padding: 14px 16px;
  background: rgba(250, 247, 239, 0.9);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  backdrop-filter: blur(9px);
}

.map-readout span {
  color: var(--muted);
  font-size: 8px;
}

.map-readout strong {
  margin: 4px 0 1px;
  font-family: var(--number);
  font-size: 22px;
  line-height: 1.2;
}

.map-readout small {
  color: var(--red);
  font-size: 9px;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
}

.map-legend span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.map-legend i {
  width: 12px;
  height: 12px;
  display: inline-block;
}

.map-caveat {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.7;
}

.region-notes {
  display: grid;
  align-content: stretch;
}

.region-notes article {
  display: grid;
  grid-template-columns: 8px 1fr;
  gap: 16px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.region-notes article:first-child {
  border-top: 1px solid var(--ink);
}

.region-swatch {
  width: 8px;
  height: 8px;
  margin-top: 10px;
}

.swatch-east {
  background: #c84b2f;
}

.swatch-central {
  background: #20627a;
}

.swatch-west {
  background: #b3853d;
}

.region-notes h3 {
  margin-bottom: 8px;
  font-size: 25px;
}

.region-notes p {
  margin-bottom: 8px;
  font-size: 12px;
  line-height: 1.8;
}

.region-notes small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.65;
}

.chapter-city {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 34rem),
    var(--paper);
}

.hub-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(340px, 0.6fr);
  gap: 28px;
  margin-bottom: 60px;
}

.hub-map-panel,
.hub-rank-panel {
  padding: 28px;
  border: 1px solid var(--line);
  background: rgba(250, 247, 239, 0.64);
}

.hub-map {
  height: 620px;
}

.hub-rank-panel {
  display: flex;
  flex-direction: column;
}

.hub-rank-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 150px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-strong);
}

.hub-rank-head > div:first-child {
  display: grid;
  gap: 3px;
}

.hub-rank-head span {
  color: var(--muted);
  font-size: 9px;
}

.hub-rank-head strong {
  font-family: var(--serif);
  font-size: 29px;
}

.donut-wrap {
  width: 150px;
  height: 112px;
}

#cityConcentrationChart {
  height: 112px;
}

.hub-rank-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 20px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: cityRank;
}

.hub-rank-list li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 6px;
  align-items: center;
  min-height: 33px;
  border-bottom: 1px solid var(--line);
  counter-increment: cityRank;
  font-size: 11px;
}

.hub-rank-list li::before {
  color: var(--muted);
  font-family: var(--number);
  font-size: 9px;
  content: counter(cityRank, decimal-leading-zero);
}

.hub-rank-list li:nth-child(1),
.hub-rank-list li:nth-child(2),
.hub-rank-list li:nth-child(3) {
  font-weight: 600;
}

.hub-footnote {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  margin-top: auto;
  padding-top: 24px;
}

.hub-footnote span {
  color: var(--red);
  font-family: var(--number);
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
}

.hub-footnote p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.65;
}

.city-story {
  display: grid;
  grid-template-columns: 100px minmax(0, 0.9fr) minmax(300px, 0.55fr);
  gap: 36px;
  margin-bottom: 58px;
  padding: 36px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line-strong);
}

.city-story-number {
  color: var(--red);
  font-family: var(--number);
  font-size: 72px;
  line-height: 0.85;
}

.city-story h3 {
  margin-bottom: 19px;
  font-size: clamp(30px, 3.1vw, 46px);
}

.city-story > div:nth-child(2) p:not(.chapter-kicker) {
  max-width: 720px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.9;
}

.city-story blockquote {
  align-self: end;
  margin-bottom: 0;
  padding-left: 20px;
  color: var(--ink);
  border-left: 2px solid var(--red);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.55;
}

.rank-chart {
  height: 640px;
}

.flow-strip {
  display: grid;
  grid-template-columns: 1fr 26px 1fr 26px 1fr 26px 1fr 26px 1fr 26px 1fr;
  align-items: start;
  margin-bottom: 50px;
  padding: 30px 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line-strong);
}

.flow-step {
  min-width: 0;
}

.flow-step span {
  color: var(--muted);
  font-family: var(--number);
  font-size: 10px;
}

.flow-step h3 {
  margin: 17px 0 7px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
}

.flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.flow-step-end h3 {
  color: var(--red);
}

.flow-line {
  position: relative;
  height: 1px;
  margin-top: 8px;
  background: var(--line-strong);
}

.flow-line::after {
  position: absolute;
  top: -2.5px;
  right: 0;
  width: 5px;
  height: 5px;
  content: "";
  border-top: 1px solid var(--muted);
  border-right: 1px solid var(--muted);
  transform: rotate(45deg);
}

.network-metrics {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-bottom: 54px;
  padding: 1px;
  background: var(--line);
}

.network-metric {
  min-height: 170px;
  padding: 20px;
  background: var(--paper);
}

.network-metric span {
  color: var(--muted);
  font-size: 9px;
}

.network-metric strong {
  display: block;
  margin: 18px 0 10px;
  font-family: var(--number);
  font-size: 36px;
  line-height: 1;
}

.network-metric strong small {
  margin-left: 4px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 400;
}

.network-metric p {
  min-height: 31px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.network-metric i {
  position: relative;
  display: block;
  width: 34px;
  height: 2px;
  background: var(--red);
}

.network-metric i::after {
  display: none;
}

.village-note {
  margin-top: 44px;
}

.village-note h3 {
  margin-bottom: 10px;
  font-size: 24px;
}

.village-note > div {
  max-width: 1000px;
}

.chapter-quality {
  background:
    linear-gradient(120deg, rgba(32, 98, 122, 0.06), transparent 40%),
    var(--paper);
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 34px;
}

.quality-card {
  padding: 30px;
  border: 1px solid var(--line-strong);
  background: rgba(250, 247, 239, 0.72);
}

.quality-label {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.quality-card strong {
  display: block;
  margin: 20px 0 12px;
  font-family: var(--number);
  font-size: clamp(48px, 5.4vw, 74px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.045em;
}

.quality-card strong small {
  margin-left: 5px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
}

.quality-delta {
  min-height: 26px;
  font-size: 10px;
}

.quality-delta.is-good {
  color: var(--green);
}

.quality-bar {
  height: 2px;
  margin: 20px 0;
  background: var(--line);
  overflow: hidden;
}

.quality-bar span {
  display: block;
  width: var(--v);
  height: 100%;
  background: var(--blue);
}

.quality-card p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.quality-charts {
  margin-bottom: 40px;
}

.quality-charts #qualityChart {
  height: 430px;
}

.timeline-reading {
  display: grid;
  grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.35fr);
  gap: 48px;
  padding-top: 30px;
  border-top: 1px solid var(--line-strong);
}

.timeline-head {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
}

.timeline-head > span {
  color: var(--red);
  font-family: var(--serif);
  font-size: 17px;
}

.timeline-head p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.time-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.time-steps div {
  padding-left: 16px;
  border-left: 1px solid var(--line-strong);
}

.time-steps span {
  color: var(--red);
  font-family: var(--number);
  font-size: 9px;
}

.time-steps strong {
  display: block;
  margin: 13px 0 7px;
  font-family: var(--serif);
  font-size: 19px;
}

.time-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.65;
}

.conclusion {
  padding-bottom: 80px;
}

.conclusion-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.conclusion-card {
  min-height: 300px;
  padding: 30px;
  border-top: 2px solid var(--ink);
  background: rgba(250, 247, 239, 0.46);
}

.conclusion-card > span {
  color: var(--red);
  font-family: var(--number);
  font-size: 11px;
}

.conclusion-card h3 {
  margin: 60px 0 18px;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.35;
}

.conclusion-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.85;
}

.ending-statement {
  margin-top: 100px;
  padding: 80px 0 40px;
  border-top: 1px solid var(--line-strong);
  text-align: center;
}

.ending-statement p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 12px;
}

.ending-statement strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(35px, 4.7vw, 66px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.045em;
}

.method {
  border-top: 1px solid var(--line-strong);
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-bottom: 64px;
  padding: 1px;
  background: var(--line);
}

.method-card {
  padding: 24px;
  background: var(--paper);
}

.method-label {
  color: var(--red);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.method-card h3 {
  margin: 24px 0 12px;
  font-family: var(--number);
  font-size: 23px;
  font-weight: 500;
}

.method-card p {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.75;
}

.definitions {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 44px;
  margin-bottom: 70px;
}

.definitions-head h3 {
  margin-bottom: 0;
}

.definition-list {
  border-top: 1px solid var(--ink);
}

.definition-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 22px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.definition-row dt {
  font-family: var(--serif);
  font-size: 17px;
}

.definition-row dd {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
}

.source-section {
  padding: 28px;
  border: 1px solid var(--line-strong);
  background: rgba(250, 247, 239, 0.46);
}

.source-head {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ink);
}

.source-download {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  font-size: 10px;
  transition:
    color 160ms ease,
    background 160ms ease;
}

.download-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.source-download::after {
  content: "↓";
}

.source-download:hover,
.source-download:focus-visible {
  color: var(--paper-bright);
  background: var(--ink);
}

.source-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: sourceCount;
}

.source-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  counter-increment: sourceCount;
}

.source-item::before {
  color: var(--red);
  font-family: var(--number);
  font-size: 10px;
  content: counter(sourceCount, decimal-leading-zero);
}

.source-item a {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.45;
  text-decoration: underline;
  text-decoration-color: rgba(23, 32, 28, 0.28);
  text-underline-offset: 4px;
  transition: text-decoration-color 150ms ease;
}

.source-item a:hover,
.source-item a:focus-visible {
  text-decoration-color: var(--red);
}

.source-item p {
  grid-column: 2;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.6;
}

.source-item time {
  color: var(--muted);
  font-family: var(--number);
  font-size: 9px;
  white-space: nowrap;
}

.source-disclaimer {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.75;
}

.ai-note {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  margin-top: 34px;
  padding: 25px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ai-note span {
  color: var(--red);
  font-family: var(--serif);
  font-size: 17px;
}

.ai-note p {
  max-width: 980px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

.site-footer {
  display: flex;
  gap: 36px;
  align-items: center;
  justify-content: space-between;
  padding: 46px max(48px, calc((100vw - 1400px) / 2));
  color: var(--paper-bright);
  background: var(--ink);
}

.footer-brand {
  display: flex;
  gap: 13px;
  align-items: center;
}

.footer-brand .brand-mark {
  color: var(--ink);
  background: var(--paper);
}

.footer-brand strong {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.06em;
}

.footer-brand p {
  margin: 2px 0 0;
  color: var(--dark-muted);
  font-size: 9px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: var(--dark-muted);
  font-size: 9px;
}

.back-top {
  display: flex;
  gap: 8px;
  align-items: center;
  color: var(--paper-bright);
  font-size: 10px;
}

.back-top i {
  font-style: normal;
}

.noscript-note {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 300;
  max-width: 380px;
  margin: 0;
  padding: 16px;
  color: var(--paper-bright);
  background: var(--red);
  font-size: 12px;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 800ms var(--ease),
    transform 800ms var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 4px;
}

@media (max-width: 1180px) {
  :root {
    --shell: min(1120px, calc(100vw - 64px));
  }

  .hero {
    gap: 42px;
    padding-right: 42px;
    padding-left: 42px;
  }

  .hero-title {
    font-size: clamp(86px, 12vw, 138px);
  }

  .hero-parcel {
    padding: 22px;
  }

  .chapter-header {
    grid-template-columns: 60px minmax(0, 1fr) minmax(280px, 0.75fr);
    gap: 26px;
  }

  .chapter-heading h2 {
    font-size: clamp(48px, 6.8vw, 88px);
  }

  .metric-band {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric-cell:nth-child(2) {
    border-right: 0;
  }

  .metric-cell:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .milestones {
    grid-template-columns: repeat(3, 1fr);
  }

  .milestone:nth-child(-n + 3) {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--line);
  }

  .hub-layout {
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  }

  .hub-rank-list {
    grid-template-columns: 1fr;
  }

  .hub-rank-head {
    min-height: 120px;
  }

  .hub-footnote {
    margin-top: 18px;
  }

  .network-metrics {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  :root {
    --shell: calc(100vw - 40px);
  }

  html {
    scroll-padding-top: 72px;
  }

  .site-header {
    height: 68px;
    padding: 0 20px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 35px;
    height: 35px;
    font-size: 17px;
  }

  .brand-text strong {
    font-size: 15px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 8px 20px 20px;
    background: rgba(241, 236, 223, 0.98);
    border-bottom: 1px solid var(--line-strong);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
  }

  .site-nav a::after {
    display: none;
  }

  .hero {
    display: block;
    min-height: auto;
    padding: 68px 24px 82px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .hero-title {
    font-size: clamp(86px, 22vw, 138px);
  }

  .hero-parcel {
    width: min(100%, 460px);
    margin: 50px auto 0;
    justify-self: auto;
    transform: rotate(1.2deg);
  }

  .hero-index {
    right: 24px;
    bottom: 22px;
  }

  .scroll-cue {
    bottom: 22px;
    left: 24px;
  }

  .opening-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-index {
    gap: 10px;
  }

  .opening-copy h2 {
    font-size: clamp(38px, 8.6vw, 62px);
  }

  .chapter-header {
    grid-template-columns: 44px 1fr;
    gap: 20px;
    align-items: start;
    margin-bottom: 48px;
  }

  .chapter-lede {
    grid-column: 2;
    margin-top: 8px;
  }

  .chapter-number {
    grid-row: 1 / span 2;
    padding-top: 7px;
  }

  .chapter-heading h2 {
    font-size: clamp(45px, 10vw, 76px);
  }

  .chart-pair,
  .network-chart-pair,
  .quality-charts {
    grid-template-columns: 1fr;
  }

  .chart-block {
    padding: 22px;
  }

  .chart-large {
    height: 420px;
  }

  .chart-medium {
    height: 350px;
  }

  .map-layout {
    grid-template-columns: 1fr;
  }

  .region-notes {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .region-notes article:first-child {
    border-top: 0;
  }

  .region-notes article {
    border-top: 1px solid var(--line);
    border-bottom: 0;
  }

  #regionMap {
    height: 500px;
  }

  .hub-layout {
    grid-template-columns: 1fr;
  }

  .hub-rank-panel {
    display: grid;
    grid-template-columns: minmax(190px, 0.6fr) minmax(0, 1.4fr);
    gap: 20px;
  }

  .hub-rank-head {
    display: block;
    border-bottom: 0;
    border-right: 1px solid var(--line);
    min-height: 0;
  }

  .donut-wrap {
    margin-top: 16px;
  }

  .hub-rank-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .hub-footnote {
    grid-column: 1 / -1;
    margin-top: 0;
  }

  .city-story {
    grid-template-columns: 62px 1fr;
  }

  .city-story blockquote {
    grid-column: 2;
  }

  .city-story-number {
    font-size: 46px;
  }

  .flow-strip {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    border-top: 0;
  }

  .flow-step {
    padding-top: 18px;
    border-top: 1px solid var(--line-strong);
  }

  .flow-line {
    display: none;
  }

  .network-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .quality-grid {
    grid-template-columns: 1fr;
  }

  .timeline-reading {
    grid-template-columns: 1fr;
  }

  .conclusion-grid {
    grid-template-columns: 1fr;
  }

  .conclusion-card {
    min-height: auto;
  }

  .conclusion-card h3 {
    margin-top: 30px;
  }

  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .definitions {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .site-footer {
    flex-wrap: wrap;
    padding: 34px 24px;
  }

  .footer-meta {
    order: 3;
    width: 100%;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .hero {
    padding: 54px 18px 72px;
  }

  .eyebrow {
    margin-bottom: 22px;
    font-size: 9px;
  }

  .hero-title {
    margin-bottom: 23px;
    font-size: clamp(78px, 25vw, 110px);
    line-height: 0.84;
  }

  .hero-title .title-accent {
    margin-left: 0.35em;
  }

  .hero-deck {
    font-size: 25px;
  }

  .hero-intro {
    font-size: 13px;
  }

  .hero-parcel {
    width: 100%;
    padding: 18px;
    box-shadow:
      10px 14px 0 rgba(23, 32, 28, 0.07),
      var(--shadow);
  }

  .counter-value {
    font-size: 62px;
  }

  .parcel-facts {
    gap: 8px;
  }

  .parcel-facts span {
    font-size: 8px;
  }

  .hero-index {
    display: none;
  }

  .scroll-cue {
    left: 18px;
  }

  .section-shell {
    padding: 76px 0;
  }

  .opening {
    padding-top: 76px;
    padding-bottom: 86px;
  }

  .opening-copy h2 {
    font-size: clamp(34px, 9.5vw, 48px);
  }

  .opening-copy > p {
    font-size: 14px;
  }

  .opening-metrics {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }

  .opening-metrics div {
    grid-template-columns: 1fr auto;
    align-items: baseline;
    padding: 14px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .opening-metrics div:not(:first-child) {
    padding-left: 0;
  }

  .opening-metrics strong {
    font-size: 24px;
  }

  .chapter-header {
    grid-template-columns: 32px 1fr;
    gap: 12px;
    margin-bottom: 35px;
  }

  .chapter-number {
    font-size: 12px;
  }

  .chapter-kicker {
    font-size: 8px;
  }

  .chapter-heading h2 {
    font-size: clamp(41px, 13vw, 62px);
  }

  .chapter-heading h2.title-stacked {
    line-height: 1.08;
  }

  .chapter-lede {
    font-size: 13px;
    line-height: 1.85;
  }

  .metric-band {
    grid-template-columns: 1fr 1fr;
    margin-bottom: 30px;
  }

  .metric-cell {
    min-height: 143px;
    padding: 18px 12px 16px 0;
  }

  .metric-cell:not(:first-child) {
    padding-left: 13px;
  }

  .metric-cell strong {
    margin: 11px 0;
    font-size: 28px;
  }

  .metric-cell strong small {
    font-size: 9px;
  }

  .metric-cell p {
    font-size: 8px;
  }

  .chart-block,
  .map-panel,
  .hub-map-panel,
  .hub-rank-panel {
    padding: 17px;
  }

  .chart-head {
    display: block;
  }

  .chart-note {
    margin-top: 9px;
    text-align: left;
  }

  .chart-head h3,
  .definitions h3,
  .source-head h3 {
    font-size: 21px;
  }

  .chart-large,
  .chart-medium,
  .chart-small {
    height: 310px;
  }

  .chart-split {
    grid-template-columns: 1fr;
  }

  .milestones {
    grid-template-columns: 1fr 1fr;
  }

  .milestone {
    min-height: 142px;
    padding: 0 12px 20px;
    border-bottom: 1px solid var(--line);
  }

  .milestone:nth-child(-n + 3) {
    padding-bottom: 20px;
  }

  .milestone:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .reading-note,
  .village-note {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px;
  }

  .chapter-dark {
    padding-right: 20px;
    padding-left: 20px;
  }

  .price-hero {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .price-number span {
    font-size: 74px;
  }

  .three-notes {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .three-notes h3 {
    margin-top: 12px;
  }

  .map-head {
    display: block;
  }

  .segmented {
    margin-top: 14px;
    width: 100%;
  }

  .segmented button {
    flex: 1;
    padding: 8px 5px;
  }

  #regionMap {
    height: 380px;
  }

  .map-readout {
    right: 8px;
    bottom: 10px;
    min-width: 128px;
    padding: 10px;
  }

  .map-readout strong {
    font-size: 18px;
  }

  .region-notes {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .region-notes article {
    padding: 18px 0;
  }

  .hub-map {
    height: 430px;
  }

  .hub-rank-panel {
    display: block;
  }

  .hub-rank-head {
    display: flex;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .donut-wrap {
    margin-top: 0;
  }

  .hub-rank-list {
    margin-top: 14px;
  }

  .hub-footnote {
    margin-top: 20px;
  }

  .city-story {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 0;
  }

  .city-story blockquote {
    grid-column: 1;
  }

  .city-story-number {
    font-size: 38px;
  }

  .city-story h3 {
    font-size: 29px;
  }

  .flow-strip {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
  }

  .network-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .network-metric {
    min-height: 150px;
    padding: 15px;
  }

  .network-metric strong {
    font-size: 29px;
  }

  .quality-card {
    padding: 22px;
  }

  .quality-card strong {
    font-size: 50px;
  }

  .timeline-head {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .time-steps {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .time-steps div {
    padding: 14px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .ending-statement {
    margin-top: 65px;
    padding-top: 50px;
  }

  .ending-statement strong {
    font-size: 31px;
  }

  .method-grid {
    grid-template-columns: 1fr;
  }

  .definition-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .source-head {
    display: block;
  }

  .source-download {
    margin-top: 0;
  }

  .download-group {
    justify-content: flex-start;
    margin-top: 16px;
  }

  .source-item {
    grid-template-columns: 24px 1fr;
  }

  .source-item time {
    grid-column: 2;
  }

  .source-item p {
    grid-column: 2;
  }

  .ai-note {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .site-footer {
    display: grid;
    gap: 20px;
    padding: 30px 20px;
  }

  .footer-meta {
    display: grid;
    gap: 4px;
    order: initial;
  }

  .back-top {
    justify-self: start;
  }
}

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

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
