body, html { overflow-x: hidden; width: 100%; max-width: 100%; }
/* =========================================================
   YOGEEK SHIKSHA FOUNDATION — Design Tokens
   ========================================================= */
:root {
  /* Colors — surfaces */
  --c-bg-page: #ebece4;
  --c-bg-white: #ffffff;
  --c-bg-soft: #f9f7f3;
  --c-bg-black: #171717;

  /* Colors — text */
  --c-text-black: #030303;
  --c-text-heading: #36322a;
  --c-text-heading-2: #5c5547;
  --c-text-body: #525252;
  --c-text-muted: #857d6e;
  --c-text-muted-2: #5c5a55;
  --c-text-nav: #431407;
  --c-text-slate: #1e293b;
  --c-text-slate-soft: #64748b;

  /* Colors — brand / accents */
  --c-primary: #ff462e;
  --c-primary-hover: #e63a24;
  --c-secondary-bg: #e0f2fe;
  --c-secondary-text: #166ae7;
  --c-terracotta: #a45333;
  --c-peach: #e89e78;

  /* Colors — pills */
  --c-pill-1: #eee9df;
  --c-pill-2: #f4f2eb;
  --c-pill-3: #e0e7ea;

  /* Colors — badges */
  --c-badge-orange-bg: #fff7ed;
  --c-badge-orange-border: #ffedd5;
  --c-badge-orange-text: #ea580c;
  --c-badge-orange-strong-bg: #fff7ed;
  --c-badge-orange-strong-text: #7c2d12;
  --c-badge-peach-border: #e8bca5;
  --c-badge-slate-bg: #f8fafc;
  --c-badge-slate-border: #f1f5f9;

  /* Typography */
  --font-display: 'Inter', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Geist Mono', monospace;
  --font-quote: 'Instrument Serif', serif;
  --font-stat: 'Outfit', sans-serif;

  /* Spacing scale (from Figma) */
  --space-1: 4px;
  --space-2: 6px;
  --space-3: 8px;
  --space-4: 12px;
  --space-5: 16px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 64px;
  --space-9: 96px;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 33px;
  --radius-pill: 9999px;

  --shadow-card: 0 1px 2px 0 rgba(40, 40, 40, 0.08), 0 0 0 1px rgba(236, 236, 236, 0.1);
  --shadow-page: 18px 2px 54.8px 0 rgba(0, 0, 0, 0.13);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================================
   RESET
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--c-text-body);
  background: var(--c-bg-page);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.page {
  max-width: 1440px;
  margin: 0 auto;
  background: var(--c-bg-page);
  box-shadow: var(--shadow-page);
  position: relative;
  overflow: hidden;
}

/* =========================================================
   SHARED — eyebrow labels, section titles, buttons, badges
   ========================================================= */
.eyebrow {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
  color: var(--c-text-black);
  text-align: center;
  margin: 0;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 2.38px;
  color: var(--c-text-nav);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 64px);
  line-height: 1.1;
  letter-spacing: -1.28px;
  color: var(--c-text-heading);
  text-align: center;
  max-width: 961px;
  margin: 0 auto;
}
.section-title--right { text-align: right; max-width: none; margin: 0; }
.section-title--center { text-align: center; }

.section-desc {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 26px;
  letter-spacing: -0.48px;
  color: var(--c-text-muted-2);
  text-align: center;
  max-width: 849px;
  margin: 0 auto;
}
.section-desc--center { text-align: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
  text-align: center;
  white-space: nowrap;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), background-color 180ms var(--ease), color 180ms var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--c-text-black); outline-offset: 2px; }

.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-hover); box-shadow: 0 8px 20px rgba(255, 70, 46, 0.35); }

