/* ===========================================================================
   Eastham & District Welfare Trust — stylesheet
   ---------------------------------------------------------------------------
   Sections:
     01  Design tokens
     02  Reset & base
     03  Typography & utilities
     04  Layout primitives  (container, section, split)
     05  Buttons
     06  Header & navigation
     07  Mobile menu
     08  Hero (home + interior page hero)
     09  Stats
     10  Cards & icon-cards
     11  Section header
     12  Quote / testimonial / carousel
     13  Timeline
     14  Accordion (FAQ)
     15  Progress bars / donation tiers
     16  Forms / newsletter
     17  Partners strip
     18  Decorations (orbs, dividers, glass, pills)
     19  Reveal-on-scroll
     20  FOOTER  (isolated; do not introduce broad descendant selectors)
     21  Print
   =========================================================================== */


/* ─── 01  Design tokens ────────────────────────────────────────────────── */
:root {
  --c-emerald:        #155144;
  --c-emerald-dark:   #0e3b30;
  --c-emerald-soft:   #2a6d5d;
  --c-gold:           #c4a052;
  --c-gold-soft:      #d8bd7d;
  --c-gold-dark:      #9c7d35;
  --c-cream:          #f8f5ee;
  --c-cream-2:        #f1ebde;
  --c-ivory:          #fdfbf6;
  --c-charcoal:       #1a1a1a;
  --c-charcoal-soft:  #3a3a3a;
  --c-muted:          #6b6b66;
  --c-line:           #e6dfd0;
  --c-sage:           #8ba888;
  --c-rose:           #c97c6e;

  --shadow-sm:   0 1px 2px rgba(20, 30, 25, .05);
  --shadow-md:   0 8px 24px -10px rgba(20, 30, 25, .18);
  --shadow-lg:   0 22px 60px -22px rgba(20, 30, 25, .32);
  --shadow-gold: 0 12px 40px -18px rgba(196, 160, 82, .55);

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 28px;
  --radius-xl: 44px;

  --maxw: 1240px;
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}


/* ─── 02  Reset & base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-charcoal);
  background: var(--c-ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }

a   { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
ul  { list-style: none; padding: 0; margin: 0; }
p   { margin: 0 0 1em; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--c-emerald-dark);
}

:focus-visible { outline: 2px dashed var(--c-gold); outline-offset: 3px; border-radius: 4px; }


/* ─── 03  Typography & utilities ───────────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 12px / 1 var(--font-sans);
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--c-gold-dark);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--c-gold); display: inline-block; }
.eyebrow--light       { color: var(--c-gold-soft); }
.eyebrow--light::before { background: var(--c-gold-soft); }

.display     { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 500; line-height: 1.05; }
.display em  { font-style: italic; color: var(--c-gold-dark); font-weight: 400; }
.h-section   { font-size: clamp(2rem, 4vw, 3rem); }
.h-card      { font-size: 1.5rem; }

.lede        { font-size: 1.175rem; line-height: 1.7; color: var(--c-charcoal-soft); max-width: 60ch; }
.lede--light { color: rgba(248, 245, 238, .85); }

.text-muted  { color: var(--c-muted); }
.text-center { text-align: center; }
.mx-auto     { margin-left: auto; margin-right: auto; }


/* ─── 04  Layout primitives ────────────────────────────────────────────── */
.container          { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow   { width: 100%; max-width: 880px; margin: 0 auto; padding: 0 24px; }

.section            { padding: 96px 0; position: relative; }
.section--cream     { background: var(--c-cream); }
.section--cream2    { background: var(--c-cream-2); }
.section--emerald   { background: var(--c-emerald); color: var(--c-cream); }
.section--emerald h1, .section--emerald h2, .section--emerald h3 { color: var(--c-ivory); }
.section--dark      { background: var(--c-emerald-dark); color: var(--c-cream); }
.section--dark h1, .section--dark h2, .section--dark h3         { color: var(--c-ivory); }


/* ─── 05  Buttons ──────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px;
  font: 600 14px / 1 var(--font-sans); letter-spacing: .04em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease),
              background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn--primary       { background: var(--c-emerald); color: var(--c-ivory); box-shadow: var(--shadow-md); }
.btn--primary:hover { background: var(--c-emerald-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn--gold          { background: var(--c-gold); color: var(--c-emerald-dark); box-shadow: var(--shadow-gold); }
.btn--gold:hover    { background: var(--c-gold-soft); transform: translateY(-2px); }

.btn--outline       { border: 1.5px solid var(--c-emerald); color: var(--c-emerald); }
.btn--outline:hover { background: var(--c-emerald); color: var(--c-ivory); }

.btn--ghost-light       { border: 1.5px solid rgba(248, 245, 238, .4); color: var(--c-ivory); }
.btn--ghost-light:hover { background: rgba(248, 245, 238, .1); border-color: var(--c-gold-soft); }

.btn .arr        { transition: transform .3s var(--ease); }
.btn:hover .arr  { transform: translateX(4px); }


/* ─── 06  Header & navigation ──────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 18px 0;
  background: rgba(253, 251, 246, 0);
  transition: background .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(253, 251, 246, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--c-line);
}
.site-header.is-solid {
  background: rgba(253, 251, 246, .95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

/* — brand (used in BOTH header and footer) — */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--c-emerald-dark);
  text-decoration: none;
  line-height: 1;
}
.brand-logo {
  width: 44px; height: 44px;
  flex: 0 0 44px;            /* never let the flex parent shrink it */
  object-fit: contain;
  display: block;
  border-radius: 50%;
  background: transparent;
}
/* legacy fallback for any page still using the old <span class="brand-mark">E</span> */
.brand-mark {
  width: 42px; height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-emerald), var(--c-emerald-soft));
  display: grid; place-items: center;
  color: var(--c-gold);
  font: 600 22px / 1 var(--font-serif);
  box-shadow: inset 0 0 0 2px var(--c-gold);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text .b-name { font: 600 18px / 1.1 var(--font-serif); letter-spacing: .01em; }
