/* ===================================================================
   FWEEF — styles.css
   -------------------------------------------------------------------
   Structure:
     1. Design tokens (:root custom properties)   <- edit colours/spacing here
     2. Reset & base
     3. Utilities & helpers
     4. Buttons
     5. Header / nav
     6. Hero
     7. Stats strip
     8. About (Why FWEEF)
     9. Vision / Mission + CEO message
    10. What We Do (cards)
    11. Sponsor (tiers + form)
    12. Success stories carousel
    13. CTA banner
    14. Footer
    15. Scroll-reveal animation
    16. Responsive breakpoints
    17. Reduced-motion / print
   =================================================================== */

/* ============================ 1. TOKENS ========================== */
:root {
  /* ---- Colour palette — taken from the FWEEF lotus logo ---------- */
  --color-primary:        #7e2f8e;   /* plum — between the logo's magenta & indigo */
  --color-primary-dark:   #2f3a8f;   /* logo indigo */
  --color-primary-deep:   #1f2766;   /* footer / darkest bands */
  --color-primary-light:  #a8359a;   /* logo magenta */
  --color-accent:         #c13ea8;   /* bright magenta — calls to action */
  --color-accent-dark:    #9b2d87;
  --color-accent-soft:    #f4c6ea;   /* light orchid for text on dark bands */
  --color-bg:             #fbf9fc;   /* soft off-white canvas */
  --color-surface:        #ffffff;   /* cards */
  --color-tint:           #f4eef7;   /* tinted section bands */
  --color-text:           #272238;   /* deep ink-violet text */
  --color-text-soft:      #5a5468;   /* muted body text */
  --color-border:         #e7dcec;
  --color-on-primary:     #ffffff;
  --gradient-brand:       linear-gradient(120deg, var(--color-primary-dark), var(--color-primary-light));

  /* ---- Typography --------------------------------------------- */
  /* Display font (headings) with graceful serif fallback;
     body font with humanist sans fallback. If the Google Fonts CDN
     fails, these system fallbacks keep the page clean. */
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Fluid type scale (clamp = mobile -> desktop) */
  --fs-300: clamp(0.82rem, 0.8rem + 0.1vw, 0.9rem);
  --fs-400: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --fs-500: clamp(1.18rem, 1.1rem + 0.4vw, 1.35rem);
  --fs-600: clamp(1.5rem, 1.3rem + 1vw, 2rem);
  --fs-700: clamp(2rem, 1.6rem + 2vw, 2.85rem);
  --fs-800: clamp(2.5rem, 1.9rem + 3.2vw, 4rem);

  /* ---- Spacing scale ------------------------------------------ */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4.5rem;
  --space-7: 6.5rem;

  /* ---- Layout / misc ------------------------------------------ */
  --container: 1180px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(31, 39, 102, 0.06);
  --shadow-md: 0 14px 40px rgba(31, 39, 102, 0.12);
  --shadow-lg: 0 26px 60px rgba(31, 39, 102, 0.18);
  --header-h: 88px;
  --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================ 2. RESET ========================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* offset anchored sections so the sticky header doesn't cover them */
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-400);
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; font-weight: 600; }

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

a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-light); }

/* Visible, consistent keyboard focus everywhere */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ====================== 3. UTILITIES =========================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--space-3);
}

.section { padding-block: var(--space-6); }
.section--tinted { background: var(--color-tint); }

.eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: var(--fs-300);
  color: var(--color-accent-dark);
  margin: 0 0 var(--space-1);
}
.eyebrow--center { display: block; text-align: center; }

.section__title {
  font-size: var(--fs-700);
  margin: 0 0 var(--space-3);
  max-width: 18ch;
}
.section__title--center { text-align: center; margin-inline: auto; max-width: 22ch; }
/* Section heading with a short gradient bar underneath */
.section__title--mark { color: var(--color-primary-dark); }
.section__title--mark::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-top: var(--space-2);
  border-radius: 2px;
  background: var(--gradient-brand);
}

