/* KWSO website — "on duty" theme: patch black + olive, condensed uniform type, dispatch-style labels */
:root {
  --bg: #0b0b0a;
  --ink: #131411;
  --panel: #181a14;
  --line: #2b2d22;
  --bone: #ecebdf;
  --muted: #a3a393;
  --olive: #6b7332;
  --olive-dark: #4a5022;
  --olive-hi: #c4cf6a;
  --alert: #e0453f;
  --olive-rgb: 107,115,50;
  --olive-hover: #7f893c;
  --live: #5bd36b;
  --tint: #14160e;
  --band: #6b7332;
  --on-band: #0b0c06;
  --max: 1200px;
  --cut: 20px;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", Consolas, "Courier New", monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--bone); font: 400 18px/1.6 var(--body); }
img { max-width: 100%; display: block; }
a { color: var(--olive-hi); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 4px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--olive-hi); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--olive-hi); color: #000; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .95; margin: 0; letter-spacing: .005em; }
.cut { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); }

/* Status strip */
.strip { background: #000; border-bottom: 1px solid var(--line); }
.strip .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 30px; padding-top: 8px; padding-bottom: 8px; color: var(--muted); font: 500 15px/1.3 var(--body); }
.strip b { color: var(--bone); font-weight: 600; }
.strip .sos { color: #fff; background: var(--alert); padding: 2px 10px; border-radius: 3px; font-weight: 700; letter-spacing: .02em; }
.strip a { color: var(--bone); }
.strip a.sos-link { display: inline-flex; align-items: center; gap: 8px; background: var(--alert); color: #fff; font-weight: 700; font-size: 15px; letter-spacing: .01em; padding: 4px 14px 4px 10px; border-radius: 4px; text-decoration: none; }
.strip a.sos-link:hover { background: #f05a54; text-decoration: none; }
.strip a.sos-link svg { width: 16px; height: 16px; flex: none; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--live); margin-right: 8px; box-shadow: 0 0 8px var(--live); }


/* Accessibility toggle (stays blue in every theme) */
.a11y-toggle { margin-left: auto; display: inline-flex; align-items: center; gap: 9px; cursor: pointer; background: #1f6fb2; color: #fff; border: 0; padding: 6px 14px 6px 10px; border-radius: 999px; font: 600 14px/1 var(--body); letter-spacing: .01em; box-shadow: 0 0 0 1px rgba(255,255,255,.28); }
.a11y-toggle:hover { background: #2a82cc; }
.a11y-toggle:focus-visible { outline: 3px solid #f0e442; outline-offset: 2px; }
.a11y-toggle svg { width: 18px; height: 18px; flex: none; }
.a11y-toggle .state { background: rgba(255,255,255,.22); padding: 3px 8px; border-radius: 4px; font-weight: 700; }
.a11y-toggle[aria-pressed="true"] { background: #fff; color: #11406b; }
.a11y-toggle[aria-pressed="true"] .state { background: #11406b; color: #fff; }

/* Header */
header.site { background: rgba(11,11,10,.96); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(6px); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 88px; }
.brand { display: flex; align-items: center; gap: 16px; color: var(--bone); }
.brand:hover { text-decoration: none; }
.brand img { width: 52px; height: auto; }
.brand b { display: block; font: 800 32px/.92 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.brand .kw { display: block; margin: 0 0 5px; font: 600 14px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--olive-hi); }
.brand span { display: block; margin-top: 5px; color: var(--olive-hi); }
nav.main ul { display: flex; gap: 0; list-style: none; margin: 0; padding: 0; }
nav.main a { display: block; padding: 12px 16px; color: var(--bone); font: 600 17px/1 var(--body); letter-spacing: .01em; border-bottom: 3px solid transparent; }
nav.main a:hover { text-decoration: none; color: var(--olive-hi); border-bottom-color: var(--olive); }
nav.main a[aria-current="page"] { color: #fff; border-bottom-color: var(--olive-hi); }
.menu-btn { display: none; background: none; border: 2px solid var(--olive); border-radius: 4px; color: var(--bone); padding: 10px 18px; font: 600 16px var(--body); }

/* Hero */
.hero { position: relative; padding: 96px 0 clamp(120px, 14vw, 220px); overflow: hidden;
  background:
    linear-gradient(180deg, transparent 0%, transparent 52%, rgba(11,11,10,.55) 74%, rgba(11,11,10,.9) 90%, var(--bg) 100%),
    radial-gradient(760px 620px at 100% 0%, rgba(var(--olive-rgb),.38), transparent 70%),
    linear-gradient(90deg, rgba(11,11,10,.96) 0%, rgba(11,11,10,.82) 40%, rgba(11,11,10,.25) 75%, rgba(11,11,10,.1) 100%),
    url("../assets/hero.jpg") center bottom / cover no-repeat,
    linear-gradient(180deg, var(--tint), var(--bg)); }
.hero-patch { display: none; position: absolute; right: -90px; top: 46%; transform: translateY(-50%); height: 700px; width: auto; opacity: .12; pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.tag { display: inline-block; color: var(--olive-hi); border: 1px solid var(--olive); padding: 5px 12px; margin-bottom: 26px; }
.hero h1 { font-size: clamp(56px, 8.2vw, 124px); line-height: .84; letter-spacing: -.005em; max-width: 620px; }
.hero h1 span { display: block; color: transparent; -webkit-text-stroke: 2px var(--olive-hi); }
.hero p.lead { max-width: 500px; margin: 28px 0 32px; color: #d7d6c8; font-size: 20px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-block; padding: 16px 26px; font: 600 14px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; background: var(--olive); color: #f3f2e6; border: 0; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)); }
.btn:hover { background: var(--olive-hover); text-decoration: none; }
.btn.ghost { background: transparent; color: var(--bone); box-shadow: inset 0 0 0 2px var(--olive); }
.btn.ghost:hover { background: rgba(var(--olive-rgb),.25); }

/* Index list */
.index { margin-top: -70px; position: relative; z-index: 2; }
.index ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.index a { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 8px; padding: 20px 4px; border-bottom: 1px solid var(--line); color: var(--bone); transition: background .15s, padding .15s; }
.index a:hover { background: var(--ink); padding-left: 16px; text-decoration: none; }
.index .n { font: 600 14px var(--mono); color: var(--olive-hi); letter-spacing: .1em; }
.index h3 { font-size: 34px; }
.index p { margin: 4px 0 0; color: var(--muted); font-size: 16px; line-height: 1.3; }
.index .arr { font: 700 28px var(--display); color: var(--olive); }
.index a:hover .arr { color: var(--olive-hi); }

/* Statement */
section.block { padding: 96px 0 0; }
.kicker { color: var(--olive-hi); display: block; margin-bottom: 14px; }
.statement { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: start; }
.statement h2 { font-size: clamp(44px, 6vw, 84px); line-height: .9; }
.statement h2 em { font-style: normal; color: var(--olive-hi); }
.statement p { color: #cfcebf; max-width: 560px; }
.tenets { list-style: none; margin: 26px 0 0; padding: 0; counter-reset: t; }
.tenets li { counter-increment: t; display: grid; grid-template-columns: 48px 1fr; padding: 14px 0; border-top: 1px solid var(--line); }
.tenets li::before { content: "0" counter(t); font: 600 13px var(--mono); color: var(--olive-hi); padding-top: 4px; }

/* Readout band */
.readout { margin-top: 96px; background: var(--band); color: var(--on-band); }
.readout .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.readout .s { padding: 34px 20px 30px; border-left: 2px solid rgba(0,0,0,.28); }
.readout .s:first-child { border-left: 0; padding-left: 0; }
.readout b { display: block; font: 800 78px/.9 var(--display); }
.readout span { display: block; margin-top: 8px; font: 600 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; }

/* Roster (programs) */
.roster h2.big { font-size: clamp(44px, 6vw, 84px); margin-bottom: 40px; }
.row { display: grid; grid-template-columns: 90px 1fr 1.4fr auto; gap: 24px; align-items: baseline; padding: 24px 0; border-top: 1px solid var(--line); }
.row:last-child { border-bottom: 1px solid var(--line); }
.row .n { font: 800 46px/1 var(--display); color: var(--olive); }
.row h3 { font-size: 36px; }
.row p { margin: 0; color: var(--muted); }
.row a { font: 600 13px var(--mono); letter-spacing: .14em; text-transform: uppercase; }

/* Visit */
.visit { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.panel { background: var(--ink); border-top: 5px solid var(--olive); padding: 34px; }
.panel h3 { font-size: 40px; margin-bottom: 18px; }
dl.contact { margin: 0; display: grid; grid-template-columns: 120px 1fr; gap: 12px 16px; }
dl.contact dt { color: var(--olive-hi); padding-top: 5px; }
dl.contact dd { margin: 0; }
.log .item { display: grid; grid-template-columns: 150px 1fr; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); }
.log time { color: var(--olive-hi); padding-top: 6px; }
.log h4 { margin: 0 0 4px; font: 700 24px/1.1 var(--display); text-transform: uppercase; }
.log p { margin: 0; color: var(--muted); font-size: 16px; }

/* Inner pages */
.page-head { padding: 64px 0 80px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 36px), 0 100%);
  background: radial-gradient(600px 400px at 100% 0%, rgba(var(--olive-rgb),.4), transparent 70%), linear-gradient(90deg, rgba(11,11,10,.95), rgba(11,11,10,.75)), url("../assets/hero.jpg") center/cover, var(--tint); }
.page-head.river { background: radial-gradient(600px 400px at 100% 0%, rgba(var(--olive-rgb),.35), transparent 70%), linear-gradient(90deg, rgba(11,11,10,.94) 0%, rgba(11,11,10,.78) 45%, rgba(11,11,10,.35) 100%), url("../assets/county.jpg") center 58%/cover, var(--tint); padding: 90px 0 110px; }
.crumbs { color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--olive-hi); }
.page-head h1 { font-size: clamp(56px, 9vw, 120px); }
.layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 56px; padding-top: 48px; }
.side { align-self: start; position: sticky; top: 110px; }
.side h2 { font: 600 12px var(--mono); letter-spacing: .2em; color: var(--olive-hi); margin: 0 0 12px; }
.side ul { list-style: none; margin: 0; padding: 0; }
.side a { display: block; padding: 12px 14px; color: var(--bone); border-top: 1px solid var(--line); font-weight: 500; }
.side li:last-child a { border-bottom: 1px solid var(--line); }
.side a:hover { background: var(--ink); text-decoration: none; }
.side a[aria-current="page"] { background: var(--olive); color: #f3f2e6; }
.prose { min-width: 0; }
.prose h2 { font-size: 52px; margin: 52px 0 14px; color: var(--bone); }
.prose h2:first-child { margin-top: 0; }
.prose li { margin: 6px 0; }
.prose ul { padding-left: 22px; }
.prose ul li::marker { color: var(--olive-hi); }
.notice { background: var(--ink); border-left: 6px solid var(--alert); padding: 18px 24px; margin: 36px 0; }

/* Content components */
.layout.single { grid-template-columns: minmax(0, 860px); }
.prose h3 { font-size: 34px; margin: 34px 0 10px; color: var(--olive-hi); }
.prose p, .prose li { color: #d6d5c8; }
.lead-in { font-size: 22px; color: var(--bone) !important; max-width: 720px; }
.steps { list-style: none; margin: 22px 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 64px 1fr; gap: 6px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font: 800 38px/1 var(--display); color: var(--olive); }
.callout { background: var(--ink); border-left: 6px solid var(--olive); padding: 22px 26px; margin: 28px 0; }
.callout .big { display: block; font: 800 54px/1 var(--display); color: var(--bone); margin: 6px 0; }
.callout .big a { color: var(--bone); }
.callout p { margin: 8px 0 0; }
.doclist { list-style: none; padding: 0 !important; margin: 18px 0; }
.doclist li { margin: 0; }
.doclist a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 4px; border-top: 1px solid var(--line); color: var(--bone); }
.doclist li:last-child a { border-bottom: 1px solid var(--line); }
.doclist a:hover { background: var(--ink); text-decoration: none; padding-left: 14px; }
.doclist a::after { content: "\2197"; color: var(--olive-hi); }
.chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 18px 0; padding: 0 !important; list-style: none; }
.chips a { display: block; padding: 14px 16px; background: var(--ink); border-top: 3px solid var(--olive); color: var(--bone); font: 600 13px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.chips a:hover { background: var(--panel); border-top-color: var(--olive-hi); text-decoration: none; }
table.roster-t { width: 100%; border-collapse: collapse; margin: 18px 0; }
table.roster-t th { text-align: left; font: 600 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--olive-hi); padding: 10px 12px 10px 0; border-bottom: 2px solid var(--olive); }
table.roster-t td { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.assign { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.assign div { background: var(--ink); border-top: 3px solid var(--olive); padding: 16px 18px; }
.assign b { display: block; font: 700 22px/1.1 var(--display); text-transform: uppercase; }
.assign span { color: var(--muted); font-size: 16px; }
@media (max-width: 700px) { .assign { grid-template-columns: 1fr; } }

/* Monthly reports */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.report-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; margin: 12px 0 8px; }
figure.report { margin: 0; }
figure.report img { width: 100%; height: auto; border: 1px solid var(--line); }
figure.report figcaption { font-size: 15px; color: var(--muted); margin-top: 8px; }
table.data-t caption { text-align: left; font: 800 26px/1.1 var(--display); text-transform: uppercase; padding: 0 0 10px; color: var(--bone); }
table.data-t td { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
table.data-t { table-layout: auto; }
table.data-t tbody th, table.data-t tbody td { padding: 9px 8px 9px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.3; }
table.data-t tbody th { font: 500 16px/1.3 var(--body); text-transform: none; letter-spacing: 0; color: var(--bone); text-align: left; padding-right: 12px; }
table.data-t thead th { font-size: 11px; }
table.data-t.wide tbody th { white-space: nowrap; }
table.data-t tr.sum th, table.data-t tr.sum td { border-top: 2px solid var(--olive); font-weight: 700; color: var(--bone); }
details.report-d { border-top: 1px solid var(--line); padding: 4px 0; }
details.report-d:last-of-type { border-bottom: 1px solid var(--line); }
details.report-d summary { cursor: pointer; padding: 14px 4px; font: 700 24px/1.2 var(--display); text-transform: uppercase; list-style: none; color: var(--bone); }
details.report-d summary::-webkit-details-marker { display: none; }
details.report-d summary::before { content: "+"; display: inline-block; width: 28px; color: var(--olive-hi); font-family: var(--mono); }
details.report-d[open] summary::before { content: "\2212"; }
details.report-d summary:hover { background: var(--ink); }
.scroll-x { overflow-x: auto; border: 1px solid var(--line); margin: 14px 0; }
.scroll-x:focus-visible { outline: 3px solid var(--olive-hi); outline-offset: 2px; }
table.data-t.wide { min-width: 1040px; margin: 0; font-size: 15px; }
table.data-t.wide th, table.data-t.wide td { padding: 10px 10px; white-space: nowrap; }
table.data-t.wide th[scope="col"] { white-space: normal; vertical-align: bottom; }
table.data-t.wide caption { padding: 12px 10px; font-size: 20px; }
.note { font-size: 15px; color: var(--muted); }
@media (max-width: 1100px) { .report-grid { grid-template-columns: 1fr; } figure.report img { max-width: 640px; } }
:root[data-theme="a11y"] table.data-t caption { font-family: var(--body); font-size: 24px; text-transform: none; }
:root[data-theme="a11y"] details.report-d summary { font-family: var(--body); font-size: 24px; text-transform: none; }
:root[data-theme="a11y"] details.report-d summary::before { font-family: var(--body); }
:root[data-theme="a11y"] .scroll-x, :root[data-theme="a11y"] figure.report img { border-color: #8793a3; }
:root[data-theme="a11y"] .note, :root[data-theme="a11y"] figure.report figcaption { color: #36404c; }

/* Sheriff portrait section */
.sheriff { display: grid; grid-template-columns: minmax(260px, 400px) minmax(0, 1fr); gap: 64px; align-items: center; }
.sheriff h2 { font-size: clamp(44px, 6vw, 80px); line-height: .92; margin: 4px 0 8px; }
.sheriff .role { color: var(--olive-hi); margin: 0 0 22px; }
.sheriff p { color: #cfcebf; max-width: 560px; }
.sheriff .btns { margin-top: 26px; }
figure.portrait { margin: 0 18px 18px 0; position: relative; }
figure.portrait::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; background: var(--olive); }
figure.portrait img { position: relative; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; display: block; }
.sheriff.compact { grid-template-columns: 170px minmax(0, 1fr); gap: 36px; margin: 0 0 40px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.sheriff.compact h2 { font-size: 44px; margin: 4px 0 6px; }
.sheriff.compact p { margin: 0; color: var(--bone); }
.sheriff.compact figure.portrait { margin: 0 12px 12px 0; }
.sheriff.compact figure.portrait::before { inset: 12px -12px -12px 12px; }
@media (max-width: 860px) { .sheriff, .sheriff.compact { grid-template-columns: 1fr; gap: 36px; } .sheriff figure.portrait { max-width: 380px; } .sheriff.compact figure.portrait { max-width: 200px; } }
:root[data-theme="a11y"] .sheriff p { color: #1b222c; }
:root[data-theme="a11y"] .sheriff .role { color: #0b4f8a; }
:root[data-theme="a11y"] .sheriff.compact p { color: #0f141a; }
:root[data-theme="a11y"] .sheriff h2 { font-size: clamp(34px, 5vw, 52px); }

/* Site alert banner */
.alert-bar { border-bottom: 2px solid transparent; }
.alert-bar .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding-top: 11px; padding-bottom: 11px; font: 600 17px/1.4 var(--body); }
.alert-bar.info { background: #2e3418; color: #f2f1e4; border-bottom-color: var(--olive-hi); }
.alert-bar.urgent { background: #7a1816; color: #fff; border-bottom-color: #ff8a84; }
.alert-label { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; background: rgba(255,255,255,.18); padding: 3px 10px; border-radius: 3px; }
.alert-bar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
:root[data-theme="a11y"] .alert-bar.info { background: #e4edf7; color: #0f141a; border-bottom: 4px solid #0b4f8a; }
:root[data-theme="a11y"] .alert-bar.urgent { background: #fbe9e7; color: #4a0000; border-bottom: 4px solid #a30000; }
:root[data-theme="a11y"] .alert-bar a { color: #0b4f8a; }
:root[data-theme="a11y"] .alert-bar.urgent a { color: #7a0000; }
:root[data-theme="a11y"] .alert-label { background: transparent; border: 2px solid currentColor; }

/* News */
.news-list .post { padding: 28px 0; border-top: 1px solid var(--line); }
.news-list .post:last-child { border-bottom: 1px solid var(--line); }
.news-list .post h2 { font-size: 40px; margin: 8px 0 12px; }
.post .meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; color: var(--olive-hi); }
.post .cat { border: 1px solid var(--olive); padding: 2px 11px; font-size: 14px; border-radius: 3px; color: var(--bone); }
.tag-sample { background: var(--alert); color: #fff; padding: 2px 10px; font-weight: 700; font-size: 13px; border-radius: 3px; }
.log h4 a { color: inherit; }
.log h4 a:hover { color: var(--olive-hi); text-decoration: none; }
:root[data-theme="a11y"] .news-list .post h2 { font-size: 30px; }
:root[data-theme="a11y"] .log h4 a { color: #0b4f8a; text-decoration: underline; }
:root[data-theme="a11y"] .tag-sample { background: #a30000; }

/* FAQ */
.faq details.report-d summary { text-transform: none; font-family: var(--body); font-weight: 700; font-size: 22px; line-height: 1.3; padding: 18px 4px; }
.faq details.report-d p { margin: 0 0 24px 32px; max-width: 720px; }

/* Spacing helpers (no inline styles, so the CSP can forbid them) */
.mt-18 { margin: 18px 0 0; }
.mt-24 { margin: 24px 0 0; }

/* Footer */
footer.site { margin-top: 110px; background: #000; border-top: 1px solid var(--line); padding: 60px 0 28px; color: var(--muted); font-size: 16px; overflow: hidden; }
footer.site .mark { font: 800 clamp(70px, 17vw, 250px)/.8 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--olive-dark); letter-spacing: .01em; margin: 0 0 40px; user-select: none; white-space: nowrap; }
footer.site .cols { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
footer.site h2 { font: 600 12px var(--mono); letter-spacing: .2em; color: var(--olive-hi); margin: 0 0 12px; }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin: 7px 0; }
footer.site a { color: var(--bone); }
footer.site .legal { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; }

@media (max-width: 980px) {
  .menu-btn { display: block; }
  nav.main { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #0b0b0a; border-bottom: 1px solid var(--olive); }
  nav.main.open { display: block; }
  nav.main ul { flex-direction: column; padding: 8px 24px 16px; }
  header.site .wrap { position: relative; }
  .hero .wrap, .statement, .visit, .layout { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 calc(52vw + 70px); background-size: auto, auto, auto, 150% auto, auto; background-position: 0 0, 0 0, 0 0, 40% 100%, 0 0; }
  .hero-patch { display: none; }
  .index ol { grid-template-columns: 1fr; }
  .row { grid-template-columns: 56px 1fr; }
  .row p, .row a { grid-column: 2; }
  .side { position: static; }
  .readout .s { border-left: 0; border-top: 2px solid rgba(0,0,0,.28); padding-left: 0; }
  .readout .s:first-child { border-top: 0; }
  .log .item { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ===== Accessibility mode: light, high contrast, larger plain type, no text over photos ===== */
:root[data-theme="a11y"] {
  --bg: #ffffff; --ink: #f1f4f8; --panel: #f6f8fb; --line: #8793a3;
  --bone: #0f141a; --muted: #36404c;
  --olive: #0b4f8a; --olive-rgb: 11,79,138; --olive-dark: #0b4f8a; --olive-hi: #0a4b8f; --olive-hover: #083a69;
  --alert: #a30000; --live: #0a7a2f; --tint: #eaf0f7; --band: #0b3d6e; --on-band: #ffffff;
  --display: "Barlow", "Segoe UI", system-ui, sans-serif; --mono: "Barlow", "Segoe UI", system-ui, sans-serif;
}
:root[data-theme="a11y"] body { font-size: 20px; line-height: 1.75; color: var(--bone); }
:root[data-theme="a11y"] * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
:root[data-theme="a11y"] a { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; }
:root[data-theme="a11y"] .brand, :root[data-theme="a11y"] nav.main a, :root[data-theme="a11y"] .btn,
:root[data-theme="a11y"] .chips a, :root[data-theme="a11y"] .side a, :root[data-theme="a11y"] .index a,
:root[data-theme="a11y"] .menu-btn, :root[data-theme="a11y"] .a11y-toggle { text-decoration: none; }
:root[data-theme="a11y"] a:hover { text-decoration-thickness: 3px; }
:root[data-theme="a11y"] a:focus-visible, :root[data-theme="a11y"] button:focus-visible { outline: 4px solid #0b4f8a; outline-offset: 3px; box-shadow: 0 0 0 7px #fff; }
:root[data-theme="a11y"] .skip { color: #fff; background: #0b4f8a; }
:root[data-theme="a11y"] h1, :root[data-theme="a11y"] h2, :root[data-theme="a11y"] h3 { font-family: var(--body); font-weight: 700; text-transform: none; line-height: 1.15; letter-spacing: 0; }
:root[data-theme="a11y"] .mono, :root[data-theme="a11y"] nav.main a, :root[data-theme="a11y"] .btn, :root[data-theme="a11y"] .menu-btn,
:root[data-theme="a11y"] .chips a, :root[data-theme="a11y"] .side h2, :root[data-theme="a11y"] footer.site h2, :root[data-theme="a11y"] .row a,
:root[data-theme="a11y"] .readout span, :root[data-theme="a11y"] .tag, :root[data-theme="a11y"] .crumbs, :root[data-theme="a11y"] .kicker,
:root[data-theme="a11y"] .index .n, :root[data-theme="a11y"] table.roster-t th { text-transform: none; letter-spacing: .01em; font-weight: 600; font-size: 17px; }
:root[data-theme="a11y"] .a11y-toggle { text-transform: none; letter-spacing: .01em; font-size: 15px; }
:root[data-theme="a11y"] .strip { background: #12263f; border-bottom: 0; }
:root[data-theme="a11y"] .strip .wrap, :root[data-theme="a11y"] .strip b, :root[data-theme="a11y"] .strip a { color: #fff; }
:root[data-theme="a11y"] .strip a.sos-link { background: #a30000; color: #fff; text-decoration: none; }
:root[data-theme="a11y"] .strip a.sos-link:hover { background: #7d0000; }
:root[data-theme="a11y"] .a11y-toggle { box-shadow: 0 0 0 2px #fff; }
:root[data-theme="a11y"] header.site { background: #fff; border-bottom: 4px solid #0b4f8a; backdrop-filter: none; }
:root[data-theme="a11y"] .brand { color: #0f141a; }
:root[data-theme="a11y"] .brand b { font-family: var(--body); font-weight: 800; font-size: 24px; text-transform: none; line-height: 1.1; }
:root[data-theme="a11y"] .brand .kw { color: #0b4f8a; font-size: 14px; letter-spacing: .12em; }
:root[data-theme="a11y"] nav.main a { color: #0f141a; }
:root[data-theme="a11y"] nav.main a:hover { color: #0b4f8a; border-bottom-color: #0b4f8a; text-decoration: none; }
:root[data-theme="a11y"] nav.main a[aria-current="page"] { color: #0b4f8a; border-bottom-color: #0b4f8a; font-weight: 800; }
:root[data-theme="a11y"] nav.main { background: #fff; }
:root[data-theme="a11y"] .menu-btn { color: #0f141a; border-color: #0b4f8a; }
/* hero: text on a plain light panel, photo shown beneath it uncovered */
:root[data-theme="a11y"] .hero { background: linear-gradient(180deg, #eaf0f7, #fff); padding: 56px 0 0; clip-path: none; overflow: visible; }
:root[data-theme="a11y"] .hero::after { content: ""; display: block; max-width: var(--max); height: clamp(220px, 38vw, 460px); margin: 40px auto 0; background: url("../assets/hero.jpg") center / cover no-repeat; border-bottom: 6px solid #0b4f8a; }
:root[data-theme="a11y"] .hero h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.08; max-width: 800px; text-shadow: none; }
:root[data-theme="a11y"] .hero h1 span { color: #0b4f8a; -webkit-text-stroke: 0; display: block; }
:root[data-theme="a11y"] .hero p.lead { color: #1b222c; font-size: 22px; max-width: 680px; }
:root[data-theme="a11y"] .tag { color: #0b4f8a; border-color: #0b4f8a; }
:root[data-theme="a11y"] .btn { clip-path: none; border-radius: 4px; color: #fff; background: #0b4f8a; font-size: 18px; padding: 16px 28px; }
:root[data-theme="a11y"] .btn:hover { background: #083a69; }
:root[data-theme="a11y"] .btn.ghost { background: #fff; color: #0b4f8a; box-shadow: inset 0 0 0 3px #0b4f8a; }
:root[data-theme="a11y"] .btn.ghost:hover { background: #e4edf7; }
:root[data-theme="a11y"] .index { margin-top: 36px; }
:root[data-theme="a11y"] .index h3 { font-size: 28px; }
:root[data-theme="a11y"] .index a:hover { background: #e4edf7; }
:root[data-theme="a11y"] .statement h2, :root[data-theme="a11y"] .roster h2.big { font-size: clamp(34px, 5vw, 56px); }
:root[data-theme="a11y"] .statement p, :root[data-theme="a11y"] .prose p, :root[data-theme="a11y"] .prose li { color: #1b222c; }
:root[data-theme="a11y"] .row h3 { font-size: 30px; }
:root[data-theme="a11y"] .row .n { font-family: var(--body); font-weight: 800; font-size: 36px; }
:root[data-theme="a11y"] .readout b { font-family: var(--body); font-weight: 800; font-size: 60px; }
:root[data-theme="a11y"] .readout .s { border-left-color: rgba(255,255,255,.4); }
:root[data-theme="a11y"] .panel { border: 2px solid #8793a3; border-top: 6px solid #0b4f8a; clip-path: none; }
:root[data-theme="a11y"] .panel h3 { font-size: 32px; }
:root[data-theme="a11y"] .log h4 { font-family: var(--body); font-weight: 700; font-size: 22px; text-transform: none; }
:root[data-theme="a11y"] .page-head, :root[data-theme="a11y"] .page-head.river { background: linear-gradient(180deg, #eaf0f7, #fff); clip-path: none; padding: 44px 0 32px; border-bottom: 5px solid #0b4f8a; }
:root[data-theme="a11y"] .page-head h1 { font-size: clamp(34px, 5vw, 56px); color: #0f141a; }
:root[data-theme="a11y"] .crumbs { color: #36404c; }
:root[data-theme="a11y"] .prose h2 { font-size: 34px; color: #0f141a; }
:root[data-theme="a11y"] .prose h3 { font-size: 26px; }
:root[data-theme="a11y"] .lead-in { color: #0f141a !important; font-size: 24px; }
:root[data-theme="a11y"] .side a { border-top-color: #8793a3; }
:root[data-theme="a11y"] .side li:last-child a { border-bottom-color: #8793a3; }
:root[data-theme="a11y"] .side a:hover { background: #e4edf7; text-decoration: underline; }
:root[data-theme="a11y"] .side a[aria-current="page"] { background: #0b4f8a; color: #fff; }
:root[data-theme="a11y"] .notice, :root[data-theme="a11y"] .callout { border: 2px solid #8793a3; border-left: 10px solid #a30000; clip-path: none; }
:root[data-theme="a11y"] .callout { border-left-color: #0b4f8a; }
:root[data-theme="a11y"] .callout .big, :root[data-theme="a11y"] .callout .big a { font-family: var(--body); font-weight: 800; font-size: 44px; color: #0f141a; }
:root[data-theme="a11y"] .chips a { background: #fff; border: 2px solid #8793a3; border-top: 5px solid #0b4f8a; color: #0b4f8a; }
:root[data-theme="a11y"] .chips a:hover { background: #e4edf7; text-decoration: underline; }
:root[data-theme="a11y"] .doclist a { color: #0b4f8a; text-decoration: underline; }
:root[data-theme="a11y"] .assign div { border: 2px solid #8793a3; border-top: 5px solid #0b4f8a; }
:root[data-theme="a11y"] .assign b { font-family: var(--body); font-size: 22px; text-transform: none; }
:root[data-theme="a11y"] footer.site { background: #12263f; border-top: 6px solid #0b4f8a; color: #e8edf3; }
:root[data-theme="a11y"] footer.site .mark { display: none; }
:root[data-theme="a11y"] footer.site a, :root[data-theme="a11y"] footer.site h2 { color: #fff; }
:root[data-theme="a11y"] footer.site .legal { border-top-color: #4a5b70; color: #d5dde8; }
@media (max-width: 980px) {
  :root[data-theme="a11y"] nav.main { border-bottom: 4px solid #0b4f8a; }
  :root[data-theme="a11y"] .hero { padding: 40px 0 0; }
}

/* ---------- Phones ---------- */
.strip-info { display: contents; }
@media (max-width: 600px) {
  /* status strip: one slim row. Big 911 button, accessibility switch as a round icon. Phone and hours live in the footer and Contact page. */
  .strip .wrap { display: flex; flex-wrap: nowrap; align-items: center; gap: 10px; padding-top: 8px; padding-bottom: 8px; }
  .strip a.sos-link { flex: 1; justify-content: center; white-space: nowrap; padding: 9px 12px; font-size: 15px; }
  .strip-info { display: none; }
  .a11y-toggle { flex: none; margin: 0; width: 40px; height: 40px; padding: 0; justify-content: center; font-size: 0; gap: 0; }
  .a11y-toggle svg { width: 24px; height: 24px; }
  .a11y-toggle .state { display: none; }

  /* header: patch, name and Menu on one clean row */
  header.site .wrap { min-height: 64px; gap: 12px; }
  .brand { gap: 10px; min-width: 0; }
  .brand img { width: 34px; flex: none; }
  .brand b { font-size: 24px; white-space: nowrap; }
  .brand .kw { font-size: 10.5px; letter-spacing: .12em; margin-bottom: 3px; white-space: nowrap; }
  .menu-btn { padding: 8px 14px; flex: none; font-size: 15px; }
  /* hero */
  .hero { padding-top: 40px; }
  .tag { font-size: 11.5px; letter-spacing: .06em; line-height: 1.4; padding: 5px 10px; margin-bottom: 20px; }
  .hero p.lead { font-size: 18px; margin: 22px 0 26px; }
  .btns { flex-direction: column; align-items: stretch; gap: 10px; }
  .btns .btn { text-align: center; padding: 16px 18px; letter-spacing: .1em; }

  /* inside pages */
  .page-head, .page-head.river { padding: 40px 0 64px; }
  .layout { padding-top: 32px; gap: 32px; }
  .prose h2 { font-size: 38px; margin: 40px 0 12px; }
  .prose h3 { font-size: 28px; }
  dl.contact { grid-template-columns: 1fr; gap: 2px 0; }
  dl.contact dt { padding-top: 14px; }
  /* the staff list stacks into cards; the report tables (also .roster-t) keep their rows and columns */
  table.roster-t:not(.data-t), table.roster-t:not(.data-t) tbody, table.roster-t:not(.data-t) tr, table.roster-t:not(.data-t) td { display: block; }
  table.roster-t:not(.data-t) thead { position: absolute; left: -9999px; }
  table.roster-t:not(.data-t) tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  table.roster-t:not(.data-t) td { border: 0; padding: 1px 0; overflow-wrap: anywhere; }
  table.roster-t:not(.data-t) td:first-child { font-weight: 600; font-size: 18px; color: var(--bone); }
  table.roster-t:not(.data-t) td:nth-child(2) { color: var(--muted); }
}
