/* Spate. Palette "Silt and hi-vis": every colour stands for one thing.
   rain: the page and the sky. slate: ink, iron and roofs. silt and deep: flood water and the panels under it.
   lime: a warning, and the one primary button. red: water at the door, nothing else. */
:root {
  --rain: #E7ECEA; --slate: #1C2A2E; --silt: #777A45; --deep: #4F5330; --lime: #D2F03C; --red: #C4122F;
  --muted: #51646A; --white: #F4F6F2; --stone: #C6CDC8; --pale: #CBD1C2;
  --slab: 'Zilla Slab', Rockwell, Georgia, serif; --sans: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
  --col: 0px; --gut: 20px; --in: 20px;
}
@media (min-width: 1100px) { :root { --col: 164px; --gut: 64px; --in: 40px; } }
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; padding-left: var(--col); background: var(--rain); color: var(--slate); font: 400 18px/1.5 var(--sans); overflow-x: hidden; }
em, i { font-style: normal; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--slate); outline-offset: 3px; }
.deck :focus-visible, .foot :focus-visible { outline-color: var(--white); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 40; padding: 12px 18px; background: var(--slate); color: var(--rain); font-weight: 600; }
.skip:focus { top: 12px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 2px solid var(--slate); border-radius: 2px; background: none; color: var(--slate); font: 600 18px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s; }
.btn-lime { background: var(--lime); }
.btn-lime:hover { background: var(--slate); color: var(--lime); }
.btn-ink { background: var(--slate); color: var(--rain); }
.btn-ink:hover { background: var(--rain); color: var(--slate); }
.btn-line { border-color: var(--rain); color: var(--rain); }
.btn-line:hover { background: var(--rain); color: var(--deep); }
.kicker { margin-bottom: 14px; color: var(--muted); font: 600 14px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.tag { margin-left: 8px; padding: 2px 6px; border: 1px solid currentColor; font: 600 12px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; }
h2 { font: 600 clamp(34px, 4.6vw, 68px)/1.04 var(--slab); letter-spacing: -.015em; text-wrap: balance; }
.lede { max-width: 34em; margin-top: 20px; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; }
.fine { max-width: 70ch; margin-top: 20px; font-size: 15px; }
.pad { padding: 80px var(--gut) 80px var(--in); }
.sec-head { max-width: 920px; margin-bottom: 48px; }

/* The head. On a phone: a bar, a menu and a thin level line. */
.head { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 var(--gut); background: var(--rain); }
.capture .head { position: static; }
.brand { font: 700 26px/1 var(--slab); text-decoration: none; }
.menu-btn { min-height: 44px; padding: 0 16px; border: 2px solid var(--slate); border-radius: 2px; background: none; color: var(--slate); font: 600 16px/1 var(--sans); cursor: pointer; }
.menu { display: none; position: absolute; left: 0; right: 0; top: 60px; padding: 4px var(--gut) 24px; background: var(--rain); border-bottom: 2px solid var(--slate); }
.menu.open { display: block; }
.board { display: none; }
.staff ul { margin: 0; padding: 0; list-style: none; }
.staff a { display: block; padding: 14px 0; border-bottom: 1px solid var(--stone); font: 600 22px/1.2 var(--slab); text-decoration: none; }
.head-cta { width: 100%; margin-top: 20px; }
.thin { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--stone); }
.thin i { display: block; height: 100%; background: var(--silt); transform: scaleX(var(--p, 0)); transform-origin: left; }