/* Screen-reader-only content */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: var(--space-2);
  top: -60px;
  z-index: 200;
  background: var(--color-primary);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 8px 8px;
  transition: top var(--transition);
}
.skip-link:focus { top: 0; color: #fff; }

/* Image fallback block — shown when a hotlinked image fails to load */
.img--fallback {
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
  min-height: 220px;
}

/* ====================== 4. BUTTONS ============================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-400);
  line-height: 1;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition),
              background-color var(--transition), color var(--transition);
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--lg { padding: 1.05rem 2rem; font-size: var(--fs-500); }

.btn--accent {
  background: var(--color-accent);
  color: #fff;                 /* dark text on amber = AA contrast */
  box-shadow: 0 8px 20px rgba(193, 62, 168, 0.32);
}
.btn--accent:hover { background: var(--color-accent-dark); color: #fff; }

.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(2px);
}
.btn--ghost:hover { background: #fff; color: var(--color-primary-dark); }

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}
.btn--outline:hover { background: var(--color-primary); color: #fff; }

.btn--light {
  background: #fff;
  color: var(--color-primary-dark);
}
.btn--light:hover { background: var(--color-bg); color: var(--color-primary-dark); }

/* ====================== 5. HEADER / NAV ======================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 252, 0.88);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--color-border);
}
/* Solid fallback when backdrop-filter unsupported */
@supports not (backdrop-filter: blur(10px)) {
  .site-header { background: var(--color-bg); }
}

.header__inner {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--color-primary-dark);
  line-height: 1.1;
  flex-shrink: 0;
}
.logo:hover { color: var(--color-primary); }
.logo__mark { flex-shrink: 0; width: 72px; height: auto; }
/* Full name + (FWEEF) flow as one wordmark that wraps onto two lines */
.logo__text {
  display: block;
  max-width: 15.5em;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-primary-dark);
}
.logo__abbr {
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* the header runs wider than the page content so logo, nav and button fit */
.site-header .container { max-width: 1400px; }

.nav { margin-left: auto; }
.nav__list {
  display: flex;
  gap: clamp(1rem, 2vw - 0.5rem, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__list a {
  color: var(--color-text);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.4rem 0;
  position: relative;
  white-space: nowrap;
}
/* Animated underline on hover/focus */
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav__list a:hover::after,
.nav__list a:focus-visible::after { transform: scaleX(1); }

.btn--header { padding: 0.7rem 1.25rem; font-size: 1rem; flex-shrink: 0; }

/* Mobile menu toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  margin-left: auto;
}
.nav-toggle__bar {
  width: 24px; height: 2px;
  background: var(--color-primary-dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ====================== 6. HERO =============================== */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--gradient-brand);
}
/* soft lotus-coloured glow behind the photo */
.hero::before {
  content: "";
  position: absolute;
  width: 620px; height: 620px;
  right: -140px; top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 198, 234, 0.35), transparent 65%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  gap: var(--space-5);
  align-items: center;
  padding-block: var(--space-6);
}
.hero__content { max-width: 640px; }
.hero__eyebrow {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: var(--fs-300);
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin: 0 0 var(--space-3);
}
.hero__title {
  font-size: clamp(2.1rem, 1.6rem + 2.2vw, 3.3rem);
  font-weight: 600;
  margin: 0 0 var(--space-3);
  text-shadow: 0 2px 18px rgba(0,0,0,0.18);
}
/* plain sans ampersand instead of the display face's ornate one */
/* the "&" sits alone on its own line between the two halves of the name */
.hero__title .amp { display: block; font-family: var(--font-body); font-weight: 500; }
.hero__subtitle {
  font-size: var(--fs-500);
  max-width: 52ch;
  margin: 0 0 var(--space-4);
  color: rgba(255,255,255,0.92);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.hero__media { margin: 0; }
.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  object-position: center 80%;   /* keep the scholars, crop the building */
  border-radius: var(--radius-lg);
  border: 6px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-lg);
}

/* ====================== 7. STATS ============================== */
.stats {
  background: var(--color-primary-deep);
  color: var(--color-on-primary);
  padding-block: var(--space-5);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  text-align: center;
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: var(--fs-700);
  font-weight: 700;
  color: var(--color-accent-soft);
  line-height: 1;
}
.stat__label {
  display: block;
  margin-top: 0.4rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  font-size: var(--fs-400);
}

/* ====================== 8. ABOUT ============================== */
.about__grid {
  display: grid;
  gap: var(--space-5);
  align-items: center;
}
.about__text p { color: var(--color-text-soft); max-width: 60ch; }
.about__facts {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 5px solid var(--color-primary-light);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-3);
  box-shadow: var(--shadow-md);
}
.about__facts-logo { margin: 0 auto var(--space-3); width: 88px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.facts li { display: grid; gap: 0.15rem; padding-bottom: var(--space-2); border-bottom: 1px solid var(--color-border); }
.facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.facts__label { font-size: var(--fs-300); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-accent-dark); }
.facts__value { font-weight: 600; color: var(--color-text); }

/* ====================== 9. VISION / MISSION + MESSAGE ======= */
.pillar {
  position: relative;
  background: var(--color-surface);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-3) var(--space-3);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--color-primary-light); }
