:root {
  --ink: #17201d;
  --muted: #65706b;
  --paper: #f3efe6;
  --paper-deep: #e7e0d3;
  --white: #fffdf8;
  --green: #164d3d;
  --green-bright: #b9db5c;
  --amber: #d28b27;
  --red: #a43a31;
  --line: rgba(23, 32, 29, 0.16);
  --sans: "DM Sans", system-ui, sans-serif;
  --serif: "Libre Caslon Display", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.5;
}
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
svg { width: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.skip-link { position: fixed; top: -60px; left: 20px; z-index: 100; padding: 10px 14px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  min-height: 76px; padding: 0 4.5vw;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom: 1px solid var(--line); backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 11px; width: max-content; font-weight: 700; letter-spacing: -.04em; }
.brand em, .footer-brand em { color: var(--green); font-family: var(--serif); font-weight: 400; }
.brand-mark { display: grid; grid-template-columns: repeat(3, 4px); gap: 3px; align-items: end; width: 18px; height: 24px; }
.brand-mark i { display: block; background: var(--green); }
.brand-mark i:nth-child(1) { height: 9px; }
.brand-mark i:nth-child(2) { height: 16px; }
.brand-mark i:nth-child(3) { height: 23px; }
.desktop-nav { display: flex; gap: 32px; font-size: .82rem; font-weight: 600; }
.desktop-nav a { position: relative; padding: 27px 0; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 20px; height: 2px; background: var(--green); transition: .2s ease; }
.desktop-nav a:hover::after { right: 0; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 12px; }
.icon-button, .menu-button { border: 0; background: transparent; color: inherit; cursor: pointer; }
.icon-button { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; }
.icon-button:hover { background: var(--paper-deep); }
.menu-button { display: none; font-weight: 700; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 17px; border: 1px solid var(--ink); font-size: .78rem; font-weight: 700; cursor: pointer; transition: .2s ease; }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: var(--green); border-color: var(--green); }
.button-outline:hover { background: var(--ink); color: var(--white); }
.mobile-menu { display: none; }

