/* ============================================
   LET'S BE READY — Design System & Styles
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* --- CSS Variables --- */
:root {
  /* Color System */
  --blue: #146BF6;
  --blue-dark: #0F52BF;
  --blue-light: #E8F0FE;
  --yellow: #FFE500;
  --yellow-soft: #FFF8CC;
  --dark: #1E173C;
  --dark-muted: #3D3560;
  --text: #1E173C;
  --text-muted: #6B6490;
  --warm-white: #FAFAF8;
  --light: #F5F4F0;
  --border: #E8E6E1;
  --white: #FFFFFF;
  --success: #16A34A;
  --success-light: #DCFCE7;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', 'Helvetica Neue', sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Helvetica Neue', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 800px;
  --nav-height: 72px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(30, 23, 60, 0.06);
  --shadow-md: 0 4px 16px rgba(30, 23, 60, 0.08);
  --shadow-lg: 0 8px 32px rgba(30, 23, 60, 0.12);
  --shadow-xl: 0 16px 48px rgba(30, 23, 60, 0.16);
  --shadow-glow: 0 0 40px rgba(20, 107, 246, 0.15);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms;
  --duration-normal: 400ms;
  --duration-slow: 700ms;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--warm-white);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  color: var(--dark);
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);

}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);

}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);

}

h4 {
  font-size: 1.125rem;
}

p {
  max-width: 65ch;
}

.text-muted {
  color: var(--text-muted);
}

.text-center {
  text-align: center;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

section {
  padding: var(--space-5xl) 0;
}

.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity var(--duration-fast);
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(20, 107, 246, 0.3);
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20, 107, 246, 0.35);
}

.btn-secondary {
  background: var(--yellow);
  color: var(--dark);
  box-shadow: 0 4px 16px rgba(255, 229, 0, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 229, 0, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--blue);
  padding: 0.5rem 0;
  font-weight: 600;
}

.btn-ghost:hover {
  gap: var(--space-md);
}

.btn-ghost::after { display: none; }

.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: 1.0625rem;
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

/* --- Glassmorphism Donate Button --- */
.btn-glass {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-glass::after {
  background: rgba(255, 255, 255, 0.08);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn-glass .btn-glass__shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 100%
  );
  animation: glassShimmer 3s ease-in-out infinite;
}

@keyframes glassShimmer {
  0% { left: -100%; }
  60%, 100% { left: 100%; }
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--duration-normal) var(--ease-out);
}

/* Dark-over-image default state for landing page hero */
.nav--hero {
  background: linear-gradient(to bottom, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 100%);
}

.nav--hero .nav__logo {
  color: var(--white);
}

.nav--hero .nav__link {
  color: rgba(255,255,255,0.75);
}

.nav--hero .nav__link:hover {
  color: var(--white);
}

.nav--hero .nav__link::after {
  background: var(--white);
}

.nav--hero .nav__hamburger span {
  background: var(--white);
}

/* Scrolled state overrides everything */
.nav--scrolled {
  background: rgba(250, 250, 248, 0.92) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav--scrolled .nav__logo {
  color: var(--dark);
}

.nav--scrolled .nav__link {
  color: var(--dark-muted);
}

.nav--scrolled .nav__link:hover {
  color: var(--dark);
}

.nav--scrolled .nav__link::after {
  background: var(--blue);
}

.nav--scrolled .nav__hamburger span {
  background: var(--dark);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--dark);
}

.nav__logo img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  list-style: none;
}

.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--dark-muted);
  transition: color var(--duration-fast);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width var(--duration-normal) var(--ease-out);
}

.nav__link:hover {
  color: var(--dark);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__cta {
  margin-left: var(--space-md);
}

/* Mobile Nav */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: all var(--duration-normal) var(--ease-out);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--warm-white);
  padding: calc(var(--nav-height) + var(--space-2xl)) var(--space-xl) var(--space-xl);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out);
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.mobile-menu__link {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--nav-height);
  overflow: hidden;
  background: linear-gradient(165deg, var(--warm-white) 0%, var(--blue-light) 50%, var(--yellow-soft) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20,107,246,0.08) 0%, transparent 70%);
  animation: float 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,229,0,0.1) 0%, transparent 70%);
  animation: float 10s ease-in-out infinite reverse;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.5rem 1rem;
  background: var(--white);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-xl);
}

.hero__badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

.hero h1 {
  margin-bottom: var(--space-lg);
}

.hero h1 em {
  font-style: normal;
  font-weight: 800;
  color: var(--blue);
}

.hero__subtitle {
  font-size: 1.1875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-2xl);
  max-width: 540px;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.hero__stats-mini {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-4xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

.hero__stat {
  display: flex;
  flex-direction: column;
}

.hero__stat-number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark);

}

.hero__stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* --- Impact Stats Section --- */
.stats {
  background: var(--dark);
  color: var(--white);
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(20,107,246,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(255,229,0,0.08) 0%, transparent 60%);
}

.stats .container {
  position: relative;
  z-index: 1;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.stat-card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all var(--duration-normal) var(--ease-out);
}

.stat-card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
}

.stat-card__number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: var(--space-sm);

}

.stat-card__label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-xs);
}

.stat-card__desc {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* --- Programs Section --- */
.programs {
  background: var(--warm-white);
}

.section-header {
  margin-bottom: var(--space-3xl);
}

.section-header h2 {
  margin-top: var(--space-md);
  margin-bottom: var(--space-lg);
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--duration-normal) var(--ease-out);
}

.program-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.program-card__image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: var(--light);
}

.program-card__body {
  padding: var(--space-2xl);
}

.program-card__tag {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.program-card__body h3 {
  margin-bottom: var(--space-md);
}

.program-card__body p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: var(--space-lg);
}

.program-card__meta {
  display: flex;
  gap: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
}

.program-card__meta-item {
  display: flex;
  flex-direction: column;
}

.program-card__meta-value {
  font-weight: 700;
  color: var(--dark);
}

.program-card__meta-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- How It Works / Cost Section --- */
.how-it-works {
  background: var(--light);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  counter-reset: step;
}

.step {
  position: relative;
  padding: var(--space-2xl);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  counter-increment: step;
}

.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 600;
  color: var(--blue-light);
  line-height: 1;
  margin-bottom: var(--space-lg);
  display: block;

}

.step h3 {
  margin-bottom: var(--space-md);
}

