/* ═══════════════════════════════════════════════════════════════════
   PORTERSVILLE MUDDY CREEK EMS — "Lifeline" design system (public site)
   Built 2026-10-31 from web-dev/WEB_DESIGN_LAYOUT_TRENDS.md (§19-24 tokens
   + emergency colours, §32-33 donation/hub, §61-68 fire/EMS playbook) and
   web-dev/FRONTEND_UI_A11Y.md (tokens, focus, reduced motion, touch targets).

   Layers: 1 tokens · 2 base · 3 layout · 4 chrome (alert bar, header, nav,
   footer) · 5 components · 6 page sections · 7 legacy page vocabulary ·
   8 utilities · 9 motion/print.
   The admin area does NOT use this file (it loads admin.css).
   Colour rules: EMS blue = action/brand; livery orange (--amber-* tokens) = accent on dark
   only (text-on-light uses --c-accent-text); red is RESERVED for 911 and
   alerts, never decoration (§23).
   ═══════════════════════════════════════════════════════════════════ */

/* ─── 1. Tokens ─────────────────────────────────────────────────── */
:root {
    /* primitives */
    --navy-950: #061429; --navy-900: #0A1F3D; --navy-800: #10305C; --navy-700: #1A4178;
    --blue-800: #1E3A8A; --blue-700: #1E40AF; --blue-600: #1D4ED8; --blue-500: #3B6FE6;
    --blue-200: #C7D7FE; --blue-100: #DCE6FF; --blue-50: #EFF4FF;
    /* livery orange, sampled by eye from units 64-1/64-2 (contrast checked: 500 on navy 5.9:1, 700 on white 6.0:1) */
    --amber-700: #A8441A; --amber-500: #EE7A2F; --amber-400: #F59A5B; --amber-100: #FFE9DB;
    --red-700: #B91C1C; --red-600: #C81E1E; --red-100: #FDE2E2; --red-50: #FEF2F2;
    --green-700: #15803D; --green-100: #DCFCE7; --green-50: #ECFDF3;
    --slate-950: #0B1220; --slate-900: #0F172A; --slate-800: #1E293B; --slate-700: #334155;
    --slate-600: #475569; --slate-500: #64748B; --slate-400: #94A3B8; --slate-300: #CBD5E1;
    --slate-200: #E2E8F0; --slate-100: #F1F5F9; --slate-50: #F7F9FC; --white: #FFFFFF;

    /* semantic */
    --c-bg: var(--white);
    --c-surface: var(--white);
    --c-surface-2: var(--slate-50);
    --c-surface-3: var(--slate-100);
    --c-border: var(--slate-200);
    --c-border-strong: var(--slate-300);
    --c-text: var(--slate-900);
    --c-text-2: var(--slate-600);          /* 7.0:1 on white */
    --c-text-3: var(--slate-500);          /* 4.8:1 on white — small print only */
    --c-primary: var(--blue-600);          /* 6.7:1 on white */
    --c-primary-hover: var(--blue-700);
    --c-primary-soft: var(--blue-50);
    --c-accent: var(--amber-500);          /* on navy only */
    --c-accent-text: var(--amber-700);     /* 6.0:1 on white */
    --c-alert: var(--red-600);
    --c-ok: var(--green-700);
    --c-chrome: var(--navy-900);
    --c-chrome-2: var(--navy-800);
    --c-on-chrome: #E8EEF8;
    --c-on-chrome-2: #A9B8D0;              /* 7.4:1 on navy-900 */
    --c-focus: var(--amber-500);

    /* type */
    --font-display: 'Barlow Semi Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    --fs-xs: .8125rem; --fs-sm: .9375rem; --fs-base: 1.0625rem; --fs-lg: 1.1875rem;
    --fs-h4: 1.25rem;
    --fs-h3: clamp(1.35rem, 1.1rem + .9vw, 1.6rem);
    --fs-h2: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
    --fs-h1: clamp(2.25rem, 1.5rem + 3.2vw, 4rem);
    --fs-display: clamp(2.6rem, 1.6rem + 4.6vw, 5.25rem);

    /* space (4/8 rhythm) */
    --space-xs: .375rem; --space-sm: .75rem; --space-md: 1rem; --space-lg: 1.5rem;
    --space-xl: 2.5rem; --space-2xl: 4rem; --space-3xl: 6rem;

    /* shape + depth */
    --radius-sm: 6px; --radius: 10px; --radius-md: 12px; --radius-lg: 16px; --radius-xl: 24px; --radius-pill: 999px;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 1px 3px rgba(15, 23, 42, .08);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, .08), 0 2px 4px rgba(15, 23, 42, .05);
    --shadow-lg: 0 18px 40px rgba(10, 31, 61, .16);

    /* layout */
    --container: 1200px; --container-narrow: 780px;
    --gutter: clamp(1rem, .5rem + 2.5vw, 2rem);
    --header-height: 76px;
    --ease: cubic-bezier(.2, .7, .2, 1); --duration: .2s;

    /* motif: the orange/blue rear chevrons on units 64-1 and 64-2 */
    --chevrons: repeating-linear-gradient(135deg, var(--amber-500) 0 14px, var(--blue-700) 14px 28px);

    /* legacy aliases — existing page views style themselves with these */
    --gold: var(--c-primary);
    --gold-light: var(--blue-200);
    --gold-dark: var(--c-primary-hover);
    --gold-text-on-light: var(--c-primary);
    --accent: var(--c-primary);
    --red-alert: var(--c-alert);
    --off-white: var(--c-surface-2);
    --text-primary: var(--c-text);
    --text-secondary: var(--c-text-2);
    --bg-primary: var(--c-bg);
    --bg-secondary: var(--c-surface-2);
    --border: var(--c-border);
    --black: var(--slate-950);
    --charcoal: var(--navy-900);
    --medium-gray: var(--c-text-2);
    --light-gray: var(--c-border);
    --ink: var(--c-text);
    --c-text-dim: var(--c-text-2);
    --c-bg-alt: var(--c-surface-2);
}

