/* =========================================================================
   RCBH-SSS — Design Tokens
   Palette   : paper #F4EFE3 · ink #1C2430 · navy #45688E · gold #C99A3D · rust #9C4A2E
   Type      : Fraunces (display) / Public Sans (body) / JetBrains Mono (dates, tags)
   Signature : the "Service Ledger" — a dated, mono-stamped timeline of real
               activities, standing in for a generic numbered list.
   ========================================================================= */

:root{
  --paper:      #F4EFE3;
  --paper-dim:  #ECE5D3;
  --card:       #FFFFFF;
  --ink:        #1C2430;
  --ink-soft:   #4B5563;
  --navy:       #0F2A4A;
  --navy-deep:  #0A1E38;
  --Muted-Navy: #45688E;
  --gold:       #C99A3D;
  --gold-soft:  #E7C77E;
  --rust:       #9C4A2E;
  --rust-deep:  #7E3A22;
  --line:       #DDD4BC;
  --line-dark:  rgba(244,239,227,0.18);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body:    "Public Sans", "Segoe UI", -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", "SFMono-Regular", Menlo, monospace;

  --radius: 4px;
  --radius-lg: 10px;
  --shadow-card: 0 1px 2px rgba(15,42,74,0.06), 0 8px 24px -12px rgba(15,42,74,0.18);
  --shadow-lift: 0 20px 45px -20px rgba(15,42,74,0.35);

  --container: 1180px;
}