.step p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.step__highlight {
  display: inline-block;
  margin-top: var(--space-lg);
  padding: 0.5rem 1rem;
  background: var(--yellow-soft);
  border-radius: var(--radius);
  font-weight: 700;
  color: var(--dark);
  font-size: 0.9375rem;
}

/* --- Transparency Section --- */
.transparency {
  background: var(--warm-white);
}

.transparency__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

.transparency-card {
  padding: var(--space-2xl);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.transparency-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  font-size: 1.5rem;
}

.transparency-card__icon--blue {
  background: var(--blue-light);
}

.transparency-card__icon--yellow {
  background: var(--yellow-soft);
}

.transparency-card__icon--green {
  background: var(--success-light);
}

.transparency-card h3 {
  margin-bottom: var(--space-md);
}

.transparency-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: var(--space-lg);
}

.transparency-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.transparency-card__list li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.transparency-card__list li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
}

/* --- Team Section --- */
.team {
  background: var(--light);
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.team-card {
  text-align: center;
  padding: var(--space-2xl);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--duration-normal) var(--ease-out);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.team-card__photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-lg);
  background: var(--light);
  border: 3px solid var(--border);
}

.team-card__name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

.team-card__role {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: var(--space-md);
}

.team-card__bio {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --- CTA Section --- */
.cta-section {
  background: var(--blue);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,229,0,0.1);
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.cta-section p {
  color: rgba(255,255,255,0.8);
  font-size: 1.125rem;
  margin: 0 auto var(--space-2xl);
  max-width: 540px;
}

.cta-section .btn-secondary {
  font-size: 1.0625rem;
  padding: 1.125rem 2.5rem;
}

.cta-section__subtext {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin-top: var(--space-md);
}

/* --- Newsletter / Footer --- */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: var(--space-4xl) 0 var(--space-2xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer__brand p {
  font-size: 0.9375rem;
  margin-top: var(--space-md);
  max-width: 300px;
  line-height: 1.7;
}

.footer__heading {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--space-lg);
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__links a {
  font-size: 0.9375rem;
  transition: color var(--duration-fast);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__newsletter-form {
  display: flex;
  gap: var(--space-sm);
}

.footer__newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  outline: none;
  transition: border-color var(--duration-fast);
}

.footer__newsletter-form input::placeholder {
  color: rgba(255,255,255,0.35);
}

.footer__newsletter-form input:focus {
  border-color: var(--blue);
}

.footer__newsletter-form button {
  padding: 0.75rem 1.25rem;
  background: var(--blue);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.875rem;
  transition: background var(--duration-fast);
}

.footer__newsletter-form button:hover {
  background: var(--blue-dark);
}

.footer__newsletter-form button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Status message under the newsletter form */
.footer__newsletter-msg {
  margin-top: var(--space-sm);
  font-size: 0.8125rem;
  min-height: 1.2em;
  color: rgba(255,255,255,0.55);
}
.footer__newsletter-msg--success {
  color: var(--success);
}
.footer__newsletter-msg--error {
  color: #ff6b6b;
}

.footer__social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.footer__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  font-size: 1.125rem;
  transition: all var(--duration-fast);
}

.footer__social a:hover {
  background: var(--blue);
  color: var(--white);
}

.footer__bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
}

/* --- Animations — Morph (blur + scale) --- */
@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, -30px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes morphIn {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px) translateZ(0); }
  to { opacity: 1; transform: translateY(0) translateZ(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes countUp {
  from { opacity: 0; transform: scale(1.05); }
  to { opacity: 1; transform: scale(1); }
}

/* Scroll reveal classes */
.reveal {
  opacity: 0;
  transform: translateY(16px) translateZ(0);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0) translateZ(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-12px) translateZ(0);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0) translateZ(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.96) translateZ(0);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1) translateZ(0);
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(12px) translateZ(0);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: translateY(0) translateZ(0); }
.stagger-children.visible > *:nth-child(2) { transition-delay: 60ms; opacity: 1; transform: translateY(0) translateZ(0); }
.stagger-children.visible > *:nth-child(3) { transition-delay: 120ms; opacity: 1; transform: translateY(0) translateZ(0); }
.stagger-children.visible > *:nth-child(4) { transition-delay: 180ms; opacity: 1; transform: translateY(0) translateZ(0); }
.stagger-children.visible > *:nth-child(5) { transition-delay: 240ms; opacity: 1; transform: translateY(0) translateZ(0); }
.stagger-children.visible > *:nth-child(6) { transition-delay: 300ms; opacity: 1; transform: translateY(0) translateZ(0); }

/* --- Donate Page --- */

/* Main layout: story + form side by side */
.dp {
  padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-4xl);
}

.dp__grid {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: var(--space-3xl);
  align-items: start;
}

/* Left: Emotional story column */
.dp__headline {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--dark);
  margin-bottom: var(--space-lg);
  text-shadow: 0 0 40px rgba(30, 23, 60, 0.06);
}

.dp__headline em {
  font-style: normal;
  font-weight: 800;
  color: var(--blue);
  text-shadow: 0 0 30px rgba(20, 107, 246, 0.15);
}

.dp__sub {
  font-size: 1.0625rem;
  color: var(--dark-muted);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
}

.dp__sub strong {
  color: var(--dark);
}

.dp__photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--space-2xl);
}

.dp__photo img {
  width: 100%;
  height: auto;
  display: block;
}

.dp__quote {
  margin: 0 0 var(--space-2xl);
  padding: var(--space-lg) var(--space-xl);
  border-left: 3px solid var(--yellow);
  background: var(--warm-white);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.dp__quote p {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--dark);
  margin-bottom: var(--space-sm);
}

.dp__quote cite {
  font-style: normal;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.dp__stats {
  display: flex;
  gap: var(--space-2xl);
}

.dp__stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}

.dp__stat-label {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 4px;
}


/* Right: sticky form column */
.dp__form-col {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-lg));
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

/* Donation Form */
.donate-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

/* --- Contact CTA (donate page, replaces old contact form) --- */
.contact-cta {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  padding: var(--space-2xl);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.contact-cta__text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: var(--space-xl);
}

.donate-form__impact {
  padding: var(--space-md);
  background: var(--yellow-soft);
  border-radius: var(--radius);
  margin-bottom: var(--space-lg);
  font-size: 0.875rem;
  text-align: center;
}

.donate-form__impact strong {
  color: var(--dark);
}

