/*
Theme Name: Lumenoid
Theme URI: https://shivangfoundation.org
Author: Shivang Foundation
Description: Lumenoid — Premium light-theme for Shivang Foundation. Bharatanatyam heritage with modern UI, Ken Burns slider, and elegant micro-interactions.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: shivang-foundation
Tags: ngo, nonprofit, culture, arts, donation
*/

/* ============================================================
   DESIGN TOKEN SYSTEM — CSS CUSTOM PROPERTIES
   ============================================================ */

:root {

  /* ── Color Palette ── */
  --color-primary:          #8B1A1A;   /* Deep temple red / maroon */
  --color-primary-dark:     #5C0E0E;   /* Darkened maroon */
  --color-primary-light:    #B84040;   /* Lighter maroon for hover */
  --color-gold:             #C9A84C;   /* Classic gold accent */
  --color-gold-light:       #E8C97A;   /* Pale gold */
  --color-gold-muted:       #9B7A2E;   /* Deep muted gold */

  --color-bg:               #FAF7F2;   /* Warm ivory / off-white */
  --color-bg-alt:           #F2EDE4;   /* Slightly warmer panel background */
  --color-bg-dark:          #1A0A0A;   /* Near-black deep bg */
  --color-bg-card:          #FFFFFF;
  --color-bg-glass:         rgba(255,255,255,0.08);

  --color-text:             #1C1009;   /* Warm near-black */
  --color-text-muted:       #6B5744;   /* Warm brown-grey */
  --color-text-light:       #A8906F;   /* Soft warm grey */
  --color-text-inverse:     #FAF7F2;   /* For dark backgrounds */

  --color-border:           rgba(139,26,26,0.12);
  --color-border-gold:      rgba(201,168,76,0.3);
  --color-overlay:          rgba(26,10,10,0.65);
  --color-overlay-deep:     rgba(26,10,10,0.82);

  --color-success:          #2E7D32;
  --color-white:            #FFFFFF;

  /* ── Typography ── */
  --font-display:           'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-heading:           'Cormorant Garamond', Georgia, serif;
  --font-body:              'DM Sans', 'Outfit', system-ui, sans-serif;
  --font-accent:            'Cinzel', serif; /* For cultural labels */
  --font-base:              var(--font-body);   /* alias — referenced in places */
  --font-mono:              'JetBrains Mono', monospace;

  --font-size-xs:           1rem;                          /* 16px — unified body minimum */
  --font-size-sm:           1rem;                          /* 16px — unified body minimum */
  --font-size-base:         1rem;                          /* 16px — body */
  --font-size-md:           1rem;                          /* 16px — body */
  --font-size-lg:           1.1rem;                        /* ~17.6px — slightly larger body */
  --font-size-xl:           1.2rem;                        /* ~19.2px — lead / large body */
  --font-size-2xl:          1.5rem;                        /* 24px — subheading (section subtitles) */
  --font-size-3xl:          clamp(1.75rem, 3vw, 2rem);     /* 28–32px — h3 level headings */
  --font-size-4xl:          clamp(2rem, 4vw, 2.75rem);     /* 32–44px — h2 level headings */
  --font-size-5xl:          clamp(2.25rem, 5vw, 3.5rem);   /* 36–56px — h1 / page headings */
  --font-size-hero:         clamp(2.5rem, 6vw, 4rem);      /* hero — one step above heading */

  --font-weight-light:      300;
  --font-weight-normal:     400;
  --font-weight-medium:     500;
  --font-weight-semibold:   600;
  --font-weight-bold:       700;

  --line-height-tight:      1.1;
  --line-height-snug:       1.3;
  --line-height-normal:     1.6;
  --line-height-relaxed:    1.8;

  --letter-spacing-tight:   -0.03em;
  --letter-spacing-normal:  -0.01em;
  --letter-spacing-wide:    0.04em;
  --letter-spacing-wider:   0.1em;
  --letter-spacing-widest:  0.2em;

  /* ── Spacing Scale ── */
  --space-0:    0;
  --space-1:    0.25rem;   /* 4px */
  --space-2:    0.5rem;    /* 8px */
  --space-3:    0.75rem;   /* 12px */
  --space-4:    1rem;      /* 16px */
  --space-5:    1.25rem;   /* 20px */
  --space-6:    1.5rem;    /* 24px */
  --space-7:    1.75rem;   /* 28px — was referenced but undefined */
  --space-8:    2rem;      /* 32px */
  --space-10:   2.5rem;    /* 40px */
  --space-12:   3rem;      /* 48px */
  --space-16:   4rem;      /* 64px */
  --space-20:   5rem;      /* 80px */
  --space-24:   6rem;      /* 96px */
  --space-32:   8rem;      /* 128px */
  --space-40:   10rem;     /* 160px */

  /* ── Layout ── */
  --container-sm:    40rem;    /* 640px */
  --container-md:    56rem;    /* 896px */
  --container-lg:    72rem;    /* 1152px */
  --container-xl:    80rem;    /* 1280px */
  --container-2xl:   90rem;    /* 1440px */
  --container-pad:   clamp(1.25rem, 5vw, 3rem);

  /* ── Border Radius ── */
  --radius-sm:    0.25rem;
  --radius-md:    0.5rem;
  --radius-lg:    1rem;
  --radius-xl:    1.5rem;
  --radius-2xl:   2rem;
  --radius-full:  9999px;
  --story-single-img-max: 28rem;
  --radius-photo: 0;        /* photos + photo cards — set to var(--radius-xl) etc. to bring rounding back */

  /* ── Shadows ── */
  --shadow-sm:    0 1px 3px rgba(26,10,10,0.08), 0 1px 2px rgba(26,10,10,0.06);
  --shadow-md:    0 4px 16px rgba(26,10,10,0.10), 0 2px 6px rgba(26,10,10,0.08);
  --shadow-lg:    0 10px 40px rgba(26,10,10,0.14), 0 4px 12px rgba(26,10,10,0.10);
  --shadow-xl:    0 24px 80px rgba(26,10,10,0.18), 0 8px 24px rgba(26,10,10,0.12);
  --shadow-gold:  0 4px 24px rgba(201,168,76,0.25);
  --shadow-card:  0 2px 12px rgba(26,10,10,0.07), 0 8px 40px rgba(26,10,10,0.05);

  /* ── Transitions ── */
  --ease-smooth:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring:    cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-in-out:    cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast:  150ms;
  --duration-base:  250ms;
  --duration-slow:  400ms;
  --duration-xslow: 700ms;
  --transition-base: all var(--duration-base) var(--ease-smooth);

  /* ── Z-index Scale ── */
  --z-below:    -1;
  --z-base:      0;
  --z-above:    10;
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-overlay:  300;
  --z-modal:    400;
  --z-toast:    500;

  /* ── Glassmorphism ── */
  --glass-bg:      rgba(250,247,242,0.08);
  --glass-border:  rgba(201,168,76,0.18);
  --glass-blur:    blur(16px);
  --glass-shadow:  0 8px 32px rgba(26,10,10,0.3);

  /* ── Gradients ── */
  --gradient-primary:     linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  --gradient-gold:        linear-gradient(135deg, var(--color-gold-muted) 0%, var(--color-gold) 50%, var(--color-gold-light) 100%);
  --gradient-dark:        linear-gradient(180deg, var(--color-bg-dark) 0%, #2C0E0E 100%);
  --gradient-hero:        linear-gradient(160deg, rgba(26,10,10,0.9) 0%, rgba(92,14,14,0.6) 60%, rgba(26,10,10,0.4) 100%);
  --gradient-card:        linear-gradient(145deg, #FFFFFF 0%, var(--color-bg) 100%);
  --gradient-cultural:    linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
}

/* ============================================================
   RESET & BASE
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-snug);
  letter-spacing: var(--letter-spacing-tight);
  color: var(--color-text);
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */

.container {
  width: 100%;
  max-width: var(--container-xl);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.container--sm  { max-width: var(--container-sm); }
.container--md  { max-width: var(--container-md); }
.container--lg  { max-width: var(--container-lg); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

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

/* ── Section Label ── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-accent);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-widest);
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-4);
}

.section-label::before {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background: var(--gradient-gold);
}

/* ── Section Headers ── */
.section-heading {
  font-family: var(--font-display);
  font-size: clamp(var(--font-size-2xl), 4vw, var(--font-size-4xl));
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-tight);
  line-height: var(--line-height-snug);
  color: var(--color-text);
}

.section-heading--light {
  color: var(--color-text-inverse);
}

.section-subtext {
  font-size: var(--font-size-md);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  max-width: 42ch;
}

.section-subtext--light {
  color: rgba(250,247,242,0.7);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.875rem var(--space-8);
  font-family: var(--font-body);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  border-radius: var(--radius-full);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--duration-base) var(--ease-smooth);
}

.btn:hover::after {
  background: rgba(255,255,255,0.1);
}

.btn--primary {
  background: var(--gradient-primary);
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(139,26,26,0.4);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(139,26,26,0.5);
}

.btn--gold {
  background: var(--gradient-gold);
  color: var(--color-bg-dark);
  box-shadow: var(--shadow-gold);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.5);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255,255,255,0.4);
  backdrop-filter: var(--glass-blur);
}

.btn--outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(201,168,76,0.08);
}

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

.btn--outline-dark:hover {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: var(--color-white);
}

.btn--sm {
  padding: 0.625rem var(--space-6);
  font-size: var(--font-size-xs);
}

.btn--lg {
  padding: 1.125rem var(--space-10);
  font-size: var(--font-size-base);
}

/* ── Decorative Elements ── */
.ornament {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.ornament__line {
  height: 1px;
  width: 3rem;
  background: var(--gradient-gold);
}

.ornament__symbol {
  color: var(--color-gold);
  font-size: var(--font-size-lg);
}

/* ── Reveal Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity var(--duration-xslow) var(--ease-smooth),
              transform var(--duration-xslow) var(--ease-smooth);
}

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

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }
.reveal-delay-5 { transition-delay: 500ms; }

/* ============================================================
   GOOGLE FONTS IMPORT PLACEHOLDER
   (Handled in functions.php enqueue)
   ============================================================ */

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  transition: background var(--duration-slow) var(--ease-smooth),
              padding var(--duration-slow) var(--ease-smooth),
              box-shadow var(--duration-slow) var(--ease-smooth);
  padding-block: var(--space-6);
}

.site-header.is-scrolled {
  background: rgba(26,10,10,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding-block: var(--space-4);
  box-shadow: 0 2px 40px rgba(26,10,10,0.5);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  overflow: visible;
  max-width: 100%;
  padding-inline: clamp(1rem, 3vw, 24px);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo__mark {
  width: 2.75rem;
  height: 2.75rem;
  background: var(--gradient-gold);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-accent);
  font-size: var(--font-size-md);
  color: var(--color-bg-dark);
  font-weight: var(--font-weight-bold);
  flex-shrink: 0;
}

/* Logo image (when <img> is used instead of .site-logo__mark) */
.site-logo__image {
  width: auto;
  height: 2.75rem;
  max-width: 80px;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  display: block;
}

/* Slightly taller on desktop where there's room */
@media (min-width: 64rem) {
  .site-logo__image {
    height: 3rem;
    max-width: 80px;
  }
}

.site-logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.site-logo__name {
  font-family: var(--font-accent);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  letter-spacing: var(--letter-spacing-wide);
}

.site-logo__tagline {
  font-size: var(--font-size-xs);
  color: var(--color-gold-light);
  letter-spacing: var(--letter-spacing-wider);
  font-weight: var(--font-weight-light);
}

/* Primary Nav */
.primary-nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.primary-nav a {
  font-weight: var(--font-weight-medium);
  color: rgba(250,247,242,0.85);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  transition: var(--transition-base);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  font-size: 1rem;
}

.primary-nav a:hover,
.primary-nav a.active {
  color: var(--color-gold-light);
  background: rgba(201,168,76,0.1);
}

.primary-nav .nav-academy {
  color: var(--color-gold-light);
  border: 1px solid rgba(201,168,76,0.3);
  margin-left: var(--space-2);
  font-size: 1rem;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-shrink: 0;
}

.header-donate {
  background: var(--gradient-primary);
  color: var(--color-white);
  padding: 0.625rem var(--space-5);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  transition: var(--transition-base);
  box-shadow: 0 2px 12px rgba(139,26,26,0.4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.header-donate:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(139,26,26,0.5);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition-base);
  transform-origin: center;
}

/* ============================================================
   HERO SLIDER
   ============================================================ */

.hero-slider {
  position: relative;
  height: 100svh;
  min-height: 37.5rem;
  overflow: hidden;
  background: var(--color-bg-dark);
}

/* Slides */
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  /* visibility hidden after fade-out completes — prevents ALL text bleed */
  visibility: hidden;
  transition: opacity 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              visibility 0s linear 1.4s;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2; /* always on top of any fading outgoing slide */
  /* visibility immediately visible on activate; opacity fades in */
  transition: opacity 1.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              visibility 0s linear;
}

/* Slide Background */
.hero-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  /* Ken Burns driven by JS rAF — no CSS transform/transition here */
  will-change: transform;
}

/* Slide Overlay */
.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

/* Temple pattern decorative overlay */
.hero-slide__pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.04'%3E%3Cpath d='M40 0L80 40L40 80L0 40z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
}

/* Slide Content */
.hero-slide__content {
  position: relative;
  z-index: 2;
  max-width: 56rem;
  padding-inline: var(--container-pad);
  margin-left: 0;
  margin-right: auto;
  width: 100%;
}

.hero-eyebrow {
  display: none; /* Eyebrows removed — cleaner hero typography */
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.8vw, var(--font-size-hero));
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  color: var(--color-white);
  margin-bottom: var(--space-6);
  opacity: 0;
  transform: translateY(1.5rem);
  /* EXIT transition: fast, no delay — clears well within the 1.4s slide fade */
  transition: opacity 0.35s ease 0s,
              transform 0.35s ease 0s;
}

.hero-title em {
  font-style: italic;
  color: var(--color-gold-light);
}

.hero-slide.is-active .hero-title {
  opacity: 1;
  transform: translateY(0);
  /* ENTER transition: slow, staggered — overrides the fast exit above */
  transition: opacity 0.9s var(--ease-smooth) 0.5s,
              transform 0.9s var(--ease-smooth) 0.5s;
}

.hero-subtitle {
  font-size: clamp(var(--font-size-base), 2vw, var(--font-size-xl));
  color: rgba(250,247,242,0.75);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-10);
  max-width: 36ch;
  opacity: 0;
  transform: translateY(1.5rem);
  /* EXIT transition: fast, no delay */
  transition: opacity 0.35s ease 0s,
              transform 0.35s ease 0s;
}

.hero-slide.is-active .hero-subtitle {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.9s var(--ease-smooth) 0.7s,
              transform 0.9s var(--ease-smooth) 0.7s;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  opacity: 0;
  transform: translateY(1.5rem);
  /* EXIT transition: fast, no delay */
  transition: opacity 0.35s ease 0s,
              transform 0.35s ease 0s;
}

.hero-slide.is-active .hero-actions {
  opacity: 1;
  transform: translateY(0);
  /* ENTER: delay 0.4s shorter than before, total 1.3s — stays within 1.4s slide fade */
  transition: opacity 0.9s var(--ease-smooth) 0.4s,
              transform 0.9s var(--ease-smooth) 0.4s;
}

/* Stats badge in hero */
.hero-stats-badge {
  display: inline-flex;
  gap: var(--space-8);
  margin-top: var(--space-12);
  padding: var(--space-5) var(--space-8);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

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

.hero-stat__value {
  font-family: var(--font-display);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-gold-light);
  line-height: 1;
}

.hero-stat__label {
  font-size: var(--font-size-xs);
  color: rgba(250,247,242,0.6);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  margin-top: var(--space-1);
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  bottom: var(--space-10);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.slider-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(250,247,242,0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
  padding: 0;
}

.slider-dot.is-active {
  background: var(--color-gold);
  width: 2rem;
}

.slider-arrows {
  position: absolute;
  bottom: var(--space-10);
  right: var(--container-pad);
  z-index: 10;
  display: flex;
  gap: var(--space-2);
}

.slider-arrow {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(250,247,242,0.25);
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
}

.slider-arrow:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(201,168,76,0.1);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-10);
  left: var(--container-pad);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: rgba(250,247,242,0.5);
  font-size: var(--font-size-xs);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  font-family: var(--font-accent);
}

.scroll-indicator__line {
  width: 0.125rem;
  height: 3rem;
  background: rgba(250,247,242,0.2);
  position: relative;
  overflow: hidden;
}

.scroll-indicator__line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  right: 0;
  height: 50%;
  background: var(--color-gold);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { top: -100%; }
  100% { top: 200%; }
}

/* ============================================================
   TRUST BAR
   ============================================================ */

.trust-bar {
  background: var(--color-bg-dark);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  padding-block: var(--space-6);
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: nowrap;
  overflow: hidden;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  color: rgba(250,247,242,0.6);
  font-size: var(--font-size-sm);
}

