/* Cahaba Valley Fire District – public site
   Palette: charcoal grey, fire-engine red, mostly white. All text pairs meet WCAG 2.1 AA.
   Red (#B3121A) is never used for text on charcoal: their contrast is only ~1.8:1.
   Red on charcoal appears only as decoration (stripes, accent bars, glows). */

/* Barlow Condensed (SIL Open Font License, see /fonts/OFL-barlow-condensed.txt), self-hosted */
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("/fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("/fonts/barlow-condensed-700.woff2") format("woff2"); }

:root {
    --display: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
    /* solid red accent band with a slight sheen */
    --accent-bar: linear-gradient(90deg, var(--red-dark), var(--red) 30%, var(--red) 70%, var(--red-dark));
    --shadow: 0 10px 30px rgba(20,22,25,.12);
    --red: #B3121A;          /* 7.2:1 on white */
    --red-dark: #8E0E14;
    --charcoal: #2E3236;     /* 13:1 on white */
    --charcoal-2: #3F444A;
    --ink: #1F2326;
    --muted: #50565C;        /* 7.3:1 on white */
    --line: #D6D9DC;
    --soft: #F4F5F6;
    --white: #FFFFFF;
    --focus: #1A5FB4;
    --warning-bg: #FFF4D6;
    --warning-line: #8A6200;
    --info-bg: #E8F0FA;
    --radius: 6px;
    --wrap: 1180px;
    --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0; background: var(--white); color: var(--ink);
    font-family: var(--font); font-size: 1.0625rem; line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--red); text-underline-offset: 0.15em; }
a:hover { color: var(--red-dark); text-decoration-thickness: 2px; }
h1, h2, h3, h4 { line-height: 1.15; color: var(--charcoal); margin: 1.6em 0 0.5em; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: .01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-top: 0; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.15rem); }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.12rem; }
p, ul, ol { margin: 0 0 1em; }
address { font-style: normal; }

/* focus is always visible, never removed */
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
main:focus { outline: none; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: absolute; left: 8px; top: -100px; z-index: 1000;
    background: var(--white); color: var(--charcoal); padding: 12px 18px; font-weight: 700;
    border: 3px solid var(--focus); border-radius: var(--radius);
}
.skip-link:focus { top: 8px; }
.plain-list { list-style: none; padding: 0; }
.plain-list li { margin-bottom: 0.4em; }

/* ---------- buttons ---------- */
.btn, a.btn {
    display: inline-block; background: var(--red); color: var(--white); border: 2px solid var(--red);
    padding: 0.65em 1.3em; border-radius: var(--radius); font-weight: 700; text-decoration: none;
    line-height: 1.2; cursor: pointer; font-size: 1rem; font-family: inherit;
    box-shadow: 0 2px 0 rgba(0,0,0,.18); transition: background-color .15s, transform .15s, box-shadow .15s;
}
.btn:hover, a.btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); transform: translateY(-1px); box-shadow: 0 6px 14px rgba(142,14,20,.3); }
.btn-outline, a.btn-outline { background: var(--white); color: var(--red); }
.btn-outline:hover, a.btn-outline:hover { background: var(--red); color: var(--white); }
.btn-dark, a.btn-dark { background: var(--charcoal); border-color: var(--charcoal); }

/* ---------- utility bar ---------- */
.utility-bar { background: var(--charcoal); color: var(--white); font-size: 0.95rem; }
.utility-bar a { color: var(--white); }
.utility-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 24px; padding-top: 6px; padding-bottom: 6px; }
.utility-inner p { margin: 0; }
.emergency-pill { display: inline-block; background: var(--red); padding: 2px 12px; border-radius: 999px; font-weight: 700; }
.emergency-pill a { font-weight: 800; }
.utility-phones { display: flex; flex-wrap: wrap; gap: 4px 20px; list-style: none; margin: 0; padding: 0; }
.utility-bar .social-links { margin-left: auto; }
.social-links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.social-links a { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; color: inherit; }
.social-links a:hover { background: rgba(255,255,255,.15); }

