/* =========================================================================
   THE SPIRIT ECHO — Design System
   Premium, worship-centered, dark-green brand system.
   ========================================================================= */

:root {
  /* Brand greens */
  --green-950: #04140E;
  --green-900: #071F16;
  --green-800: #0C2E20;
  --green-700: #123F2C;
  --green-600: #195338;
  --green-500: #226C48;
  --green-400: #2F8A5C;
  --green-300: #4EA878;

  /* Gold accent */
  --gold-600: #A9812F;
  --gold-500: #C9A15A;
  --gold-400: #D9BC80;
  --gold-100: #F3E7CC;

  /* Neutrals */
  --cream-50:  #FBF9F3;
  --cream-100: #F4EFE3;
  --cream-200: #EAE2CE;
  --ink-900: #10201A;
  --ink-700: #35473F;
  --ink-500: #5C6E66;
  --ink-300: #94A39C;
  --white: #FFFFFF;

  /* Semantic */
  --bg-page: var(--cream-50);
  --bg-dark: var(--green-900);
  --text-body: var(--ink-700);
  --text-heading: var(--ink-900);
  --text-on-dark: #EFEDE4;
  --text-on-dark-soft: #B9C4BC;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(7, 31, 22, 0.06), 0 1px 3px rgba(7, 31, 22, 0.08);
  --shadow-md: 0 2px 8px rgba(7, 31, 22, 0.06), 0 12px 28px rgba(7, 31, 22, 0.12);
  --shadow-lg: 0 8px 20px rgba(7, 31, 22, 0.10), 0 30px 70px rgba(4, 20, 14, 0.24);
  --shadow-gold: 0 10px 30px rgba(201, 161, 90, 0.28), 0 2px 8px rgba(169, 129, 47, 0.25);
  --shadow-green: 0 14px 34px rgba(10, 40, 25, 0.35), inset 0 1px 0 rgba(255,255,255,0.06);

  --grad-green: linear-gradient(135deg, var(--green-600) 0%, var(--green-900) 100%);
  --grad-green-deep: linear-gradient(160deg, var(--green-800) 0%, var(--green-950) 55%, var(--green-950) 100%);
  --grad-gold: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-600) 100%);
  --grad-hairline: linear-gradient(90deg, transparent, rgba(201,161,90,0.55), transparent);

  --container: 1200px;
  --font-serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Subtle film-grain texture for dark sections — echoes the brand mark's
   speckled backdrop without shipping a raster asset. */
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: "";
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.grain > * { position: relative; z-index: 1; }

/* Ambient blurred glow — used behind hero/CTA content for depth. */
.glow-orb {
  position: absolute; border-radius: 50%; filter: blur(70px);
  pointer-events: none; z-index: 0;
}