.trust-item__icon {
  color: var(--color-gold);
  flex-shrink: 0;
}

.trust-item__text strong {
  display: block;
  color: var(--color-text-inverse);
  font-weight: var(--font-weight-semibold);
  font-size: 1.1875rem; /* 19px */
  font-family: var(--font-display);
}

.trust-divider {
  width: 1px;
  height: 2.5rem;
  background: rgba(201,168,76,0.2);
}

/* ============================================================
   STORY SECTION
   ============================================================ */

/* ── 13-inch header compaction (1024–1440px) ── */
@media (min-width: 64rem) and (max-width: 90rem) {

  .site-header__inner {
    gap: var(--space-4);
  }

  .primary-nav {
    gap: 0;
  }

  .primary-nav a {
    font-size: 0.8rem;
    padding: var(--space-1) var(--space-2);
    letter-spacing: 0.04em;
  }

  .primary-nav .nav-academy {
    font-size: 0.8rem;
    padding: var(--space-1) var(--space-3);
    margin-left: var(--space-1);
  }

  .header-donate {
    font-size: 0.8rem;
    padding: 0.5rem var(--space-4);
    white-space: nowrap;
  }

  .header-actions {
    gap: var(--space-2);
    flex-shrink: 0;
  }

  .site-logo__name {
    font-size: 0.9rem;
  }

  .site-logo__tagline {
    font-size: 0.72rem;
  }
}
.programs-detail-grid {
  display: grid;
  grid-template-columns: 5fr 7fr; /* image narrower, text wider */
  gap: var(--space-16);
  align-items: start;
}

/* Reverse: text in HTML comes first, image second — flip so image appears left */
.programs-detail-grid--reverse {
  grid-template-columns: 7fr 5fr; /* text wider left, image narrower right */
}

.programs-detail-grid--reverse .programs-detail-text { order: 1; }
.programs-detail-grid--reverse .programs-detail-img   { order: 2; }

.programs-detail-img .story-img-frame {
  max-width: 100% !important;
  aspect-ratio: 4/5;
}

.programs-detail-text { min-width: 0; }

/* Wide banner under a program's text, above its button (Customizer → Programs Page — Wide Banners) */
.programs-banner {
  margin: var(--space-8) 0 0;
}
.programs-banner img {
  display: block;
  width: 100%;       /* = text column width */
  height: auto;      /* natural image proportions */
  border-radius: var(--radius-photo);
}

.programs-detail-text .section-label {
  margin-bottom: var(--space-3);
}

.programs-detail-text h2.section-heading {
  font-size: clamp(var(--font-size-2xl), 3.5vw, var(--font-size-4xl));
  margin-bottom: var(--space-5);
}

.programs-detail-text p {
  font-size: var(--font-size-md);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.programs-detail-text h3 {
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

@media (max-width: 64rem) {
  .programs-detail-grid,
  .programs-detail-grid--reverse {
    grid-template-columns: minmax(0, 1fr);
  }
  .programs-detail-grid--reverse .programs-detail-text,
  .programs-detail-grid--reverse .programs-detail-img {
    order: unset;
  }
}

.story-section {
  padding-block: var(--space-10) var(--space-20);
  background: var(--color-bg);
  overflow: hidden;
}

.story-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-24);
  align-items: center;
}

.story-visual {
  position: relative;
}

.story-img-frame {
  position: relative;
  border-radius: var(--radius-photo);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--color-bg-alt);
}

.story-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating accent card on image */
.story-accent-card {
  position: absolute;
  bottom: var(--space-6);
  right: calc(-1 * var(--space-8));
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-5) var(--space-6);
  box-shadow: var(--shadow-xl);
  max-width: 14rem;
  border: 1px solid var(--color-border);
}

.story-accent-card__value {
  font-family: var(--font-display);
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  line-height: 1;
}

.story-accent-card__label {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

/* Gold line decoration */
.story-gold-line {
  position: absolute;
  top: var(--space-8);
  left: calc(-1 * var(--space-6));
  width: 3px;
  height: 40%;
  background: var(--gradient-gold);
  border-radius: var(--radius-full);
}

/* Story text */
.story-content {
  max-width: 36rem;
}

.story-content .section-heading {
  margin-bottom: var(--space-6);
}

.story-content p {
  font-size: var(--font-size-md);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-6);
}

.story-quote {
  border-left: 3px solid var(--color-gold);
  padding-left: var(--space-6);
  margin-block: var(--space-8);
}

.story-quote p {
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  font-style: italic;
  color: var(--color-text);
  margin: 0;
}

.story-quote cite {
  display: block;
  font-size: var(--font-size-sm);
  font-style: normal;
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}

/* ============================================================
   PROBLEM SECTION
   ============================================================ */

.problem-section {
  padding-block: var(--space-24);
  background: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
}

.problem-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-gold);
  opacity: 0.4;
}

/* Background decorative element */
.problem-section__deco {
  position: absolute;
  right: -10rem;
  top: 50%;
  transform: translateY(-50%);
  width: 40rem;
  height: 40rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(201,168,76,0.06);
  pointer-events: none;
}

.problem-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-24);
  align-items: center;
}

.problem-content .section-heading {
  color: var(--color-text-inverse);
  margin-bottom: var(--space-6);
}

.problem-content p {
  font-size: var(--font-size-md);
  color: rgba(250,247,242,0.65);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-8);
}

.problem-points {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.problem-point {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  transition: var(--transition-base);
}

.problem-point:hover {
  border-color: rgba(201,168,76,0.4);
  background: rgba(201,168,76,0.06);
}

.problem-point__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  background: rgba(201,168,76,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  flex-shrink: 0;
}

.problem-point__text h4 {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-inverse);
  margin-bottom: var(--space-1);
}

.problem-point__text p {
  font-size: var(--font-size-sm);
  color: rgba(250,247,242,0.55);
  margin: 0;
  line-height: var(--line-height-normal);
}

/* ============================================================
   WHAT WE DO
   ============================================================ */

.what-we-do {
  padding-block: var(--space-32);
  background: var(--gradient-cultural);
}

.what-we-do__header {
  text-align: center;
  margin-bottom: var(--space-16);
}

/* Only the heading stays centered — body text is full-width left-aligned */
.what-we-do__header .section-subtext,
.what-we-do__header .wwd-expanded p {
  text-align: left;
  margin-inline: 0;
  margin-top: var(--space-4);
  max-width: none;
}

.wwd-intro {
  text-align: left;
  margin-inline: 0;
  max-width: none;
}

/* ── What We Do — Read More (native details/summary) ── */
.wwd-details {
  margin-top: var(--space-2);
}

/* Hide default browser triangle marker */
.wwd-details > summary {
  list-style: none;
}
.wwd-details > summary::-webkit-details-marker { display: none; }

/* The summary IS the button */
.wwd-read-more {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
  padding: var(--space-2) var(--space-5);
  background: transparent;
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: var(--radius-full);
  color: var(--color-gold);
  font-family: var(--font-accent);
  font-size: var(--font-size-sm);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--duration-base) ease,
              border-color var(--duration-base) ease;
  user-select: none;
}

.wwd-read-more:hover {
  background: rgba(201,168,76,0.1);
  border-color: var(--color-gold);
}

/* Show/hide labels based on open state */
.wwd-label-less { display: none; }
.wwd-details[open] .wwd-label-more { display: none; }
.wwd-details[open] .wwd-label-less { display: inline; }

/* Rotate chevron when open */
.wwd-read-more__icon {
  display: inline-flex;
  transition: transform 0.35s ease;
}
.wwd-details[open] .wwd-read-more__icon {
  transform: rotate(180deg);
}

/* Smooth expand animation */
.wwd-expanded {
  margin-top: var(--space-4);
  animation: wwdExpand 0.45s ease forwards;
}

@keyframes wwdExpand {
  from { opacity: 0; transform: translateY(-0.5rem); }
  to   { opacity: 1; transform: translateY(0); }
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: var(--space-6);
}

.program-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: var(--transition-base);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transition: transform var(--duration-slow) var(--ease-smooth);
  transform-origin: left;
}

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

.program-card:hover::before {
  transform: scaleX(1);
}

.program-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(139,26,26,0.1), rgba(201,168,76,0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: var(--space-6);
  transition: var(--transition-base);
}

.program-card:hover .program-card__icon {
  background: var(--gradient-primary);
  color: var(--color-white);
}

.program-card__title {
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-3);
  letter-spacing: var(--letter-spacing-tight);
}

.program-card__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-6);
}

.program-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  transition: var(--transition-base);
}

.program-card__link:hover {
  gap: var(--space-3);
  color: var(--color-gold-muted);
}

/* ============================================================
   IMPACT SECTION
   ============================================================ */

.impact-section {
  padding-block: var(--space-32);
  background: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
}

.impact-section__bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 18rem;
  font-weight: var(--font-weight-bold);
  color: rgba(201,168,76,0.03);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
}

.impact-section__header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-1);
  margin-bottom: var(--space-20);
}

.impact-stat {
  text-align: center;
  padding: var(--space-10) var(--space-6);
  border: 1px solid rgba(201,168,76,0.1);
  position: relative;
  transition: var(--transition-base);
}

.impact-stat:hover {
  background: rgba(201,168,76,0.04);
  border-color: rgba(201,168,76,0.25);
}

.impact-stat__number {
  font-family: var(--font-display);
  font-size: clamp(var(--font-size-3xl), 5vw, var(--font-size-5xl));
  font-weight: var(--font-weight-bold);
  color: var(--color-gold-light);
  line-height: 1;
  display: block;
  letter-spacing: var(--letter-spacing-tight);
}

.impact-stat__label {
  font-size: var(--font-size-sm);
  color: rgba(250,247,242,0.5);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  margin-top: var(--space-3);
  font-family: var(--font-accent);
}

/* Before/After toggle */
.transformation-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.transformation-card {
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
}

.transformation-card--before {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.transformation-card--after {
  background: linear-gradient(135deg, rgba(139,26,26,0.2), rgba(201,168,76,0.1));
  border: 1px solid rgba(201,168,76,0.2);
}

.transformation-card__tag {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: var(--font-size-xs);
  letter-spacing: var(--letter-spacing-widest);
  text-transform: uppercase;
  margin-bottom: var(--space-5);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

.transformation-card--before .transformation-card__tag {
  background: rgba(255,255,255,0.08);
  color: rgba(250,247,242,0.5);
}

.transformation-card--after .transformation-card__tag {
  background: rgba(201,168,76,0.2);
  color: var(--color-gold-light);
}

.transformation-card__text {
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  font-style: italic;
  color: rgba(250,247,242,0.8);
  line-height: var(--line-height-relaxed);
}

/* ============================================================
   REAL STORIES
   ============================================================ */

.stories-section {
  padding-block: var(--space-32);
  background: var(--color-bg);
  overflow: hidden;
}

.stories-section__header {
  margin-bottom: var(--space-16);
}

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

.story-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-photo);
  overflow: hidden;
  transition: var(--transition-base);
  cursor: default;
}

.story-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
  border-color: var(--color-border-gold);
}

.story-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--color-bg-alt);
}

.story-card__body {
  padding: var(--space-8);
}

.story-card__quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.5;
  color: var(--color-gold);
  opacity: 0.4;
  margin-bottom: var(--space-4);
}

.story-card__text {
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  font-style: italic;
  color: var(--color-text);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-6);
}

.story-card__person {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding-top: var(--space-5);
  border-top: 1px solid var(--color-border);
}

.story-card__avatar {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-full);
  object-fit: cover;
  background: var(--color-bg-alt);
  border: 2px solid var(--color-border-gold);
}

.story-card__name {
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  color: var(--color-text);
}

.story-card__role {
  font-size: var(--font-size-xs);
  color: var(--color-text-light);
}

/* Stories page: always ONE column at every breakpoint.
   Double-class selector so it beats the .stories-slider tablet/mobile rules below. */
.stories-slider.stories-slider--single {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.stories-slider--single .story-card__img {
  max-height: var(--story-single-img-max);   /* full-width photo shouldn't dwarf the text */
  object-position: center 25%;
}

/* Full-content story cards (Stories page dynamic grid):
   header first, no cropped text, no reserved image space when absent.
   Grid uses align-items:start (set inline) so taller cards don't force
   shorter neighbours to stretch. */
.story-card--full .story-card__person {
  padding-top: 0;
  border-top: none;
  padding-bottom: var(--space-4);
  margin-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.story-card--full .story-card__quote-mark {
  font-size: 2.5rem;
  margin-bottom: var(--space-2);
}

.story-card--full .story-card__text {
  font-size: var(--font-size-base);
  margin-bottom: 0;
}

.story-card--full .story-card__img {
  aspect-ratio: 4/3;
}

/* ============================================================
   EVENTS SECTION
   ============================================================ */

.events-section {
  padding-block: var(--space-32);
  background: var(--color-bg-alt);
}

.events-section__header {
  text-align: center;
  margin-bottom: var(--space-16);
}

/* 2-column grid — 1st event featured (span 2), rest 1-col */
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

/* First event is the hero card — spans both columns */
.events-grid .event-card:first-child {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
}

.events-grid .event-card:first-child .event-card__date-badge {
  min-width: 5rem;
  border-radius: var(--radius-photo);
  padding-block: var(--space-8);
}

.events-grid .event-card:first-child .event-card__body {
  padding: var(--space-8) var(--space-10);
  flex: 1;
}

.events-grid .event-card:first-child .event-card__title {
  font-size: var(--font-size-2xl);
}

/* Base event card */
.event-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-photo);
  overflow: hidden;
  transition: var(--transition-base);
}

.event-card:hover {
  border-color: var(--color-border-gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

/* Date badge — left stripe */
.event-card__date-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.125rem;
  background: linear-gradient(160deg, var(--color-primary), #6b0e0e);
  color: var(--color-white);
  padding: var(--space-4) var(--space-5);
  min-width: 4.5rem;
  flex-shrink: 0;
}

.event-card__day {
  font-family: var(--font-display);
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  line-height: 1;
  color: var(--color-gold-light);
}

.event-card__month {
  font-size: var(--font-size-xs);
  letter-spacing: var(--letter-spacing-widest);
  text-transform: uppercase;
  font-weight: var(--font-weight-semibold);
}

.event-card__year {
  font-size: 1rem;
  opacity: 0.7;
  letter-spacing: 0.05em;
}

/* Card body */
.event-card__body {
  padding: var(--space-6) var(--space-7);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.event-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.event-card__type {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(139,26,26,0.07);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

.event-card__location {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: var(--font-size-xs);
  color: var(--color-text-light);
}

.event-card__title {
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-2);
  line-height: var(--line-height-snug);
}

.event-card__excerpt {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  flex: 1;
  margin-bottom: var(--space-4);
}

.event-card__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-primary);
  text-decoration: none;
  transition: gap var(--duration-fast) var(--ease-smooth);
  margin-top: auto;
}

.event-card__link:hover {
  gap: var(--space-3);
  color: var(--color-primary-dark, #7a0f0f);
}

/* Past events — slight desaturation */
.event-card--past .event-card__date-badge {
  background: linear-gradient(160deg, #6b6b6b, #3a3a3a);
}

/* Responsive */
@media (max-width: 48rem) {
  .events-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .events-grid .event-card:first-child {
    grid-column: auto;
    flex-direction: column;
  }

  .events-grid .event-card:first-child .event-card__date-badge {
    border-radius: var(--radius-photo);
    flex-direction: row;
    gap: var(--space-3);
    padding: var(--space-4) var(--space-6);
    min-width: unset;
  }

  .events-grid .event-card {
    flex-direction: row;
  }

  .events-grid .event-card .event-card__date-badge {
    border-radius: var(--radius-photo);
    padding: var(--space-4) var(--space-5);
    min-width: 3.75rem;
  }
}

/* ============================================================
   CTA BLOCK
   ============================================================ */

.cta-block {
  padding-block: var(--space-32);
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.06'%3E%3Cpath d='M30 0L60 30L30 60L0 30z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-block__heading {
  font-family: var(--font-display);
  font-size: clamp(var(--font-size-2xl), 5vw, var(--font-size-4xl));
  font-weight: var(--font-weight-semibold);
  color: var(--color-white);
  letter-spacing: var(--letter-spacing-tight);
  line-height: var(--line-height-snug);
  margin-bottom: var(--space-4);
}

.cta-block__subtext {
  font-size: var(--font-size-lg);
  color: rgba(250,247,242,0.7);
  margin-bottom: var(--space-10);
}

.cta-block__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* ============================================================
   DONATION SECTION
   ============================================================ */

.donation-section {
  padding-block: var(--space-32);
  background: var(--color-bg);
}

.donation-section__header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.donation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-12);
}

.donation-card {
  background: var(--color-bg-card);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  text-align: center;
  transition: var(--transition-base);
  position: relative;
  cursor: pointer;
}

.donation-card--featured {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold);
}

.donation-card__badge {
  position: absolute;
  top: calc(-1 * var(--space-4));
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-gold);
  color: var(--color-bg-dark);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  white-space: nowrap;
  font-family: var(--font-accent);
}