/* ─── 2. Base ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-height) + 1rem); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
    font-family: var(--font-body); font-size: var(--fs-base); line-height: 1.65;
    color: var(--c-text); background: var(--c-bg);
    -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
    overflow-x: clip;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--c-primary-hover); }
ul, ol { list-style: none; }
button { cursor: pointer; border: 0; background: none; font: inherit; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.1; letter-spacing: -.005em; color: var(--c-text); text-wrap: balance; }
h1 { font-size: var(--fs-h1); } h2 { font-size: var(--fs-h2); } h3 { font-size: var(--fs-h3); } h4 { font-size: var(--fs-h4); }
p { text-wrap: pretty; }
strong, b { font-weight: 650; }
hr, .separator { border: 0; height: 1px; background: var(--c-border); margin: var(--space-xl) 0; }

:focus { outline: none; }
:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; border-radius: 4px; }
.site-header :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .band :focus-visible { outline-color: var(--amber-400); }

.skip-link { position: absolute; left: var(--space-md); top: -200px; z-index: 10000; background: var(--amber-500); color: var(--navy-950); font-weight: 700; padding: .75rem 1.25rem; border-radius: var(--radius); }
.skip-link:focus { top: var(--space-md); }
.visually-hidden, .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; }
.visually-hidden--focusable:focus { position: static !important; width: auto; height: auto; margin: 0; clip: auto; white-space: normal; }

/* ─── 3. Layout ─────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(3rem, 2rem + 4vw, 6rem); }
.section--tint { background: var(--c-surface-2); }
.section--chrome { background: var(--c-chrome); color: var(--c-on-chrome); }
.section__head { max-width: 46rem; margin-bottom: var(--space-xl); }
.section__head--center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--font-display); font-weight: 700; font-size: .95rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-primary); margin-bottom: .6rem; }
.eyebrow::before { content: ""; width: 22px; height: 4px; border-radius: 2px; background: var(--c-accent); }
.section--chrome .eyebrow, .band .eyebrow, .hero .eyebrow { color: var(--amber-400); }
.lede { font-size: var(--fs-lg); color: var(--c-text-2); max-width: 40rem; }
.section__head--center .lede { margin-inline: auto; }
.grid { display: grid; gap: var(--space-lg); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.split { display: grid; gap: var(--space-2xl); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr .95fr; } .split--flip > :first-child { order: 2; } }
.stack > * + * { margin-top: var(--space-md); }

.chevron-rule { height: 10px; background: var(--chevrons); }
.chevron-rule--thin { height: 6px; }

/* ─── 4. Chrome ─────────────────────────────────────────────────── */
/* 4a. 911 alert bar (red = emergency only) */
.alert-bar { background: var(--c-alert); color: #fff; font-size: var(--fs-sm); position: relative; z-index: 1001; }
.alert-bar .container { display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 40px; padding-right: 3.25rem; }
.alert-bar__text strong { font-size: 1.05em; letter-spacing: .04em; }
.alert-bar__text a { color: #fff; font-weight: 700; }
.alert-bar__close { position: absolute; right: .5rem; top: 50%; transform: translateY(-50%); color: #fff; font-size: 1.4rem; line-height: 1; min-width: 44px; min-height: 40px; border-radius: var(--radius-sm); }
.alert-bar__close:hover { background: rgba(255, 255, 255, .15); }
.alert-bar.is-dismissed { display: none; }
.burn-ban-bar { background: var(--amber-500); color: var(--navy-950); font-weight: 600; padding: .55rem 0; text-align: center; font-size: var(--fs-sm); }

/* 4b. Header */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--c-border); transition: box-shadow var(--duration) var(--ease); }
.site-header.scrolled { box-shadow: var(--shadow-md); }
.site-header > .container { display: flex; align-items: center; gap: var(--space-md); min-height: var(--header-height); }
.site-header__brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--c-text); flex-shrink: 0; }
.site-header__brand:hover { color: var(--c-text); }
.site-header__logo { width: 52px; height: 52px; }
.site-header__text { display: flex; flex-direction: column; line-height: 1.05; }
.site-header__name { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: .01em; text-transform: uppercase; color: var(--navy-900); }
.site-header__station { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-text-2); margin-top: .2rem; }
.site-header__actions { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.header-phone { display: inline-flex; align-items: center; gap: .5rem; font-weight: 650; font-size: var(--fs-sm); color: var(--navy-900); text-decoration: none; padding: .55rem .85rem; border-radius: var(--radius-pill); border: 1px solid var(--c-border-strong); min-height: 44px; white-space: nowrap; }
.header-phone:hover { border-color: var(--c-primary); color: var(--c-primary); }
.header-phone small { display: none; }

/* 4c. Desktop nav */
.site-nav { margin-left: auto; }
.site-nav__list { display: flex; align-items: center; gap: .15rem; }
.site-nav__item { position: relative; }
.site-nav__link { display: inline-flex; align-items: center; gap: .35rem; padding: .6rem .7rem; min-height: 44px; border-radius: var(--radius-sm); font-weight: 600; font-size: .95rem; color: var(--slate-700); text-decoration: none; white-space: nowrap; }
.site-nav__link:hover, .site-nav__item.is-open > .site-nav__link { color: var(--navy-900); background: var(--c-surface-3); }
.site-nav__link.is-active { color: var(--c-primary); box-shadow: inset 0 -3px 0 var(--c-accent); border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
.site-nav__arrow { font-size: .65rem; transition: transform var(--duration) var(--ease); }
.site-nav__item.is-open .site-nav__arrow { transform: rotate(180deg); }
.site-nav__dropdown { position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: .4rem; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease), visibility var(--duration); z-index: 50; }
.site-nav__item.is-open > .site-nav__dropdown, .site-nav__item.has-dropdown:focus-within > .site-nav__dropdown { opacity: 1; visibility: visible; transform: none; }
.site-nav__dropdown a { display: block; padding: .6rem .8rem; border-radius: var(--radius-sm); color: var(--c-text); font-weight: 550; text-decoration: none; }
.site-nav__dropdown a:hover { background: var(--c-primary-soft); color: var(--c-primary); }
@media (max-width: 1180px) { .site-nav { display: none; } }

/* 4d. Hamburger + mobile sheet */
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; border-radius: var(--radius-sm); border: 1px solid var(--c-border-strong); padding: 0 11px; }
.hamburger span { display: block; height: 2px; background: var(--navy-900); border-radius: 2px; transition: transform var(--duration) var(--ease), opacity var(--duration); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1180px) { .hamburger { display: inline-flex; } }
@media (max-width: 720px) { .header-phone { display: none; } }
@media (max-width: 560px) {
    .site-header__actions .btn--accent { display: none; }          /* Donate lives in the mobile menu */
    .site-header__station { display: none; }
    .site-header__name { font-size: 1.05rem; }
    .site-header__logo { width: 44px; height: 44px; }
    .site-header__brand { min-width: 0; flex-shrink: 1; }
    .site-header__text { min-width: 0; }
}
@media (max-width: 380px) { .site-header__name { font-size: .95rem; } }
.mobile-nav { position: fixed; inset: 0; z-index: 999; background: var(--navy-950); color: var(--c-on-chrome); padding-top: calc(var(--header-height) + 41px); overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity var(--duration) var(--ease), visibility 0s linear var(--duration); }
/* visible immediately on open (so focus can move in), hidden only after the fade on close */
.mobile-nav.is-open { opacity: 1; visibility: visible; transition: opacity var(--duration) var(--ease), visibility 0s; }
.mobile-nav__inner { padding: var(--space-lg) var(--gutter) var(--space-2xl); max-width: 640px; margin-inline: auto; }
.mobile-nav__list > li > a { display: flex; align-items: center; min-height: 52px; font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.mobile-nav__list a:hover { color: var(--amber-400); }
.mobile-nav__heading { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--amber-400); padding: 1.25rem 0 .25rem; }
.mobile-nav__sub a { display: block; padding: .5rem 0 .5rem 1rem; color: var(--c-on-chrome-2); text-decoration: none; }
.mobile-nav__cta { display: grid; gap: .75rem; margin-top: var(--space-xl); }
body.nav-open { overflow: hidden; }