.btn-secondary { background: var(--c-secondary-bg); color: var(--c-secondary-text); }
.btn-secondary:hover { background: #cdeafd; box-shadow: 0 8px 20px rgba(22, 106, 231, 0.2); }

.hero-ctas {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
  justify-content: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}
.badge--orange { background: var(--c-badge-orange-strong-bg); color: var(--c-badge-orange-strong-text); }
.badge--peach { background: var(--c-peach); border: 1px solid var(--c-badge-peach-border); color: #262626; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 400; border-radius: var(--radius-sm); font-size: 10px; padding: 5px 8px; }
.badge--slate { background: var(--c-badge-slate-bg); border: 1px solid var(--c-badge-slate-border); color: #000; text-transform: uppercase; letter-spacing: 0.5px; font-weight: 400; border-radius: var(--radius-sm); font-size: 10px; padding: 5px 8px; }
.badge--orange-outline { background: var(--c-badge-orange-bg); border: 1px solid var(--c-badge-orange-border); color: var(--c-badge-orange-text); text-transform: uppercase; letter-spacing: 0.5px; font-weight: 400; border-radius: var(--radius-sm); font-size: 10px; padding: 5px 8px; }

.category-strip {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  background: var(--c-primary);
  padding: 16px 0;
  width: 100%;
}
.category-strip-item {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 24px;
  line-height: 26px;
  letter-spacing: -0.48px;
  color: #fff;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .category-strip { padding: 12px 16px; gap: 8px 16px; }
  .category-strip-item { font-size: 14px; }
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: relative;
  z-index: 20;
  background: var(--c-bg-white);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 64px;
  max-width: 1440px;
  margin: 0 auto;
}
.nav-logo img { height: 56px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
  color: var(--c-text-nav);
  transition: background-color 180ms var(--ease), color 180ms var(--ease);
}
.nav-link:hover { background: var(--c-pill-2); }
.nav-link--underline { text-decoration: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--c-text-nav); border-radius: 2px; transition: transform 200ms var(--ease), opacity 200ms var(--ease); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  background: var(--c-bg-white);
  padding: 64px 64px 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  overflow: hidden;
}

.hero-heading-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 896px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-heading {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 5.5vw, 60px);
  line-height: 1.2;
  letter-spacing: -1.2px;
  color: var(--c-text-black);
  max-width: 669px;
}
.hero-heading--sm { max-width: 669px; }

.hero-sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  color: var(--c-text-body);
}
.hero-sub--wide { max-width: 896px; }

.hero-ctas { position: relative; z-index: 2; }

/* --- Hero photo collage --- */
.hero-collage-wrap {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  padding-top: 40px;
}

.hero-collage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.collage-card {
  margin: 0 -2px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  background: #fff;
  padding: 6px;
  flex-shrink: 0;
  transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 400ms ease, z-index 0s 400ms;
  position: relative;
}
.collage-card:hover { transform: rotate(0deg) scale(1.05) !important; z-index: 10 !important; box-shadow: 0 20px 40px rgba(0,0,0,0.15); transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 400ms ease, z-index 0s 0s; }
.collage-card img { border-radius: 10px; width: 100%; height: 100%; object-fit: cover; display: block; }

.collage-card--sm { width: 201px; height: 244px; --rot: -10deg; transform: rotate(var(--rot)); }
.collage-card--md { width: 254px; height: 309px; --rot: 4deg; transform: rotate(var(--rot)); }
.collage-card--lg { width: 290px; height: 366px; --rot: -7deg; transform: rotate(var(--rot)); z-index: 2; }

.pill-badge {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 20px;
  line-height: 30px;
  color: var(--c-text-black);
  text-align: center;
  z-index: 6;
}
.pill-badge--eat {
  background: var(--c-pill-2);
  width: 68px; height: 68px;
  top: -6px; left: 50%;
  transform: translateX(-50%);
}
.pill-badge--grow {
  background: var(--c-pill-1);
  width: 113px; height: 113px;
  top: -40px; right: 8%;
  transform: rotate(-8.83deg);
}
.pill-badge--learn {
  background: var(--c-pill-3);
  width: 97px; height: 97px;
  bottom: -10px; left: 6%;
}