.donation-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.donation-card__amount {
  font-family: var(--font-display);
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-1);
}

.donation-card__period {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.donation-card__title {
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.donation-card__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-8);
}

.donation-card__perks {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  text-align: left;
  margin-bottom: var(--space-8);
}

.donation-card__perk {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.donation-card__perk svg {
  color: var(--color-success);
  flex-shrink: 0;
}

/* Payment Methods */
.payment-methods {
  text-align: center;
  padding: var(--space-8);
  background: var(--color-bg-alt);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
}

.payment-methods__title {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  font-family: var(--font-accent);
  margin-bottom: var(--space-5);
}

.payment-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.payment-icon-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
}

/* ============================================================
   CSR SECTION
   ============================================================ */

.csr-section {
  padding-block: var(--space-32);
  background: var(--color-bg-alt);
}

.csr-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-24);
  align-items: center;
}

.csr-content .section-heading {
  margin-bottom: var(--space-6);
}

.csr-content p {
  font-size: var(--font-size-md);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-8);
}

.csr-areas {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-10);
}

.csr-area {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: var(--transition-base);
}

.csr-area:hover {
  border-color: var(--color-border-gold);
  box-shadow: var(--shadow-sm);
}

.csr-area__icon {
  color: var(--color-gold-muted);
  flex-shrink: 0;
}

.csr-area__text {
  font-weight: var(--font-weight-medium);
  color: var(--color-text);
  font-size: var(--font-size-base);
}

.csr-visual {
  position: relative;
}

.csr-visual__card {
  background: var(--color-bg-dark);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  border: 1px solid rgba(201,168,76,0.15);
}

.csr-visual__card h3 {
  font-family: var(--font-display);
  font-size: var(--font-size-2xl);
  color: var(--color-text-inverse);
  margin-bottom: var(--space-2);
}

.csr-visual__card p {
  color: rgba(250,247,242,0.55);
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-8);
}

.csr-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.csr-mini-stat {
  padding: var(--space-5);
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: var(--radius-lg);
  text-align: center;
}

.csr-mini-stat__value {
  font-family: var(--font-display);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-gold-light);
}

.csr-mini-stat__label {
  font-size: var(--font-size-xs);
  color: rgba(250,247,242,0.45);
  margin-top: var(--space-1);
}

/* ============================================================
   FOUNDER SECTION
   ============================================================ */

.founder-section {
  padding-block: var(--space-32);
  background: var(--color-bg);
}

.founder-section__inner {
  display: grid;
  grid-template-columns: 2fr 3fr;
  column-gap: var(--space-20);
  row-gap: var(--space-12);
  align-items: start;           /* photo top lines up with the eyebrow label */
}

/* Eyebrow becomes a block-level flex row with a tight line box, so the photo's top
   edge lines up with the eyebrow text (no inline-flex baseline strut / half-leading).
   margin-bottom adds back the half-leading so spacing below the label stays the same. */
.founder-content > .section-label {
  display: flex;
  line-height: 1;
  margin-bottom: calc(var(--space-4) + 0.35em);
}

/* Award pills: full-width row under both columns, flowing left → right */
.founder-section__inner > .founder-awards {
  grid-column: 1 / -1;
  margin-top: 0;
  min-width: 0;                 /* let long pill text wrap instead of widening the grid on phones */
}

.founder-visual {
  position: relative;
}

.founder-img-wrap {
  border-radius: var(--radius-photo);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--color-bg-alt);
}

.founder-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gold frame decoration */
.founder-frame {
  position: absolute;
  inset: -0.75rem;
  border-radius: var(--radius-photo);
  border: 1px solid var(--color-border-gold);
  pointer-events: none;
  z-index: -1;
}

/* Credentials strip */
.founder-creds {
  position: absolute;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(26,10,10,0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-lg);
  padding: var(--space-3) var(--space-5);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.founder-creds__dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--radius-full);
  background: var(--color-gold);
}

.founder-creds__text {
  font-size: var(--font-size-xs);
  color: var(--color-gold-light);
  font-family: var(--font-accent);
  letter-spacing: var(--letter-spacing-wide);
}

.founder-content .section-heading {
  margin-bottom: var(--space-3);
}

.founder-name {
  font-family: var(--font-display);
  font-size: clamp(var(--font-size-2xl), 4vw, var(--font-size-4xl));
  font-weight: var(--font-weight-semibold);
  letter-spacing: var(--letter-spacing-tight);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.founder-title {
  font-size: var(--font-size-base);
  color: var(--color-gold-muted);
  font-family: var(--font-accent);
  letter-spacing: var(--letter-spacing-wide);
  margin-bottom: var(--space-8);
}

.founder-content p,
.founder-more p {
  font-size: var(--font-size-md);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-5);
}

.founder-awards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));   /* 3 equal columns */
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.award-badge {
  display: flex;
  align-items: flex-start;               /* icon chip stays top-aligned however long the text is */
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--color-white);
  border: 1px solid var(--color-border-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  font-size: 0.9375rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.5;
  color: var(--color-text);
  transition: var(--transition-base);
}

.award-badge:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-gold);
}

/* Icon chip: fixed 44px circle, 22px glyph. !important beats the inline width/height that sf_icon() prints. */
.award-badge svg {
  box-sizing: border-box;
  flex: 0 0 2.75rem;
  width: 2.75rem !important;
  height: 2.75rem !important;
  padding: 0.6875rem;
  border-radius: var(--radius-full);
  background: rgba(201,168,76,0.16);
  color: var(--color-gold-muted);
}

/* Bio continuation: spans both columns under the photo row */
.founder-section__inner > .founder-more {
  grid-column: 1 / -1;
  min-width: 0;
}

/* ============================================================
   ACADEMY SECTION (SUBTLE)
   ============================================================ */

.academy-section {
  padding-block: var(--space-24);
  background: var(--color-bg-dark);
  border-top: 1px solid rgba(201,168,76,0.1);
}

.academy-section__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.academy-content .section-label {
  color: rgba(201,168,76,0.6);
}

.academy-content .section-heading {
  color: var(--color-text-inverse);
  margin-bottom: var(--space-4);
}

.academy-content p {
  color: rgba(250,247,242,0.55);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-8);
}

.academy-note {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-sm);
  color: rgba(250,247,242,0.5);
  margin-bottom: var(--space-8);
  line-height: var(--line-height-relaxed);
}

.academy-note svg {
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.academy-courses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.course-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  transition: var(--transition-base);
}

.course-card:hover {
  background: rgba(201,168,76,0.06);
  border-color: rgba(201,168,76,0.3);
}

.course-card__title {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-inverse);
  margin-bottom: var(--space-1);
}

.course-card__meta {
  font-size: var(--font-size-xs);
  color: rgba(250,247,242,0.4);
}

/* ============================================================
   STICKY DONATE BUTTON
   ============================================================ */

.sticky-donate {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: var(--z-overlay);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-3);
}

.sticky-donate__btn {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-6);
  background: var(--gradient-primary);
  color: var(--color-white);
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
  letter-spacing: var(--letter-spacing-wide);
  text-transform: uppercase;
  box-shadow: 0 8px 32px rgba(139,26,26,0.5);
  transition: var(--transition-base);
  text-decoration: none;
  border: none;
  cursor: pointer;
  animation: floatUp 3s ease-in-out infinite;
}

.sticky-donate__btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 48px rgba(139,26,26,0.6);
}

@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-4px); }
}

/* Pulse ring on sticky button */
.sticky-donate__btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  border: 2px solid var(--color-primary);
  opacity: 0;
  animation: pulseRing 2.5s ease-out infinite;
}

@keyframes pulseRing {
  0%   { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: #110505;
  border-top: 1px solid rgba(201,168,76,0.12);
  padding-top: var(--space-20);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-16);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-brand {
  max-width: 22rem;
}

.footer-brand .site-logo {
  margin-bottom: var(--space-5);
}

.footer-brand p {
  font-size: var(--font-size-sm);
  color: rgba(250,247,242,0.45);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-6);
}

.footer-socials {
  display: flex;
  gap: var(--space-3);
}

.footer-social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(250,247,242,0.5);
  transition: var(--transition-base);
}

.footer-social-link:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(201,168,76,0.08);
}

.footer-col h4 {
  font-family: var(--font-accent);
  font-size: var(--font-size-xs);
  letter-spacing: var(--letter-spacing-widest);
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: var(--space-6);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-col ul li a {
  font-size: var(--font-size-sm);
  color: rgba(250,247,242,0.45);
  transition: var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-col ul li a:hover {
  color: var(--color-gold-light);
  gap: var(--space-3);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--font-size-sm);
  color: rgba(250,247,242,0.45);
  line-height: var(--line-height-normal);
  margin-bottom: var(--space-3);
}

.footer-contact-item svg {
  color: var(--color-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding-block: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: var(--font-size-xs);
  color: rgba(250,247,242,0.25);
}

.footer-bottom__links {
  display: flex;
  gap: var(--space-6);
}

.footer-bottom__links a {
  font-size: var(--font-size-xs);
  color: rgba(250,247,242,0.25);
  transition: color var(--duration-base) var(--ease-smooth);
}

.footer-bottom__links a:hover {
  color: var(--color-gold-light);
}

/* Section 8 badge */
.section8-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-full);
  font-size: var(--font-size-xs);
  color: var(--color-gold-light);
  font-family: var(--font-accent);
  letter-spacing: var(--letter-spacing-wide);
  margin-top: var(--space-3);
}

/* ── FOOTER AWARDS ROW (dedicated full-width band) ─────── */
.footer-awards-row {
  border-top: 1px solid rgba(201,168,76,0.15);
  padding-block: var(--space-8) var(--space-6);
}

/* ── FOUNDER AWARDS ROW (standalone section on Home page,
     moved out of the footer — needs its own dark background) ── */
.founder-awards-row {
  background: #110505;
  padding-block: var(--space-16);
}

.founder-awards-row .container {
  padding-inline: var(--space-6);
}

.footer-awards-row__label {
  text-align: center;
  font-family: var(--font-accent);
  font-size: var(--font-size-xs);
  letter-spacing: var(--letter-spacing-widest, 0.18em);
  color: var(--color-gold-muted);
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

.founder-awards-row__label {
  text-align: center;
  font-family: var(--font-accent);
  font-size: var(--font-size-xs);
  letter-spacing: var(--letter-spacing-widest, 0.18em);
  color: var(--color-gold-muted);
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}

.footer-awards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  justify-content: center;
  gap: var(--space-4);
  width: 100%;
}

.footer-award-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: default;
  position: relative;
}

.footer-award-wreath {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
  opacity: 0.82;
  transition: opacity var(--duration-base) var(--ease-smooth),
              transform var(--duration-base) var(--ease-smooth);
}

.footer-award-item:hover .footer-award-wreath {
  opacity: 1;
  transform: translateY(-3px);
}

/* Size the wreath — width is set inline from the Customizer control */
.footer-award-wreath__svg {
  height: auto;
  filter: drop-shadow(0 2px 8px rgba(201,168,76,0.12));
  transition: filter var(--duration-base) var(--ease-smooth);
}

.footer-award-item:hover .footer-award-wreath__svg {
  filter: drop-shadow(0 4px 20px rgba(201,168,76,0.32));
}

.footer-award-year {
  display: none; /* year is now inside the SVG */
}

/* Card label below wreath */
.footer-award-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  margin-top: var(--space-2);
  text-align: center;
}

.footer-award-card__line1 {
  font-family: var(--font-accent);
  font-size: 1.2rem;
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.06em;
  color: var(--color-gold-muted);
  text-transform: uppercase;
  line-height: 1.3;
}

.footer-award-card__line2 {
  font-family: var(--font-accent);
  font-size: 1.2rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.06em;
  color: var(--color-gold-light);
  text-transform: uppercase;
  line-height: 1.2;
}

.footer-award-card__org {
  font-family: var(--font-base);
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  color: rgba(201,168,76,0.45);
  line-height: 1.3;
  margin-top: 0.1rem;
}

/* Tooltip on hover */
.footer-award-item::after {
  content: attr(title);
  position: absolute;
  bottom: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  white-space: normal;
  max-width: 12rem;
  text-align: center;
  background: rgba(26,10,10,0.95);
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--color-gold-light);
  font-family: var(--font-accent);
  font-size: 1rem;
  letter-spacing: 0.06em;
  line-height: 1.5;
  padding: 0.35rem 0.55rem;
  border-radius: var(--radius-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 20;
}
.footer-award-item:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Tablet: 3 per row */
@media (max-width: 64rem) {
  .footer-awards {
    grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  }
}

/* Mobile: 3 per row, small text */
@media (max-width: 40rem) {
  .bdf-objectives > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  .footer-awards {
    grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr));
    gap: var(--space-2);
  }
  .footer-award-wreath__svg {
    max-width: 5.5rem;
  }
  .footer-award-card__line1,
  .footer-award-card__line2 {
    font-size: 1rem;
    letter-spacing: 0.03em;
  }
  .footer-award-card__org {
    font-size: 0.9rem;
  }
  .footer-award-year {
    font-size: 0.9rem;
  }
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */

@media (max-width: 64rem) {
  .footer-awards {
    grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr));
  }

  .story-section__inner,
  .problem-section__inner,
  .csr-section__inner,
  .founder-section__inner,
  .academy-section__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-12);
  }

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

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

  .donation-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 28rem;
    margin-inline: auto;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .story-accent-card {
    right: var(--space-4);
  }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */

@media (max-width: 48rem) {

  :root {
    --font-size-hero: 3rem;
  }

  .primary-nav,
  .trust-divider { display: none; }

  .menu-toggle { display: flex; }

  /* Hamburger always visible */
  .menu-toggle span {
    background: var(--color-white);
  }
  .site-header:not(.is-scrolled) .menu-toggle {
    background: rgba(26,10,10,0.35);
    border-radius: var(--radius-md);
  }

  /* Hide donate button in header on mobile — sticky FAB handles it */
  .header-donate {
    display: none;
  }

  /* Logo — smaller on mobile */
  .site-header__inner {
    gap: var(--space-2);
  }
  .site-logo {
    gap: var(--space-2);
    flex-shrink: 1;
    min-width: 0;
  }
  .site-logo__text {
    min-width: 0;
  }
  .site-logo__image {
    height: 2rem;
    max-width: 48px;
    flex-shrink: 0;
  }
  .site-logo__name {
    font-size: 0.55rem;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  .site-logo__tagline {
    font-size: 0.5rem;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }

  .hero-stats-badge {
    gap: var(--space-5);
    padding: var(--space-4) var(--space-5);
  }

  .hero-stats-badge .hero-stat {
    flex: 1;
  }

  /* Trust bar — 2-column grid */
  .trust-bar__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4) var(--space-5);
    align-items: start;
  }

  /* Section spacing — tighter on mobile */
  .story-section,
  .problem-section,
  .what-we-do,
  .field-gallery,
  .impact-section,
  .stories-section,
  .events-section,
  .cta-section,
  .founder-section,
  .donation-section,
  .partners-section {
    padding-block: var(--space-12);
  }

  /* Sticky donate — prevent right-edge overflow */
  .sticky-donate {
    right: var(--space-3);
    bottom: var(--space-3);
  }
  .sticky-donate__btn {
    font-size: 0.75rem;
    padding: var(--space-3) var(--space-4);
  }

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

  .transformation-block {
    grid-template-columns: minmax(0, 1fr);
  }

  .stories-slider {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .academy-courses {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .csr-stat-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ============================================================
   MOBILE NAV DRAWER
   ============================================================ */

.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(26,10,10,0.98);
  backdrop-filter: blur(24px);
  z-index: var(--z-modal);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  transform: translateX(100%);
  transition: transform var(--duration-slow) var(--ease-smooth);
}

.mobile-nav.is-open {
  transform: translateX(0);
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: var(--font-size-3xl);
  font-style: italic;
  color: rgba(250,247,242,0.7);
  letter-spacing: var(--letter-spacing-tight);
  transition: var(--transition-base);
}

.mobile-nav a:hover {
  color: var(--color-gold-light);
}

.mobile-nav__close {
  position: absolute;
  top: var(--space-6);
  right: var(--container-pad);
  color: rgba(250,247,242,0.5);
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-base);
}

.mobile-nav__close:hover {
  color: var(--color-white);
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--gradient-gold);
  z-index: calc(var(--z-sticky) + 1);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.1s linear;
}

/* ============================================================
   WORDPRESS NATIVE CLASSES
   ============================================================ */

.wp-block-image img { border-radius: var(--radius-photo); }
.aligncenter { text-align: center; margin-inline: auto; }
.alignleft { float: left; margin-right: var(--space-6); }
.alignright { float: right; margin-left: var(--space-6); }
.wp-caption { font-size: var(--font-size-sm); color: var(--color-text-muted); }

/* Comments */
.comment-list { margin-top: var(--space-8); }
.comment-body {
  padding: var(--space-6);
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
}