/* 4e. Admin "edit this page" strip */
.admin-edit-bar { background: var(--amber-100); border-bottom: 1px solid var(--amber-500); padding: .5rem 0; font-size: var(--fs-sm); }

/* 4f. Footer */
.site-footer { background: var(--navy-950); color: var(--c-on-chrome-2); font-size: var(--fs-sm); position: relative; }
.site-footer::before { content: ""; display: block; height: 10px; background: var(--chevrons); }
.site-footer > .container { padding-block: var(--space-2xl) var(--space-lg); }
.site-footer a { color: var(--c-on-chrome); text-decoration: none; }
.site-footer a:hover { color: var(--amber-400); text-decoration: underline; }
.site-footer h3, .site-footer h4 { color: #fff; font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: var(--space-md); }
.site-footer__grid { display: grid; gap: var(--space-xl); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer__brand { display: flex; flex-direction: column; gap: .5rem; }
.site-footer__logo { width: 84px; height: 84px; margin-bottom: .5rem; }
.site-footer__brand h3 { text-transform: none; letter-spacing: 0; font-size: 1.35rem; margin: 0; }
.site-footer__links ul { display: grid; gap: .45rem; }
.site-footer__contact p { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .55rem; }
.site-footer__contact i { width: 1.1em; margin-top: .3em; color: var(--amber-400); }
.site-footer__social { display: flex; gap: .5rem; margin-top: var(--space-md); }
.site-footer__social a { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08); font-size: 1.05rem; }
.site-footer__social a:hover { background: var(--amber-500); color: var(--navy-950); text-decoration: none; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: var(--space-sm) var(--space-lg); justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .1); margin-top: var(--space-xl); padding-top: var(--space-lg); font-size: var(--fs-xs); }
.site-footer__bottom p a { margin-inline: .15rem; }
.footer-signup { display: flex; flex-wrap: wrap; gap: var(--space-md) var(--space-lg); align-items: center; justify-content: space-between; background: var(--navy-900); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius-lg); padding: var(--space-lg); margin-bottom: var(--space-2xl); }
.footer-signup strong { color: #fff; font-family: var(--font-display); font-size: 1.35rem; display: block; }
.footer-signup__form { display: flex; flex-wrap: wrap; gap: .5rem; flex: 1 1 340px; }
.footer-signup__form input[type="email"] { flex: 1 1 200px; min-height: 48px; padding: .65rem .9rem; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); color: #fff; }
.footer-signup__form input::placeholder { color: var(--c-on-chrome-2); }
.emergency-box { display: flex; align-items: center; gap: .9rem; background: var(--c-alert); color: #fff; border-radius: var(--radius-md); padding: .9rem 1.1rem; }
.emergency-box__number { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: 1; }
.emergency-box__text { font-weight: 600; line-height: 1.3; }
.site-footer__emergency p { margin-top: .75rem; }

/* ─── 5. Components ─────────────────────────────────────────────── */
/* Buttons — min 48px tall, squared "unit lettering" look */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .7rem 1.4rem; border-radius: var(--radius); border: 2px solid transparent; font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background var(--duration) var(--ease), color var(--duration), border-color var(--duration), transform var(--duration) var(--ease), box-shadow var(--duration); }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-hover); color: #fff; box-shadow: 0 6px 18px rgba(29, 78, 216, .28); }
.btn--accent { background: var(--amber-500); color: var(--navy-950); }
.btn--accent:hover { background: var(--amber-400); color: var(--navy-950); box-shadow: 0 6px 18px rgba(238, 122, 47, .35); }
.btn--outline { background: transparent; color: var(--c-primary); border-color: currentColor; }
.btn--outline:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.btn--outline-light { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--outline-light:hover { background: #fff; border-color: #fff; color: var(--navy-900); }
.btn--dark { background: var(--navy-900); color: #fff; }
.btn--dark:hover { background: var(--navy-800); color: #fff; }
.btn--danger { background: var(--c-alert); color: #fff; }
.btn--danger:hover { background: var(--red-700); color: #fff; }
.btn--ghost { background: transparent; color: var(--c-text-2); min-height: 40px; padding: .45rem .75rem; }
.btn--ghost:hover { background: var(--c-surface-3); color: var(--c-text); }
.btn--sm { min-height: 40px; padding: .45rem 1rem; font-size: .9rem; }
.btn--lg { min-height: 56px; padding: .9rem 1.75rem; font-size: 1.075rem; }
.btn--block, .btn--full { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .55; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Cards (.admin-card is the fork's generic public card — keep it) */
.card, .admin-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: clamp(1.25rem, 1rem + 1vw, 2rem); box-shadow: var(--shadow-sm); margin-bottom: var(--space-lg); }
.admin-card__header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding-bottom: var(--space-md); margin-bottom: var(--space-lg); border-bottom: 1px solid var(--c-border); }
.admin-card__title { font-size: 1.35rem; display: flex; align-items: center; gap: .5rem; }
.admin-card__title::before { content: ""; width: 6px; height: 1.1em; border-radius: 3px; background: var(--c-primary); flex-shrink: 0; }
.card--link { display: block; color: inherit; text-decoration: none; transition: transform var(--duration) var(--ease), box-shadow var(--duration), border-color var(--duration); }
.card--link:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-200); color: inherit; }

/* Icon tile */
.icon-tile { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: var(--radius-md); background: var(--c-primary-soft); color: var(--c-primary); font-size: 1.35rem; flex-shrink: 0; }
.icon-tile--accent { background: var(--amber-100); color: var(--amber-700); }
.icon-tile--chrome { background: var(--navy-900); color: var(--amber-400); }

/* Forms */
.form-group { margin-bottom: 1.15rem; }
.form-group label, .form-label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .4rem; color: var(--c-text); }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="date"], input[type="password"], input[type="url"], input[type="search"], input:not([type]), select, textarea {
    width: 100%; min-height: 48px; padding: .65rem .85rem; border: 1px solid var(--c-border-strong); border-radius: var(--radius); background: var(--c-surface); font-size: 1rem; line-height: 1.4; transition: border-color var(--duration), box-shadow var(--duration);
}
textarea { min-height: 7.5rem; resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: var(--slate-400); }
input:focus, select:focus, textarea:focus { border-color: var(--c-primary); box-shadow: 0 0 0 4px rgba(29, 78, 216, .16); outline: none; }
input:disabled, select:disabled, textarea:disabled { background: var(--c-surface-3); color: var(--c-text-2); }
input[aria-invalid="true"], select[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--c-alert); }
.form-hint, .help-text { font-size: var(--fs-xs); color: var(--c-text-2); margin-top: .35rem; }
.form-check { display: flex; align-items: flex-start; gap: .6rem; margin-bottom: .65rem; }
.form-check input, input[type="checkbox"], input[type="radio"] { width: 1.25rem; height: 1.25rem; margin-top: .2rem; accent-color: var(--c-primary); flex-shrink: 0; }
fieldset { border: 0; } legend { font-weight: 700; margin-bottom: .6rem; }
.error, .field-error { color: var(--c-alert); font-size: var(--fs-xs); font-weight: 600; margin-top: .3rem; }

/* Flash / notices */
.flash { display: flex; gap: .75rem; align-items: flex-start; padding: 1rem 1.15rem; border-radius: var(--radius-md); border: 1px solid; border-left-width: 5px; margin-bottom: var(--space-lg); font-weight: 500; }
.flash--success { background: var(--green-50); border-color: #86EFAC; border-left-color: var(--green-700); color: #14532D; }
.flash--error { background: var(--red-50); border-color: #FCA5A5; border-left-color: var(--c-alert); color: #7F1D1D; }
.flash--info { background: var(--blue-50); border-color: var(--blue-200); border-left-color: var(--c-primary); color: var(--blue-800); }
.flash--warning { background: var(--amber-100); border-color: #F8B98F; border-left-color: var(--amber-500); color: #7A2E0E; }
.notice-sample { display: block; background: var(--amber-100); border: 1px dashed var(--amber-700); color: #7A2E0E; border-radius: var(--radius); padding: .6rem .85rem; font-size: var(--fs-xs); font-weight: 600; margin-bottom: var(--space-md); }

/* Badges */
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .6rem; border-radius: var(--radius-pill); font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--c-surface-3); color: var(--slate-700); }
.badge--active, .badge--published { background: var(--green-100); color: var(--green-700); }
.badge--draft { background: var(--amber-100); color: var(--amber-700); }
.badge--inactive { background: var(--c-surface-3); color: var(--c-text-2); }
.badge--ems { background: var(--blue-100); color: var(--blue-800); }

/* Pagination */
.pagination { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin-top: var(--space-xl); }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 .75rem; border-radius: var(--radius); border: 1px solid var(--c-border); color: var(--c-text); text-decoration: none; font-weight: 600; }
.pagination a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.pagination .is-current, .pagination .is-active { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(6, 20, 41, .94); display: none; align-items: center; justify-content: center; padding: var(--space-xl); }
.lightbox.is-open { display: flex; }
.lightbox__img { max-height: 82vh; border-radius: var(--radius); }
.lightbox__caption { color: #fff; text-align: center; margin-top: .75rem; }
.lightbox__close, .lightbox__nav, .lightbox__prev, .lightbox__next { position: absolute; color: #fff; font-size: 1.6rem; width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* ─── 6. Page sections ──────────────────────────────────────────── */
/* 6a. Home hero */
.hero { position: relative; background: var(--navy-950); color: var(--c-on-chrome); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background:
    radial-gradient(60rem 30rem at 85% -10%, rgba(29, 78, 216, .55), transparent 60%),
    radial-gradient(40rem 24rem at -10% 110%, rgba(29, 78, 216, .35), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950)); }
.hero__inner { display: grid; gap: var(--space-2xl); align-items: center; padding-block: clamp(3.5rem, 2rem + 6vw, 7rem) clamp(4.5rem, 3rem + 6vw, 8rem); }
@media (min-width: 980px) { .hero__inner { grid-template-columns: 1.15fr .85fr; } }
.hero__title { color: #fff; font-size: var(--fs-display); font-weight: 800; line-height: .98; text-transform: uppercase; letter-spacing: -.01em; }
.hero__title span { display: block; color: var(--amber-400); }
.hero__subtitle { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); color: var(--c-on-chrome); max-width: 34rem; margin-top: var(--space-lg); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: var(--space-xl); }
.hero__meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: var(--space-xl); color: var(--c-on-chrome-2); font-size: var(--fs-sm); }
.hero__meta i { color: var(--amber-400); margin-right: .35rem; }
.hero__meta a { color: var(--c-on-chrome); }
.hero__pulse { position: absolute; left: 0; right: 0; bottom: 16px; z-index: -1; width: 100%; height: 72px; opacity: .4; pointer-events: none; }
.hero__pulse path { fill: none; stroke: var(--amber-500); stroke-width: 2.5; stroke-linejoin: round; stroke-linecap: round; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: var(--chevrons); }
.hero__visual { position: relative; }
.hero__photo { border-radius: var(--radius-xl); overflow: hidden; border: 3px solid rgba(238, 122, 47, .85); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.unit-card { background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-xl); padding: var(--space-xl); backdrop-filter: blur(6px); }
.unit-card__badge { width: 132px; height: 132px; margin-bottom: var(--space-lg); }
.unit-card__row { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.unit-card__row span:first-child { color: var(--c-on-chrome-2); font-size: var(--fs-sm); }
.unit-card__row span:last-child, .unit-card__row a { color: #fff; font-weight: 650; text-align: right; }
.status-dot { display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; background: #22C55E; margin-right: .45rem; box-shadow: 0 0 0 4px rgba(34, 197, 94, .2); }

/* 6b. Stats strip */
.stats-bar { background: var(--c-surface); border-bottom: 1px solid var(--c-border); }
.stats-bar__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
.stat-item { padding: var(--space-lg) var(--space-md); text-align: center; border-right: 1px solid var(--c-border); }
.stat-item:last-child { border-right: 0; }
.stat-item__number { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 1.6rem + 1.5vw, 2.8rem); line-height: 1; color: var(--navy-900); }
.stat-item__label { display: block; margin-top: .4rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-text-2); }
@media (max-width: 640px) { .stat-item { border-right: 0; border-bottom: 1px solid var(--c-border); } }

/* 6c. "How can we help" hub */
.hub { display: grid; gap: var(--space-md); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.hub > li { display: flex; }                     /* every card fills its grid row: equal heights, links level at the bottom */
.hub > li > .hub-card { flex: 1; }
.hub-card { display: flex; flex-direction: column; gap: .75rem; padding: var(--space-lg); border-radius: var(--radius-lg); background: var(--c-surface); border: 1px solid var(--c-border); color: var(--c-text); text-decoration: none; position: relative; transition: transform var(--duration) var(--ease), box-shadow var(--duration), border-color var(--duration); }
.hub-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--blue-200); color: var(--c-text); }
.hub-card__title { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; line-height: 1.15; }
.hub-card__text { color: var(--c-text-2); font-size: var(--fs-sm); }
.hub-card__go { margin-top: auto; font-weight: 650; color: var(--c-primary); display: inline-flex; align-items: center; gap: .4rem; }
.hub-card__go i { transition: transform var(--duration) var(--ease); }
.hub-card:hover .hub-card__go i { transform: translateX(3px); }

/* 6d. Membership band (navy, chevron edges) */
.band { position: relative; background: var(--navy-900); color: var(--c-on-chrome); overflow: hidden; }
.band::before, .band::after { content: ""; position: absolute; left: 0; right: 0; height: 10px; background: var(--chevrons); }
.band::before { top: 0; } .band::after { bottom: 0; }
.band h2 { color: #fff; }
.band .lede { color: var(--c-on-chrome); }
.band__list { display: grid; gap: .8rem; margin-top: var(--space-lg); }
.band__list li { display: flex; gap: .75rem; align-items: flex-start; }
.band__list i { color: var(--amber-400); margin-top: .3em; }
.band__panel { background: var(--navy-800); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius-xl); padding: var(--space-xl); }
.band__panel h3 { color: #fff; }
.band__panel p { color: var(--c-on-chrome-2); }

/* 6e. Service list */
.service { display: flex; gap: var(--space-md); align-items: flex-start; }
.service h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.service p { color: var(--c-text-2); font-size: var(--fs-sm); }

/* 6f. Page header (inner pages) */
.page-header, .page-hero { position: relative; background: var(--navy-900); color: var(--c-on-chrome); padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) clamp(2.75rem, 2rem + 3vw, 4.75rem); overflow: hidden; }
.page-header::after, .page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--chevrons); }
.page-header::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40rem 18rem at 100% 0, rgba(29, 78, 216, .45), transparent 65%); pointer-events: none; }
.page-header .container { position: relative; }
.page-header__title, .page-header h1, .page-hero h1 { color: #fff; font-size: var(--fs-h1); font-weight: 800; text-transform: uppercase; }
.page-header__lede { color: var(--c-on-chrome); font-size: var(--fs-lg); max-width: 42rem; margin-top: .75rem; }
.crumbs { font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--amber-400); margin-bottom: .5rem; }
.crumbs a { color: var(--amber-400); text-decoration: none; }
.page-header a:not(.btn), .page-hero a:not(.btn) { color: var(--amber-400); }

