/* Blackridge City News Station 6
   Layout concept: a broadcast newsroom on the web. Sharp-cornered panels, a lower-third
   graphic as the signature element, red/slate pulled straight from the B6 mark. */

:root {
  --red: #d50f1e;
  --red-deep: #9e0b16;
  --slate: #2f4358;
  --slate-deep: #18232f;
  --paper: #f1f4f8;
  --surface: #ffffff;
  --ink: #16212c;
  --mute: #566474;
  --line: #d6dce4;
  --focus: #0b63ce;
  --chip-bg: #e4e9f0;
  --chip-ink: #2f4358;
  --good: #14744a;
  --warn: #a15c00;
  --font-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --font-ui: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --font-read: "Source Serif 4", Georgia, "Times New Roman", serif;
  --max: 1200px;
  --gutter: 16px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --red: #f0404a;
    --paper: #0e151c;
    --surface: #16202a;
    --ink: #e8edf2;
    --mute: #9aa8b6;
    --line: #283644;
    --focus: #6fb0ff;
    --chip-bg: #223140;
    --chip-ink: #c9d5e1;
    --good: #46c28a;
    --warn: #f0b24a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --red: #f0404a;
  --paper: #0e151c;
  --surface: #16202a;
  --ink: #e8edf2;
  --mute: #9aa8b6;
  --line: #283644;
  --focus: #6fb0ff;
  --chip-bg: #223140;
  --chip-ink: #c9d5e1;
  --good: #46c28a;
  --warn: #f0b24a;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 1.55;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  -webkit-font-smoothing: antialiased;
}
/* bands span the full width, so cancel the body gutter and re-apply it inside each band */
.band, .site-header, .util, .ticker, .hero, .page-head, .site-footer, .cta {
  margin-left: calc(-1 * max(var(--gutter), env(safe-area-inset-left, 0px)));
  margin-right: calc(-1 * max(var(--gutter), env(safe-area-inset-right, 0px)));
}
.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { text-wrap: balance; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--red); color: #fff; padding: 10px 14px; z-index: 100; font-weight: 700; }
.skip:focus { top: 8px; }

/* logo swaps with theme */
.logo-dark { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .logo-light-bg { display: none; }
  :root:not([data-theme="light"]) .logo-dark { display: block; }
}
:root[data-theme="dark"] .logo-light-bg { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }

/* utility bar */
.util { background: var(--slate-deep); color: #c3cfdb; font-size: 13.5px; }
.util .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.util a { text-decoration: none; color: #fff; font-weight: 600; }
.util a:hover { text-decoration: underline; }
.util-date { white-space: nowrap; }

/* header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--surface); border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: block; flex: none; }
.brand img { height: 56px; width: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; }
.nav a:not(.btn) {
  display: block; padding: 8px 14px 6px; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: .01em;
  border-bottom: 4px solid transparent; color: var(--ink);
}
.nav a:not(.btn):hover { border-bottom-color: var(--line); }
.nav a[aria-current="page"] { border-bottom-color: var(--red); }
.nav .btn { margin-left: 10px; }
.menu-btn {
  display: none; margin-left: auto; background: none; border: 2px solid var(--line); color: var(--ink);
  font: 700 16px var(--font-ui); padding: 8px 14px; border-radius: 3px; cursor: pointer;
}

/* ticker, the one moving element on the site */
.ticker { background: var(--slate-deep); color: #fff; border-bottom: 3px solid var(--red); }
.ticker .wrap { display: flex; align-items: stretch; padding-left: 0; padding-right: 0; max-width: none; }
.ticker-label {
  flex: none; background: var(--red); color: #fff; display: flex; align-items: center;
  padding: 0 22px 0 max(var(--gutter), env(safe-area-inset-left, 0px));
  font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: .02em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); padding-right: 30px; position: relative; z-index: 2;
}
.ticker-view { overflow: hidden; flex: 1; min-width: 0; display: flex; align-items: center; }
.ticker-track { display: inline-flex; flex: none; white-space: nowrap; animation: scroll 70s linear infinite; padding: 9px 0; }
.ticker-view:hover .ticker-track { animation-play-state: paused; }
.ticker-item { font-size: 15.5px; font-weight: 500; padding-right: 28px; display: inline-flex; align-items: center; gap: 28px; }
.ticker-item::after { content: ""; width: 7px; height: 7px; background: var(--red); display: inline-block; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; white-space: normal; flex-wrap: wrap; }
  .ticker-view { overflow: visible; }
  .ticker-track [aria-hidden="true"] { display: none; }
  html { scroll-behavior: auto; }
}

/* buttons and chips */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border: 2px solid transparent; border-radius: 3px; cursor: pointer;
  font: 700 16px/1.2 var(--font-ui); text-decoration: none; transition: background .15s, color .15s, border-color .15s;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-slate { background: var(--slate-deep); color: #fff; }
.btn-slate:hover { background: var(--slate); }
.btn-line { border-color: currentColor; background: transparent; color: inherit; }
.btn-line:hover { background: rgba(127,140,155,.16); }
.btn-sm { padding: 8px 14px; font-size: 15px; }
.chip {
  display: inline-block; background: var(--chip-bg); color: var(--chip-ink);
  font: 700 13.5px/1 var(--font-ui); padding: 6px 10px; border-radius: 2px;
}
.chip-red { background: var(--red); color: #fff; }

/* hero with lower-third */
.hero { position: relative; height: clamp(460px, 50vw, 620px); background: var(--slate-deep); overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,13,19,.82) 0%, rgba(8,13,19,.18) 55%, rgba(8,13,19,.05) 100%); }
.hero .wrap { position: absolute; inset: 0; z-index: 2; display: flex; align-items: flex-end; padding-bottom: 40px; }
.l3 { max-width: 780px; }
.l3-tag {
  display: inline-block; background: var(--red); color: #fff; padding: 7px 26px 7px 16px;
  font: 700 20px/1 var(--font-display); letter-spacing: .02em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.l3-head {
  background: rgba(24,35,47,.95); color: #fff; padding: 16px 26px 18px;
  font: 800 clamp(36px, 5.4vw, 66px)/1 var(--font-display); letter-spacing: -.005em;
}
.l3-head a { text-decoration: none; }
.l3-sub { background: #fff; color: #16212c; padding: 14px 26px; font-size: 17.5px; line-height: 1.45; }
.l3-actions { background: #fff; padding: 0 26px 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.l3-actions .btn-line { color: #16212c; }

/* sections */
.band { padding-block: 56px; }
.sec-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px;
  border-bottom: 2px solid var(--line); padding-bottom: 10px; margin-bottom: 26px; position: relative;
}
.sec-head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 76px; height: 4px; background: var(--red); }
.sec-head h2 { font: 800 clamp(30px, 3.6vw, 40px)/1 var(--font-display); }
.sec-head a { font-weight: 700; font-size: 15px; }
.home-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; align-items: start; }

/* story cards */
.stories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 28px; }
.story { display: flex; flex-direction: column; gap: 12px; text-decoration: none; min-width: 0; }
.story-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--slate); }
.story-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.story:hover .story-img img { transform: scale(1.03); }
.story h3 { font: 700 clamp(25px, 2.4vw, 30px)/1.05 var(--font-display); }
.story:hover h3 { color: var(--red); }
.story p { color: var(--mute); font-size: 16px; }
.story-meta { font-size: 14px; color: var(--mute); display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.story-lead { grid-column: 1 / -1; display: grid; grid-template-columns: 1.35fr 1fr; gap: 26px; align-items: center; }
.story-lead h3 { font-size: clamp(34px, 3.8vw, 48px); }
.story-lead .story-body { display: flex; flex-direction: column; gap: 12px; }
.story-lead p { font-size: 18px; }

/* empty states */
.empty { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); background: var(--surface); border: 1px solid var(--line); }
.empty-img { min-height: 240px; position: relative; background: var(--slate-deep); }
.empty-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); }
.empty-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24,35,47,.1), rgba(24,35,47,.55)); }
.empty-body { padding: 30px 32px; display: flex; flex-direction: column; gap: 12px; justify-content: center; }
.empty-body h3 { font: 800 34px/1 var(--font-display); }
.empty-body p { color: var(--mute); max-width: 46ch; }
.empty-body .row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.empty-plain { background: var(--surface); border: 1px solid var(--line); padding: 26px 28px; color: var(--mute); }
.empty-plain strong { display: block; color: var(--ink); font: 700 24px/1.1 var(--font-display); margin-bottom: 6px; }

