/* ==========================================================================
   FOG PUBLIC WEBSITE — "Grove-FOG / Warm Humanity" design system
   --------------------------------------------------------------------------
   Single source of truth for the public site UI (light theme only — the
   dark mode experiment was removed per the Sept-2025 redesign brief).
   Loaded LAST in views/layouts/header.php so it wins the cascade over
   legacy global.css / per-page sheets. Selectors are `html`-prefixed on
   purpose: many views still ship inline <style> blocks that render after
   the head CSS, and per-page sheets (home.css…) are linked inside <body>.
   Palette (from assets/images/logo.png): royal blue #004090 + gold #D0B028.
   ========================================================================== */

:root {
  --fog-header-h: 74px;
}

/* ============================== 1. BASE ================================== */
html body {
  background: var(--fog-paper);
  color: var(--fog-text);
  font-family: var(--fog-font-body);
  -webkit-font-smoothing: antialiased;
}
html main {
  background: var(--fog-paper);
  min-height: 60vh;
  padding-top: 0;
}
/* Only the layout-level main offsets the fixed header… */
html body > main { padding-top: var(--fog-header-h); }
/* …nested mains (home.php ships its own <main>) must not double-offset. */
html body > main > main {
  padding-top: 0;
  margin-top: calc(-1 * var(--fog-header-h));
}
/* NOTE: no section-level pull-up — every full-bleed-hero page nests its own
   <main class="page-*"> (handled above); legal/FAQ pages start with container
   divs and keep the layout padding. */
html ::selection { background: var(--fog-gold); color: #06264A; }
html a { color: var(--fog-primary); }
html a:hover { color: var(--fog-primary-strong); }
html :focus-visible {
  outline: 3px solid color-mix(in srgb, var(--fog-gold) 70%, transparent);
  outline-offset: 2px;
  border-radius: 4px;
}
html h1, html h2, html h3, html h4 {
  font-family: var(--fog-font-display);
  color: var(--fog-ink);
  letter-spacing: -.02em;
}

/* gold rule under main page titles */
html main h1::after {
  content: "";
  display: block;
  width: 76px; height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--fog-gold), rgba(208, 176, 40, .35));
  margin: 14px 0 0;
}
html main h1[style*="center"]::after,
html .text-center h1::after { margin-left: auto; margin-right: auto; }

/* ============================= 2. BUTTONS ================================ */
html .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--fog-font-body);
  font-weight: 800;
  font-size: .9rem;
  line-height: 1;
  padding: 13px 24px;
  border-radius: var(--fog-r-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform .18s var(--fog-ease), box-shadow .18s var(--fog-ease),
              background .18s, color .18s, border-color .18s;
}
html .btn:hover { transform: translateY(-2px); }
html .btn:active { transform: translateY(0); }
html .btn svg, html .btn .fog-i { width: 16px; height: 16px; flex: none; }

/* navy primary */
html .btn-primary {
  background: var(--fog-primary);
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(0, 64, 144, .28);
}
html .btn-primary:hover {
  background: var(--fog-primary-strong);
  box-shadow: 0 10px 24px rgba(0, 64, 144, .35);
}
html .btn-navy { background: var(--fog-primary); color: #fff !important; }
html .btn-navy:hover { background: var(--fog-primary-strong); }

/* brand gold CTA (Donate) — navy ink keeps AA contrast on gold */
html .btn-secondary,
html .btn-gold {
  background: linear-gradient(135deg, #E3CC63 0%, var(--fog-gold) 100%);
  color: #06264A !important;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(208, 176, 40, .38);
}
html .btn-secondary:hover,
html .btn-gold:hover {
  box-shadow: 0 10px 24px rgba(208, 176, 40, .45);
  filter: saturate(1.08);
}

/* outlines */
html .btn-outline {
  background: transparent;
  border-color: var(--fog-line-strong);
  color: var(--fog-text);
}
html .btn-outline:hover { border-color: var(--fog-primary); color: var(--fog-primary); }
html .btn-outline-navy {
  background: transparent;
  border: 2px solid var(--fog-primary);
  color: var(--fog-primary) !important;
}
html .btn-outline-navy:hover { background: var(--fog-primary); color: #fff !important; }
html .btn-outline-gold {
  background: transparent;
  border: 2px solid var(--fog-gold);
  color: var(--fog-gold-ink) !important;
}
html .btn-outline-gold:hover { background: var(--fog-gold); color: #06264A !important; }
html .btn-outline-white {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, .8);
  color: #fff !important;
}
html .btn-outline-white:hover { background: #fff; color: #06264A !important; }

/* semantic actions */
html .btn-success {
  background: var(--fog-success);
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(22, 128, 80, .25);
}
html .btn-success:hover { filter: brightness(1.07); }
html .btn-danger {
  background: var(--fog-danger);
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(190, 42, 48, .25);
}
html .btn-danger:hover { filter: brightness(1.07); }
/* quiet text button — still clearly interactive */
html .btn-text, html .btn-link {
  background: transparent;
  border-color: transparent;
  color: var(--fog-primary) !important;
  padding: 10px 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  box-shadow: none;
}
html .btn-text:hover, html .btn-link:hover {
  background: var(--fog-primary-soft);
  text-decoration: none;
}
/* every button keeps a visible keyboard focus ring */
html .btn:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--fog-gold) 75%, transparent);
  outline-offset: 2px;
}

/* modifiers */
html .btn-block { display: flex; width: 100%; }
html .btn-sm { padding: 10px 18px; font-size: .82rem; }
html .btn-lg { padding: 16px 30px; font-size: 1rem; }
html .btn[disabled], html .btn.disabled {
  opacity: .55; pointer-events: none; box-shadow: none;
}

/* ========================= 3. SITE HEADER ================================ */
html .site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--fog-header-h);
  /* NOTE: no backdrop-filter here, and never a position:fixed child. A filter
     — or the transform used by the mobile scroll auto-hide in §3.1 — turns
     this element into the containing block for fixed descendants, which is
     what used to break the mobile menu sheet. The sheet + overlay therefore
     live as SIBLINGS of <header> in header.php; keep them out of the header. */
  background: rgba(250, 248, 241, .97);
  border-bottom: 1px solid transparent;
  transition: box-shadow .25s var(--fog-ease), border-color .25s, background .25s;
}
html .site-header.scrolled {
  background: #FAF8F1;
  border-bottom-color: color-mix(in srgb, var(--fog-gold) 45%, var(--fog-line));
  box-shadow: 0 6px 24px rgba(6, 38, 74, .08);
}
html .header-container {
  max-width: 1240px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

/* --- logo: image sits directly on the background, no plate/box --- */
html .logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: none;
}
html .logo-image {
  display: block;
  width: 46px; height: 46px;
  object-fit: contain;
  background: none !important;      /* kill any legacy gradient plate */
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  transition: transform .25s var(--fog-ease);
}
html .logo-container:hover .logo-image { transform: rotate(-4deg) scale(1.05); }
html .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}
html .logo-primary1, html .logo-primary {
  font-family: var(--fog-font-display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: .01em;
  color: var(--fog-primary);
}
html .logo-secondary {
  font-family: var(--fog-font-body);
  font-weight: 800;
  font-size: .62rem;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--fog-gold-ink);
}