.brand-text .b-sub  { font: 600 10px / 1.1 var(--font-sans); letter-spacing: .22em; text-transform: uppercase; color: var(--c-gold-dark); }

/* — nav links — */
.nav-links     { display: flex; align-items: center; gap: 28px; }
.nav-links a   { font: 500 14px / 1 var(--font-sans); color: var(--c-charcoal-soft); position: relative; padding: 6px 0; }
.nav-links a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px; height: 1px;
  background: var(--c-gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-links a:hover,
.nav-links a.is-active           { color: var(--c-emerald-dark); }
.nav-links a:hover::after,
.nav-links a.is-active::after    { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; width: 44px; height: 44px; border-radius: 50%;
  align-items: center; justify-content: center;
  color: var(--c-emerald);
  background: var(--c-cream);
  border: 1px solid var(--c-line);
}
.nav-toggle svg { width: 22px; height: 22px; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-cta .btn:not(.btn--gold) { display: none; }
  .nav-toggle { display: inline-flex; }
}


/* ─── 07  Mobile menu ──────────────────────────────────────────────────── */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--c-cream);
  z-index: 99;
  padding: 100px 24px 40px;
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
  overflow-y: auto;
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu nav     { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu nav a {
  font-family: var(--font-serif); font-size: 28px;
  padding: 14px 0;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-emerald-dark);
}
.mobile-menu .btn { margin-top: 32px; align-self: flex-start; }