.content-section { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }

/* 6g. CMS content typography */
.cms-content { font-size: var(--fs-base); }
.cms-content > * + * { margin-top: 1rem; }
.cms-content h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin-top: 2.25rem; }
.cms-content h3 { font-size: 1.4rem; margin-top: 1.75rem; }
.cms-content ul, .cms-content ol { padding-left: 1.4rem; }
.cms-content ul { list-style: disc; } .cms-content ol { list-style: decimal; }
.cms-content li + li { margin-top: .35rem; }
.cms-content li::marker { color: var(--c-primary); }
.cms-content a { font-weight: 600; }
.cms-content blockquote { border-left: 4px solid var(--c-accent); padding: .5rem 0 .5rem 1rem; color: var(--c-text-2); font-size: var(--fs-lg); }
.cms-content img { border-radius: var(--radius-md); }
.cms-content table { width: 100%; border-collapse: collapse; }
.cms-content th, .cms-content td { border: 1px solid var(--c-border); padding: .6rem .75rem; text-align: left; }
.cms-content th { background: var(--c-surface-2); }

/* 6h. News */
.news-list, .news-grid { display: grid; gap: var(--space-lg); grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
.news-card { display: flex; flex-direction: column; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow var(--duration), transform var(--duration) var(--ease); }
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.news-card__img-link { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--c-surface-3); }
.news-card__img { width: 100%; height: 100%; object-fit: cover; }
.news-card__body, .news-card--compact { padding: var(--space-lg); }
.news-card--compact { border-top: 5px solid var(--c-primary); }
.news-card__date { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-accent-text); margin-bottom: .4rem; }
.news-card__title { font-size: 1.4rem; line-height: 1.2; margin-bottom: .5rem; }
.news-card__title a { color: var(--c-text); text-decoration: none; }
.news-card__title a:hover { color: var(--c-primary); }
.news-card__excerpt { color: var(--c-text-2); font-size: var(--fs-sm); margin-bottom: .75rem; }
.news-card__link { margin-top: auto; font-weight: 650; text-decoration: none; }