/* ---------------------------------------------------------------------- */
/* Reset & base                                                          */
/* ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; margin: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--gold-500); width: 16px; height: 16px; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--text-heading);
  line-height: 1.12;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 500; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 500; }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; line-height: 1.7; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--wide { max-width: 1360px; }
.container--narrow { max-width: 780px; }
@media (max-width: 480px) { .container { padding: 0 18px; } }

section { position: relative; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--dark {
  background-color: var(--green-950);
  background-image: var(--grad-green-deep);
  color: var(--text-on-dark);
  isolation: isolate;
}
.section--dark::before {
  content: "";
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.45; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.section--dark > .container { position: relative; z-index: 1; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: var(--white); }
.section--dark p { color: var(--text-on-dark-soft); }
.section--cream { background: linear-gradient(180deg, var(--cream-100), var(--cream-50)); }
.section--texture { isolation: isolate; }
.section--texture::after {
  content: "";
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle at 15% 20%, rgba(201,161,90,0.14), transparent 40%),
                     radial-gradient(circle at 85% 80%, rgba(47,138,92,0.25), transparent 45%),
                     radial-gradient(circle at 50% 100%, rgba(201,161,90,0.10), transparent 55%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 14px;
}
.section--dark .eyebrow { color: var(--gold-400); }
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: currentColor;
}

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.lede { font-size: 1.15rem; color: var(--ink-500); }
.section--dark .lede { color: var(--text-on-dark-soft); }

/* ---------------------------------------------------------------------- */
/* Buttons                                                                */
/* ---------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s ease, color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn svg.icon { width: 17px; height: 17px; }

.btn--gold { background: var(--grad-gold); color: var(--green-950); box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 6px 16px rgba(169,129,47,0.22); }
.btn--gold:hover { background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); box-shadow: 0 1px 0 rgba(255,255,255,0.4) inset, var(--shadow-gold); }

.btn--dark { background: var(--grad-green); color: var(--white); box-shadow: 0 1px 0 rgba(255,255,255,0.08) inset, 0 6px 16px rgba(7,31,22,0.22); }
.btn--dark:hover { background: linear-gradient(135deg, var(--green-500), var(--green-800)); box-shadow: 0 1px 0 rgba(255,255,255,0.12) inset, var(--shadow-green); }

.btn--outline-light { border-color: rgba(255,255,255,0.4); color: var(--white); backdrop-filter: blur(6px); }
.btn--outline-light:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

.btn--outline-dark { border-color: rgba(16,32,26,0.2); color: var(--ink-900); }
.btn--outline-dark:hover { background: rgba(16,32,26,0.05); border-color: var(--ink-900); box-shadow: var(--shadow-sm); }

.btn--sm { padding: 10px 20px; font-size: 0.85rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }

/* ---------------------------------------------------------------------- */
/* Navbar                                                                 */
/* ---------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 22px 0;
  transition: background-color .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.navbar::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--grad-hairline);
  opacity: 0; transition: opacity .4s ease;
}
.navbar.is-scrolled {
  /* No backdrop-filter here on purpose: it (like transform/filter/perspective/
     will-change) makes this element a containing block for position:fixed
     descendants — and .nav-links / .nav-backdrop (the mobile drawer) are
     nested inside .navbar. That would cap the drawer's height at the navbar's
     own ~70px instead of the full viewport the instant the page is scrolled
     (whenever this class is applied). The background is already opaque
     enough (94%) that the blur wasn't doing much visually anyway. */
  background: linear-gradient(180deg, rgba(7,31,22,0.94), rgba(4,20,14,0.9));
  padding: 14px 0;
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset, 0 12px 34px rgba(4,20,14,0.32);
}
.navbar.is-scrolled::after { opacity: 1; }
.navbar .container { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { flex-shrink: 0; }
.nav-cta { flex-shrink: 0; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 40px; width: auto; }
.brand-word { font-family: var(--font-serif); font-size: 1.15rem; letter-spacing: 0.04em; color: var(--white); font-weight: 600; white-space: nowrap; }
.brand-word small { display: block; font-family: var(--font-sans); font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-400); font-weight: 600; margin-top: 2px; }

.nav-links { display: flex; align-items: center; gap: 20px; }
.nav-links a {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.82);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}
.nav-item-trigger {
  background: none; border: none; padding: 6px 0; margin: 0;
  display: flex; align-items: center; cursor: pointer;
  font-family: inherit; font-size: 0.84rem; font-weight: 500; letter-spacing: 0.01em;
  color: rgba(255,255,255,0.82); white-space: nowrap;
}
.nav-links a:hover, .nav-links a.is-active, .nav-item.is-open .nav-item-trigger { color: var(--white); }
.nav-links a.is-active::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--gold-500); border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn span.short { display: none; }

/* The drawer-only header (duplicate logo + close button) and backdrop must
   stay hidden above the mobile breakpoint — .nav-links reverts to the plain
   inline desktop nav row there, and without this they'd render as ordinary
   flex children inside it: a second logo before "Home" and a stray close icon. */
.nav-drawer__header, .nav-backdrop { display: none; }