/* ---------- alerts ---------- */
.alert { border-bottom: 1px solid var(--line); }
.alert-inner { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; padding-top: 10px; padding-bottom: 10px; }
.alert-label { font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.alert-link { font-weight: 700; }
.alert-warning { background: var(--warning-bg); border-left: 6px solid var(--warning-line); color: var(--ink); }
.alert-warning a { color: #6B2B00; }
.alert-info { background: var(--info-bg); color: var(--ink); }
.alert-info a { color: #0D4A8C; }
.alert-emergency { background: var(--red); color: var(--white); }
.alert-emergency a { color: var(--white); }

/* ---------- header ---------- */
.site-header { background: var(--white); position: relative; }
.site-header::after { content: ""; display: block; height: 5px; background: var(--accent-bar); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--charcoal); }
.brand img { width: 84px; height: 84px; flex: none; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-size: clamp(1.35rem, 3.2vw, 2rem); font-weight: 800; line-height: 1.1; color: var(--charcoal); font-family: Georgia, "Times New Roman", serif; }
.brand-tagline { color: var(--muted); font-size: 1rem; }
.brand:hover .brand-name { color: var(--red); }
.btn-pay { white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.header-search { display: flex; border: 2px solid #767C83; border-radius: var(--radius); overflow: hidden; background: var(--white); transition: border-color .15s; }
.header-search:focus-within { border-color: var(--charcoal); }
.header-search input { border: 0; font: inherit; font-size: 1rem; padding: 8px 12px; width: 200px; min-width: 0; color: var(--ink); background: transparent; }
.header-search input::placeholder { color: var(--muted); opacity: 1; }
.header-search :focus-visible { outline-offset: -4px; } /* keep the ring inside the clipped box */
.header-search button { border: 0; background: var(--charcoal); color: var(--white); padding: 0 14px; cursor: pointer; display: inline-flex; align-items: center; }
.header-search button:hover { background: var(--red); }
@media (max-width: 700px) {
    .header-actions { width: 100%; }
    .header-search { flex: 1; }
    .header-search input { width: 100%; }
}

/* ---------- search page ---------- */
.search-page-form label { display: block; font-weight: 700; margin-bottom: 6px; }
.search-row { display: flex; gap: 10px; max-width: 640px; flex-wrap: wrap; }
.search-row input { flex: 1; min-width: 200px; font: inherit; padding: 10px 12px; border: 2px solid #767C83; border-radius: 4px; }
.search-summary { margin: 24px 0 8px; font-weight: 700; color: var(--charcoal); }
.search-results { list-style: none; padding: 0; margin: 0; max-width: 820px; }
.search-results li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.search-results h2 { font-size: 1.5rem; margin: 2px 0 6px; }
.result-meta { margin: 0; display: flex; gap: 12px; align-items: center; font-size: .9rem; color: var(--muted); }
.result-kind { font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .8rem; color: var(--charcoal); background: var(--soft); border: 1px solid var(--line); border-radius: 999px; padding: 1px 10px; }
.result-snippet { margin: 0; color: var(--ink); }
.result-snippet mark { background: #FFE9A8; color: inherit; padding: 0; border-radius: 2px; }
.callout-box { background: var(--soft); border-left: 6px solid var(--red); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; max-width: 640px; }

/* ---------- navigation ---------- */
.main-nav { background: var(--charcoal); }
.menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.menu > li { position: relative; display: flex; align-items: stretch; }
.menu a { color: var(--white); text-decoration: none; display: block; }
.menu > li > a { padding: 14px 14px; font-weight: 600; font-size: 0.98rem; border-bottom: 4px solid transparent; transition: border-color .15s, background-color .15s; }
.menu > li > a:hover, .menu > li.in-section > a { border-bottom-color: var(--white); }
.menu > li > a:hover { background: var(--charcoal-2); }
.menu > li > a[aria-current="page"] { border-bottom-color: var(--white); font-weight: 800; }
.sub-toggle {
    background: none; border: 0; color: var(--white); padding: 0 10px 0 0; margin-left: -8px; cursor: pointer;
    display: inline-flex; align-items: center; min-width: 32px; justify-content: center;
}
.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.submenu {
    list-style: none; margin: 0; padding: 6px 0; min-width: 260px; background: var(--white);
    border: 1px solid var(--line); border-top: 4px solid var(--red); box-shadow: 0 8px 20px rgba(0,0,0,.15);
    position: absolute; left: 0; top: 100%; z-index: 50; display: none;
}
.submenu a { color: var(--charcoal); padding: 10px 16px; }
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--soft); color: var(--red); text-decoration: underline; }
.submenu a[aria-current="page"] { font-weight: 700; }
.js .has-sub.open > .submenu { display: block; }
html:not(.js) .has-sub:hover > .submenu, html:not(.js) .has-sub:focus-within > .submenu { display: block; }
.file-tag { font-size: .75rem; font-weight: 700; border: 1px solid currentColor; border-radius: 3px; padding: 0 4px; margin-left: 4px; vertical-align: 1px; }
.nav-toggle { display: none; }

@media (max-width: 960px) {
    .js .nav-toggle {
        display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; color: var(--white);
        font: inherit; font-weight: 700; padding: 12px 0; cursor: pointer;
    }
    .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
        display: block; width: 22px; height: 2px; background: currentColor; position: relative; content: "";
    }
    .nav-toggle-bars::before { position: absolute; top: -7px; }
    .nav-toggle-bars::after { position: absolute; top: 7px; }
    .js .menu { display: none; }
    .js .main-nav.open .menu { display: block; padding-bottom: 12px; }
    .menu { flex-direction: column; }
    .menu > li { flex-wrap: wrap; border-top: 1px solid var(--charcoal-2); }
    .menu > li > a { flex: 1; padding: 12px 4px; border-bottom: 0; }
    .menu > li > a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 3px; }
    .sub-toggle { margin: 0; padding: 0 12px; min-width: 48px; }
    .submenu { position: static; width: 100%; box-shadow: none; border: 0; border-left: 4px solid var(--white); background: var(--charcoal-2); min-width: 0; }
    .submenu a { color: var(--white); padding: 10px 16px; }
    .submenu a:hover, .submenu a[aria-current="page"] { background: var(--charcoal); color: var(--white); }
    html:not(.js) .submenu { display: block; }
    .brand img { width: 64px; height: 64px; }
}

/* ---------- page header ---------- */
/* dark header band: a red glow and faint diagonal lines over charcoal; all text on it is white */
.page-hero {
    position: relative; overflow: hidden; color: var(--white); padding: 40px 0 34px;
    background:
        repeating-linear-gradient(-45deg, rgba(255,255,255,.035) 0 2px, transparent 2px 14px),
        radial-gradient(circle at 88% 10%, rgba(179,18,26,.55), transparent 42%),
        linear-gradient(135deg, var(--charcoal) 0%, #1A1D20 100%);
}
.page-hero.has-image { background-size: cover; background-position: center; padding: 80px 0 44px; }
.page-hero.has-image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,22,25,.9), rgba(20,22,25,.6)); }
.page-hero > .container { position: relative; z-index: 1; }
/* faint district seal watermark, matching the footer */
.page-hero::after { content: ""; position: absolute; right: -40px; bottom: -110px; width: 300px; height: 300px; background: url("/images/cvfd-seal.png") center/contain no-repeat; opacity: .07; pointer-events: none; }
@media (max-width: 700px) { .page-hero::after { width: 200px; height: 200px; right: -50px; bottom: -80px; } }
.page-hero h1, .page-hero a { color: var(--white); }
.page-hero h1::after { content: ""; display: block; width: 72px; height: 5px; background: var(--red); margin-top: 12px; border-radius: 3px; }
.page-hero .meta, .page-hero p { color: #E3E5E8; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0 0 10px; font-size: .95rem; }
.breadcrumbs li + li::before { content: "/"; margin: 0 6px 0 2px; color: #C9CDD1; }
.breadcrumbs [aria-current] { color: inherit; }
.page-body { padding: 32px 16px 56px; }
.layout-with-aside { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 40px; }
@media (max-width: 900px) { .layout-with-aside { grid-template-columns: 1fr; } }
.aside-box { overflow-wrap: anywhere; background: var(--soft); border: 1px solid var(--line); border-top: 4px solid var(--red); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 20px; }
.aside-box h2 { font-size: 1.15rem; margin-top: 0; }

/* ---------- CMS content ---------- */
.content > :first-child { margin-top: 0; }
.content img { border-radius: 4px; }
.content table { border-collapse: collapse; width: 100%; margin: 0 0 1.5em; }
.content th, .content td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.content th { background: var(--soft); }
.content .table-striped tr:nth-child(even) td { background: #FAFAFB; }
.content .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin: 0 0 1.5em; align-items: start; }
.content .col > :first-child { margin-top: 0; }
.content .lead { font-size: 1.2rem; color: var(--charcoal); }
.content .callout { background: var(--soft); border-left: 6px solid var(--charcoal); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; }
.content .callout-red { background: #FDF0F0; border-left: 6px solid var(--red); padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; }
.content .img-left { float: left; margin: 0 20px 12px 0; max-width: 45%; }
.content .img-right { float: right; margin: 0 0 12px 20px; max-width: 45%; }
.content .img-center { display: block; margin: 0 auto 1em; }
.content::after { content: ""; display: table; clear: both; }
.content a[href$=".pdf"]:not(.btn):not(.btn-outline)::after { content: " (PDF)"; font-size: .85em; }
.content iframe { max-width: 100%; border: 0; }
@media (max-width: 600px) { .content .img-left, .content .img-right { float: none; max-width: 100%; margin: 0 0 1em; } }

.child-pages { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 8px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; list-style: none; padding: 0; }
.link-card { display: block; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; text-decoration: none; color: var(--ink); height: 100%; border-top: 4px solid var(--red); transition: transform .2s, box-shadow .2s; }
.link-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.link-card strong { color: var(--red); display: block; font-size: 1.1rem; margin-bottom: 4px; }

/* ---------- home ---------- */
.hero { background: var(--charcoal) center 40%/cover no-repeat; color: var(--white); position: relative; overflow: hidden; }
.hero::before {
    content: ""; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 15% 100%, rgba(179,18,26,.45), transparent 45%),
        linear-gradient(90deg, rgba(20,22,25,.95) 0%, rgba(20,22,25,.82) 50%, rgba(20,22,25,.35) 100%);
}
/* red slash down the right edge */
.hero::after {
    content: ""; position: absolute; top: 0; bottom: 0; right: -60px; width: 200px;
    background: var(--red); transform: skewX(-14deg); opacity: .9; box-shadow: -18px 0 0 rgba(255,255,255,.12);
}
.hero .container { position: relative; z-index: 1; padding-top: 88px; padding-bottom: 120px; }
.hero-kicker {
    display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: var(--display); font-weight: 600;
    font-size: 1.15rem; letter-spacing: .12em; text-transform: uppercase; color: var(--white);
}
.hero-kicker::before { content: ""; width: 36px; height: 4px; background: var(--white); border-radius: 2px; }
.hero h1 { color: var(--white); max-width: 16ch; font-size: clamp(2.6rem, 7vw, 4.6rem); text-transform: uppercase; line-height: 1; text-shadow: 0 2px 18px rgba(0,0,0,.4); }
.hero p { font-size: 1.25rem; max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero .btn { font-size: 1.05rem; padding: .8em 1.5em; }
.hero .btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.hero .btn-outline:hover { background: var(--white); color: var(--charcoal); }
@media (max-width: 700px) { .hero::after { width: 44px; right: -30px; } .hero .container { padding-top: 56px; padding-bottom: 96px; padding-right: 32px; } }

/* quick-action tiles that overlap the bottom of the hero */
.quick-actions { position: relative; z-index: 2; margin-top: -64px; }
.quick-actions ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; background: var(--white); border-radius: 10px; box-shadow: 0 18px 40px rgba(20,22,25,.18); overflow: hidden; }
.quick-actions li + li { border-left: 1px solid var(--line); }
.quick-actions a { display: flex; align-items: center; gap: 14px; padding: 22px 22px; text-decoration: none; color: var(--charcoal); height: 100%; position: relative; transition: background-color .2s; }
.quick-actions a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.quick-actions a:hover { background: var(--soft); }
.quick-actions a:hover::after, .quick-actions a:focus-visible::after { transform: scaleX(1); }
.qa-icon { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--red); color: var(--white); display: inline-flex; align-items: center; justify-content: center; transition: transform .2s; }
.quick-actions a:hover .qa-icon { transform: scale(1.08) rotate(-6deg); }
.qa-text strong { display: block; font-family: var(--display); font-size: 1.3rem; line-height: 1.1; }
.qa-text span { color: var(--muted); font-size: .92rem; }
@media (max-width: 860px) { .quick-actions li + li { border-left: 0; border-top: 1px solid var(--line); } }

.section { padding: 56px 0; }
.section-soft { background: var(--soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { margin-top: 0; }
.section-title::after { content: ""; display: block; width: 56px; height: 5px; background: var(--red); border-radius: 3px; margin-top: 10px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }

.progress-panel { background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--red); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); }
.progress-panel h2 { font-size: 1.6rem; margin: 0 0 6px; }
.progress-track { height: 28px; background: #E3E5E8; border-radius: 999px; overflow: hidden; border: 1px solid #8A9097; margin: 10px 0 8px; }
.progress-fill {
    height: 100%; min-width: 2px; border-radius: 999px;
    background: linear-gradient(180deg, #C8202A, var(--red) 55%, var(--red-dark));
}
.progress-value { font-family: var(--display); font-size: 2.6rem; line-height: 1; font-weight: 700; color: var(--red); }

.feature-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 28px; list-style: none; padding: 0; margin: 0; }
.feature-card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; position: relative; transition: transform .25s, box-shadow .25s; }
.feature-card::before { content: ""; position: absolute; top: 0; left: 0; width: 72px; height: 5px; background: var(--red); z-index: 1; transition: width .35s; }
.feature-card:hover, .feature-card:focus-within { transform: translateY(-6px); box-shadow: 0 22px 40px rgba(20,22,25,.16); }
.feature-card:hover::before, .feature-card:focus-within::before { width: 100%; }
.feature-card img { width: 100%; height: 200px; object-fit: cover; background: var(--soft); transition: transform .5s; }
.feature-card:hover img { transform: scale(1.06); }
.feature-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; background: var(--white); position: relative; }
.feature-card h3 { margin: 0 0 8px; }
.feature-card p { flex: 1; }
.feature-card a.more { font-weight: 700; }
.feature-card a.more::after { content: " \2192"; display: inline-block; transition: transform .2s; }
.feature-card a.more:hover::after { transform: translateX(4px); }