/* ─── 08  Hero & page hero ─────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 140px 0 80px;
  background:
    radial-gradient(ellipse at top right,   rgba(196, 160, 82, .08), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(21, 81, 68, .06), transparent 50%),
    linear-gradient(180deg, var(--c-cream) 0%, var(--c-ivory) 100%);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(21, 81, 68, .04) 0%, transparent 25%),
    radial-gradient(circle at 80% 70%, rgba(196, 160, 82, .06) 0%, transparent 35%);
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 64px; align-items: center;
  position: relative; z-index: 2;
}
.hero-copy .display { margin: 18px 0 24px; color: var(--c-emerald-dark); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-meta {
  display: flex; gap: 36px; margin-top: 48px; padding-top: 32px;
  border-top: 1px solid var(--c-line);
}
.hero-meta div    { display: flex; flex-direction: column; }
.hero-meta .n     { font: 600 2rem / 1 var(--font-serif); color: var(--c-emerald-dark); }
.hero-meta .l     { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--c-muted); }

.hero-visual { position: relative; height: 600px; }
.hero-img {
  position: absolute; inset: 0;
  border-radius: var(--radius-xl) var(--radius-xl) var(--radius-xl) 80px;
  overflow: hidden; box-shadow: var(--shadow-lg);
  background: var(--c-emerald-soft);
}
.hero-img img            { width: 100%; height: 100%; object-fit: cover; }
.hero-img--secondary {
  position: absolute; bottom: -30px; left: -40px;
  width: 220px; height: 280px;
  border-radius: 60px 24px 24px 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--c-ivory);
}
.hero-badge {
  position: absolute; top: 40px; right: -20px;
  background: var(--c-ivory);
  padding: 18px 22px;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--c-line);
}
.hero-badge .dot   { width: 10px; height: 10px; border-radius: 50%; background: var(--c-gold); }
.hero-badge .b-num { font: 600 1.6rem / 1 var(--font-serif); color: var(--c-emerald-dark); }
.hero-badge .b-lbl { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); }

@media (max-width: 900px) {
  .hero-grid     { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual   { height: 460px; max-width: 500px; }
  .hero-meta     { flex-wrap: wrap; gap: 24px; }
}

.page-hero {
  position: relative;
  padding: 180px 0 100px;
  background: linear-gradient(180deg, var(--c-emerald-dark), var(--c-emerald));
  color: var(--c-ivory);
  overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(196, 160, 82, .18) 0%, transparent 35%),
    radial-gradient(circle at 85% 80%, rgba(196, 160, 82, .10) 0%, transparent 45%);
}
.page-hero h1   { color: var(--c-ivory); font-size: clamp(2.4rem, 5vw, 4rem); margin: 14px 0 18px; max-width: 18ch; }
.page-hero .lede { color: rgba(248, 245, 238, .82); max-width: 60ch; }

.breadcrumb { display: flex; gap: 8px; font-size: 13px; color: rgba(248, 245, 238, .7); letter-spacing: .02em; margin-bottom: 6px; }
.breadcrumb a:hover { color: var(--c-gold-soft); }
.breadcrumb .sep    { color: var(--c-gold-soft); }


/* ─── 09  Stats ────────────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat {
  padding: 36px 28px;
  border-radius: var(--radius-md);
  background: var(--c-ivory);
  border: 1px solid var(--c-line);
  position: relative; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.stat:hover    { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.stat .num     { font: 600 3rem / 1 var(--font-serif); color: var(--c-emerald-dark); }
.stat .num small { font-size: 1.5rem; color: var(--c-gold-dark); }
.stat .lbl     { display: block; margin-top: 8px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); font-weight: 600; }
.stat .desc    { margin-top: 14px; font-size: 15px; color: var(--c-charcoal-soft); }
.stat::after {
  content: ""; position: absolute; top: 0; right: 0; width: 80px; height: 80px;
  background: radial-gradient(circle at top right, rgba(196, 160, 82, .1), transparent 70%);
}

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


/* ─── 10  Cards & icon-cards ───────────────────────────────────────────── */
.cards         { display: grid; gap: 28px; }
.cards.cols-3  { grid-template-columns: repeat(3, 1fr); }
.cards.cols-2  { grid-template-columns: repeat(2, 1fr); }
.cards.cols-4  { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .cards.cols-3, .cards.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cards.cols-2, .cards.cols-3, .cards.cols-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--c-ivory);
  border-radius: var(--radius-md);
  border: 1px solid var(--c-line);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.card-media {
  aspect-ratio: 4 / 3;
  background: var(--c-cream-2);
  position: relative; overflow: hidden;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }

.card-tag {
  position: absolute; top: 16px; left: 16px;
  background: rgba(248, 245, 238, .95); color: var(--c-emerald-dark);
  padding: 6px 12px; border-radius: 999px;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
}

