:root {
  --bg: #08090c;
  --bg-alt: #0f1217;
  --surface: #161a21;
  --line: #262c36;
  --text: #f2f4f7;
  --muted: #a3acb9;
  --red: #e3201b;
  --red-hot: #ff3b2f;
  --amber: #ffb020;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-hot); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff; padding: 8px 14px; z-index: 99; }
.skip:focus { left: 8px; }

.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px clamp(16px, 4vw, 48px); background: rgba(8, 9, 12, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: italic 800 22px/1 var(--display); letter-spacing: .02em; }
.nav nav { display: flex; align-items: center; gap: clamp(10px, 2.2vw, 28px); }
.nav nav a:not(.btn) { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav nav a:not(.btn):hover { color: var(--text); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; background: var(--red); color: #fff; border: 2px solid var(--red); border-radius: 4px; font: italic 800 20px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; transition: background .15s, transform .15s; }
.btn:hover { background: var(--red-hot); border-color: var(--red-hot); transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--text); border-color: #4a5260; }
.btn-ghost:hover { background: #1c2129; border-color: var(--text); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 17px; }
.btn-lg { min-height: 60px; padding: 0 34px; font-size: 24px; width: 100%; }

.hero { position: relative; overflow: hidden; min-height: min(88vh, 820px); display: grid; place-items: center; padding: 64px 16px 80px; background:
  radial-gradient(ellipse 70% 55% at 50% 45%, rgba(227, 32, 27, .16), transparent 70%),
  radial-gradient(ellipse 90% 70% at 20% 0%, #1b2029, transparent 60%), var(--bg); }
.radar-sweep { position: absolute; inset: 50% auto auto 50%; width: 150vmax; height: 150vmax; translate: -50% -50%; border-radius: 50%; opacity: .5;
  background: conic-gradient(from 0deg, rgba(227, 32, 27, .22), transparent 14%, transparent),
  repeating-radial-gradient(circle, transparent 0 79px, rgba(255, 255, 255, .05) 79px 80px);
  animation: sweep 7s linear infinite; }
@keyframes sweep { to { rotate: 360deg; } }
@media (prefers-reduced-motion: reduce) { .radar-sweep { animation: none; } html { scroll-behavior: auto; } }
.hero-inner { position: relative; text-align: center; max-width: 1100px; }
.hero-logo { width: 100%; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .6)); }
.hero-tag { margin: 18px auto 30px; max-width: 640px; color: var(--muted); font-size: clamp(18px, 2.4vw, 22px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.band { padding: clamp(64px, 9vw, 112px) 0; border-top: 1px solid var(--line); }
.band-alt { background: var(--bg-alt); }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.two { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.kicker { margin: 0 0 8px; color: var(--red-hot); font: italic 800 18px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; }
h2 { margin: 0 0 24px; font: italic 800 clamp(36px, 5.5vw, 60px)/1 var(--display); text-transform: uppercase; letter-spacing: .01em; }
h3 { margin: 6px 0 10px; font: italic 800 28px/1.05 var(--display); text-transform: uppercase; }
.prose p { margin: 0 0 16px; color: #d4d9e1; }
.lead { max-width: 720px; color: #d4d9e1; font-size: 19px; margin: 0 0 40px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: 6px; padding: 28px; }
.card p { margin: 0; color: var(--muted); }
.card-num { font: italic 800 20px/1 var(--display); color: var(--red-hot); }

.log { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(24px, 4vw, 56px); }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 12px; padding: 0 0 22px 22px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(227, 32, 27, .2); }
.timeline time { font: 600 18px/1.4 var(--display); color: var(--amber); letter-spacing: .03em; }
.stat-col { display: grid; gap: 14px; align-content: start; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 20px 24px; }
.stat-val { display: block; font: italic 800 52px/1 var(--display); }
.stat-val small { font-size: .45em; margin-left: 6px; color: var(--muted); }
.stat-label { color: var(--muted); font-size: 15px; }
.note { margin: 28px 0 0; color: var(--muted); font-size: 14px; }
.warn { border-left: 4px solid var(--amber); padding: 12px 16px; background: rgba(255, 176, 32, .07); }

.donate { background:
  radial-gradient(ellipse 60% 80% at 100% 0%, rgba(227, 32, 27, .18), transparent 60%), var(--bg); }
.donate-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.fund-list { list-style: none; margin: 0; padding: 0; }
.fund-list li { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.fund-list li span { color: var(--text); font-weight: 600; }
.donate-box { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: clamp(24px, 3vw, 36px); }
.donate-box > p:first-child { margin-top: 0; color: #d4d9e1; }
.email-line { text-align: center; margin: 14px 0 0; font-weight: 600; }
.disclosure { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

.foot { padding: 48px 0 56px; border-top: 1px solid var(--line); background: #050608; color: var(--muted); font-size: 14px; }
.foot .wrap { display: grid; justify-items: center; text-align: center; gap: 6px; }
.foot p { margin: 0; }
.fine { max-width: 720px; margin-top: 8px !important; font-size: 13px; }

@media (max-width: 860px) {
  .two, .log, .donate-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .timeline li { grid-template-columns: 1fr; gap: 0; }
  .hero-cta .btn { width: 100%; }
}

/* Multi-page additions */
.nav nav a[aria-current="page"]:not(.btn) { color: var(--text); box-shadow: inset 0 -2px 0 var(--red); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; background: none; border: 1px solid var(--line); border-radius: 4px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: var(--text); }
.page-head { padding: clamp(56px, 8vw, 104px) 0 clamp(40px, 5vw, 64px); background: radial-gradient(ellipse 70% 90% at 0% 0%, rgba(227, 32, 27, .14), transparent 60%), var(--bg); }
.page-head h1 { margin: 0 0 18px; max-width: 900px; font: italic 800 clamp(44px, 7vw, 84px)/.95 var(--display); text-transform: uppercase; }
.page-head .lead { margin-bottom: 28px; }
.hero-cta.left { justify-content: flex-start; }
.prose-p { color: #d4d9e1; margin: 0 0 18px; }
.link-arrow { font: italic 800 20px/1 var(--display); text-transform: uppercase; letter-spacing: .04em; text-decoration: none; }
.link-arrow::after { content: " →"; }

.video { position: relative; display: block; width: 100%; padding: 0; margin: 0 0 12px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #000; cursor: pointer; aspect-ratio: 16 / 9; }
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s, opacity .3s; }
.video:hover img { transform: scale(1.02); opacity: .85; }
.play { position: absolute; inset: 50% auto auto 50%; width: 84px; height: 60px; translate: -50% -50%; background: var(--red); border-radius: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); }
.play::after { content: ""; position: absolute; inset: 50% auto auto 54%; translate: -50% -50%; border-style: solid; border-width: 13px 0 13px 22px; border-color: transparent transparent transparent #fff; }
iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 8px; margin: 0 0 12px; }
.video-cap { margin: 0 0 32px; color: var(--muted); font-size: 15px; }

.channel { background: linear-gradient(120deg, #1a0606 0%, var(--bg) 55%); }
.channel-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; }
.channel-handle { margin: 0; text-align: right; font: italic 800 clamp(40px, 6vw, 76px)/1 var(--display); color: var(--text); overflow-wrap: anywhere; }
.channel-handle span { display: block; font-size: .32em; color: var(--muted); letter-spacing: .08em; }
.channel .lead { margin-bottom: 28px; }
.btn-yt { background: #ff0033; border-color: #ff0033; }
.btn-yt::before { content: ""; width: 0; height: 0; margin-right: 10px; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent #fff; }

.card-link { color: inherit; text-decoration: none; transition: border-color .15s, transform .15s; }
.card-link:hover { border-color: #4a5260; border-top-color: var(--red-hot); transform: translateY(-2px); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.steps { margin: 0 0 24px; padding-left: 22px; color: #d4d9e1; }
.steps li { margin-bottom: 12px; }
.warn.big { margin: 0; font-size: 19px; color: #e8ecf1; }

.donate-strip { padding: 56px 0; background: var(--red); border: 0; }
.strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.strip h2 { margin: 0; }
.btn-lg-inline { background: #08090c; border-color: #08090c; min-height: 60px; padding: 0 40px; font-size: 24px; }
.btn-lg-inline:hover { background: #000; border-color: #000; }

.foot .foot-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; text-align: left; justify-items: start; }
.foot-brand { display: flex; gap: 14px; align-items: center; }
.foot-brand p { margin: 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-links a { color: var(--muted); text-decoration: none; font-weight: 600; }
.foot-links a:hover { color: var(--text); }
.foot .fine { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); max-width: none; }

@media (max-width: 1020px) { .cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px; background: #08090c; border-bottom: 1px solid var(--line); }
  .nav nav.open { display: flex; }
  .nav nav a:not(.btn) { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 17px; }
  .nav nav .btn { margin-top: 12px; }
  .channel-grid { grid-template-columns: 1fr; }
  .channel-handle { text-align: left; }
}
@media (max-width: 560px) { .cards-4 { grid-template-columns: 1fr; } }
.nav nav a.nav-yt { color: #ff4d6a; }
.nav nav a.nav-yt::before { content: "▶ "; font-size: .8em; }

/* Weather dashboard, live, admin */
.page-head-tight { padding-bottom: 24px; }
.band-tight { padding: 32px 0 56px; }
.wx-home { border-top: 0; padding-top: 40px; }
.h-sm { font: italic 800 28px/1 var(--display); text-transform: uppercase; margin: 0 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.narrow { max-width: 760px; }
.two-even { grid-template-columns: 1fr 1fr; }
.wx-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 20px; }
.wx-place { margin: 0 0 6px; font-size: clamp(32px, 5vw, 52px); }
.wx-head .wx-status { margin: 0; }
.wx-search { display: flex; flex-wrap: wrap; gap: 8px; }
.wx-search input, .admin-form input, .admin-form textarea { min-height: 44px; padding: 8px 12px; background: var(--surface); color: var(--text); border: 1px solid #3a414d; border-radius: 4px; font: inherit; }
.wx-search input { width: 160px; }
.wx-alerts { display: grid; gap: 10px; margin-bottom: 20px; }
.wx-alert { border: 1px solid var(--line); border-left: 6px solid #e7b416; border-radius: 6px; background: var(--surface); padding: 12px 16px; }
.wx-alert summary { cursor: pointer; font-size: 18px; }
.wx-alert p { white-space: pre-line; color: #d4d9e1; }
.wx-alert.sev-extreme { border-left-color: #c026d3; background: #241226; }
.wx-alert.sev-severe { border-left-color: var(--red-hot); background: #241010; }
.wx-alert.sev-moderate { border-left-color: var(--amber); }
.wx-instruction { font-weight: 600; }
.wx-clear { margin: 0 0 20px; padding: 12px 16px; border: 1px solid var(--line); border-left: 6px solid #2fbf71; border-radius: 6px; background: var(--surface); }
.wx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.wx-card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 22px; margin-bottom: 20px; }
.wx-grid .wx-card { margin-bottom: 0; }
.wx-card h3 { margin-top: 0; }
.wx-brief-body p { color: #dfe4ea; margin: 0 0 12px; }
.wx-map { height: 340px; border-radius: 6px; overflow: hidden; background: #0b0e12; }
.wx-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.chip { padding: 6px 12px; border: 1px solid #3a414d; border-radius: 999px; font-size: 14px; font-weight: 600; }
.chip-amber { border-color: var(--amber); color: var(--amber); }
.chip-red { border-color: var(--red-hot); color: #fff; background: rgba(227, 32, 27, .25); }
.wx-tropics { margin: 0; padding-left: 18px; }
.wx-tropics li { margin-bottom: 8px; }
.wx-days { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px; }
.wx-day { text-align: center; padding: 12px 6px; border: 1px solid var(--line); border-radius: 6px; background: #11151b; }
.wx-day p { margin: 0; }
.wx-model { border-style: dashed; opacity: .9; }
.wx-dname { font: italic 800 18px/1.1 var(--display); text-transform: uppercase; }
.wx-glyph { display: block; font-size: 30px; margin: 6px 0; }
.wx-temps strong { font-size: 20px; }
.wx-temps span { color: var(--muted); }
.wx-text { font-size: 13px; min-height: 2.6em; color: #d4d9e1; }
.wx-compact { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; padding: 20px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.wx-now { display: flex; align-items: center; gap: 14px; }
.wx-now .wx-glyph { font-size: 44px; margin: 0; }
.wx-now strong { font-size: 26px; }
.wx-now p { margin: 0; color: var(--muted); }
.wx-compact .wx-chips { margin: 0; flex: 1; }

.storm-banner { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; justify-content: center; padding: 10px 16px; background: var(--red); color: #fff; font-weight: 600; text-align: center; }
.storm-banner[hidden] { display: none; }
.storm-banner a { color: #fff; font-weight: 800; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: #fff; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .2; } }
.live-feed { display: grid; gap: 12px; }
.update { padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 6px; }
.update time { color: var(--amber); font: 600 16px/1 var(--display); letter-spacing: .03em; }
.update p { margin: 6px 0; white-space: pre-line; }
.video-live img { opacity: .55; }

.process { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.process li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; align-items: start; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.process li > span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--red); font: italic 800 28px/1 var(--display); }
.process h3 { margin-top: 2px; }
.process p { margin: 0; color: var(--muted); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.card-red { border-top-color: var(--red-hot); background: #1d1012; }

.admin-form { display: grid; gap: 16px; }
.admin-form label { display: grid; gap: 6px; font-weight: 600; }
.admin-form fieldset { display: grid; gap: 12px; border: 1px solid var(--line); border-radius: 8px; padding: 16px; }
.admin-form legend { padding: 0 6px; font: italic 800 20px/1 var(--display); text-transform: uppercase; }

@media (max-width: 1100px) { .nav nav { gap: 14px; } .nav nav a:not(.btn) { font-size: 14px; } .wx-days { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 860px) { .wx-grid, .two-even, .cards-2 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .wx-days { grid-template-columns: repeat(2, minmax(0, 1fr)); } .wx-search input { flex: 1; } }
[data-space] { margin-top: 30px; }