/* rail panels */
.rail { display: flex; flex-direction: column; gap: 22px; }
.panel { background: var(--surface); border: 1px solid var(--line); }
.panel-head { background: var(--slate-deep); color: #fff; padding: 9px 16px; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.panel-head h3 { font: 700 21px/1 var(--font-display); letter-spacing: .01em; }
.panel-head a { color: #fff; font-size: 13.5px; font-weight: 600; }
.panel-body { padding: 16px; }
.wx-now { display: flex; align-items: center; gap: 14px; }
.wx-now .ico { width: 64px; height: 64px; flex: none; }
.wx-temp { font: 800 74px/.85 var(--font-display); }
.wx-temp sup { font-size: 30px; vertical-align: top; position: relative; top: 4px; }
.wx-label { font-weight: 600; margin-top: 12px; }
.wx-sub { color: var(--mute); font-size: 14.5px; }
.wx-days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); text-align: center; }
.wx-days b { font: 700 18px var(--font-display); display: block; }
.wx-days svg { width: 34px; height: 34px; margin: 2px auto; }
.wx-days span { font-size: 14px; color: var(--mute); }
.status-line { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--good); flex: none; }
.dot.warn { background: var(--warn); }
.dot.crit { background: var(--red); }
.panel-chirper { background: var(--slate); color: #fff; border: 0; }
.panel-chirper .panel-body { display: flex; flex-direction: column; gap: 12px; padding: 20px 18px; }
.panel-chirper h3 { font: 800 28px/1 var(--font-display); }
.panel-chirper p { color: #d8e1ea; font-size: 15.5px; }

/* photo mosaic */
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 17vw, 230px); gap: 8px; }
.shot { position: relative; overflow: hidden; background: var(--slate-deep); margin: 0; }
.shot:first-child { grid-column: span 2; grid-row: span 2; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.shot:hover img { transform: scale(1.04); }
.shot figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; color: #fff; font-size: 14px; line-height: 1.35;
  background: linear-gradient(to top, rgba(8,13,19,.85), rgba(8,13,19,0));
}
.shot:first-child figcaption { font-size: 16px; padding: 48px 20px 18px; }