.pillar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78px; height: 78px;
  border-radius: 50%;
  color: #fff;
  background: var(--gradient-brand);
  box-shadow: 0 0 0 6px var(--color-tint), 0 0 0 8px rgba(168, 53, 154, 0.35);
  margin-bottom: var(--space-3);
}
.pillar__title {
  font-size: var(--fs-600);
  margin: 0 0 0.6rem;
  color: var(--color-primary);
}
.pillar:nth-child(even) .pillar__title { color: var(--color-primary-dark); }
.pillar p { margin: 0; color: var(--color-text-soft); }

/* Soft lotus gradient so the CEO message stands apart from What We Do */
.message {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(193, 62, 168, 0.16), transparent 42%),
    radial-gradient(circle at 4% 96%, rgba(47, 58, 143, 0.14), transparent 45%),
    linear-gradient(135deg, #f1ecfb 0%, #f9eef7 55%, #fbe9f4 100%);
  border-block: 1px solid var(--color-border);
}
/* oversized decorative quote mark behind the text */
.message::before {
  content: "\201C";
  position: absolute;
  right: 4%;
  top: 0.02em;
  font-family: var(--font-display);
  font-size: clamp(12rem, 26vw, 22rem);
  line-height: 1;
  color: var(--color-primary-light);
  opacity: 0.09;
  pointer-events: none;
}
.message__grid { position: relative; display: grid; gap: var(--space-5); align-items: start; }
.message__portrait { margin: 0; text-align: center; }
.message__portrait img,
.message__placeholder {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 6 / 7;
  margin-inline: auto;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
/* the source photo is landscape with her left of centre — keep her in frame */
.message__portrait img { object-position: 12% center; border: 6px solid #fff; }
.message__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-brand);
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 600;
}
.message__portrait figcaption { margin-top: var(--space-2); display: grid; gap: 0.15rem; }
.message__name { font-family: var(--font-display); font-size: var(--fs-500); font-weight: 600; color: var(--color-text); }
.message__role { color: var(--color-accent-dark); font-weight: 600; font-size: var(--fs-300); }
.message__text p { color: var(--color-text-soft); max-width: 66ch; }
.message__text .section__title { max-width: 24ch; }
.message__text .message__lead {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-display);
  font-size: var(--fs-500);
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-primary);
}
.message__text .message__sign { font-family: var(--font-display); font-style: italic; font-size: var(--fs-500); color: var(--color-primary); }

/* ====================== 10. CARD GRID ======================= */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

/* ====================== 11. SPONSOR ========================== */
.sponsor { background: var(--color-bg); }
.sponsor__lead {
  text-align: center;
  max-width: 62ch;
  margin: 0 auto var(--space-4);
  color: var(--color-text-soft);
  font-size: var(--fs-500);
}

.tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}
.tier {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-3);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.tier:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.tier--featured {
  border-color: var(--color-primary);
  border-width: 2px;
  box-shadow: var(--shadow-md);
}
.tier__badge {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: #fff;
  font-size: var(--fs-300);
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}
.tier__name { font-size: var(--fs-600); margin: 0 0 0.4rem; color: var(--color-primary-dark); }
.tier__price { margin: 0 0 var(--space-2); }
.tier__amount { font-family: var(--font-display); font-size: var(--fs-700); font-weight: 700; color: var(--color-text); }
.tier__period { margin-left: 0.3rem; color: var(--color-text-soft); font-weight: 600; }
.tier__period--block { display: block; margin-left: 0; }
.tier__list {
  list-style: none;
  margin: 0 0 var(--space-3);
  padding: 0;
  display: grid;
  gap: 0.6rem;
  flex-grow: 1;
}
.tier__list li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--color-text-soft);
}
.tier__list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--color-primary);
  font-weight: 800;
}
.tier__cta { width: 100%; }

.sponsor__cta { text-align: center; margin: var(--space-5) 0; }

