:root {
  --ink: #111315;
  --charcoal: #1a1d20;
  --slate: #282d32;
  --panel: #202428;
  --line: #41474d;
  --button-grey: #4a4a4a;
  --button-grey-hover: #5a5a5a;
  --paper: #f1f3f4;
  --muted: #aeb4ba;
  --red: #d52b32;
  --red-dark: #8f171d;
  --amber: #f2b544;
  --green: #64b88a;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; }
body { min-width: 320px; margin: 0; color: var(--paper); background: radial-gradient(circle at 86% 0%, #3b1e20 0, transparent 29rem), linear-gradient(145deg, #101214, #1b1f23 56%, #131517); }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; opacity: .12; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to bottom, black, transparent 75%); }
a { color: inherit; }
.shell { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(17,19,21,.9); backdrop-filter: blur(12px); position: sticky; top: 0; z-index: 10; }
.header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { color: var(--paper); text-decoration: none; display: inline-flex; align-items: center; gap: .7rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.brand-mark { width: 28px; height: 28px; display: grid; place-items: center; color: #fff; background: var(--red); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); font-size: .78rem; }
.nav { display: flex; align-items: center; justify-content: flex-end; gap: .25rem; flex-wrap: wrap; }
.nav a { color: var(--muted); font-size: .78rem; text-decoration: none; font-weight: 800; letter-spacing: .08em; padding: .55rem .7rem; text-transform: uppercase; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--paper); border-bottom-color: var(--red); }
.nav .nav-cta { color: #fff; background: var(--red); border-bottom: 0; margin-left: .35rem; }
.nav .nav-cta:hover, .nav .nav-cta[aria-current="page"] { background: #ed3b43; border-bottom: 0; }
.c2-time-bar { position: sticky; top: 68px; z-index: 9; border-bottom: 1px solid #555c62; background: #34383c; box-shadow: 0 5px 12px rgba(0,0,0,.22); }
.c2-time-bar .shell { min-height: 58px; display: flex; align-items: center; justify-content: center; }
.c2-clock { display: block; width: 100%; padding: .75rem 1rem; color: #fff; background: linear-gradient(90deg, #3f4449, #50555a, #3f4449); border-inline: 1px solid #646a70; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: clamp(.95rem, 2vw, 1.38rem); font-weight: 900; font-variant-numeric: tabular-nums; letter-spacing: .055em; line-height: 1.15; text-align: center; white-space: nowrap; }
main { padding: 3.5rem 0 2rem; }
.eyebrow { margin: 0 0 .7rem; color: #ef5c62; font-size: .74rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
h1,h2,h3,p { margin-top: 0; } h1 { margin-bottom: 1rem; max-width: 900px; font-size: clamp(2.35rem, 6vw, 5.25rem); line-height: .96; letter-spacing: -.055em; } h2 { margin-bottom: .55rem; font-size: clamp(1.3rem, 2.7vw, 2rem); line-height: 1.05; } h3 { margin-bottom: .45rem; font-size: 1.02rem; } .lede { max-width: 720px; color: var(--muted); font-size: clamp(1rem, 2vw, 1.18rem); line-height: 1.6; }
.hero { padding: clamp(1.5rem, 5vw, 4.5rem) 0 2.5rem; }
.hero-split { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, .8fr); gap: 2rem; align-items: end; }
.rule { width: 72px; height: 5px; margin: 1.4rem 0; background: var(--red); }
.dedication { color: #fff; font-size: .92rem; font-weight: 700; }.dedication span { color: #ef5c62; text-transform: uppercase; font-size: .72rem; letter-spacing: .12em; margin-right: .45rem; }
.arena { margin: 0; padding: 1.5rem; border-left: 5px solid var(--red); background: linear-gradient(135deg, #2a2e32, #1c2023); box-shadow: 16px 16px 0 rgba(0,0,0,.18); }.arena p { margin: 0; font-family: Georgia, serif; color: #f7f7f7; font-size: 1.04rem; line-height: 1.55; }.arena cite { display: block; margin-top: 1rem; color: var(--muted); font-style: normal; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.section { padding: 1.4rem 0 2.4rem; }.section-top { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); padding-bottom: .75rem; }.section-top p { margin: 0; color: var(--muted); font-size: .88rem; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }.grid.dense { grid-template-columns: repeat(4, 1fr); }.card { min-height: 220px; display: flex; flex-direction: column; padding: 1.25rem; background: linear-gradient(145deg, #282d31, #1d2023); border: 1px solid var(--line); position: relative; overflow: hidden; }.card::after { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 3px; background: var(--red); }.card.pending::after { background: #656c72; }.card.tier-1 { border-color: rgba(239,92,98,.45); }.card.tier-1::after { height: 4px; background: #ef5c62; }.card.tier-2 { border-color: rgba(242,181,68,.4); }.card.tier-2::after { height: 3px; background: #f2b544; }.card.tier-3 { border-color: var(--line); }.card.tier-3::after { height: 2px; background: #656c72; }.card-badge { display: inline-flex; align-items: center; width: fit-content; padding: .2rem .45rem; margin-bottom: .65rem; font-size: .62rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; border-radius: 2px; line-height: 1.2; }.card-badge.tier-1 { color: #fff; background: rgba(239,92,98,.25); border: 1px solid #ef5c62; }.card-badge.tier-2 { color: #f2b544; background: rgba(242,181,68,.18); border: 1px solid #f2b544; }.card-badge.tier-3 { color: #8c959d; background: rgba(101,108,114,.2); border: 1px solid #656c72; }.card .status { margin: 0 0 .85rem; color: #ef5c62; font-size: .67rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }.card.pending .status { color: var(--muted); }.card p:last-of-type { color: var(--muted); font-size: .9rem; line-height: 1.45; }.card .actions { margin-top: auto; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 2.5rem; padding: .55rem .8rem; color: #fff; background: var(--button-grey); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; border: 1px solid var(--button-grey); cursor: pointer; }.button:hover { background: var(--button-grey-hover); border-color: var(--button-grey-hover); }.button:disabled { cursor: not-allowed; opacity: .45; }.button.secondary { color: var(--paper); background: transparent; border-color: var(--line); }.button.secondary:hover { border-color: var(--paper); background: rgba(255,255,255,.06); }
.master-links { padding-top: 2rem; }.master-link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }.master-link { min-height: 300px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: .9rem; padding: clamp(1.25rem, 3vw, 2rem); color: #fff; text-decoration: none; border: 2px solid #626970; background: linear-gradient(145deg, #363c42, #202428); box-shadow: 10px 10px 0 rgba(0,0,0,.18); transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease; }.master-link:hover, .master-link:focus-visible { transform: translateY(-4px); border-color: #fff; box-shadow: 14px 14px 0 rgba(0,0,0,.25); outline: 0; }.master-link.weather-link { border-top: 7px solid var(--red); }.master-link.tropical-link { border-top: 7px solid #3c79a6; }.master-link.gsd-link { border-top: 7px solid var(--amber); }.master-link-kicker { color: var(--muted); font-size: .75rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }.master-link strong { font-size: clamp(1.7rem, 3vw, 2.75rem); line-height: .95; letter-spacing: -.045em; }.master-link > span:not(.master-link-kicker) { color: var(--muted); line-height: 1.45; }.master-link b { margin-top: auto; color: #fff; font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; }
.module-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 1rem; }.module { min-height: 255px; padding: 1.25rem; background: #202428; border: 1px solid var(--line); }.module.primary { background: linear-gradient(145deg, #302124, #1c2023); border-color: #744044; }.module-icon { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: .9rem; background: var(--red); color: #fff; font-weight: 900; }.module.flood .module-icon { background: #3c79a6; }.module.fire .module-icon { background: #d76b27; }.module ul { padding-left: 1.1rem; margin: .9rem 0; color: var(--muted); font-size: .88rem; line-height: 1.65; }.status-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }.status-strip div { padding: 1rem; background: var(--charcoal); }.status-strip strong { display: block; color: var(--paper); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }.status-strip span { color: var(--muted); font-size: .84rem; }.live { color: var(--green) !important; }.pending-text { color: var(--amber) !important; }
.site-footer { margin-top: 2rem; border-top: 1px solid var(--line); }.footer-inner { display: flex; justify-content: space-between; gap: 1rem; padding: 1.4rem 0; color: var(--muted); font-size: .75rem; }.footer-inner strong { color: var(--paper); }
/* Phase 2 operations workspace */
.ops-shell { padding-top: 2.5rem; }.ops-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; padding: 1.25rem 0 2rem; }.ops-heading h1 { margin-bottom: .6rem; }.ops-notice { max-width: 280px; margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.5; text-align: right; }.ops-workspace { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(0, 1.8fr); gap: 1rem; align-items: stretch; }.ops-panel, .map-panel { border: 1px solid var(--line); background: linear-gradient(145deg, rgba(40,45,50,.96), rgba(27,31,35,.96)); }.ops-panel { padding: clamp(1.15rem, 2.5vw, 1.7rem); border-top: 4px solid var(--red); }.ops-panel h2 { margin-bottom: 1.5rem; }.field { margin-bottom: 1.1rem; }.field label { display: block; margin-bottom: .48rem; color: var(--paper); font-size: .75rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }.field select { width: 100%; min-height: 2.8rem; padding: .6rem .7rem; color: var(--paper); background: #15181b; border: 1px solid #596068; border-radius: 0; font: inherit; }.field select:focus, .button:focus-visible { outline: 3px solid rgba(242,181,68,.65); outline-offset: 2px; }.field select:disabled { color: #858c93; background: #171a1d; cursor: not-allowed; }.field-help, .mission-status { min-height: 1.35em; margin: .5rem 0 0; color: var(--muted); font-size: .78rem; line-height: 1.45; }.mission-status { margin-top: .9rem; color: var(--green); font-weight: 700; }.mission-button { width: 100%; margin-top: .35rem; background: var(--red); border-color: var(--red-dark); }.mission-button:not(:disabled):hover { background: #ed3b43; border-color: #ed3b43; }.map-panel { min-width: 0; padding: 1rem; border-top: 4px solid var(--amber); }.map-heading { display: flex; align-items: start; justify-content: space-between; gap: 1rem; padding: .25rem .25rem .85rem; }.map-heading h2 { margin: 0; }.map-badge { padding: .35rem .5rem; color: var(--amber); border: 1px solid rgba(242,181,68,.5); font-size: .66rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }#map { position: relative; display: block; height: 460px; min-height: 460px; width: 100%; overflow: hidden; border: 1px solid #687078; background: #182127; }.leaflet-container { font: inherit; }.map-caption { margin: .8rem .25rem .2rem; color: var(--muted); font-size: .78rem; line-height: 1.45; }.mission-gate { width: min(480px, calc(100% - 2rem)); padding: 1.5rem; color: var(--paper); background: #22272b; border: 1px solid #676f76; box-shadow: 0 24px 70px rgba(0,0,0,.6); }.mission-gate::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(3px); }.mission-gate h2 { margin-bottom: .7rem; }.mission-gate p:not(.eyebrow) { color: var(--muted); line-height: 1.5; }.mission-summary { padding: .8rem; color: var(--paper) !important; background: #15181b; border-left: 3px solid var(--amber); font-weight: 800; }.dialog-actions { display: flex; justify-content: flex-end; gap: .65rem; margin-top: 1.35rem; }
.damage-popup { color: #1a1d20; font-size: .86rem; line-height: 1.4; }.damage-popup h3 { margin: .2rem 0 .65rem; font-size: 1rem; }.damage-popup__severity { margin: 0; color: #9d171d; font-size: .68rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }.damage-popup dl { margin: 0; }.damage-popup dl div { display: grid; grid-template-columns: 5.4rem 1fr; gap: .45rem; padding: .35rem 0; border-top: 1px solid #d8dde0; }.damage-popup dt { color: #596068; font-size: .66rem; font-weight: 900; letter-spacing: .06em; }.damage-popup dd { margin: 0; overflow-wrap: anywhere; }.damage-popup__note { margin: .7rem 0 0; color: #596068; font-size: .74rem; }.damage-point { filter: drop-shadow(0 1px 2px rgba(0,0,0,.5)); }.damage-swath { pointer-events: auto; }.map-panel { position: relative; }.mission-active-banner { position: absolute; z-index: 700; top: 5rem; right: 1.7rem; left: 1.7rem; padding: .75rem 1rem; color: #ecfff3; background: rgba(22, 77, 48, .94); border: 1px solid #64b88a; box-shadow: 0 4px 16px rgba(0,0,0,.28); font-size: .8rem; font-weight: 800; line-height: 1.4; }.map-badge.is-active { color: #b7f1d0; border-color: #64b88a; background: rgba(100,184,138,.13); }.mission-status.is-active { color: #b7f1d0; }.mission-ao-label { color: #ecfff3; background: rgba(22,77,48,.92); border: 1px solid #64b88a; border-radius: 0; box-shadow: none; font-weight: 800; }.mission-ao-label::before { border-top-color: #64b88a !important; }
@media (max-width: 850px) { .header-inner { flex-wrap: wrap; }.c2-time-bar { top: 68px; }.c2-clock { font-size: clamp(.78rem, 2.5vw, 1rem); overflow-x: auto; }.hero-split, .module-grid, .master-link-grid, .ops-workspace { grid-template-columns: 1fr; }.grid.dense { grid-template-columns: repeat(2, 1fr); }.grid { grid-template-columns: repeat(2, 1fr); }.ops-heading { align-items: start; flex-direction: column; gap: .7rem; }.ops-notice { max-width: none; text-align: left; } #map { min-height: 380px; } }
@media (max-width: 620px) { .shell { width: min(var(--max), calc(100% - 1.15rem)); }.header-inner { padding: .65rem 0; align-items: flex-start; }.brand { padding-top: .45rem; }.nav { gap: 0; }.nav a { padding: .42rem; font-size: .67rem; }.nav .nav-cta { margin-left: 0; }.c2-time-bar { top: 68px; }.c2-time-bar .shell { min-height: 48px; width: 100%; }.c2-clock { padding: .62rem .4rem; font-size: .68rem; letter-spacing: 0; } main { padding-top: 2rem; }.grid, .grid.dense, .status-strip { grid-template-columns: 1fr; }.card { min-height: 180px; }.footer-inner { flex-direction: column; }.ops-shell { padding-top: 1.5rem; }.map-heading { align-items: flex-start; flex-direction: column; }.map-badge { white-space: normal; } #map { min-height: 320px; }.dialog-actions { flex-direction: column-reverse; }.dialog-actions .button { width: 100%; } }