/* 6i. Gallery */
.gallery-grid { display: grid; gap: var(--space-lg); grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.gallery-card { display: block; border-radius: var(--radius-lg); overflow: hidden; background: var(--c-surface); border: 1px solid var(--c-border); color: inherit; text-decoration: none; transition: box-shadow var(--duration), transform var(--duration) var(--ease); }
.gallery-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); color: inherit; }
.gallery-card__img, .gallery-card__placeholder { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; background: var(--c-surface-3); display: grid; place-items: center; color: var(--slate-400); font-size: 2rem; }
.gallery-card__info { padding: var(--space-md) var(--space-lg); }
.gallery-card__title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
.gallery-card__count { font-size: var(--fs-xs); color: var(--c-text-2); }
.photo-grid { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 10rem), 1fr)); }
.photo-item { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: var(--c-surface-3); cursor: zoom-in; }
.photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.photo-item:hover img { transform: scale(1.04); }
.photo-item__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: .5rem .7rem; background: linear-gradient(transparent, rgba(6, 20, 41, .85)); color: #fff; font-size: var(--fs-xs); }

/* 6j. Fundraisers + donate */
.fundraiser-grid { display: grid; gap: var(--space-lg); grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.fundraiser-card { display: flex; flex-direction: column; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-lg); overflow: hidden; color: inherit; text-decoration: none; transition: box-shadow var(--duration), transform var(--duration) var(--ease); }
.fundraiser-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); color: inherit; }
.fundraiser-card__img, .fundraiser-card__placeholder { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; background: var(--navy-900); color: var(--amber-400); display: grid; place-items: center; font-size: 2.4rem; }
.fundraiser-card__body { padding: var(--space-lg); display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.fundraiser-card__type { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-primary); }
.fundraiser-card__title { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; line-height: 1.15; }
.fundraiser-card__price { font-weight: 700; font-size: 1.15rem; color: var(--navy-900); margin-top: auto; }
.fundraiser-card__deadline { font-size: var(--fs-xs); color: var(--c-text-2); }
.donate-section { background: var(--c-surface-2); padding-block: var(--space-2xl); }
.donate-presets { display: grid; grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr)); gap: .6rem; margin-bottom: var(--space-md); }
.donate-preset { min-height: 56px; border: 2px solid var(--c-border-strong); border-radius: var(--radius); background: var(--c-surface); font-weight: 700; font-size: 1.15rem; color: var(--navy-900); transition: border-color var(--duration), background var(--duration), color var(--duration); }
.donate-preset:hover { border-color: var(--c-primary); }
.donate-preset.is-active, .donate-preset[aria-pressed="true"] { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.ticket-card { background: var(--c-surface); border: 2px dashed var(--c-border-strong); border-radius: var(--radius-lg); padding: var(--space-lg); }

/* 6k. Team / officers */
.team-group + .team-group { margin-top: var(--space-2xl); }
.team-group__title { display: flex; align-items: center; gap: .6rem; font-size: 1.6rem; margin-bottom: var(--space-lg); }
.team-group__title::after { content: ""; flex: 1; height: 2px; background: var(--c-border); }
.team-grid { display: grid; gap: var(--space-md); grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.team-card { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; border-radius: var(--radius-lg); border: 1px solid var(--c-border); background: var(--c-surface); }
.team-card__initials { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--navy-900); color: var(--amber-400); font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; flex-shrink: 0; }
.team-card__name { font-weight: 700; font-size: 1.05rem; line-height: 1.25; }
.team-card__title { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c-primary); }
.team-card--vacant .team-card__initials { background: var(--c-surface-3); color: var(--c-text-3); }
.team-card--vacant .team-card__name { color: var(--c-text-3); font-style: italic; font-weight: 500; }
.officers-list { display: grid; gap: .5rem; }
.officer-row { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; border: 1px solid var(--c-border); border-radius: var(--radius); }
.officer-row__title { font-weight: 700; color: var(--c-primary); }

