/* Barq News — «first the flash, then the facts»
   Funnel Display = the flash (headlines, figures) · Funnel Sans = the text · Spline Sans Mono = the clock
   One accent: ion, the violet of a real strike. Everything else is ink, white and cool cloud greys. */

@font-face { font-family: 'Funnel Display'; src: url('../fonts/funnel-display.woff2') format('woff2'); font-weight: 300 800; font-display: swap; }
@font-face { font-family: 'Funnel Sans'; src: url('../fonts/funnel-sans.woff2') format('woff2'); font-weight: 300 800; font-display: swap; }
@font-face { font-family: 'Funnel Sans'; src: url('../fonts/funnel-sans-italic.woff2') format('woff2'); font-weight: 300 800; font-style: italic; font-display: swap; }
@font-face { font-family: 'Spline Mono'; src: url('../fonts/spline-mono.woff2') format('woff2'); font-weight: 300 700; font-display: swap; }

:root {
  --paper: #FFFFFF;
  --mist: #F4F5F9;
  --cloud: #E9EBF2;
  --rule: #DFE2EB;
  --slate: #636880;
  --graphite: #3B3F52;
  --ink: #0C0D16;
  --ion: #5B3DF5;
  --ion-deep: #4A2EE0;
  --glow: #EEEAFF;
  --storm: #0C0D16;
  --storm-2: #171928;
  --storm-rule: #2A2D42;
  --storm-text: #C9CCDA;
  --plasma: #A99BFF;          /* ion as it reads on the storm */
  --age-1: var(--ion);
  --age-2: #8C78FA;
  --age-3: #BDB2FC;
  --age-4: #D4D7E3;
  --on-ion: #FFFFFF;          /* text on an ion surface */
  --edge: transparent;        /* storm panels need an edge only when the page is storm too */

  --f-display: 'Funnel Display', 'Funnel Sans', system-ui, sans-serif;
  --f-text: 'Funnel Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'Spline Mono', ui-monospace, 'SF Mono', Consolas, monospace;

  --r-1: 8px; --r-2: 12px; --r-3: 16px; --r-4: 22px;
  --wrap: 1320px;
  --gut: clamp(16px, 3vw, 32px);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-strike: cubic-bezier(.7, 0, .2, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0C0D16; --mist: #141624; --cloud: #1B1E2F; --rule: #262A3D; --slate: #9599AE; --graphite: #C2C5D4;
    --ink: #F3F4F8; --ion: #A99BFF; --ion-deep: #C3B9FF; --glow: #1F1A45; --age-1: #B9ADFF; --age-2: #8C78FA; --age-3: #5B4AB8; --age-4: #2E3248; --edge: #262A3D; --on-ion: #0C0D16;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0C0D16; --mist: #141624; --cloud: #1B1E2F; --rule: #262A3D; --slate: #9599AE; --graphite: #C2C5D4;
  --ink: #F3F4F8; --ion: #A99BFF; --ion-deep: #C3B9FF; --glow: #1F1A45; --age-1: #B9ADFF; --age-2: #8C78FA; --age-3: #5B4AB8; --age-4: #2E3248; --edge: #262A3D; --on-ion: #0C0D16;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--f-text); font-kerning: normal; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ion); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--ion); color: var(--on-ion); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: var(--r-1); font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.ic { width: 16px; height: 16px; flex: none; }
.mono { font-family: var(--f-mono); font-size: .8125rem; letter-spacing: 0; font-variant-numeric: tabular-nums; }

/* ---------- the wire: a storm strip carrying the newest flashes */
.wire { background: var(--storm); color: var(--storm-text); font: 500 13px/1 var(--f-mono); position: relative; z-index: 30; }
.wire .wrap { display: flex; align-items: center; gap: 16px; height: 40px; }
.wire-label { display: inline-flex; align-items: center; gap: 7px; color: #fff; font-weight: 700; letter-spacing: .06em; flex: none; }
.wire-label .bolt { width: 11px; height: 16px; color: var(--plasma); }
.wire-label.lit .bolt { animation: flick .5s steps(1) 1; }
.wire-track { flex: 1; min-width: 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 48px), transparent); }
.wire-run { display: flex; gap: 40px; width: max-content; animation: run var(--wire-s, 90s) linear infinite; }
.wire[data-paused] .wire-run, .wire-track:hover .wire-run, .wire-track:focus-within .wire-run { animation-play-state: paused; }
.wire-run a { display: inline-flex; align-items: center; height: 40px; gap: 10px; white-space: nowrap; color: var(--storm-text); transition: color .2s; }
.wire-run a:hover { color: #fff; }
.wire-run time { color: var(--plasma); }
.wire-btn { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; border: 1px solid var(--storm-rule); background: none; cursor: pointer; color: var(--storm-text); }
.wire-btn:hover { color: #fff; border-color: #4A4E68; }
.wire-btn svg { width: 12px; height: 12px; }
.wire-clock { flex: none; display: flex; gap: 8px; color: var(--storm-text); }
.wire-clock b { color: #fff; font-weight: 600; font-variant-numeric: tabular-nums; }
@keyframes run { to { transform: translateX(calc(-50% - 20px)); } }
@keyframes flick { 0% { opacity: 1; } 20% { opacity: .2; } 35% { opacity: 1; } 55% { opacity: .35; } 70% { opacity: 1; } }

/* ---------- masthead */
.mast { position: sticky; top: 0; z-index: 20; background: color-mix(in oklab, var(--paper) 92%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s; }
.mast.scrolled { border-bottom-color: var(--rule); }
.mast .wrap { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; height: 72px; }
.logo { display: flex; align-items: flex-end; gap: 10px; color: var(--ink); }
.logo svg { height: 34px; width: auto; overflow: visible; }
.logo .news { font: 600 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--slate); padding-bottom: 9px; }
.nav { display: flex; gap: 2px; justify-content: center; min-width: 0; }
.nav a { position: relative; padding: 9px 12px; border-radius: var(--r-1); font: 600 14.5px/1 var(--f-text); color: var(--graphite); transition: color .2s, background .2s; white-space: nowrap; }
.nav a:hover { color: var(--ink); background: var(--mist); }
.nav a[aria-current] { color: var(--ink); }
.nav a[aria-current]::after { content: ''; position: absolute; inset-inline: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--ion); }
.mast-tools { display: flex; gap: 8px; align-items: center; grid-column: 3; justify-self: end; }
.tool { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-2); border: 1px solid var(--rule); background: var(--paper); cursor: pointer; transition: border-color .2s, background .2s; }
.tool:hover { border-color: var(--graphite); }
.tool svg { width: 18px; height: 18px; }
.btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: var(--r-2); border: 0; background: var(--ink); color: var(--paper); font: 600 14px/1 var(--f-text); cursor: pointer; transition: background .2s, transform .2s var(--ease-out); }
.btn:hover { background: var(--ion); color: var(--on-ion); }
.btn:active { transform: scale(.97); }
.btn .bolt { width: 9px; height: 13px; }
.btn.ion { background: var(--ion); color: var(--on-ion); }
.btn.ion:hover { background: var(--ion-deep); }
.menu-btn { display: none; }
.dateline { border-bottom: 1px solid var(--rule); }
.dateline .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 10px; font: 500 12.5px/1.3 var(--f-mono); color: var(--slate); }
.dateline b { color: var(--ink); font-weight: 600; }