/* --- Hero decorative shapes --- */
.decor { position: absolute; pointer-events: none; opacity: 0.55; z-index: 0; }
.decor--squiggle-left {
  width: 117px; height: 110px;
  left: 6%; top: 40%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 117 110'%3E%3Cpath d='M8 90 C 2 60, 30 55, 35 35 C 40 12, 70 4, 90 20 C 108 34, 100 60, 78 68 C 58 75, 50 95, 30 100 C 18 103, 10 98, 8 90Z' fill='none' stroke='%23e0d9c8' stroke-width='3'/%3E%3C/svg%3E") no-repeat center / contain;
}
.decor--squiggle-right {
  width: 117px; height: 110px;
  right: 8%; top: 15%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 117 110'%3E%3Cpath d='M8 90 C 2 60, 30 55, 35 35 C 40 12, 70 4, 90 20 C 108 34, 100 60, 78 68 C 58 75, 50 95, 30 100 C 18 103, 10 98, 8 90Z' fill='none' stroke='%23e0d9c8' stroke-width='3'/%3E%3C/svg%3E") no-repeat center / contain;
}
.decor--blob-1 {
  width: 104px; height: 104px;
  left: 22%; top: 8%;
  border-radius: 42% 58% 65% 35% / 45% 40% 60% 55%;
  background: var(--c-pill-1);
}
.decor--blob-2 {
  width: 80px; height: 80px;
  left: 27%; bottom: 6%;
  border-radius: 60% 40% 35% 65% / 55% 60% 40% 45%;
  background: var(--c-pill-3);
}

/* =========================================================
   STATS & FACTS
   ========================================================= */
.stats-section {
  background: var(--c-bg-white);
  padding: 0 64px 64px;
  position: relative;
}

.stats-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-6);
  padding: 32px 0;
  max-width: 1304px;
  margin: 0 auto;
}
.stats-intro .eyebrow { text-align: left; white-space: nowrap; }
.stats-paragraph {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(26px, 3.2vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.96px;
  color: var(--c-text-heading);
  text-align: right;
  max-width: 849px;
}

.stats-body {
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  max-width: 1304px;
  margin: 0 auto;
}



.stats-list { display: flex; flex-direction: column; gap: var(--space-8); position: relative; z-index: 1; }
.stat-row {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-7);
  text-align: right;
  max-width: 55%;
}
.stat-number {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(56px, 9vw, 128px);
  line-height: 1.1;
  letter-spacing: -2.56px;
  color: var(--c-text-heading);
}
.stat-copy { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.stat-heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.96px;
  color: var(--c-text-black);
}
.stat-desc {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(17px, 1.8vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.48px;
  color: var(--c-text-muted);
}

/* =========================================================
   PROCESS — How We Reach Every Child
   ========================================================= */
.process-section {
  overflow-x: hidden;
  background: var(--c-bg-soft);
  padding: 64px 64px 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.process-intro { display: flex; flex-direction: column; gap: var(--space-7); align-items: stretch; }
.process-intro-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-6);
  max-width: 1304px;
  width: 100%;
  margin: 0 auto;
}
.process-intro-row .eyebrow { text-align: left; white-space: nowrap; }
.process-paragraph {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.7vw, 36px);
  line-height: 1.15;
  letter-spacing: -0.72px;
  color: var(--c-text-heading-2);
  text-align: right;
  max-width: 849px;
}

.process-list { display: flex; flex-direction: column; gap: var(--space-7); max-width: 1312px; margin: 0 auto; width: 100%; }
.process-item {
  display: flex;
  align-items: center;
  gap: var(--space-7);
}
.process-media {
  display: flex;
  align-items: center;
  gap: var(--space-7);
  flex-shrink: 0;
}