/* 6l. Contact */
.contact-grid { display: grid; gap: var(--space-xl); grid-template-columns: 1fr; }
@media (min-width: 880px) { .contact-grid { grid-template-columns: .9fr 1.1fr; } }
.contact-list { display: grid; gap: .9rem; }
.contact-item { display: flex; gap: .9rem; align-items: center; }
.contact-item__label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--c-text-2); }
.contact-item__value { font-weight: 650; color: var(--c-text); text-decoration: none; font-size: 1.05rem; }
a.contact-item__value:hover { color: var(--c-primary); }

/* 6m. Steps (join page) */
.steps { counter-reset: step; display: grid; gap: var(--space-md); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.step { position: relative; padding: var(--space-lg); padding-top: 3.25rem; border-radius: var(--radius-lg); background: var(--c-surface); border: 1px solid var(--c-border); }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 1rem; left: var(--space-lg); width: 32px; height: 32px; border-radius: 50%; background: var(--amber-500); color: var(--navy-950); font-weight: 800; display: grid; place-items: center; font-family: var(--font-display); }
.step h3 { font-size: 1.25rem; margin-bottom: .35rem; }
.step p { color: var(--c-text-2); font-size: var(--fs-sm); }

/* 6n. FAQ (details/summary) */
.faq { display: grid; gap: .6rem; }
.faq details { border: 1px solid var(--c-border); border-radius: var(--radius-md); background: var(--c-surface); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1rem 1.15rem; font-weight: 650; min-height: 52px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--c-primary); transition: transform var(--duration) var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 1.15rem 1.1rem; color: var(--c-text-2); }