/* Accessible focus */
:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Selection */
::selection {
  background: rgba(201,168,76,0.3);
  color: var(--color-text);
}
/* ============================================================
   PAGES ADDITIONAL STYLES
   Appended to style.css — all new page components
   ============================================================ */

/* ──────────────────────────────────────────────
   PAGE HERO (shared across inner pages)
   ────────────────────────────────────────────── */

.page-hero {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-bg-dark);
}

.page-hero--short {
  min-height: 50vh;
}

.page-hero--dark .page-hero__overlay {
  background: linear-gradient(160deg, rgba(26,10,10,0.92) 0%, rgba(92,14,14,0.55) 100%);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 8s var(--ease-smooth);
}

.page-hero:hover .page-hero__bg {
  transform: scale(1.01);
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(26,10,10,0.88) 0%, rgba(92,14,14,0.5) 100%);
}

.page-hero__inner {
  position: relative;
  z-index: 2;
  padding-block: calc(var(--space-32) + 5rem) var(--space-20);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
  max-width: var(--container-md);
}

.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-accent);
  font-size: var(--font-size-xs);
  letter-spacing: var(--letter-spacing-widest);
  text-transform: uppercase;
  color: var(--color-gold-light);
}

.page-hero__eyebrow::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: var(--gradient-gold);
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5.2vw, 5rem);
  font-weight: var(--font-weight-semibold);
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
  color: var(--color-white);
}

.page-hero__title em {
  font-style: italic;
  color: var(--color-gold-light);
}

.page-hero__sub {
  font-size: clamp(var(--font-size-base), 2vw, var(--font-size-lg));
  color: rgba(250,247,242,0.7);
  line-height: var(--line-height-relaxed);
  max-width: 44ch;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

/* Page hero text alignment (Stories + CSR; Customizer → Hero Text Alignment).
   'left' is the original layout and needs no rules. */
.page-hero__inner--center {
  align-items: center;
  text-align: center;
}
.page-hero__inner--center .page-hero__actions { justify-content: center; }

.page-hero__inner--right {
  align-items: flex-end;
  text-align: right;
}
.page-hero__inner--right .page-hero__actions { justify-content: flex-end; }

.page-hero__scroll-hint {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
}

/* ──────────────────────────────────────────────
   ABOUT PAGE — MISSION CARDS
   ────────────────────────────────────────────── */

.about-mission {
  padding-block: var(--space-24);
  background: var(--color-bg);
}

.about-mission__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  align-items: stretch; /* force equal height across all three cards */
}

.mission-card {
  padding: var(--space-10);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  position: relative;
  overflow: hidden;
  transition: var(--transition-base);
  /* flex column so content fills height evenly */
  display: flex;
  flex-direction: column;
}

.mission-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,168,76,0.04), transparent);
  opacity: 0;
  transition: opacity var(--duration-slow) var(--ease-smooth);
}

/* Top accent stripe — each card gets a unique colour hint */
.mission-card:nth-child(1)::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), transparent);
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}
.mission-card:nth-child(2)::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), transparent);
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}
.mission-card:nth-child(3)::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary-light, #b84444), transparent);
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
}

.mission-card:hover {
  border-color: var(--color-border-gold);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.mission-card:hover::before { opacity: 1; }

.mission-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, rgba(139,26,26,0.1), rgba(201,168,76,0.1));
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: var(--space-6);
  flex-shrink: 0;
}

.mission-card__title {
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.mission-card p {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  flex: 1; /* absorb extra height — cards always match tallest sibling */
}

/* ──────────────────────────────────────────────
   TIMELINE
   ────────────────────────────────────────────── */

.timeline-section {
  padding-block: var(--space-32);
  background: var(--color-bg-alt);
}

.timeline-section__header {
  margin-bottom: var(--space-16);
}

.timeline {
  position: relative;
  max-width: 56rem;
  margin-inline: auto;
  padding-inline: var(--space-8);
}

.timeline-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--color-border-gold) 10%, var(--color-border-gold) 90%, transparent);
  transform: translateX(-50%);
  z-index: 0;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-8);
  margin-bottom: var(--space-10);
  position: relative;
  z-index: 1;
}

.timeline-item--right {
  flex-direction: row-reverse;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: var(--space-4);
  width: 0.875rem;
  height: 0.875rem;
  border-radius: var(--radius-full);
  background: var(--color-gold);
  border: 3px solid var(--color-bg-alt);
  transform: translateX(-50%);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(201,168,76,0.2);
}

.timeline-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6) var(--space-8);
  max-width: calc(50% - var(--space-12));
  transition: var(--transition-base);
}

.timeline-item--left  .timeline-card { margin-right: auto; text-align: right; }
.timeline-item--right .timeline-card { margin-left:  auto; text-align: left;  }

.timeline-card:hover {
  border-color: var(--color-border-gold);
  box-shadow: var(--shadow-md);
}

.timeline-card__year {
  font-family: var(--font-accent);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-gold-muted);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.timeline-card__title {
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.timeline-card__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

/* ──────────────────────────────────────────────
   ABOUT — CLARITY SECTION
   ────────────────────────────────────────────── */

.about-clarity-section {
  padding-block: var(--space-24);
  background: var(--color-bg-dark);
}

.about-clarity-section__header {
  margin-bottom: var(--space-16);
}

.clarity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  max-width: var(--container-lg);
  margin-inline: auto;
}

.clarity-card {
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  border: 1px solid;
}

.clarity-card--ngo {
  background: rgba(139,26,26,0.12);
  border-color: rgba(139,26,26,0.25);
}

.clarity-card--academy {
  background: rgba(201,168,76,0.06);
  border-color: rgba(201,168,76,0.2);
}

.clarity-card__header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.clarity-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.clarity-card--ngo    .clarity-card__icon { background: rgba(139,26,26,0.2); color: #E8A0A0; }
.clarity-card--academy .clarity-card__icon { background: rgba(201,168,76,0.15); color: var(--color-gold-light); }

.clarity-card__header h3 {
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  color: var(--color-text-inverse);
  flex: 1;
}

.clarity-card__tag {
  display: inline-block;
  font-family: var(--font-accent);
  font-size: var(--font-size-xs);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  align-self: flex-start;
}

.clarity-card__tag--primary { background: rgba(139,26,26,0.3); color: #E8A0A0; }
.clarity-card__tag--gold    { background: rgba(201,168,76,0.2); color: var(--color-gold-light); }

.clarity-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.clarity-list li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--font-size-sm);
  color: rgba(250,247,242,0.7);
  line-height: var(--line-height-normal);
}

.clarity-list li svg { color: var(--color-gold); flex-shrink: 0; }

/* ──────────────────────────────────────────────
   ACADEMY — COURSE FILTER TABS
   ────────────────────────────────────────────── */

.course-filter {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}

.course-filter__btn {
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border);
  background: var(--color-bg-card);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition-base);
  font-family: var(--font-body);
}

.course-filter__btn:hover {
  border-color: var(--color-border-gold);
  color: var(--color-gold-muted);
}

.course-filter__btn.is-active {
  background: var(--gradient-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(139,26,26,0.3);
}

/* ──────────────────────────────────────────────
   ACADEMY — COURSE CARD FULL (the main cards)
   ────────────────────────────────────────────── */

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

.course-card-full {
  background: var(--color-bg-card);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
  transition: var(--transition-base);
  overflow: hidden;
}

.course-card-full::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
  transform: scaleX(0);
  transition: transform var(--duration-slow) var(--ease-smooth);
  transform-origin: left;
}

.course-card-full:hover {
  border-color: var(--color-border-gold);
  box-shadow: var(--shadow-xl);
  transform: translateY(-6px);
}

.course-card-full:hover::before { transform: scaleX(1); }

.course-card-full--featured {
  border-color: var(--color-gold);
  background: linear-gradient(145deg, #FFFFFF, #FDF9F2);
  box-shadow: var(--shadow-gold);
}

.course-card-full--featured::before { transform: scaleX(1); }

/* Badge */
.course-card-full__badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  font-family: var(--font-accent);
  font-size: var(--font-size-xs);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  font-weight: var(--font-weight-semibold);
}

.course-card-full__badge--gold {
  background: var(--gradient-gold);
  color: var(--color-bg-dark);
}

.course-card-full__badge--primary {
  background: var(--gradient-primary);
  color: var(--color-white);
}

/* Level number */
.course-card-full__level {
  font-family: var(--font-accent);
  font-size: var(--font-size-xs);
  letter-spacing: var(--letter-spacing-widest);
  color: var(--color-text-light);
  text-transform: uppercase;
}

/* Icon */
.course-card-full__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(139,26,26,0.08), rgba(201,168,76,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: var(--transition-base);
}

.course-card-full:hover .course-card-full__icon,
.course-card-full--featured .course-card-full__icon {
  background: var(--gradient-primary);
  color: var(--color-white);
}

.course-card-full__title {
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  line-height: var(--line-height-snug);
  letter-spacing: var(--letter-spacing-tight);
}

.course-card-full__subtitle {
  font-size: var(--font-size-sm);
  color: var(--color-gold-muted);
  font-style: italic;
  font-family: var(--font-display);
}

/* Meta row */
.course-card-full__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding-block: var(--space-3);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.course-card-full__meta span {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.course-card-full__meta svg { color: var(--color-gold); }

.course-card-full__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  flex: 1;
}

/* Outcomes */
.course-card-full__outcomes {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.course-card-full__outcomes li {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

.course-card-full__outcomes li svg { color: var(--color-success); flex-shrink: 0; }

/* Fee */
.course-card-full__fee {
  display: flex;
  align-items: baseline;
  gap: var(--space-1);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  margin-top: auto;
}

.course-card-full__fee-amount {
  font-family: var(--font-display);
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary);
  line-height: 1;
}

.course-card-full__fee-period {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* ──────────────────────────────────────────────
   ACADEMY — PROCESS STEPS
   ────────────────────────────────────────────── */

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 3rem;
  left: 12.5%;
  right: 12.5%;
  height: 1px;
  background: var(--gradient-gold);
  opacity: 0.3;
  pointer-events: none;
}

.process-step {
  text-align: center;
  padding: var(--space-6);
  position: relative;
}

.process-step__num {
  font-family: var(--font-accent);
  font-size: var(--font-size-xs);
  letter-spacing: var(--letter-spacing-widest);
  color: var(--color-text-light);
  margin-bottom: var(--space-3);
}

.process-step__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-muted);
  margin-inline: auto;
  margin-bottom: var(--space-5);
  position: relative;
  z-index: 1;
  background: var(--color-bg);
  transition: var(--transition-base);
}

.process-step:hover .process-step__icon {
  background: var(--gradient-gold);
  color: var(--color-bg-dark);
  border-color: transparent;
  transform: scale(1.1);
}

.process-step__title {
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.process-step__desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

/* ──────────────────────────────────────────────
   FAQ ACCORDION
   ────────────────────────────────────────────── */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: border-color var(--duration-base) var(--ease-smooth);
}

.faq-item:has(.faq-item__question[aria-expanded="true"]),
.faq-item.is-open {
  border-color: var(--color-border-gold);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  transition: color var(--duration-base) var(--ease-smooth);
}

.faq-item__question:hover { color: var(--color-primary); }

.faq-item__question[aria-expanded="true"] { color: var(--color-primary); }

.faq-item__question svg {
  flex-shrink: 0;
  color: var(--color-gold);
  transition: transform var(--duration-base) var(--ease-smooth);
}

.faq-item__question[aria-expanded="true"] svg { transform: rotate(180deg); }

.faq-item__answer {
  padding: 0 var(--space-6) var(--space-5);
}

.faq-item__answer p {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
}

/* ──────────────────────────────────────────────
   DONATION PAGE LAYOUT
   ────────────────────────────────────────────── */

.donate-layout {
  display: grid;
  grid-template-columns: 1fr 22rem;
  gap: var(--space-12);
  align-items: start;
}

.donate-form-col {
  min-width: 0;
}

.donate-info-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  position: sticky;
  top: calc(5rem + var(--space-8));
}

/* Tier selector */
.donate-tier-selector {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  margin-bottom: var(--space-8);
}

/* Frequency toggle */
.donate-freq-toggle {
  display: flex;
  background: var(--color-bg-alt);
  border-radius: var(--radius-full);
  padding: var(--space-1);
  gap: var(--space-1);
  width: fit-content;
  margin-bottom: var(--space-8);
}

.donate-freq-btn {
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
  cursor: pointer;
  transition: var(--transition-base);
  font-family: var(--font-body);
}

.donate-freq-btn.is-active {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  font-weight: var(--font-weight-semibold);
}

/* Amount tiles */
.donate-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.donate-amount-tile {
  position: relative;
  background: var(--color-bg);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-5) var(--space-4);
  cursor: pointer;
  transition: var(--transition-base);
  text-align: center;
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-1);
}

.donate-amount-tile:hover {
  border-color: var(--color-primary);
  background: rgba(139,26,26,0.04);
}

.donate-amount-tile.is-selected,
.donate-amount-tile--popular.is-selected {
  border-color: var(--color-primary);
  background: rgba(139,26,26,0.07);
  box-shadow: 0 0 0 3px rgba(139,26,26,0.12);
}

.donate-amount-tile--popular {
  border-color: var(--color-gold);
  background: rgba(201,168,76,0.05);
}

.donate-amount-tile__popular {
  position: absolute;
  top: calc(-1 * var(--space-3));
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-gold);
  color: var(--color-bg-dark);
  font-size: 1rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  padding: 2px var(--space-3);
  border-radius: var(--radius-full);
  white-space: nowrap;
  font-family: var(--font-accent);
}

.donate-amount-tile__val {
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
}

.donate-amount-tile__label {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* Custom amount */
.donate-custom {
  margin-bottom: var(--space-6);
}

.donate-custom input:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(139,26,26,0.1);
}

/* Summary strip */
.donate-summary {
  padding: var(--space-3) var(--space-5);
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  min-height: 2.5rem;
  display: flex;
  align-items: center;
}

/* Sidebar boxes */
.donate-impact-box {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}

.donate-impact-box h3 {
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  color: var(--color-text);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
}

.donate-impact-list { display: flex; flex-direction: column; gap: var(--space-3); }

.donate-impact-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.donate-impact-item__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(139,26,26,0.08), rgba(201,168,76,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

.donate-impact-item strong {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
}

.donate-impact-item span {
  display: block;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.donate-payment-box {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}

.donate-payment-box h3 {
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}

.payment-method-list { display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-5); }

.payment-method-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--font-size-sm);
}

.payment-method-item__icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-md);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-muted);
  flex-shrink: 0;
}

.payment-method-item strong { display: block; color: var(--color-text); font-weight: var(--font-weight-semibold); }
.payment-method-item span   { color: var(--color-text-muted); font-size: var(--font-size-xs); }

/* QR */
.donate-qr {
  text-align: center;
  padding: var(--space-5);
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--color-border-gold);
}

.donate-qr img { margin-inline: auto; border-radius: var(--radius-photo); }

.donate-qr__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-text-light);
  font-size: var(--font-size-xs);
  padding: var(--space-4);
}

.donate-qr p { font-size: var(--font-size-xs); color: var(--color-text-muted); margin-top: var(--space-3); }

/* Tax box */
.donate-tax-box {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5);
  background: rgba(46,125,50,0.06);
  border: 1px solid rgba(46,125,50,0.2);
  border-radius: var(--radius-xl);
}

.donate-tax-box svg { color: var(--color-success); flex-shrink: 0; margin-top: 2px; }
.donate-tax-box strong { display: block; font-size: var(--font-size-sm); font-weight: var(--font-weight-semibold); color: var(--color-success); margin-bottom: var(--space-1); }
.donate-tax-box p { font-size: var(--font-size-xs); color: var(--color-text-muted); line-height: var(--line-height-relaxed); }

/* ──────────────────────────────────────────────
   ENROLLMENT FORM WRAPPER
   (Applies to academy + CSR + contact forms)
   ────────────────────────────────────────────── */

.enrollment-form-wrap {
  background: rgba(250,247,242,0.04);
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
}

/* FluentForms global overrides — enrollment forms only (academy / CSR / contact) */
.enrollment-form-wrap .ff-el-group label {
  font-size: var(--font-size-sm) !important;
  font-weight: var(--font-weight-medium) !important;
  color: var(--color-text) !important;
  margin-bottom: var(--space-2) !important;
  font-family: var(--font-body) !important;
}

.enrollment-form-wrap .ff-el-form-control {
  border: 1.5px solid var(--color-border) !important;
  border-radius: var(--radius-lg) !important;
  padding: var(--space-3) var(--space-4) !important;
  font-size: var(--font-size-base) !important;
  font-family: var(--font-body) !important;
  color: var(--color-text) !important;
  background: var(--color-bg-card) !important;
  transition: border-color var(--duration-base) var(--ease-smooth) !important;
  box-shadow: none !important;
}

.enrollment-form-wrap .ff-el-form-control:focus {
  border-color: var(--color-primary) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(139,26,26,0.1) !important;
}