.card-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card-meta { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-gold-dark); font-weight: 600; margin-bottom: 10px; }
.card h3   { font-size: 1.35rem; margin: 0 0 12px; }
.card p    { color: var(--c-charcoal-soft); margin-bottom: 18px; flex: 1; }
.card-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--c-emerald); font-weight: 600; font-size: 14px;
  letter-spacing: .04em;
}
.card-link:hover     { color: var(--c-gold-dark); }
.card-link svg       { transition: transform .3s var(--ease); }
.card-link:hover svg { transform: translateX(4px); }

/* Small envelope-icon link used on trustee portrait cards */
.trustee-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--c-line);
  color: var(--c-emerald);
  background: var(--c-ivory);
  margin-top: auto;        /* push to bottom of the flex card-body */
  align-self: flex-start;
  text-decoration: none;
  transition: background .25s var(--ease), border-color .25s var(--ease),
              color .25s var(--ease), transform .25s var(--ease),
              box-shadow .25s var(--ease);
}
.trustee-email:hover {
  background: var(--c-emerald);
  border-color: var(--c-emerald);
  color: var(--c-ivory);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.trustee-email svg { width: 16px; height: 16px; display: block; }

.icon-card {
  padding: 36px 30px;
  background: var(--c-ivory);
  border-radius: var(--radius-md);
  border: 1px solid var(--c-line);
  transition: all .35s var(--ease);
  position: relative; overflow: hidden;
}
.icon-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--c-gold-soft); }
.icon-card .ic-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--c-emerald), var(--c-emerald-soft));
  color: var(--c-gold);
  display: grid; place-items: center;
  margin-bottom: 22px;
}
.icon-card .ic-icon svg { width: 26px; height: 26px; }
.icon-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.icon-card p  { color: var(--c-charcoal-soft); margin-bottom: 18px; }


/* ─── 11  Section header ───────────────────────────────────────────────── */
.section-head {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 48px; align-items: end;
  margin-bottom: 60px;
}
.section-head--center { display: block; text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-head h2      { margin: 14px 0 18px; }

@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; align-items: start; gap: 18px; } }


/* ─── 12  Quote / testimonial / carousel ───────────────────────────────── */
.quote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.5vw, 2rem); line-height: 1.4;
  color: var(--c-emerald-dark);
  font-style: italic;
  max-width: 800px;
}
.quote::before {
  content: "“";
  font-size: 3.5em; line-height: .6;
  color: var(--c-gold);
  margin-right: 6px;
  vertical-align: -.4em;
  font-family: serif;
}
.quote-author { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.quote-author .avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--c-cream-2);
  border: 2px solid var(--c-gold);
  display: grid; place-items: center;
  font: 600 18px / 1 var(--font-serif);
  color: var(--c-emerald-dark);
}
.quote-author .who         { line-height: 1.3; }
.quote-author .who b       { display: block; font-weight: 600; color: var(--c-emerald-dark); }
.quote-author .who span    { font-size: 13px; color: var(--c-muted); letter-spacing: .04em; }

.carousel       { position: relative; }
.carousel-track { display: flex; gap: 28px; overflow: hidden; }
.carousel-slide {
  flex: 0 0 100%;
  padding: 48px;
  background: var(--c-ivory);
  border-radius: var(--radius-md);
  border: 1px solid var(--c-line);
  display: none;
}
.carousel-slide.is-active { display: block; }

.carousel-controls { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; }
.carousel-dots     { display: flex; gap: 10px; }
.carousel-dot      { width: 36px; height: 4px; border-radius: 2px; background: var(--c-line); transition: background .3s var(--ease); }
.carousel-dot.is-active { background: var(--c-emerald); }
.carousel-nav      { display: flex; gap: 12px; }
.carousel-nav button {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--c-line);
  background: var(--c-ivory); color: var(--c-emerald);
  display: grid; place-items: center;
  transition: all .3s var(--ease);
}
.carousel-nav button:hover { background: var(--c-emerald); color: var(--c-ivory); border-color: var(--c-emerald); }


/* — Two-column split — */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split--reverse > :first-child { order: 2; }
.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: var(--c-cream-2);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
  .split                          { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse > :first-child  { order: 0; }
  .split-media                    { aspect-ratio: 4 / 3; }
}