.process-media img {
  width: 614px;
  height: 556px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.process-step-label {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
  color: var(--c-text-black);
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.process-text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.18;
  letter-spacing: -0.6px;
  color: var(--c-text-heading);
  flex: 1;
}

/* =========================================================
   DONATE PANEL
   ========================================================= */
.donate-panel {
  background: var(--c-bg-white);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  padding: 96px 64px 64px;
  display: flex;
  flex-direction: column;
  gap: var(--space-9);
  align-items: center;
}

.donate-inner { display: flex; flex-direction: column; gap: var(--space-8); align-items: center; max-width: 1312px; width: 100%; }

.donate-heading-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.donate-heading-wrap .eyebrow-pill { background: var(--c-pill-1); margin-bottom: 6px; }

.fund-card {
  width: 100%;
  max-width: 1064px;
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: 0 1px 2px rgba(40,40,40,0.06), 0 0 0 1px rgba(236,236,236,0.6);
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
.fund-card-header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); flex-wrap: wrap; }
.fund-card-title {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  color: var(--c-text-black);
}

.fund-bar {
  display: flex;
  align-items: stretch;
  width: 100%;
  background: var(--c-bg-black);
  border-radius: var(--radius-pill);
  overflow: hidden;
  padding-right: 24px;
}
.fund-segment {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(22px, 3vw, 40px);
  line-height: 1;
  padding: 12px 24px;
}
.fund-segment--a { background: var(--c-terracotta); color: #fafafa; flex: 85; border-radius: var(--radius-pill) 0 0 var(--radius-pill); }
.fund-segment--b { background: var(--c-peach); color: #262626; flex: 10; }
.fund-segment--c { color: #fafafa; flex: 5; justify-content: center; }

.fund-legend {
  display: flex;
  gap: var(--space-8);
  width: 100%;
  max-width: 1064px;
  flex-wrap: wrap;
}
.legend-item { flex: 1 1 260px; display: flex; flex-direction: column; gap: 12px; }
.legend-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 24px;
  line-height: 32px;
  color: var(--c-text-black);
}
.legend-dot { width: 17px; height: 17px; border-radius: 50%; flex-shrink: 0; }
.legend-dot--a { background: var(--c-terracotta); }
.legend-dot--b { background: var(--c-peach); }
.legend-dot--c { background: var(--c-bg-black); }
.legend-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 20px;
  line-height: 30px;
  color: var(--c-text-body);
  padding-left: 23px;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonial-section {
  width: 100%;
  max-width: 1312px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
}
.testimonial-intro { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 961px; text-align: center; }

.testimonial-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 849px;
  text-align: center;
}
.testimonial-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.testimonial-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.1px;
  color: #090909;
  display: flex;
  align-items: center;
  gap: 8px;
}
.testimonial-name .dot { color: #090909; font-size: 8px; }
.testimonial-stars { display: flex; gap: 2px; }
.testimonial-quote {
  font-family: var(--font-quote);
  font-style: italic;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.18;
  letter-spacing: -0.1px;
  color: #090909;
  max-width: 802px;
}
.testimonial-body {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: -0.36px;
  color: var(--c-text-muted-2);
}

/* Testimonials Carousel & Slider */
.testimonial-carousel {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  position: relative;
}
.testimonial-track-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  touch-action: pan-y pinch-zoom;
}
.testimonial-track {
  display: flex;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}
.testimonial-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  padding: 0 12px;
  opacity: 0.25;
  transform: scale(0.97);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}
.testimonial-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 4px;
}
.testimonial-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(9, 9, 9, 0.12);
  background: var(--c-bg-white);
  color: #090909;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.testimonial-nav-btn:hover {
  background: #090909;
  color: #ffffff;
  border-color: #090909;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}