.donate-form__frequency {
  display: flex;
  background: var(--light);
  border-radius: var(--radius);
  padding: 3px;
  margin-bottom: var(--space-lg);
}

.frequency-btn {
  flex: 1;
  padding: 0.625rem;
  border-radius: calc(var(--radius) - 2px);
  font-weight: 600;
  font-size: 0.875rem;
  text-align: center;
  transition: all var(--duration-fast);
  color: var(--text-muted);
}

.frequency-btn.active {
  background: var(--white);
  color: var(--dark);
  box-shadow: var(--shadow-sm);
}

.dp__cover-fees {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--dark-muted);
  margin-bottom: var(--space-lg);
}

.dp__cover-fees input {
  width: 16px;
  height: 16px;
  accent-color: var(--blue);
}

/* Form Fields */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

.form-input {
  width: 100%;
  padding: 0.75rem 0.875rem;
  background: var(--warm-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--dark);
  outline: none;
  transition: border-color var(--duration-fast);
}

.form-input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(20, 107, 246, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

/* GoLively iframe container */
.golively-container {
  margin: var(--space-md) 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.golively-container iframe {
  width: 100%;
  min-height: 400px;
  border: none;
}

.golively-placeholder {
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  background: var(--warm-white);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  font-size: 0.875rem;
}

.golively-placeholder code {
  background: var(--light);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.8125rem;
}

.donate-form__fee-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: var(--space-sm);
}

/* GiveLively widget host — let GL's stylesheet handle most styling */
.givelively-host {
  width: 100%;
  margin-bottom: var(--space-lg);
}

.givelively-host #give-lively-widget,
.givelively-host .gl-branded-donation-widget {
  width: 100%;
}

/* Lifetime impact block (replaces the fake tracker + recent feed) */
.dp__lifetime {
  margin-top: var(--space-lg);
  padding: var(--space-2xl);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
}

.dp__lifetime .eyebrow {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: var(--space-sm);
}

.dp__lifetime h3 {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin-bottom: var(--space-xl);
}

.dp__lifetime-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.dp__lifetime-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dp__lifetime-stat strong {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.03em;
  line-height: 1;
}

.dp__lifetime-stat span {
  margin-top: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

@media (max-width: 480px) {
  .dp__lifetime-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

/* --- Partners Page --- */
.partners-hero {
  padding: calc(var(--nav-height) + var(--space-4xl)) 0 var(--space-3xl);
  background: var(--warm-white);
  text-align: center;
}

.partners-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: var(--space-md) 0;
}

.partners-hero p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.partners-grid-section {
  padding: var(--space-4xl) 0;
}

.partners-grid {
  display: grid;
  /* Auto-flowing: as many ≥260px columns as fit, never breaks */
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-xl);
}

.partner-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: center;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.partner-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.partner-card__logo {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-card__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.partner-card__name {
  font-size: 1.0625rem;
  margin-bottom: var(--space-xs);
  color: var(--dark);
}

.partner-card__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.partners-cta {
  padding: var(--space-4xl) 0;
  background: var(--warm-white);
}

.partners-cta__content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.partners-cta__content h2 {
  margin-bottom: var(--space-md);
}

.partners-cta__content p {
  color: var(--text-muted);
  margin-bottom: var(--space-xl);
  line-height: 1.7;
}

@media (max-width: 600px) {
  .partners-grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--space-md);
  }
}

/* --- Sponsor a Classroom card --- */
.sponsor-classroom {
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-top: var(--space-lg);
  position: relative;
}

.sponsor-classroom__badge {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  background: var(--blue);
  color: var(--white);
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.sponsor-classroom h4 {
  margin: 0 0 var(--space-xs);
  font-size: 1.0625rem;
  color: var(--dark);
}

.sponsor-classroom__price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: var(--space-xs);
}

.sponsor-classroom__price span {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-muted);
}

.sponsor-classroom p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.sponsor-classroom .btn {
  width: 100%;
}

.sponsor-classroom__fallback {
  margin-top: var(--space-sm);
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.sponsor-classroom__fallback a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Transparency section */
.dp-transparency {
  padding: var(--space-4xl) 0;
  background: var(--light);
}

.dp-transparency__title {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.dp-transparency__bars {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.dp-bar__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.875rem;
  color: var(--dark-muted);
  margin-bottom: 4px;
}

.dp-bar__top strong {
  font-family: var(--font-display);
  color: var(--dark);
}

.dp-bar__top em {
  font-style: italic;
  color: var(--text-muted);
}

.dp-bar__track {
  height: 10px;
  background: rgba(0,0,0,0.06);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.dp-bar__fill {
  height: 100%;
  background: var(--blue);
  border-radius: var(--radius-full);
}

.dp-bar__fill--yellow { background: var(--yellow); }
.dp-bar__fill--green { background: var(--success); }
.dp-bar__fill--gray { background: #A8B5C8; }
.dp-bar__fill--light { background: #D1D5DB; }

/* Fee comparison rows */
.dp-fees {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: var(--space-lg);
}

.dp-fees__row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: var(--space-lg);
  padding: var(--space-sm) var(--space-md);
  font-size: 0.875rem;
  border-radius: var(--radius);
  color: var(--dark-muted);
}

.dp-fees__row--us {
  background: var(--blue-light);
  font-weight: 600;
  color: var(--dark);
}

.dp-fees__row--bad {
  color: #C53030;
}

.dp-fees__note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.dp-fees__note strong {
  color: var(--dark);
}

/* Other Ways grid (donate page) */
.dp-other-ways__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
}

/* ============================================
   LANDING PAGE — Immersive Sections
   ============================================ */

/* --- LP Hero: Full-viewport cinematic --- */
.lp-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 var(--space-4xl);
  overflow: hidden;
}

.lp-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

/* --- Cinematic Open Animation (GPU-only: opacity + transform) --- */
.lp-hero__media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  will-change: transform;
  animation: heroImageReveal 2s var(--ease-out) forwards;
}

@keyframes heroImageReveal {
  from { transform: scale(1.12); }
  to { transform: scale(1.03); }
}

.lp-hero__overlay {
  opacity: 0;
  will-change: opacity;
  animation: overlayFadeIn 1.2s ease forwards;
}

@keyframes overlayFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lp-hero__media-placeholder {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, #1a3a5c 0%, #2c5f3f 40%, #3d2b1f 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-size: 0.875rem;
}

.lp-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.2) 40%, rgba(0,0,0,0.05) 100%);
}