.news-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.news-item { border-bottom: 1px solid var(--line); padding-bottom: 16px; }
.news-item h3 { margin: 0 0 4px; font-size: 1.45rem; }
.news-item time, .meta { color: var(--muted); font-size: .95rem; }
.pin-tag { background: var(--red); color: var(--white); font-size: .75rem; font-weight: 700; padding: 1px 8px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; text-transform: uppercase; }

.mvv { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0; }
.mvv-item { position: relative; color: var(--white); background: var(--charcoal) center/cover no-repeat; min-height: 340px; display: flex; align-items: flex-end; overflow: hidden; }
.mvv-item > div::before { content: ""; display: block; width: 48px; height: 5px; background: var(--white); border-radius: 3px; margin-bottom: 14px; }
.mvv-item h2 { font-size: 2.2rem; text-transform: uppercase; }
.mvv-item + .mvv-item { border-left: 1px solid rgba(255,255,255,.12); }
.mvv-item::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,22,25,.95) 15%, rgba(20,22,25,.55) 100%); }
.mvv-item > div { position: relative; padding: 28px; }
.mvv-item h2 { color: var(--white); margin: 0 0 8px; }
.mvv-item ul { list-style: none; padding: 0; margin: 0; font-size: 1.15rem; font-weight: 700; }
.mvv-item ul li::first-letter { color: #FF8A8F; } /* 5.9:1 on the dark overlay */

/* ---------- language switch ---------- */
.lang-link { font-weight: 700; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; padding: 1px 12px; text-decoration: none; }
.lang-link:hover { background: var(--white); color: var(--charcoal) !important; }
.utility-bar .lang-link { margin-left: auto; }
.utility-bar .lang-link + .social-links { margin-left: 0; }
.lang-switch { margin: 14px 0 0; }
.lang-switch a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--white); border: 2px solid rgba(255,255,255,.7); border-radius: 999px; padding: 4px 14px; text-decoration: none; }
.lang-switch a:hover { background: var(--white); color: var(--charcoal); }