/* ─── 7. Legacy page vocabulary (fork pages kept as-is) ─────────── */
.mission-section { padding-block: var(--space-2xl); }
.mission-grid { display: grid; gap: var(--space-lg); grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.mission-card { padding: var(--space-lg); border-radius: var(--radius-lg); border: 1px solid var(--c-border); background: var(--c-surface); }
.mission-card__icon { width: 52px; height: 52px; border-radius: var(--radius-md); display: grid; place-items: center; background: var(--c-primary-soft); color: var(--c-primary); font-size: 1.3rem; margin-bottom: var(--space-md); }
.mission-card__title { font-size: 1.35rem; margin-bottom: .35rem; }
.mission-card__text { color: var(--c-text-2); font-size: var(--fs-sm); }
.stat-cards { display: grid; gap: var(--space-md); grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
.stat-card { padding: var(--space-lg); border-radius: var(--radius-lg); border: 1px solid var(--c-border); background: var(--c-surface); }
.stat-card__value { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--navy-900); }
.stat-card__label { font-size: var(--fs-xs); color: var(--c-text-2); text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.detail-grid { display: grid; gap: .25rem 1.5rem; grid-template-columns: max-content 1fr; }
.detail-row { display: contents; }
.detail-label { font-weight: 650; color: var(--c-text-2); }
.parade-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--space-lg); }
.parade-tab { min-height: 44px; padding: .5rem 1rem; border-radius: var(--radius); border: 1px solid var(--c-border-strong); font-weight: 650; }
.parade-tab.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.parade-form-panel { display: none; }
.parade-form-panel.is-active { display: block; }
.app-question { padding: .9rem 0; border-bottom: 1px solid var(--c-border); }
.app-question__text { font-weight: 600; margin-bottom: .4rem; }
.app-question__answers { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.app-question__answers label { display: inline-flex; gap: .4rem; align-items: center; min-height: 44px; }
.external-link::after { content: " \2197"; font-size: .85em; }
.login-page { min-height: 70vh; display: grid; place-items: center; padding: var(--space-xl) var(--gutter); background: var(--c-surface-2); }
.login-card { width: min(100%, 420px); background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius-xl); padding: var(--space-xl); box-shadow: var(--shadow-md); }
.login-card__logo { width: 80px; margin: 0 auto var(--space-md); }
.login-card__title { text-align: center; font-size: 1.8rem; }
.login-card__sub { text-align: center; color: var(--c-text-2); margin-bottom: var(--space-lg); }
.media-item { border-radius: var(--radius); overflow: hidden; }
/* fork forms lay fields out in inline grids: keep labels on one line on wide screens so the boxes stay level
   (bottom-aligning instead misplaced boxes that have help text underneath, e.g. SSN). Phones stack the grids below. */