.lp-hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  width: 100%;
}

.lp-hero__headline {
  color: var(--white);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: var(--space-lg);
  text-shadow: 0 0 60px rgba(0, 0, 0, 0.5), 0 0 120px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

.lp-hero__headline em {
  font-style: normal;
  font-weight: 800;
  color: var(--yellow);
  text-shadow: 0 0 40px rgba(255, 229, 0, 0.3), 0 0 80px rgba(255, 229, 0, 0.15);
}

.lp-hero__sub {
  color: rgba(255,255,255,0.8);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: var(--space-2xl);
  text-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 0.8s var(--ease-out) 0.65s both;
}

.lp-hero__actions {
  animation: fadeInUp 0.8s var(--ease-out) 0.85s both;
}

.lp-hero__scroll-hint {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  animation: fadeIn 0.8s var(--ease-out) 1.2s both;
}

.lp-hero__scroll-hint span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  position: relative;
}

.lp-hero__scroll-hint span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.5);
  border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(12px); opacity: 0.3; }
}


/* --- LP Disparity: The problem --- */
.lp-disparity {
  padding: var(--space-5xl) 0;
  background: var(--warm-white);
}

.lp-disparity__headline {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.3;
  margin-top: var(--space-lg);
  max-width: 700px;
}

.lp-disparity__headline em {
  color: #DC2626;
  font-style: normal;
  font-weight: 700;
}

.lp-disparity__stats {
  margin-top: var(--space-3xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.lp-disparity__stat {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.lp-disparity__stat-visual {
  width: 200px;
  height: 8px;
  background: var(--light);
  border-radius: var(--radius-full);
  overflow: hidden;
  flex-shrink: 0;
}

.lp-disparity__bar {
  height: 100%;
  width: 0;
  background: #DC2626;
  border-radius: var(--radius-full);
  transition: width 1.5s var(--ease-out);
}

.visible .lp-disparity__bar {
  width: var(--bar-width, 0%);
}

.lp-disparity__stat-text {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.lp-disparity__stat-text strong {
  color: var(--dark);
}


/* --- LP Turn: The pivot moment --- */
.lp-turn {
  padding: var(--space-5xl) 0;
  background: var(--light);
}

.lp-turn__content {
  text-align: center;
}

.lp-turn__word {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  font-style: normal;
  color: var(--blue);
  margin-bottom: var(--space-lg);
  text-shadow: 0 0 40px rgba(20, 107, 246, 0.15);
}

.lp-turn h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  max-width: 600px;
  margin: 0 auto;
}


/* --- LP Model: How it works (alternating layout) --- */
.lp-model {
  padding: var(--space-5xl) 0;
  background: var(--warm-white);
}

.lp-model__grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-4xl);
}

.lp-model__step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
}

.lp-model__step--reverse {
  direction: rtl;
}

.lp-model__step--reverse > * {
  direction: ltr;
}

.lp-model__step-number {
  position: absolute;
  top: -1rem;
  left: -1rem;
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 600;
  color: var(--blue);
  opacity: 0.08;
  line-height: 1;

  z-index: 0;
}

.lp-model__step--reverse .lp-model__step-number {
  left: auto;
  right: -1rem;
}

.lp-model__step-image {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  object-fit: cover;
  background: var(--light);
}

.lp-model__step-content {
  position: relative;
  z-index: 1;
}

.lp-model__step-content h3 {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  margin-bottom: var(--space-md);
  line-height: 1.3;
}

.lp-model__step-content p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.8;
}


/* --- LP Proof: Stats on dark background --- */
.lp-proof {
  position: relative;
  padding: var(--space-5xl) 0;
  color: var(--white);
  overflow: hidden;
}

.lp-proof__bg {
  position: absolute;
  inset: 0;
  background: var(--dark);
  z-index: 0;
}

.lp-proof__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 50%, rgba(20,107,246,0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 20%, rgba(255,229,0,0.08) 0%, transparent 50%);
}

.lp-proof .container {
  position: relative;
  z-index: 1;
}

.lp-proof__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.lp-proof__header h2 {
  color: var(--white);
  margin-top: var(--space-md);
}

.lp-proof__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.lp-proof__card {
  padding: var(--space-2xl);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out);
}

.lp-proof__card:hover {
  background: rgba(255,255,255,0.08);
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.15);
}

.lp-proof__number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: var(--space-sm);

}

.lp-proof__label {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  margin-bottom: var(--space-md);
}

.lp-proof__context {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

.lp-proof__context strong {
  color: rgba(255,255,255,0.7);
}


/* --- LP Map: Interactive classroom map --- */
.lp-map {
  padding: var(--space-5xl) 0;
  background: var(--light);
}

.lp-map__layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.lp-map__text {
  padding-top: var(--space-lg);
}

.lp-map__text h2 {
  margin-top: var(--space-md);
  margin-bottom: var(--space-lg);
  line-height: 1.2;
}

.lp-map__text p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
}

.lp-map__stat-row {
  display: flex;
  gap: var(--space-xl);
}

.lp-map__stat {
  display: flex;
  flex-direction: column;
}

.lp-map__stat strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}

.lp-map__stat span {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.lp-map__container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

#classroomMap {
  width: 100%;
  height: 500px;
  background: var(--light);
}

/* Custom pin styles */
.lp-map__pin {
  background: none !important;
  border: none !important;
}

.lp-map__pin-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2.5px solid var(--white);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
  cursor: pointer;
}

.lp-map__pin:hover .lp-map__pin-dot {
  transform: scale(1.4);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

/* Popup styles — override Leaflet defaults */
.lp-map__popup-wrapper .leaflet-popup-content-wrapper {
  border-radius: var(--radius) !important;
  box-shadow: var(--shadow-lg) !important;
  padding: 0 !important;
  overflow: hidden;
}

.lp-map__popup-wrapper .leaflet-popup-content {
  margin: 0 !important;
  width: auto !important;
}

.lp-map__popup-wrapper .leaflet-popup-tip {
  box-shadow: none;
}

.lp-map__popup {
  font-family: var(--font-body);
  width: 240px;
}

.lp-map__popup-header {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--dark);
  color: var(--white);
}

.lp-map__popup-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.lp-map__popup-teacher {
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.2;
}

.lp-map__popup-role {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.5);
}

.lp-map__popup-body {
  padding: var(--space-md);
}