/* Narrow phones (~<480px): brand + "Join" + hamburger all fighting for space
   in a fixed-position bar means overflow here never shows up in the
   document's own scrollWidth (fixed elements sit outside normal flow), so
   it's easy to miss — the hamburger button can end up rendered off-screen.
   Drop the wordmark text and keep just the icon to guarantee everything fits. */
@media (max-width: 480px) {
  .brand-word { display: none; }
  .navbar .container { padding-left: 16px; padding-right: 16px; }
  .nav-cta { gap: 10px; }
}
.nav-toggle { display: none; background: none; border: none; padding: 8px; color: var(--white); }
.nav-toggle svg { width: 26px; height: 26px; }

.nav-item { position: relative; display: flex; align-items: center; }
.nav-item .caret { width: 10px; height: 10px; margin-left: 5px; opacity: 0.7; transition: transform .25s ease; }
.nav-dropdown {
  position: absolute; top: 100%; left: 50%; transform: translate(-50%, 8px);
  min-width: 220px; background: var(--green-950); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md); padding: 10px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 50;
}
.nav-item.is-open .nav-dropdown { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 4px); }
.nav-item.is-open .caret { transform: rotate(180deg); }
.nav-dropdown a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 0.85rem; white-space: nowrap; }
.nav-dropdown a:hover { background: rgba(255,255,255,0.06); }