.enrollment-form-wrap .ff_submit_btn_wrapper .ff-btn {
  background: var(--gradient-primary) !important;
  color: var(--color-white) !important;
  border: none !important;
  border-radius: var(--radius-full) !important;
  padding: 0.875rem var(--space-10) !important;
  font-size: var(--font-size-sm) !important;
  font-weight: var(--font-weight-semibold) !important;
  letter-spacing: var(--letter-spacing-wide) !important;
  text-transform: uppercase !important;
  font-family: var(--font-body) !important;
  cursor: pointer !important;
  transition: var(--transition-base) !important;
  box-shadow: 0 4px 20px rgba(139,26,26,0.4) !important;
}

.enrollment-form-wrap .ff_submit_btn_wrapper .ff-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 32px rgba(139,26,26,0.5) !important;
}

/* ──────────────────────────────────────────────
   NATIVE DONATION FORM  (.sf-form-* / .donate-card-*)
   ────────────────────────────────────────────── */

/* Trust bar above the main section */
.donate-trust-bar {
  background: var(--color-bg-dark);
  padding-block: var(--space-5);
  border-bottom: 1px solid rgba(201,168,76,0.12);
}
.donate-trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-10);
  flex-wrap: wrap;
}
.donate-trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  color: rgba(250,247,242,0.55);
}
.donate-trust-item__icon { color: var(--color-gold); display: flex; }

/* Main section padding */
.donate-section {
  padding-block: var(--space-24);
  background: var(--color-bg);
}

/* Two-card stack in left column */
.donate-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  margin-bottom: var(--space-6);
}

.donate-card__head {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-7);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-border);
}

.donate-step-badge {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  flex-shrink: 0;
  font-family: var(--font-body);
  line-height: 1;
}

.donate-card__title {
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  color: var(--color-text);
  margin: 0 0 var(--space-1);
}

.donate-card__sub {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin: 0;
}

/* Custom amount wrap */
.donate-custom__wrap {
  position: relative;
}
.donate-custom__prefix {
  position: absolute;
  left: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  color: var(--color-text-muted);
  pointer-events: none;
}
.donate-custom__input {
  padding-left: var(--space-10) !important;
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
}

/* Summary strip */
.donate-summary__text { font-size: var(--font-size-sm); color: var(--color-text-muted); }
.donate-summary__text strong { color: var(--color-text); }

/* CTA wrap inside card 2 */
.donate-cta-wrap {
  margin-top: var(--space-8);
  padding-top: var(--space-7);
  border-top: 1px solid var(--color-border);
}
.donate-cta-btn {
  width: 100%;
  justify-content: center;
  gap: var(--space-2);
}
.donate-cta-disclaimer {
  font-size: var(--font-size-xs);
  color: var(--color-text-light);
  text-align: center;
  margin-top: var(--space-3);
}

/* Help box */
.donate-help-box {
  padding: var(--space-6);
  background: var(--color-bg-alt);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  text-align: center;
}
.donate-help-box p {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}
.donate-help-box__phone {
  font-family: var(--font-display);
  font-size: var(--font-size-xl);
  color: var(--color-primary);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
}
.donate-help-box__phone:hover { text-decoration: underline; }

/* Trust strip */
.donate-trust-strip {
  padding-block: var(--space-20);
  background: var(--color-bg-dark);
  border-top: 1px solid rgba(201,168,76,0.1);
}

/* ── Native form inputs (.sf-form-*) ── */

.sf-form-row {
  margin-bottom: var(--space-5);
}

.sf-form-row--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.sf-form-group {
  display: flex;
  flex-direction: column;
}

.sf-form-label {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
  font-family: var(--font-body);
  line-height: 1.4;
}

.sf-form-label__hint {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-normal);
  color: var(--color-text-light);
}

.sf-required {
  color: var(--color-primary);
  line-height: 1;
}

.sf-form-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-base);
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  outline: none;
  transition: border-color var(--duration-base) var(--ease-smooth),
              box-shadow   var(--duration-base) var(--ease-smooth);
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

.sf-form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(139,26,26,0.1);
}

.sf-form-input.is-error {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}

.sf-form-input--upper {
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.sf-form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  padding-right: var(--space-10);
  cursor: pointer;
}

.sf-form-textarea {
  resize: vertical;
  min-height: 5rem;
  line-height: var(--line-height-relaxed);
}

/* Notice (success / error) */
.sf-form-notice {
  display: none;
  margin-bottom: var(--space-6);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-lg);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-relaxed);
}

.sf-notice--success {
  display: block;
  background: rgba(46,125,50,0.08);
  border: 1px solid rgba(46,125,50,0.3);
  color: #2e7d32;
}

.sf-notice--error {
  display: block;
  background: rgba(220,38,38,0.07);
  border: 1px solid rgba(220,38,38,0.3);
  color: #b91c1c;
}

/* Per-field inline error message (injected by JS) */
.sf-field-error {
  display: block;
  margin-top: var(--space-1);
  font-size: var(--font-size-xs);
  color: #b91c1c;
  font-weight: var(--font-weight-medium);
  min-height: 1rem;   /* reserve space to prevent layout shift */
}

/* Responsive */
@media (max-width: 36rem) {
  .sf-form-row--2col { grid-template-columns: minmax(0, 1fr); }
  .donate-trust-bar__inner { gap: var(--space-5); }
}

/* ──────────────────────────────────────────────
   ABOUT FOUNDER (used on about page too)
   ────────────────────────────────────────────── */

.about-founder-section {
  padding-block: var(--space-32);
  background: var(--color-bg-alt);
}

/* ──────────────────────────────────────────────
   IMAGE PLACEHOLDER
   ────────────────────────────────────────────── */

.img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: var(--space-3);
  color: var(--color-text-light);
  font-size: var(--font-size-sm);
}

/* ──────────────────────────────────────────────
   FORM FALLBACK
   ────────────────────────────────────────────── */

.form-fallback {
  text-align: center;
  padding: var(--space-12);
  background: rgba(201,168,76,0.04);
  border-radius: var(--radius-xl);
  border: 1px dashed rgba(201,168,76,0.3);
  color: var(--color-text-muted);
}

.form-fallback svg { color: var(--color-gold); margin-inline: auto; display: block; }

/* ──────────────────────────────────────────────
   RESPONSIVE PAGES
   ────────────────────────────────────────────── */

@media (max-width: 64rem) {
  .about-mission__grid,
  .clarity-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .process-steps::before { display: none; }

  .donate-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .donate-info-col {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .timeline-card {
    max-width: 80%;
  }
}

@media (max-width: 48rem) {
  .about-mission__grid,
  .clarity-grid,
  .course-cards-grid,
  .process-steps {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .donate-info-col { grid-template-columns: minmax(0, 1fr); }

  .timeline-item,
  .timeline-item--right { flex-direction: column; }

  .timeline-card,
  .timeline-item--left  .timeline-card,
  .timeline-item--right .timeline-card {
    max-width: 100%;
    text-align: left;
    margin: 0 0 0 2.5rem;
  }

  .timeline-dot {
    left: 0;
    top: var(--space-4);
    transform: none;
  }

  .timeline-line { left: 0.4rem; }

  .page-hero__inner { padding-top: calc(var(--space-24) + 4rem); }
}
/* ============================================================
   HERO ENHANCED — Premium additions to existing hero-slider
   Layered on top of style.css, no overwrites of base rules
   ============================================================ */

/* ──────────────────────────────────────────────
   1. HEADER OVERLAP FIX
   Transparent header → hero fills full viewport height
   Header scrolled state now gets light ivory bg
   ────────────────────────────────────────────── */

/* Light theme header: transparent on hero, ivory on scroll */
.site-header {
  background: transparent;
}

/* Override the dark scrolled state for light-theme hero */
.site-header.is-scrolled {
  background: rgba(250, 247, 242, 0.96) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 32px rgba(26, 10, 10, 0.08) !important;
}

/* Make nav links dark once scrolled */
.site-header.is-scrolled .primary-nav a {
  color: var(--color-text-muted);
}
.site-header.is-scrolled .primary-nav a:hover {
  color: var(--color-primary);
  background: rgba(139, 26, 26, 0.06);
}
.site-header.is-scrolled .site-logo__name {
  color: var(--color-text);
}
.site-header.is-scrolled .site-logo__tagline {
  color: var(--color-gold-muted);
}
.site-header.is-scrolled .menu-toggle span {
  background: var(--color-text);
}

/* Hero overlaps the transparent header — hero uses full 100svh */
/* No padding-top needed — hero IS full-screen, header floats above */
.hero-slider {
  /* keep existing height: 100svh */
  z-index: 1; /* header z-index var(--z-sticky)=200 naturally sits above */
}

/* ──────────────────────────────────────────────
   2. LIGHT THEME OVERLAY REFINEMENT
   Replace dark cinematic gradient with soft warm overlay
   Preserves bright image feel while ensuring readability
   ────────────────────────────────────────────── */

.hero-slide__overlay {
  /* Soft warm-left fade — light theme friendly */
  background: linear-gradient(
    105deg,
    rgba(26, 10, 10, 0.62) 0%,
    rgba(26, 10, 10, 0.38) 45%,
    rgba(26, 10, 10, 0.15) 100%
  );
}

/* ──────────────────────────────────────────────
   3. KEN BURNS — JS-driven (rAF), no CSS transforms
   All .hero-slide__bg transforms are set inline by JS.
   ────────────────────────────────────────────── */

.hero-slide__bg {
  will-change: transform;
  /* Note: JS sets transition:none and transform directly */
}

/* ──────────────────────────────────────────────
   4. RIGHT-SIDE VERTICAL SLIDE NAVIGATION
   Numbered indicators: 01 —— 02 —— etc.
   ────────────────────────────────────────────── */

.hero-nav-vertical {
  position: absolute;
  right: clamp(1rem, 2.5vw, 2rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-end;
}

.hero-nav-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0.25rem 0;
  position: relative;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-nav-item__num {
  font-family: var(--font-accent);
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: rgba(250, 247, 242, 0.35);
  transition: color 0.35s ease, transform 0.35s ease;
  line-height: 1;
}

.hero-nav-item__dash {
  width: 1.5rem;
  height: 1px;
  background: rgba(250, 247, 242, 0.25);
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              background 0.35s ease,
              opacity 0.35s ease;
  flex-shrink: 0;
}

/* Active state */
.hero-nav-item.is-active .hero-nav-item__num {
  color: rgba(250, 247, 242, 0.9);
}

.hero-nav-item.is-active .hero-nav-item__dash {
  width: 2.5rem;
  background: var(--color-gold);
}

/* Hover state */
.hero-nav-item:hover .hero-nav-item__num {
  color: rgba(250, 247, 242, 0.7);
  transform: translateX(-2px);
}

.hero-nav-item:hover .hero-nav-item__dash {
  width: 2rem;
  background: rgba(201, 168, 76, 0.6);
}

/* Progress fill on active dot */
.hero-nav-item__progress {
  position: absolute;
  right: 0;
  bottom: -4px;
  height: 1px;
  width: 0%;
  background: var(--color-gold);
  transition: none;
}

.hero-nav-item.is-active .hero-nav-item__progress {
  animation: navProgress var(--hero-slide-duration, 6000ms) linear forwards;
}

@keyframes navProgress {
  from { width: 0%; }
  to   { width: 100%; }
}

/* ──────────────────────────────────────────────
   5. LEFT-SIDE VERTICAL SOCIAL BAR
   ────────────────────────────────────────────── */

.hero-social-bar {
  position: absolute;
  left: clamp(1rem, 2.5vw, 2rem);
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Vertical line top */
.hero-social-bar::before {
  content: '';
  width: 1px;
  height: 3rem;
  background: linear-gradient(180deg, transparent, rgba(250, 247, 242, 0.2));
  margin-bottom: 1rem;
}

/* Vertical line bottom */
.hero-social-bar::after {
  content: '';
  width: 1px;
  height: 3rem;
  background: linear-gradient(180deg, rgba(250, 247, 242, 0.2), transparent);
  margin-top: 1rem;
}

.hero-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  color: rgba(250, 247, 242, 0.4);
  transition: color 0.3s ease,
              transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.3s ease;
  position: relative;
}

.hero-social-link svg {
  width: 1rem;
  height: 1rem;
  /* Social icons use filled paths (logo marks) — fill must be currentColor */
  fill: currentColor;
  stroke: none;
}

.hero-social-link:hover {
  color: rgba(250, 247, 242, 0.9);
  transform: translateX(3px);
}

/* Tooltip on hover */
.hero-social-link[data-label]::after {
  content: attr(data-label);
  position: absolute;
  left: calc(100% + 0.75rem);
  top: 50%;
  transform: translateY(-50%) translateX(-4px);
  font-family: var(--font-accent);
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  opacity: 0;
  pointer-events: none;
  white-space: nowrap;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.hero-social-link:hover[data-label]::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}



/* ──────────────────────────────────────────────
   8. TEXTURE LAYER CONTROL
   Ensure correct stacking order + soft opacity
   ────────────────────────────────────────────── */

/* Layer order (z-index within hero-slide):
   1. .hero-slide__bg       (background image, z auto)
   2. .hero-slide__overlay  (warm gradient)
   3. .hero-slide__pattern  (texture, reduced opacity)
   4. .hero-slide__content  (z-index: 2)
*/

.hero-slide__pattern {
  opacity: 0.35; /* was 0.6 — reduced to feel premium, not heavy */
  z-index: 1;
  pointer-events: none;
}

.hero-slide__overlay {
  z-index: 1;
  pointer-events: none;
}

.hero-slide__content {
  z-index: 3; /* bump above pattern */
}

/* ──────────────────────────────────────────────
   9. CONTENT LAYOUT — centered-left, full-width bg, no overlapping elements
   ────────────────────────────────────────────── */

/* Container: vertically centred, full height */
.hero-slider .container {
  height: 100%;
  display: flex;
  align-items: center;
}

/* Content block: clean left-aligned text, max readable width */
.hero-slide__content {
  max-width: 48rem;   /* comfortably wide but not full bleed */
  padding-inline: 0;
  padding-block: 0;
  margin-left: 0;     /* anchor to left */
  margin-right: auto; /* push any remaining space to the right */
}
/* ═══════════════════════════════════════════════════════════════
   HERO SLIDER — PER-SLIDE TEXT BLOCK ALIGNMENT
   Set via Customizer: Slide N → Text Block Alignment
   Uses .hero-slide__content--{left|center|right} on the content div.
   Higher specificity (.hero-slider prefix) so these always beat the
   base .hero-slide__content rules regardless of CSS load order.
   ═══════════════════════════════════════════════════════════════ */

.hero-slider .hero-slide__content--left {
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: left;
}
.hero-slider .hero-slide__content--left .hero-actions {
  justify-content: flex-start;
}

.hero-slider .hero-slide__content--center {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center;
}
.hero-slider .hero-slide__content--center .hero-eyebrow {
  justify-content: center;
}
.hero-slider .hero-slide__content--center .hero-subtitle {
  margin-left: auto;
  margin-right: auto;
  max-width: 36ch;
  width: 100%;
}
.hero-slider .hero-slide__content--center .hero-actions {
  justify-content: center;
}

.hero-slider .hero-slide__content--right {
  margin-left: auto !important;
  margin-right: 0 !important;
  text-align: right;
}
.hero-slider .hero-slide__content--right .hero-eyebrow {
  justify-content: flex-end;
}
.hero-slider .hero-slide__content--right .hero-subtitle {
  margin-left: auto;
  margin-right: 0;
  max-width: 36ch;
  width: 100%;
}
.hero-slider .hero-slide__content--right .hero-actions {
  justify-content: flex-end;
}



/* ──────────────────────────────────────────────
   10. SLIDE TRANSITION — handled in base .hero-slide rule above
   (visibility + opacity combined transition — no override needed)
   ────────────────────────────────────────────── */

/* ──────────────────────────────────────────────
   11. AUTOPLAY PROGRESS BAR (bottom edge)
   Thin gold line that fills per slide duration
   ────────────────────────────────────────────── */

.hero-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--color-gold-muted), var(--color-gold), var(--color-gold-light));
  z-index: 20;
  transition: none;
}

.hero-progress-bar.is-running {
  animation: heroProgress var(--hero-slide-duration, 6000ms) linear forwards;
}

@keyframes heroProgress {
  from { width: 0%; }
  to   { width: 100%; }
}

/* ──────────────────────────────────────────────
   RESPONSIVE — TABLET (≤1024px)
   ────────────────────────────────────────────── */

@media (max-width: 64rem) {
  .hero-nav-vertical {
    right: 0.75rem;
    gap: 1rem;
  }

  .hero-social-bar {
    left: 0.75rem;
  }
}

/* ──────────────────────────────────────────────
   13-INCH LAPTOP (1024px–1440px, short viewports)
   Fixes: social bar / nav overlap, heading scale,
   content height on 800px tall screens
   ────────────────────────────────────────────── */