/* --- primary nav --- */
html .main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}
html .nav-link {
  position: relative;
  display: inline-block;
  padding: 9px 15px;
  border-radius: var(--fog-r-pill);
  font-family: var(--fog-font-body);
  font-weight: 700;
  font-size: .92rem;
  color: var(--fog-text);
  text-decoration: none;
  transition: color .18s, background .18s;
}
html .nav-link::after { display: none; } /* legacy underline off */
html .nav-link:hover {
  color: var(--fog-primary);
  background: var(--fog-primary-soft);
}
html .nav-link.active {
  color: var(--fog-primary);
  background: var(--fog-primary-soft);
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--fog-primary) 30%, transparent);
}

/* --- actions --- */
html .header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
html .header-actions .btn { padding: 11px 22px; font-size: .88rem; }
html .header-donate svg { width: 15px; height: 15px; }

/* --- hamburger --- */
html .mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  background: transparent;
  border: 1.5px solid var(--fog-line-strong);
  border-radius: 12px;
  cursor: pointer;
}
html .mobile-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  border-radius: 2px;
  background: var(--fog-primary);
  transition: transform .25s var(--fog-ease), opacity .2s;
}
html .mobile-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
html .mobile-toggle.active span:nth-child(2) { opacity: 0; }
html .mobile-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 900px) {
  html .main-nav { display: none; }
  html .header-donate { display: none; }
  html .mobile-toggle { display: flex; }
  html .header-container { gap: 12px; }
  /* .main-nav used to carry the `margin-left:auto` that pushed the actions to
     the right edge; once it is hidden the toggle would sit beside the logo.
     Move that auto margin onto the actions so the hamburger stays pinned to
     the far right of the header. */
  html .header-actions { margin-left: auto; }

  /* --- 3.1 auto-hide on scroll (phones only) ------------------------------
     Both scroll handlers (header.php + home.js StickyHeader) have toggled
     .site-header.hidden all along, but no stylesheet ever styled it — so the
     bar sat frozen at the top instead of getting out of the way. Wired up
     here: it slides up on scroll down and returns on the first pixel of
     scroll up. Kept inside ≤900px so desktop keeps its always-visible bar. */
  html .site-header {
    /* transform joins the transition list so the hide/show is animated */
    transition: transform .28s var(--fog-ease), box-shadow .25s var(--fog-ease),
                border-color .25s, background .25s;
  }
  html .site-header.hidden {
    transform: translateY(-100%);
    box-shadow: none;
    border-bottom-color: transparent;
  }
  /* keyboard safety: if the bar is hidden but something inside it has a
     *keyboard* focus ring, bring it back. `:focus-visible` (not
     `:focus-within`) on purpose — a tap leaves focus on the toggle, and
     `:focus-within` would then veto the auto-hide for the rest of the visit. */
  html .site-header:has(:focus-visible) { transform: none; }
  /* the sheet is a sibling of <header>, so it is never carried off-screen
     with the bar; just make sure a hidden header never lags behind an open menu */
  html body:has(.mobile-menu.active) .site-header { transform: none; }
  /* a sticky in-page sub-nav (FAQ) should hug the top edge while the bar is
     tucked away, otherwise it hovers with a header-height gap under it */
  html body:has(.site-header.hidden) .quick-nav,
  html body:has(.site-header.hidden) .faq-quick-nav { top: 0; }
}
@media (max-width: 420px) {
  /* Brand lockup stays complete on phones — logo mark + "Friends of God /
     Foundation", exactly like desktop, just one size step down so the name
     and the right-aligned toggle still fit a 320px viewport. */
  html .header-container { padding: 0 16px; }
  html .logo-container { gap: 9px; min-width: 0; }
  html .logo-image { width: 40px; height: 40px; }
  html .logo-text { display: flex; min-width: 0; }
  html .logo-primary1, html .logo-primary { font-size: .9rem; white-space: nowrap; }
  html .logo-secondary { font-size: .54rem; letter-spacing: .22em; white-space: nowrap; }
}