@media (max-width: 1180px) {
  /* Dimmed backdrop behind the drawer — click to close, like any native drawer nav */
  .nav-backdrop {
    display: block;
    position: fixed; inset: 0; z-index: 199;
    background: rgba(4, 20, 14, 0.6); backdrop-filter: blur(2px);
    opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s ease;
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }

  /* The drawer itself — a fixed-width panel sliding in from the right,
     not a full-viewport overlay, so it reads as a drawer rather than a
     takeover screen and the page underneath stays visibly present (dimmed). */
  .nav-links {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 200;
    width: min(320px, 84vw);
    background-color: var(--green-950);
    background-image: var(--grad-green-deep);
    display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 4px;
    padding: 0 20px 32px;
    box-shadow: -12px 0 40px rgba(4,20,14,0.4);
    transform: translateX(100%);
    transition: transform .4s var(--ease);
    pointer-events: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.is-open { transform: translateX(0); pointer-events: auto; }

  .nav-drawer__header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 22px 0 24px; margin-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.08);
    position: sticky; top: 0; background: inherit; z-index: 1;
  }
  .nav-drawer__header .brand-word { display: block; font-size: 1rem; }
  .nav-drawer__close {
    background: rgba(255,255,255,0.06); border: none; color: var(--white);
    width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
  }
  .nav-drawer__close svg { width: 18px; height: 18px; }
  .nav-drawer__close:hover { background: rgba(255,255,255,0.12); }

  .nav-links > a, .nav-item-trigger { font-size: 1rem; justify-content: space-between; width: 100%; padding: 13px 4px; }
  .nav-links > a { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn span.long { display: none; }
  .nav-cta .btn span.short { display: inline; }
  .nav-item { flex-direction: column; align-items: stretch; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-dropdown {
    position: static; transform: none; opacity: 1; visibility: visible; display: none;
    box-shadow: none; border: none; background: rgba(255,255,255,0.03); border-radius: 10px;
    margin: 0 0 10px; padding: 6px; width: 100%; text-align: left;
  }
  .nav-dropdown a { text-align: left; padding: 11px 12px; }
  /* Same specificity as the desktop "open" rule (.nav-item.is-open .nav-dropdown
     sets transform: translate(-50%, 4px) for centering under a link) — this
     has to be repeated here, not just reset on the plain .nav-dropdown above,
     or that desktop rule wins on specificity and drags the accordion panel
     off-screen to the left every time it's opened. */
  .nav-item.is-open .nav-dropdown { display: block; transform: none; }
  .nav-item.is-open .caret { transform: rotate(180deg); }
}

/* ---------------------------------------------------------------------- */
/* Hero                                                                   */
/* ---------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 50% 0%, var(--green-800) 0%, var(--green-950) 62%);
  color: var(--white);
  overflow: hidden;
  padding-top: 120px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.5) 0, transparent 100%),
    radial-gradient(1px 1px at 70% 60%, rgba(255,255,255,0.35) 0, transparent 100%),
    radial-gradient(1.5px 1.5px at 40% 80%, rgba(255,255,255,0.3) 0, transparent 100%),
    radial-gradient(1px 1px at 85% 20%, rgba(255,255,255,0.4) 0, transparent 100%),
    radial-gradient(1.5px 1.5px at 55% 45%, rgba(255,255,255,0.25) 0, transparent 100%),
    radial-gradient(1px 1px at 10% 65%, rgba(255,255,255,0.3) 0, transparent 100%);
  opacity: 0.7;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  opacity: 0.35; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__rings {
  position: absolute; top: 50%; left: 50%;
  width: 1400px; height: 1400px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: repeating-radial-gradient(circle, rgba(201,161,90,0.05) 0, rgba(201,161,90,0.05) 1px, transparent 1px, transparent 68px);
  pointer-events: none;
}
.hero__rings::before, .hero__rings::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none;
}
.hero__rings::before { width: 480px; height: 480px; top: 8%; left: 12%; background: radial-gradient(circle, rgba(201,161,90,0.22), transparent 70%); }
.hero__rings::after { width: 560px; height: 560px; bottom: 4%; right: 10%; background: radial-gradient(circle, rgba(47,138,92,0.28), transparent 70%); }
.hero__media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,20,14,0.55) 0%, rgba(4,20,14,0.75) 55%, var(--green-950) 100%);
}
.hero__inner { position: relative; z-index: 2; text-align: center; margin: 0 auto; max-width: 900px; }
.hero__inner h1, .hero__inner h2, .hero__inner h3 { color: var(--white); }
.hero__icon { width: 74px; margin: 0 auto 28px; opacity: 0.95; filter: drop-shadow(0 6px 24px rgba(201,161,90,0.3)); }
.hero__inner h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); margin-bottom: 0.18em; text-shadow: 0 4px 40px rgba(0,0,0,0.35); }
.hero__tagline {
  font-family: var(--font-serif); font-style: italic; font-size: clamp(1.1rem, 2vw, 1.5rem);
  margin-bottom: 22px; background: linear-gradient(90deg, var(--gold-500), var(--gold-400) 50%, var(--gold-500));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__desc { font-size: 1.15rem; color: var(--text-on-dark-soft); max-width: 620px; margin: 0 auto 40px; }
.hero__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-on-dark-soft); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  z-index: 2;
}
.hero__scroll .line { width: 1px; height: 34px; background: linear-gradient(var(--gold-500), transparent); animation: scrollpulse 1.8s infinite ease-in-out; }
@keyframes scrollpulse { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

/* On mobile the hero title + tagline + description + two stacked buttons
   can grow taller than short-viewport phones, colliding with this
   bottom-anchored indicator (buttons wrap to two rows and there's no room
   left above it). Touch users don't need a "scroll" hint the way a mouse
   user benefits from one, so it's simplest and most robust to just hide it
   below tablet width rather than chase exact heights across every device. */
@media (max-width: 768px) { .hero__scroll { display: none; } }

.page-hero {
  padding: 168px 0 88px;
  background: radial-gradient(circle at 50% -10%, var(--green-800), var(--green-950) 65%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.4; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.page-hero::after {
  content: "";
  position: absolute; z-index: 0; pointer-events: none;
  width: 460px; height: 460px; top: -120px; right: -80px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,161,90,0.16), transparent 70%);
  filter: blur(60px);
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero .eyebrow { justify-content: center; }
.page-hero h1, .page-hero h2, .page-hero h3 { color: var(--white); max-width: 780px; margin-left: auto; margin-right: auto; }
.page-hero p.lede { max-width: 620px; margin-left: auto; margin-right: auto; }
.page-hero--compact { padding: 148px 0 72px; }

/* ---------------------------------------------------------------------- */
/* Cards                                                                  */
/* ---------------------------------------------------------------------- */
.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(16,32,26,0.05);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}
.card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s var(--ease);
  z-index: 2;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(16,32,26,0.02); }