@media (min-width: 721px) { .content-section [style*="grid-template-columns"] > .form-group > label { white-space: nowrap; } }
@media (max-width: 720px) {
    /* fork pages use inline multi-column grids; stack them on phones */
    .content-section [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
}

/* ─── 8. Utilities ──────────────────────────────────────────────── */
.muted, .text-muted { color: var(--c-text-2); }
.small { font-size: var(--fs-xs); }
.center { text-align: center; }
.mt-0 { margin-top: 0 !important; } .mt-md { margin-top: var(--space-md); } .mt-lg { margin-top: var(--space-lg); } .mt-xl { margin-top: var(--space-xl); }
.mb-0 { margin-bottom: 0 !important; } .mb-md { margin-bottom: var(--space-md); } .mb-lg { margin-bottom: var(--space-lg); }

/* ─── 9. Motion + print ─────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
    .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
    .js .reveal.is-visible { opacity: 1; transform: none; }
    .hero__pulse path { stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: pulse-draw 3.2s var(--ease) .3s forwards; }
    @keyframes pulse-draw { to { stroke-dashoffset: 0; } }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media (forced-colors: active) {
    .btn, .hub-card, .card, .admin-card { border: 1px solid CanvasText; }
    .chevron-rule, .hero::after, .band::before, .band::after, .site-footer::before, .page-header::after { background: CanvasText; }
}
@media print {
    .alert-bar, .site-header, .mobile-nav, .site-footer, .footer-signup, .hero__actions, .btn { display: none !important; }
    .page-header, .page-hero, .hero { background: none; color: #000; }
    .page-header__title, .hero__title { color: #000; }
    a { color: #000; text-decoration: underline; }
}

/* ─── 10. Photography (added 2026-10-31 with the agency's own photos) ─── */
.photo-frame { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); background: var(--c-surface-3); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.hero__photo { position: relative; margin: 0; }
.hero__chip { position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; background: rgba(6, 20, 41, .82); color: #fff; font-weight: 650; font-size: var(--fs-sm); padding: .5rem .85rem; border-radius: var(--radius-pill); backdrop-filter: blur(6px); }
.band__photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: center 65%; border-radius: var(--radius-lg); margin-bottom: var(--space-lg); }

/* ─── 11. Touch targets (mobile audit 2026-10-31: every tappable thing ≥ 44px where it stands alone) ─── */
.alert-bar__text a[href^="tel:"] { display: inline-flex; align-items: center; min-height: 32px; padding: .2rem .7rem; margin-block: .25rem; border: 2px solid rgba(255, 255, 255, .85); border-radius: var(--radius-pill); text-decoration: none; }
.alert-bar__text a[href^="tel:"]:hover { background: #fff; color: var(--c-alert); }
.alert-bar .container { min-height: 48px; }
.hero__meta a, .contact-item__value, .site-footer__contact a, .site-footer__links a, .footer-signup a, .crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer__links ul { gap: 0; }
.site-footer__bottom p a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: .2rem; }
input[type="checkbox"], input[type="radio"] { width: 1.5rem; height: 1.5rem; }
label:has(> input[type="checkbox"]), label:has(> input[type="radio"]) { min-height: 44px; display: inline-flex; align-items: center; gap: .55rem; cursor: pointer; }
.form-check { min-height: 44px; align-items: center; }
@media (max-width: 560px) {
    .hero__meta { flex-direction: column; gap: 0; }
    .footer-signup__form .btn { width: 100%; }
    .btn-row .btn { flex: 1 1 100%; }                 /* full-width stacked buttons are easier to hit with a thumb */
}
.hero__photo picture, .photo-frame picture { display: block; width: 100%; height: 100%; }
.hero__meta { align-items: center; }
.hero__meta > span { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; }   /* address + phone share one 44px row (2026-10-31) */
.hero__meta i { margin-right: 0; }
.hero__meta { flex-direction: column; align-items: flex-start; gap: 0; }   /* always two clean left-aligned lines: address, then phone */

/* ─── 12. Donate page: main column + "Other ways to help" sidebar (2026-11-01) ─── */
.donate-layout { display: grid; gap: var(--space-xl); grid-template-columns: minmax(0, 1fr); align-items: start; }
.donate-main, .donate-aside { min-width: 0; }
@media (max-width: 560px) { .btn { white-space: normal; text-align: center; } }   /* long button labels wrap instead of widening the page */
@media (min-width: 1000px) { .donate-layout { grid-template-columns: minmax(0, 1fr) 21rem; } .donate-aside { position: sticky; top: calc(var(--header-height) + 1rem); } }
.donate-aside { background: var(--c-surface-2); border: 1px solid var(--c-border); border-radius: var(--radius-lg); padding: var(--space-lg); }
.donate-aside h2 { font-size: 1.45rem; margin-bottom: var(--space-md); }
.help-list { display: grid; gap: .6rem; }
.help-item { display: flex; align-items: center; gap: .8rem; padding: .8rem .9rem; min-height: 64px; border-radius: var(--radius-md); background: var(--c-surface); border: 1px solid var(--c-border); color: var(--c-text); text-decoration: none; }
a.help-item:hover { border-color: var(--blue-200); box-shadow: var(--shadow-sm); color: var(--c-text); }
.help-item .icon-tile { width: 44px; height: 44px; font-size: 1.1rem; }
.help-item strong { display: block; font-size: 1rem; }
.help-item strong + span { display: block; font-size: var(--fs-xs); color: var(--c-text-2); line-height: 1.45; margin-top: .1rem; }
.help-item__go { margin-left: auto; color: var(--c-primary); font-size: .85rem; flex-shrink: 0; }