/* ======================= 4. MOBILE MENU SHEET ============================ */
html .mobile-menu {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 1200;
  width: min(380px, 88vw);
  background: var(--fog-paper);
  border-left: 1px solid var(--fog-line);
  box-shadow: -20px 0 60px rgba(6, 38, 74, .18);
  transform: translateX(105%);
  /* visibility in the transition = sheet stays visible while sliding out */
  transition: transform .32s var(--fog-ease), visibility 0s linear .32s;
  overflow-y: auto;
  /* the sheet is long (primary links + Explore group + CTAs exceed a phone
     viewport) — it must scroll on its own without dragging the locked page
     behind it, and without the scroll "bouncing" past its own ends. */
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  /* there is a non-passive document touchmove listener (the scroll lock); this
     tells the compositor up front that vertical panning inside the sheet is
     allowed, so finger-scrolling never waits on the handler */
  touch-action: pan-y;
  visibility: hidden;
}
html .mobile-menu.active {
  transform: translateX(0);
  visibility: visible;
  transition: transform .32s var(--fog-ease), visibility 0s;
}
html .mobile-menu-container { display: flex; flex-direction: column; min-height: 100%; }
html .mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* viewport-fit=cover: keep the "Menu"/close row clear of the notch/home bar */
  padding: calc(18px + env(safe-area-inset-top)) 20px 18px;
  border-bottom: 1px solid var(--fog-line);
  position: sticky; top: 0;
  background: var(--fog-paper);
  z-index: 2;
}
html .mobile-menu-title {
  font-family: var(--fog-font-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fog-text-faint);
}
html .mobile-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--fog-line-strong);
  background: var(--fog-surface);
  color: var(--fog-text-muted);
  cursor: pointer;
  transition: color .18s, border-color .18s, transform .18s;
}
html .mobile-close:hover { color: var(--fog-primary); border-color: var(--fog-primary); transform: rotate(90deg); }
html .mobile-menu-content {
  /* bottom padding clears the iOS home indicator so the Donate / Apply CTAs
     aren't flush against the edge of a full-bleed (viewport-fit=cover) sheet */
  padding: 14px 20px calc(28px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 4px;
}
html .mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 14px;
  font-family: var(--fog-font-body);
  font-weight: 700;
  font-size: .98rem;
  color: var(--fog-text);
  text-decoration: none;
  transition: background .16s, color .16s;
}
html .mobile-nav-link:hover,
html .mobile-nav-link.active {
  background: var(--fog-primary-soft);
  color: var(--fog-primary);
}
html .mobile-nav-link.active { box-shadow: inset 3px 0 0 var(--fog-gold); }
html .mobile-menu-group {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px dashed var(--fog-line-strong);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
html .mobile-menu-label {
  font-family: var(--fog-font-display);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fog-gold-ink);
  padding: 6px 14px;
}
html .mobile-status-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1.5px dashed color-mix(in srgb, var(--fog-primary) 45%, var(--fog-line));
  background: var(--fog-primary-soft);
  color: var(--fog-primary);
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
}
html .mobile-status-badge:hover { background: color-mix(in srgb, var(--fog-primary) 14%, #fff); }
html .mobile-menu-actions {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
html .mobile-menu-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--fog-line);
  color: var(--fog-text-faint);
  font-size: .78rem;
  text-align: center;
}
html .menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(6, 38, 74, .45);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
html .menu-overlay.active { opacity: 1; visibility: visible; }

/* ================== 5. HOMEPAGE WARM HERO (sample layout) ================ */
html .fog-hero {
  position: relative;
  /* top padding clears the fixed 74px site header + breathing room */
  padding: calc(var(--fog-header-h, 74px) + 24px) 0 72px;
  background:
    radial-gradient(720px 380px at 88% -10%, rgba(208, 176, 40, .16), transparent 62%),
    radial-gradient(560px 340px at -8% 108%, rgba(0, 64, 144, .12), transparent 62%),
    linear-gradient(170deg, var(--fog-paper) 0%, #F3EEDF 60%, #EDE6D2 100%);
  overflow: hidden;
}
html .fog-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
html .fog-kicker {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--fog-surface);
  border: 1px solid var(--fog-line);
  box-shadow: var(--fog-sh-1);
  color: var(--fog-primary);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--fog-r-pill);
  margin-bottom: 22px;
}
html .fog-kicker .fog-i { width: 16px; height: 16px; color: var(--fog-gold-ink); }
html .fog-hero-title {
  font-family: var(--fog-font-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -.025em;
  color: var(--fog-ink);
  margin-bottom: 20px;
}
html .fog-underline { position: relative; color: var(--fog-primary); white-space: nowrap; }
html .fog-underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -.18em;
  height: .28em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 14' preserveAspectRatio='none'%3E%3Cpath d='M3 9c40-5 90-7 194-4' fill='none' stroke='%23D0B028' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}
html .fog-hero-sub {
  font-size: 1.05rem;
  color: var(--fog-text-muted);
  max-width: 520px;
  margin-bottom: 30px;
}
html .fog-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
html .fog-hero-cta .btn { padding: 13px 26px; font-size: .95rem; }

/* rounded showcase frame hosting the legacy slideshow (home.js drives it) */
html .fog-hero-frame {
  position: relative;
  height: 480px;
  border-radius: 28px;
  overflow: hidden;
  border: 1.5px solid var(--fog-line);
  box-shadow: var(--fog-sh-3);
  background: var(--fog-surface);
}
html .fog-hero-frame .hero-slideshow { height: 100%; min-height: 0; }
html .fog-hero-frame .slideshow-container,
html .fog-hero-frame .slides-wrapper { height: 100%; }
html .fog-hero-frame .slide-content,
html .fog-hero-frame .scroll-indicator,
html .fog-hero-frame .progress-container,
html .fog-hero-frame .slideshow-nav { display: none; }
html .fog-hero-frame .slide-indicators { bottom: 14px; }
html .fog-hero-frame .slide-bg { filter: saturate(1.05); }
/* no full-slide colour cover: only a soft bottom scrim so the indicators
   stay visible while the photograph remains the hero */
html .fog-hero-frame .slide-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 38, 74, .38) 0%, rgba(6, 38, 74, 0) 34%);
  pointer-events: none;
}
html .fog-hero-frame .slide-indicators button,
html .fog-hero-frame .slide-indicators .indicator {
  box-shadow: 0 1px 4px rgba(6, 38, 74, .5);
}