.card:hover::before { transform: scaleX(1); }
.card__image { aspect-ratio: 4/3; overflow: hidden; background: var(--cream-200); position: relative; }
.card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__image img { transform: scale(1.06); }
.card__image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(4,20,14,0) 55%, rgba(4,20,14,0.55) 100%);
  opacity: 0; transition: opacity .4s ease;
}
.card:hover .card__image::after { opacity: 1; }
.card__body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.card__meta { font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-600); font-weight: 700; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.card__meta svg.icon { width: 13px; height: 13px; }
.card__title { font-size: 1.2rem; margin-bottom: 10px; }
.card__text { color: var(--ink-500); font-size: 0.95rem; flex: 1; }
.card__footer { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; }
.card__link { font-weight: 600; font-size: 0.88rem; color: var(--green-700); display: inline-flex; align-items: center; gap: 6px; transition: gap .25s ease, color .25s ease; }
.card__link svg.icon { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.card:hover .card__link { color: var(--green-500); gap: 9px; }
.card:hover .card__link svg.icon { transform: translateX(2px); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: var(--radius-pill);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--green-800); color: var(--gold-300, var(--gold-400));
}
.badge--gold { background: var(--grad-gold); color: var(--green-950); box-shadow: var(--shadow-gold); }
.badge--outline { background: rgba(255,255,255,0.06); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.35); color: var(--white); }
.badge--live { background: linear-gradient(135deg, #D8503F, #A8291B); color: #fff; box-shadow: 0 6px 18px rgba(168,41,27,0.4); }
.badge--live .dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.4s infinite; }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }

/* ---------------------------------------------------------------------- */
/* Icons & icon badges                                                    */
/* ---------------------------------------------------------------------- */
svg.icon { width: 20px; height: 20px; flex-shrink: 0; }
svg.icon.w-4 { width: 16px; height: 16px; }
svg.icon.w-5 { width: 18px; height: 18px; }
svg.icon.w-7 { width: 28px; height: 28px; }
svg.icon.w-9 { width: 36px; height: 36px; }

.icon-badge {
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--grad-green); color: var(--gold-400);
  box-shadow: var(--shadow-green);
  margin-bottom: 18px;
  transition: transform .4s var(--ease);
}
.icon-badge svg.icon { width: 26px; height: 26px; }
.icon-badge--center { margin-left: auto; margin-right: auto; }
.icon-badge--light { background: linear-gradient(135deg, var(--cream-50), var(--cream-200)); color: var(--green-700); box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,0.7); }
.icon-badge--gold { background: var(--grad-gold); color: var(--green-950); box-shadow: var(--shadow-gold); }
.icon-badge--sm { width: 44px; height: 44px; }
.icon-badge--sm svg.icon { width: 20px; height: 20px; }
.card:hover .icon-badge, .quote-card:hover .icon-badge { transform: scale(1.08) rotate(-4deg); }

.icon-circle {
  width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(201,161,90,0.12); color: var(--gold-600);
  border: 1px solid rgba(201,161,90,0.25);
}
.section--dark .icon-circle { background: rgba(255,255,255,0.06); color: var(--gold-400); border-color: rgba(255,255,255,0.14); }
.icon-circle svg.icon { width: 19px; height: 19px; }

/* ---------------------------------------------------------------------- */
/* Grids                                                                  */
/* ---------------------------------------------------------------------- */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.split--narrow-wide { grid-template-columns: 1fr 1.3fr; }
@media (max-width: 900px) { .split--narrow-wide { grid-template-columns: 1fr; } }