/* ---------- open burning status ---------- */
.burn-home { margin-top: 32px; }
.burn-status { display: flex; gap: 18px; align-items: flex-start; border-radius: 10px; padding: 20px 24px; margin: 0 0 1.5em; border: 1px solid; border-left-width: 8px; }
.burn-status p { margin: 0 0 .4em; }
.burn-status p:last-child { margin-bottom: 0; }
.burn-icon { flex: none; width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--white); }
.burn-question { margin: 0 0 4px; font-size: 1.2rem; text-transform: uppercase; letter-spacing: .06em; color: inherit; }
.burn-headline { font-family: var(--display); font-size: 1.75rem; font-weight: 700; line-height: 1.15; }
.burn-note { font-size: .95rem; }
.burn-banned { background: #FDF0F0; border-color: var(--red); color: #5E0A0E; }       /* 12:1 */
.burn-banned .burn-icon { background: var(--red); }
.burn-banned a { color: var(--red-dark); }
.burn-caution { background: var(--warning-bg); border-color: var(--warning-line); color: #4A3500; } /* 10:1 */
.burn-caution .burn-icon { background: #8A6200; }
.burn-caution a { color: #6B2B00; }
.burn-allowed { background: #EAF6EC; border-color: #2E7D32; color: #1B4D1E; }        /* 9:1 */
.burn-allowed .burn-icon { background: #2E7D32; }
.burn-allowed a { color: #1B4D1E; }
@media (max-width: 600px) { .burn-status { flex-direction: column; gap: 10px; } }

/* ---------- incident statistics ---------- */
.stats-period { font-size: 1.1rem; max-width: 70ch; }
.kpi-grid { list-style: none; padding: 0; margin: 0 0 32px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.kpi { background: var(--charcoal); color: var(--white); border-radius: 10px; padding: 20px 22px; border-top: 5px solid var(--red); display: flex; flex-direction: column; gap: 6px; }
.kpi-value { font-family: var(--display); font-size: 2.8rem; font-weight: 700; line-height: 1; }
.kpi-label { font-weight: 700; }
.kpi-sub { display: block; font-weight: 400; font-size: .9rem; color: #D6D9DC; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; margin-bottom: 24px; }
@media (max-width: 420px) { .stats-grid { grid-template-columns: 1fr; } }
.stat-card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px; box-shadow: var(--shadow); margin-bottom: 24px; min-width: 0; }
.stats-grid .stat-card { margin-bottom: 0; }
.stat-card h3 { margin: 0 0 14px; font-size: 1.6rem; }
.stats-section { margin-bottom: 40px; }
.stats-section > h2 { margin: 0 0 6px; padding-bottom: 6px; border-bottom: 3px solid var(--charcoal); }
.stats-section + .stats-section { padding-top: 8px; }
.bar-table { width: 100%; border-collapse: collapse; }
.bar-table thead th { font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); border-bottom: 2px solid var(--line); padding: 4px 0; text-align: left; }
.bar-table tbody th { font-weight: 600; text-align: left; padding: 7px 12px 7px 0; width: 42%; vertical-align: middle; font-size: .97rem; }
.bar-table td { padding: 7px 0; vertical-align: middle; }
.bar-table tbody tr + tr > * { border-top: 1px solid var(--soft); }
.bar { display: inline-block; vertical-align: middle; height: 14px; min-width: 3px; background: var(--red); border-radius: 0 4px 4px 0; margin-right: 8px; max-width: calc(100% - 110px); }
.bar-value { font-weight: 700; white-space: nowrap; }
.bar-pct { font-weight: 400; color: var(--muted); font-size: .9rem; }
.column-chart { display: flex; gap: 6px; height: 270px; overflow-x: auto; margin-bottom: 12px; }
.column-chart .col { flex: 1 0 36px; display: flex; flex-direction: column; height: 100%; }
.col-track { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; border-bottom: 2px solid var(--line); }
.col-bar { width: 70%; background: var(--red); border-radius: 4px 4px 0 0; min-height: 2px; }
.col-partial .col-bar { background: #E58E92; }
.col-value { font-size: .78rem; font-weight: 700; margin-bottom: 3px; }
.col-label { font-size: .75rem; color: var(--muted); text-align: center; line-height: 1.2; padding-top: 6px; }
.stat-note, .stat-source { color: var(--muted); font-size: .95rem; }
.stat-table-toggle summary { cursor: pointer; font-weight: 700; color: var(--red); margin: 8px 0; }
.data-table { border-collapse: collapse; margin-top: 8px; min-width: 260px; }
.data-table th, .data-table td { border: 1px solid var(--line); padding: 6px 10px; text-align: left; }
.data-table thead th { background: var(--soft); }

/* ---------- community CPR ---------- */
.cpr-classes { margin-bottom: 1.5em; }
.cpr-next { background: var(--charcoal); color: var(--white); border-radius: 10px; padding: 22px 26px; border-left: 8px solid var(--red); margin-bottom: 8px; }
.cpr-next p { margin: 0 0 .35em; color: #E3E5E8; }
.cpr-next .cpr-next-label { text-transform: uppercase; letter-spacing: .1em; font-weight: 700; font-size: .9rem; color: var(--white); }
.cpr-next .cpr-next-title { font-family: var(--display); font-size: 2rem; font-weight: 700; line-height: 1.1; color: var(--white); }
.cpr-next .cpr-next-when { font-size: 1.15rem; font-weight: 700; color: var(--white); }
.cpr-next .btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.cpr-next .btn-outline:hover { background: var(--white); color: var(--charcoal); }
.cpr-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.cpr-cal-nav { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; font-weight: 700; }
.cpr-cal { width: 100%; border-collapse: collapse; table-layout: fixed; margin-bottom: 28px; }
.cpr-cal caption { text-align: left; font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--charcoal); padding: 4px 0 8px; }
.cpr-cal th { background: var(--charcoal); color: var(--white); padding: 6px 4px; font-size: .9rem; }
.cpr-cal abbr { text-decoration: none; }
.cpr-cal td { border: 1px solid var(--line); height: 88px; vertical-align: top; padding: 4px 5px; font-size: .85rem; }
.cpr-cal td.out { background: var(--soft); }
.cpr-cal td.today { box-shadow: inset 0 0 0 3px var(--charcoal); }
.cpr-cal td.has-class { background: #FDF0F0; }
.cpr-cal-day { display: block; font-weight: 700; color: var(--charcoal); }
.cpr-cal-event { display: block; background: var(--red); color: var(--white); border-radius: 4px; padding: 2px 5px; margin-top: 3px; text-decoration: none; line-height: 1.25; overflow-wrap: anywhere; }
a.cpr-cal-event[href]:hover { background: var(--red-dark); color: var(--white); }
.cpr-cal-event.past { background: #767C83; }
.cpr-cal-time { font-weight: 700; }
@media (max-width: 600px) {
    .cpr-cal td { height: 56px; padding: 2px; font-size: .72rem; }
    .cpr-cal-event { padding: 1px 3px; }
}
.cpr-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 16px; }
.cpr-card { display: flex; gap: 18px; border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; scroll-margin-top: 16px; }
.cpr-card:target { box-shadow: 0 0 0 3px var(--focus); }
.cpr-date { flex: none; width: 76px; text-align: center; background: var(--red); color: var(--white); border-radius: 8px; padding: 8px 4px; align-self: flex-start; text-transform: uppercase; font-weight: 700; font-size: .85rem; }
.cpr-date strong { display: block; font-family: var(--display); font-size: 2.2rem; line-height: 1; }
.cpr-card h3 { margin: 0 0 4px; }
.cpr-card p { margin: 0 0 .4em; }
.cpr-meta { color: var(--muted); }
.cpr-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cpr-tag { font-size: .85rem; font-weight: 700; border: 1px solid #1B4D1E; color: #1B4D1E; background: #EAF6EC; border-radius: 999px; padding: 1px 10px; }
.cpr-tag-full { border-color: var(--warning-line); color: #4A3500; background: var(--warning-bg); }
@media (max-width: 600px) { .cpr-card { flex-direction: column; gap: 10px; } }
.cpr-form-section { margin-top: 36px; padding-top: 8px; border-top: 1px solid var(--line); scroll-margin-top: 16px; }

/* ---------- board documents ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: flex-end; background: var(--soft); border: 1px solid var(--line); padding: 16px; border-radius: var(--radius); margin-bottom: 24px; }
.filters label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 4px; }
.filters select, .filters input { font: inherit; padding: 8px 10px; border: 1px solid #767C83; border-radius: 4px; min-width: 180px; background: var(--white); }
.doc-year h2 { border-bottom: 2px solid var(--charcoal); padding-bottom: 4px; }
.doc-table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; }
.doc-table caption { text-align: left; font-weight: 700; font-size: 1.1rem; padding: 6px 0; color: var(--charcoal); }
.doc-table th, .doc-table td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); }
.doc-table th { background: var(--soft); }

/* [[board-members]]: photos on an oval around the seal (positions in container-width units from the partial),
   or a grid with the seal above it on narrow screens. */
.board-graphic { container-type: inline-size; margin: 8px 0 32px; }
.board-seal { display: block; width: 180px; height: auto; margin: 0 auto 20px; }
.board-members { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 28px 20px; }
.board-member { display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1.25; color: var(--ink); }
.board-photo { width: 160px; max-width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; margin-bottom: 12px; box-shadow: 0 6px 14px rgba(20,22,25,.18); background: linear-gradient(#8E9195, #E9EAEB); }
.content .board-photo { border-radius: 50%; }
.board-initials { display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 700; font-size: 3rem; color: var(--charcoal); }
.board-title { font-weight: 800; font-size: 1.15rem; }
.board-place, .board-name { font-size: 1.1rem; }
@container (min-width: 600px) {
    .board-graphic.is-ring .board-stage { position: relative; height: calc(var(--ring-h) * 1cqw); }
    .board-graphic.is-ring .board-seal { position: absolute; width: 28cqw; left: 36cqw; top: 44cqw; margin: 0; }
    .board-graphic.is-ring .board-members { display: block; }
    .board-graphic.is-ring .board-member { position: absolute; width: 34cqw; left: calc((var(--x) - 17) * 1cqw); top: calc((var(--y) - 13) * 1cqw); }
    .board-graphic.is-ring .board-photo { width: 26cqw; margin-bottom: 2.2cqw; }
    .board-graphic.is-ring .board-title { font-size: max(1.05rem, 2.6cqw); }
    .board-graphic.is-ring .board-place, .board-graphic.is-ring .board-name { font-size: max(1rem, 2.5cqw); }
}

/* ---------- forms ---------- */
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 700; margin-bottom: 4px; }
.form-field .hint { display: block; color: var(--muted); font-size: .95rem; margin-bottom: 4px; }
.form-field input, .form-field select, .form-field textarea {
    width: 100%; max-width: 560px; font: inherit; padding: 10px 12px; border: 1px solid #767C83; border-radius: 4px; background: var(--white); color: var(--ink);
}
.form-field textarea { min-height: 160px; }
.field-error, .validation-summary-errors { color: var(--red); font-weight: 700; }
.input-validation-error { border-color: var(--red) !important; border-width: 2px !important; }
.required { color: var(--red); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.notice-box { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; border: 1px solid; }
.notice-success { background: #EAF6EC; border-color: #2E7D32; color: #1B4D1E; }
.notice-error { background: #FDF0F0; border-color: var(--red); color: var(--red-dark); }

/* ---------- Santa Tracker ---------- */
/* holiday header: deep red into evergreen with a warm glow, falling snow and a string of lights along the bottom */
.page-hero.santa-hero {
    padding-bottom: 62px;
    background:
        radial-gradient(circle at 82% 15%, rgba(255,214,102,.28), transparent 38%),
        linear-gradient(120deg, #6E0A10 0%, #A3101A 42%, #0D4A2E 100%);
}
.santa-lights { position: absolute; left: 0; right: 0; bottom: 6px; height: 40px; display: flex; justify-content: space-around; pointer-events: none; }
.santa-lights::before { content: ""; position: absolute; left: -2%; right: -2%; top: -14px; height: 28px; border-bottom: 2px solid #1B2A21; border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.santa-lights > span {
    position: relative; top: 12px; width: 12px; height: 19px; border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
    background: var(--bulb); box-shadow: 0 2px 12px 2px var(--bulb); animation: santa-twinkle 1.6s ease-in-out infinite alternate;
}
.santa-lights > span::before { content: ""; position: absolute; top: -5px; left: 3px; width: 6px; height: 6px; border-radius: 1px; background: #2B3A31; }
.santa-lights > span:nth-child(even) { top: 18px; animation-delay: .8s; }
.santa-lights > span:nth-child(4n+1) { --bulb: #FF4D4D; }
.santa-lights > span:nth-child(4n+2) { --bulb: #FFD24A; }
.santa-lights > span:nth-child(4n+3) { --bulb: #4ADE80; }
.santa-lights > span:nth-child(4n) { --bulb: #60A5FA; }
.santa-lights > span:nth-child(3n) { animation-duration: 2.2s; }
@media (max-width: 700px) { .santa-lights > span:nth-child(n+15) { display: none; } }
@keyframes santa-twinkle { from { opacity: .55; box-shadow: 0 2px 4px 0 var(--bulb); } to { opacity: 1; } }
.santa-kicker { margin: 0 0 2px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .9rem; }
/* decorative falling snow; stopped by the reduced-motion rule below */
.santa-snow {
    position: absolute; inset: 0; pointer-events: none; opacity: .7;
    background-image: radial-gradient(circle, rgba(255,255,255,.8) 1.2px, transparent 1.7px), radial-gradient(circle, rgba(255,255,255,.5) 1px, transparent 1.5px);
    background-size: 90px 90px, 140px 140px; background-position: 0 0, 40px 60px;
    animation: santa-snow 20s linear infinite;
}
@keyframes santa-snow { to { background-position: 0 900px, 40px 1460px; } }
.santa-preview { background: var(--warning-bg); border-color: var(--warning-line); color: #4A3500; }
.santa-intro { max-width: 72ch; }
.santa-live-bar { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; background: var(--charcoal); color: var(--white); border-left: 6px solid var(--red); border-radius: var(--radius); padding: 12px 16px; margin: 0 0 18px; }
.santa-summary { margin: 0; font-weight: 700; }
.santa-alert { margin: 0; color: #FFE7A3; }
.santa-alert:empty { display: none; }
.santa-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 24px; align-items: start; }
@media (max-width: 900px) { .santa-layout { grid-template-columns: 1fr; } }
.santa-map-tools, .santa-route-pick { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.santa-tool, .santa-pick { font: inherit; font-weight: 700; min-height: 40px; padding: 6px 14px; border-radius: 999px; border: 2px solid var(--charcoal); background: var(--white); color: var(--charcoal); cursor: pointer; }
.santa-tool[aria-pressed=true] { background: var(--charcoal); color: var(--white); }
.santa-follow { border-color: var(--red); color: var(--red); }
.santa-pick { border-color: var(--route, var(--charcoal)); }
.santa-pick[aria-pressed=true] { background: var(--route, var(--charcoal)); color: var(--white); }
.santa-map { position: relative; z-index: 0; height: 560px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 600px) { .santa-map { height: 420px; } }
.santa-note { color: var(--muted); font-size: .92rem; margin: 8px 0 0; }
.santa-route { background: var(--white); border: 1px solid var(--line); border-top: 5px solid var(--route); border-radius: var(--radius); padding: 14px 16px; margin-bottom: 14px; }
.santa-route.is-selected { box-shadow: 0 0 0 3px var(--route); }
.santa-route h2, .santa-route h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: 1.5rem; }
.santa-swatch { flex: none; width: 16px; height: 16px; border-radius: 50%; background: var(--route); }
.santa-area { margin: 0 0 6px; color: var(--muted); }
.santa-last { margin: 0 0 4px; font-weight: 700; }
.santa-links { margin: 0 0 8px; }
.santa-details summary { cursor: pointer; font-weight: 700; color: var(--red); }
.santa-schedule { list-style: none; padding: 0; margin: 10px 0 0; }
.santa-schedule li { display: grid; grid-template-columns: 6.5em 1fr; gap: 2px 10px; padding: 6px 4px; border-top: 1px solid var(--soft); }
.santa-time { font-weight: 700; white-space: nowrap; }
.santa-schedule li.is-break { color: var(--muted); font-style: italic; }
.santa-schedule li.is-now { background: var(--warning-bg); border-radius: 4px; }
.santa-now { grid-column: 2; font-size: .85rem; font-weight: 700; color: var(--red-dark); }
/* evergreen card with a candy-cane stripe on top and a light dusting of snow */
.santa-card {
    position: relative; overflow: hidden; color: var(--white); border-radius: 12px; padding: 40px 32px 30px; margin: 0 0 28px; box-shadow: var(--shadow);
    background:
        radial-gradient(circle, rgba(255,255,255,.22) 1.2px, transparent 1.8px) 0 0 / 46px 46px,
        radial-gradient(circle at 50% 0%, #1A6B43, transparent 70%),
        linear-gradient(170deg, #0F5132, #0A3622);
}
.santa-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 12px; background: repeating-linear-gradient(-45deg, var(--red) 0 14px, var(--white) 14px 28px); }
.santa-card h2 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0 0 10px; }
.santa-card p { color: #E8F1EC; max-width: 65ch; }
.santa-card strong { color: var(--white); }
.santa-card-kicker { margin: 0 0 4px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #FFE08A !important; }
/* hanging ornaments in the card's corner */
.santa-ornaments { position: absolute; top: 12px; right: 40px; display: flex; gap: 34px; pointer-events: none; }
.santa-ornaments > span { position: relative; width: 2px; background: rgba(255,255,255,.55); height: var(--drop); }
.santa-ornaments > span::after { content: ""; position: absolute; left: 50%; bottom: 0; width: var(--size); height: var(--size); transform: translate(-50%, 90%); border-radius: 50%; background: radial-gradient(circle at 32% 30%, rgba(255,255,255,.75), transparent 28%), var(--ball); box-shadow: 0 4px 10px rgba(0,0,0,.35); }
.santa-ornaments > span::before { content: ""; position: absolute; left: 50%; bottom: -3px; width: 10px; height: 7px; transform: translateX(-50%); background: #D9B54A; border-radius: 2px; z-index: 1; }
.santa-ornaments > span:nth-child(1) { --drop: 34px; --size: 38px; --ball: #C8161F; }
.santa-ornaments > span:nth-child(2) { --drop: 66px; --size: 30px; --ball: #E7B416; }
.santa-ornaments > span:nth-child(3) { --drop: 22px; --size: 44px; --ball: #C8161F; }
@media (max-width: 760px) { .santa-ornaments { display: none; } }
/* countdown: big white tiles with red numbers */
.santa-countdown-wrap { margin: 22px 0 20px; }
.santa-countdown-label { margin: 0 0 10px !important; font-family: var(--display); font-weight: 700; font-size: clamp(1.4rem, 3vw, 1.9rem); color: var(--white) !important; }
.santa-countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 150px)); gap: clamp(8px, 2vw, 18px); }
.santa-cd-unit { display: flex; flex-direction: column; align-items: center; background: var(--white); border-radius: 10px; padding: 12px 6px 10px; box-shadow: 0 6px 0 #B9C7BF, 0 10px 20px rgba(0,0,0,.3); border-top: 6px solid var(--red); }
.santa-cd-num { font-family: var(--display); font-weight: 700; font-size: clamp(2.6rem, 9vw, 5rem); line-height: 1; color: var(--red); font-variant-numeric: tabular-nums; }
.santa-cd-name { margin-top: 4px; font-weight: 700; font-size: clamp(.8rem, 2vw, 1rem); letter-spacing: .08em; text-transform: uppercase; color: var(--charcoal); }
.santa-section-title { margin: 0 0 14px; }
.santa-route-grid { list-style: none; padding: 0; margin: 0 0 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.santa-route-grid .santa-route { margin: 0; }
.santa-safety { background: var(--soft); border-left: 6px solid #0F5132; border-radius: var(--radius); padding: 18px 22px; margin-top: 28px; }
.santa-safety h2 { margin-top: 0; font-size: 1.5rem; }
/* map pins: Santa plus the route name */
.santa-pin { display: flex; flex-direction: column; align-items: center; }
.santa-pin-emoji { font-size: 30px; line-height: 1; filter: drop-shadow(0 2px 2px rgba(0,0,0,.45)); }
.santa-pin-label { margin-top: -2px; padding: 1px 8px; border-radius: 999px; color: #fff; font-size: 12px; font-weight: 700; white-space: nowrap; box-shadow: 0 1px 3px rgba(0,0,0,.4); }
/* home page banner */
.santa-promo { display: flex; align-items: center; gap: 14px; margin: 24px 0 0; padding: 14px 18px; background: var(--charcoal); color: var(--white); border-left: 6px solid var(--red); border-radius: var(--radius); text-decoration: none; }
.santa-promo:hover { background: var(--charcoal-2); color: var(--white); }
.santa-promo-emoji { font-size: 2rem; line-height: 1; }
.santa-promo strong { display: block; font-size: 1.15rem; }
.santa-promo .more { text-decoration: underline; }
.santa-promo { background: linear-gradient(120deg, #0F5132, #0A3622); border-left-color: var(--red); }
.santa-promo:hover { background: linear-gradient(120deg, #136640, #0D4229); }
.santa-promo-days { margin-left: auto; flex: none; text-align: center; background: var(--white); color: var(--charcoal); border-top: 4px solid var(--red); border-radius: 8px; padding: 4px 14px 6px; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; }
.santa-promo-days strong { display: block; font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--red); letter-spacing: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--charcoal); color: var(--white); margin-top: 0; position: relative; overflow: hidden; }
.site-footer::before { content: ""; display: block; height: 6px; background: var(--accent-bar); }
/* faint district seal watermark */
.site-footer::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 380px; height: 380px; background: url("/images/cvfd-seal.png") center/contain no-repeat; opacity: .06; pointer-events: none; }
.site-footer a { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; padding-top: 44px; padding-bottom: 36px; position: relative; z-index: 1; }
.site-footer h2 { color: var(--white); font-size: 1.45rem; margin: 0 0 12px; text-transform: uppercase; letter-spacing: .06em; border-bottom: 3px solid var(--white); display: inline-block; padding-bottom: 4px; }
.footer-bottom-inner { position: relative; z-index: 1; }
.footer-hours { margin-top: 10px; color: #E3E5E8; }
.footer-bottom { border-top: 1px solid var(--charcoal-2); font-size: .92rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 14px; padding-bottom: 14px; }
.footer-bottom p { margin: 0; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media (forced-colors: active) { .btn, .progress-fill, .emergency-pill, .qa-icon { forced-color-adjust: none; } }
@media print {
    .utility-bar, .main-nav, .site-footer, .btn-pay, .alerts, .skip-link, .quick-actions, .header-search { display: none !important; }
    .page-hero, .hero { color: #000; background: none !important; }
    .page-hero::before, .page-hero::after, .hero::before, .hero::after, .site-header::after { display: none; }
    .page-hero h1, .page-hero a, .hero h1 { color: #000; text-shadow: none; }
}