@media (prefers-color-scheme: dark){
  /* Intentionally not auto-inverting: the archive/paper metaphor is part of
     the brief. We keep one considered light theme rather than a naive dark mode. */
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

/* Inline icon SVGs default to text-relative sizing (1em) so every icon
   scales naturally with its surrounding font-size and never renders at
   the browser's intrinsic SVG default (300x150px) — this is what caused
   the oversized location-pin icon. Components that want a bigger, fixed
   icon (avenue cards, avatars, file icons) opt back in further down by
   sizing the svg to fill its container. */
svg{ width:1em; height:1em; display:inline-block; vertical-align:-0.125em; flex-shrink:0; }

body{
  margin:0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family: var(--font-display); font-weight:600; line-height:1.15; margin:0 0 .5em; color: var(--navy); }
p{ margin:0 0 1em; }
.container{ max-width: var(--container); margin:0 auto; padding: 0 24px; }

:focus-visible{ outline: 3px solid var(--rust); outline-offset: 2px; }

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing:.08em; text-transform:uppercase;
  color: var(--rust); margin-bottom: 14px;
}
.eyebrow::before{ content:""; width:18px; height:2px; background: var(--rust); display:inline-block; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 13px 24px; border-radius: var(--radius); font-weight:600; font-size:15px;
  border:1px solid transparent; cursor:pointer; transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary{ background: var(--rust); color: #fff; }
.btn-primary:hover{ background: var(--rust-deep); transform: translateY(-1px); }
.btn-outline{ background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-outline:hover{ background: var(--navy); color:#fff; }
.btn-on-dark{ background: var(--gold); color: var(--navy-deep); }
.btn-on-dark:hover{ background: var(--gold-soft); }
.btn-ghost-dark{ background:transparent; border-color: var(--line-dark); color: var(--paper); }
.btn-ghost-dark:hover{ border-color: var(--gold); color: var(--gold); }

/* ---------------------------------------------------------------------
   Utility bar + Header
   ------------------------------------------------------------------- */
.utility-bar{
  background: var(--navy-deep); color: var(--paper);
  font-family: var(--font-mono); font-size: 12.5px;
}
.utility-bar .container{ display:flex; align-items:center; justify-content:space-between; height:38px; gap: 16px; }
.utility-bar .u-left{ display:flex; gap:20px; opacity:.85; }
.utility-bar .u-left span{ display:flex; align-items:center; gap:6px; }
.utility-links{ display:flex; align-items:center; gap:18px; }
.utility-links a{ opacity:.85; transition: opacity .15s; }
.utility-links a:hover{ opacity:1; color: var(--gold-soft); }
.utility-social{ display:flex; align-items:center; gap:12px; }
.utility-social a{ display:flex; opacity:.85; transition: opacity .15s, color .15s; }
.utility-social a:hover{ opacity:1; color: var(--gold-soft); }
.utility-social svg{ width:15px; height:15px; }

header.site-header{
  position: sticky; top:0; z-index: 100;
}

/* ---- Logo band: full-width, navy, Rotary mark left / heading / club mark right ---- */
.logo-band{
  position: relative;
  background: #254A70; /* header-only, noticeably lighter blue than the
                           site-wide --navy per explicit request — scoped
                           here only, doesn't touch --navy itself */
  border-bottom: 1px solid var(--navy-deep);
  overflow: hidden;
}
:root{
  --logo-h-start: 125px;      /* rotary mark, oversized (page load / top of page) */
  --logo-h-end: 75px;         /* rotary mark, retracted (matches previous fixed size) */
  --club-h-start: 108px;      /* club mark scales with the same proportion as before */
  --club-h-end: 65px;
  --heading-fs-start: 36px;
  --heading-fs-end: 23px;
  --band-pad-start: 32px;
  --band-pad-end: 12px;
  --scroll-progress: 0;       /* 0 = top (oversized) .. 1 = fully retracted; set by JS */
}

.logo-band-inner{
  display:flex; align-items:center; justify-content:space-between; gap:11px;
  padding: calc(var(--band-pad-start) - (var(--band-pad-start) - var(--band-pad-end)) * var(--scroll-progress)) 0;
  transition: padding 120ms ease-out;
}
.logo-side{ display:flex; align-items:center; flex-shrink:0; }
.logo-chip{
  display:flex; align-items:center; justify-content:center;
  border-radius: var(--radius-lg);
  padding: 10px 23px;
  box-shadow: var(--shadow-card);
}
.logo-chip-light{ background: transparent; border: none; box-shadow: none; padding: 9px 15px; }
.logo-chip-dark{ background: transparent; border: none; box-shadow: none; }

.logo-rotary{
  height: calc(var(--logo-h-start) - (var(--logo-h-start) - var(--logo-h-end)) * var(--scroll-progress));
  width:auto; object-fit:contain;
  transition: height 120ms ease-out;
}
.logo-club{
  height: calc(var(--club-h-start) - (var(--club-h-start) - var(--club-h-end)) * var(--scroll-progress));
  width: calc(var(--club-h-start) - (var(--club-h-start) - var(--club-h-end)) * var(--scroll-progress));
  object-fit:contain;
  transition: height 120ms ease-out, width 120ms ease-out;
}
.logo-heading{
  flex:1; min-width:0; display:flex; flex-direction:column; align-items:center; text-align:center; gap:3px;
}
.logo-heading strong{
  font-family: var(--font-display); font-weight:600;
  font-size: calc(var(--heading-fs-start) - (var(--heading-fs-start) - var(--heading-fs-end)) * var(--scroll-progress));
  line-height:1.3; letter-spacing:.005em;
  transition: font-size 120ms ease-out;
  display:flex; flex-direction:column;
}
.logo-heading strong .line-1{ color: var(--paper); }
.logo-heading strong .line-2{ color: var(--gold); }
.logo-heading small{
  font-family: var(--font-mono); font-size:11px; color: var(--gold-soft);
  letter-spacing:.05em; text-transform:uppercase;
}

@media (prefers-reduced-motion: reduce){
  .logo-band-inner, .logo-rotary, .logo-club, .logo-heading strong{ transition: none; }
}

@media (max-width: 760px){
  .logo-band-inner{ flex-wrap:wrap; justify-content:center; padding: 14px 0 12px; row-gap:8px; }
  .logo-heading{ order:3; flex-basis:100%; }
  .logo-heading strong{ font-size:19px; }
  .logo-rotary{ height:56px; width:auto; }
  .logo-club{ height:50px; width:50px; }
  .logo-chip{ padding: 6px 11px; }
}

/* ---- Nav band: light bar with the dropdown menu, CTA and mobile toggle ---- */
.nav-band{ background: var(--card); border-bottom: 1px solid var(--line); }
.header-inner{ display:flex; align-items:center; justify-content:space-between; min-height:60px; gap: 20px; }

nav.main-nav{ display:flex; }
nav.main-nav > ul{ display:flex; align-items:center; gap: 4px; }
nav.main-nav > ul > li{ position:relative; }
nav.main-nav > ul > li > a{
  display:flex; align-items:center; gap:6px;
  color: var(--navy); font-size:14.5px; font-weight:500;
  padding: 12px 14px; border-radius: var(--radius);
  transition: color .15s, background .15s;
}
nav.main-nav > ul > li > a:hover,
nav.main-nav > ul > li.active > a{ color: var(--rust); background: var(--paper-dim); }
nav.main-nav .caret{ width:8px; height:8px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity:.7; }

.dropdown{
  position:absolute; top: calc(100% - 4px); left:0; min-width: 260px;
  background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift);
  padding: 8px; opacity:0; visibility:hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
nav.main-nav > ul > li:hover > .dropdown,
nav.main-nav > ul > li:focus-within > .dropdown{ opacity:1; visibility:visible; transform:translateY(0); }
.dropdown a{ display:block; padding: 10px 14px; border-radius: 6px; font-size:14px; color: var(--ink); }
.dropdown a:hover{ background: var(--paper-dim); color: var(--rust); }
.dropdown a.active{ color: var(--rust); font-weight:600; background: var(--paper-dim); }

.header-cta{ display:flex; align-items:center; gap:10px; }
.nav-toggle{ display:none; background:none; border:none; color: var(--navy); padding:8px; cursor:pointer; }
.nav-toggle svg{ width:24px; height:24px; }

/* Mobile nav */
@media (max-width: 960px){
  .utility-bar .u-left{ display:none; }
  .nav-band{ position:relative; }
  nav.main-nav{
    position: absolute; top:100%; left:0; right:0; z-index:90;
    background: var(--card); box-shadow: var(--shadow-lift);
    max-height: calc(100vh - 60px); overflow-y:auto;
    opacity:0; visibility:hidden; transform: translateY(-6px);
    transition: opacity .22s ease, transform .22s ease, visibility .22s;
    padding: 8px 0 24px;
  }
  nav.main-nav.open{ opacity:1; visibility:visible; transform:translateY(0); }
  nav.main-nav > ul{ flex-direction:column; align-items:stretch; padding: 8px 20px; gap:0; }
  nav.main-nav > ul > li{ border-bottom: 1px solid var(--line); }
  nav.main-nav > ul > li > a{ padding: 16px 4px; justify-content:space-between; }
  .dropdown{
    position:static; opacity:1; visibility:visible; transform:none; box-shadow:none;
    background: var(--paper-dim); display:none; margin-bottom: 6px;
  }
  li.dd-open .dropdown{ display:block; }
  .header-cta .btn span{ display:none; }
  .nav-toggle{ display:inline-flex; }
}

/* ---------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------- */
.hero{ background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 60%, var(--paper-dim) 100%); overflow:hidden; }
.hero .container{ display:grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items:center; padding-top: 72px; padding-bottom: 56px; }
.hero .container.hero-grid{ grid-template-columns: 1.65fr 1fr; align-items:start; padding-top: 56px; }
.hero h1{ font-size: clamp(34px, 4.4vw, 54px); margin-bottom: .35em; }
.hero h1 em{ font-style:italic; color: var(--rust); }
.hero p.lead{ font-size: 18px; color: var(--ink-soft); max-width: 46ch; }
.hero .actions{ display:flex; gap:14px; margin-top: 28px; flex-wrap:wrap; }

.stat-row-featured{
  display:grid; grid-template-columns: repeat(4, 1fr); gap:18px; margin-top: 44px;
}
.stat-block{
  background: var(--card); border:1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px 14px; text-align:center; box-shadow: var(--shadow-lift);
  opacity:0; transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
.stat-block.in-view{ opacity:1; transform: translateY(0); }
.stat-block:nth-child(1){ transition-delay: 0s; }
.stat-block:nth-child(2){ transition-delay: .1s; }
.stat-block:nth-child(3){ transition-delay: .2s; }
.stat-block:nth-child(4){ transition-delay: .3s; }
.stat-block .stat-number{
  display:block; font-family: var(--font-display); font-weight:600;
  font-size: clamp(30px, 3.6vw, 46px); line-height:1; letter-spacing:-.02em;
  color: var(--rust); font-variant-numeric: tabular-nums;
}
.stat-block span{
  display:block; margin-top:10px; font-family: var(--font-mono); font-size:11.5px;
  letter-spacing:.05em; text-transform:uppercase; color: var(--ink-soft);
}

@media (max-width: 560px){
  .stat-row-featured{ grid-template-columns: repeat(2, 1fr); }
}

/* ---- Full-bleed hero slideshow (edge to edge, sits right under the header) ---- */
.hero-fullbleed{
  position:relative; width:100%; height:72vh; min-height:440px; max-height:660px;
  overflow:hidden; background: var(--navy);
}
.hero-fullbleed .hero-slide{
  position:absolute; inset:0; opacity:0; visibility:hidden;
  transition: opacity 1s ease, visibility 1s ease;
}
.hero-fullbleed .hero-slide.active{ opacity:1; visibility:visible; }
.hero-fullbleed .hero-slide img{ width:100%; height:100%; object-fit:cover; object-position: center; display:block; }
.hero-fullbleed::after{
  content:''; position:absolute; left:0; right:0; bottom:0; height:150px; pointer-events:none;
  background: linear-gradient(180deg, rgba(15,42,74,0) 0%, rgba(15,42,74,.55) 100%);
}

.slide-arrow{
  position:absolute; top:50%; transform:translateY(-50%); z-index:3;
  width:44px; height:44px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background: rgba(15,42,74,.5); color: var(--paper); border:1px solid rgba(244,239,227,.4);
  font-size:22px; line-height:1; cursor:pointer; transition: background .2s ease;
}
.slide-arrow:hover{ background: rgba(15,42,74,.85); }
.slide-arrow.prev{ left:18px; }
.slide-arrow.next{ right:18px; }
.slide-pause{
  position:absolute; top:16px; right:18px; z-index:3;
  width:36px; height:36px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  background: rgba(15,42,74,.5); color: var(--paper); border:1px solid rgba(244,239,227,.4);
  font-size:11px; cursor:pointer; transition: background .2s ease;
}
.slide-pause:hover{ background: rgba(15,42,74,.85); }

.hero-thumbs{
  position:absolute; left:0; right:0; bottom:14px; z-index:3;
  display:flex; gap:8px; justify-content:center; padding:0 20px; overflow-x:auto;
}
.hero-thumb{
  flex:0 0 auto; width:64px; height:44px; padding:0; border-radius:6px; overflow:hidden;
  border:2px solid rgba(244,239,227,.5); cursor:pointer; opacity:.65;
  transition: opacity .2s ease, border-color .2s ease; background: var(--navy);
}
.hero-thumb img{ width:100%; height:100%; object-fit:cover; display:block; }
.hero-thumb.active, .hero-thumb:hover{ opacity:1; border-color: var(--gold-soft); }
.hero-thumb-more{
  display:flex; align-items:center; justify-content:center; text-align:center;
  background: rgba(244,239,227,.15); opacity:1;
}
.hero-thumb-more span{ font-family: var(--font-mono); font-size:9px; text-transform:uppercase; letter-spacing:.03em; color: var(--paper); line-height:1.3; }
.hero-thumb-more:hover{ background: rgba(244,239,227,.3); border-color: var(--gold-soft); }

/* ---- Marquee strip ---- */
.marquee-bar{ background: var(--navy); border-bottom:1px solid var(--line-dark); overflow:hidden; white-space:nowrap; }
.marquee-track{ display:flex; width:max-content; animation: marquee-scroll 20s linear infinite; }
.marquee-bar:hover .marquee-track{ animation-play-state: paused; }
.marquee-group{ display:flex; align-items:center; gap:60px; padding:10px 60px 10px 0; }
.marquee-group span{
  font-family: var(--font-mono); font-size:12.5px; letter-spacing:.05em; text-transform:uppercase;
  color: var(--gold-soft); white-space:nowrap;
}
@keyframes marquee-scroll{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }

/* ---- Upcoming events sidebar ---- */
.upcoming-card{
  background: var(--card); border:1px solid var(--line); border-radius: var(--radius-lg);
  padding:26px; box-shadow: var(--shadow-lift);
}
.upcoming-card h3{ font-size:19px; margin:2px 0 18px; }
.upcoming-list{ list-style:none; margin:0 0 20px; padding:0; display:flex; flex-direction:column; gap:16px; }
.upcoming-list li{ display:flex; gap:14px; align-items:flex-start; padding-bottom:16px; border-bottom:1px solid var(--line); }
.upcoming-list li:last-child{ border-bottom:none; padding-bottom:0; }
.upcoming-date{
  flex:0 0 auto; width:52px; text-align:center; background: var(--paper-dim); border-radius:8px; padding:8px 4px;
}
.upcoming-date .d{ display:block; font-family: var(--font-display); font-size:20px; color: var(--navy); line-height:1; }
.upcoming-date .m{ display:block; font-family: var(--font-mono); font-size:10px; text-transform:uppercase; color: var(--ink-soft); margin-top:2px; }
.upcoming-info h4{ font-size:14.5px; margin-bottom:4px; }
.upcoming-info h4 a{ color: var(--navy); }
.upcoming-info h4 a:hover{ color: var(--rust); }
.upcoming-info span{ font-size:12.5px; color: var(--ink-soft); display:flex; align-items:center; gap:5px; }

@media (max-width: 900px){
  .hero .container{ grid-template-columns: 1fr; padding-top: 40px; }
  .hero .container.hero-grid{ grid-template-columns: 1fr; gap:36px; }
  .hero-photo{ order:-1; }
  .hero-photo img{ height: 280px; }
  .hero-fullbleed{ height:56vh; min-height:320px; }
  .hero-thumbs{ display:none; }
  .slide-arrow{ width:36px; height:36px; font-size:18px; }
}

/* ---------------------------------------------------------------------
   Section scaffolding
   ------------------------------------------------------------------- */
section{ padding: 76px 0; }
section.tight{ padding: 56px 0; }
.section-head{ max-width: 640px; margin-bottom: 40px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(26px, 3vw, 36px); }
.section-head p{ color: var(--ink-soft); font-size: 16.5px; }

.bg-navy{ background: var(--navy); color: var(--paper); }
.bg-navy h2, .bg-navy h3, .bg-navy h4{ color:#fff; }
.bg-navy .section-head p{ color: rgba(244,239,227,0.72); }
.bg-dim{ background: var(--paper-dim); }

/* ---------------------------------------------------------------------
   Avenues / category grid
   ------------------------------------------------------------------- */
.avenue-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.avenue-card{
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px 22px; box-shadow: var(--shadow-card); transition: transform .18s ease, box-shadow .18s ease;
}
.avenue-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.avenue-card .icon{ width:38px; height:38px; color: var(--rust); margin-bottom: 14px; }
.avenue-card .icon svg{ width:100%; height:100%; }
.avenue-card h4{ font-size:17px; margin-bottom:6px; }
.avenue-card p{ font-size: 14px; color: var(--ink-soft); margin:0; }
@media (max-width: 960px){ .avenue-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .avenue-grid{ grid-template-columns: 1fr; } }


/* =========================================================
   HOMEPAGE SERVICE CARDS - CLICKABLE
   ========================================================= */

a.avenue-card {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

a.avenue-card:hover {
    text-decoration: none;
    color: inherit;
}

/* ---------------------------------------------------------------------
   Service Ledger — the signature timeline component
   ------------------------------------------------------------------- */
.ledger{ position:relative; }
.ledger::before{
  content:""; position:absolute; left: 108px; top:6px; bottom:6px; width:1px;
  background: repeating-linear-gradient(180deg, var(--line) 0 6px, transparent 6px 12px);
}
.ledger-entry{ position:relative; display:grid; grid-template-columns: 108px 1fr; gap: 28px; padding: 22px 0; }
.ledger-entry + .ledger-entry{ border-top: 1px solid var(--line); }
.ledger-date{ font-family: var(--font-mono); font-size: 13px; color: var(--rust); padding-top:4px; text-align:right; padding-right: 24px; position:relative; }
.ledger-date::after{
  content:""; position:absolute; right: -4px; top: 10px; width:9px; height:9px; border-radius:50%;
  background: var(--card); border: 2px solid var(--rust);
}
.ledger-body{ display:flex; gap:20px; align-items:flex-start; flex-wrap:wrap; }
.ledger-thumb{ width:96px; height:72px; border-radius:6px; object-fit:cover; flex-shrink:0; box-shadow: var(--shadow-card); }
.ledger-thumb.placeholder{
  display:flex; align-items:center; justify-content:center; background: var(--paper-dim); color: var(--ink-soft);
  font-family: var(--font-mono); font-size:10px; text-align:center; padding:4px;
}
.ledger-thumb.placeholder svg{ width:24px; height:24px; }
.ledger-text{ flex:1; min-width: 220px; }
.ledger-text h4{ font-size:17px; margin-bottom:4px; }
.ledger-text .place{ font-size: 13px; color: var(--ink-soft); margin-bottom: 6px; display:flex; align-items:center; gap:6px; }
.ledger-text p{ font-size: 14.5px; color: var(--ink-soft); margin:0; max-width: 62ch; }
.tag-chip{
  display:inline-block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing:.04em; text-transform:uppercase;
  background: var(--paper-dim); color: var(--navy); padding: 3px 9px; border-radius: 100px; margin-bottom:8px; border:1px solid var(--line);
}
.bg-navy .ledger-entry + .ledger-entry{ border-color: var(--line-dark); }
.bg-navy .ledger::before{ background: repeating-linear-gradient(180deg, var(--line-dark) 0 6px, transparent 6px 12px); }
.bg-navy .ledger-date::after{ background: var(--navy); }
.bg-navy .ledger-text p, .bg-navy .ledger-text .place{ color: rgba(244,239,227,0.72); }
.bg-navy .tag-chip{ background: rgba(244,239,227,0.08); color: var(--gold-soft); border-color: var(--line-dark); }

@media (max-width: 640px){
  .ledger::before{ left: 62px; }
  .ledger-entry{ grid-template-columns: 62px 1fr; gap: 14px; }
  .ledger-date{ padding-right: 12px; font-size: 11.5px; }
  .ledger-thumb{ width:76px; height:60px; }
}

/* ---------------------------------------------------------------------
   Filter tabs (activities page)
   ------------------------------------------------------------------- */
.filter-row{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom: 36px; }
.filter-chip{
  font-family: var(--font-mono); font-size:13px; padding: 9px 16px; border-radius: 100px;
  border: 1px solid var(--line); background: var(--card); color: var(--ink-soft); transition: all .15s;
}
.filter-chip:hover{ border-color: var(--rust); color: var(--rust); }
.filter-chip.active{ background: var(--navy); border-color: var(--navy); color:#fff; }

/* ---------------------------------------------------------------------
   Quote / leadership
   ------------------------------------------------------------------- */
.quote-block{ display:grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items:center; }
.quote-block blockquote{
  font-family: var(--font-display); font-size: clamp(20px,2.4vw,27px); font-style:italic; color: var(--navy);
  line-height:1.4; margin:0 0 18px; quotes:"“" "”";
}
.quote-block blockquote::before{ content: open-quote; color: var(--gold); margin-right:2px; }
.quote-block blockquote::after{ content: close-quote; color: var(--gold); }
.quote-block .attrib{ font-size:14px; color: var(--ink-soft); }
.quote-block .attrib strong{ color: var(--navy); display:block; font-family: var(--font-body); }
.leader-card{ background: var(--card); border:1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-card); }
@media (max-width: 760px){ .leader-grid{ grid-template-columns: 1fr !important; } }
.leader-card .avatar{
  width:56px; height:56px; border-radius:50%; background: var(--navy); color: var(--gold-soft);
  display:flex; align-items:center; justify-content:center; font-family: var(--font-display); font-size:20px; margin-bottom:16px;
}
@media (max-width: 860px){ .quote-block{ grid-template-columns:1fr; } }

/* ---------------------------------------------------------------------
   Board grid
   ------------------------------------------------------------------- */
.board-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.board-card{ background: var(--card); border:1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; display:flex; gap:14px; align-items:center; }
.board-card .avatar{
  width:46px; height:46px; border-radius:50%; flex-shrink:0; background: var(--paper-dim); color: var(--navy);
  display:flex; align-items:center; justify-content:center; font-family: var(--font-display); font-weight:700;
}
.board-card h4{ font-size:15px; margin:0; }
.board-card span{ font-family: var(--font-mono); font-size:11.5px; color: var(--rust); text-transform:uppercase; letter-spacing:.03em; }
@media (max-width: 800px){ .board-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px){ .board-grid{ grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------
   Milestone / status band
   ------------------------------------------------------------------- */
.status-grid{ display:grid; grid-template-columns: repeat(4,1fr); gap:1px; background: var(--line-dark); border:1px solid var(--line-dark); border-radius: var(--radius-lg); overflow:hidden; }
.status-cell{ background: var(--navy); padding: 26px 22px; }
.status-cell b{ display:block; font-family: var(--font-display); font-size:26px; color: var(--gold-soft); }
.status-cell span{ font-size:13px; color: rgba(244,239,227,0.75); }
@media (max-width: 860px){ .status-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px){ .status-grid{ grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------------
   Lists (achievements / challenges)
   ------------------------------------------------------------------- */
.check-list li, .flag-list li{
  display:flex; gap:12px; padding: 14px 0; border-top: 1px solid var(--line); font-size:15px; color: var(--ink-soft);
}
.check-list li:first-child, .flag-list li:first-child{ border-top:none; }
.two-col{ column-count:2; column-gap:32px; margin-top:10px; }
.two-col li{ break-inside: avoid; }
@media (max-width: 640px){ .two-col{ column-count:1; } }
.check-list li svg, .flag-list li svg{ width:20px; height:20px; flex-shrink:0; margin-top:2px; }
.check-list li svg{ color: var(--rust); }
.flag-list li svg{ color: var(--navy); }

/* ---------------------------------------------------------------------
   Gallery
   ------------------------------------------------------------------- */
.gallery-grid{ column-count: 3; column-gap: 16px; }
.gallery-grid figure{ break-inside: avoid; margin: 0 0 16px; border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-card); background: var(--card); }
.gallery-grid img{ width:100%; cursor: zoom-in; transition: transform .3s ease; }
.gallery-grid img:hover{ transform: scale(1.02); }
.gallery-grid figcaption{ padding: 12px 14px; font-size:13px; }
.gallery-grid figcaption b{ display:block; font-size:14px; }
.gallery-grid figcaption span{ font-family: var(--font-mono); font-size:11px; color: var(--rust); }
@media (max-width: 900px){ .gallery-grid{ column-count:2; } }
@media (max-width: 560px){ .gallery-grid{ column-count:1; } }

.lightbox{ position:fixed; inset:0; background: rgba(10,20,35,0.92); display:none; align-items:center; justify-content:center; z-index:1000; padding: 24px; }
.lightbox.open{ display:flex; }
.lightbox img{ max-width: 90vw; max-height: 82vh; border-radius: 8px; }
.lightbox .cap{ position:absolute; bottom: 28px; left:0; right:0; text-align:center; color: var(--paper); font-size:14px; }
.lightbox-close{ position:absolute; top:20px; right:28px; color:#fff; font-size:32px; background:none; border:none; cursor:pointer; line-height:1; }

/* ---- Press clippings grid (news.php #press) ---- */
.clippings-grid{
  display:grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap:20px;
}
.clipping-card{
  margin:0; border-radius: var(--radius-lg); overflow:hidden;
  box-shadow: var(--shadow-card); background: var(--card); border:1px solid var(--line);
}
.clipping-card img{
  width:100%; height:320px; object-fit:cover; object-position: top center;
  cursor: zoom-in; transition: transform .3s ease; display:block;
}
.clipping-card img:hover{ transform: scale(1.02); }
.clipping-card figcaption{
  padding: 12px 14px; font-size:13px; color: var(--ink-soft); line-height:1.5;
}
@media (max-width: 560px){
  .clippings-grid{ grid-template-columns: 1fr 1fr; }
  .clipping-card img{ height:220px; }
}


/* ---------------------------------------------------------------------
   Reports / downloads
   ------------------------------------------------------------------- */
.report-list{ display:flex; flex-direction:column; gap:12px; }
.report-row{
  display:flex; align-items:center; justify-content:space-between; gap: 16px;
  background: var(--card); border:1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 22px;
}
.report-row .meta{ display:flex; align-items:center; gap:14px; }
.report-row .file-icon{ width:38px; height:38px; color: var(--rust); flex-shrink:0; }
.report-row .file-icon svg{ width:100%; height:100%; }
.report-row h4{ font-size:15.5px; margin:0 0 2px; }
.report-row span{ font-family: var(--font-mono); font-size:11.5px; color: var(--ink-soft); text-transform:uppercase; }
@media (max-width: 560px){ .report-row{ flex-direction:column; align-items:flex-start; } }

/* ---------------------------------------------------------------------
   Contact
   ------------------------------------------------------------------- */
.contact-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.contact-card{ background: var(--card); border:1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-card); }
.info-row{ display:flex; gap:14px; padding: 16px 0; border-top:1px solid var(--line); }
.info-row:first-child{ border-top:none; padding-top:0; }
.info-row svg{ width:20px; height:20px; color: var(--rust); flex-shrink:0; margin-top:3px; }
.info-row h4{ font-size:14px; margin:0 0 3px; }
.info-row p{ margin:0; color: var(--ink-soft); font-size:14.5px; }
.form-row{ margin-bottom: 18px; }
.form-row label{ display:block; font-size:13px; font-weight:600; margin-bottom:6px; color: var(--navy); }
.form-row input, .form-row textarea, .form-row select{
  width:100%; padding: 12px 14px; border-radius: var(--radius); border:1px solid var(--line); font-family: var(--font-body); font-size:14.5px; background:#fff;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus{ border-color: var(--navy); }
.map-frame{ border-radius: var(--radius-lg); overflow:hidden; border:1px solid var(--line); box-shadow: var(--shadow-card); }
.map-frame iframe{ width:100%; height:340px; border:0; display:block; }
@media (max-width: 860px){ .contact-grid{ grid-template-columns:1fr; } }

/* ---------------------------------------------------------------------
   Alert / form feedback
   ------------------------------------------------------------------- */
.alert{ padding: 14px 18px; border-radius: var(--radius); font-size:14.5px; margin-bottom: 20px; }
.alert-success{ background:#EAF3EA; color:#245C2C; border:1px solid #BFE0C4; }
.alert-error{ background:#FBEAE6; color:#7E3A22; border:1px solid #F0C7BA; }

/* ---------------------------------------------------------------------
   Page header (interior pages)
   ------------------------------------------------------------------- */
.page-header{ background: var(--navy); color: var(--paper); padding: 64px 0 52px; }
.page-header .eyebrow{ color: var(--gold-soft); }
.page-header .eyebrow::before{ background: var(--gold-soft); }
.page-header h1{ color:#fff; font-size: clamp(30px,4vw,44px); margin-bottom:10px; }
.page-header p{ color: rgba(244,239,227,0.75); max-width: 60ch; font-size:16px; }
.breadcrumb{ font-family: var(--font-mono); font-size:12px; color: rgba(244,239,227,0.55); margin-bottom:16px; }
.breadcrumb a:hover{ color: var(--gold-soft); }

/* ---------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------- */
footer.site-footer{ background: var(--navy-deep); color: rgba(244,239,227,0.78); padding-top: 68px; }
.footer-grid{ display:grid; grid-template-columns: 1.3fr .9fr .8fr 1fr; gap: 44px; padding-bottom: 52px; }
.footer-col h5{
  font-family: var(--font-mono); font-size:11px; font-weight:500; letter-spacing:.09em; text-transform:uppercase;
  color: var(--gold-soft); margin: 0 0 18px;
}
.footer-brand{ display:flex; gap:12px; margin-bottom:18px; align-items:center; }
.footer-brand strong{ color:#fff; font-family: var(--font-display); font-size:18px; display:block; font-weight:600; }
.footer-brand small{ font-family: var(--font-mono); color: var(--gold-soft); font-size:10.5px; text-transform:uppercase; letter-spacing:.03em; }
.footer-tagline{ font-size:14px; line-height:1.6; opacity:.8; max-width:32ch; margin:0 0 10px; }
.footer-reg{ font-size:12px; opacity:.55; margin:0 0 22px; }
.footer-social{ display:flex; gap:10px; }
.footer-social a{
  width:32px; height:32px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(244,239,227,.2); color: rgba(244,239,227,.75);
  transition: border-color .18s ease, color .18s ease;
}
.footer-social a svg{ width:15px; height:15px; }
.footer-social a:hover{ border-color: var(--gold-soft); color: var(--gold-soft); }

.foot-links-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
footer .foot-links{ list-style:none; margin:0; padding:0; }
footer .foot-links li{ margin-bottom:12px; }
footer .foot-links a{ font-size:14px; opacity:.78; transition: opacity .15s ease, color .15s ease; }
footer .foot-links a:hover{ opacity:1; color: var(--gold-soft); }

.foot-contact{ list-style:none; margin:0 0 22px; padding:0; display:flex; flex-direction:column; gap:14px; }
.foot-contact li{ display:flex; align-items:flex-start; gap:10px; font-size:13.5px; opacity:.82; line-height:1.5; }
.foot-contact li svg{ width:16px; height:16px; flex-shrink:0; margin-top:2px; color: var(--gold-soft); }
.foot-contact a{ opacity:1; }
.foot-contact a:hover{ color: var(--gold-soft); }
.footer-cta{ display:inline-flex; font-size:13px; padding:10px 18px; }

.footer-bottom{
  border-top:1px solid rgba(244,239,227,.12); padding: 20px 0;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px;
  font-size:12.5px; opacity:.55;
}

@media (max-width: 860px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px){
  .footer-grid{ grid-template-columns: 1fr; gap:36px; }
  .foot-links-grid{ grid-template-columns: 1fr 1fr; }
}

/* ---------------------------------------------------------------------
   Get Involved page — volunteer form, giving cards, map, stories, social
   ------------------------------------------------------------------- */
.volunteer-side{ display:flex; flex-direction:column; }

.giving-grid{ display:grid; grid-template-columns: repeat(4, 1fr); gap:20px; }
.giving-card{
  background: var(--card); border:1px solid var(--line); border-radius: var(--radius-lg);
  padding:24px; box-shadow: var(--shadow-card); display:flex; flex-direction:column;
}
.giving-amount{ font-family: var(--font-display); font-size:26px; font-weight:600; color: var(--rust); line-height:1; margin-bottom:12px; }
.giving-amount span{ display:block; font-family: var(--font-mono); font-size:11px; text-transform:uppercase; letter-spacing:.04em; color: var(--ink-soft); font-weight:400; margin-top:4px; }
.giving-card h4{ font-size:16px; margin-bottom:8px; }
.giving-card p{ font-size:13.5px; color: var(--ink-soft); flex:1; margin-bottom:18px; }

.project-map-frame{
  height: 460px; width:100%; border-radius: var(--radius-lg); overflow:hidden;
  border:1px solid var(--line); box-shadow: var(--shadow-lift); background: var(--paper-dim);
}
.project-map-frame .leaflet-popup-content{ font-family: var(--font-body); font-size:13.5px; }

.story-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap:22px; }
.story-card{
  background: var(--card); border:1px solid var(--line); border-radius: var(--radius-lg);
  padding:24px; box-shadow: var(--shadow-card);
}
.story-date{ font-family: var(--font-mono); font-size:11px; text-transform:uppercase; letter-spacing:.04em; color: var(--ink-soft); }
.story-card h4{ font-size:16.5px; margin:10px 0 8px; }
.story-card p{ font-size:14px; color: var(--ink-soft); margin-bottom:14px; }
.story-link{ font-family: var(--font-mono); font-size:12.5px; text-transform:uppercase; letter-spacing:.03em; color: var(--rust); }
.story-link:hover{ text-decoration:underline; }

.social-feed-placeholder{
  max-width:560px; margin:0 auto; text-align:center; background: var(--paper-dim);
  border:1px dashed var(--line); border-radius: var(--radius-lg); padding:40px 30px;
}
.social-feed-placeholder svg{ width:34px; height:34px; color: var(--rust); margin-bottom:14px; }
.social-feed-placeholder p{ color: var(--ink-soft); font-size:14.5px; line-height:1.6; margin-bottom:20px; }
.social-feed-links{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

@media (max-width: 900px){
  .giving-grid{ grid-template-columns: repeat(2, 1fr); }
  .story-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 560px){
  .giving-grid{ grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------
   Reduced motion
   ------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}


/* =========================================================
   DESKTOP NAVIGATION — ONE LINE
   ========================================================= */

@media (min-width: 961px) {

    /*
     * Let the navigation use the full available width.
     */
    .nav-band .header-inner {
        width: 100%;
        max-width: none;
        padding-left: 30px;
        padding-right: 30px;
    }

    nav.main-nav {
        flex: 1 1 auto;
        min-width: 0;
    }

    nav.main-nav > ul {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0;
    }

    nav.main-nav > ul > li {
        flex: 1 1 auto;
        min-width: 0;
    }

    /*
     * Keep desktop navigation labels on one line.
     */
    nav.main-nav > ul > li > a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;

        width: 100%;
        padding: 12px 8px;

        white-space: nowrap;
        word-break: keep-all;

        font-size: 14px;
        line-height: 1.2;
    }

    nav.main-nav .caret {
        flex-shrink: 0;
    }

    /*
     * Dropdowns.
     */
    nav.main-nav .dropdown {
        min-width: 270px;
        width: max-content;
        max-width: 360px;
    }

    nav.main-nav .dropdown a {
        white-space: nowrap;
        word-break: keep-all;
    }

    /*
     * Support Us button stays on one line.
     */
    .header-cta {
        flex: 0 0 auto;
    }

    .header-cta .btn {
        white-space: nowrap;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 960px) {

    nav.main-nav > ul > li > a {
        white-space: normal;
    }

    nav.main-nav > ul > li {
        flex: initial;
    }
}