.lp-map__popup-community {
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--dark);
  margin-bottom: 2px;
}

.lp-map__popup-dept {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.lp-map__popup-stats {
  display: flex;
  gap: var(--space-lg);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.lp-map__popup-stats strong {
  color: var(--dark);
}

.lp-map__popup-cta {
  display: block;
  padding: var(--space-sm) var(--space-md);
  background: var(--blue-light);
  color: var(--blue);
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background var(--duration-fast);
}

.lp-map__popup-cta:hover {
  background: var(--blue);
  color: var(--white);
}


/* --- LP Cost: The tangible ask --- */
.lp-cost {
  padding: var(--space-5xl) 0;
  background: var(--warm-white);
}

.lp-cost__content {
  text-align: center;
}

.lp-cost__comparison {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xl);
  margin: var(--space-3xl) 0;
}

.lp-cost__item {
  flex: 1;
  max-width: 280px;
}

.lp-cost__amount {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: var(--space-md);

}

.lp-cost__desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.lp-cost__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--light);
  flex-shrink: 0;
}

.lp-cost__divider span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text-muted);
}

.lp-cost__context {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.8;
}

.lp-cost__note {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: var(--space-md);
}


/* --- LP Allocation: Where money goes --- */
.lp-allocation {
  padding: var(--space-5xl) 0;
  background: var(--light);
}

.lp-allocation__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.lp-allocation__item {
  padding: var(--space-2xl);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--duration-normal) var(--ease-out);
}

.lp-allocation__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.lp-allocation__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
}

.lp-allocation__item h4 {
  margin-bottom: var(--space-sm);
}

.lp-allocation__item p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}


/* --- LP Transparency: Split layout --- */
.lp-transparency {
  padding: var(--space-5xl) 0;
  background: var(--warm-white);
}

.lp-transparency__split {
  display: block;
}

.lp-transparency__text {
  text-align: center;
}

.lp-transparency__text > p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.lp-transparency__text .eyebrow {
  margin-bottom: var(--space-md);
  display: block;
}

.lp-transparency__text h2 {
  margin-bottom: var(--space-xl);
}

.lp-transparency__text p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
}

.lp-transparency__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 400px;
}

.lp-transparency__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

@media (max-width: 768px) {
  .lp-transparency__visual {
    min-height: 300px;
    max-height: 400px;
  }
}

.lp-transparency__reports {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

.lp-transparency__reports h4 {
  margin-bottom: var(--space-md);
}

.lp-transparency__report-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.lp-transparency__report-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.5rem 1rem;
  background: var(--light);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
  transition: all var(--duration-fast);
}

.lp-transparency__report-link:hover {
  background: var(--blue-light);
}

.lp-transparency__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.lp-transparency__card-header {
  padding: var(--space-lg) var(--space-xl);
  background: var(--dark);
  color: var(--white);
}

.lp-transparency__card-header h4 {
  color: var(--white);
  font-size: 0.9375rem;
}

.lp-transparency__fee-row {
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 1.2fr;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-xl);
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
  align-items: center;
}

.lp-transparency__fee-row:last-of-type {
  border-bottom: none;
}

.lp-transparency__fee-platform {
  font-weight: 600;
  color: var(--dark);
}

.lp-transparency__fee-pct {
  color: var(--text-muted);
  text-align: center;
}

.lp-transparency__fee-result {
  text-align: right;
  color: var(--text-muted);
}

.lp-transparency__fee-row--highlight {
  background: var(--blue-light);
}

.lp-transparency__fee-row--highlight .lp-transparency__fee-result {
  color: var(--success);
  font-weight: 700;
}

.lp-transparency__fee-row--bad .lp-transparency__fee-pct {
  color: #DC2626;
  font-weight: 700;
}

.lp-transparency__fee-row--bad .lp-transparency__fee-result {
  color: #DC2626;
}

.lp-transparency__fee-footer {
  padding: var(--space-md) var(--space-xl);
  font-size: 0.8125rem;
  color: var(--text-muted);
  background: var(--light);
  text-align: center;
}


/* --- LP Team: Clean grid --- */
.lp-team {
  padding: var(--space-5xl) 0;
  background: var(--light);
}

.lp-team__grid {
  display: grid;
  /* Auto-flowing: as many ≥240px columns as fit, never breaks */
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.lp-team__card {
  text-align: center;
  padding: var(--space-2xl) var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--duration-normal) var(--ease-out);
}

.lp-team__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.lp-team__photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-light), var(--yellow-soft));
  margin: 0 auto var(--space-lg);
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
  object-fit: cover;
}

.lp-team__name {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 2px;
}

.lp-team__role {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: var(--space-md);
}

.lp-team__card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.lp-team__footer {
  text-align: center;
}

.lp-team__footer p {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
}

.lp-team__staff-link {
  display: inline-block;
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.lp-team__staff-link:hover {
  border-bottom-color: var(--blue);
}


/* --- LP Quote: Big editorial blockquote --- */
.lp-quote {
  padding: var(--space-5xl) 0;
  background: var(--warm-white);
}

.lp-quote__block {
  text-align: center;
  position: relative;
}

.lp-quote__block::before {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--yellow);
  margin: 0 auto var(--space-2xl);
  border-radius: 2px;
}

.lp-quote__block p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--dark);
  max-width: 700px;
  margin: 0 auto var(--space-xl);
}

.lp-quote__block p em {
  font-style: italic;
  color: var(--blue);
}

.lp-quote__block cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.9375rem;
  color: var(--text-muted);
}


/* --- LP Final CTA: The close --- */
.lp-final-cta {
  padding: var(--space-5xl) 0;
  background: var(--blue);
  position: relative;
  overflow: hidden;
}

.lp-final-cta::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,229,0,0.08);
}

.lp-final-cta::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}

.lp-final-cta__content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.lp-final-cta h2 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  margin-bottom: var(--space-lg);
}

.lp-final-cta p {
  color: rgba(255,255,255,0.75);
  font-size: 1.125rem;
  max-width: 520px;
  margin: 0 auto var(--space-2xl);
  line-height: 1.8;
}

.lp-final-cta__trust {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.4);
}


/* --- Thank-You Page --- */
.ty {
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-4xl);
  background: var(--warm-white);
  min-height: 100vh;
}

.ty__content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.ty__check {
  margin-bottom: var(--space-xl);
  animation: scaleIn 0.6s var(--ease-spring) both;
}