.testimonial-nav-btn:active {
  transform: translateY(0);
}
.testimonial-nav-btn:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 3px;
}
.testimonial-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  border: none;
  background: rgba(9, 9, 9, 0.18);
  cursor: pointer;
  padding: 0;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.testimonial-dot:hover {
  background: rgba(9, 9, 9, 0.45);
}
.testimonial-dot.is-active {
  width: 28px;
  background: var(--c-primary);
}
.testimonial-dot:focus-visible {
  outline: 2px solid var(--c-primary);
  outline-offset: 2px;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq-section {
  padding: 64px 0 100px;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}
.faq-intro { display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 961px; margin: 0 auto; text-align: center; }

.faq-layout { display: flex; gap: var(--space-7); align-items: flex-start; max-width: 1312px; margin: 0 auto; width: 100%; }

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-7);
  flex: 2;
  align-items: start;
  grid-auto-rows: max-content;
}
.faq-col { display: flex; flex-direction: column; gap: var(--space-5); align-items: stretch; justify-content: flex-start; }

.faq-item {
  position: relative;
  z-index: 10;
  pointer-events: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  transition: box-shadow 200ms var(--ease);
  height: auto !important;
  min-height: 0 !important;
  align-self: flex-start;
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: 24px 28px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.36px;
  color: var(--c-text-heading);
  text-align: left;
  transition: background-color 180ms var(--ease);
}
.faq-question:hover { background: var(--c-bg-soft); }
.faq-icon { transform-origin: center;  flex-shrink: 0; color: var(--c-text-heading); transition: transform 220ms var(--ease); }



.faq-answer {
  max-height: 0;
  opacity: 0;
  padding: 0 28px !important;
  overflow: hidden;
  display: block;
  transition: max-height 350ms ease, opacity 350ms ease, padding 350ms ease;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: -0.28px;
  color: var(--c-text-muted-2);
}



.faq-sidenav {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 2px dashed var(--c-pill-1);
  padding-left: 32px;
  min-width: 220px;
}
.faq-sidenav-link {
  padding: 16px 8px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.32px;
  color: var(--c-text-heading);
  transition: background-color 180ms var(--ease), padding-left 180ms var(--ease);
}
.faq-sidenav-link:hover { background: var(--c-bg-soft); padding-left: 14px; }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery-section {
  background: var(--c-bg-white);
  padding: 64px;
  display: flex;
  flex-direction: column;
  gap: var(--space-9);
}
.gallery-header { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-6); flex-wrap: wrap; }
.gallery-header .eyebrow { text-align: left; margin-bottom: 12px; }
.gallery-header .section-title { text-align: left; margin: 0 0 12px; }
.gallery-header .section-desc { text-align: left; margin: 0; }

.gallery-grid {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: nowrap;
}
@media (min-width: 1025px) {
  }
.gallery-col { display: flex; flex-direction: column; gap: var(--space-6); min-width: 0; }
.gallery-col--end { justify-content: flex-end; }

.gallery-photo {
  min-width: 0;
  max-width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  object-fit: cover;
  transition: transform 260ms var(--ease);
}
.gallery-photo:hover { transform: translateY(-6px); }
.gallery-photo--sm { width: 201px; height: 244px; }
.gallery-photo--md { width: 264px; height: 244px; }
.gallery-photo--tall { width: 254px; height: 309px; }
.gallery-photo--tallest { width: 290px; height: 366px; }
.gallery-photo--framed { width: 205px; height: 225px; border: 2px solid #fff; }

.gallery-stat {
  border-radius: var(--radius-md);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 264px;
  max-width: 100%;
}
.gallery-stat--black { background: var(--c-bg-black); color: #fff; width: 201px; }
.gallery-stat--peach { background: var(--c-peach); color: #262626; }
.gallery-stat--peach .gallery-stat-number,
.gallery-stat--terracotta .gallery-stat-number { font-size: 36px; letter-spacing: -0.72px; }
.gallery-stat--terracotta { background: var(--c-terracotta); color: #fff; width: 205px; }
.gallery-stat-number {
  font-family: var(--font-stat);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.64px;
}
.gallery-stat-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--c-bg-white);
  padding: 64px;
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
}
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-7); flex-wrap: wrap; }