/* ─── 13  Timeline ─────────────────────────────────────────────────────── */
.timeline          { position: relative; padding-left: 32px; }
.timeline::before  {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--c-gold), var(--c-emerald-soft));
}
.timeline-item          { position: relative; padding: 0 0 44px 28px; }
.timeline-item::before  {
  content: ""; position: absolute; left: -29px; top: 4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--c-ivory);
  border: 3px solid var(--c-gold);
}
.timeline-item .yr   { font: 600 1.6rem / 1 var(--font-serif); color: var(--c-emerald-dark); }
.timeline-item h3    { font-size: 1.2rem; margin: 4px 0 8px; }
.timeline-item p     { color: var(--c-charcoal-soft); }


/* ─── 14  Accordion ────────────────────────────────────────────────────── */
.accordion          { border-top: 1px solid var(--c-line); }
.accordion-item     { border-bottom: 1px solid var(--c-line); }
.accordion-trigger  {
  width: 100%;
  padding: 26px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  text-align: left;
  font: 500 1.25rem / 1.2 var(--font-serif);
  color: var(--c-emerald-dark);
  transition: color .3s var(--ease);
}
.accordion-trigger:hover { color: var(--c-gold-dark); }
.accordion-trigger .ico  {
  position: relative;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--c-emerald);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: all .35s var(--ease);
}
.accordion-trigger .ico::before,
.accordion-trigger .ico::after {
  content: ""; position: absolute;
  background: var(--c-emerald);
  transition: transform .35s var(--ease);
}
.accordion-trigger .ico::before { width: 14px;   height: 1.5px; }
.accordion-trigger .ico::after  { width: 1.5px;  height: 14px;  }

.accordion-item.is-open .accordion-trigger .ico            { background: var(--c-emerald); border-color: var(--c-emerald); }
.accordion-item.is-open .accordion-trigger .ico::before,
.accordion-item.is-open .accordion-trigger .ico::after     { background: var(--c-ivory); }
.accordion-item.is-open .accordion-trigger .ico::after     { transform: rotate(90deg); }

.accordion-panel       { max-height: 0; overflow: hidden; transition: max-height .5s var(--ease); }
.accordion-panel-inner { padding: 0 0 28px; max-width: 80ch; color: var(--c-charcoal-soft); }
.accordion-item.is-open .accordion-panel { max-height: 500px; }


/* ─── 15  Progress bars & donation tiers ───────────────────────────────── */
.progress {
  height: 12px; border-radius: 999px;
  background: var(--c-cream-2);
  overflow: hidden;
  position: relative;
}
.progress > span {
  display: block; height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--c-gold), var(--c-gold-soft));
  border-radius: 999px;
  transition: width 1.5s var(--ease);
}
.progress-meta {
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--c-muted);
  margin-top: 10px; letter-spacing: .04em;
}
.progress-meta b { color: var(--c-emerald-dark); font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; }

.donate-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tier {
  padding: 30px 24px;
  border: 1.5px solid var(--c-line); border-radius: var(--radius-md);
  background: var(--c-ivory);
  cursor: pointer; text-align: center;
  transition: all .3s var(--ease);
}
.tier:hover,
.tier.is-active { border-color: var(--c-emerald); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tier.is-active                  { background: var(--c-emerald); color: var(--c-ivory); }
.tier.is-active .t-amt,
.tier.is-active h4               { color: var(--c-gold-soft); }
.tier .t-amt { font: 600 2.2rem / 1 var(--font-serif); color: var(--c-emerald-dark); }
.tier h4     { font-size: 1rem; margin: 10px 0 6px; }
.tier p      { font-size: 13px; margin: 0; color: var(--c-charcoal-soft); }
.tier.is-active p { color: rgba(248, 245, 238, .85); }

@media (max-width: 700px) { .donate-tiers { grid-template-columns: 1fr; } }


/* ─── 16  Forms & newsletter ───────────────────────────────────────────── */
.form-row              { display: grid; gap: 18px; }
.form-row.cols-2       { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form-row.cols-2 { grid-template-columns: 1fr; } }

.field          { display: flex; flex-direction: column; gap: 8px; }
.field label    { font-size: 13px; letter-spacing: .06em; color: var(--c-muted); font-weight: 600; }
.field input,
.field textarea,
.field select {
  font-family: inherit; font-size: 15px;
  padding: 14px 16px;
  border: 1px solid var(--c-line); border-radius: 10px;
  background: var(--c-ivory); color: var(--c-charcoal);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--c-emerald);
  box-shadow: 0 0 0 3px rgba(21, 81, 68, .1);
}
.field textarea { resize: vertical; min-height: 140px; }