/* legacy full-page slideshow polish (if ever rendered outside the frame) */
html .slide-badge {
  display: inline-block;
  background: rgba(208, 176, 40, .18);
  border: 1px solid rgba(208, 176, 40, .55);
  color: #F3E3A0;
  font-size: .74rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 7px 16px; border-radius: var(--fog-r-pill);
}
html .slide-title {
  font-family: var(--fog-font-display);
  font-weight: 800;
  letter-spacing: -.02em;
  color: #fff;
}
html .slide-title .highlight { color: var(--fog-gold); }
html .slide-description { color: rgba(255, 255, 255, .88); max-width: 560px; }
html .slide-indicators button, html .slide-indicators .indicator {
  border-radius: var(--fog-r-pill);
}
html .slide-indicators .active, html .slide-indicators button.active {
  background: var(--fog-gold) !important;
}

/* ===================== 6. STATS / METRIC CARDS =========================== */
html .impact-metrics { padding: 56px 0 8px; background: transparent; }
html .metrics-grid { gap: 20px; }
html .metric-card {
  background: var(--fog-surface);
  border: 1.5px solid var(--fog-line);
  border-radius: var(--fog-r-md);
  box-shadow: var(--fog-sh-1);
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 16px;
  padding: 22px 24px;
  text-align: left;
  transition: transform .22s var(--fog-ease), box-shadow .22s var(--fog-ease), border-color .22s;
}
html .metric-icon {
  grid-row: 1 / span 2;
  width: 52px; height: 52px;
  border-radius: 17px;
  background: var(--fog-primary-soft);
  color: var(--fog-primary);
  display: inline-flex; align-items: center; justify-content: center;
}
html .metric-icon .grad-icon, html .metric-icon svg, html .metric-icon .fog-i {
  width: 26px; height: 26px;
}
html .metric-value {
  grid-column: 2;
  font-family: var(--fog-font-display);
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--fog-ink);
  letter-spacing: -.02em;
}
html .metric-label { grid-column: 2; color: var(--fog-text-muted); font-weight: 700; }

/* ==================== 7. SECTIONS & CONTENT CARDS ======================== */
html .section { padding: 88px 0; }
html .section-title {
  font-family: var(--fog-font-display);
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--fog-ink);
}
html .section-title .highlight,
html .mission-section .highlight { color: var(--fog-gold-ink); }
html .section-subtitle, html .section-description { color: var(--fog-text-muted); }
html .mission-statement, html .mission-text { color: var(--fog-text-muted); }

html .card,
html .feature,
html .cta-card,
html .program-card {
  background: var(--fog-surface);
  border: 1.5px solid var(--fog-line);
  border-radius: var(--fog-r-md);
  box-shadow: var(--fog-sh-1);
  transition: transform .22s var(--fog-ease), box-shadow .22s var(--fog-ease), border-color .22s;
}
html .card:hover,
html .feature:hover,
html .cta-card:hover,
html .program-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--fog-sh-2);
  border-color: color-mix(in srgb, var(--fog-gold) 55%, var(--fog-line));
}
html .cta-icon {
  border-radius: 18px;
  background: var(--fog-gold-soft);
  color: var(--fog-gold-ink);
}

html .impact-stories .story-card, html .story-card {
  border-radius: var(--fog-r-md);
  border: 1.5px solid var(--fog-line);
  background: var(--fog-surface);
  overflow: hidden;
  box-shadow: var(--fog-sh-1);
  transition: transform .22s var(--fog-ease), box-shadow .22s var(--fog-ease);
}
html .story-card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: var(--fog-sh-3); }
html .metric-card:hover { transform: translateY(-6px) rotate(-.4deg); }