.ty__check-path {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: checkDraw 0.6s var(--ease-out) 0.4s forwards;
}

@keyframes checkDraw {
  to { stroke-dashoffset: 0; }
}

.ty__headline {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.8s var(--ease-out) 0.3s both;
}

.ty__headline span {
  color: var(--blue);
}

.ty__impact {
  padding: var(--space-2xl);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-3xl);
  animation: fadeInUp 0.8s var(--ease-out) 0.5s both;
}

.ty__impact-amount {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.ty__impact-label {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.ty__timeline {
  text-align: left;
  margin-bottom: var(--space-3xl);
  animation: fadeInUp 0.8s var(--ease-out) 0.7s both;
}

.ty__timeline h3 {
  font-size: 1.125rem;
  margin-bottom: var(--space-xl);
  text-align: center;
  color: var(--dark);
}

.ty__timeline-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  position: relative;
  padding-left: var(--space-2xl);
}

.ty__timeline-steps::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--border);
}

.ty__step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  position: relative;
}

.ty__step-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: absolute;
  left: calc(-1 * var(--space-2xl));
  background: var(--warm-white);
}

.ty__step-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ty__step-text strong {
  font-size: 0.9375rem;
  color: var(--dark);
}

.ty__step-text span {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.ty__share {
  margin-bottom: var(--space-2xl);
  animation: fadeInUp 0.8s var(--ease-out) 0.9s both;
}

.ty__share h4 {
  font-size: 0.9375rem;
  color: var(--dark);
  margin-bottom: var(--space-md);
}

.ty__share-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
}

.ty__share-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease-out);
}

.ty__share-btn:hover {
  transform: translateY(-1px);
}

.ty__share-btn--twitter {
  background: #0f1419;
  color: var(--white);
}

.ty__share-btn--twitter:hover {
  background: #1d2731;
}

.ty__share-btn--facebook {
  background: #1877F2;
  color: var(--white);
}

.ty__share-btn--facebook:hover {
  background: #0d6efd;
}

.ty__share-btn--email {
  background: var(--light);
  color: var(--dark);
  border: 1px solid var(--border);
}

.ty__share-btn--email:hover {
  background: var(--white);
  border-color: var(--dark-muted);
}

.ty__cta {
  margin-bottom: var(--space-2xl);
  animation: fadeInUp 0.8s var(--ease-out) 1.1s both;
}

.ty__cta .btn {
  margin-bottom: var(--space-sm);
}

.ty__cta-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.ty__trust {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
  animation: fadeInUp 0.8s var(--ease-out) 1.3s both;
}

/* Thank-you page mobile */
@media (max-width: 768px) {
  .ty {
    padding-top: calc(64px + var(--space-2xl));
  }

  .ty__impact {
    padding: var(--space-lg);
  }

  .ty__share-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .ty__share-btn {
    justify-content: center;
  }

  .ty__cta .btn {
    width: 100%;
  }
}


/* --- Expense Pie Chart (transparency section) --- */
.lp-transparency__chart {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "pie legend"
    "fin fin";
  align-items: center;
  gap: var(--space-2xl);
  margin: var(--space-3xl) auto;
  padding: var(--space-2xl);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  max-width: 720px;
  text-align: left;
}

.lp-transparency__chart .pie-chart {
  grid-area: pie;
  justify-self: center;
}

.lp-transparency__chart .pie-chart__legend {
  grid-area: legend;
}

.pie-chart svg {
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.08));
}

.pie-chart__legend {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  font-size: 0.9rem;
}

.pie-chart__item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--text-muted);
}

.pie-chart__item strong {
  color: var(--dark);
  margin-left: auto;
  padding-left: var(--space-md);
}

.pie-chart__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.lp-transparency__financials {
  grid-area: fin;
  margin-top: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.lp-transparency__fin-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.875rem;
}

.lp-transparency__fin-label {
  color: var(--text-muted);
}

.lp-transparency__fin-value {
  font-weight: 700;
  color: var(--dark);
  font-family: var(--font-display);
}

.lp-transparency__note {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: var(--space-md);
  line-height: 1.5;
}

.lp-transparency__contact {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: var(--space-md);
}

.lp-transparency__contact a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 600px) {
  .lp-transparency__chart {
    grid-template-columns: 1fr;
    grid-template-areas:
      "pie"
      "legend"
      "fin";
    padding: var(--space-xl);
  }
}

/* --- Trust Badges (transparency section) --- */
.trust-badges {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.trust-badge__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-badge__text {
  display: flex;
  flex-direction: column;
}

.trust-badge__text strong {
  font-size: 0.875rem;
  color: var(--dark);
}

.trust-badge__text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- Footer Trust Pills --- */
.footer__trust-pills {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  flex-wrap: wrap;
}

.footer__pill {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.875rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
}

/* --- Donate Form Trust Line --- */
.donate-form__trust-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  margin-top: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--success-light);
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--success);
}


/* --- Quick-Give Bar (homepage) --- */
.lp-quickgive {
  padding: 0;
  background: var(--dark);
}

.lp-quickgive__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
}

.lp-quickgive__label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
}

.lp-quickgive__amounts {
  display: flex;
  gap: var(--space-sm);
}

.lp-quickgive__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.625rem 1.25rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

.lp-quickgive__btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-1px);
}

.lp-quickgive__btn span {
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.7;
}

.lp-quickgive__btn--featured {
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(20, 107, 246, 0.3);
}

.lp-quickgive__btn--featured:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  box-shadow: 0 6px 20px rgba(20, 107, 246, 0.4);
}

.lp-quickgive__custom {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color var(--duration-fast);
  white-space: nowrap;
}

.lp-quickgive__custom:hover {
  color: var(--white);
}