.field-check    { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--c-charcoal-soft); }
.field-check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--c-emerald); }

.newsletter {
  background: linear-gradient(135deg, var(--c-emerald-dark), var(--c-emerald));
  color: var(--c-ivory);
  padding: 72px 48px;
  border-radius: var(--radius-lg);
  position: relative; overflow: hidden;
}
.newsletter::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(196, 160, 82, .25), transparent 50%);
  pointer-events: none;
}
.newsletter-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: center;
  position: relative; z-index: 2;
}
.newsletter h2  { color: var(--c-ivory); font-size: clamp(1.8rem, 3vw, 2.6rem); }
.newsletter p   { color: rgba(248, 245, 238, .82); }
.newsletter form { display: flex; gap: 12px; flex-wrap: wrap; }
.newsletter input {
  flex: 1; min-width: 200px;
  padding: 16px 20px; border-radius: 999px;
  border: 1px solid rgba(248, 245, 238, .2);
  background: rgba(248, 245, 238, .08);
  color: var(--c-ivory);
  font-family: inherit; font-size: 15px;
}
.newsletter input::placeholder { color: rgba(248, 245, 238, .55); }
.newsletter input:focus { outline: none; border-color: var(--c-gold); background: rgba(248, 245, 238, .14); }

@media (max-width: 800px) {
  .newsletter        { padding: 48px 28px; }
  .newsletter-grid   { grid-template-columns: 1fr; gap: 24px; }
}


/* ─── 17  Partners strip ───────────────────────────────────────────────── */
.partners-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 28px; align-items: center; }
.partners-strip > div {
  padding: 24px 16px; border-radius: 12px;
  background: var(--c-ivory);
  border: 1px solid var(--c-line);
  text-align: center;
  font-family: var(--font-serif); color: var(--c-emerald-dark);
  font-size: 1rem; letter-spacing: .05em;
  opacity: .85;
  transition: all .3s var(--ease);
}
.partners-strip > div:hover { opacity: 1; border-color: var(--c-gold-soft); }

@media (max-width: 900px) { .partners-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .partners-strip { grid-template-columns: repeat(2, 1fr); } }


/* ─── 18  Decorations (orbs, dividers, glass, pills, tag-row) ──────────── */
.divider-wave      { display: block; width: 100%; height: 60px; }
.divider-wave path { fill: var(--c-cream); }

.glass {
  background: rgba(248, 245, 238, .08);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(248, 245, 238, .18);
  border-radius: var(--radius-md);
}