/* donate / final CTA band — rounded brand-gradient panel */
html .final-cta, html .cta-section {
  background: transparent !important;
  padding: 72px 0;
}
html .final-cta .container, html .cta-section .container {
  background: linear-gradient(130deg, #06264A 0%, #004090 62%, #0A54A8 100%);
  border-radius: var(--fog-r-lg);
  color: #fff;
  padding: 48px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--fog-sh-3);
}
html .final-cta .container::before, html .cta-section .container::before {
  content: "";
  position: absolute; right: -70px; top: -90px;
  width: 260px; height: 260px; border-radius: 50%;
  background: rgba(208, 176, 40, .22);
}
html .final-cta .container::after, html .cta-section .container::after {
  content: "";
  position: absolute; left: -60px; bottom: -110px;
  width: 230px; height: 230px; border-radius: 50%;
  background: rgba(255, 255, 255, .08);
}
html .final-cta h2, html .cta-section h2 { color: #fff; }
html .final-cta p, html .cta-section p { color: rgba(255, 255, 255, .82); }

/* reusable "Explore more" band (secondary-nav surfacing on any page) */
html .fog-explore { padding: 64px 0; }
html .fog-explore-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 26px; flex-wrap: wrap;
}
html .fog-explore-head h2 { font-size: 1.5rem; margin: 0; }
html .fog-explore-head p { color: var(--fog-text-muted); margin: 0; }
html .fog-explore-links {
  display: flex; flex-wrap: wrap; gap: 10px;
}
html .fog-explore-links a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px;
  border-radius: var(--fog-r-pill);
  border: 1.5px solid var(--fog-line-strong);
  background: var(--fog-surface);
  color: var(--fog-text);
  font-weight: 700; font-size: .88rem;
  text-decoration: none;
  transition: border-color .18s, color .18s, transform .18s, box-shadow .18s;
}
html .fog-explore-links a:hover {
  border-color: var(--fog-primary);
  color: var(--fog-primary);
  transform: translateY(-2px);
  box-shadow: var(--fog-sh-1);
}
html .fog-explore-links a .fog-i { width: 16px; height: 16px; color: var(--fog-gold-ink); }

/* transparency pledge — keep the navy glass panel, warm it up */
html .transparency-commitment {
  background:
    radial-gradient(640px 300px at 15% 0%, rgba(208, 176, 40, .18), transparent 60%),
    linear-gradient(150deg, #06264A 0%, #004090 80%, #0A54A8 100%) !important;
  padding: 88px 0;
}
html .transparency-commitment .commitment-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--fog-r-lg);
  box-shadow: none;
}
html .transparency-commitment .commitment-header {
  color: var(--fog-gold);
  font-family: var(--fog-font-display);
  font-weight: 700;
}
html .transparency-commitment .commitment-card h2 { color: #fff; }
html .transparency-commitment .transparency-metrics .metric-value {
  color: #fff;
  font-family: var(--fog-font-display);
  font-weight: 800;
}
html .transparency-commitment .transparency-metrics .metric-label {
  color: rgba(255, 255, 255, .65);
}

/* values strip (replaces the old value-pillar cards) */
html .values-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 28px;
}
html .value-chip {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 18px;
  background: var(--fog-surface);
  border: 1.5px solid var(--fog-line);
  border-radius: 16px;
  color: var(--fog-text-muted);
  font-size: .88rem;
  line-height: 1.5;
}
html .value-chip strong { color: var(--fog-ink); }
html .value-dot {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--fog-gold-soft);
  color: var(--fog-gold-ink);
  font-family: var(--fog-font-display);
  font-weight: 800;
  font-size: .85rem;
  transform: translateY(6px);
}

/* section header / CTA rhythm */
html .section-header { text-align: center; max-width: 640px; margin: 0 auto 44px; }
html .section-header .section-subtitle {
  display: inline-block;
  font-weight: 800;
  font-size: .74rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fog-gold-ink);
  margin-bottom: 10px;
}
html .section-header .section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 12px; }
html .section-cta { text-align: center; margin-top: 40px; }

/* foundation story video (inline <style> removed from home.php) */
html .foundation-story { padding: 88px 0; background: var(--fog-surface); }
html .foundation-story .video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1.5px solid var(--fog-line);
  box-shadow: var(--fog-sh-3);
}
html .foundation-story .video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* final CTA cards sit on the navy band — keep them light + legible */
html .final-cta .cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 32px;
  position: relative;
  z-index: 1;
}
html .final-cta .cta-card { padding: 28px 24px; text-align: center; }
html .final-cta .cta-icon {
  width: 54px; height: 54px;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 18px;
  background: var(--fog-gold-soft);
  color: var(--fog-gold-ink);
}
html .final-cta .cta-icon .fog-i { width: 26px; height: 26px; }
html .final-cta .cta-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
html .final-cta .cta-card p { color: var(--fog-text-muted) !important; font-size: .9rem; margin-bottom: 18px; }
html .final-cta .cta-content { position: relative; z-index: 1; text-align: center; }
html .final-cta .cta-content > h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
html .final-cta .cta-content > p { max-width: 560px; margin: 12px auto 0; }

/* sticky in-page sub-navs must clear the fixed site header */
html .quick-nav { top: var(--fog-header-h); z-index: 900; }

/* ---------------------------------------------------------------------------
   AA FIX — legacy gold (#D0B028 / #D2AE6D) used as TEXT on light backgrounds
   fails contrast (~1.9:1). Each selector below was machine-verified to occur
   only in light contexts in its page markup; dark-section gold text is left
   untouched. Gold-ink #7A6607 = 5.2:1 on white.
--------------------------------------------------------------------------- */
html .member-role { color: var(--fog-gold-ink); }
html .reference-number { color: var(--fog-gold-ink); }
html .empty-state-icon { color: var(--fog-gold-ink); }
html .sidebar-title svg { color: var(--fog-gold-ink); }
html .empty-icon { color: var(--fog-gold-ink); }
html .contact-method a:hover { color: var(--fog-gold-ink); }
html .method-link:hover { color: var(--fog-gold-ink); }
html .method-link i { color: var(--fog-gold-ink); }
html .time-slot .time { color: var(--fog-gold-ink); }
html .metric-value { color: var(--fog-gold-ink); }
html .lightbox-date svg { color: var(--fog-gold-ink); }
html .stat-number { color: var(--fog-gold-ink); }
html .story-card h2 a:hover { color: var(--fog-gold-ink); }
html .highlight-box h3 { color: var(--fog-gold-ink); }
html .nav-button:hover svg { color: var(--fog-gold-ink); }
html .related-content h4 a:hover { color: var(--fog-gold-ink); }
html .related-date svg { color: var(--fog-gold-ink); }