/* --- Responsive --- */
@media (max-width: 1024px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .transparency__grid {
    grid-template-columns: 1fr;
  }
  .lp-proof__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lp-team__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lp-allocation__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lp-transparency__split {
    grid-template-columns: 1fr;
  }
  .lp-map__layout {
    grid-template-columns: 1fr;
  }

  .lp-model__step {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .lp-model__step--reverse {
    direction: ltr;
  }
  .dp__grid {
    grid-template-columns: 1fr 400px;
  }
}

@media (max-width: 768px) {
  section {
    padding: var(--space-3xl) 0;
  }

  .container {
    padding: 0 var(--space-lg);
  }

  .nav__links {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .hero {
    min-height: auto;
    padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-3xl);
  }

  .hero__stats-mini {
    gap: var(--space-xl);
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .team__grid {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  /* Donate Page Mobile */
  .dp__grid {
    grid-template-columns: 1fr;
  }

  .dp__form-col {
    position: static;
  }

  .dp__headline {
    font-size: clamp(2rem, 7vw, 3rem);
  }

  .dp__stats {
    gap: var(--space-lg);
  }

  .dp-fees__row {
    grid-template-columns: 1fr auto;
    font-size: 0.8125rem;
  }

  .dp-fees__row span:last-child {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  /* LP Landing Page Mobile */
  .lp-hero {
    min-height: 100svh;
    padding-bottom: var(--space-3xl);
  }

  .lp-hero__headline {
    font-size: clamp(2.25rem, 8vw, 3.5rem);
  }

  .lp-hero__scroll-hint {
    display: none;
  }

  .lp-disparity__stat {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .lp-disparity__stat-visual {
    width: 100%;
  }

  .lp-map__layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  #classroomMap {
    height: 350px;
  }

  .lp-cost__comparison {
    flex-direction: column;
    gap: var(--space-xl);
  }

  .lp-cost__divider {
    width: 48px;
    height: 48px;
  }

  .lp-proof__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-sm);
  }

  .lp-team__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .lp-allocation__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .lp-transparency__fee-row {
    font-size: 0.8125rem;
    padding: var(--space-sm) var(--space-md);
  }

  .lp-final-cta__trust {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero__stats-mini {
    flex-direction: column;
    gap: var(--space-md);
  }

  .stats__grid {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ============================================
   MOBILE ENHANCEMENTS — Touch, Animation, Polish
   ============================================ */

/* --- Lighter hero animation for mobile --- */
@keyframes heroRevealMobile {
  from { transform: scale(1.06); }
  to { transform: scale(1.02); }
}

/* --- Simple slide-up for mobile text entrance --- */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(16px) translateZ(0); }
  to { opacity: 1; transform: translateY(0) translateZ(0); }
}

/* --- Sticky Mobile CTA (hidden on desktop) --- */
.mobile-sticky-cta {
  display: none;
}


/* ================================================
   MOBILE (≤768px) — The full mobile experience
   ================================================ */
@media (max-width: 768px) {

  /* -- Foundations -- */
  html {
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
  }

  section {
    padding: var(--space-2xl) 0;
  }

  .container {
    padding: 0 1.25rem;
  }

  /* -- Animations already blur-free, just keep mobile snappy -- */

  /* -- Quick-Give Bar — compact grid -- */
  .lp-quickgive__bar {
    flex-wrap: wrap;
    gap: var(--space-sm);
    padding: var(--space-md) 0;
  }

  .lp-quickgive__label {
    width: 100%;
    text-align: center;
    font-size: 0.8125rem;
  }

  .lp-quickgive__amounts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xs);
    width: 100%;
  }

  .lp-quickgive__btn {
    justify-content: center;
    padding: 0.625rem 0.5rem;
    font-size: 0.875rem;
  }

  .lp-quickgive__btn span {
    display: none;
  }

  .lp-quickgive__btn--featured span {
    display: inline;
    font-size: 0.625rem;
  }

  .lp-quickgive__custom {
    width: 100%;
    text-align: center;
  }

  /* -- Hide decorative line breaks on mobile -- */
  .lp-hero__sub br,
  .lp-turn h2 br,
  .lp-transparency__text h2 br,
  .section-header h2 br {
    display: none;
  }

  /* -- Navigation — compact, CTA visible -- */
  .nav {
    height: 64px;
  }

  .nav__inner {
    padding: 0 1.25rem;
  }

  .nav__cta {
    margin-left: auto;
    margin-right: var(--space-sm);
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    min-height: 36px;
  }

  /* -- Enhanced slide-in mobile menu -- */
  .mobile-menu {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: rgba(250, 250, 248, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    opacity: 1;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out);
    padding: calc(64px + var(--space-3xl)) 1.25rem var(--space-xl);
    padding-bottom: max(var(--space-xl), env(safe-area-inset-bottom, 0px));
  }

  .mobile-menu.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
  }

  .mobile-menu__links {
    gap: var(--space-md);
  }

  .mobile-menu__link {
    font-size: 1.75rem;
    padding: var(--space-sm) 0;
    display: block;
    transition: color 0.2s;
  }

  .mobile-menu__link:active {
    color: var(--blue);
  }

  /* -- Buttons — 48px min touch targets -- */
  .btn {
    min-height: 48px;
  }

  .btn-lg {
    min-height: 52px;
    padding: 0.875rem 2rem;
  }

  /* -- Forms — 16px prevents iOS auto-zoom on focus -- */
  .form-input,
  input.form-input,
  textarea.form-input,
  select.form-input {
    font-size: 16px;
    min-height: 48px;
  }

  #card-element {
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  /* -- Hero — cinematic but performant -- */
  .lp-hero {
    min-height: 100svh;
    padding-bottom: var(--space-2xl);
  }

  .lp-hero__media-img {
    object-position: center 20%;
    animation: heroRevealMobile 2.5s var(--ease-out) forwards;
  }

  .lp-hero__overlay {
    animation: none;
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.78) 0%,
      rgba(0,0,0,0.4) 45%,
      rgba(0,0,0,0.15) 100%
    ) !important;
  }

  .lp-hero__content {
    padding: 0 1.25rem;
  }

  .lp-hero__headline {
    font-size: clamp(2.25rem, 9vw, 3.5rem);
    line-height: 1.08;
    margin-bottom: var(--space-md);
    animation: slideUp 0.8s var(--ease-out) 0.3s both;
  }

  .lp-hero__sub {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: var(--space-xl);
    max-width: none;
    animation: slideUp 0.8s var(--ease-out) 0.6s both;
  }

  .lp-hero__actions {
    animation: slideUp 0.8s var(--ease-out) 0.9s both;
  }

  .lp-hero__actions .btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
  }

  /* -- Disparity — full-width bars -- */
  .lp-disparity__headline {
    font-size: clamp(1.5rem, 5.5vw, 2.25rem);
  }

  .lp-disparity__stat-text {
    font-size: 0.9375rem;
  }

  /* -- Turn — punchy -- */
  .lp-turn {
    padding: var(--space-3xl) 0;
  }

  .lp-turn__word {
    font-size: clamp(2.5rem, 12vw, 4rem);
    margin-bottom: var(--space-md);
  }

  /* -- Model — tighter step numbers -- */
  .lp-model__step-number {
    font-size: 4rem;
    top: -0.5rem;
    left: -0.25rem;
  }

  .lp-model__step-content h3 {
    font-size: 1.25rem;
  }

  .lp-model__step-content p {
    font-size: 0.9375rem;
  }

  /* -- Proof — compact 2-col cards -- */
  .lp-proof {
    padding: var(--space-3xl) 0;
  }

  .lp-proof__card {
    padding: var(--space-lg) var(--space-md);
  }

  .lp-proof__number {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }

  .lp-proof__label {
    font-size: 0.8125rem;
    margin-bottom: var(--space-sm);
  }

  .lp-proof__context {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  /* -- Map — centered text, full-width map -- */
  .lp-map__text {
    padding-top: 0;
    text-align: center;
  }

  .lp-map__text p {
    margin-left: auto;
    margin-right: auto;
  }

  .lp-map__stat-row {
    justify-content: center;
  }

  #classroomMap {
    height: 380px;
  }

  .lp-map__popup {
    width: 220px;
  }

  .lp-map__popup-cta {
    padding: var(--space-md);
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* -- Cost — full-width CTA -- */
  .lp-cost .btn-lg {
    width: 100%;
  }

  .lp-cost__context {
    font-size: 0.9375rem;
  }

  /* -- Allocation — horizontal card layout -- */
  .lp-allocation__item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 2px var(--space-md);
    padding: var(--space-lg);
  }

  .lp-allocation__icon {
    grid-row: 1 / 3;
    margin-bottom: 0;
    width: 48px;
    height: 48px;
    align-self: start;
  }

  .lp-allocation__item h4 {
    align-self: end;
  }

  .lp-allocation__item p {
    align-self: start;
  }

  /* -- Transparency -- */
  .lp-transparency__card-header {
    padding: var(--space-md) var(--space-lg);
  }

  /* -- Team — compact cards -- */
  .lp-team__card {
    padding: var(--space-lg) var(--space-md);
  }

  .lp-team__photo {
    width: 72px;
    height: 72px;
  }

  .lp-team__card p {
    font-size: 0.8125rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* -- Quote — tighter -- */
  .lp-quote {
    padding: var(--space-2xl) 0;
  }

  .lp-quote__block p {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
  }

  /* -- Final CTA — extra padding for sticky bar -- */
  .lp-final-cta {
    padding: var(--space-3xl) 0;
    padding-bottom: calc(var(--space-3xl) + 80px);
  }

  .lp-final-cta p {
    font-size: 1rem;
  }

  .lp-final-cta .btn {
    width: 100%;
  }

  .lp-final-cta__trust {
    gap: var(--space-sm);
    font-size: 0.75rem;
  }

  /* -- Footer — extra padding for sticky bar -- */
  .footer {
    padding-bottom: calc(var(--space-2xl) + 80px);
  }

  .footer__brand {
    text-align: center;
  }

  .footer__brand p {
    max-width: none;
    margin: var(--space-md) auto 0;
  }

  .footer__social {
    justify-content: center;
  }

  .footer__newsletter-form {
    flex-direction: column;
  }

  .footer__newsletter-form button {
    width: 100%;
    padding: 0.875rem;
    min-height: 48px;
  }

  /* -- Sticky Mobile CTA Bar -- */
  .mobile-sticky-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 998;
    padding: 12px 1.25rem;
    padding-bottom: max(12px, env(safe-area-inset-bottom, 12px));
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(100%);
    transition: transform 0.4s var(--ease-out);
  }

  .mobile-sticky-cta.visible {
    transform: translateY(0);
  }

  .mobile-sticky-cta .btn {
    width: 100%;
    justify-content: center;
  }

  /* -- Donate Page — form first on mobile -- */
  .dp {
    padding: calc(64px + var(--space-lg)) 0 var(--space-2xl);
  }

  .dp__form-col {
    position: static;
    order: -1;
  }

  .dp__headline {
    font-size: clamp(1.75rem, 7vw, 2.75rem);
  }

  .dp__stats {
    flex-wrap: wrap;
  }

  .dp__photo {
    margin-bottom: var(--space-lg);
  }

  .donate-form {
    padding: var(--space-lg);
  }

  .dp-other-ways__grid {
    grid-template-columns: 1fr;
  }
}