/* ---- Ways to give (bank / Zelle / check) ---- */
.give { margin-top: var(--space-6); }
.give__title { font-size: var(--fs-600); text-align: center; margin: 0 0 var(--space-4); color: var(--color-primary-dark); }
.give__grid { display: grid; gap: var(--space-3); }
.give__card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-primary-light);
  border-radius: var(--radius-lg);
  padding: var(--space-4) var(--space-3);
  box-shadow: var(--shadow-sm);
}
.give__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--color-tint);
  color: var(--color-primary);
  margin-bottom: var(--space-2);
  flex-shrink: 0;
}
.give__icon--light { background: rgba(255,255,255,0.16); color: #fff; margin-bottom: 0; }
.give__name { font-family: var(--font-display); font-size: var(--fs-500); margin: 0 0 var(--space-2); color: var(--color-primary-dark); }
.give__details { margin: 0; display: grid; gap: 0.85rem; }
.give__details dt {
  font-size: var(--fs-300);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
}
.give__details dd { margin: 0.15rem 0 0; color: var(--color-text); font-weight: 600; overflow-wrap: anywhere; }
.give__code { font-variant-numeric: tabular-nums; letter-spacing: 0.03em; }
.give__hint { color: var(--color-text-soft); font-weight: 500; font-size: var(--fs-300); }
.give__note {
  margin: var(--space-3) auto 0;
  max-width: 62ch;
  text-align: center;
  color: var(--color-text-soft);
}
.give__note a { font-weight: 700; white-space: nowrap; }
.give__tax {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  background: var(--gradient-brand);
  color: rgba(255,255,255,0.92);
  box-shadow: var(--shadow-md);
}
.give__tax-title { font-family: var(--font-display); font-size: var(--fs-500); margin: 0 0 0.2rem; color: #fff; }
.give__tax p { margin: 0; }
.give__tax strong { color: #fff; white-space: nowrap; }

/* ---- Interest form ---- */
.form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  max-width: 720px;
  margin-inline: auto;
  box-shadow: var(--shadow-sm);
}
.form__title { font-size: var(--fs-600); margin: 0 0 var(--space-3); text-align: center; }
.form__row { display: grid; gap: var(--space-2); }
.form__field { display: block; margin-bottom: var(--space-2); }
.form__label { display: block; font-weight: 600; margin-bottom: 0.35rem; font-size: var(--fs-400); }
.req { color: var(--color-accent-dark); }

.form input,
.form select,
.form textarea {
  width: 100%;
  font: inherit;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(168, 53, 154, 0.18);
}
.form textarea { resize: vertical; }

/* Invalid field state (set by JS) */
.form .invalid { border-color: #b3261e; background: #fdf3f2; }
.form__error {
  display: block;
  color: #b3261e;
  font-size: var(--fs-300);
  font-weight: 600;
  min-height: 1em;
  margin-top: 0.3rem;
}
.form__submit { width: 100%; margin-top: var(--space-1); }
.form__success {
  margin: var(--space-2) 0 0;
  padding: var(--space-2);
  background: #f8ecf6;
  border: 1.5px solid var(--color-primary-light);
  border-radius: 10px;
  color: var(--color-primary-dark);
  font-weight: 600;
  text-align: center;
}

/* ====================== 12. SUCCESS STORIES ================== */
.stories__lead {
  text-align: center;
  max-width: 60ch;
  margin: 0 auto var(--space-4);
  color: var(--color-text-soft);
  font-size: var(--fs-500);
}
.carousel { position: relative; }
.carousel__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 82%;
  gap: var(--space-3);
  list-style: none;
  margin: 0;
  padding: var(--space-1) var(--space-1) var(--space-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--space-1);
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary-light) transparent;
}
.carousel__track:focus-visible { outline-offset: 4px; }
.story {
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.story__photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  background: var(--color-tint);
}
.story__body { padding: var(--space-3); text-align: center; }
.story__name { font-size: var(--fs-500); margin: 0; color: var(--color-primary-dark); }
.story__batch { margin: 0.25rem 0 0.75rem; font-weight: 700; font-size: var(--fs-300); color: var(--color-accent-dark); }
.story__bio { margin: 0; color: var(--color-text-soft); font-style: italic; font-size: 0.95rem; line-height: 1.6; }
.carousel__btn {
  position: absolute;
  top: 38%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--color-surface);
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition), opacity var(--transition);
}
.carousel__btn:hover { background: var(--color-primary-light); transform: scale(1.06); }
.carousel__btn:disabled { opacity: 0.35; cursor: default; transform: none; }
.carousel__btn--prev { left: -8px; }
.carousel__btn--next { right: -8px; }