.split--avatar { grid-template-columns: 180px 1fr; align-items: start; gap: 36px; }
@media (max-width: 640px) { .split--avatar { grid-template-columns: 1fr; justify-items: center; text-align: center; } }
.split--avatar .person-card__photo { width: 180px; border-radius: var(--radius-md); }
@media (max-width: 640px) { .split--avatar .person-card__photo { width: 140px; } }

.detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 980px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-card {
  background: var(--white); border-radius: var(--radius-md); padding: 30px;
  box-shadow: var(--shadow-md); border: 1px solid rgba(16,32,26,0.05);
}
.detail-card + .detail-card { margin-top: 24px; }
.detail-row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.detail-row:last-of-type { margin-bottom: 0; }
.detail-row strong { display: block; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 3px; }
.detail-row span, .detail-row p { color: var(--ink-700); font-size: 0.94rem; margin: 0; }

/* ---------------------------------------------------------------------- */
/* Stats / Impact                                                        */
/* ---------------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat {
  text-align: center; padding: 30px 20px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md); backdrop-filter: blur(6px);
  transition: transform .4s var(--ease), border-color .4s var(--ease), background .4s var(--ease);
}
.stat:hover { transform: translateY(-4px); border-color: rgba(201,161,90,0.35); background: rgba(255,255,255,0.05); }
.stat .icon-circle { margin: 0 auto 16px; }
.stat__value { font-family: var(--font-serif); font-size: clamp(2.2rem, 4vw, 3rem); color: var(--gold-400); margin-bottom: 6px; background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat__label { font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-on-dark-soft); }
.section--cream .stat, .section:not(.section--dark) .stat { background: var(--white); border-color: rgba(16,32,26,0.06); box-shadow: var(--shadow-sm); }
.section--cream .stat__value, .section:not(.section--dark) .stat__value { background: linear-gradient(135deg, var(--green-500), var(--green-800)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.section--cream .stat__label, .section:not(.section--dark) .stat__label { color: var(--ink-500); }

/* ---------------------------------------------------------------------- */
/* Timeline / journey                                                     */
/* ---------------------------------------------------------------------- */
.flow { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.flow__step {
  padding: 10px 20px; border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.18); font-size: 0.85rem; font-weight: 600;
  color: var(--text-on-dark-soft);
}
.flow__arrow { color: var(--gold-500); opacity: 0.7; }

/* ---------------------------------------------------------------------- */
/* Forms                                                                  */
/* ---------------------------------------------------------------------- */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--ink-700); letter-spacing: 0.01em; }
.section--dark .field label { color: var(--text-on-dark); }
.field input, .field select, .field textarea {
  padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--cream-200); background: var(--white);
  color: var(--ink-900); transition: border-color .2s ease, box-shadow .2s ease;
}
.section--dark .field input, .section--dark .field select, .section--dark .field textarea {
  background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.18); color: var(--white);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(201,161,90,0.18);
}
.field textarea { resize: vertical; min-height: 130px; }
.field-check { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: var(--ink-500); }
.section--dark .field-check { color: var(--text-on-dark-soft); }
.field-error { color: #B94A3E; font-size: 0.8rem; }
.form-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 40px;
  box-shadow: var(--shadow-md); border: 1px solid rgba(16,32,26,0.04);
}
.section--dark .form-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); box-shadow: var(--shadow-lg); backdrop-filter: blur(10px); }

.type-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; justify-content: center; }
.type-tab {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 18px; border-radius: var(--radius-pill); font-size: 0.85rem; font-weight: 600;
  border: 1px solid var(--cream-200); color: var(--ink-500); transition: all .25s ease;
}
.type-tab:hover { border-color: var(--green-500); color: var(--green-700); }
.type-tab.is-active { background: var(--grad-green); color: var(--white); border-color: transparent; box-shadow: var(--shadow-green); }