/* Outline-gold buttons verified on light backgrounds (career filters /
   pagination, check-status actions, transparency): ink text + visible border. */
html .btn-outline-gold {
  color: var(--fog-gold-ink);
  border-color: rgba(91, 77, 4, 0.55);
  background: var(--fog-surface);
}
html .btn-outline-gold:hover,
html .btn-outline-gold:focus-visible {
  color: var(--fog-text);
  border-color: var(--fog-gold-ink);
  background: var(--fog-gold-light);
}
/* …except inside the navy Impact CTA band, where bright gold is correct. */
html .impact-cta .btn-outline-gold {
  color: var(--fog-gold);
  border-color: rgba(208, 176, 40, 0.55);
  background: transparent;
}
html .impact-cta .btn-outline-gold:hover,
html .impact-cta .btn-outline-gold:focus-visible {
  color: var(--fog-text);
  border-color: var(--fog-gold);
  background: var(--fog-gold);
}



/* ---------------------------------------------------------------------------
   AA FIX — white text/icons on GOLD button & icon backgrounds (~2:1).
   Machine-audited: these page rules pair color:#fff with a gold gradient.
   Navy backgrounds keep white text; only gold-bg cases are re-anchored.
--------------------------------------------------------------------------- */
/* apply.php section icon discs: white icon on gold → navy disc */
html .section-icon {
  background: linear-gradient(135deg, var(--fog-primary) 0%, var(--fog-primary-strong) 100%);
}
/* amber "warning" button: white on #D97706 (3.1:1) → darker amber (4.6:1) */
html .btn-warning {
  background: linear-gradient(135deg, #B45309 0%, #92400E 100%);
  border-color: #B45309;
  color: #fff;
}
/* campaign donate CTA: white on #D2AE6D → brand gold + navy ink (6.6:1) */
html .donate-btn {
  background: var(--fog-gold);
  color: var(--fog-ink);
  font-weight: 700;
}
html .donate-btn:hover { background: var(--fog-gold-strong); color: #fff; }
/* status lookup submit buttons: white on gold gradient → navy primary */
html .submit-btn {
  background: linear-gradient(135deg, var(--fog-primary) 0%, var(--fog-primary-strong) 100%);
  color: #fff;
}
html .submit-btn:hover { background: linear-gradient(135deg, var(--fog-primary-strong) 0%, var(--fog-ink) 100%); }
/* emerald status buttons: white on #10B981 (2.5:1) → emerald-700 (4.8:1) */
html .btn-emerald {
  background: linear-gradient(135deg, #047857 0%, #065F46 100%);
  color: #fff;
}
/* "no application" icon disc: white on gold → navy disc */
html .no-application-icon {
  background: linear-gradient(135deg, var(--fog-primary) 0%, var(--fog-primary-strong) 100%);
  color: #fff;
}
/* emergency band: gradient start #ef4444 (3.1:1) → red-600/700 (≥4.5:1) */
html .emergency-icon {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
}
html .emergency-btn {
  background: linear-gradient(135deg, #DC2626 0%, #B91C1C 100%);
  color: #fff;
}

/* ==================== 8. INNER-PAGE HERO BANDS =========================== */
html .page-hero, html .page-header, html .hero-section {
  background:
    radial-gradient(640px 300px at 90% -20%, rgba(208, 176, 40, .18), transparent 60%),
    linear-gradient(160deg, #06264A 0%, #004090 78%, #0A54A8 100%) !important;
  color: #fff;
}
html .page-hero h1, html .page-header h1, html .hero-section h1,
html .page-hero .section-title, html .page-header .section-title { color: #fff; }
html .page-hero h1::after, html .page-header h1::after {
  background: linear-gradient(90deg, var(--fog-gold), rgba(208, 176, 40, .35));
}
html .page-hero p, html .page-header p, html .hero-section p { color: rgba(255, 255, 255, .85); }
html .breadcrumb { color: rgba(255, 255, 255, .6); }
html .breadcrumb a { color: var(--fog-gold); }

/* ========================== 9. FORMS ===================================== */
html .form-group label, html .form-label {
  display: block;
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--fog-text-muted);
  margin-bottom: 7px;
}
html .form-control,
html main input[type="text"],
html main input[type="email"],
html main input[type="tel"],
html main input[type="number"],
html main input[type="date"],
html main input[type="password"],
html main input[type="search"],
html main input[type="url"],
html main select,
html main textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--fog-font-body);
  font-size: .95rem;
  color: var(--fog-ink);
  background: var(--fog-surface);
  border: 1.5px solid var(--fog-line-strong);
  border-radius: 14px;
  transition: border-color .18s, box-shadow .18s;
}
html .form-control:focus,
html main input:focus,
html main select:focus,
html main textarea:focus {
  outline: none;
  border-color: var(--fog-primary);
  box-shadow: 0 0 0 4px var(--fog-primary-soft);
}
html main textarea { min-height: 130px; resize: vertical; }
html .form-control::placeholder, html main input::placeholder, html main textarea::placeholder {
  color: var(--fog-text-faint);
}
html .form-group { margin-bottom: 18px; }
html .form-text, html .help-text { color: var(--fog-text-faint); font-size: .8rem; margin-top: 6px; }

/* alerts / flash messages */
html .alert { border-radius: 14px; padding: 14px 18px; font-weight: 600; border: 1.5px solid; }
html .alert-success, html .success-message { background: var(--fog-success-soft); border: 1.5px solid var(--fog-success-line); color: var(--fog-success); border-radius: 14px; }
html .alert-warning, html .warning-message { background: var(--fog-warning-soft); border: 1.5px solid var(--fog-warning-line); color: var(--fog-warning); border-radius: 14px; }
html .alert-danger, html .alert-error, html .error-message { background: var(--fog-danger-soft); border: 1.5px solid var(--fog-danger-line); color: var(--fog-danger); border-radius: 14px; }
html .alert-info, html .info-message { background: var(--fog-info-soft); border: 1.5px solid var(--fog-info-line); color: var(--fog-info); border-radius: 14px; }

/* ========================== 10. TABLES =================================== */
html main table, html .table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--fog-surface);
  border: 1.5px solid var(--fog-line);
  border-radius: var(--fog-r-md);
  overflow: hidden;
  font-size: .92rem;
}
html main table th, html .table th {
  background: var(--fog-primary-soft);
  color: var(--fog-primary-strong);
  font-family: var(--fog-font-body);
  font-weight: 800;
  font-size: .76rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: left;
  padding: 12px 16px;
}
html main table td, html .table td {
  padding: 12px 16px;
  border-top: 1px solid var(--fog-line);
  color: var(--fog-text);
}
html main table tbody tr:hover td, html .table tbody tr:hover td {
  background: color-mix(in srgb, var(--fog-gold) 7%, var(--fog-surface));
}
@media (max-width: 768px) {
  html main table, html .table { display: block; overflow-x: auto; }
}

/* ====================== 11. PAGINATION / MISC ============================ */
html .pagination { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
html .pagination a, html .pagination span, html .page-link {
  border-radius: 12px !important;
  border: 1.5px solid var(--fog-line);
  color: var(--fog-text-muted);
  font-weight: 700;
  padding: 9px 14px;
  text-decoration: none;
  transition: background .18s, color .18s, border-color .18s;
}
html .pagination a:hover, html .page-link:hover {
  background: var(--fog-primary-soft);
  color: var(--fog-primary);
  border-color: var(--fog-primary);
}
html .pagination .active span, html .pagination .active a, html .page-item.active .page-link {
  background: var(--fog-primary) !important;
  border-color: var(--fog-primary) !important;
  color: #fff !important;
}

/* status pills on public pages */
html .status-badge-pill, html .badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  border-radius: var(--fog-r-pill);
  font-weight: 800; font-size: .74rem;
  letter-spacing: .04em; text-transform: uppercase;
  background: var(--fog-primary-soft); color: var(--fog-primary-strong);
}

/* ========================== 12. FOOTER =================================== */
html .site-footer {
  position: relative;
  background:
    radial-gradient(560px 280px at 12% -10%, rgba(208, 176, 40, .14), transparent 60%),
    linear-gradient(160deg, #06264A 0%, #031628 100%);
  color: rgba(255, 255, 255, .78);
  padding: 72px 0 0;
  margin-top: 0;
}
html .site-footer .container { max-width: 1240px; }
html .footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 48px;
}
html .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-bottom: 18px;
}
html .footer-logo img {
  width: 52px; height: 52px;
  object-fit: contain;
  background: none;
}
html .footer-logo .logo-text { display: flex; flex-direction: column; line-height: 1.15; }
html .footer-logo .logo-primary {
  color: #fff;
  font-family: var(--fog-font-display);
  font-weight: 800;
  font-size: 1rem;
}
html .footer-logo .logo-secondary {
  color: var(--fog-gold);
  font-size: .6rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  font-weight: 800;
}
html .footer-description {
  color: rgba(255, 255, 255, .62);
  font-size: .92rem;
  line-height: 1.65;
  max-width: 320px;
  margin-bottom: 20px;
}
html .footer-cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }

html .footer-heading {
  font-family: var(--fog-font-display);
  font-weight: 700;
  font-size: .8rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fog-gold);
  margin-bottom: 18px;
}
html .footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
html .footer-links a, html .footer-nav a {
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 600;
  display: inline-block;
  transition: color .18s, transform .18s;
}
html .footer-links a:hover, html .footer-nav a:hover {
  color: var(--fog-gold);
  transform: translateX(4px);
}
html .contact-info { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
html .contact-item {
  display: flex;
  gap: 12px;
  color: rgba(255, 255, 255, .72);
  font-size: .9rem;
  line-height: 1.55;
}
html .contact-item .grad-icon, html .contact-item svg {
  width: 20px; height: 20px;
  flex: none;
  margin-top: 2px;
  color: var(--fog-gold);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
html .contact-item a { color: rgba(255, 255, 255, .82); text-decoration: none; }
html .contact-item a:hover { color: var(--fog-gold); }

html .social-links { display: flex; gap: 10px; flex-wrap: wrap; }
html .social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .05);
  color: rgba(255, 255, 255, .8);
  transition: transform .2s var(--fog-ease), background .2s, color .2s, border-color .2s;
}
html .social-link svg {
  width: 18px; height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
html .social-link:hover {
  transform: translateY(-3px);
  background: var(--fog-gold);
  border-color: var(--fog-gold);
  color: #06264A;
}

/* trust strip */
html .trust-badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .1);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
html .trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 18px;
  border-radius: var(--fog-r-pill);
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .82);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: default;
  transition: border-color .2s, background .2s;
}
html .trust-badge:hover { border-color: rgba(208, 176, 40, .6); background: rgba(208, 176, 40, .08); }
html .trust-badge .grad-icon, html .trust-badge svg {
  width: 17px; height: 17px;
  color: var(--fog-gold);
  fill: none; stroke: currentColor; stroke-width: 1.8;
}