.footer-brand { display: flex; flex-direction: column; gap: 10px; max-width: 460px; }
.footer-logo-frame {
  display: flex;
  align-items: center;
  padding: 8px 13px;
  border-radius: var(--radius-md);
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.05));
}
.footer-logo-frame img { height: 56px; width: auto; }
.footer-desc {
  font-family: var(--font-display);
  font-size: 12px;
  line-height: 19.5px;
  color: var(--c-text-body);
}
.footer-badges { display: flex; gap: 10px; flex-wrap: wrap; }

.footer-links { display: flex; gap: var(--space-7); flex-wrap: wrap; }
.footer-links-col { display: flex; flex-direction: column; gap: 14px; min-width: 180px; }
.footer-links-title {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--c-text-slate);
}
.footer-links-col a {
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 26px;
  color: var(--c-text-heading);
  transition: color 180ms var(--ease);
}
.footer-links-col a:hover { color: var(--c-primary); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-top: var(--space-6);
  border-top: 1px solid var(--c-pill-2);
}
.footer-bottom p {
  font-family: var(--font-display);
  font-size: 12px;
  line-height: 16px;
  color: var(--c-text-slate-soft);
}

/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */
@media (max-width: 1024px) {
  .nav { padding: 12px 32px; }
  .hero, .stats-section, .process-section, .gallery-section, .site-footer { padding-left: 32px; padding-right: 32px; }
  .donate-panel { padding-left: 32px; padding-right: 32px; }

  .stats-intro,
  .process-intro-row { flex-direction: column; align-items: flex-start; gap: var(--space-4); }
  .stats-paragraph, .process-paragraph { text-align: left; }
  .stats-intro .eyebrow, .process-intro-row .eyebrow { text-align: left; }

  .stat-row { max-width: 60%; align-items: flex-start; text-align: left; }
  .stat-copy { align-items: flex-start; }
  

  .process-item, .process-item--reverse { flex-direction: column; align-items: stretch; }
  .process-media, .process-item--reverse .process-media { flex-direction: row; }
  .process-media img { width: 100%; height: 320px; }

  .fund-legend { gap: var(--space-6); }

  .faq-layout { flex-direction: column; }
  .faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-7);
  flex: 2;
  align-items: start;
  grid-auto-rows: max-content;
}
  .faq-sidenav { border-left: none; border-top: 2px dashed var(--c-pill-1); padding-left: 0; padding-top: 24px; flex-direction: row; flex-wrap: wrap; }

  .gallery-grid { justify-content: center; }
}