/* ---------- status grammar: flash → developing → confirmed */
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font: 500 12.5px/1.3 var(--f-mono); color: var(--slate); font-variant-numeric: tabular-nums; }
.meta time { color: var(--graphite); }
.st { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.st::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st.developing { color: var(--ion); }
.st.developing::before { box-shadow: 0 0 0 0 currentColor; animation: pulse 2.2s var(--ease-out) infinite; }
.st.confirmed { color: var(--graphite); }
.st.confirmed::before { width: 9px; height: 9px; background: none; border: 2px solid currentColor; border-radius: 50%; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, currentColor 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 7px transparent; } }
.kicker { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ion); }
.kicker .bolt { width: 8px; height: 12px; }

/* ---------- type */
.h-xl, .h-l, .h-m, .h-s, .h-xs { font-family: var(--f-display); font-weight: 800; letter-spacing: -.022em; text-wrap: balance; margin: 0; color: var(--ink); }
.h-xl { font-size: clamp(2.25rem, 4.4vw, 4rem); line-height: 1.02; letter-spacing: -.03em; }
.h-l { font-size: clamp(1.75rem, 3vw, 2.625rem); line-height: 1.06; letter-spacing: -.026em; }
.h-m { font-size: clamp(1.3rem, 1.8vw, 1.625rem); line-height: 1.12; }
.h-s { font-size: 1.1875rem; line-height: 1.2; font-weight: 700; letter-spacing: -.012em; }
.h-xs { font-size: 1.0313rem; line-height: 1.26; font-weight: 700; letter-spacing: -.008em; }
.dek { color: var(--graphite); font-size: 1.0625rem; line-height: 1.5; margin: 0; text-wrap: pretty; }
a .h-xl, a .h-l, a .h-m, a .h-s, a .h-xs, a.hl { background: linear-gradient(currentColor 0 0) 0 100% / 0 .06em no-repeat; transition: background-size .45s var(--ease-out); }
a:hover .h-xl, a:hover .h-l, a:hover .h-m, a:hover .h-s, a:hover .h-xs, a.hl:hover { background-size: 100% .06em; }

/* ---------- photos */
.ph { position: relative; overflow: hidden; border-radius: var(--r-2); background: var(--cloud); isolation: isolate; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out), opacity .6s; }
.ph img.ld { opacity: 0; }
a:hover .ph img { transform: scale(1.035); }
.ph.r169 { aspect-ratio: 16 / 9; } .ph.r32 { aspect-ratio: 3 / 2; } .ph.r43 { aspect-ratio: 4 / 3; } .ph.r11 { aspect-ratio: 1; } .ph.r1610 { aspect-ratio: 16 / 10; }
.plate { display: grid; place-items: center; background: var(--mist); color: var(--age-3); }
.plate svg { width: 26%; height: auto; }
figure { margin: 0; }
figcaption { margin-top: 10px; font: 400 12.5px/1.45 var(--f-mono); color: var(--slate); }
figcaption b { font-weight: 600; color: var(--graphite); }

/* ---------- home: lead + flash map */
.top { padding-block: 28px 56px; }
.lead-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: start; }
.lead { display: grid; gap: 18px; }
.lead .ph { aspect-ratio: 16 / 10; border-radius: var(--r-3); }
.lead .txt { display: grid; gap: 14px; max-width: 760px; }
.lead-sub { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 12px; padding-top: 22px; border-top: 1px solid var(--rule); }
.lead-sub a { display: grid; gap: 8px; align-content: start; }