.pill         { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--c-cream-2); color: var(--c-emerald-dark); font-size: 12px; font-weight: 600; letter-spacing: .06em; }
.pill--gold   { background: rgba(196, 160, 82, .15); color: var(--c-gold-dark); }
.pill--rose   { background: rgba(201, 124, 110, .13); color: var(--c-rose); }
.pill--sage   { background: rgba(139, 168, 136, .18); color: #4f6b4d; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }

.orb           { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; z-index: 0; }
.orb--emerald  { background: rgba(21, 81, 68, .18); }
.orb--gold     { background: rgba(196, 160, 82, .22); }

.img-ph {
  background:
    linear-gradient(135deg, rgba(21, 81, 68, .85) 0%, rgba(21, 81, 68, .55) 100%),
    repeating-linear-gradient(45deg, rgba(196, 160, 82, .08) 0 12px, transparent 12px 24px);
  display: grid; place-items: center;
  color: var(--c-gold-soft);
  font-family: var(--font-serif); font-size: 1rem; letter-spacing: .1em;
  text-align: center; padding: 24px;
}
.img-ph::before { content: "✦"; display: block; font-size: 2rem; margin-bottom: 8px; color: var(--c-gold); }


/* ─── 19  Reveal-on-scroll ─────────────────────────────────────────────── */
.reveal              { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible   { opacity: 1; transform: translateY(0); }
.reveal-delay-1      { transition-delay: .1s; }
.reveal-delay-2      { transition-delay: .2s; }
.reveal-delay-3      { transition-delay: .3s; }


/* ─── 20  FOOTER ────────────────────────────────────────────────────────
   Fully isolated. Every selector below is scoped under `.site-footer` and
   does NOT use the broad `.site-footer a {}` form (that would override
   `.brand`'s `display: flex` and collapse the brand row).
   ---------------------------------------------------------------------- */

.site-footer {
  background: var(--c-emerald-dark);
  color: rgba(248, 245, 238, .78);
  padding: 80px 0 32px;
  margin-top: 0;
  font-family: var(--font-sans);
}
.site-footer .container { width: 100%; }
.site-footer p          { margin: 0; }
.site-footer h4 {
  margin: 0 0 22px;
  color: var(--c-ivory);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* — Footer grid (4 columns) — */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(248, 245, 238, .12);
}
.footer-grid > div { min-width: 0; }

/* — Brand column (col 1) — */
.footer-brand .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--c-ivory);
  text-decoration: none;
  line-height: 1;
}
.footer-brand .brand-logo {
  width: 44px; height: 44px;
  flex: 0 0 44px;
  display: block;
  object-fit: contain;
  border-radius: 50%;
  background: var(--c-cream);
  padding: 2px;
}
.footer-brand .brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.footer-brand .b-name {
  color: var(--c-ivory);
  font: 600 18px / 1.1 var(--font-serif);
  letter-spacing: .01em;
}
.footer-brand .b-sub {
  color: var(--c-gold-soft);
  font: 600 10px / 1.1 var(--font-sans);
  letter-spacing: .22em;
  text-transform: uppercase;
}
.footer-brand p {
  max-width: 36ch;
  margin: 22px 0 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(248, 245, 238, .72);
}

/* — Social icons (inside the brand column) — */
.footer-socials      { display: flex; gap: 12px; margin-top: 24px; }
.footer-socials a {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid rgba(248, 245, 238, .22);
  border-radius: 50%;
  color: rgba(248, 245, 238, .78);
  text-decoration: none;
  line-height: 1;
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.footer-socials a:hover {
  background: var(--c-gold);
  border-color: var(--c-gold);
  color: var(--c-emerald-dark);
}
.footer-socials svg { width: 16px; height: 16px; display: block; }

/* — Link columns (cols 2-4): ONLY the <ul> blocks here — */
.footer-grid ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; flex-direction: column;
  gap: 10px;
}
.footer-grid ul li {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(248, 245, 238, .72);
}
.footer-grid ul li a {
  color: rgba(248, 245, 238, .72);
  font-size: 14px;
  line-height: 1.55;
  text-decoration: none;
  transition: color .25s var(--ease);
}
.footer-grid ul li a:hover { color: var(--c-gold-soft); }

/* — Footer bottom (copyright + legal links) — */
.footer-bottom {
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center;
  gap: 18px;
  padding-top: 32px;
  font-size: 13px; line-height: 1.55;
  color: rgba(248, 245, 238, .55);
}
.footer-bottom > span { max-width: 72ch; }
.footer-bottom .legal { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-bottom .legal a {
  font-size: 13px;
  color: rgba(248, 245, 238, .6);
  text-decoration: none;
  transition: color .25s var(--ease);
}
.footer-bottom .legal a:hover { color: var(--c-gold-soft); }

/* — Footer responsive — */
@media (max-width: 980px) {
  .footer-grid       { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand      { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .site-footer       { padding: 60px 0 28px; }
  .footer-grid       { grid-template-columns: 1fr; gap: 36px; padding-bottom: 40px; }
  .footer-brand      { grid-column: auto; }
  .footer-bottom     { flex-direction: column; align-items: flex-start; gap: 14px; }
}


/* ─── 21  Print ────────────────────────────────────────────────────────── */
@media print {
  .site-header, .site-footer, .newsletter { display: none; }
  body { background: #fff; color: #000; }
}