/* call to action band */
.cta { background: var(--slate-deep); color: #fff; }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; padding-block: 44px; }
.cta h2 { font: 800 clamp(32px, 4vw, 48px)/1 var(--font-display); }
.cta p { color: #c3cfdb; margin-top: 10px; max-width: 54ch; font-size: 17px; }
.cta .row { display: flex; gap: 10px; flex-wrap: wrap; }

/* footer */
.site-footer { background: var(--slate-deep); color: #c3cfdb; border-top: 4px solid var(--red); }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; padding-block: 46px 30px; }
.foot-grid img { height: 64px; width: auto; margin-bottom: 14px; }
.foot-grid p { font-size: 15px; max-width: 34ch; }
.foot-grid h4 { font: 700 20px var(--font-display); color: #fff; margin-bottom: 10px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.foot-grid a { text-decoration: none; font-size: 15.5px; }
.foot-grid a:hover { color: #fff; text-decoration: underline; }
.foot-base { border-top: 1px solid rgba(255,255,255,.14); padding-block: 18px 26px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 14px; color: #93a3b4; }

/* inner page header */
.page-head { position: relative; background: var(--slate-deep); color: #fff; overflow: hidden; }
.page-head > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.page-head::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24,35,47,.96) 18%, rgba(24,35,47,.55)); }
.page-head .wrap { position: relative; z-index: 2; padding-block: 56px 50px; }
.page-head h1 { font: 800 clamp(46px, 7vw, 84px)/.95 var(--font-display); }
.page-head p { margin-top: 14px; max-width: 58ch; color: #d3dde7; font-size: 18.5px; }

/* news filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 28px; }
.filters .chip-btn {
  border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer;
  font: 600 15px var(--font-ui); padding: 8px 14px; border-radius: 2px;
}
.filters .chip-btn[aria-pressed="true"] { background: var(--slate-deep); color: #fff; border-color: var(--slate-deep); }
.filters .search { margin-left: auto; }
.field, .filters input[type="search"] {
  font: 500 16px var(--font-ui); color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 2px; padding: 10px 12px; width: 100%;
}
.filters input[type="search"] { width: 240px; }
.stories-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 26px; }

/* article */
.article { max-width: 780px; margin-inline: auto; padding-block: 46px 70px; }
.article h1 { font: 800 clamp(40px, 6vw, 68px)/.98 var(--font-display); margin-top: 14px; }
.article .deck { font: 400 22px/1.4 var(--font-read); color: var(--mute); margin-top: 16px; }
.byline { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 20px; padding-block: 14px; border-block: 1px solid var(--line); font-size: 15px; color: var(--mute); }
.byline b { color: var(--ink); }
.article figure { margin: 28px 0 0; }
.article figure img { width: 100%; }
.article figcaption { font-size: 14px; color: var(--mute); padding-top: 8px; }
.prose { font: 400 20px/1.7 var(--font-read); margin-top: 28px; }
.prose p + p { margin-top: 1.1em; }
.prose a { color: var(--red); }
.article-foot { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px; }

/* weather page */
.wx-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 0; background: var(--surface); border: 1px solid var(--line); }
.wx-hero .cur { padding: 30px; background: var(--slate); color: #fff; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.wx-hero .cur .ico { width: 84px; height: 84px; }
.wx-hero .cur .wx-temp { font-size: 120px; }
.wx-hero .cur .wx-temp sup { font-size: 46px; top: 8px; }
.wx-hero .cur .wx-sub { color: #cdd9e5; }
.wx-stats { padding: 26px 30px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 24px; align-content: center; }
.wx-stats dt { font-size: 14px; color: var(--mute); }
.wx-stats dd { margin: 0; font: 700 30px/1.1 var(--font-display); }
.forecast { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.fc { background: var(--surface); border: 1px solid var(--line); padding: 14px 10px; text-align: center; display: flex; flex-direction: column; gap: 4px; align-items: center; }
.fc b { font: 700 22px var(--font-display); }
.fc .d { font-size: 13.5px; color: var(--mute); }
.fc svg { width: 46px; height: 46px; margin-block: 4px; }
.fc .hi { font: 800 28px/1 var(--font-display); }
.fc .lo { color: var(--mute); font-weight: 600; }
.fc .pop { font-size: 13.5px; color: var(--mute); }
.alert-none { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); padding: 16px 18px; font-weight: 600; }
.alert { background: var(--surface); border: 1px solid var(--line); border-left: 8px solid var(--red); padding: 16px 18px; }
.alert b { font: 700 24px/1.1 var(--font-display); display: block; }
.note { font-size: 14px; color: var(--mute); margin-top: 14px; }

/* traffic */
.tr-status { display: flex; align-items: center; gap: 18px; background: var(--surface); border: 1px solid var(--line); padding: 22px 26px; margin-bottom: 26px; }
.tr-status .dot { width: 20px; height: 20px; }
.tr-status h2 { font: 800 34px/1 var(--font-display); }
.tr-status p { color: var(--mute); margin-top: 4px; }
.incident { display: grid; grid-template-columns: 110px minmax(0, 1fr) auto; gap: 18px; align-items: start; background: var(--surface); border: 1px solid var(--line); padding: 16px 20px; }
.incident + .incident { margin-top: 10px; }
.incident h3 { font: 700 24px/1.1 var(--font-display); }
.incident p { color: var(--mute); margin-top: 4px; }
.sev { font: 700 13.5px var(--font-ui); padding: 6px 10px; border-radius: 2px; color: #fff; background: var(--good); text-align: center; }
.sev.moderate { background: var(--warn); color: #fff; }
.sev.major { background: var(--red); }
.how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); background: var(--surface); }
.how > div { padding: 22px 24px; }
.how > div + div { border-left: 1px solid var(--line); }
.how h3 { font: 700 24px/1.1 var(--font-display); margin-bottom: 6px; }
.how p { color: var(--mute); font-size: 15.5px; }

/* about */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 46px; align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.lede { font: 400 22px/1.5 var(--font-read); }
.copy p + p { margin-top: 1em; }
.copy { font-size: 17.5px; }
.desk-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; }
.desk { padding-block: 22px; border-top: 1px solid var(--line); }
.desk h3 { font: 800 30px/1 var(--font-display); }
.desk p { color: var(--mute); margin-top: 8px; max-width: 48ch; }
.standards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.standards h3 { font: 800 28px/1 var(--font-display); margin-bottom: 8px; }
.standards p { color: var(--mute); }
.team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--slate); }
.person h3 { font: 700 24px/1.1 var(--font-display); margin-top: 10px; }
.person p { color: var(--mute); font-size: 15px; }

/* forms */
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; align-items: start; }
.form { background: var(--surface); border: 1px solid var(--line); padding: 28px; display: grid; gap: 18px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { font-weight: 700; font-size: 15px; display: block; margin-bottom: 6px; }
.form .hint { font-weight: 400; color: var(--mute); }
.form textarea { min-height: 150px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--red); }
.msg { padding: 14px 16px; border: 1px solid var(--line); border-left: 8px solid var(--good); background: var(--surface); }
.msg.err { border-left-color: var(--red); }
.msg pre { white-space: pre-wrap; font: 14px/1.5 var(--font-ui); background: var(--paper); padding: 12px; margin: 10px 0; border: 1px solid var(--line); }

/* responsive */
@media (max-width: 1020px) {
  .home-grid, .form-grid { grid-template-columns: minmax(0, 1fr); }
  .stories-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .forecast { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .site-header .wrap { flex-wrap: wrap; min-height: 68px; }
  .brand img { height: 48px; }
  .nav { display: none; width: 100%; margin: 0; padding-bottom: 14px; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a:not(.btn) { border-bottom: 1px solid var(--line); padding: 12px 4px; font-size: 24px; }
  .nav .btn { margin: 14px 0 0; width: 100%; }
}
@media (max-width: 720px) {
  .band { padding-block: 40px; }
  .stories, .stories-3, .desk-list, .standards, .split, .how { grid-template-columns: minmax(0, 1fr); }
  .story-lead { grid-template-columns: minmax(0, 1fr); }
  .empty { grid-template-columns: minmax(0, 1fr); }
  .empty-img { min-height: 180px; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .shot:first-child { grid-column: span 2; grid-row: span 2; }
  .cta .wrap { grid-template-columns: minmax(0, 1fr); }
  .wx-hero { grid-template-columns: minmax(0, 1fr); }
  .forecast { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .how > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .incident { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .incident .sev { justify-self: start; }
  .form .two { grid-template-columns: 1fr; }
  .form { padding: 20px; }
  .filters .search { margin-left: 0; width: 100%; }
  .filters input[type="search"] { width: 100%; }
  .hero .wrap { padding-bottom: 20px; }
  .l3-sub { font-size: 16px; }
  .util-right { display: none; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* keeps the sticky header clear of a phone's top inset */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--surface); z-index: 60; }

.wx-days svg, .fc svg { display: block; }
.quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.quick a { background: var(--surface); border: 1px solid var(--line); padding: 18px 20px; text-decoration: none; display: block; }
.quick a:hover { border-color: var(--red); }
.quick b { font: 800 28px/1 var(--font-display); display: block; }
.quick span { color: var(--mute); font-size: 15px; display: block; margin-top: 6px; }
@media (max-width: 720px) { .quick { grid-template-columns: minmax(0, 1fr); } }