@media (min-width: 64rem) and (max-width: 90rem) {

  /* Smaller heading — was 4rem cap, too tall for 800px viewport */
  .hero-title {
    font-size: clamp(1.5rem, 2.8vw, 2.25rem) !important;
    margin-bottom: var(--space-3);
  }

  /* Compact subtitle */
  .hero-subtitle {
    font-size: 1rem !important;
    margin-bottom: var(--space-5);
    max-width: 36ch;
  }

  /* Tighter action buttons */
  .hero-actions {
    gap: var(--space-3);
  }

  /* Push content clear of social bar + give top breathing room */
  .hero-slide__content {
    padding-left: 4.5rem !important;
    padding-right: 4rem !important;
    padding-top: 4rem !important; /* clears fixed header */
    max-width: 65rem;
  }

  /* Compact stats badge */
  .hero-stats-badge {
    margin-top: var(--space-5) !important;
    padding: var(--space-3) var(--space-5) !important;
    gap: var(--space-5) !important;
  }

  .hero-stat__value {
    font-size: var(--font-size-2xl);
  }

  /* Social bar — smaller icons, shorter lines */
  .hero-social-bar::before,
  .hero-social-bar::after {
    height: 1.5rem;
  }

  .hero-social-link {
    width: 1.75rem;
    height: 1.75rem;
  }
}

/* ──────────────────────────────────────────────
   RESPONSIVE — MOBILE (≤768px)
   ────────────────────────────────────────────── */

@media (max-width: 48rem) {
  /* Hide social bar and nav — show dot nav instead */
  .hero-social-bar {
    display: none;
  }

  /* Convert numbered nav to compact dots on mobile */
  .hero-nav-vertical {
    top: auto;
    right: 50%;
    bottom: var(--space-10);
    transform: translateX(50%);
    flex-direction: row;
    gap: 0.75rem;
  }

  .hero-nav-item__num {
    display: none;
  }

  .hero-nav-item__dash {
    width: 0.5rem !important;
    height: 0.5rem;
    border-radius: 50%;
    background: rgba(250, 247, 242, 0.4);
  }

  .hero-nav-item.is-active .hero-nav-item__dash {
    width: 1.75rem !important;
    border-radius: 4px;
    background: var(--color-gold);
  }

  .hero-nav-item__progress {
    display: none;
  }

  /* Keep existing bottom .slider-controls hidden since we replaced them */
  .slider-controls {
    display: none;
  }

  /* Move arrows above mobile nav dots */
  .slider-arrows {
    bottom: calc(var(--space-10) + 2.5rem);
  }

  .hero-slide__content {
    max-width: 100%;
  }
}

/* ──────────────────────────────────────────────
   SECTION-WIDE MICRO INTERACTIONS
   Surgical additions to existing sections
   ────────────────────────────────────────────── */

/* Program Cards — magnetic hover lift */
.program-card {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s ease,
              border-color 0.3s ease !important;
}

.program-card:hover {
  transform: translateY(-6px) scale(1.01) !important;
}

/* Story Cards — gentle reveal lift */
.story-card {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s ease !important;
}

.story-card:hover {
  transform: translateY(-5px) !important;
}

/* Donation cards */
.donation-card {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s ease,
              border-color 0.3s ease !important;
}

.donation-card:hover {
  transform: translateY(-4px) !important;
}

/* Impact stat counters — subtle glow on scroll-in */
.impact-stat__number {
  transition: color 0.3s ease;
}

.impact-stat:hover .impact-stat__number {
  color: var(--color-gold-light);
}

/* Trust bar items */
.trust-item {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.trust-item:hover {
  transform: translateY(-2px);
}

/* CTA block buttons stagger */
.cta-block__actions .btn {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.35s ease !important;
}

/* Award badges */
.award-badge {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease !important;
}

.award-badge:hover {
  transform: translateY(-2px) !important;
}

/* CSR mini stats */
.csr-mini-stat {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
}

.csr-mini-stat:hover {
  transform: scale(1.05) !important;
}

/* Founder credentials dot */
.founder-creds {
  transition: transform 0.3s ease !important;
}

/* Reveal animation refinement — smoother easing */
.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

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

/* ──────────────────────────────────────────────
   SCROLL PROGRESS BAR — gold accent
   ────────────────────────────────────────────── */

#scrollProgress {
  background: linear-gradient(90deg,
    var(--color-primary) 0%,
    var(--color-gold) 60%,
    var(--color-gold-light) 100%
  ) !important;
}

/* ──────────────────────────────────────────────
   HIDE ORIGINAL BOTTOM DOTS (replaced by right nav)
   ────────────────────────────────────────────── */

@media (min-width: 48.01rem) {
  .slider-controls {
    display: none; /* Replaced by .hero-nav-vertical */
  }
}

/* ══════════════════════════════════════════════════════════════
   STORY SECTION — SINGLE COLUMN (portrait card removed)
   ══════════════════════════════════════════════════════════════ */

/* Override the 2-column grid — now full-width prose */
.story-section__inner--single {
  display: block !important;
  grid-template-columns: none !important;
}

/* Wide content block — reads comfortably across the full layout */
/* Wide content block — full container width */
.story-content--wide {
  max-width: none;
  margin-inline: 0;
}

.story-content--wide .section-heading {
  font-size: clamp(var(--font-size-2xl), 4vw, var(--font-size-4xl));
}

.story-content--wide p {
  font-size: var(--font-size-md);
  color: var(--color-text-muted);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-6);
}

/* ══════════════════════════════════════════════════════════════
   IN THE FIELD — PHOTO GALLERY SECTION
   Full-width masonry-style grid with real images
   ══════════════════════════════════════════════════════════════ */

.field-gallery {
  padding-block: var(--space-24) var(--space-16);
  background: var(--color-bg);
  overflow: hidden;
}

.field-gallery__header {
  text-align: left;
  margin-bottom: var(--space-12);
}

.field-gallery__header .section-subtext {
  margin-top: var(--space-4);
  max-width: 48ch;
}

/* Strip — slightly wider than container for full-bleed feel */
.field-gallery__strip {
  width: 100%;
  padding-inline: clamp(1rem, 3vw, 2.5rem);
}

/* CSS Grid masonry layout */
.field-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 18rem;
  grid-auto-flow: dense;   /* backfill gaps when span items leave holes */
  gap: 0.75rem;
}

/* SIZE VARIANTS */
.gallery-item--tall {
  grid-row: span 2;    /* double height */
}

.gallery-item--wide {
  grid-column: span 2; /* double width */
}

.gallery-item--square {
  grid-row: span 1;
  grid-column: span 1;
}

/* Inner wrapper handles the image + hover overlay */
.gallery-item__inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-photo);
  overflow: hidden;
  background: var(--color-bg-alt);
}

.gallery-item__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top; /* favour faces/top of tall images */
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Gold-tinted hover overlay */
.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(201, 168, 76, 0.0) 0%,
    rgba(26, 10, 10, 0.35) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

/* Hover interactions */
.gallery-item:hover .gallery-item__inner img {
  transform: scale(1.05);
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

/* Reveal stagger — applied by JS IntersectionObserver */
.gallery-item {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */

@media (max-width: 64rem) { /* tablet */
  .field-gallery__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 15rem;
  }

  /* wide items still span 2 on 3-col */
  .gallery-item--wide {
    grid-column: span 2;
  }
}

@media (max-width: 48rem) { /* mobile */
  .field-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 13rem;
    gap: 0.5rem;
  }

  .gallery-item--tall,
  .gallery-item--wide {
    grid-row: span 1;
    grid-column: span 1;
  }

  .field-gallery__strip {
    padding-inline: 1rem;
  }
}

@media (max-width: 30rem) { /* small mobile */
  .field-gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 11rem;
  }
}

.about-hero{
	max-height:200px !important;
}
li{
	color:#6B5744 !important
}/* ==========================================================
   sf-testimonials — Testimonial grid for Shivang Foundation
   Theme: Lumenoid v2 | Author: Lumenoid Studios
   ========================================================== */

/* ── Google Fonts (mirrors theme; skip if already loaded globally) ── */
/* ── Google Fonts loaded globally by sf_scripts() — no @import needed ── */

/* ── Section wrapper ──────────────────────────────────────── */
.sf-testimonials-section {
    background: var(--color-bg, #FAF7F2);
    padding: var(--space-20, 5rem) var(--container-pad, clamp(1.25rem, 5vw, 3rem));
    position: relative;
    overflow: hidden;
}

/* subtle warm grain layer */
.sf-testimonials-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(ellipse 80% 60% at 50% 0%,
            rgba(201,168,76,0.06) 0%, transparent 70%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
}

/* ── Section header ───────────────────────────────────────── */
.sf-testimonials-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-12, 3rem);
    position: relative;
    z-index: 1;
}

.sf-testimonials-eyebrow {
    display: inline-block;
    font-family: var(--font-accent, 'Cinzel', serif);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-gold, #C9A84C);
    margin-bottom: var(--space-4, 1rem);
}

.sf-testimonials-heading {
    font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 300;
    color: var(--color-primary, #8B1A1A);
    line-height: 1.15;
    margin: 0 0 var(--space-4, 1rem);
    letter-spacing: -0.02em;
}

.sf-testimonials-subline {
    font-family: var(--font-body, 'DM Sans', system-ui, sans-serif);
    font-size: 0.975rem;
    color: var(--color-text-muted, #6B5744);
    line-height: 1.7;
    margin: 0 0 var(--space-6, 1.5rem);
    font-weight: 300;
}

/* ornamental divider */
.sf-testimonials-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--color-gold, #C9A84C);
    opacity: 0.6;
}
.sf-testimonials-divider span {
    display: block;
    width: 48px;
    height: 1px;
    background: currentColor;
}

/* ── Grid ─────────────────────────────────────────────────── */
.sf-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    max-width: var(--container-xl, 80rem);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

@media (max-width: 900px) {
    .sf-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 580px) {
    .sf-testimonials-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ── Card ─────────────────────────────────────────────────── */
.sf-tcard {
    background: var(--color-bg-card, #FFFFFF);
    border: 1px solid var(--color-border, rgba(139,26,26,0.10));
    border-radius: 2px;                   /* intentionally tight — heritage feel */
    padding: 2rem 1.875rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    overflow: hidden;

    box-shadow:
        0 2px 8px rgba(26,10,10,0.04),
        0 8px 32px rgba(26,10,10,0.05);

    transition:
        transform 0.35s cubic-bezier(0.22,1,0.36,1),
        box-shadow 0.35s cubic-bezier(0.22,1,0.36,1),
        border-color 0.25s ease;

    /* scroll-reveal: start hidden */
    opacity: 0;
    transform: translateY(22px);
    animation: sf-card-reveal 0.65s cubic-bezier(0.22,1,0.36,1) var(--stagger, 0ms) forwards;
}

@keyframes sf-card-reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* top-edge gold accent bar */
.sf-tcard::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(
        90deg,
        var(--color-primary, #8B1A1A) 0%,
        var(--color-gold, #C9A84C) 55%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sf-tcard:hover {
    transform: translateY(-5px);
    border-color: var(--color-border-gold, rgba(201,168,76,0.35));
    box-shadow:
        0 4px 16px rgba(26,10,10,0.07),
        0 16px 56px rgba(26,10,10,0.09),
        var(--shadow-gold, 0 4px 24px rgba(201,168,76,0.18));
}
.sf-tcard:hover::before {
    opacity: 1;
}

/* ── Card top row (type badge + big quote mark) ─────────── */
.sf-tcard__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.sf-tcard__type {
    font-family: var(--font-accent, 'Cinzel', serif);
    font-size: 0.625rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-gold-muted, #9B7A2E);
    background: rgba(201,168,76,0.09);
    border: 1px solid rgba(201,168,76,0.22);
    padding: 0.25em 0.7em;
    border-radius: 2px;
    line-height: 1.6;
    white-space: nowrap;
}

.sf-tcard__marks {
    font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
    font-size: 4rem;
    line-height: 0.6;
    color: var(--color-primary, #8B1A1A);
    opacity: 0.12;
    font-weight: 300;
    user-select: none;
    transition: opacity 0.3s ease;
    margin-top: 0.1em;
}
.sf-tcard:hover .sf-tcard__marks {
    opacity: 0.22;
}

/* ── Quote block ──────────────────────────────────────────── */
.sf-tcard__quote {
    margin: 0 0 auto;
    padding: 0;
    border: none;
    flex-grow: 1;
}
.sf-tcard__quote p {
    font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
    font-size: 1.0625rem;
    font-weight: 400;
    font-style: italic;
    color: var(--color-text, #1C1009);
    line-height: 1.78;
    margin: 0;
    letter-spacing: 0.005em;
}

/* ── Footer: rule + cite ──────────────────────────────────── */
.sf-tcard__footer {
    margin-top: 1.5rem;
}

.sf-tcard__rule {
    width: 32px;
    height: 1.5px;
    background: linear-gradient(
        90deg,
        var(--color-gold, #C9A84C) 0%,
        transparent 100%
    );
    margin-bottom: 0.9rem;
}

.sf-tcard__cite {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    font-style: normal;
}

.sf-tcard__name {
    font-family: var(--font-body, 'DM Sans', system-ui, sans-serif);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-primary, #8B1A1A);
    letter-spacing: 0.01em;
}

.sf-tcard__detail {
    font-family: var(--font-body, 'DM Sans', system-ui, sans-serif);
    font-size: 0.75rem;
    font-weight: 300;
    color: var(--color-text-light, #A8906F);
    letter-spacing: 0.03em;
}

/* ── Type-variant accent tweaks ───────────────────────────── */
.sf-tcard--student .sf-tcard__type {
    color: var(--color-primary, #8B1A1A);
    background: rgba(139,26,26,0.06);
    border-color: rgba(139,26,26,0.18);
}
.sf-tcard--community .sf-tcard__type {
    color: var(--color-text-muted, #6B5744);
    background: rgba(107,87,68,0.07);
    border-color: rgba(107,87,68,0.2);
}

/* ── Reduced motion ───────────────────────────────────────── */


/* ═══════════════════════════════════════════════════════════════════
   MOBILE FIXES — HOME PAGE COMPREHENSIVE
   Breakpoints: 48rem (768px) phone | 30rem (480px) small phone
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 48rem) {

  /* ── HERO SLIDER ────────────────────────────────────────────── */

  .hero-title {
    font-size: clamp(1.75rem, 6.5vw, 2.5rem) !important;
    margin-bottom: var(--space-4);
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: clamp(0.875rem, 3.5vw, 1rem) !important;
    margin-bottom: var(--space-6);
    max-width: 100%;
    line-height: 1.6;
  }

  .hero-actions {
    flex-direction: column;
    gap: var(--space-3);
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    padding-block: var(--space-3);
  }

  /* Force left-align on mobile regardless of Customizer setting */
  .hero-slider .hero-slide__content--center,
  .hero-slider .hero-slide__content--right {
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left !important;
  }
  .hero-slider .hero-slide__content--center .hero-eyebrow,
  .hero-slider .hero-slide__content--right .hero-eyebrow {
    justify-content: flex-start !important;
  }
  .hero-slider .hero-slide__content--center .hero-subtitle,
  .hero-slider .hero-slide__content--right .hero-subtitle {
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  .hero-slider .hero-slide__content--center .hero-actions,
  .hero-slider .hero-slide__content--right .hero-actions {
    justify-content: flex-start !important;
  }

  /* Slide content: full width, safe padding */
  .hero-slide__content {
    max-width: 100% !important;
    padding-inline: var(--space-4) !important;
    padding-top: var(--space-6) !important;
  }

  /* ── STATIC HERO (top bar) ──────────────────────────────────── */

  .static-hero__inner {
    padding-block: var(--space-8);
    text-align: center;
  }

  .static-hero__heading1 {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: var(--space-3);
  }

  .static-hero__sub {
    font-size: var(--font-size-sm);
    line-height: 1.7;
    max-width: 100%;
  }

  /* ── OUR STORY ───────────────────────────────────────────────── */

  .story-content--wide .section-heading {
    font-size: clamp(1.35rem, 5vw, 1.75rem);
  }

  .story-content--wide p {
    font-size: var(--font-size-base);
  }

  /* ── WHAT WE DO ─────────────────────────────────────────────── */

  .what-we-do__header .section-heading {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
  }

  .what-we-do__header .section-subtext,
  .what-we-do__header .wwd-expanded p {
    font-size: var(--font-size-base);
  }

  .program-cards {
    grid-template-columns: 1fr !important;
    gap: var(--space-4);
  }

  .program-card {
    padding: var(--space-6);
  }

  /* ── THE REALITY ─────────────────────────────────────────────── */

  .problem-points {
    gap: var(--space-3);
  }

  .problem-point {
    padding: var(--space-4);
    gap: var(--space-3);
  }

  .problem-point__icon {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
  }

  /* ── IMPACT STATS ───────────────────────────────────────────── */

  .impact-stat {
    padding: var(--space-5);
  }

  .impact-stat__number {
    font-size: clamp(2rem, 8vw, 3rem) !important;
  }

  .impact-stat__label {
    font-size: var(--font-size-xs);
  }

  /* ── TRANSFORMATION QUOTES ──────────────────────────────────── */

  .transformation-card {
    padding: var(--space-6);
  }

  .transformation-card__text {
    font-size: clamp(1rem, 4vw, 1.125rem);
    line-height: 1.65;
  }

  /* ── FOUNDER SECTION ────────────────────────────────────────── */

  .founder-content {
    padding-inline: 0;
  }

  .founder-content p,
  .founder-more p {
    font-size: var(--font-size-base) !important;
  }

  .founder-name {
    font-size: clamp(1.35rem, 5vw, 1.75rem) !important;
  }

  .founder-title {
    font-size: var(--font-size-xs);
    word-break: break-word;
  }

  .founder-awards {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-2);
  }

  .award-badge {
    font-size: 0.9375rem;
    padding: var(--space-3) var(--space-4);
    gap: var(--space-3);
  }

  .award-badge svg {
    flex-basis: 2.5rem;
    width: 2.5rem !important;
    height: 2.5rem !important;
    padding: 0.625rem;
  }

  /* ── CSR SECTION ────────────────────────────────────────────── */

  .csr-areas {
    gap: var(--space-2);
    margin-bottom: var(--space-6);
  }

  .csr-area {
    padding: var(--space-3) var(--space-4);
    gap: var(--space-3);
  }

  .csr-area__text {
    font-size: var(--font-size-sm);
  }

  /* ── DONATION CARDS ─────────────────────────────────────────── */

  .donation-card {
    padding: var(--space-6);
  }

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

  /* ── CTA BLOCK ──────────────────────────────────────────────── */

  .cta-block {
    padding-block: var(--space-16);
  }

  .cta-block__heading {
    font-size: clamp(1.35rem, 5.5vw, 1.875rem);
  }

  .cta-block__subtext {
    font-size: var(--font-size-base);
  }

  .cta-block__actions {
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
  }

  .cta-block__actions .btn {
    width: 100%;
    max-width: 20rem;
    justify-content: center;
  }

}

/* ── SMALL PHONES (≤ 30rem / 480px) ──────────────────────────── */

@media (max-width: 30rem) {

  .hero-title {
    font-size: clamp(1.5rem, 7vw, 2rem) !important;
  }

  .hero-subtitle {
    font-size: 0.875rem !important;
  }

  .static-hero__inner {
    padding-block: var(--space-6);
  }

  .impact-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
  }

  .impact-stat__number {
    font-size: clamp(1.75rem, 9vw, 2.5rem) !important;
  }

  .transformation-card__text {
    font-size: 0.9375rem;
  }

  .founder-title {
    font-size: 0.65rem;
    letter-spacing: 0.02em;
  }

  .cta-block__actions .btn {
    max-width: 100%;
  }

}

@media (prefers-reduced-motion: reduce) {
    .sf-tcard {
        animation: none;
        opacity: 1;
        transform: none;
    }
    .sf-tcard:hover {
        transform: none;
    }
}

/* ============================================================
   STATIC FULLSCREEN SECTION
   ============================================================ */

.static-hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.static-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  transform: scale(1.04);
}

.static-hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.static-hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-6);
  max-width: 95vw;
}

.static-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-accent);
  font-size: var(--font-size-xs);
  letter-spacing: var(--letter-spacing-widest);
  text-transform: uppercase;
  color: var(--color-gold-light);
  opacity: 0.85;
}

.static-hero__heading {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  font-weight: var(--font-weight-light);
  line-height: 1.08;
  color: var(--color-white);
  letter-spacing: -0.02em;
  margin: 0;
}
.static-hero__heading1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.5vw, 4.3rem);
  font-weight: var(--font-weight-light);
  line-height: 1.08;
  color: var(--color-white);
  letter-spacing: -0.02em;
  margin: 0;
}
.static-hero__sub {
  font-family: var(--font-base);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(250,247,242,0.75);
  line-height: 1.65;
  max-width: 38rem;
  margin: 0;
}

.static-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-2);
}

