:root {
  --ink: #1b232e;
  --muted: #4a5565;
  --soft: #5b6575;
  --navy: #0b2340;
  --navy-2: #12325a;
  --navy-line: #2a4c78;
  --red: #b3261e;
  --red-dark: #8f1d16;
  --gold: #d9b45a;
  --ground: #f6f5f1;
  --card: #ffffff;
  --line: #dcdad3;
  --line-soft: #eceae4;
  --radius: 6px;
  --serif: Merriweather, Georgia, serif;
  --sans: 'Public Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 16px/1.5 var(--sans); }
img { max-width: 100%; display: block; }
a { color: #163d6b; }
a:hover { color: var(--navy); }
h1, h2, h3 { color: var(--navy); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.soft { color: #b7c4d8; }
.small { font-size: 14px; }
.num { font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #f0a35e; outline-offset: 2px; }

/* Banner, header, nav */
.gov-banner { background: var(--navy); color: #c9d4e3; font-size: 13px; padding: 8px 0; }
.gov-banner .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; }
.gov-banner a { color: #c9d4e3; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header.fire { border-bottom: 4px solid var(--red); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--navy); }
.brand span { display: flex; flex-direction: column; }
.brand b { font-family: var(--serif); font-weight: 900; font-size: 22px; line-height: 1.15; }
.brand small { font-size: 13px; color: var(--muted); }
.seal { flex: none; }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px; font-weight: 600; font-size: 15px; }
.main-nav a { padding: 12px 14px; text-decoration: none; color: var(--navy); border-bottom: 3px solid transparent; }
.main-nav a[aria-current="page"] { border-bottom-color: var(--navy); }
.site-header.fire .main-nav a[aria-current="page"] { border-bottom-color: var(--red); }
.main-nav a:hover { background: #f1f0ec; }
.main-nav .nav-cta { background: var(--red); color: #fff; border-radius: 4px; border-bottom: 0; padding: 12px 18px; margin-left: 4px; }
.main-nav .nav-cta:hover { background: var(--red-dark); color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; font-weight: 700; text-decoration: none; border-radius: 4px; border: 2px solid transparent; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: #163d6b; color: #fff; }
.btn-outline-light { border-color: #fff; color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: #f1f0ec; color: var(--ink); }

/* Heroes */
.hero { color: #fff; }
.hero.navy { background: var(--navy); }
.hero.ember { background: #1a1414; }
.hero .wrap { padding-top: 64px; padding-bottom: 64px; }
.hero-row { display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.hero-text { flex: 999 1 540px; min-width: 0; }
.hero h1 { color: #fff; margin: 0 0 18px; font-family: var(--serif); font-weight: 900; font-size: clamp(34px, 5vw, 50px); line-height: 1.12; max-width: 820px; }
.eyebrow { margin: 0 0 12px; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.ember-eyebrow { color: #f0a35e; }
.lead { margin: 0 0 28px; font-size: 19px; line-height: 1.6; color: #d3dcea; max-width: 640px; }
.hero.ember .lead { color: #e1d6d2; }
.hero-panel { flex: 1 1 320px; min-width: 0; background: var(--navy-2); border: 1px solid var(--navy-line); border-radius: var(--radius); padding: 24px; }
.panel-title { margin: 0 0 8px; font-weight: 700; font-size: 14px; color: var(--gold); text-transform: uppercase; letter-spacing: .08em; }
.panel-row { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--navy-line); }
.panel-link { display: inline-block; margin-top: 12px; color: #fff; font-weight: 600; }
.panel-link:hover { color: #fff; }
.hero-photo { flex: 1 1 380px; min-width: 0; max-height: 380px; object-fit: cover; border-radius: var(--radius); }

/* Sections and cards */
.section { padding-top: 56px; padding-bottom: 24px; }
.section:last-child { padding-bottom: 72px; }
.page-top { padding-top: 48px; }
.section h2 { margin: 0 0 20px; font-family: var(--serif); font-size: 30px; }
.page-title { margin: 0 0 8px; font-family: var(--serif); font-size: clamp(30px, 4vw, 40px); }
.section-lead { margin: -12px 0 28px; font-size: 17px; color: var(--muted); max-width: 760px; }
.page-top .section-lead { margin-top: 0; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.pad { padding: 22px; }
.pad-sm { padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.card-title { margin: 0 0 14px; font-size: 18px; }
.grid { display: grid; gap: 20px; }
.grid-260 { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid-270 { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.grid-280 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.stack { display: flex; flex-direction: column; gap: 14px; }
.kicker { display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--red); }
.empty { padding: 28px; }
.empty p { margin: 0 0 4px; }
.more { display: inline-block; margin-top: 8px; font-weight: 600; }

.avatar { width: 64px; height: 64px; border-radius: 50%; background: #e3e7ee; color: var(--muted); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.avatar.sm { width: 40px; height: 40px; font-size: 14px; }
.avatar.xs { width: 34px; height: 34px; font-size: 12px; }

.official { padding: 22px; display: flex; gap: 16px; align-items: center; }
.official > div { display: flex; flex-direction: column; gap: 3px; }
.official-name { font-size: 18px; }

.dept { padding: 24px; display: flex; flex-direction: column; gap: 10px; border-top: 4px solid #163d6b; text-decoration: none; color: var(--ink); }
a.dept:hover { box-shadow: 0 4px 14px rgba(11,35,64,.12); color: var(--ink); }
.dept.tone-fire { border-top-color: var(--red); }
.dept-off { border-top-color: #b9bec7; }
.dept-name { font-size: 20px; color: var(--navy); }
.dept-status { font-size: 13px; font-weight: 700; color: var(--soft); }
.dept-status.live { color: var(--red); }

.split { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.split-main { flex: 999 1 560px; min-width: 0; }
.split-side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.split-main h2 { margin-top: 0; }
.person { display: flex; gap: 12px; align-items: center; padding: 8px 0; }
.person > span:last-child { display: flex; flex-direction: column; }

.danger { display: flex; align-items: center; gap: 14px; }
.danger-chip { padding: 10px 16px; font-weight: 800; border-radius: 4px; text-transform: uppercase; white-space: nowrap; }
.d-low { background: #2f7d3a; color: #fff; }
.d-moderate { background: #1f5fa8; color: #fff; }
.d-high { background: #e9b10e; color: #1b232e; }
.d-veryhigh { background: #e08a1e; color: #1b232e; }
.d-extreme { background: var(--red); color: #fff; }

.station { overflow: hidden; }
.station img { width: 100%; height: 150px; object-fit: cover; }
.station-tile { height: 130px; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.station-tile span { font-family: var(--serif); font-weight: 900; font-size: 56px; color: var(--gold); }
.station-name { font-size: 18px; color: var(--navy); }
.station-units { font-size: 14px; font-weight: 600; color: var(--red); }

.recruit { background: var(--red); color: #fff; border-radius: var(--radius); padding: 40px; display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.recruit > div { flex: 1 1 420px; }
.recruit h2 { color: #fff; margin: 0 0 8px; font-size: 28px; }
.recruit p { margin: 0; font-size: 17px; color: #fbe3e0; }

/* Roster */
.filters { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; padding: 18px 20px; margin-bottom: 28px; }
.filters[hidden] { display: none; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; flex: 1 1 160px; }
.field.grow { flex: 2 1 240px; }
.field input, .field select { height: 44px; padding: 0 12px; border: 1px solid #b9bec7; border-radius: 4px; font: inherit; font-size: 15px; font-weight: 400; background: #fff; color: var(--ink); }
.check { display: flex; align-items: center; gap: 8px; height: 44px; font-size: 15px; }
.check input { width: 18px; height: 18px; }
.roster-group { margin-bottom: 32px; }
.group-title { margin: 0 0 12px !important; font-family: var(--sans) !important; font-size: 14px !important; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--red); }
.table-box { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; table-layout: fixed; }
.table th:nth-child(1) { width: 24%; } .table th:nth-child(2) { width: 18%; } .table th:nth-child(3) { width: 18%; }
.table th:nth-child(4) { width: 22%; } .table th:nth-child(5) { width: 8%; } .table th:nth-child(6) { width: 10%; }
.table th { background: #f1f0ec; text-align: left; font-size: 13px; font-weight: 600; color: var(--muted); padding: 12px 18px; }
.table td { padding: 14px 18px; border-top: 1px solid var(--line-soft); vertical-align: middle; }
.name-cell { display: flex; align-items: center; gap: 12px; }
.duty { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--soft); white-space: nowrap; }
.duty i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.duty.on { color: #2f7d3a; }

/* Careers */
.job { padding: 22px 24px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.job-text { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.job-title { font-size: 20px; color: var(--navy); }
.job-status { font-size: 14px; font-weight: 700; color: var(--soft); }
.job-status.open { color: #2f7d3a; }

/* Footer */
.site-footer { background: var(--navy); color: #c9d4e3; font-size: 14px; }
.site-footer .wrap { padding-top: 40px; padding-bottom: 40px; }
.site-footer p { margin: 6px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 16px; font-weight: 600; }
.footer-links a { color: #fff; }

@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .hero .wrap { padding-top: 44px; padding-bottom: 44px; }
  .recruit { padding: 28px; }
  .main-nav { width: 100%; }
  .main-nav a { padding: 10px 10px; }
}