/* ====================== 13. CTA BANNER ======================= */
.cta-banner {
  background: var(--gradient-brand);
  color: #fff;
  text-align: center;
}
.cta-banner__inner {
  padding-block: var(--space-6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}
.cta-banner h2 { font-size: var(--fs-700); margin: 0; max-width: 24ch; }

/* ====================== 14. FOOTER =========================== */
.footer { background: var(--color-primary-deep); color: rgba(255,255,255,0.82); }
.footer a { color: rgba(255,255,255,0.82); }
.footer a:hover { color: #fff; }
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  padding-block: var(--space-6) var(--space-4);
}
.logo--footer .logo__text { color: #fff; }
.logo--footer .logo__abbr { background: none; color: var(--color-accent-soft); }
.logo__badge { display: inline-flex; padding: 0.45rem 0.55rem; background: #fff; border-radius: 12px; }
.logo__badge .logo__mark { width: 44px; }
.footer__tagline { margin: var(--space-2) 0 var(--space-3); max-width: 42ch; }
.footer__heading { font-size: var(--fs-500); color: #fff; margin: 0 0 var(--space-2); }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer__contact { font-style: normal; line-height: 1.7; }
.footer__label {
  display: block;
  margin-top: var(--space-2);
  font-size: var(--fs-300);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-soft);
}
.footer__label:first-child { margin-top: 0; }

.social { display: flex; gap: 0.75rem; list-style: none; margin: 0; padding: 0; }
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #fff;
  transition: background-color var(--transition), transform var(--transition);
}
.social a:hover { background: var(--color-accent); color: #fff; transform: translateY(-3px); }

.footer__bar {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-block: var(--space-3);
  font-size: var(--fs-300);
}
.footer__bar p { margin: 0; }

/* ====================== 15. SCROLL REVEAL ==================== */
/* JS adds .is-visible when an element scrolls into view. */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ====================== 16. BREAKPOINTS ====================== */

/* --- >= 600px: stats 4-up start, cards 2-up --- */
/* --- < 720px: compact "FWEEF" wordmark keeps the header on one row --- */
@media (max-width: 719px) {
  .site-header .logo__full,
  .site-header .logo__paren { display: none; }
  :root { --header-h: 72px; }
  .logo { gap: 0.5rem; }
  .logo__mark { width: 50px; }
  .site-header .logo__abbr { font-size: 1.4rem; }
}

/* --- < 400px: small phones need the smaller mark to keep logo, button and menu on one row --- */
@media (max-width: 399px) {
  .logo { gap: 0.4rem; }
  .logo__mark { width: 40px; }
  .site-header .logo__abbr { font-size: 1.2rem; }
  .site-header .btn--header { padding: 0.45rem 0.6rem; font-size: 0.8rem; }
}

@media (max-width: 599px) {
  .header__inner { column-gap: var(--space-1); }
  .btn--header { padding: 0.5rem 0.75rem; font-size: 0.85rem; }
  .give__tax { flex-direction: column; text-align: center; padding: var(--space-3); }
}

@media (min-width: 600px) {
  .carousel__track { grid-auto-columns: calc((100% - var(--space-3)) / 2); }
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .form__row { grid-template-columns: 1fr 1fr; }
}

/* --- >= 768px: tablet layout --- */
@media (min-width: 768px) {
  .about__grid { grid-template-columns: 1.35fr 0.65fr; align-items: start; }
  .message__grid { grid-template-columns: 0.75fr 1.25fr; }
  .message__portrait { position: sticky; top: calc(var(--header-h) + 24px); }
  .tiers { grid-template-columns: repeat(3, 1fr); align-items: center; }
  .give__grid { grid-template-columns: repeat(3, 1fr); }
  .cta-banner__inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .cta-banner h2 { text-align: left; }
  .footer__grid { grid-template-columns: 2fr 1fr 1.4fr; }
}

/* --- >= 980px: desktop layout --- */
@media (min-width: 980px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
  .hero__grid { grid-template-columns: 1.15fr 0.85fr; }
  .carousel__track { grid-auto-columns: calc((100% - 2 * var(--space-3)) / 3); }
  .carousel__btn--prev { left: -22px; }
  .carousel__btn--next { right: -22px; }
  /* slightly lift the featured tier on wide screens */
  .tier--featured { transform: translateY(-12px); }
  .tier--featured:hover { transform: translateY(-18px); }
}

/* --- < 1360px: collapse nav into the menu (the full-name logo needs the room) --- */
@media (max-width: 1359px) {
  .nav-toggle { display: flex; order: 3; margin-left: 0; }
  .btn--header { order: 2; margin-left: auto; }

  .nav {
    order: 4;
    margin-left: 0;
    flex-basis: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
  }
  .nav.is-open { max-height: 420px; }
  .nav__list {
    flex-direction: column;
    gap: 0;
    padding-block: var(--space-2);
  }
  .nav__list li { border-top: 1px solid var(--color-border); }
  .nav__list a { display: block; padding: 0.9rem 0; }
  .nav__list a::after { display: none; }

  .header__inner { flex-wrap: wrap; }
}

/* ====================== 17. MOTION / PRINT =================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .nav-toggle, .hero__actions, .cta-banner, .form, .carousel__btn { display: none; }
  body { color: #000; background: #fff; }
}