@media (max-width: 48rem) {
  .static-hero__bg {
    background-attachment: scroll;
  }
  .static-hero__actions {
    flex-direction: column;
    width: 100%;
  }
  .static-hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.hero-stat__label1{
	font-size:0.9rem !important;
padding-top:15px;
}
.header-container{
	width:90vw !important;
}

/* ── v2.0.8 — classes that were used in markup/JS but had no CSS ── */
/* Event card thumbnail */
.event-card__img-wrap {
  overflow: hidden;
  line-height: 0;
}
.event-card__img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 11rem;
  max-height: 16rem;
  object-fit: cover;
}
.events-grid .event-card:first-child .event-card__img-wrap {
  flex: 0 0 36%;
}
@media (max-width: 48rem) {
  .events-grid .event-card .event-card__img-wrap {
    flex: 0 0 7rem;
  }
  .events-grid .event-card .event-card__img-wrap img {
    min-height: 0;
  }
  .events-grid .event-card:first-child .event-card__img-wrap {
    flex: 0 0 auto;
  }
  .events-grid .event-card:first-child .event-card__img-wrap img {
    min-height: 11rem;
  }
}

/* Donation amount card — selected state (class toggled by js/bundle.js) */
.donation-card--active {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}

/* Home static hero — soft left-weighted scrim so light text stays legible */
.static-hero__overlay1 {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26,10,10,0.55) 0%, rgba(26,10,10,0.2) 60%, rgba(26,10,10,0) 100%);
  pointer-events: none;
}


/* Award tiles: 2 columns on tablets (3 on desktop, 1 on phones) */
@media (min-width: 48.0625rem) and (max-width: 64rem) {
  .founder-awards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Story text: plain body font (no italic serif) */
.story-card__text,
.story-quote p,
.transformation-card__text {
  font-family: var(--font-body);
  font-style: normal;
}


/* ── v2.1.0 — mobile fixes ───────────────────────────────────
   Templates use inline 2-column grids with no mobile fallback; collapse them on phones/small tablets
   (attribute selectors match the exact inline strings so small chip/stat grids are left alone). */
@media (max-width: 48rem) {
  [style*="grid-template-columns:1fr 1fr;gap:var(--space-16)"],
  [style*="grid-template-columns:1fr 1fr;gap:var(--space-12)"],
  [style*="grid-template-columns:1fr 1fr;gap:var(--space-10)"],
  [style*="grid-template-columns:repeat(2,1fr);gap:var(--space-6)"],
  [style*="grid-template-columns:1fr 1fr;gap:var(--space-4);"]:not([style*="margin-top"]) {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: var(--space-8) !important;
  }

  /* Frequency toggle (Donate): never wider than its card */
  .donate-freq-toggle {
    width: 100%;
  }
  .donate-freq-btn {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: var(--space-3);
  }

  /* Decorative frame behind the founder photo: keep inside the viewport */
  .founder-frame {
    inset: -0.375rem;
  }
}

@media (max-width: 48rem) {
  /* Long button labels wrap instead of pushing the page wider than the screen */
  .btn {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
}

/* Icons: never squashed by flex parents; brand (social) icons are filled glyphs, not strokes */
.lucide-icon { flex-shrink: 0; }
.sf-icon-brand { fill: currentColor; stroke: none; }


/* ── Home: video section (6 videos, 3 × 2) ─────────────────── */
.video-section {
  padding-block: var(--space-24);
  background: var(--color-bg-alt);
}

.video-section__header {
  margin-bottom: var(--space-12);
}
.video-section__header--left   { text-align: left; }
.video-section__header--center { text-align: center; }
.video-section__header--right  { text-align: right; }

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-8) var(--space-6);
}

.video-card {
  margin: 0;
  min-width: 0;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  border-radius: var(--radius-photo);
  box-shadow: var(--shadow-lg);
}

.video-frame video,
.video-yt__iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
  object-fit: contain;
}

.video-yt {
  position: absolute;
  inset: 0;
  display: block;
  color: var(--color-white);
}
.video-yt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-slow, 0.4s) var(--ease-smooth, ease);
}
.video-yt:hover img { transform: scale(1.03); }
.video-yt::after {                       /* soft scrim so the play button always reads */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,10,10,0.05), rgba(26,10,10,0.35));
}
.video-yt__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 4rem;
  height: 4rem;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transition: transform var(--duration-base, 0.25s) var(--ease-smooth, ease);
}
.video-yt__play svg { margin-left: 3px; }  /* optical centring of the triangle */
.video-yt:hover .video-yt__play,
.video-yt:focus-visible .video-yt__play { transform: translate(-50%, -50%) scale(1.1); }
.video-yt:focus-visible { outline: 3px solid var(--color-gold); outline-offset: -3px; }

.video-card__caption {
  margin-top: var(--space-3);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--color-text-muted);
  line-height: 1.4;
}

@media (max-width: 56rem) {
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  .video-section { padding-block: var(--space-16); }
  .video-grid { grid-template-columns: minmax(0, 1fr); }
}

.founder-more .founder-awards { margin-top: var(--space-8); }


/* ── v2.2.3 — optical top alignment: image top edge = eyebrow cap-height line ──
   The eyebrow's line box (line-height 1.6) put its letters ~10px below the photo edge on Programs.
   Same treatment as the founder section: tight line box + margin compensation, then a 1px nudge
   for the font's own ascent so the photo edge meets the top of the capital letters. */
.programs-detail-grid > :not(.programs-detail-img) > .section-label:first-child {
  display: flex;
  line-height: 1;
  margin-bottom: calc(var(--space-4) + 0.35em);
}
/* Founder photo is centred inside its thin gold frame; the frame's outer top edge aligns with the eyebrow cap-top */
.programs-detail-grid > .programs-detail-img { margin-top: 1px; }
.founder-section__inner > .founder-visual { margin-top: calc(0.75rem + 1px); }
.founder-frame { inset: -0.75rem; }
@media (max-width: 48rem) {
  .founder-section__inner > .founder-visual { margin-top: calc(0.375rem + 1px); }
  .founder-frame { inset: -0.375rem; }
}

/* Programme cards: optional 2-column layout (Customizer toggle) */
.programs-grid--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 48rem) { .programs-grid--2col { grid-template-columns: minmax(0, 1fr); } }

/* Award tiles: text ~10% milder than full body-dark */
.award-badge { color: color-mix(in srgb, var(--color-text) 90%, var(--color-white)); }

/* ============================================================
   Programs: photo column can never change width or bleed.
   - tracks are minmax(0, …fr): long words/banners/lists can't push the photo column
   - every grid child (incl. unclassed text wrappers) may shrink; long strings wrap
   - the frame always fills its column and never exceeds it, whatever height is set
   ============================================================ */
.programs-detail-grid               { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.programs-detail-grid--reverse      { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.programs-detail-grid > *           { min-width: 0; overflow-wrap: anywhere; }
.programs-detail-img                { max-width: 100%; }
.programs-detail-img .story-img-frame {
  width: 100%;
  max-width: 100% !important;
  box-sizing: border-box;
  margin-inline: auto;
}
.programs-detail-img .story-img-frame img { max-width: 100%; }
.programs-banner, .programs-banner img { max-width: 100%; }

/* Older 13" laptops (≈1025–1440px wide, or 125–150% Windows scaling): a little more breathing room
   and a slightly narrower gap, so the photo never touches the screen edge. */
@media (min-width: 64.0625rem) and (max-width: 90rem) {
  .programs-detail-grid { column-gap: clamp(2rem, 4vw, 4rem); }
  #arts-education > .container, #ajay-series > .container, #workshops > .container,
  #dance-festival > .container, #mental-health > .container {
    padding-inline: max(var(--container-pad), 1.5rem);
  }
}
@media (max-width: 64rem) {
  .programs-detail-grid { grid-template-columns: minmax(0, 1fr); }
  .programs-detail-grid--reverse { grid-template-columns: minmax(0, 1fr); }
}

/* Home hero (first section): text-block alignment — Customizer → Home — Static Hero Bar.
   Left is the original layout and needs no extra rules. */
.static-hero--align-center .static-hero__inner { align-items: center; text-align: center; }
.static-hero--align-right  .static-hero__inner { align-items: flex-end; text-align: right; }
.static-hero--align-center .static-hero__sub,
.static-hero--align-right  .static-hero__sub   { max-width: min(38rem, 100%); }
.static-hero--align-center .static-hero__actions { justify-content: center; }
.static-hero--align-right  .static-hero__actions { justify-content: flex-end; }
/* keep the legibility scrim behind the text, whichever side it sits on */
.static-hero--align-center .static-hero__overlay1 {
  background: radial-gradient(ellipse at center, rgba(26,10,10,0.5) 0%, rgba(26,10,10,0.28) 70%, rgba(26,10,10,0.18) 100%);
}
.static-hero--align-right .static-hero__overlay1 {
  background: linear-gradient(270deg, rgba(26,10,10,0.55) 0%, rgba(26,10,10,0.2) 60%, rgba(26,10,10,0) 100%);
}
@media (max-width: 48rem) {
  .static-hero--align-right  .static-hero__inner { text-align: right; }
  .static-hero--align-center .static-hero__actions,
  .static-hero--align-right  .static-hero__actions { align-items: stretch; }
}

/* ============================================================
   Programs — wide banner = its own full-width row (button under it)
   ============================================================ */
.programs-banner-row { margin-top: var(--space-12); min-width: 0; }
.programs-banner-row .programs-banner { margin: 0; }
.programs-banner-row .programs-banner img { width: 100%; height: auto; }

/* ============================================================
   Programs · Program 2 — full-width support row (Customizer toggle: sf_prog2_full_width)
   Support list in 2 columns; closing text full width; banner + button in their own rows.
   ============================================================ */
.programs-detail-full { margin-top: var(--space-12); min-width: 0; }
.programs-detail-full__seeks > .reveal { margin-top: 0 !important; }
/* same body-text styling the narrow text column gives its paragraphs */
.programs-detail-full p {
  font-size: var(--font-size-md);
  line-height: var(--line-height-relaxed);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}
.programs-detail-full .programs-seeks-list {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: var(--space-4) var(--space-12) !important;
}
.programs-detail-full__closing {
  margin-top: var(--space-10);
  padding-top: var(--space-10);
  border-top: 1px solid var(--color-border);
  min-width: 0;
}
.programs-detail-full__text { min-width: 0; overflow-wrap: anywhere; }
.programs-detail-full__btn  { min-width: 0; }
.programs-detail-full__btn > div { margin-top: var(--space-6); }
@media (max-width: 64rem) {
  .programs-detail-full { margin-top: var(--space-10); }
  .programs-detail-full .programs-seeks-list { grid-template-columns: minmax(0, 1fr) !important; }
  .programs-banner-row { margin-top: var(--space-8); }
}


/* ============================================================
   v5.2.0 — MOBILE / LOW-END PERFORMANCE LAYER
   Append-only. Nothing above this line was edited, so removing this
   block restores the previous behaviour exactly. No content, colours,
   spacing or Customizer values are touched — this layer only changes
   HOW things are painted/animated on tablets & phones.
   ============================================================ */

/* 1 ── Glass blur off on tablets & phones.
      backdrop-filter re-blurs everything behind an element on every
      frame (worst over the animated hero). On low-end GPUs this alone
      drops scrolling below 30fps. The header (0.96) and mobile menu
      (0.98) were already near-opaque, so the blur was invisible there. */
@media (max-width: 64rem) {
  .btn--outline,
  .hero-stats-badge,
  .slider-arrow,
  .problem-point,
  .founder-creds,
  .site-header.is-scrolled,
  .mobile-nav {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
}

/* 2 ── Closed mobile menu: not painted, not in the layer tree, not
      focusable (it used to sit off-screen carrying a 24px full-screen blur). */
.mobile-nav {
  visibility: hidden;
  transition: transform var(--duration-slow) var(--ease-smooth),
              visibility 0s linear var(--duration-slow);
}
.mobile-nav.is-open {
  visibility: visible;
  transition-delay: 0s;
}

/* 3 ── GPU layers only while they are really moving.
      will-change on 3 full-bleed hero layers + every gallery photo kept
      ~10 big textures resident in memory permanently. */
.hero-slide__bg,
.gallery-item__inner img { will-change: auto; }
.gallery-item__inner:hover img { will-change: transform; }

/* 4 ── Animate transform, not width/top.
      Same look, same timing — but runs on the compositor instead of
      forcing layout + paint on the main thread every frame. */
.hero-progress-bar {
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
}
.hero-progress-bar.is-running { animation-name: sfHeroProgressX; }
@keyframes sfHeroProgressX {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.hero-nav-item__progress {
  width: 100%;
  transform: scaleX(0);
  transform-origin: right center;
}
.hero-nav-item.is-active .hero-nav-item__progress { animation-name: sfNavProgressX; }
@keyframes sfNavProgressX {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

.scroll-indicator__line::after {
  top: 0;
  animation-name: sfScrollLineY;
}
@keyframes sfScrollLineY {
  0%   { transform: translateY(-200%); }
  100% { transform: translateY(400%); }
}

/* 5 ── Tablets: fixed-attachment backgrounds repaint on every scroll
      frame (and are broken on iOS). Phones already used scroll. */
@media (max-width: 64rem) {
  .static-hero__bg { background-attachment: scroll; }
}

/* 6 ── Skip layout/paint of sections that are far off-screen.
      The home page is ~19,000px tall on a phone; this makes the first
      render and every scroll-time style recalc work on a few screens
      instead of the whole page. The first two sections (hero) always
      render. 'auto' remembers each section's real height after it has
      been seen, so the scrollbar does not jump. */
@media (max-width: 64rem) {
  body > section:nth-of-type(n+3) {
    content-visibility: auto;
    contain-intrinsic-size: auto 800px;
  }
  /* In-page links / #hash URLs need true positions → JS adds .sf-cv-off */
  html.sf-cv-off body > section:nth-of-type(n+3) {
    content-visibility: visible;
  }
}

/* 7 ── Hero slides that are not on screen yet do not download yet.
      Same URLs, same images — they just load when the slider is close
      (and one slide ahead), so the first screen gets the bandwidth.
      Only active when JS is running (html.sf-js), so no-JS visitors
      still get every image. */
html.sf-js .hero-slider:not(.sf-near) .hero-slide__bg,
html.sf-js .hero-slider.sf-near:not(.sf-all) .hero-slide:not(.is-active):not(.sf-next) .hero-slide__bg {
  background-image: none !important;
}

/* 8 ── Low-end / data-saver phones (html.sf-lite, set in <head>):
      keep layout and imagery, drop the always-on decorative loops. */
@media (max-width: 64rem) {
  html.sf-lite .sticky-donate__btn,
  html.sf-lite .sticky-donate__btn::before,
  html.sf-lite .scroll-indicator__line::after {
    animation: none;
  }
  html.sf-lite .sticky-donate__btn::before { opacity: 0; }
}

/* 9 ── Touch: no 300ms tap delay / double-tap-zoom on controls. */
@media (pointer: coarse) {
  a, button, [role="button"], summary, label, input, select, textarea {
    touch-action: manipulation;
  }
}

/* 10 ── Respect the OS "reduce motion" setting for the looping effects too. */
@media (prefers-reduced-motion: reduce) {
  .sticky-donate__btn,
  .sticky-donate__btn::before,
  .scroll-indicator__line::after {
    animation: none;
  }
}

/* 11 ── First-screen hero on phones: grow instead of clipping.
      It was fixed at 100svh with overflow:hidden and centred content, so on
      shorter screens (browser toolbars, 20:9 phones) the heading was cut off
      at the top and the text slid under the fixed header. Now it is at least
      one screen tall, grows if its content needs more, and clears the header.
      Phones where everything already fitted look the same as before. */
@media (max-width: 48rem) {
  .static-hero {
    height: auto;
    min-height: 100svh;
    padding-block: 6rem 3rem;
  }
}

/* 12 ── Home first-screen badges (Preserving Tradition / Building Confidence /
      Creating Community) on phones: three compact tiles in ONE row instead of
      three tall cards stacked down the screen. Same text, icons and glass look —
      only spacing, padding and sizing change. */
@media (max-width: 48rem) {
  .static-hero__sub + div {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.625rem;
    width: 100%;
    margin-top: 1.5rem;
  }
  .static-hero__inner .hero-stats-badge {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 0;
    margin-top: 0 !important;
    padding: 0.875rem 0.375rem !important;
    gap: 0 !important;
    border-radius: var(--radius-lg);
  }
  .static-hero__inner .hero-stats-badge .hero-stat { flex: 1 1 auto; min-width: 0; }
  .static-hero__inner .hero-stat__value {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .static-hero__inner .hero-stat__value img {
    width: 2rem !important;
    height: auto;
  }
  .static-hero__inner .hero-stat__label1 {
    font-size: 0.75rem !important;
    line-height: 1.25;
    padding-top: 0.5rem !important;
    overflow-wrap: anywhere;
  }
  .static-hero__actions { margin-top: 1.5rem; }
}

/* 13 ── Phone-only hero backgrounds, set in the Customizer.
      The template prints the phone image as --sf-bg-m on the element (Static Hero and
      Slides 2–4). Phones (≤48rem) show it; tablet/desktop keep the main image, and an
      element without a phone image is untouched. (The slide lazy-load rule in block 7
      still wins for slides that are not active yet, so nothing downloads early.) */
@media (max-width: 48rem) {
  .static-hero__bg[style*="--sf-bg-m"],
  .hero-slide__bg[style*="--sf-bg-m"] {
    background-image: var(--sf-bg-m) !important;
  }
  /* Phone focal point (Customizer "Image Position (Mobile)") — applies to the phone
     image, or to the main image when no phone image is set. */
  .static-hero__bg[style*="--sf-pos-m"],
  .hero-slide__bg[style*="--sf-pos-m"] {
    background-position: var(--sf-pos-m) !important;
  }
}

/* 14 ── Small-screen / larger-text hardening (phones).
      Phones with "large display size" are ~320px wide, and many people enlarge the system
      font. Grid/flex children default to min-width:auto, so one long word or letter-spaced
      label pushes a whole column past the screen edge (impact stats, CSR tiers, footer…).

      A. Always on — these only act when something would otherwise overflow, so layouts that
         already fit look exactly as before. */
@media (max-width: 48rem) {
  .impact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .impact-stat__label { overflow-wrap: break-word; }

  /* auto-fit grids with a fixed minimum column never ask for more than the available width
     (rem grows with text size). Very old browsers without min() keep the original rule. */
  .programs-grid { grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr)); }
  [style*="minmax(16rem"] { grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)) !important; }
  [style*="minmax(14rem"] { grid-template-columns: repeat(auto-fit, minmax(min(14rem, 100%), 1fr)) !important; }
  [style*="minmax(12rem"] { grid-template-columns: repeat(auto-fit, minmax(min(12rem, 100%), 1fr)) !important; }
  [style*="minmax(220px"] { grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)) !important; }

  /* narrow phones: tighter tiles so long labels (PERFORMANCES) stay whole in a 2-column grid */
  .impact-stat { padding-inline: var(--space-2); }
  .impact-stat__label { letter-spacing: 0.05em; font-size: 0.7rem; }

  /* footer: legal links and the credit line wrap onto their own row instead of squeezing */
  .footer-bottom__links { flex-wrap: wrap; }
}