/* On a wide screen: a staff gauge fixed to the left edge, section plates at their heights. */
@media (min-width: 1100px) {
  html { scroll-padding-top: 0; }
  .head { position: static; display: block; height: 0; padding: 0; }
  .brand { position: fixed; left: 24px; top: 26px; z-index: 6; }
  .menu-btn, .thin { display: none; }
  .menu { display: contents; }
  .staff { position: fixed; left: 0; top: 84px; bottom: 28px; width: var(--col); z-index: 5; }
  .board { display: block; position: absolute; left: 24px; top: 0; bottom: 0; width: 34px; overflow: hidden; border: 1.5px solid var(--slate); background: var(--white); }
  .board-fill { position: absolute; inset: 0; background: var(--silt); transform: scaleY(var(--p, 0)); transform-origin: bottom; }
  .board-ticks { position: absolute; inset: 0; background:
    repeating-linear-gradient(to top, var(--slate) 0, var(--slate) 1.5px, transparent 1.5px, transparent calc(100% / 6)) left / 100% 100% no-repeat,
    repeating-linear-gradient(to top, var(--slate) 0, var(--slate) 1.5px, transparent 1.5px, transparent calc(100% / 60)) left / 9px 100% no-repeat; }
  .board b { position: absolute; right: 6px; font: 600 15px/1 var(--slab); transform: translateY(-3px); }
  .board-mark { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--slate); transform: translateY(calc(var(--p, 0) * -1 * (100vh - 115px))); }
  .staff ul { position: absolute; left: 62px; right: 0; top: 0; bottom: 0; }
  .staff li { position: absolute; left: 0; bottom: calc(var(--at) * 100%); transform: translateY(50%); }
  .staff a { position: relative; padding: 6px 8px; border: 0; font: 600 14px/1.2 var(--sans); white-space: nowrap; }
  .staff a::before { content: ""; position: absolute; left: -6px; top: 50%; width: 6px; height: 1.5px; background: var(--slate); }
  .staff a:hover { text-decoration: underline; text-underline-offset: 3px; }
  .staff a[aria-current] { background: var(--slate); color: var(--rain); }
  .head-cta { position: absolute; right: var(--gut); top: 20px; z-index: 6; width: auto; min-height: 44px; margin: 0; padding: 0 18px; font-size: 16px; }
  .capture .staff, .capture .brand { position: absolute; }
  .capture .staff { height: 780px; bottom: auto; }
  .pad { padding-top: 136px; padding-bottom: 136px; }
  .sec-head { margin-bottom: 64px; }
}

/* Hero: short, so the street and the water begin on the first screen. */
.hero { padding: 40px var(--gut) 36px var(--in); }
h1 { max-width: 9.5em; font: 700 clamp(48px, min(6.6vw, 10vh), 96px)/.96 var(--slab); letter-spacing: -.022em; text-wrap: balance; }
.hero .lede { max-width: 41em; margin: 18px 0 24px; }
@media (min-width: 1100px) { .hero { padding-top: 56px; padding-bottom: 22px; } }