/* alerts */
.alerts { position: fixed; top: 100px; right: 24px; z-index: 500; display: flex; flex-direction: column; gap: 10px; width: min(380px, calc(100vw - 48px)); }
.alert {
  padding: 16px 20px; border-radius: var(--radius-md); background: var(--white); box-shadow: var(--shadow-lg);
  font-size: 0.9rem; border-left: 4px solid var(--green-600); color: var(--ink-900);
  animation: alertIn .4s var(--ease);
}
.alert--success { border-color: var(--green-600); }
.alert--danger { border-color: #B94A3E; }
.alert--warning { border-color: var(--gold-600); }
.alert--info { border-color: var(--ink-300); }
@keyframes alertIn { from { opacity: 0; transform: translateY(-10px);} to { opacity: 1; transform: translateY(0);} }

/* ---------------------------------------------------------------------- */
/* Footer                                                                 */
/* ---------------------------------------------------------------------- */
.footer { background: var(--green-950); color: var(--text-on-dark-soft); padding-top: 80px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.08); }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }
.footer__brand img { height: 44px; margin-bottom: 16px; }
.footer__desc { font-size: 0.92rem; max-width: 280px; }
.footer h5 { color: var(--white); font-family: var(--font-sans); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 18px; }
.footer li { margin-bottom: 11px; font-size: 0.9rem; }
.footer a:hover { color: var(--white); }
.footer__social { display: flex; gap: 12px; margin-top: 18px; }
.footer__social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.16); background: rgba(255,255,255,0.03); display: flex; align-items: center; justify-content: center; transition: all .3s var(--ease); }
.footer__social a svg.icon { width: 17px; height: 17px; }
.footer__social a:hover { background: var(--grad-gold); border-color: transparent; color: var(--green-950); box-shadow: var(--shadow-gold); transform: translateY(-3px); }
.footer__newsletter { display: flex; gap: 10px; margin-top: 6px; }
.footer__newsletter input { flex: 1; padding: 12px 16px; border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); color: var(--white); }
.footer__newsletter input:focus { outline: none; border-color: var(--gold-500); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; padding: 26px 0; font-size: 0.8rem; flex-wrap: wrap; gap: 12px; }
.footer__bottom a { color: var(--text-on-dark-soft); }
.footer__bottom a:hover { color: var(--white); }

/* ---------------------------------------------------------------------- */
/* Media / video embeds                                                   */
/* ---------------------------------------------------------------------- */
.embed { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: var(--radius-md); overflow: hidden; background: var(--green-950); box-shadow: var(--shadow-lg); }
.embed iframe, .embed img, .embed video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 68px; height: 68px; border-radius: 50%; background: rgba(255,255,255,0.95);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(4,20,14,0.35), 0 0 0 8px rgba(255,255,255,0.12);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover .play-btn { transform: translate(-50%, -50%) scale(1.1); box-shadow: 0 10px 28px rgba(4,20,14,0.4), 0 0 0 12px rgba(255,255,255,0.16); }
.play-btn svg { width: 22px; height: 22px; fill: var(--green-900); color: var(--green-900); margin-left: 3px; }

/* ---------------------------------------------------------------------- */
/* Countdown (watch live)                                                */
/* ---------------------------------------------------------------------- */
.countdown { display: flex; gap: 16px; justify-content: center; margin: 40px 0; flex-wrap: wrap; }
.countdown__unit {
  text-align: center; min-width: 96px; padding: 20px 10px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md); backdrop-filter: blur(8px);
}
.countdown__num {
  font-family: var(--font-serif); font-size: 3rem;
  background: linear-gradient(135deg, var(--white), var(--gold-400));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.countdown__label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-on-dark-soft); }