/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */
@media (max-width: 640px) {
  .nav { padding: 12px 20px; flex-wrap: wrap; }
  .nav-link { width: 100%; }

  .hero, .stats-section, .process-section, .gallery-section, .site-footer { padding-left: 20px; padding-right: 20px; }
  .donate-panel { padding: 64px 20px 40px; }
  .hero { padding-top: 40px; padding-bottom: 64px; gap: 24px; }

  .hero-heading { font-size: 34px; letter-spacing: -0.8px; }
  .hero-sub { font-size: 16px; line-height: 24px; }

  .collage-card--sm { width: 96px; height: 120px; }
  .collage-card--md { width: 116px; height: 145px; }
  .collage-card--lg { width: 132px; height: 172px; }
  .collage-card { margin: 0 -16px; }
  .pill-badge--grow { width: 72px; height: 72px; font-size: 14px; }
  .pill-badge--learn { width: 60px; height: 60px; font-size: 13px; }
  .pill-badge--eat { width: 46px; height: 46px; font-size: 13px; }

  .stat-number { font-size: 56px; }
  .stat-heading { font-size: 28px; }
  .stat-row { max-width: 100%; }
  

  .process-media img { height: 220px; }
  .process-step-label { writing-mode: horizontal-tb; transform: none; }
  .process-item, .process-item--reverse { gap: var(--space-5); }
  .process-media, .process-item--reverse .process-media { gap: var(--space-4); }

  .fund-card { padding: 24px; }
  .fund-bar { flex-direction: column; border-radius: var(--radius-lg); padding-right: 0; }
  .fund-segment--a { border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .fund-segment--c { padding: 12px 24px; }
  .fund-legend { flex-direction: column; gap: var(--space-6); }

  .testimonial-quote { font-size: 26px; }

  .gallery-header { flex-direction: column; align-items: flex-start; }
  .gallery-grid { flex-direction: column; align-items: center; }
  .gallery-col { flex-direction: row; flex-wrap: wrap; justify-content: center; }

  .footer-top { flex-direction: column; }
  .footer-links { gap: var(--space-6); }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}


/* =========================================================
   ANIMATIONS & INTERACTIONS (Polishing)
   ========================================================= */

/* 1. Scroll Reveal (Progressive Enhancement) */
body.js-enabled .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(20px);
}
body.js-enabled .reveal {
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  body.js-enabled .reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
  }
  body.js-enabled .reveal {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

/* 2. Image Hovers */
.gallery-photo {
  transition: transform 0.4s ease;
}
.gallery-photo:hover {
  transform: scale(1.02);
}

/* Prevent layout shifts when scaling images */


/* 3. Fund Bar Animation */
.fund-bar {
  overflow: hidden;
}
.fund-segment {
  transition: flex 2.5s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.5s ease;
  white-space: nowrap;
}
@media (prefers-reduced-motion: no-preference) {
  body.js-enabled .fund-bar:not(.is-visible) .fund-segment {
    flex: 0.0001 !important;
    color: transparent;
  }
}


/* =========================================================
   PHOTO STACK ANIMATIONS (Polishing 2)
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  /* Floating cards */
  @keyframes floatCardAnim {
    0% { translate: 0 4px; }
    100% { translate: 0 -8px; }
  }
  .collage-card {
    animation: floatCardAnim 6s ease-in-out infinite alternate;
  }
  .collage-card:nth-child(2) { animation-duration: 7s; animation-delay: -2s; }
  .collage-card:nth-child(3) { animation-duration: 8s; animation-delay: -4s; }
  .collage-card:nth-child(4) { animation-duration: 5.5s; animation-delay: -1s; }
  .collage-card:nth-child(5) { animation-duration: 6.5s; animation-delay: -3s; }

  /* Floating pill badges */
  @keyframes floatPillAnim {
    0% { translate: 0 2px; }
    100% { translate: 0 -6px; }
  }
  .pill-badge {
    animation: floatPillAnim 4s ease-in-out infinite alternate;
  }
  .pill-badge--eat { animation-duration: 5s; animation-delay: -1s; }
  .pill-badge--grow { animation-duration: 4.5s; animation-delay: -2s; }
}

/* =========================================================
   FINAL PRODUCTION AUDIT - GLOBAL OVERRIDES
   ========================================================= */

/* Smooth Scroll */
html { scroll-behavior: smooth; }