.home-hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr); min-height: 610px; border-bottom: 1px solid var(--line); }
.lead-story { position: relative; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; padding: clamp(34px, 6vw, 88px); background: var(--green); color: white; }
.lead-story::before { content: ""; position: absolute; inset: 0; opacity: .42; background: radial-gradient(circle at 78% 24%, transparent 0 7%, #27624e 7.4% 8%, transparent 8.4%), repeating-radial-gradient(circle at 78% 24%, transparent 0 52px, rgba(185,219,92,.18) 53px 54px), linear-gradient(135deg, transparent 48%, rgba(255,255,255,.055) 48.2% 49%, transparent 49.2%); }
.lead-story::after { content: ""; position: absolute; top: 15%; right: 15%; width: 10px; height: 10px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 9px rgba(185,219,92,.14), 0 0 36px rgba(185,219,92,.8); }
.lead-content { position: relative; max-width: 850px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 20px; color: var(--green); font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.lead-story .eyebrow { color: var(--green-bright); }
.eyebrow::before { content: ""; width: 23px; height: 2px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
.lead-story h1 { max-width: 850px; margin-bottom: 24px; font: 400 clamp(3rem, 6.3vw, 6.7rem)/.91 var(--serif); letter-spacing: -.055em; }
.lead-deck { max-width: 650px; margin-bottom: 33px; color: rgba(255,255,255,.73); font-size: clamp(.95rem, 1.25vw, 1.15rem); }
.story-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.lead-story .story-meta { color: rgba(255,255,255,.65); }
.meta-dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.hero-rail { display: flex; flex-direction: column; padding: 42px 4vw; background: var(--white); }
.rail-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 13px; border-bottom: 2px solid var(--ink); }
.rail-header h2 { margin: 0; font-size: .7rem; text-transform: uppercase; letter-spacing: .15em; }
.live-mark { display: flex; align-items: center; gap: 7px; color: var(--red); font-size: .66rem; font-weight: 700; text-transform: uppercase; }
.live-mark::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(164,58,49,.12); }
.brief-list { display: flex; flex: 1; flex-direction: column; }
.brief-item { display: block; padding: 23px 0; border-bottom: 1px solid var(--line); }
.brief-item:hover h3 { color: var(--green); }
.brief-item time { display: block; margin-bottom: 8px; color: var(--muted); font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.brief-item h3 { margin: 0; font: 400 1.28rem/1.2 var(--serif); transition: color .2s; }
.rail-link { margin-top: 24px; color: var(--green); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }

.section { padding: clamp(55px, 7vw, 100px) 6vw; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 40px; padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
.section-heading h2 { margin: 0; font: 400 clamp(2rem, 4vw, 4rem)/1 var(--serif); letter-spacing: -.04em; }
.section-heading p { max-width: 430px; margin: 0; color: var(--muted); font-size: .8rem; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.article-card { position: relative; min-height: 330px; padding: 30px; background: var(--paper); transition: background .2s; }
.article-card:hover { background: var(--white); }
.article-card .category { color: var(--green); font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.article-card h3 { margin: 46px 0 14px; font: 400 clamp(1.5rem, 2.1vw, 2.15rem)/1.08 var(--serif); letter-spacing: -.025em; }
.article-card p { color: var(--muted); font-size: .82rem; }
.article-card .story-meta { position: absolute; right: 30px; bottom: 26px; left: 30px; }

.signal-preview { background: var(--ink); color: var(--white); }
.signal-preview .section-heading { border-color: rgba(255,255,255,.4); }
.signal-preview .section-heading p { color: rgba(255,255,255,.55); }
.signal-board { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 6vw, 90px); }
.threat-gauge { display: flex; flex-direction: column; justify-content: space-between; min-height: 350px; padding: 30px; border: 1px solid rgba(255,255,255,.18); background: linear-gradient(155deg, rgba(255,255,255,.06), transparent); }
.gauge-label { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; }
.gauge-number { font: 400 clamp(6rem, 12vw, 11rem)/.8 var(--serif); color: var(--green-bright); }
.gauge-number sup { font: 500 .85rem var(--sans); color: rgba(255,255,255,.5); }
.gauge-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.gauge-scale span { height: 5px; background: rgba(255,255,255,.16); }
.gauge-scale span.active { background: var(--green-bright); }
.demo-note { margin: 18px 0 0; color: rgba(255,255,255,.44); font-size: .7rem; }
.signal-list { display: grid; }
.signal-row { display: grid; grid-template-columns: 95px 1fr auto; gap: 20px; align-items: start; padding: 23px 0; border-top: 1px solid rgba(255,255,255,.16); }
.signal-row:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.severity { width: max-content; padding: 5px 8px; border: 1px solid currentColor; font-size: .58rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.severity-watch { color: var(--amber); }
.severity-info { color: #8bb9d6; }
.severity-elevated { color: #e57d70; }
.signal-row h3 { margin: 0 0 7px; font: 400 1.2rem var(--serif); }
.signal-row p { margin: 0; color: rgba(255,255,255,.5); font-size: .76rem; }
.signal-time { color: rgba(255,255,255,.5); font-size: .66rem; }

.page-shell { min-height: 70vh; padding: clamp(50px, 8vw, 110px) 6vw; }
.page-intro { display: grid; grid-template-columns: 1.3fr .7fr; gap: 8vw; align-items: end; margin-bottom: 60px; }
.page-intro h1 { margin: 0; font: 400 clamp(4rem, 10vw, 9rem)/.8 var(--serif); letter-spacing: -.065em; }
.page-intro p { max-width: 470px; margin: 0; color: var(--muted); }
.filter-bar { display: flex; gap: 8px; margin-bottom: 25px; overflow-x: auto; }
.filter-button { flex: none; padding: 8px 12px; border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.filter-button.active, .filter-button:hover { background: var(--ink); color: white; }
.all-articles { grid-template-columns: repeat(3, 1fr); }

.dashboard-summary { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 40px; border: 1px solid var(--line); }
.summary-stat { padding: 24px; border-right: 1px solid var(--line); }
.summary-stat:last-child { border: 0; }
.summary-stat span { display: block; margin-bottom: 14px; color: var(--muted); font-size: .63rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.summary-stat strong { font: 400 2.5rem var(--serif); }
.signals-table { border-top: 2px solid var(--ink); }
.dashboard-row { display: grid; grid-template-columns: 120px 1.5fr .6fr .5fr 28px; gap: 20px; align-items: center; padding: 21px 10px; border-bottom: 1px solid var(--line); }
.dashboard-row:hover { background: var(--white); }
.dashboard-row h3 { margin: 0 0 3px; font: 400 1.1rem var(--serif); }
.dashboard-row p, .dashboard-row span { margin: 0; color: var(--muted); font-size: .7rem; }
.dashboard-row .severity { color: inherit; }
.trend-up { color: var(--red) !important; }
.trend-steady { color: var(--green) !important; }

.article-page { max-width: 1220px; margin: auto; }
.article-header { display: grid; grid-template-columns: 160px 1fr; gap: 5vw; margin-bottom: 65px; }
.article-header-aside { padding-top: 9px; }
.article-header h1 { max-width: 900px; margin: 10px 0 28px; font: 400 clamp(3.2rem, 7vw, 7rem)/.93 var(--serif); letter-spacing: -.055em; }
.article-deck { max-width: 760px; color: var(--muted); font-size: 1.1rem; }
.article-body-layout { display: grid; grid-template-columns: 160px minmax(0, 700px); gap: 5vw; }
.share-tools { position: sticky; top: 105px; align-self: start; display: grid; gap: 9px; }
.share-tools .button { width: 100%; }
.article-body { font-family: Georgia, serif; font-size: 1.12rem; line-height: 1.85; }
.article-body h2 { margin: 2.2em 0 .7em; font: 400 2.3rem/1.1 var(--serif); }
.article-body .pullquote { margin: 2em -12%; padding: 25px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); font: 400 2.2rem/1.22 var(--serif); color: var(--green); }

.radar-page { max-width: 1500px; margin: auto; }
.radar-status-line { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: -25px 0 26px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.radar-status-line .eyebrow { margin: 0; }
.radar-status-line > span { color: var(--muted); font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.featured-incident { margin-bottom: 38px; border: 1px solid var(--ink); background: var(--ink); color: var(--white); }
.featured-incident-label { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,.2); color: var(--green-bright); font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.featured-incident-label time { margin-left: auto; color: rgba(255,255,255,.5); }
.incident-status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-bright); box-shadow: 0 0 0 5px rgba(185,219,92,.1); }
.featured-incident-body { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(35px, 7vw, 100px); padding: clamp(28px, 4vw, 55px); }
.incident-location { margin-bottom: 18px; color: var(--green-bright); font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.featured-incident h2 { max-width: 700px; margin-bottom: 24px; font: 400 clamp(2.2rem, 4.5vw, 4.8rem)/.98 var(--serif); letter-spacing: -.04em; }
.incident-outcome { display: inline-block; padding: 6px 9px; border: 1px solid rgba(185,219,92,.6); color: var(--green-bright); font-size: .63rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.incident-summary { align-self: end; color: rgba(255,255,255,.68); font-size: .82rem; }
.incident-summary strong { color: var(--white); }
.incident-sources { display: flex; flex-wrap: wrap; gap: 12px 22px; margin-top: 25px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.2); }
.incident-sources a { color: var(--green-bright); font-size: .65rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.incident-sources a:hover { color: white; }
.radar-controls { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: 28px; }
.radar-controls label { display: grid; gap: 7px; color: var(--muted); font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.radar-controls select { min-width: 205px; padding: 10px 35px 10px 12px; border: 1px solid var(--line); border-radius: 0; background: var(--paper); color: var(--ink); }
.radar-legend { display: flex; flex-wrap: wrap; gap: 18px; color: var(--muted); font-size: .68rem; }
.radar-legend span { display: flex; align-items: center; gap: 7px; }
.legend-dot { display: block; width: 8px; height: 8px; border-radius: 50%; }
.legend-elevated { background: var(--red); }
.legend-watch { background: var(--amber); }
.legend-info { background: #5b91ad; }
.radar-layout { display: grid; grid-template-columns: minmax(480px, 1.25fr) minmax(310px, .75fr); border: 1px solid var(--line); background: var(--white); }
.radar-field { position: relative; width: min(100%, 760px); aspect-ratio: 1; margin: auto; overflow: hidden; background: radial-gradient(circle at center, rgba(185,219,92,.13), transparent 20%), linear-gradient(rgba(22,77,61,.025), rgba(22,77,61,.025)); }
.radar-ring { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); border: 1px solid rgba(22,77,61,.24); border-radius: 50%; pointer-events: none; }
.radar-ring span { position: absolute; top: 50%; left: 2px; transform: translateY(-50%); padding: 2px 5px; background: var(--white); color: var(--muted); font-size: .56rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.radar-ring-outer { width: 78%; height: 78%; }
.radar-ring-middle { width: 54%; height: 54%; }
.radar-ring-inner { width: 29%; height: 29%; background: rgba(185,219,92,.05); }
.radar-axis { position: absolute; top: 50%; left: 50%; background: rgba(22,77,61,.12); pointer-events: none; }
.radar-axis-horizontal { width: 78%; height: 1px; transform: translate(-50%, -50%); }
.radar-axis-vertical { width: 1px; height: 78%; transform: translate(-50%, -50%); }
.radar-domain-label { position: absolute; z-index: 1; color: var(--muted); font-size: .56rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.label-information { top: 7%; left: 50%; transform: translateX(-50%); }
.label-weather { top: 31%; right: 4%; }
.label-health { right: 13%; bottom: 8%; }
.label-infrastructure { bottom: 8%; left: 10%; }
.label-policy { top: 31%; left: 5%; }
.radar-point { position: absolute; z-index: 3; top: var(--y); left: var(--x); display: grid; place-items: center; width: 17px; height: 17px; padding: 0; transform: translate(-50%, -50%); border: 3px solid var(--white); border-radius: 50%; color: var(--ink); cursor: pointer; box-shadow: 0 0 0 1px currentColor, 0 4px 12px rgba(0,0,0,.16); transition: width .18s ease, height .18s ease, box-shadow .18s ease; }
.radar-point span { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); padding: 2px 4px; background: color-mix(in srgb, var(--white) 92%, transparent); font-size: .55rem; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.radar-point:hover, .radar-point.selected { width: 24px; height: 24px; box-shadow: 0 0 0 2px currentColor, 0 0 0 8px rgba(23,32,29,.07); }
.radar-point-elevated { background: var(--red); color: var(--red); }
.radar-point-watch { background: var(--amber); color: var(--amber); }
.radar-point-info { background: #5b91ad; color: #5b91ad; }
.radar-detail { padding: clamp(30px, 4vw, 58px); border-left: 1px solid var(--line); background: var(--paper); }
.radar-detail-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.radar-detail-id { color: var(--muted); font-size: .68rem; font-weight: 700; letter-spacing: .08em; }
.radar-detail h2 { margin: 45px 0 16px; font: 400 clamp(2rem, 3.5vw, 3.5rem)/1 var(--serif); letter-spacing: -.035em; }
.radar-detail > p { color: var(--muted); font-size: .84rem; }
.radar-facts { display: grid; grid-template-columns: 1fr 1fr; margin: 40px 0 0; border-top: 1px solid var(--line); }
.radar-facts div { padding: 17px 0; border-bottom: 1px solid var(--line); }
.radar-facts div:nth-child(odd) { padding-right: 15px; }
.radar-facts dt { margin-bottom: 5px; color: var(--muted); font-size: .6rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.radar-facts dd { margin: 0; font-size: .78rem; font-weight: 600; }
.radar-detail-empty { color: var(--muted); font: 400 1.4rem var(--serif); }
.radar-method { max-width: 760px; margin: 22px 0 0 auto; color: var(--muted); font-size: .73rem; }
.radar-method strong { color: var(--ink); }

.incident-archive { display: grid; gap: 24px; }
.incident-archive-card { padding: clamp(28px, 4vw, 52px); border: 1px solid var(--line); background: var(--white); }
.incident-archive-meta { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 44px; color: var(--muted); font-size: .65rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.incident-archive-meta span { color: var(--green); }
.incident-archive-card h2 { max-width: 850px; margin: 18px 0; font: 400 clamp(2.2rem, 5vw, 5rem)/.98 var(--serif); letter-spacing: -.045em; }
.incident-archive-card > p:not(.eyebrow) { max-width: 700px; color: var(--muted); }
.incident-archive-actions { display: flex; align-items: center; gap: 18px; margin-top: 34px; }
.incident-archive-actions span { color: var(--muted); font-size: .67rem; }
.standards-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); }
.standards-grid article { min-height: 320px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.standards-grid article:nth-child(even) { border-right: 0; }
.standards-grid article > span { color: var(--green); font-size: .65rem; font-weight: 700; }
.standards-grid h2 { margin: 42px 0 18px; font: 400 2.1rem var(--serif); }
.standards-grid p { max-width: 600px; color: var(--muted); font-size: .8rem; }
.standards-grid p strong { color: var(--ink); }
.subscription-form { max-width: 760px; padding: clamp(28px, 5vw, 55px); border: 1px solid var(--line); background: var(--white); }
.subscription-form fieldset { display: grid; gap: 0; margin: 0 0 25px; padding: 0; border: 0; }
.subscription-form legend { margin-bottom: 20px; font: 400 2rem var(--serif); }
.subscription-form label { display: flex; align-items: center; gap: 12px; padding: 15px 0; border-top: 1px solid var(--line); cursor: pointer; }
.subscription-form input { width: 18px; height: 18px; accent-color: var(--green); }
.subscription-form > p { color: var(--muted); font-size: .75rem; }
.incident-site-header { grid-template-columns: 1fr auto 1fr; }
.incident-record { max-width: 1280px; margin: auto; }
.incident-record-status { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .67rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.incident-record-status span { color: var(--green); }
.incident-record > header { padding: clamp(45px, 7vw, 90px) 0; }
.incident-record > header h1 { max-width: 1000px; margin-bottom: 28px; font: 400 clamp(3.2rem, 7.5vw, 7.5rem)/.9 var(--serif); letter-spacing: -.055em; }
.incident-record-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(290px, .6fr); gap: clamp(40px, 8vw, 110px); }
.incident-record .article-body ul { padding-left: 1.2em; }
.incident-record .article-body li { margin-bottom: 12px; }
.incident-presumption { margin-top: 50px; padding: 22px; border-left: 3px solid var(--green); background: var(--white); font-family: var(--sans); font-size: .78rem; }
.incident-source-panel { align-self: start; padding: 28px; border: 1px solid var(--line); background: var(--white); }
.incident-source-panel h2 { font: 400 1.8rem var(--serif); }
.incident-source-panel ul { margin: 25px 0; padding: 0; list-style: none; }
.incident-source-panel li { padding: 14px 0; border-top: 1px solid var(--line); font-size: .75rem; }
.incident-source-panel li span, .incident-source-panel > p { color: var(--muted); font-size: .66rem; }
.incident-source-panel .button { margin-top: 20px; }
.incident-footer { min-height: 230px; grid-template-columns: 1fr 1fr; }

.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 10vw; }
.about-grid h2 { font: 400 clamp(2rem, 4vw, 4rem)/1.05 var(--serif); }
.principles { counter-reset: item; }
.principle { display: grid; grid-template-columns: 45px 1fr; padding: 20px 0; border-top: 1px solid var(--line); }
.principle::before { counter-increment: item; content: "0" counter(item); color: var(--green); font-size: .65rem; font-weight: 700; }
.principle h3 { margin-bottom: 6px; font: 400 1.35rem var(--serif); }
.principle p { color: var(--muted); font-size: .8rem; }

.site-footer { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; min-height: 310px; padding: 55px 6vw; background: #111815; color: white; }
.footer-brand { align-self: start; display: flex; align-items: center; gap: 12px; font-weight: 700; }
.footer-brand p { margin: 0; }
.brand-mark-light i { background: var(--green-bright); }
.footer-brand em { color: var(--green-bright); }
.footer-statement { margin: 0; font: 400 2rem/1.1 var(--serif); }
.footer-links { justify-self: end; display: grid; gap: 8px; color: rgba(255,255,255,.55); font-size: .7rem; text-align: right; }

.search-dialog { width: min(680px, calc(100% - 30px)); padding: 0; border: 0; background: var(--paper); color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.4); }
.search-dialog::backdrop { background: rgba(15,20,18,.68); backdrop-filter: blur(4px); }
.search-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 25px 12px; }
.search-header label { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
#search-input { width: calc(100% - 50px); margin: 0 25px 20px; padding: 14px 0; border: 0; border-bottom: 2px solid var(--ink); outline: 0; background: transparent; font: 400 1.6rem var(--serif); }
.search-results { max-height: 370px; padding: 0 25px 25px; overflow: auto; }
.search-result { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
.search-result small { color: var(--green); text-transform: uppercase; }
.search-result h3 { margin: 3px 0 0; font: 400 1.2rem var(--serif); }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 100; transform: translateY(20px); padding: 11px 16px; background: var(--ink); color: white; opacity: 0; pointer-events: none; font-size: .75rem; transition: .25s ease; }
.toast.show { transform: translateY(0); opacity: 1; }
.empty-state { padding: 50px 20px; color: var(--muted); text-align: center; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav, .desktop-subscribe { display: none; }
  .menu-button { display: block; }
  .mobile-menu { position: absolute; top: 76px; right: 0; left: 0; flex-direction: column; padding: 10px 4.5vw 24px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
  .home-hero { grid-template-columns: 1fr; }
  .lead-story { min-height: 560px; }
  .hero-rail { padding: 36px 6vw; }
  .article-grid, .all-articles { grid-template-columns: 1fr 1fr; }
  .signal-board { grid-template-columns: 1fr; }
  .dashboard-summary { grid-template-columns: 1fr 1fr; }
  .summary-stat:nth-child(2) { border-right: 0; }
  .summary-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .dashboard-row { grid-template-columns: 105px 1fr auto; }
  .dashboard-row > :nth-child(3), .dashboard-row > :nth-child(4) { display: none; }
  .article-header, .article-body-layout { grid-template-columns: 1fr; }
  .article-header-aside { display: none; }
  .share-tools { position: static; grid-template-columns: 1fr 1fr; }
  .article-body .pullquote { margin: 2em 0; }
  .radar-layout { grid-template-columns: 1fr; }
  .featured-incident-body { grid-template-columns: 1fr; }
  .radar-field { width: min(100%, 670px); }
  .radar-detail { border-top: 1px solid var(--line); border-left: 0; }
  .incident-record-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 45px; }
}

@media (max-width: 620px) {
  .brand { font-size: .86rem; }
  .home-hero { min-height: 0; }
  .lead-story { min-height: 520px; padding: 38px 24px; }
  .lead-story h1 { font-size: 3.25rem; }
  .section { padding: 55px 22px; }
  .section-heading, .page-intro { display: block; }
  .section-heading p, .page-intro p { margin-top: 18px; }
  .article-grid, .all-articles { grid-template-columns: 1fr; }
  .article-card { min-height: 290px; }
  .signal-row { grid-template-columns: 85px 1fr; }
  .signal-time { display: none; }
  .page-shell { padding: 55px 22px; }
  .page-intro h1 { font-size: 4.2rem; }
  .dashboard-summary { grid-template-columns: 1fr 1fr; }
  .summary-stat { padding: 18px; }
  .summary-stat strong { font-size: 2rem; }
  .dashboard-row { grid-template-columns: 90px 1fr; gap: 13px; }
  .dashboard-row > :last-child { display: none; }
  .article-header h1 { font-size: 3.4rem; }
  .article-body { font-size: 1rem; }
  .share-tools { grid-template-columns: 1fr; }
  .radar-status-line, .radar-controls { align-items: start; flex-direction: column; }
  .radar-status-line { margin-top: -25px; }
  .featured-incident { margin-right: -22px; margin-left: -22px; border-right: 0; border-left: 0; }
  .featured-incident-label { align-items: start; flex-wrap: wrap; padding: 12px 22px; }
  .featured-incident-label time { width: 100%; margin: 2px 0 0 17px; }
  .featured-incident-body { padding: 32px 22px; }
  .featured-incident h2 { font-size: 2.55rem; }
  .radar-layout { margin-right: -22px; margin-left: -22px; border-right: 0; border-left: 0; }
  .radar-field { width: 100%; }
  .radar-ring span { display: none; }
  .radar-domain-label { font-size: .49rem; }
  .radar-point span { top: 20px; font-size: .48rem; }
  .radar-detail { padding: 35px 22px; }
  .radar-detail h2 { margin-top: 32px; }
  .radar-facts { margin-top: 30px; }
  .incident-archive-card { margin-right: -22px; margin-left: -22px; border-right: 0; border-left: 0; }
  .incident-archive-meta, .incident-archive-actions { align-items: start; flex-direction: column; }
  .standards-grid { grid-template-columns: 1fr; }
  .standards-grid article { min-height: 0; padding: 28px 0; border-right: 0; }
  .subscription-form { margin-right: -22px; margin-left: -22px; border-right: 0; border-left: 0; }
  .incident-record > header h1 { font-size: 3.4rem; }
  .incident-source-panel { margin-right: -22px; margin-left: -22px; border-right: 0; border-left: 0; }
  .incident-site-header .header-actions { display: none; }
  .incident-footer { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; gap: 48px; min-height: 420px; }
  .footer-links { justify-self: start; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