/* The street: a camera view at 50px to the metre on a phone and 70px or more on a desk, cropped to the storey that floods. */
.street { display: flex; flex-direction: column; }
.rig { --m: 50px; display: flex; flex-direction: column; }
.panel { order: 2; display: flex; flex-direction: column; gap: 14px; padding: 14px var(--gut) 4px var(--in); background: var(--deep); color: var(--rain); }
.street-head { order: 3; padding-top: 14px; }
.street-head .kicker { color: var(--pale); }
.street-head h2 { font-size: 34px; }
.hint { margin-top: 8px; font-size: 17px; }
.transport { order: 1; display: flex; align-items: center; gap: 16px; }
.transport-note { color: var(--pale); font-size: 15px; line-height: 1.3; }
.btn-play { min-width: 190px; border-color: var(--rain); color: var(--rain); }
.btn-play:hover { background: var(--rain); color: var(--deep); }
.btn-play svg { fill: currentColor; }
.i-pause, .playing .i-play { display: none; }
.playing .i-pause { display: block; }
.mini { order: 2; padding: 12px 14px; background: var(--rain); color: var(--slate); transition: background-color .2s, color .2s; }
.mini[data-tone=warn] { background: var(--lime); }
.mini[data-tone=whatif] { background: none; color: var(--rain); outline: 1.5px dashed var(--pale); outline-offset: -1.5px; }
.mini-who { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.mini-what { margin-top: 4px; font: 600 20px/1.2 var(--slab); }
.mini-do { display: none; margin-top: 8px; font-size: 16px; line-height: 1.35; }
.slide-hint { padding: 8px var(--gut) 0 var(--in); background: var(--deep); color: var(--pale); font-size: 15px; }
.stage { order: 1; position: relative; height: calc(7.8 * var(--m)); }
.scroller { height: 100%; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.scroller::-webkit-scrollbar { display: none; }
.scene { position: relative; width: calc(38.2 * var(--m)); height: 100%; }
.street-svg { display: block; width: 100%; height: 100%; cursor: ns-resize; }
.street-svg * { vector-effect: non-scaling-stroke; }
.o { stroke: var(--slate); stroke-width: 1.5; }
.d { stroke: var(--slate); stroke-width: .8; }
.roof { fill: #3F4E54; transition: fill .2s; }
.slates { stroke: #E7ECEA; stroke-opacity: .16; stroke-width: .8; }
.glass { transition: fill .2s; }
.house[data-state=warn] .roof { fill: var(--lime); }
.house[data-state=door] .roof { fill: var(--red); }
.house:not([data-state=clear]) .up { fill: var(--white); }
.house:not([data-state=clear]) .lit-bars { stroke: var(--slate); }
.sill-line { stroke: none; stroke-width: 3; }
.house[data-state=door] .sill-line { stroke: var(--red); }
#water { opacity: .9; }
.plates { position: absolute; inset: 0; pointer-events: none; }
.plate { position: absolute; display: flex; align-items: center; gap: 7px; padding: 0 8px; overflow: hidden; border: 1.5px solid var(--slate); background: #3F4E54; color: var(--rain); font-size: 13px; line-height: 1; white-space: nowrap; transition: background-color .2s, color .2s; }
.plate[data-state=warn] { background: var(--lime); color: var(--slate); }
.plate[data-state=door] { background: var(--red); color: #fff; }
.plate-no { font: 700 15px/1 var(--slab); }
.plate-state { font-weight: 600; }
.plate-note { font-variant-numeric: tabular-nums; }
/* York's two real peaks, pinned beside the gauge at their true heights: one label sits on its line, the other hangs under its own. */
.peak { position: absolute; left: 30px; z-index: 2; padding: 2px 6px 2px 14px; background: var(--rain); font-size: 12.5px; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; pointer-events: none; }
.peak::before { content: ""; position: absolute; left: 0; width: 10px; border-top: 1.5px solid var(--slate); }
.peak.up { transform: translateY(-100%); }
.peak.up::before { bottom: 0; }
.peak.down::before { top: 0; }
.peak b { font-weight: 600; }
.peak span { display: none; }
.stage:not(.near) .peak { visibility: hidden; }
.plate.tight .plate-note, .plate.tighter .plate-note, .plate.tighter .plate-state { display: none; }
.plate.bare > * { visibility: hidden; }
/* The gauge stays put while the camera moves: a tick every 0.1 m, a numeral every metre. */
.ruler { position: absolute; left: 0; top: 0; bottom: 0; width: 30px; overflow: hidden; border-right: 1.5px solid var(--slate); background: var(--white); pointer-events: none; }
.ruler i { position: absolute; left: 0; right: 0; top: calc(var(--lv) * 1%); bottom: 0; background: var(--silt); }
.ruler::after { content: ""; position: absolute; inset: 0; background:
  repeating-linear-gradient(to bottom, var(--slate) 0, var(--slate) 1.5px, transparent 1.5px, transparent var(--m)) left / 100% 100% no-repeat,
  repeating-linear-gradient(to bottom, var(--slate) 0, var(--slate) 1px, transparent 1px, transparent calc(var(--m) / 10)) left / 9px 100% no-repeat; }
.ruler b { position: absolute; right: 4px; z-index: 1; font: 600 15px/1 var(--slab); transform: translateY(4px); }
.rule { position: absolute; left: 30px; right: 0; top: calc(var(--lv) * 1%); border-top: 1px dashed rgba(28, 42, 46, .6); pointer-events: none; }
.grip { position: absolute; right: 0; top: calc(var(--lv) * 1%); z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 68px; min-width: 56px; padding: 0 6px; transform: translateY(-50%); border: 2px solid var(--rain); border-radius: 2px; background: var(--slate); color: var(--rain); font: 600 14px/1 var(--slab); font-variant-numeric: tabular-nums; white-space: nowrap; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.grip.on { cursor: grabbing; background: var(--muted); }
.stage.kb .grip { outline: 2px solid var(--slate); outline-offset: 3px; }
@media (min-width: 760px) { .rig { --m: 60px; } }
@media (min-width: 1100px) {
  .rig { --m: max(70px, 7.8vh); display: grid; grid-template-columns: 330px minmax(0, 1fr); }
  .panel { order: 0; gap: 18px; padding: 2px 28px 0 var(--in); background: none; color: var(--slate); }
  .street-head { order: 0; padding: 0; }
  .street-head .kicker { margin-bottom: 8px; color: var(--muted); }
  .hint { color: var(--muted); font-size: 16px; }
  .mini { order: 2; padding: 16px 18px 18px; background: var(--white); outline: 1.5px solid var(--slate); outline-offset: -1.5px; }
  .mini[data-tone=whatif] { color: var(--slate); outline-color: var(--slate); }
  .mini-what { margin-top: 6px; font-size: 23px; }
  .mini-do { display: block; }
  .transport { order: 1; gap: 14px; }
  .btn-play { border-color: var(--slate); background: var(--slate); color: var(--rain); }
  .btn-play:hover { background: var(--rain); color: var(--slate); }
  .transport-note { color: var(--muted); }
  .street > .slide-hint { display: none; }
  .plate { gap: 10px; padding: 0 12px; font-size: 15px; }
  .plate-no { font-size: 20px; }
  .peak { font-size: 13.5px; }
  .peak span { display: inline; }
  .stage:not(.near) .peak { visibility: visible; }
  .transport-note { display: none; }
  .grip { right: 20px; flex-direction: row; gap: 10px; height: 64px; min-width: 124px; padding: 0 16px 0 12px; font-size: 27px; }
}

/* Under the water line: the reading, the alert, tonight's forecast and the list. */
.deck { padding: 28px var(--gut) 72px var(--in); background: var(--deep); color: var(--rain); }
.readout { display: grid; gap: 14px 24px; align-items: center; padding-bottom: 28px; border-bottom: 1px solid rgba(231, 236, 234, .28); }
.r-level { font: 700 76px/.9 var(--slab); font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.r-level small { margin-left: .14em; font-size: .42em; font-weight: 600; }
#r-words { font-size: 19px; line-height: 1.32; }
#r-when { margin-top: 6px; color: var(--pale); font-size: 16px; line-height: 1.35; }
.slider label { display: block; font: 600 14px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.ends { display: flex; justify-content: space-between; color: var(--pale); font-size: 13px; font-variant-numeric: tabular-nums; }
input[type=range] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 44px; margin: 0; background: none; cursor: pointer; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; background: var(--pale); }
input[type=range]::-moz-range-track { height: 4px; background: var(--pale); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -12px; border: 2px solid var(--slate); border-radius: 50%; background: var(--rain); }
input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border: 2px solid var(--slate); border-radius: 50%; background: var(--rain); }
input[type=range]:focus-visible { outline: 2px solid var(--white); outline-offset: 0; }
.presets { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; margin-top: 4px; color: var(--pale); font-size: 15px; }
.presets button { min-height: 44px; padding: 0; border: 0; background: none; color: var(--rain); font: 600 15px/1.2 var(--sans); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; cursor: pointer; }
.presets button:hover { text-decoration-thickness: 2px; }
.cols { display: grid; gap: 44px; padding: 36px 0 40px; }
.card { padding: 22px 20px 6px; background: var(--rain); color: var(--slate); transition: background-color .2s, color .2s; }
.card[data-tone=warn] { background: var(--lime); }
.card[data-tone=whatif] { background: none; color: var(--rain); outline: 1.5px dashed var(--pale); outline-offset: -1.5px; }
.card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; }
.card-head { margin: 10px 0 14px; font: 600 30px/1.1 var(--slab); }
.card-rows, .big dl { margin: 0; }
.card-rows > div { padding: 12px 0 14px; border-top: 1px solid color-mix(in srgb, currentColor 32%, transparent); }
.card-rows dt, .big dt { font: 600 13px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.card-rows dd { margin: 4px 0 0; font-size: 19px; line-height: 1.35; }
.night h3, .houses-h { font: 600 22px/1.2 var(--slab); }
.chart-wrap { margin-top: 12px; }
.chart { display: block; width: 100%; height: auto; cursor: ew-resize; touch-action: pan-y; }
.c-grid line { stroke: rgba(231, 236, 234, .24); }
.c-lab { font: 400 12.5px var(--sans); fill: var(--pale); }
.c-lab line { stroke: var(--pale); }
.c-area { fill: var(--silt); }
.c-curve { fill: none; stroke: var(--rain); stroke-width: 2; }
.c-doors line { stroke: var(--pale); stroke-dasharray: 3 4; }
.c-doors circle, .c-doors text { fill: var(--rain); }
.c-whatif line { stroke: var(--rain); stroke-width: 1.5; stroke-dasharray: 6 5; }
.c-now line { stroke: var(--rain); }
.c-now circle { fill: var(--rain); stroke: var(--slate); stroke-width: 2; }
.time { width: calc(73.89% + 28px) !important; margin-left: calc(9.44% - 14px) !important; height: 44px !important; }
.night-foot { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: flex-start; margin-top: 10px; }
.night-foot p { flex: 1 1 220px; color: var(--pale); font-size: 15px; line-height: 1.4; }
.houses { margin: 12px 0 0; padding: 0; list-style: none; border-top: 1px solid rgba(231, 236, 234, .28); }
.houses li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid rgba(231, 236, 234, .28); font-size: 17px; }
.row-no { font: 600 20px/1.2 var(--slab); }
.row-step { grid-row: 2; color: var(--pale); font-variant-numeric: tabular-nums; }
.row-state { grid-row: 1 / 3; grid-column: 2; align-self: center; padding: 3px 10px; border: 1.5px solid var(--pale); font-size: 14px; font-weight: 600; white-space: nowrap; }
.row-text { grid-column: 1 / -1; }
li[data-state=warn] .row-state { border-color: var(--lime); background: var(--lime); color: var(--slate); }
li[data-state=door] .row-state { border-color: var(--red); background: var(--red); color: #fff; }
.deck .fine { color: var(--pale); }
@media (min-width: 760px) {
  .readout { grid-template-columns: auto 1fr minmax(260px, 400px); gap: 40px; }
  .r-level { font-size: 104px; }
  #r-words { font-size: 22px; }
  .card { padding: 28px 32px 10px; }
  .card-head { font-size: 34px; }
  .card-rows > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; }
  .card-rows dd { margin: 0; }
  .card-rows dt { padding-top: 4px; }
  .houses li { grid-template-columns: 112px 150px 124px 1fr; }
  .row-step, .row-state, .row-text { grid-row: auto; grid-column: auto; }
  .row-state { justify-self: start; }
}
@media (min-width: 1100px) {
  .deck { padding-top: 36px; padding-bottom: 104px; }
  .cols { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 56px; padding: 44px 0 48px; }
}

/* Upstream: the long profile. */
.up-scene { position: relative; }
.up-wide { display: none; aspect-ratio: 1200 / 400; }
.up-tall { max-width: 460px; aspect-ratio: 360 / 580; }
@media (min-width: 900px) { .up-wide { display: block; } .up-tall { display: none; } }
.up-svg { display: block; width: 100%; height: 100%; }
.up-lab { position: absolute; font-size: 14px; line-height: 1.25; white-space: nowrap; }
.up-lab b { display: block; font: 600 17px/1.2 var(--slab); }
.up-lab span { color: var(--muted); }
.up-lab.end { text-align: right; transform: translateX(-100%); }
.up-span { position: absolute; font-size: 14px; font-weight: 600; transform: translate(-50%, -100%); white-space: nowrap; }
.inputs { display: grid; gap: 32px; margin: 40px 0 0; padding: 0; list-style: none; }
.inputs h3 { margin-bottom: 8px; font: 600 24px/1.2 var(--slab); }
.inputs p { max-width: 30em; }
.upstream .fine { color: var(--muted); }

/* Plain words: one alert, set large, in the colour of a warning. */
.big { max-width: 1120px; padding: clamp(22px, 4vw, 56px); padding-bottom: clamp(8px, 2vw, 28px); background: var(--lime); }
.big-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-bottom: 14px; font-size: 16px; font-weight: 600; }
.big dl > div { padding: 18px 0 22px; border-top: 1.5px solid var(--slate); }
.big dd { margin: 6px 0 0; font: 500 clamp(27px, 3.5vw, 50px)/1.1 var(--slab); letter-spacing: -.01em; }
.facts { display: grid; gap: 32px; max-width: 1120px; margin: 48px 0 0; padding: 0; list-style: none; }
.facts b { display: block; font: 700 clamp(44px, 4.6vw, 68px)/1 var(--slab); font-variant-numeric: tabular-nums; }
.facts span { display: block; max-width: 17em; margin-top: 8px; color: var(--muted); }

/* Your street: the waiting list. */
.join { border-top: 2px solid var(--slate); }
.form { display: grid; gap: 20px; max-width: 920px; }
.field label { display: block; margin-bottom: 6px; font-size: 16px; font-weight: 600; }
.field input { width: 100%; height: 56px; padding: 0 16px; border: 2px solid var(--slate); border-radius: 2px; background: var(--white); color: var(--slate); font: 400 19px var(--sans); }
.field input::placeholder { color: #5B6B70; }
.field input[aria-invalid=true] { border-bottom-width: 6px; }
.err { margin-top: 8px; font-size: 16px; font-weight: 600; }
.form .btn { height: 56px; }
.done { max-width: 660px; padding: 6px 0 6px 24px; border-left: 6px solid var(--silt); }
.done h3 { margin-bottom: 10px; font: 600 30px/1.15 var(--slab); }
.done .btn { margin-top: 24px; }
[hidden] { display: none !important; }

.foot { padding: 64px var(--gut) 40px var(--in); background: var(--slate); color: var(--rain); }
.foot-brand { margin-bottom: 28px; font: 700 40px/1 var(--slab); }
.foot ul { display: grid; gap: 28px; margin: 0; padding: 0; list-style: none; }
.foot li { padding-top: 16px; border-top: 1.5px solid var(--muted); font-size: 17px; }
.foot li b { display: block; margin-bottom: 6px; font: 600 21px/1.2 var(--slab); }
.foot a { display: inline-block; padding: 11px 0; text-underline-offset: 3px; }
.foot-end { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 44px; color: #B4BDB8; font-size: 15px; }
@media (min-width: 760px) {
  .inputs, .facts, .foot ul { grid-template-columns: repeat(3, 1fr); gap: 48px; }
  .big dl > div { display: grid; grid-template-columns: 210px 1fr; gap: 24px; }
  .big dd { margin: 0; }
  .big dt { padding-top: 12px; }
  .form { grid-template-columns: minmax(0, 220px) minmax(0, 380px) auto; align-items: start; }
  .form .btn { margin-top: 30px; }
}
@media (min-width: 1100px) { .foot { padding-top: 88px; } }

/* Motion: one quiet reveal per block. None of it under reduced motion or in capture mode. */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .5s, transform .5s cubic-bezier(.2, .7, .2, 1); }
.js .rv.in { opacity: 1; transform: none; }
.capture .rv { opacity: 1; transform: none; transition: none; }
.capture html, .capture { scroll-behavior: auto; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