/* ================================================
   SMALL PHONES (≤480px) — Extra compact
   ================================================ */
@media (max-width: 480px) {

  .container {
    padding: 0 1rem;
  }

  .lp-hero__headline {
    font-size: clamp(2rem, 9vw, 2.75rem);
  }

  /* Proof — single column on small phones */
  .lp-proof__grid {
    grid-template-columns: 1fr;
  }

  .lp-proof__card {
    padding: var(--space-lg);
  }

  .lp-proof__number {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .lp-proof__label {
    font-size: 0.9375rem;
  }

  .lp-proof__context {
    font-size: 0.8125rem;
    display: block;
  }

  /* Team — horizontal people list on small phones */
  .lp-team__grid {
    grid-template-columns: 1fr;
  }

  .lp-team__card {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 0 var(--space-md);
    text-align: left;
    padding: var(--space-lg);
  }

  .lp-team__photo {
    grid-row: 1 / 4;
    width: 64px;
    height: 64px;
    margin: 0;
    align-self: center;
  }

  .lp-team__name {
    align-self: end;
    margin-bottom: 0;
  }

  .lp-team__role {
    margin-bottom: 2px;
  }

  .lp-team__card p {
    -webkit-line-clamp: 2;
  }

  /* Map — shorter on small phones */
  #classroomMap {
    height: 300px;
  }

  .lp-map__stat-row {
    gap: var(--space-md);
  }

  /* Nav — hide CTA on tiny screens (sticky bar covers it) */
  .nav__cta {
    display: none;
  }

  .mobile-sticky-cta {
    padding: 10px 1rem;
  }

  .lp-allocation__item {
    padding: var(--space-md);
  }
}


/* ================================================
   ACCESSIBILITY — Reduced motion preference
   ================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .lp-hero__media-img {
    animation: none !important;
    transform: scale(1.05);
    filter: brightness(1) saturate(1);
  }

  .lp-hero__overlay {
    animation: none !important;
  }

  .reveal,
  .reveal-left,
  .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .stagger-children > * {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
