/* Self-hosted fonts (latin subsets of Google Fonts, SIL Open Font License): no third-party request before first paint. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/assets/fonts/inter-latin-v20.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700 900; font-display: swap; src: url(/assets/fonts/montserrat-latin-v31.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Incident article pages (/incidents/<id>/<slug>): server-rendered for readers arriving from search
   and shared links. Same palette and type as the console (styles.css), without its app layout. */
:root {
  color-scheme: dark;
  --bg: #050505; --panel: #0f0f0f; --line: #262626; --text: #f2f2f2; --bright: #ffffff; --muted: #a6a6a6;
  --accent: #e31b23; --accent-text: #ff4d57;
  --display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --sans: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--accent-text); }
a:hover { color: var(--bright); }
img { max-width: 100%; }
.site-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px max(16px, 4vw); border-bottom: 1px solid var(--line); background: #000; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--bright); text-decoration: none; font: 900 1.25rem/1 var(--display); letter-spacing: 0.02em; }
.brand b { color: var(--accent); }
.live-link { color: var(--bright); font-weight: 600; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; }
.live-link:hover { border-color: var(--accent); }
main { padding: 32px max(16px, 4vw) 48px; }
.story { max-width: 720px; margin: 0 auto; }
.crumbs { font-size: 0.875rem; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--muted); }
.kicker { margin: 0 0 8px; color: var(--accent-text); font: 700 0.8125rem/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; }
h1 { margin: 0 0 12px; font: 800 clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem)/1.15 var(--display); letter-spacing: -0.01em; text-wrap: balance; color: var(--bright); }
h2 { margin: 0 0 12px; font: 800 1.125rem/1.3 var(--display); color: var(--bright); }
.byline { margin: 0 0 24px; color: var(--muted); font-size: 0.9375rem; }
.lede { font-size: 1.1875rem; line-height: 1.6; margin: 0 0 24px; text-wrap: pretty; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; margin: 0 0 24px; background: var(--line); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.facts div { background: var(--panel); padding: 12px 16px; }
.facts dt { color: var(--muted); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.facts dd { margin: 4px 0 0; color: var(--bright); }
.follow { margin: 0 0 32px; }
.button { display: inline-block; background: var(--accent); color: var(--bright); font-weight: 700; text-decoration: none; padding: 10px 18px; border-radius: 8px; }
.button:hover { background: #c4161d; color: var(--bright); }
.audio { margin: 0 0 28px; }
.audio figure { margin: 0 0 12px; }
.audio figcaption { color: var(--muted); font-size: 0.8125rem; margin-bottom: 4px; }
.audio audio { width: 100%; }
.audio-note { color: var(--muted); font-size: 0.8125rem; margin: 0; }
.updates, .related { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 24px; }
.unit-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
/* the job report and units by role (seo.js renderIncidentPage, owner 2026-11-28) */
.job-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 4px 16px; margin: 0; padding: 0; list-style: none; }
.job-steps time { display: inline-block; min-width: 3.2em; font-variant-numeric: tabular-nums; font-weight: 700; }
.job-facts { margin: 8px 0 0; font-weight: 600; }
.unit-group { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin: 0 0 6px; } .unit-group > b { min-width: 7em; }
.unit-list .unit small { margin-inline-start: 4px; font-size: 0.6875rem; font-weight: 800; letter-spacing: .04em; }
.unit-list .unit { padding: 3px 10px; border: 1px solid var(--line); border-radius: 99px; font-weight: 600; font-size: 0.875rem; white-space: nowrap; }
.unit-note { color: var(--muted); font-size: 0.8125rem; margin-top: 10px; }
/* Privacy, terms and support pages (site-r56) */
.legal-section { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 20px; }
.legal-section ul { padding-left: 1.2em; }
.legal-section li { margin-bottom: 8px; }
.community-report { margin-top: 6px; font-size: 0.8125rem; }
.community-report summary { cursor: pointer; color: var(--muted); }
.community-report form { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 6px; padding: 8px; border: 1px solid var(--line); border-radius: 6px; }
.faq { border: 1px solid var(--line); border-radius: 8px; padding: 10px 14px; margin: 0 0 10px; background: var(--panel); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--bright); }
.faq[open] summary { margin-bottom: 8px; }
/* Community photos and updates by members (site-r53) */
.community-photos { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.community-photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.community-photos span { margin-top: 6px; color: var(--muted); font-size: 0.75rem; }
.updates ol, .related ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.updates time, .related time { display: block; color: var(--muted); font-size: 0.8125rem; }
.updates strong { display: block; color: var(--bright); }
.updates span { display: block; color: var(--text); }
.updates strong.line { display: inline; }
.updates .fold summary { color: var(--accent-text, #ff5a5f); font-weight: 600; font-size: 0.875rem; cursor: pointer; } .updates .fold ol { margin-block-start: 12px; padding-inline-start: 12px; border-inline-start: 2px dashed var(--line); }
.disclosure { margin-top: 32px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--muted); font-size: 0.875rem; }
.site-foot { border-top: 1px solid var(--line); padding: 20px max(16px, 4vw); color: var(--muted); font-size: 0.875rem; text-align: center; }
.site-foot .served-by { display: block; margin-top: 6px; font: 500 0.625rem ui-monospace, monospace; letter-spacing: .08em; opacity: .55; }
.site-foot a { color: var(--muted); }
.updates span.radio { display: inline-block; margin-right: 6px; color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: .06em; }

/* LIVE flag, borough links and the /fdny landing pages (owner 2026-10-27: compete for FDNY alerts) */
.live-flag { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; color: var(--accent-text); font: 700 0.75rem/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; }
.live-flag span { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
/* the pulse ring scales a layer (compositor only) instead of animating box-shadow every frame */
.live-flag span::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgb(227 27 35 / .6); animation: live-pulse 1.6s infinite; }
@keyframes live-pulse { 0% { transform: scale(1); opacity: 1; } 70%, 100% { transform: scale(3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .live-flag span::after { animation: none; } }
.hub-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.hub-links a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--text); font-size: 0.8125rem; font-weight: 600; text-decoration: none; }
.hub-links a:hover, .hub-links a[aria-current="page"] { border-color: var(--accent); color: var(--bright); }
.site-foot { display: grid; gap: 12px; justify-items: center; }
.site-foot .hub-links { margin: 0; justify-content: center; }
.hub h2 { margin-top: 28px; }
.hub-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hub-item { border: 1px solid var(--line); border-left: 4px solid #6aa8ff; border-radius: 8px; padding: 12px 14px; background: var(--panel); }
.hub-item.level-developing { border-left-color: #daa520; }
.hub-item.level-breaking { border-left-color: var(--accent); }
.hub-item > a { color: var(--bright); font: 800 1.0625rem/1.35 var(--display); text-decoration: none; }
.hub-item > a:hover { text-decoration: underline; }
.hub-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 6px; color: var(--muted); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.hub-badge { padding: 2px 6px; border-radius: 4px; background: #262626; color: var(--bright); }
.level-breaking .hub-badge { background: var(--accent); }
.level-developing .hub-badge { background: #daa520; color: #000; }
.hub-live { color: var(--accent-text); }
.hub-facts { margin: 6px 0 0; color: var(--muted); font-size: 0.875rem; }
.button-ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.button-ghost:hover { background: var(--panel); }

/* The call's map (seo.js callMap): Esri tiles in an inline SVG, the pin on top, the whole map a link to the console. */
.call-map { margin: 0 0 24px; }
.call-map a:has(svg) { display: block; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #1c1c1c; }
.call-map svg { display: block; width: 100%; height: 300px; }
.call-map .map-pin { fill: #e31b23; stroke: #fff; stroke-width: 2; }
.call-map .map-pin-eye { fill: #fff; }
.call-map .map-halo { fill: rgb(227 27 35 / .28); stroke: rgb(227 27 35 / .6); stroke-width: 1.5; }
.call-map .map-area { fill: rgb(227 27 35 / .16); stroke: #e31b23; stroke-width: 2; stroke-dasharray: 6 5; }
.call-map .map-dot { fill: #e31b23; stroke: #fff; stroke-width: 2; }
.call-map figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-top: 8px; font-size: 0.9rem; }
.call-map figcaption a { color: inherit; font-weight: 600; }
.call-map .map-credit { margin: 4px 0 0; color: var(--muted); font-size: 0.7rem; }
@media (max-width: 560px) { .call-map svg { height: 240px; } }

/* the incident page map: same darkened base as the live map (styles.css .map-base-dim) */
.call-map .map-base { filter: brightness(0.5); }
/* site-r187: the FDNY codes explainer on /fdny */
.hub-codes { margin: 28px 0 8px; padding: 18px 20px; border: 1px solid var(--line, rgb(255 255 255 / .12)); border-radius: 12px; background: rgb(255 255 255 / .03); }
.hub-codes h2 { margin: 0 0 10px; font-size: 1.25rem; }
.hub-codes dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; margin: 0; }
.hub-codes dt { font-weight: 800; color: var(--bright, #fff); white-space: nowrap; }
.hub-codes dd { margin: 0; color: var(--muted, #b7bdc6); line-height: 1.5; }
@media (max-width: 560px) { .hub-codes dl { grid-template-columns: 1fr; gap: 4px; } .hub-codes dd { margin-bottom: 10px; } }
.hub-codes-link { margin: 20px 0 0; color: var(--muted, #b7bdc6); }