/* Active Nav Link */
.nav-link { position: relative; }
.nav-link.is-active {
  color: var(--c-primary);
  font-weight: 600;
}
.nav-link.is-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--c-primary);
  transform-origin: left;
  animation: navLineIn 0.3s ease forwards;
}
@keyframes navLineIn {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

/* Global Reveal System */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-img {
  opacity: 0;
  transform: scale(0.96) translateY(20px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal-img.is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Micro-Interactions */
.btn-primary:hover, .btn-secondary:hover {
  transform: translateY(-2px);
}
.btn-primary:hover {
  box-shadow: 0 4px 14px rgba(255, 70, 46, 0.25);
}
.btn-secondary:hover {
  background: var(--c-primary);
  color: #fff;
  border-color: var(--c-primary);
}

.arrow-hover {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
a:hover .arrow-hover,
button:hover .arrow-hover,
.wsu-help-item:hover .arrow-hover {
  transform: translateX(5px);
}

/* Mobile Nav Overlay — activates at 900px */
@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: flex !important;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: var(--c-bg-page);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 40px 5vw;
    gap: 4px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 100;
  }
  .nav-links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-link { width: 100%; }
  body.menu-open {
    overflow: hidden;
  }
}

/* =========================================================
   LIGHTBOX COMPONENT
   ========================================================= */
.lightbox {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(10, 10, 10, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}
.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}
.lightbox.is-open .lightbox-img {
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: 20px; right: 20px;
  background: transparent;
  color: #fff;
  border: none;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  padding: 10px;
  transition: transform 0.2s;
  z-index: 10;
}
.lightbox-close:hover {
  transform: scale(1.1);
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: none;
  width: 50px; height: 50px;
  border-radius: 50%;
  font-size: 30px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.lightbox-nav:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-50%) scale(1.05);
}
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

/* Image hover for gallery */
/* Roadmap Active State Updates */
.roadmap-step {
  transition: opacity 0.5s ease;
}
.roadmap-step:not(.is-active) {
  opacity: 0.6;
}
.roadmap-step.is-active {
  opacity: 1;
}
.roadmap-step.is-active .rm-node {
  background: var(--c-primary) !important;
  color: #fff !important;
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 70, 46, 0.4);
}
.roadmap-step .rm-node {
  transition: all 0.4s ease;
}

/* Map Wrapper */
.stats-map-wrapper {
  position: absolute;
  right: -5%;
  top: 0;
  bottom: 0;
  height: 100%;
  width: 550px; /* Provide enough width so it doesn't letterbox or crop */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  z-index: 0;
  pointer-events: none;
}

/* Scaled Map Image inside Wrapper */
.stats-map {
  width: auto;
  height: 100%;
  max-height: 110%; /* Allow it to be slightly taller to match the exact visual bounds */
  max-width: 100%;
  object-fit: contain;
  object-position: right center;
  opacity: 0.95;
  transform: scale(1.15); /* Slight scale to trim true empty margins if any, without clipping the country */
  transform-origin: right center;
}

@media (max-width: 1024px) {
  .stats-map-wrapper {
    width: 35%;
  }
  .stats-map {
    transform: scale(2.5);
  }
}
@media (max-width: 768px) {
  .stats-map-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    margin: 0 auto 40px;
  }
  .stats-map {
    transform: scale(1.8);
    transform-origin: center center;
  }
}


/* ===================== PROCESS SECTION ANIMATIONS ===================== */
.process-item.reveal {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

.process-item:not(.process-item--reverse) .process-media,
.process-item:not(.process-item--reverse) .process-text {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1), transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.process-item--reverse .process-media,
.process-item--reverse .process-text {
  opacity: 0;
  transform: translateX(80px);
  transition: opacity 800ms cubic-bezier(0.22, 1, 0.36, 1), transform 800ms cubic-bezier(0.22, 1, 0.36, 1);
}

.process-item.is-visible .process-media,
.process-item.is-visible .process-text {
  opacity: 1;
  transform: translateX(0);
}

.process-item:not(.process-item--reverse).is-visible .process-text,
.process-item--reverse.is-visible .process-text {
  transition-delay: 150ms;
}

@media (max-width: 768px) {
  .process-item:not(.process-item--reverse) .process-media,
  .process-item:not(.process-item--reverse) .process-text,
  .process-item--reverse .process-media,
  .process-item--reverse .process-text {
    transform: translateY(40px);
  }
}
.faq-icon path { transition: transform 220ms ease, opacity 220ms ease; transform-origin: center; }

.faq-item--open .faq-icon { transform: rotate(180deg); }
.faq-item--open .faq-icon .faq-line-v { transform: rotate(90deg) scale(0); opacity: 0; }
.faq-item--open .faq-answer {
  max-height: 600px;
  opacity: 1;
  padding: 0 28px 28px 28px !important;
}
