/* Direction C, "Atmospheric". Every page sits under a sky whose colours come from the page's own forecast (wt/mood.py sets
   --sky-top/-mid/-bot, --hero-ink, --paper and the layer strengths --fx-* inline on <body>); everything below the sky is calm paper. */
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("/assets/fonts/figtree-latin-ext.bf7828e2c2.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("/assets/fonts/figtree-latin.4ba7d3d096.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/assets/fonts/bricolage-latin-ext.e808f16b56.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("/assets/fonts/bricolage-latin.a97804dc9f.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #F4F7FB;            /* overridden per page from the sky's horizon */
  --surface: #FFFFFF;
  --ink: #14202E;
  --ink-2: #3B4B5C;
  --muted: #4C5C6C;
  --rule: rgb(20 32 46 / 0.12);
  --accent: #1D5AA8;           /* zenith blue: links, our forecast, the band's centre line */
  --accent-deep: #123F7C;
  --tint: #C3D6EF;             /* the band */
  --night: #16253B;
  --ui: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Bricolage Grotesque", "Figtree", ui-sans-serif, system-ui, sans-serif;
  --sky-top: #86BBEB; --sky-mid: #BFD9EC; --sky-bot: #E8F3F2; --hero-ink: #0F1D2B; --hero-ink2: #26384A;
  --sun: rgb(255 240 190 / 0.6); --cloud-col: rgb(255 255 255 / 0.55); --streak: rgb(15 29 43 / 0.08);
  --fx-cloud: 0; --fx-rain: 0; --fx-snow: 0; --fx-fog: 0;
  --r: 1.5rem;
  --step--1: 0.9rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: 2.1rem;
  color-scheme: light;
}
body.dark { --streak: rgb(255 255 255 / 0.09); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--step-0)/1.55 var(--ui); font-feature-settings: "kern", "liga"; overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-deep); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.top :focus-visible, .canopy :focus-visible { outline-color: var(--hero-ink); }
::selection { background: var(--tint); color: var(--ink); }
h1, h2, h3 { text-wrap: balance; }

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--surface); color: var(--ink); padding: 0.6rem 0.9rem; border-radius: 0.6rem; z-index: 9; }

/* ---------------------------------------------------------------- the sky */
.canopy {
  position: relative; isolation: isolate; overflow: hidden; color: var(--hero-ink);
  background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 52%, var(--sky-bot) 100%);
  border-radius: 0 0 clamp(1.75rem, 6vw, 4rem) clamp(1.75rem, 6vw, 4rem);
  padding: 7.25rem 0 clamp(2.5rem, 6vw, 4.5rem);
}
.canopy.slim { padding: 7rem 0 1.75rem; }
.canopy > .wrap { position: relative; z-index: 1; }
.canopy a { color: inherit; }
.canopy a:hover { color: inherit; }