/* ---------------------------------------------------------------------- */
/* Category filters                                                       */
/* ---------------------------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.filter-pill {
  padding: 9px 18px; border-radius: var(--radius-pill); font-size: 0.83rem; font-weight: 600;
  border: 1px solid var(--cream-200); color: var(--ink-500); transition: all .2s ease;
}
.filter-pill:hover { border-color: var(--green-600); color: var(--green-700); }
.filter-pill.is-active { background: var(--grad-green); color: var(--white); border-color: transparent; box-shadow: var(--shadow-green); }

/* ---------------------------------------------------------------------- */
/* Progress bar (giving)                                                 */
/* ---------------------------------------------------------------------- */
.progress { height: 8px; border-radius: var(--radius-pill); background: var(--cream-200); overflow: hidden; }
.progress__bar { height: 100%; background: linear-gradient(90deg, var(--green-500), var(--gold-500)); border-radius: var(--radius-pill); }

/* ---------------------------------------------------------------------- */
/* Empty state                                                           */
/* ---------------------------------------------------------------------- */
.empty-state { text-align: center; padding: 70px 24px; color: var(--ink-500); }
.empty-state svg { width: 48px; height: 48px; margin-bottom: 16px; opacity: 0.4; }

/* ---------------------------------------------------------------------- */
/* Reveal-on-scroll                                                       */
/* ---------------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------------------------------------------------------------------- */
/* Person cards (team/founder/testimony)                                  */
/* ---------------------------------------------------------------------- */
.person-card { text-align: center; }
.person-card__photo {
  width: 100%; aspect-ratio: 1/1; border-radius: var(--radius-md); overflow: hidden;
  margin-bottom: 18px; background: var(--cream-200); box-shadow: var(--shadow-md);
  position: relative; transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.person-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.person-card:hover .person-card__photo { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.person-card:hover .person-card__photo img { transform: scale(1.05); }
.person-card__name { font-family: var(--font-serif); font-size: 1.1rem; margin-bottom: 2px; }
.person-card__role { font-size: 0.82rem; color: var(--gold-600); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

.quote-card {
  padding: 32px; background: var(--white); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); border: 1px solid rgba(16,32,26,0.05);
  position: relative; overflow: hidden;
  transition: box-shadow .4s var(--ease), transform .4s var(--ease), border-color .4s var(--ease);
}
.quote-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: rgba(201,161,90,0.3); }
.quote-card__quote-icon { color: var(--gold-500); opacity: 0.5; margin-bottom: 8px; }
.quote-card__quote-icon svg.icon { width: 30px; height: 30px; }
.quote-card__stars { color: var(--gold-500); margin-bottom: 12px; display: flex; gap: 3px; }
.quote-card__stars svg.icon { width: 15px; height: 15px; }
.quote-card__text { font-style: italic; color: var(--ink-700); margin-bottom: 20px; }
.quote-card__person { display: flex; align-items: center; gap: 12px; }
.quote-card__avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--grad-green); flex-shrink: 0; box-shadow: var(--shadow-sm); }
.quote-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote-card__name { font-weight: 700; font-size: 0.9rem; color: var(--ink-900); }
.quote-card__loc { font-size: 0.78rem; color: var(--ink-500); }

/* ---------------------------------------------------------------------- */
/* Utilities                                                              */
/* ---------------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-12 { gap: 12px; }
.w-full { width: 100%; }
.divider { height: 1px; background: var(--cream-200); margin: 40px 0; }
.section--dark .divider { background: rgba(255,255,255,0.1); }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-950) 70%);
  border-radius: var(--radius-lg);
  padding: 64px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.06);
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(201,161,90,0.22), transparent 55%),
              radial-gradient(circle at 10% 90%, rgba(47,138,92,0.25), transparent 50%);
}
.cta-band::after {
  content: "";
  position: absolute; inset: 0; opacity: 0.4; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); }
.cta-band .lede { max-width: 560px; margin: 0 auto 30px; }
.cta-band__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

@media (max-width: 640px) {
  .cta-band { padding: 44px 28px; }
  .section { padding: 64px 0; }
}