/* legal bar */
html .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 26px 0 30px;
}
html .copyright p { margin: 0; color: rgba(255, 255, 255, .55); font-size: .84rem; }
html .legal-note { margin-top: 6px !important; font-size: .76rem !important; color: rgba(255, 255, 255, .4) !important; }
html .footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
html .footer-legal a {
  color: rgba(255, 255, 255, .55);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
  transition: color .18s;
}
html .footer-legal a:hover { color: var(--fog-gold); }

@media (max-width: 980px) {
  html .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 560px) {
  html .site-footer { padding-top: 56px; }
  html .footer-main { grid-template-columns: 1fr; gap: 32px; }
  html .footer-bottom { flex-direction: column; text-align: center; }
  html .footer-legal { justify-content: center; }
}

/* back-to-top */
html .back-to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  z-index: 900;
  width: 52px; height: 52px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #E3CC63, var(--fog-gold));
  color: #06264A;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity .25s, transform .25s var(--fog-ease), box-shadow .25s;
  box-shadow: 0 8px 24px rgba(208, 176, 40, .4);
}
html .back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
html .back-to-top:hover { box-shadow: 0 12px 30px rgba(208, 176, 40, .55); }
html .back-to-top .progress-ring { position: absolute; inset: -6px; transform: rotate(-90deg); }
html .back-to-top .progress-ring circle { fill: none; stroke-width: 2; }
html .back-to-top .progress-ring circle:first-child { stroke: rgba(6, 38, 74, .12); }
html .back-to-top .progress-ring circle:nth-child(2) { stroke: var(--fog-primary); }

/* DB-driven program blocks (public programs page + home empty state) */
html .program-description {
  color: var(--fog-text-muted);
  line-height: 1.75;
  font-size: .95rem;
}
html .program-description br + br { display: none; }
html .programs-empty {
  padding: 36px;
  text-align: center;
  background: var(--fog-surface);
  border: 1.5px dashed var(--fog-line-strong);
  border-radius: var(--fog-r-md);
  color: var(--fog-text-muted);
}
html .programs-empty a { font-weight: 700; }

/* process timeline — restyled for the light theme (home.css paints it white-on-navy) */
html .process-timeline {
  background: var(--fog-surface);
  color: var(--fog-text);
  padding: 88px 0;
}
html .process-timeline .section-title { color: var(--fog-ink); }
html .process-timeline .section-description { color: var(--fog-text-muted); }
html .process-timeline .section-subtitle { color: var(--fog-gold-ink); }
html .process-timeline .section-subtitle::before,
html .process-timeline .section-subtitle::after { background: var(--fog-gold); }
html .timeline::before { background: var(--fog-line-strong); }
html .step-number {
  background: linear-gradient(135deg, #E3CC63, var(--fog-gold));
  color: #06264A;
  box-shadow: 0 6px 16px rgba(208, 176, 40, .35);
  font-family: var(--fog-font-display);
}
html .step-content {
  background: var(--fog-paper);
  border: 1.5px solid var(--fog-line);
  border-radius: var(--fog-r-md);
  backdrop-filter: none;
  box-shadow: var(--fog-sh-1);
}
html .step-content h3 { color: var(--fog-primary); }
html .step-content p { color: var(--fog-text-muted); }
html .step-line { background: var(--fog-gold); }
@media (max-width: 768px) {
  html .timeline::before { left: 30px; }
  html .timeline-step, html .timeline-step:nth-child(odd) { flex-direction: row; }
  html .step-number { margin: 0 1.2rem 0 0; width: 48px; height: 48px; font-size: 1.1rem; }
  html .step-content { padding: 1.25rem; }
  html .step-line { display: none; }
}

/* ======================= 13. RESPONSIVE TUNING =========================== */
@media (max-width: 980px) {
  /* keep the fixed-header clearance on small screens too */
  html .fog-hero { padding: calc(var(--fog-header-h, 74px) + 18px) 0 48px; }
  html .fog-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  html .fog-hero-frame { height: 380px; }
  html .section { padding: 64px 0; }
}
@media (max-width: 560px) {
  :root { --fog-header-h: 64px; }
  html .btn { min-height: 44px; }        /* WCAG touch target */
  html .nav-link, html .mobile-nav-link { min-height: 44px; }
  html .fog-hero-frame { height: 300px; border-radius: 22px; }
  html .final-cta .container, html .cta-section .container { padding: 32px 24px; }
  html .metric-card { padding: 18px; }
  html .btn { padding: 12px 20px; font-size: .86rem; }
}

@media (prefers-reduced-motion: reduce) {
  html .btn:hover,
  html .card:hover,
  html .metric-card:hover,
  html .story-card:hover,
  html .social-link:hover { transform: none; }
  html .mobile-menu { transition: none; }
  /* the header still tucks away on scroll down, just without the slide */
  html .site-header { transition: none; }
}