/* Weather layers: decorative, strength set per page. Dark-ink skies only ever lighten them; dark skies only darken (see wt/mood.py). */
.fx { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.fx i { position: absolute; display: block; inset: 0; }
.fx-sun {
  background:
    radial-gradient(circle at 80% 22%, var(--sun) 0, transparent 7%),
    radial-gradient(circle at 80% 22%, var(--sun) 0, transparent 36%);
}
.fx-cloud {
  inset: -10% -15%; opacity: var(--fx-cloud);
  background:
    radial-gradient(ellipse 20% 8% at 14% 26%, var(--cloud-col), transparent 72%),
    radial-gradient(ellipse 30% 10% at 58% 16%, var(--cloud-col), transparent 72%),
    radial-gradient(ellipse 24% 9% at 88% 46%, var(--cloud-col), transparent 72%),
    radial-gradient(ellipse 36% 11% at 34% 66%, var(--cloud-col), transparent 72%),
    radial-gradient(ellipse 22% 8% at 76% 80%, var(--cloud-col), transparent 72%);
  animation: drift 90s ease-in-out infinite alternate;
}
.fx-fog { opacity: var(--fx-fog); background: linear-gradient(180deg, transparent 10%, var(--cloud-col) 55%, var(--cloud-col) 100%); }
.fx-rain {
  inset: -80px 0 0 0; opacity: var(--fx-rain);
  background-image:
    linear-gradient(104deg, transparent 0 46%, var(--streak) 47% 53%, transparent 54%),
    linear-gradient(100deg, transparent 0 47%, var(--streak) 48% 52%, transparent 53%);
  background-size: 23px 40px, 37px 80px;
  animation: fall 1.8s linear infinite;
}
.fx-snow {
  inset: -180px 0 0 0; opacity: var(--fx-snow);
  background-image: radial-gradient(circle at 20px 20px, #fff 0 2px, transparent 2.6px), radial-gradient(circle at 45px 55px, #fff 0 3px, transparent 3.6px);
  background-size: 60px 60px, 90px 90px;
  animation: snowfall 22s linear infinite;
}
@keyframes drift { to { transform: translateX(7%); } }
@keyframes fall { to { transform: translateY(80px); } }
@keyframes snowfall { to { transform: translateY(180px); } }

/* Header lives on the sky */
.top { position: absolute; inset: 0 0 auto 0; z-index: 5; color: var(--hero-ink); }
.top .wrap { display: flex; align-items: center; gap: 0.5rem 1.5rem; min-height: 5rem; flex-wrap: wrap; padding-top: 0.5rem; }
.mark { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--hero-ink); text-decoration: none;
  font: 700 var(--step-1)/1 var(--display); letter-spacing: -0.02em; }
.mark:hover { color: var(--hero-ink); }
.mark svg { width: 2.5rem; height: 1.75rem; flex: none; }
.top nav { display: flex; gap: 0.25rem; margin-left: auto; align-items: center; flex-wrap: wrap; }
.top nav a { color: var(--hero-ink); text-decoration: none; font-size: var(--step--1); font-weight: 600; padding: 0.5rem 0.85rem; border-radius: 999px; }
.top nav a:hover { background: color-mix(in srgb, var(--hero-ink) 10%, transparent); color: var(--hero-ink); }
.top nav a[aria-current] { background: color-mix(in srgb, var(--hero-ink) 12%, transparent); }
.unit {
  font: 700 var(--step--1) var(--ui); color: var(--hero-ink); background: transparent; margin-left: 0.4rem;
  border: 1.5px solid currentColor; border-radius: 999px; padding: 0.4rem 0.95rem; cursor: pointer; min-height: 2.5rem;
}
.unit:hover { background: color-mix(in srgb, var(--hero-ink) 10%, transparent); }

/* Hero: home */
.eyebrow { margin: 0 0 0.5rem; font-weight: 600; color: var(--hero-ink2); }
.hero-home h1, .hero-page h1 {
  font: 650 clamp(2.9rem, 8.2vw, 6.25rem)/0.94 var(--display); letter-spacing: -0.035em; margin: 0 0 1.1rem; max-width: 12ch;
}
.hero-page h1 { font-size: clamp(2.4rem, 6.2vw, 4.75rem); max-width: 18ch; }
.hero-home .lede, .hero-page .lede { color: var(--hero-ink2); max-width: 38rem; margin: 0 0 1.75rem; font-size: var(--step-1); line-height: 1.45; }
.hero-page .lede { margin-bottom: 0; }
.search { position: relative; max-width: 32rem; }
.search label { display: block; font-size: var(--step--1); font-weight: 600; color: var(--hero-ink2); margin-bottom: 0.45rem; }
.search input {
  width: 100%; font: 400 var(--step-1) var(--ui); padding: 1rem 1.4rem; color: var(--ink);
  background: #FFFFFF; border: 2px solid transparent; border-radius: 999px; box-shadow: 0 10px 30px -10px rgb(20 32 46 / 0.35);
}
.search input:focus-visible { outline: 3px solid var(--hero-ink); outline-offset: 3px; border-radius: 999px; }
.search input::placeholder { color: var(--muted); }
.search ul { list-style: none; margin: 0.5rem 0 0; padding: 0.4rem; background: #FFFFFF; border-radius: 1.4rem; position: absolute; left: 0; right: 0; z-index: 6; box-shadow: 0 18px 40px -12px rgb(20 32 46 / 0.4); }
.search li a { display: flex; justify-content: space-between; gap: 1rem; padding: 0.65rem 1rem; color: var(--ink); text-decoration: none; border-radius: 1rem; }
.search li a:hover, .search li a:focus { background: var(--paper); color: var(--ink); }
.search li span { color: var(--muted); font-size: var(--step--1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search ul:empty { display: none; }

/* Hero: city */
.hero-city { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); grid-template-areas: "crumb crumb" "h1 big" "where big" "story big"; column-gap: 3rem; align-items: start; }
.crumb { grid-area: crumb; margin: 0 0 0.75rem; font-size: var(--step--1); font-weight: 600; }
.hero-city h1 { grid-area: h1; font: 650 clamp(3.1rem, 8.4vw, 6.5rem)/0.92 var(--display); letter-spacing: -0.04em; margin: 0; overflow-wrap: anywhere; }
.hero-city h1 .pre { display: block; font: 500 clamp(1.15rem, 2.4vw, 1.6rem)/1.3 var(--ui); letter-spacing: 0; color: var(--hero-ink2); margin-bottom: 0.35rem; }
.where { grid-area: where; margin: 0.9rem 0 0; color: var(--hero-ink2); }
.big { grid-area: big; display: flex; flex-direction: column; gap: 0.5rem; align-self: end; }
.big > div { min-width: 0; }
.big .lab { display: block; font-weight: 600; color: var(--hero-ink2); }
.big .num { display: block; font: 300 clamp(7rem, 19vw, 13.5rem)/0.82 var(--display); letter-spacing: -0.06em; margin-left: -0.04em; }
.big .lo { display: flex; align-items: baseline; gap: 0.8rem; flex-wrap: wrap; }
.big .lo .num { font-size: clamp(2.75rem, 6vw, 4.5rem); font-weight: 400; letter-spacing: -0.04em; color: var(--hero-ink); }
.big .lo .lab { order: -1; }
.big .rng { display: block; color: var(--hero-ink2); margin-top: 0.5rem; font-size: var(--step--1); }
.big .lo .rng { margin: 0; }
.story { grid-area: story; margin-top: 1.5rem; }
.headline { font: 600 clamp(1.5rem, 3.3vw, 2.3rem)/1.12 var(--display); letter-spacing: -0.02em; margin: 0 0 0.6rem; }
.hero-city h1 .headline { display: block; margin: 0.9rem 0 0; color: var(--hero-ink); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.summary { margin: 0 0 1.25rem; max-width: 36rem; font-size: 1.1rem; line-height: 1.55; color: var(--hero-ink); }
.glance { display: flex; flex-wrap: wrap; gap: 0.5rem 2.25rem; margin: 0; }
.glance div { min-width: 0; }
.glance dt { font-size: var(--step--1); color: var(--hero-ink2); font-weight: 500; }
.glance dd { margin: 0; font: 600 1.4rem/1.2 var(--display); }

/* ---------------------------------------------------------------- below the sky */
.content { padding-bottom: 1rem; }
h2.sec { font: 650 var(--step-3)/1.1 var(--display); letter-spacing: -0.025em; margin: 4rem 0 1rem; }
.caption { font-size: var(--step--1); color: var(--muted); margin: 0.5rem 0 0; }

/* Map: skies glowing on night, or the older compared-with-normal dots on paper */
.seg { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label { cursor: pointer; padding: 0.5rem 1.1rem; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--rule); font-weight: 600; font-size: var(--step--1); color: var(--ink-2); }
.seg input:checked + label { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.seg input:focus-visible + label { outline: 3px solid var(--accent); outline-offset: 3px; }
.stage { display: none; flex-basis: 100%; border-radius: 1.75rem; overflow: hidden; margin-top: 0.5rem; }
#mv-sky:checked ~ .stage-sky, #mv-an:checked ~ .stage-an { display: block; }
.stage-sky { background: var(--night); color: #DCE6F1; padding-bottom: 1.25rem; }
.stage-an { background: var(--surface); padding: 0 0 1.25rem; }
.stage .legend, .stage .caption { padding: 0 1.25rem; }
.stage-sky .caption { color: #B9C7D6; }
.map { display: block; width: 100%; height: auto; }
.map .dot circle:first-of-type { transition: r 0.12s; }
.map a.dot:hover circle:first-of-type, .map a.dot:focus circle:first-of-type { r: 7; }
.map a.dot:focus-visible { outline: none; }
.map a.dot:focus-visible circle:first-of-type { stroke: #FFD98A; stroke-width: 3; r: 7; }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; padding: 0; margin: 0.9rem 0 0; font-size: var(--step--1); }
.legend .sw { display: inline-block; width: 0.85rem; height: 0.85rem; border-radius: 50%; margin-right: 0.45rem; vertical-align: -0.1rem; box-shadow: 0 0 0 1.5px rgb(255 255 255 / 0.55); }
.stage-an .legend .sw { box-shadow: none; }

/* Lists: each row wears its own sky */
.lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: 3rem 3rem; margin: 4rem 0 1rem; }
.lists h2 { font: 650 var(--step-2)/1.2 var(--display); letter-spacing: -0.02em; margin: 0 0 0.9rem; }
.rank { list-style: none; margin: 0; padding: 0; }
.rank li + li { margin-top: 0.35rem; }
.rank a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0 0.9rem; align-items: center; padding: 0.4rem 0.6rem 0.4rem 0.4rem; border-radius: 1.2rem; color: var(--ink); text-decoration: none; }
.rank a:hover { background: var(--surface); color: var(--ink); }
.rank .sw { grid-row: span 2; display: grid; place-items: center; width: 3.5rem; height: 3rem; border-radius: 1rem; font: 600 1.15rem/1 var(--display); }
.rank .c { font-weight: 700; overflow-wrap: anywhere; align-self: end; }
.rank .c .code { font-weight: 400; color: var(--muted); font-size: var(--step--1); }
.rank .v { text-align: right; font: 600 1.15rem/1 var(--display); font-variant-numeric: tabular-nums; align-self: end; }
.rank .s { color: var(--muted); font-size: var(--step--1); grid-column: 2 / -1; align-self: start; }

.index { columns: 15rem; column-gap: 2.5rem; margin: 1rem 0 4rem; }
.index section { break-inside: avoid; margin: 0 0 1.4rem; }
.index h3 { font: 700 var(--step--1) var(--ui); margin: 0 0 0.3rem; color: var(--ink-2); }
.index ul { list-style: none; margin: 0; padding: 0; }
.index li { padding: 0.12rem 0; }
.index li a { color: var(--ink); text-decoration: none; }
.index li a:hover { color: var(--accent); text-decoration: underline; }
.index li .code { color: var(--muted); font-size: var(--step--1); }

/* The accuracy story: a panel, secondary to the weather */
.proofs { background: var(--surface); border-radius: 1.75rem; padding: clamp(1.25rem, 3vw, 2rem); margin: 4rem 0 0; max-width: 52rem; }
.proofs h2 { font: 650 var(--step-2)/1.2 var(--display); letter-spacing: -0.02em; margin: 0 0 0.4rem; }
.proofs p { color: var(--ink-2); margin: 0 0 0.9rem; max-width: 46rem; }
.proofs .axis { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--muted); margin: 0.1rem 0 0.9rem; }
.proofs .proof { margin: 0; }
.chart.strip .sdot:hover circle:first-of-type, .chart.strip .sdot:focus circle:first-of-type { r: 6; }

/* City: the day, the details, the record */
.sky-wrap { position: relative; margin: 0 0 0.25rem; }
.sky { display: block; width: 100%; height: 190px; border-radius: 1.5rem; }
.sky-s { width: 120px; height: 22px; display: block; border-radius: 6px; }
.sky-lab { position: absolute; transform: translate(-50%, -135%); font-weight: 700; color: var(--ink); background: rgb(255 255 255 / 0.9); padding: 0.05rem 0.5rem; border-radius: 999px; font-size: var(--step--1); }
.sky-ticks { position: relative; height: 1.5rem; font-size: 0.85rem; color: var(--muted); }
.sky-tick { position: absolute; top: 0.3rem; transform: translateX(-50%); }
.sky-tick:first-child { transform: none; }
.sky-note { font-size: var(--step--1); color: var(--muted); margin: 0.25rem 0 0; max-width: 60ch; }
.ruler-wrap { max-width: 32rem; }
.chart.ruler .direct { font-size: 14px; }
.chart.ruler .tick { font-size: 13px; }

.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; margin: 0 0 2rem; }
.facts > div { padding: 0.9rem 0 1rem; border-bottom: 1px solid var(--rule); }
.facts dt { font-size: var(--step--1); color: var(--ink-2); font-weight: 500; }
.facts dd { margin: 0.1rem 0 0; font: 600 1.75rem/1.2 var(--display); letter-spacing: -0.01em; }
.facts dd small { font: 400 var(--step--1) var(--ui); color: var(--muted); letter-spacing: 0; }
.meter { display: block; height: 0.5rem; border-radius: 999px; background: rgb(20 32 46 / 0.10); margin-top: 0.55rem; overflow: hidden; }
.meter::after { content: ""; display: block; height: 100%; width: var(--v); background: var(--accent); border-radius: 999px; }
.now { background: var(--surface); border-radius: var(--r); padding: 1.1rem 1.4rem; max-width: 40rem; margin: 0; }
.now h2 { font: 650 var(--step-1)/1.3 var(--display); margin: 0 0 0.25rem; }
.now p { margin: 0; }
.now .when { color: var(--muted); font-size: var(--step--1); margin-top: 0.3rem; }

table { border-collapse: collapse; width: 100%; font-variant-numeric: tabular-nums; }
th, td { text-align: right; padding: 0.55rem 0.5rem; border-bottom: 1px solid var(--rule); font-size: var(--step--1); vertical-align: middle; }
th:first-child, td:first-child { text-align: left; padding-left: 0; }
th { font-weight: 700; color: var(--ink-2); vertical-align: bottom; }
td.miss { font-weight: 800; }
td.rc { width: 7.5rem; padding-top: 0.2rem; padding-bottom: 0.2rem; }
.receipt { display: block; width: 120px; height: 22px; }
.record { max-width: 56rem; margin: 0 0 1rem; }
.record td:first-child { white-space: nowrap; }
.record caption { caption-side: bottom; text-align: left; padding-top: 0.6rem; }
.record-sum { font-size: 1.1rem; font-weight: 600; max-width: 40rem; margin: 0.5rem 0 1rem; }
.near { list-style: none; padding: 0; margin: 0 0 3rem; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.near a { display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.3rem 1rem 0.3rem 0.3rem; border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; }
.near a:hover { box-shadow: 0 0 0 2px var(--accent); color: var(--ink); }
.near .code { font-weight: 400; color: var(--muted); font-size: var(--step--1); }
.near .sw { display: grid; place-items: center; min-width: 2.75rem; height: 2rem; border-radius: 999px; font: 600 0.95rem/1 var(--display); }

/* Prose pages */
.prose { max-width: 40rem; font-size: 1.125rem; line-height: 1.7; }
.prose:first-child { margin-top: 3rem; }
.prose h2 { font: 650 var(--step-3)/1.15 var(--display); margin: 3.25rem 0 0.75rem; letter-spacing: -0.025em; }
.prose h3 { font: 650 var(--step-1)/1.3 var(--display); margin: 2rem 0 0.5rem; letter-spacing: -0.01em; }
.prose p, .prose li { margin: 0 0 1rem; }
.prose ol { padding-left: 1.4rem; }
.figure { margin: 1.75rem 0 1rem; max-width: 48rem; background: var(--surface); border-radius: var(--r); padding: 1.1rem 1.25rem; }
.figure th:first-child, .figure td:first-child { padding-left: 0.25rem; }
.figure figcaption { font-size: var(--step--1); color: var(--muted); margin-top: 0.5rem; }
.chart { display: block; width: 100%; height: auto; font-family: var(--ui); }
.chart .tick { font-size: 12px; fill: var(--muted); }
.chart .axis-label { font-size: 12px; fill: var(--ink-2); }
.chart .direct { font-size: 13px; fill: var(--ink); font-weight: 700; }
.chart .cell { font-size: 12px; font-weight: 700; }
details { font-size: var(--step--1); margin: 0 0 2rem; max-width: 48rem; }
summary { cursor: pointer; color: var(--accent); font-weight: 600; padding: 0.3rem 0; }
.wide { max-width: 72rem; }
.scores th, .scores td { font-size: var(--step--1); }
tr.ours th, tr.ours td { font-weight: 800; color: var(--ink); }
tr.ours th::before { content: ""; display: inline-block; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--accent); margin-right: 0.45rem; vertical-align: 0.05rem; }

footer { background: var(--surface); border-radius: clamp(1.75rem, 6vw, 4rem) clamp(1.75rem, 6vw, 4rem) 0 0; margin-top: 4rem; padding: 2.5rem 0 3.5rem; color: var(--muted); font-size: var(--step--1); }
footer p { margin: 0 0 0.5rem; max-width: 66ch; }

@media (max-width: 56rem) {
  .hero-city { grid-template-columns: minmax(0, 1fr); grid-template-areas: "crumb" "h1" "where" "big" "story"; }
  .big { flex-direction: row; align-items: flex-end; gap: 2rem; margin-top: 1.5rem; }
  .big .num { font-size: clamp(6.25rem, 30vw, 9.5rem); }
  .big .lo { flex-direction: column; gap: 0; }
  .big .lo .lab { order: 0; }
  .big .lo .rng { margin-top: 0.3rem; }
  .story { margin-top: 1.25rem; }
}
@media (max-width: 40rem) {
  .top .wrap { min-height: 4rem; }
  .top nav { margin-left: -0.55rem; width: 100%; flex-wrap: nowrap; }
  .top nav a { padding: 0.45rem 0.5rem; white-space: nowrap; font-size: 0.85rem; }
  .unit { white-space: nowrap; padding: 0.3rem 0.7rem; margin-left: 0.2rem; }
  .top nav a[href="/"] { display: none; }
  .canopy { padding-top: 8.5rem; }
  .canopy.slim { padding-top: 8rem; }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .sky { height: 150px; border-radius: 1.2rem; }
  th, td { padding: 0.5rem 0.3rem; }
  .hide-s { display: none; }
  td.rc { width: 5.5rem; }
  .receipt { width: 84px; }
  h2.sec { margin-top: 3rem; }
  .prose { font-size: 1.0625rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (prefers-contrast: more) { .fx { display: none; } }