.radar { background: var(--storm); color: var(--storm-text); border-radius: var(--r-4); padding: 22px 22px 18px; display: grid; gap: 14px; position: sticky; top: 92px; }
.radar-hd { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.radar-hd h2 { margin: 0; font: 800 22px/1 var(--f-display); color: #fff; letter-spacing: -.02em; }
.radar-hd p { margin: 0; font: 500 11.5px/1.3 var(--f-mono); color: #8E92A8; }
.radar-body { display: grid; grid-template-columns: minmax(0, 46%) minmax(0, 1fr); gap: 16px; align-items: start; }
.map { width: 100%; height: auto; overflow: visible; }
.map.zoomed { overflow: hidden; border-radius: var(--r-2); max-height: 520px; margin-inline: auto; }
.map .land { fill: #1B1E30; stroke: #2E3249; stroke-width: 1; vector-effect: non-scaling-stroke; }
.map .pse { fill: #262A44; stroke: #6E6A9E; stroke-width: 1.1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.map .ctx { fill: #3A3E5C; }
.map .hit { fill: transparent; }
.map .fl .ring { vector-effect: non-scaling-stroke; }
.map .lbl { font: 600 15px var(--f-mono); fill: #7F839C; letter-spacing: .04em; }
.map .fl { cursor: pointer; }
.map .fl .core { fill: var(--c); }
.map .fl .ring { fill: none; stroke: var(--c); stroke-width: 1.5; opacity: 0; transform-box: fill-box; transform-origin: center; }
.map .fl.now .ring { animation: ring 2.6s var(--ease-out) infinite; }
.map .fl.hot .core, .map .fl:hover .core { filter: drop-shadow(0 0 6px var(--c)); }
.map .fl.strike .ring { animation: ring .9s var(--ease-out) 1; }
@keyframes ring { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(3.4); } }
.flist { list-style: none; margin: 0; padding: 0; display: grid; }
.flist li + li { border-top: 1px solid var(--storm-rule); }
.flist a { display: grid; gap: 4px; padding: 10px 0; color: var(--storm-text); transition: color .2s; }
.flist a:hover, .flist a.on { color: #fff; }
.flist .t { display: flex; gap: 8px; align-items: center; font: 500 11.5px/1 var(--f-mono); color: #8E92A8; }
.flist .t i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); flex: none; }
.flist .h { font: 600 14.5px/1.28 var(--f-text); text-wrap: pretty; }
.age-key { display: flex; gap: 14px; flex-wrap: wrap; font: 500 11px/1 var(--f-mono); color: #8E92A8; padding-top: 12px; border-top: 1px solid var(--storm-rule); }
.age-key span { display: inline-flex; gap: 6px; align-items: center; }
.age-key i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.radar a.more { font: 600 13px/1 var(--f-text); color: #fff; display: inline-flex; gap: 6px; align-items: center; }

/* ---------- the strike line: 72 hours of flashes */
.strike { padding-block: 0 8px; }
.strike-box { border: 1px solid var(--rule); border-radius: var(--r-3); padding: 18px 20px 14px; display: grid; gap: 10px; }
.strike-hd { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.strike-hd h2 { margin: 0; font: 800 18px/1 var(--f-display); letter-spacing: -.015em; }
.strike-hd p { margin: 0; font: 500 12px/1.3 var(--f-mono); color: var(--slate); }
.sline { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; }
.lanes { display: grid; grid-template-rows: repeat(7, 12px); font: 500 10.5px/12px var(--f-mono); color: var(--slate); }
.plot { position: relative; height: 84px; margin-bottom: 22px; border-inline-end: 2px solid var(--ion); }
.plot svg { width: 100%; height: 100%; overflow: visible; display: block; }
.plot .grid line { stroke: var(--rule); stroke-width: 1; vector-effect: non-scaling-stroke; }
.plot .bar { stroke: var(--c); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; transition: stroke-width .2s; }
.plot a:hover .bar, .plot a:focus .bar { stroke-width: 6; }
.plot .bar.drawn { animation: draw .6s var(--ease-strike) both; }
.ticks { position: absolute; inset-inline: 0; top: calc(100% + 6px); font: 500 10.5px/1 var(--f-mono); color: var(--slate); }
.ticks span { position: absolute; transform: translateX(4px); white-space: nowrap; }
.ticks .nowt { transform: translateX(-100%) translateX(-6px); color: var(--ion); font-weight: 600; }
@keyframes draw { from { opacity: 0; transform: scaleY(0); } to { opacity: 1; transform: none; } }
.tip { position: absolute; z-index: 5; pointer-events: none; background: var(--storm); color: #fff; font: 600 13px/1.3 var(--f-text); padding: 10px 12px; border-radius: var(--r-2); max-width: 280px; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s; }
.tip.on { opacity: 1; transform: none; }
.tip time { display: block; font: 500 11px/1.2 var(--f-mono); color: var(--plasma); margin-bottom: 4px; }

/* ---------- section blocks */
.band { padding-block: 56px; }
.band + .band { border-top: 1px solid var(--rule); }
.band-hd { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.band-hd h2 { margin: 0; font: 800 clamp(1.75rem, 3vw, 2.5rem)/1 var(--f-display); letter-spacing: -.03em; display: flex; gap: 14px; align-items: baseline; }
.band-hd h2 small { font: 500 13px/1 var(--f-mono); color: var(--slate); letter-spacing: 0; }
.band-hd a.all { display: inline-flex; align-items: center; gap: 6px; font: 600 14px/1 var(--f-text); color: var(--graphite); padding: 10px 12px; border-radius: var(--r-1); transition: background .2s, color .2s; }
.band-hd a.all:hover { background: var(--mist); color: var(--ink); }
.g-feature { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 3fr); gap: 28px; }
.g-feature .big { grid-row: span 2; display: grid; gap: 14px; align-content: start; }
.card { display: grid; gap: 10px; align-content: start; }
.card .ph { aspect-ratio: 3 / 2; }
.rows { list-style: none; margin: 0; padding: 0; display: grid; }
.rows li + li { border-top: 1px solid var(--rule); }
.row { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 18px; padding-block: 16px; align-items: start; }
.row .ph { aspect-ratio: 4 / 3; border-radius: var(--r-1); }
.row .txt { display: grid; gap: 6px; }
.g-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.g-four { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.g-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.wb { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; }

/* ---------- threads of the week */
.threads { background: var(--mist); }
.threads ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); column-gap: 28px; counter-reset: t; border-top: 1px solid var(--rule); }
.threads li { counter-increment: t; padding: 20px 24px 22px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 42px 1fr; gap: 4px 10px; font: 500 16px/1.42 var(--f-text); text-wrap: pretty; }
.threads li::before { content: counter(t, decimal-leading-zero); font: 600 13px/1.6 var(--f-mono); color: var(--ion); }

/* ---------- alerts band */
.alerts-band { background: var(--storm); color: var(--storm-text); border-radius: var(--r-4); padding: clamp(28px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; position: relative; overflow: hidden; }
.alerts-band h2 { margin: 0 0 12px; font: 800 clamp(2rem, 4vw, 3.25rem)/1 var(--f-display); letter-spacing: -.03em; color: #fff; }
.alerts-band p { margin: 0; max-width: 46ch; }
.alerts-band .bigq { position: absolute; inset-inline-end: -40px; bottom: -120px; width: 380px; color: #1A1C2E; pointer-events: none; }
.chan { display: grid; gap: 10px; position: relative; }
.chan a, .chan button { display: grid; grid-template-columns: 40px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--r-3); background: var(--storm-2); border: 1px solid var(--storm-rule); color: #fff; text-align: start; cursor: pointer; transition: border-color .2s, background .2s; }
.chan a:hover, .chan button:hover { border-color: var(--plasma); }
.chan .ci { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: #24273B; color: var(--plasma); }
.chan .ci svg { width: 18px; height: 18px; }
.chan b { display: block; font: 700 15px/1.2 var(--f-text); }
.chan small { font: 500 12px/1.3 var(--f-mono); color: #8E92A8; }

/* ---------- footer */
.foot { margin-top: 64px; background: var(--storm); color: var(--storm-text); padding-block: 56px 28px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot .logo { color: #fff; }
.foot .logo svg { height: 40px; }
.foot p { max-width: 40ch; color: #A3A7BB; margin: 16px 0 0; }
.foot h2 { margin: 0 0 12px; font: 600 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: #8E92A8; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot ul a { color: var(--storm-text); transition: color .2s; }
.foot ul a:hover { color: #fff; }
.foot-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--storm-rule); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font: 500 12px/1.4 var(--f-mono); color: #8E92A8; }
.theme-sw { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: var(--storm-2); border: 1px solid var(--storm-rule); }
.theme-sw button { border: 0; background: none; color: #8E92A8; padding: 6px 10px; border-radius: 7px; cursor: pointer; font: 500 12px/1 var(--f-mono); }
.theme-sw button[aria-pressed="true"] { background: #2A2D42; color: #fff; }

/* ---------- page heads */
.phead { padding-block: 40px 28px; border-bottom: 1px solid var(--rule); }
.phead .kicker { margin-bottom: 14px; }
.phead h1 { margin: 0; font: 800 clamp(2.75rem, 7vw, 6rem)/.95 var(--f-display); letter-spacing: -.04em; }
.phead p { margin: 16px 0 0; max-width: 60ch; color: var(--graphite); font-size: 1.125rem; }
.phead .stats { display: flex; gap: 28px; margin-top: 22px; font: 500 12.5px/1.3 var(--f-mono); color: var(--slate); flex-wrap: wrap; }
.phead .stats b { display: block; font: 800 28px/1 var(--f-display); color: var(--ink); letter-spacing: -.02em; margin-bottom: 4px; font-variant-numeric: tabular-nums; }

/* ---------- story */
.story { padding-block: 32px 24px; }
.crumbs { display: flex; gap: 2px 8px; align-items: center; font: 500 12.5px/1 var(--f-mono); color: var(--slate); margin-block: -6px 16px; flex-wrap: wrap; }
.crumbs a { color: var(--graphite); display: inline-block; padding-block: 6px; min-width: 24px; text-align: center; }
.crumbs a:hover { color: var(--ion); }
.story-hd { max-width: 920px; display: grid; gap: 18px; }
.story-hd .h-xl { font-size: clamp(2.125rem, 4.6vw, 3.75rem); }
.story-hd .dek { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); max-width: 62ch; }
.clock { display: grid; grid-template-columns: repeat(3, auto) 1fr; gap: 10px 32px; padding-block: 16px; border-block: 1px solid var(--rule); margin-top: 8px; align-items: center; }
.clock div { display: grid; gap: 4px; font: 500 11.5px/1.2 var(--f-mono); color: var(--slate); text-transform: uppercase; letter-spacing: .06em; }
.clock div b { font: 600 15px/1.2 var(--f-mono); color: var(--ink); text-transform: none; letter-spacing: 0; }
.clock .share { justify-self: end; display: flex; gap: 6px; }
.story-ph { margin-block: 28px 8px; }
.story-ph .ph { aspect-ratio: 16 / 9; border-radius: var(--r-3); }
.story-grid { display: grid; grid-template-columns: minmax(0, 680px) minmax(0, 1fr); gap: 64px; margin-top: 28px; }
.body p { margin: 0 0 1.15em; font-size: 1.1875rem; line-height: 1.62; text-wrap: pretty; }
.body p:first-child::first-line { font-weight: 600; }
.figs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 8px 0 32px; }
.fig { background: var(--mist); border-radius: var(--r-3); padding: 18px 18px 16px; display: grid; gap: 6px; align-content: start; }
.fig b { white-space: nowrap; font: 800 clamp(1.75rem, 3.4vw, 2.75rem)/1 var(--f-display); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.fig span { font: 600 14.5px/1.3 var(--f-text); }
.fig small { font: 500 11.5px/1.3 var(--f-mono); color: var(--slate); }
.sources { margin-top: 36px; border-top: 2px solid var(--ink); padding-top: 18px; }
.sources h2 { margin: 0 0 12px; font: 800 20px/1 var(--f-display); letter-spacing: -.015em; }
.sources ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; counter-reset: s; }
.sources li { counter-increment: s; }
.sources a { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; padding: 12px 10px; margin-inline: -10px; border-radius: var(--r-2); align-items: center; transition: background .2s; }
.sources a:hover { background: var(--mist); }
.sources a::before { content: counter(s); font: 600 12px/1 var(--f-mono); color: var(--ion); }
.sources a b { font-weight: 650; font-size: 15.5px; }
.sources a small { display: block; font: 500 12px/1.3 var(--f-mono); color: var(--slate); margin-top: 3px; overflow-wrap: anywhere; }
.aside { display: grid; gap: 24px; align-content: start; position: sticky; top: 96px; }
.where { background: var(--storm); border-radius: var(--r-3); padding: 16px 20px; display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; color: var(--storm-text); }
.where svg { width: 120px; }
.where b { display: block; color: #fff; font: 700 17px/1.2 var(--f-display); margin-bottom: 4px; }
.where span { font: 500 12px/1.4 var(--f-mono); color: #8E92A8; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags a { font: 500 12.5px/1 var(--f-mono); padding: 8px 10px; border-radius: var(--r-1); background: var(--mist); color: var(--graphite); transition: background .2s, color .2s; }
.tags a:hover { background: var(--glow); color: var(--ion-deep); }
.side-h { margin: 0 0 6px; font: 600 12px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--slate); }
.prog { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 40; background: var(--ion); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- live / wire page */
.day { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; padding-block: 32px; border-top: 1px solid var(--rule); }
.day h2 { margin: 0; font: 800 24px/1.05 var(--f-display); letter-spacing: -.02em; position: sticky; top: 96px; align-self: start; }
.day h2 small { display: block; font: 500 12px/1.4 var(--f-mono); color: var(--slate); letter-spacing: 0; margin-top: 6px; }
.feed { list-style: none; margin: 0; padding: 0; position: relative; }
.feed::before { content: ''; position: absolute; inset-inline-start: 70px; top: 8px; bottom: 8px; width: 1px; background: var(--rule); }
.feed li { display: grid; grid-template-columns: 50px 18px minmax(0, 1fr) 120px; gap: 12px; padding-block: 12px; align-items: start; }
.feed time { font: 600 13px/1.5 var(--f-mono); color: var(--graphite); font-variant-numeric: tabular-nums; }
.feed .dot { width: 11px; height: 11px; margin-top: 5px; margin-inline-start: 3px; border-radius: 50%; background: var(--paper); border: 2px solid var(--c, var(--ion)); position: relative; z-index: 1; }
.feed .dev .dot { background: var(--c, var(--ion)); }
.feed .txt { display: grid; gap: 4px; }
.feed .sec { font: 600 11.5px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--slate); }
.feed .ph { aspect-ratio: 3 / 2; border-radius: var(--r-1); }
.filters { display: flex; gap: 6px; flex-wrap: wrap; padding-block: 18px; }
.filters button { border: 1px solid var(--rule); background: var(--paper); border-radius: var(--r-1); padding: 9px 12px; font: 600 13.5px/1 var(--f-text); color: var(--graphite); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; transition: border-color .2s, background .2s; }
.filters button i { width: 3px; height: 12px; border-radius: 2px; background: var(--c); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* ---------- prose pages (about, standards, credits) */
.prose { max-width: 720px; }
.prose h2 { font: 800 28px/1.1 var(--f-display); letter-spacing: -.02em; margin: 48px 0 14px; }
.prose h3 { font: 700 19px/1.25 var(--f-display); margin: 28px 0 8px; }
.prose p, .prose li { font-size: 1.125rem; line-height: 1.62; color: var(--graphite); }
.meta a.cf { color: var(--ion-deep); text-decoration: underline; text-underline-offset: 3px; padding-block: 5px; }
.prose a { color: var(--ion-deep); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.legend { display: grid; gap: 12px; margin: 20px 0; }
.legend div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px; border-radius: var(--r-3); background: var(--mist); align-items: start; }
.legend p { margin: 0; font-size: 1rem; }

/* ---------- search, forms */
.field { display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 20px; border-radius: var(--r-3); border: 1.5px solid var(--rule); background: var(--paper); transition: border-color .2s, box-shadow .2s; }
.field:focus-within { border-color: var(--ion); box-shadow: 0 0 0 4px var(--glow); }
.field input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: 600 22px/1 var(--f-display); color: var(--ink); letter-spacing: -.01em; }
.field input::placeholder { color: var(--slate); opacity: .7; }
.field svg { width: 22px; height: 22px; color: var(--slate); }
.results { margin-top: 24px; }
.results mark { background: var(--glow); color: inherit; border-radius: 3px; padding: 0 2px; }
.form { display: grid; gap: 14px; max-width: 520px; }
.form label { display: grid; gap: 6px; font: 600 14px/1.2 var(--f-text); }
.form input[type=email], .form input[type=text] { height: 48px; padding: 0 14px; border-radius: var(--r-2); border: 1.5px solid var(--rule); background: var(--paper); font: 500 16px/1 var(--f-text); color: var(--ink); }
.form input:focus { outline: 0; border-color: var(--ion); box-shadow: 0 0 0 4px var(--glow); }
.checks { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.checks legend { font: 600 14px/1.2 var(--f-text); margin-bottom: 8px; }
.checks label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: var(--r-2); border: 1.5px solid var(--rule); cursor: pointer; font-weight: 600; transition: border-color .2s, background .2s; }
.checks label:has(input:checked) { border-color: var(--ion); background: var(--glow); }
.checks input { accent-color: var(--ion); }
.note { font: 500 12.5px/1.45 var(--f-mono); color: var(--slate); }
.done { display: none; padding: 16px; border-radius: var(--r-3); background: var(--glow); color: var(--ink); font-weight: 600; }
.done.on { display: block; }

/* ---------- 404 */
.lost { min-height: 62vh; display: grid; place-items: center; text-align: center; padding-block: 64px; }
.lost svg { width: min(340px, 70vw); margin: 0 auto 28px; color: var(--ink); }
.lost h1 { margin: 0; font: 800 clamp(2rem, 5vw, 3.5rem)/1 var(--f-display); letter-spacing: -.03em; }
.lost p { color: var(--graphite); }

/* ---------- loader: a strike, a flash, the name */
.boot { position: fixed; inset: 0; z-index: 200; background: var(--storm); display: grid; place-items: center; cursor: pointer; }
.boot svg { width: min(520px, 72vw); overflow: visible; }
.boot .bar { fill: #fff; opacity: 0; transform: translateY(-60px); }   /* inside scale(1 -1): negative = down on screen */
.boot .bolt { fill: var(--plasma); clip-path: inset(100% 0 0 0); }   /* flipped: grows from the cloud down */
.boot .flash { position: absolute; inset: 0; background: radial-gradient(60% 55% at 50% 45%, #E9E4FF 0%, rgba(169,155,255,.5) 35%, transparent 70%); opacity: 0; pointer-events: none; }
.boot .cap { position: absolute; bottom: 36px; inset-inline: 0; text-align: center; font: 500 12px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: #6E7290; opacity: 0; }
.boot.go .flash { animation: bootFlash .7s ease-out .44s forwards; }
.boot.go .bar { animation: bootRise .7s var(--ease-out) forwards; animation-delay: calc(.52s + var(--i) * 60ms); }
.boot.go .bolt { animation: bootStrike .34s var(--ease-strike) .15s forwards, bootSettle .5s ease .6s forwards; }
.boot.go .cap { animation: bootCap .5s ease .9s forwards; }
.boot.out { animation: bootOut .6s var(--ease-strike) forwards; }
@keyframes bootStrike { to { clip-path: inset(0 0 0 0); } }
@keyframes bootSettle { to { fill: #fff; } }
@keyframes bootFlash { 0% { opacity: 0; } 12% { opacity: 1; } 22% { opacity: .25; } 30% { opacity: .8; } 100% { opacity: 0; } }
@keyframes bootRise { to { opacity: 1; transform: none; } }
@keyframes bootCap { to { opacity: 1; } }
@keyframes bootOut { to { clip-path: inset(0 0 100% 0); } }
html.booting { overflow: hidden; }

/* ---------- reveal */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }
html:not(.js) .rv { opacity: 1; transform: none; }

/* ---------- page to page: the storm comes down over the old page, a bolt strikes, the new page is uncovered from the top */
.veil { position: fixed; inset: 0; z-index: 150; background: var(--storm); display: grid; place-items: center; pointer-events: none; clip-path: inset(0 0 100% 0); }
.veil .bolt { width: 40px; height: 43px; color: var(--plasma); opacity: 0; transform: translateY(-14px); }
html.nav-out .veil { pointer-events: auto; animation: veilDown .3s var(--ease-strike) forwards; }
html.nav-out .veil .bolt { animation: boltIn .22s var(--ease-out) .16s forwards, boltWait 1.1s steps(1) .9s infinite; }
html.nav-in .veil { clip-path: inset(0); animation: veilUp .5s var(--ease-strike) .06s forwards; }
html.nav-in .veil .bolt { opacity: 1; transform: none; animation: boltOut .24s ease forwards; }
@keyframes veilDown { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes veilUp { from { clip-path: inset(0); } to { clip-path: inset(100% 0 0 0); } }
@keyframes boltIn { to { opacity: 1; transform: none; } }
@keyframes boltOut { to { opacity: 0; transform: translateY(14px); } }
@keyframes boltWait { 0% { opacity: 1; } 8% { opacity: .25; } 14% { opacity: 1; } 22% { opacity: .4; } 30%, 100% { opacity: 1; } }

/* ---------- responsive */
/* ---------- story without a photo: where it happened */
.story-map { margin-block: 28px 8px; }
.story-map svg { width: 100%; aspect-ratio: 2.1; height: auto; background: var(--storm); border-radius: var(--r-3); }
.story-map .fl.focus .core { filter: drop-shadow(0 0 10px var(--plasma)); }
.where a.more { display: inline-flex; gap: 6px; align-items: center; margin-top: 4px; padding-block: 6px; font: 600 13px/1 var(--f-text); color: #fff; }
.where a.more:hover { color: var(--plasma); }
.where svg { border-radius: var(--r-2); }

/* ---------- flash map page */
.mapgrid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; padding-block: 32px 24px; align-items: start; }
.mapstage { position: sticky; top: 92px; }
.mapstage .map { max-height: calc(100vh - 210px); margin-inline: auto; }
.maplist .filters { padding-top: 0; }
.mgroup { border-top: 2px solid var(--ink); padding-block: 16px 28px; }
.mgroup h2 { margin: 0 0 8px; font: 800 26px/1.1 var(--f-display); letter-spacing: -.02em; display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.mgroup h2 small { font: 500 12.5px/1 var(--f-mono); color: var(--slate); letter-spacing: 0; }
.mplaces, .mplaces ul, .mworld { list-style: none; margin: 0; padding: 0; }
.mplaces > li { border-bottom: 1px solid var(--rule); padding-block: 12px; }
.mplaces .pl { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 4px 0 8px; }
.mplaces .pl b { font: 700 17px/1.2 var(--f-display); transition: color .2s; }
.mplaces .pl:hover b { color: var(--ion); }
.mplaces .pl .mono { color: var(--slate); }
.mplaces ul a, .mworld a { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 7px 8px; margin-inline: -8px; border-radius: var(--r-1); font-size: 15px; line-height: 1.35; transition: background .2s; }
.mworld a { grid-template-columns: minmax(0, 1fr) auto; }
.mplaces ul a:hover, .mworld a:hover, .mplaces ul a.on { background: var(--mist); }
.mplaces ul a i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); transform: translateY(-1px); }
.mplaces time, .mworld time { color: var(--slate); font-size: 12px; white-space: nowrap; }
.mworld li + li { border-top: 1px solid var(--rule); }
[data-age][hidden], .mgroup[hidden] { display: none !important; }

/* ---------- place pages */
.place-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px; padding-block: 32px 24px; align-items: start; }
.place-ph { margin-bottom: 12px; }
.place-ph .ph { border-radius: var(--r-3); }
.place-map .map { max-height: 440px; margin-inline: auto; }
.phead .crumbs { margin-bottom: 18px; }

/* ---------- sources */
.outlets { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.outlets > li { border-bottom: 1px solid var(--rule); }
.outlets summary { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr) 96px 20px; gap: 18px; align-items: center; padding: 14px 4px; cursor: pointer; list-style: none; border-radius: var(--r-1); transition: background .2s; }
.outlets summary::-webkit-details-marker { display: none; }
.outlets summary::after { content: ''; width: 8px; height: 8px; border-inline-end: 2px solid var(--slate); border-block-end: 2px solid var(--slate); transform: rotate(45deg) translateY(-3px); justify-self: center; transition: transform .25s var(--ease-out); }
.outlets details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.outlets summary:hover { background: var(--mist); }
.outlets summary b { font: 700 17px/1.25 var(--f-display); }
.outlets .bar { height: 8px; border-radius: 4px; background: var(--cloud); overflow: hidden; }
.outlets .bar i { display: block; height: 100%; width: var(--w); border-radius: 4px; background: var(--ion); }
.outlets summary .mono { color: var(--slate); text-align: end; }
.outlets details ul { list-style: none; margin: 0 0 14px; padding: 0 0 0 4px; display: grid; gap: 2px; }
.outlets details a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 8px 10px; border-radius: var(--r-1); font-size: 15.5px; line-height: 1.35; }
.outlets details a:hover { background: var(--glow); }
.outlets details time { color: var(--slate); font-size: 12px; white-space: nowrap; }

/* ---------- archive calendar */
.cal { border: 1px solid var(--rule); border-radius: var(--r-3); overflow: hidden; }
.dow, .cgrid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.dow span { padding: 12px 14px; font: 600 11.5px/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--slate); background: var(--mist); border-bottom: 1px solid var(--rule); }
.cday { min-height: 132px; padding: 12px 14px; display: grid; grid-template-rows: auto auto 1fr; grid-template-columns: 1fr auto; gap: 6px 8px; align-content: start; border-inline-end: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: var(--paper); transition: background .2s; min-width: 0; }
.cgrid > :nth-child(7n) { border-inline-end: 0; }
.cgrid > :nth-last-child(-n+7) { border-bottom: 0; }
.cday .dn { font: 800 22px/1 var(--f-display); letter-spacing: -.02em; }
.cday .ct { justify-self: end; color: var(--ion); font-weight: 600; }
.cday .st-row { grid-column: 1 / -1; display: flex; gap: 3px; align-items: end; min-height: 18px; flex-wrap: wrap; }
.cday .st-row i { width: 3px; height: 18px; border-radius: 2px; background: var(--c); }
.cday .hd { grid-column: 1 / -1; list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; font: 500 12.5px/1.3 var(--f-text); color: var(--graphite); }
.cday .hd li { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cday.out { background: var(--mist); }
.cday.out .dn, .cday.fut .dn { color: var(--slate); font-weight: 600; }
.cday:not(.has):not(.out) .dn { color: var(--slate); }
a.cday:hover { background: var(--glow); }
.cday.today { box-shadow: inset 0 0 0 2px var(--ion); }

/* ---------- tips */
.tipgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; padding-block: 32px 40px; align-items: start; }
.tipform { position: sticky; top: 96px; background: var(--mist); border-radius: var(--r-4); padding: 28px; }
.form textarea { padding: 12px 14px; border-radius: var(--r-2); border: 1.5px solid var(--rule); background: var(--paper); font: 500 16px/1.5 var(--f-text); color: var(--ink); resize: vertical; min-height: 120px; }
.form textarea:focus { outline: 0; border-color: var(--ion); box-shadow: 0 0 0 4px var(--glow); }
.form [aria-invalid="true"] { border-color: var(--ion); box-shadow: 0 0 0 4px var(--glow); }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form .opt { font: 500 12px/1 var(--f-mono); color: var(--slate); margin-inline-start: 6px; }
.steps { padding-inline-start: 0; list-style: none; counter-reset: st; display: grid; gap: 4px; }
.steps li { counter-increment: st; position: relative; padding-inline-start: 36px; }
.steps li::before { content: counter(st, decimal-leading-zero); position: absolute; inset-inline-start: 0; top: .2em; font: 600 13px/1.6 var(--f-mono); color: var(--ion); }
.steps b { color: var(--ink); }
.safe { padding-inline-start: 0; list-style: none; display: grid; gap: 4px; }
.safe li { position: relative; padding-inline-start: 24px; }
.safe li::before { content: ''; position: absolute; inset-inline-start: 0; top: .62em; width: 9px; height: 9px; border: 2px solid var(--ion); border-radius: 50%; }

@media (max-width: 1024px) {
  .mapgrid, .place-grid, .tipgrid { grid-template-columns: 1fr; gap: 28px; }
}
@media (min-width: 721px) and (max-width: 1024px) {
  .g-feature .big { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 24px; align-items: start; }
  .g-feature .big > .ph { grid-row: 1 / span 5; }
  .g-feature .big > :not(.ph) { grid-column: 2; }
}
@media (max-width: 1024px) {
  .mapstage, .tipform { position: static; }
  .mapstage .map { max-height: 520px; }
}
@media (max-width: 720px) {
  .story-map svg { aspect-ratio: 1.3; }
  .outlets summary { grid-template-columns: minmax(0, 1fr) 80px 16px; gap: 10px; }
  .outlets summary .bar { display: none; }
  .outlets details a { grid-template-columns: 1fr; gap: 2px; }
  .dow span { padding: 8px 4px; text-align: center; font-size: 10px; letter-spacing: 0; }
  .cday { min-height: 64px; padding: 8px 6px; grid-template-columns: 1fr; gap: 4px; }
  .cday .dn { font-size: 16px; }
  .cday .ct { justify-self: start; font-size: 11px; }
  .cday .hd { display: none; }
  .cday .st-row { min-height: 10px; gap: 2px; }
  .cday .st-row i { width: 2px; height: 10px; }
  .tipform { padding: 20px; border-radius: var(--r-3); }
  .form .two { grid-template-columns: 1fr; }
  .mplaces ul a { grid-template-columns: 10px minmax(0, 1fr); }
  .mplaces ul a time { grid-column: 2; }
  .mworld a { grid-template-columns: 1fr; }
}

.radar, .alerts-band, .where, .story-map svg, .foot { box-shadow: inset 0 0 0 1px var(--edge); }
.foot { box-shadow: inset 0 1px 0 var(--edge); }

@media (max-width: 1180px) {
  .nav a { padding-inline: 9px; font-size: 14px; }
  .radar-body { grid-template-columns: 1fr; }
  .radar .map { max-width: 230px; margin-inline: auto; }
}
@media (max-width: 1024px) {
  .mast .wrap { grid-template-columns: auto 1fr auto; }
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .nav.open { display: grid; position: absolute; top: 72px; inset-inline: 0; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 8px var(--gut) 18px; gap: 2px; justify-content: stretch; }
  .nav.open a { padding: 14px 10px; font-size: 17px; }
  .g-feature { grid-template-columns: 1fr 1fr; }
  .g-feature .big { grid-column: 1 / -1; grid-row: auto; }
  .g-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story-grid { grid-template-columns: 1fr; gap: 32px; }
  .aside { position: static; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .alerts-band { grid-template-columns: 1fr; }
  .wb { grid-template-columns: 1fr; }
}
/* below 900 the lead and the radar stack; the radar keeps map and list side by side */
@media (max-width: 900px) {
  .lead-grid { grid-template-columns: 1fr; }
  .radar { position: static; }
  .radar-body { grid-template-columns: minmax(0, 40%) minmax(0, 1fr); }
  .radar .map { max-width: none; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wire-clock { display: none; }
  .mast .wrap { height: 60px; gap: 12px; }
  .logo svg { height: 28px; }
  .logo .news { display: none; }
  .nav.open { top: 60px; }
  .mast-tools .btn span { display: none; }
  .mast-tools .btn { width: 40px; padding: 0; justify-content: center; }
  .dateline .wrap span:last-child { display: none; }
  .lead-sub { grid-template-columns: 1fr; gap: 0; }
  .lead-sub a { grid-template-columns: minmax(0, 1fr); padding-block: 14px; }
  .lead-sub a + a { border-top: 1px solid var(--rule); }
  .radar { padding: 18px 16px 14px; border-radius: var(--r-3); }
  .radar-body { grid-template-columns: minmax(0, 38%) minmax(0, 1fr); gap: 12px; }
  .flist li:nth-child(n+5) { display: none; }
  .flist .h { font-size: 13.5px; }
  .g-feature, .g-split, .g-four, .g-three { grid-template-columns: 1fr; gap: 24px; }
  .row { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
  .band { padding-block: 40px; }
  .band-hd { margin-bottom: 18px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > :first-child { grid-column: 1 / -1; }
  .clock { grid-template-columns: 1fr 1fr; }
  .clock .share { grid-column: 1 / -1; justify-self: start; }
  .body p { font-size: 1.0938rem; }
  .day { grid-template-columns: 1fr; gap: 12px; padding-block: 24px; }
  .day h2 { position: static; }
  .feed li { grid-template-columns: 44px 16px minmax(0, 1fr); }
  .feed::before { inset-inline-start: 64px; }
  .feed .ph { display: none; }
  .sline { grid-template-columns: 64px minmax(0, 1fr); gap: 8px; }
  .lanes { font-size: 9.5px; }
  .ticks span:nth-child(even) { display: none; }
  .legend div { grid-template-columns: 1fr; gap: 6px; }
  .where { grid-template-columns: 72px 1fr; }
  .where svg { width: 72px; }
  .field input { font-size: 18px; }
  .band-hd { align-items: center; }
  .band-hd h2 { flex-direction: column; align-items: flex-start; gap: 6px; }
  .band-hd a.all { font-size: 13px; white-space: nowrap; padding-inline: 8px; }
  .g-feature > .card, .g-four > .card { grid-template-columns: 112px minmax(0, 1fr); column-gap: 14px; row-gap: 6px; }
  .g-feature > .card > :not(.ph), .g-four > .card > :not(.ph) { grid-column: 2; }
  .g-feature > .card .ph, .g-four > .card .ph { grid-row: 1 / span 4; aspect-ratio: 1; border-radius: var(--r-1); }
  .g-feature > .card .h-s, .g-four > .card .h-s { font-size: 1.0313rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .wire-run { animation: none; }
  .rv { opacity: 1; transform: none; }
  .veil { display: none; }
}
@media print {
  .wire, .mast, .foot, .alerts-band, .radar, .aside, .boot, .veil, .prog, .story-map, .tipform { display: none !important; }
}