/*    B. Only when the phone's text size is enlarged (html.sf-bigtext, set in <head> when the
         root font size is above ~17px): let content shrink and break words. */
@media (max-width: 48rem) {
  html.sf-bigtext body { overflow-wrap: break-word; }
  html.sf-bigtext [class*="grid"] > *,
  html.sf-bigtext [style*="display:grid"] > *,
  html.sf-bigtext .reveal > *,
  html.sf-bigtext .trust-item > *,
  html.sf-bigtext .footer-contact-item > *,
  html.sf-bigtext .donate-amount-tile,
  html.sf-bigtext .donate-amount-tile > *,
  html.sf-bigtext .timeline-card, html.sf-bigtext .timeline-item > *,
  html.sf-bigtext .program-card, html.sf-bigtext .mission-card, html.sf-bigtext .mission-card > *,
  html.sf-bigtext .site-logo__text { min-width: 0; }
  html.sf-bigtext .impact-stat { padding-inline: var(--space-3); }
  html.sf-bigtext .impact-stat__label { letter-spacing: 0.08em; }
  html.sf-bigtext .footer-contact-item a,
  html.sf-bigtext .footer-contact-item span,
  html.sf-bigtext .footer-bottom p,
  html.sf-bigtext .trust-item__text,
  html.sf-bigtext .donate-amount-tile__label,
  html.sf-bigtext .page-hero__title,
  html.sf-bigtext .static-hero__heading1,
  html.sf-bigtext .section-label,
  html.sf-bigtext .page-hero__eyebrow,
  html.sf-bigtext .site-logo__tagline { overflow-wrap: anywhere; }
}


/* 15 ── CSR partnership tiers (was inline styles) + mobile nested-padding trim.
      Tier names, benefits and amounts come from the Customizer, so any length must fit:
      the row wraps and the amount may break instead of pushing the card wider. */
.csr-tiers {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}
.csr-tier {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.12);
  border-radius: var(--radius-lg);
}
.csr-tier__body { flex: 1 1 12rem; min-width: 0; }
.csr-tier__name {
  color: var(--color-gold-light);
  font-family: var(--font-accent);
  font-size: var(--font-size-sm);
  letter-spacing: var(--letter-spacing-wide);
  overflow-wrap: break-word;
}
.csr-tier__benefits {
  font-size: var(--font-size-xs);
  color: rgba(250,247,242,0.45);
  margin-top: var(--space-1);
  overflow-wrap: break-word;
}
.csr-tier__amt {
  flex: 0 1 auto;
  max-width: 100%;
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  color: var(--color-gold);
  overflow-wrap: anywhere;
}

/*    Phones: container gutter + card padding + inner-row padding were stacking up to
      ~100px per side. Tokens below shrink the inner layers only; the page gutter
      (--container-pad) is untouched, so text still lines up with the header. */
:root {
  --card-pad-mobile: var(--space-5);
  --card-inner-pad-mobile: var(--space-3);
}
@media (max-width: 48rem) {
  .csr-visual__card { padding: var(--card-pad-mobile); border-radius: var(--radius-xl); }
  .csr-tiers { gap: var(--space-3); margin-bottom: var(--space-6); }
  .csr-tier { padding: var(--card-inner-pad-mobile) var(--space-4); }
  .csr-tier__body { flex-basis: 100%; }
  .csr-tier__amt { font-size: var(--font-size-base); }
  .csr-visual__card p { margin-bottom: var(--space-5); }

  /* generic: cards whose padding is set inline (var(--space-8/10)) inside a container */
  .donate-card { padding: var(--card-pad-mobile); }
  .impact-section { padding-block: var(--space-16); }
  .impact-section__header { margin-bottom: var(--space-8); }
  .impact-grid { margin-bottom: var(--space-10); }
  .csr-section,
  .founder-section { padding-block: var(--space-16); }
  [style*="padding:var(--space-8)"] { padding: var(--card-pad-mobile) !important; }
  [style*="padding:var(--space-10)"] { padding: var(--card-pad-mobile) !important; }
}

/* 16 ── Phones: dynamic labels may not exceed the screen.
      Buttons keep one line when they fit (nowrap stays on desktop) but wrap, centred, on a
      phone when a Customizer label is longer than the space; max-width stops them
      outgrowing their card. Founder credential chip likewise. */
@media (max-width: 48rem) {
  .btn {
    white-space: normal;
    text-align: center;
    max-width: 100%;
    padding-inline: var(--space-6);
    line-height: var(--line-height-snug, 1.3);
  }
  .founder-creds {
    white-space: normal;
    width: max-content;
    max-width: calc(100% - var(--space-6));
    padding: var(--space-3) var(--space-4);
  }
}

/* 17 ── Phones: remaining rows that hold Customizer text stack to one column.
      Every selector matches the exact inline string of one block, nested under body, so
      nothing else on the site is touched. Rows keep their desktop layout above 30rem. */
@media (max-width: 30rem) {
  /* Contact · opening hours: day above time, so long times ("… (by appointment)") never squeeze */
  body [style*="display:flex;justify-content:space-between;font-size:var(--font-size-sm);padding-bottom:var(--space-3)"] {
    flex-direction: column;
    gap: var(--space-1);
  }
  /* Programs · venue chips: one per row instead of two cramped columns */
  body [style*="grid-template-columns:1fr 1fr;gap:var(--space-4);margin-top:var(--space-6)"] {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  /* Icon + text cards (Programs objectives, About / About-us values): icon above text */
  body [style*="display:flex;gap:var(--space-5);padding:var(--space-6)"],
  body [style*="display:flex;gap:var(--space-4);padding:var(--space-6)"],
  body [style*="display:flex;gap:var(--space-4);padding:var(--space-5) var(--space-6)"] {
    flex-direction: column;
    gap: var(--space-3) !important;
    padding: var(--card-inner-pad-mobile) var(--space-4) !important;
  }
}

/* 18 ── Donate page · phones.
      Scoped to .donate-trust-bar / .donate-section / .donate-trust-strip, so no other page is
      touched. Fixes: amount tiles could be pushed wider than the card by a long Customizer
      label (1fr columns have min-content minimum); sidebar rows had no shrink room; and the
      section → card → box padding stacked up. */
@media (max-width: 48rem) {
  /* spacing tokens: outer section padding down one step, boxes share the card tokens */
  .donate-section { padding-block: var(--space-12); }
  .donate-trust-strip { padding-block: var(--space-12); }
  .donate-trust-bar { padding-block: var(--space-4); }
  .donate-trust-bar .donate-trust-bar__inner { gap: var(--space-2) var(--space-5); justify-content: flex-start; }

  .donate-section .donate-layout { gap: var(--space-8); }
  .donate-section .donate-card__head { gap: var(--space-3); margin-bottom: var(--space-5); padding-bottom: var(--space-4); }
  .donate-section .donate-card__head > div { min-width: 0; overflow-wrap: break-word; }
  .donate-section .donate-impact-box,
  .donate-section .donate-payment-box { padding: var(--card-pad-mobile); }
  .donate-section .donate-tax-box { padding: var(--card-inner-pad-mobile) var(--space-4); }
  .donate-section .donate-cta-wrap { margin-top: var(--space-6); padding-top: var(--space-5); }

  /* amount tiles: shrinkable columns, wrapped text */
  .donate-section .donate-amounts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-3); }
  .donate-section .donate-amount-tile { min-width: 0; padding: var(--space-4) var(--space-2); }
  .donate-section .donate-amount-tile__val,
  .donate-section .donate-amount-tile__label { max-width: 100%; overflow-wrap: anywhere; }
  .donate-section .donate-amount-tile__popular {
    max-width: calc(100% - var(--space-2));
    font-size: var(--font-size-xs);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* rows with icon + Customizer text: text column may shrink and wrap */
  .donate-section .donate-impact-item > div:not(.donate-impact-item__icon),
  .donate-section .payment-method-item > div:not(.payment-method-item__icon),
  .donate-section .donate-tax-box > div { min-width: 0; overflow-wrap: break-word; }
  .donate-section .donate-summary { padding: var(--space-3) var(--space-4); }
  .donate-section .donate-summary__text { overflow-wrap: anywhere; }
  .donate-section .donate-info-col { grid-template-columns: minmax(0, 1fr); }
}

/* very narrow phones (≤360px): one tile per row */
@media (max-width: 22.5rem) {
  .donate-section .donate-amounts { grid-template-columns: minmax(0, 1fr); }
}

/* tablets (info column sits in two columns): let both columns shrink */
@media (min-width: 48.0625rem) and (max-width: 64rem) {
  .donate-section .donate-info-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 19 ── Home · Our Impact stats: cannot overflow on small / large-text phones.
      Columns are sized by available width, not by the longest label: 2 columns when each
      can be at least 9rem, otherwise they drop to 1 (e.g. 320px screens or enlarged system
      text). Browsers without min() keep the 2-column rule from block 14 (declaration is
      ignored there). Scoped to .impact-section. */
@media (max-width: 48rem) {
  .impact-section .impact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .impact-section .impact-grid { grid-template-columns: repeat(auto-fit, minmax(min(9rem, 100%), 1fr)); }
  .impact-section .impact-stat {
    min-width: 0;
    padding: var(--card-inner-pad-mobile) var(--space-2);
  }
  .impact-section .impact-stat__number { overflow-wrap: break-word; }
  .impact-section .impact-stat__label {
    min-width: 0;
    max-width: 100%;
    word-break: break-word;       /* older WebViews */
    overflow-wrap: anywhere;
    hyphens: auto;
    letter-spacing: 0.05em;
  }
}

/* 20 ── Programs page photos: phone variation + height/position controls.
      Customizer → Programs Page — Program N → Photo / Photo (Mobile).
      The frame is always 100% wide (block 6340s); only its height and the crop anchor change.
      • sf_program_img_html() prints <picture> when a phone photo is set (phones download only that one).
      • Desktop height is inline on the frame; the phone height rides as --sf-ph-m (set only when typed).
      • Crop anchor: object-position inline (desktop) and --sf-op-m (phones). Elements without these
        variables are untouched, so programs that use no new setting render exactly as before. */
.programs-detail-img .story-img-frame picture {
  display: block;
  width: 100%;
  height: 100%;
}
@media (max-width: 48rem) {
  .programs-detail-img .story-img-frame[style*="--sf-ph-m"] {
    aspect-ratio: auto !important;
    height: var(--sf-ph-m) !important;
  }
  .programs-detail-img .story-img-frame img[style*="--sf-op-m"] {
    object-position: var(--sf-op-m) !important;
  }
}

/* 21 ── Home static hero (first section) on phones: height + text shade, set in the Customizer.
      Customizer → Home — Static Hero Bar. Both variables are printed only when changed from 100,
      so the default look is untouched. The section stays min-height only (never clips its text);
      the image remains full width and is cropped at the chosen phone position. */
@media (max-width: 48rem) {
  .static-hero[style*="--sf-hero-h-m"] { min-height: var(--sf-hero-h-m); }
  .static-hero[style*="--sf-scrim-m"] .static-hero__overlay1 { opacity: var(--sf-scrim-m); }
}
