/* ============================================================
   LAURA'S LIGHT — Multi-page SPA Styles
   Campaign-driven fundraising website
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* Type Scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* Spacing */
  --space-1:  0.25rem;  --space-2:  0.5rem;   --space-3:  0.75rem;
  --space-4:  1rem;     --space-5:  1.25rem;  --space-6:  1.5rem;
  --space-8:  2rem;     --space-10: 2.5rem;   --space-12: 3rem;
  --space-16: 4rem;     --space-20: 5rem;     --space-24: 6rem;
  --space-32: 8rem;

  /* Font Families */
  --font-display: 'Cabinet Grotesk', 'DM Sans', sans-serif;
  --font-body: 'General Sans', 'DM Sans', sans-serif;

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;

  /* Radius */
  --radius-sm: 0.375rem;  --radius-md: 0.5rem;  --radius-lg: 0.75rem;
  --radius-xl: 1rem;      --radius-2xl: 1.5rem;  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadows */
  --shadow-sm: 0 1px 2px oklch(0.2 0.02 330 / 0.06);
  --shadow-md: 0 4px 12px oklch(0.2 0.02 330 / 0.08);
  --shadow-lg: 0 12px 32px oklch(0.2 0.02 330 / 0.12);
  --shadow-glow: 0 0 40px oklch(0.7 0.15 350 / 0.3);
}

/* ---- Brand Palette — Light ---- */
:root, [data-theme="light"] {
  --color-bg: #FEFCFB;
  --color-surface: #FFF8F8;
  --color-surface-2: #FFF0F1;
  --color-surface-offset: #F9F0F2;
  --color-surface-accent: #FAE8EA;
  --color-divider: #E8D5D8;
  --color-border: #D9C5C9;

  --color-text: #1A1118;
  --color-text-muted: #6B5560;
  --color-text-faint: #A8949C;
  --color-text-inverse: #FEFCFB;

  --color-primary: #F06570;
  --color-primary-hover: #E04855;
  --color-primary-active: #C53545;

  --color-accent: #733463;
  --color-accent-hover: #5C2850;
  --color-accent-light: #9B5E8C;

  --gradient-hero: linear-gradient(135deg, #2A0E3A 0%, #4A1F5C 30%, #733463 70%, #9B5E8C 100%);
  --gradient-warm: linear-gradient(135deg, #F06570 0%, #FF8A92 50%, #FFB5B9 100%);
  --gradient-plum: linear-gradient(135deg, #5C2850 0%, #733463 50%, #9B5E8C 100%);
  --gradient-glow: radial-gradient(ellipse at center, oklch(0.75 0.12 310 / 0.15), transparent 70%);
}

/* ---- Dark mode ---- */
[data-theme="dark"] {
  --color-bg: #130F12;
  --color-surface: #1C161A;
  --color-surface-2: #241D22;
  --color-surface-offset: #1E181C;
  --color-surface-accent: #2B2029;
  --color-divider: #362B33;
  --color-border: #443840;
  --color-text: #E8DDE3;
  --color-text-muted: #9A8992;
  --color-text-faint: #6B5C65;
  --color-text-inverse: #130F12;
  --color-primary: #FF8A92;
  --color-primary-hover: #F06570;
  --color-primary-active: #E04855;
  --color-accent: #C48AB6;
  --color-accent-hover: #A86FA0;
  --color-accent-light: #D9A8CE;
  --gradient-hero: linear-gradient(135deg, #1A0A24 0%, #2E1540 30%, #4A2555 70%, #6B3A70 100%);
  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.2);
  --shadow-md: 0 4px 12px oklch(0 0 0 / 0.3);
  --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.4);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg: #130F12;
    --color-surface: #1C161A;
    --color-surface-2: #241D22;
    --color-surface-offset: #1E181C;
    --color-surface-accent: #2B2029;
    --color-divider: #362B33;
    --color-border: #443840;
    --color-text: #E8DDE3;
    --color-text-muted: #9A8992;
    --color-text-faint: #6B5C65;
    --color-text-inverse: #130F12;
    --color-primary: #FF8A92;
    --color-primary-hover: #F06570;
    --color-primary-active: #E04855;
    --color-accent: #C48AB6;
    --color-accent-hover: #A86FA0;
    --color-accent-light: #D9A8CE;
    --gradient-hero: linear-gradient(135deg, #1A0A24 0%, #2E1540 30%, #4A2555 70%, #6B3A70 100%);
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.2);
    --shadow-md: 0 4px 12px oklch(0 0 0 / 0.3);
    --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.4);
  }
}


/* ============================================================
   2. LAYOUT & UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

.section-padding {
  padding-block: var(--space-24);
}

.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.1;
  margin-bottom: var(--space-4);
}

.section-desc {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.6;
}


/* ============================================================
   3. SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress-track {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 10000;
  background: transparent;
}
.scroll-progress-bar {
  height: 100%;
  width: 0;
  background: var(--gradient-warm);
  transition: width 80ms linear;
}


/* ============================================================
   4. HEADER & NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 900;
  padding: var(--space-4) 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.site-header.scrolled {
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
  padding: var(--space-2) 0;
}

.header-inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-link img,
.logo-link svg {
  height: 36px;
  width: auto;
}

/* Show white logo by default (dark hero), purple when scrolled */
.logo-dark { display: none; }
.logo-light { display: block; }
.site-header.scrolled .logo-light { display: none; }
.site-header.scrolled .logo-dark { display: block; }

/* Flame — matches logo colour by default */
.logo-light .ll-flame { fill: #fff; transition: fill 0.3s ease, filter 0.3s ease; transform-origin: center bottom; }
.logo-dark .ll-flame { fill: #733463; transition: fill 0.3s ease, filter 0.3s ease; transform-origin: center bottom; }

/* On hover, the flame lights up */
.logo-link:hover .ll-flame {
  fill: #FF9E3D;
  filter: drop-shadow(0 0 4px rgba(255,158,61,0.7)) drop-shadow(0 0 10px rgba(255,100,20,0.4));
  animation: flame-flicker 0.8s ease-in-out infinite alternate;
}
@keyframes flame-flicker {
  0%   { filter: drop-shadow(0 0 3px rgba(255,158,61,0.6)) drop-shadow(0 0 8px rgba(255,100,20,0.3)); transform: scaleY(1); }
  50%  { filter: drop-shadow(0 0 6px rgba(255,158,61,0.9)) drop-shadow(0 0 14px rgba(255,100,20,0.5)); transform: scaleY(1.06); }
  100% { filter: drop-shadow(0 0 4px rgba(255,158,61,0.7)) drop-shadow(0 0 10px rgba(255,100,20,0.4)); transform: scaleY(0.97); }
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  color: rgba(255,255,255,0.85);
  padding: var(--space-1) 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition-interactive), border-color var(--transition-interactive);
}
.nav-link:hover { color: #fff; }
.nav-link.active {
  color: #fff;
  border-bottom-color: var(--color-primary);
}

.site-header.scrolled .nav-link {
  color: var(--color-text-muted);
}
.site-header.scrolled .nav-link:hover {
  color: var(--color-text);
}
.site-header.scrolled .nav-link.active {
  color: var(--color-text);
  border-bottom-color: var(--color-primary);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition-interactive), transform var(--transition-interactive);
}
.nav-cta:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.site-header.scrolled .hamburger span {
  background: var(--color-text);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: var(--gradient-hero);
  z-index: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: color var(--transition-interactive);
}
.mobile-nav a:hover { color: var(--color-primary); }

@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .hamburger { display: flex; }
}


/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: background var(--transition-interactive),
              color var(--transition-interactive),
              transform var(--transition-interactive),
              box-shadow var(--transition-interactive);
  position: relative;
  overflow: hidden;
}

.btn-sm  { font-size: var(--text-sm); padding: var(--space-2) var(--space-5); }
.btn-lg  { font-size: var(--text-base); padding: var(--space-3) var(--space-8); }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px oklch(from var(--color-primary) l c h / 0.35);
}

.btn-accent {
  background: var(--color-accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  border: 2px solid var(--color-border);
  color: var(--color-text);
}
.btn-outline-dark:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.btn-arrow {
  gap: var(--space-2);
}
.btn-arrow i { transition: transform 0.2s ease; }
.btn-arrow:hover i { transform: translateX(4px); }

/* Ripple effect */
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transform: scale(0);
  animation: btn-ripple 0.7s ease-out;
  pointer-events: none;
}
@keyframes btn-ripple {
  to { transform: scale(1); opacity: 0; }
}


/* ============================================================
   6. HERO — Home (Carousel)
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-carousel {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 25%;
  opacity: 0;
  transition: opacity 1.2s ease;
  will-change: opacity;
}
.hero-slide.active {
  opacity: 1;
}
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(42,14,58,0.7) 0%, rgba(115,52,99,0.6) 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  opacity: 0.55;
  z-index: 1;
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: url(./assets/images/grain.png) repeat;
  opacity: 0.04;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: var(--space-32) var(--space-6) var(--space-16);
  max-width: 800px;
  margin-inline: auto;
}

.hero-kicker {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: var(--space-4);
}

.hero-headline {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  color: #fff;
  line-height: 1.05;
  margin-bottom: var(--space-6);
  letter-spacing: -0.02em;
  animation: hero-glow 3s ease-in-out infinite alternate;
}
@keyframes hero-glow {
  0% {
    text-shadow:
      0 0 10px rgba(250, 128, 135, 0.3),
      0 0 30px rgba(250, 128, 135, 0.15),
      0 0 60px rgba(250, 128, 135, 0.05);
  }
  100% {
    text-shadow:
      0 0 15px rgba(250, 128, 135, 0.5),
      0 0 40px rgba(250, 128, 135, 0.3),
      0 0 80px rgba(250, 128, 135, 0.15),
      0 0 120px rgba(250, 128, 135, 0.05);
  }
}

.hero-sub {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

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

.hero-carousel-dots {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
  margin-top: var(--space-10);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.dot.active {
  background: var(--color-primary);
  transform: scale(1.3);
}
.dot:hover { background: rgba(255,255,255,0.6); }


/* ============================================================
   SCROLLING SLOGAN MARQUEE
   ============================================================ */
.scrolling-slogan {
  background: var(--color-primary);         /* coral pink — high contrast    */
  overflow: hidden;
  padding: var(--space-5) 0;                /* ← tweak spacing around banner */
  user-select: none;
}

.marquee {
  position: relative;
  width: 100%;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  will-change: transform;
  animation: marquee-scroll 32s linear infinite;  /* ← tweak speed here */
}

.scrolling-slogan:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.2vw, 2.2rem); /* ← tweak font size            */
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  padding: 0 var(--space-6);
}

.marquee-sep {
  color: rgba(255,255,255,0.5);
  font-size: clamp(1rem, 2vw, 1.5rem);
  padding: 0 var(--space-5);
}

@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .hero-headline { animation: none; }
  .hero-cta-primary:hover,
  .hero-cta-primary:focus-visible {
    transform: none !important;
    box-shadow: none !important;
  }
}

/* ---- Hero CTA "Light turns on" effect ---- */
.hero-cta-primary {
  /* Tuneable values — adjust these to taste:
     --cta-glow-spread : size of the outer glow     (default 28px)
     --cta-glow-color  : colour of the glow          (default coral-pink at 55% opacity)
     --cta-scale       : how much it grows on hover   (default 1.07)
     --cta-transition  : speed of the animation       (default 0.35s)
  */
  --cta-glow-spread: 28px;
  --cta-glow-color: rgba(250, 128, 135, 0.55);
  --cta-scale: 1.07;
  --cta-transition: 0.35s;

  transition:
    transform var(--cta-transition) cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow var(--cta-transition) cubic-bezier(0.22, 1, 0.36, 1),
    background var(--cta-transition) ease;
  will-change: transform, box-shadow;
}

.hero-cta-primary:hover,
.hero-cta-primary:focus-visible {
  transform: scale(var(--cta-scale));
  background: #FF8A92;                       /* brighter coral — the "light on" colour */
  box-shadow:
    0 0 var(--cta-glow-spread) var(--cta-glow-color),   /* main outer glow  */
    0 0 calc(var(--cta-glow-spread) * 2) rgba(250, 128, 135, 0.2),  /* wider soft halo  */
    0 4px 14px rgba(0, 0, 0, 0.15);          /* subtle depth shadow */
}

/* On mobile keep the scale smaller so it doesn't break the layout */
@media (max-width: 600px) {
  .hero-cta-primary { --cta-scale: 1.04; --cta-glow-spread: 18px; }
}


/* ---- Activity Ticker ---- */
.activity-ticker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: var(--space-6);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
  min-height: 1.6em;                    /* prevent layout shift on swap */
  transition: opacity 0.5s ease;        /* ← matches FADE_MS in JS      */
  opacity: 1;
}

.activity-ticker.ticker-fade-out {
  opacity: 0;
}

.ticker-icon {
  color: var(--color-primary);
  opacity: 0.7;
  font-size: 0.65em;
  animation: ticker-pulse 3s ease-in-out infinite;
}

@keyframes ticker-pulse {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 1;   }
}

@media (prefers-reduced-motion: reduce) {
  .activity-ticker { transition: none; }
  .ticker-icon     { animation: none; }
}

@media (max-width: 600px) {
  .activity-ticker { font-size: var(--text-xs); margin-top: var(--space-4); }
}


/* ============================================================
   7. PAGE HEROES (Inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-hero--donate   { background: var(--gradient-hero); }
.page-hero--fundraise { background: url(./assets/images/R-Carey-2.jpg) center/cover no-repeat; }
.page-hero--shop     { background: var(--gradient-plum); }
.page-hero--impact   { background: url(./assets/images/supporters-flags.jpg) center/cover no-repeat; }
.page-hero--about    { background: url(./assets/images/CKM.jpg) center/cover no-repeat; }
.page-hero--contact  { background: var(--gradient-hero); }

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(42,14,58,0.75) 0%, rgba(115,52,99,0.65) 100%);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--space-32) var(--space-6) var(--space-16);
  max-width: 700px;
  margin-inline: auto;
}
.page-hero-content h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: var(--space-4);
}
.page-hero-content p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.6;
}


/* ============================================================
   8. WHY SECTION (Home)
   ============================================================ */
.why-section { background: var(--color-bg); }

.why-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-16);
  align-items: center;
}

.why-text .btn { margin-top: var(--space-6); }

.quote-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  text-align: center;
}
.quote-img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin-inline: auto;
  margin-bottom: var(--space-6);
  border: 4px solid var(--color-surface-accent);
}
.quote-img--logo {
  object-fit: contain;
  background: #fff;
  padding: 18px;
  border-radius: 50%;
}
.quote-card blockquote {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.4;
  font-style: italic;
  margin-bottom: var(--space-3);
}
.quote-card cite {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-style: normal;
}


/* ============================================================
   9. IMPACT STRIP (Stats bar — Home)
   ============================================================ */
.impact-strip {
  background: var(--gradient-hero);
  padding-block: var(--space-12);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-8);
  text-align: center;
}

.impact-icon {
  color: var(--color-primary);
  margin-bottom: var(--space-2);
  display: flex;
  justify-content: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  margin-top: var(--space-1);
}


/* ============================================================
   10. WHAT WE DO — Action Cards (Home)
   ============================================================ */
.whatwedo-section { background: var(--color-surface); }

.action-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.action-card {
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.action-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.action-card-img {
  height: 220px;
  overflow: hidden;
}
.action-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.action-card:hover .action-card-img img {
  transform: scale(1.06);
}

.action-card-body {
  padding: var(--space-6);
}
.action-card-body h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.action-card-body p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}


/* ============================================================
   11. GRANTS SECTION (Home — Impact preview)
   ============================================================ */
.grants-section { background: var(--color-bg); }

.grants-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.grant-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.grant-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.grant-card-top {
  margin-bottom: var(--space-3);
}
.grant-partner {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-accent);
}
.grant-amount {
  display: block;
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--color-primary);
  margin-top: var(--space-1);
}
.grant-outcome {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
}


/* ============================================================
   12. JOIN THE MOVEMENT (Home + Impact page reuse)
   ============================================================ */
.movement-section {
  background: var(--gradient-hero);
  padding-block: var(--space-20);
}

.movement-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin-bottom: var(--space-3);
}

.movement-sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.8);
  text-align: center;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: var(--space-12);
}

.movement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  max-width: 960px;
  margin-inline: auto;
}

.movement-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  text-align: center;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.3s ease;
}
.movement-card:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-4px);
}

.movement-icon {
  color: var(--color-primary);
  margin-bottom: var(--space-4);
  display: flex;
  justify-content: center;
}

.movement-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-2);
}
.movement-card p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}


/* ============================================================
   13. PHOTO GRID / GALLERY (Home)
   ============================================================ */
.gallery-section { background: var(--color-surface); }

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-12);
}

.photo-grid-item {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 1;
  position: relative;
}
.photo-grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.photo-grid-item:hover img {
  transform: scale(1.08);
}

/* Photo captions — name & event overlay */
.photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-8) var(--space-4) var(--space-4);
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 2px;
  pointer-events: none;
  z-index: 2;
}
.caption-name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.caption-event {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  line-height: 1.3;
}


/* ============================================================
   13b. FUNDRAISER LEADERBOARD
   ============================================================ */
.leaderboard-section {
  background: var(--color-bg);
}

.leaderboard {
  max-width: 740px;
  margin-inline: auto;
  margin-top: var(--space-10);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: var(--color-surface);
}

.lb-header {
  display: grid;
  grid-template-columns: 48px 1.3fr 1fr 0.7fr;
  padding: var(--space-3) var(--space-6);
  background: var(--color-surface-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-faint);
}

.lb-row {
  display: grid;
  grid-template-columns: 48px 1.3fr 1fr 0.7fr;
  padding: var(--space-4) var(--space-6);
  align-items: center;
  border-bottom: 1px solid var(--color-divider);
  transition: background var(--transition-interactive);
}
.lb-row:last-child { border-bottom: none; }
.lb-row:hover {
  background: var(--color-surface-2);
}

.lb-rank {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
}
.lb-name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-text);
}
.lb-event {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.lb-amount {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  color: var(--color-primary);
  text-align: right;
}

/* Medal colours */
.lb-gold .lb-rank { color: #D4A017; }
.lb-gold .lb-name { color: var(--color-text); }
.lb-gold { background: oklch(0.92 0.04 85 / 0.15); }

.lb-silver .lb-rank { color: #8E8E8E; }
.lb-silver { background: oklch(0.9 0.01 260 / 0.08); }

.lb-bronze .lb-rank { color: #B87333; }
.lb-bronze { background: oklch(0.88 0.04 55 / 0.1); }


/* ============================================================
   14. DONATE PAGE
   ============================================================ */
.donate-section { background: var(--color-bg); }

.donate-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: var(--space-12);
  align-items: start;
}

.donate-form-wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
}
.donate-form-wrap h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

/* Frequency toggle */
/* Frequency toggle removed — one-time donations only */

/* Amount buttons */
.donate-amounts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}
.amount-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-4) var(--space-3);
  border-radius: var(--radius-xl);
  border: 2px solid var(--color-divider);
  background: var(--color-bg);
  cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  transition: all var(--transition-interactive);
}
.amount-btn:hover {
  border-color: var(--color-primary);
}
.amount-btn.active {
  border-color: var(--color-primary);
  background: oklch(from var(--color-primary) l c h / 0.08);
  color: var(--color-primary);
}
.amount-desc {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  color: var(--color-text-muted);
  margin-top: var(--space-1);
}

/* Custom amount */
.donate-custom {
  margin-bottom: var(--space-6);
}
.donate-custom label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: var(--space-2);
}
.custom-input-wrap {
  display: flex;
  align-items: center;
  border: 2px solid var(--color-divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-interactive);
}
.custom-input-wrap:focus-within {
  border-color: var(--color-primary);
}
.currency-prefix {
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface-2);
  font-weight: 600;
  color: var(--color-text-muted);
  border-right: 1px solid var(--color-divider);
}
.custom-input-wrap input {
  flex: 1;
  padding: var(--space-3) var(--space-4);
  border: none;
  background: transparent;
  outline: none;
  font-size: var(--text-base);
}

/* Trust signals */
.donate-redirect-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  opacity: 0.8;
}

.trust-signals {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}
.trust-item i { color: var(--color-accent-light); }

/* Donate sidebar */
.donate-info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  margin-bottom: var(--space-6);
}
.donate-info-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.donate-impact-list {
  list-style: none;
  padding: 0;
}
.donate-impact-list li {
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--color-divider);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
}
.donate-impact-list li:last-child { border-bottom: none; }
.donate-impact-list strong {
  color: var(--color-primary);
  font-weight: 700;
}

.donate-testimonial {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  border-left: 4px solid var(--color-primary);
}
.donate-testimonial p {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
  line-height: 1.5;
  font-style: italic;
}
.donate-testimonial cite {
  display: block;
  margin-top: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-style: normal;
}

/* Thank you overlay */
.thankyou-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: oklch(from var(--color-bg) l c h / 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.thankyou-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}

.thankyou-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  text-align: center;
  max-width: 480px;
  position: relative;
  overflow: hidden;
}
.thankyou-icon { color: var(--color-primary); margin-bottom: var(--space-4); }
.thankyou-card h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.thankyou-card p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

/* Confetti */
.thankyou-confetti {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}
.confetti-piece {
  position: absolute;
  top: -20px;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  animation: confetti-fall 2s ease-in forwards;
}
.confetti-shape {
  width: auto;
  height: auto;
  background: none !important;
  border-radius: 0;
}
.confetti-shape svg {
  width: 16px;
  height: 16px;
  display: block;
}
@keyframes confetti-fall {
  0% { transform: translateY(0) rotate(0deg); opacity: 1; }
  100% { transform: translateY(400px) rotate(720deg); opacity: 0; }
}


/* ============================================================
   15. FUNDRAISE PAGE
   ============================================================ */

/* London Marathon promo */
.marathon-promo { background: var(--color-bg); }

.marathon-card {
  background: var(--gradient-hero);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.marathon-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, oklch(0.7 0.12 350 / 0.15), transparent 60%);
  pointer-events: none;
}

.marathon-badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--color-primary);
  color: #fff;
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
  position: relative;
}

.marathon-card h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-4);
  position: relative;
}
.marathon-card p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  line-height: 1.6;
  position: relative;
}
.marathon-card .btn { position: relative; }

/* Steps */
.steps-section { background: var(--color-surface); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-12);
}

.step-card {
  text-align: center;
  padding: var(--space-6);
}
.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 800;
  margin-bottom: var(--space-4);
}
.step-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.step-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Fundraise inspiration strip */
.inspo-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-10);
  align-items: center;
  background: var(--color-surface-accent);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.inspo-img {
  height: 100%;
}
.inspo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.inspo-text {
  padding: var(--space-8) var(--space-8) var(--space-8) 0;
}
.inspo-text h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  margin: 0 0 var(--space-3);
}
.inspo-text p {
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Forms (shared between Fundraise + Contact) */
.form-section { background: var(--color-bg); }

.form-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-12);
  align-items: start;
}

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

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.form-group label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
}
.form-group input,
.form-group textarea {
  padding: var(--space-3) var(--space-4);
  border: 2px solid var(--color-divider);
  border-radius: var(--radius-lg);
  background: var(--color-bg);
  font-size: var(--text-base);
  color: var(--color-text);
  transition: border-color var(--transition-interactive);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-faint);
}

.form-success {
  text-align: center;
  padding: var(--space-8);
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-text);
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
}
.form-success p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
}

/* JustGiving card */
.justgiving-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  margin-bottom: var(--space-6);
}
.justgiving-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.justgiving-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.form-side-img {
  width: 100%;
  border-radius: var(--radius-2xl);
  object-fit: cover;
  aspect-ratio: 4/3;
}


/* ============================================================
   16. SHOP PAGE
   ============================================================ */
.shop-section { background: var(--color-bg); }

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

.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-img {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-8);
}
.product-img--photo {
  padding: 0;
  overflow: hidden;
}

.product-body {
  padding: var(--space-6);
}
.product-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}
.product-badge.new { background: oklch(from var(--color-primary) l c h / 0.15); color: var(--color-primary); }
.product-badge.sold-out { background: var(--color-surface-2); color: var(--color-text-faint); }
.product-badge.coming-soon { background: oklch(from var(--color-accent) l c h / 0.12); color: var(--color-accent); }

.product-body h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}
.product-price {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.product-body p:not(.product-price) {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  line-height: 1.5;
}


/* ============================================================
   17. IMPACT PAGE (Full)
   ============================================================ */
.impact-detail { background: var(--color-bg); }

.impact-intro {
  max-width: 700px;
  margin-bottom: var(--space-12);
}
.impact-intro h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}
.impact-intro p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: 1.6;
}

.impact-projects {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.impact-project {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  gap: var(--space-8);
  align-items: center;
}
.impact-project:nth-child(even) {
  direction: rtl;
}
.impact-project:nth-child(even) > * {
  direction: ltr;
}

.impact-project-img {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.impact-project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.impact-badge {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-3);
}
.impact-quote {
  margin-top: var(--space-6);
  padding: var(--space-5) var(--space-6);
  background: var(--color-surface);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}
.impact-quote p {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 500;
  font-style: italic;
  line-height: 1.6;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.impact-quote cite {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-style: normal;
  font-weight: 600;
}
.impact-project--featured {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
}
.impact-project--more {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-surface) 0%, oklch(0.85 0.08 340 / 0.15) 100%);
  border: 2px dashed var(--color-coral);
  border-radius: var(--radius-2xl);
  padding: var(--space-12) var(--space-8);
  text-align: center;
  grid-column: 1 / -1;
}
.impact-more-inner h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}
.impact-more-inner p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 480px;
  margin-inline: auto;
  line-height: 1.6;
}
.impact-project--featured .impact-project-img {
  aspect-ratio: 4/3;
}
.impact-project--featured .impact-project-img img {
  object-position: center top;
}
.impact-project-body h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-2);
}
.impact-outcome {
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}
.impact-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
}


/* ============================================================
   18. ABOUT PAGE
   ============================================================ */
.about-detail { background: var(--color-bg); }

.about-story {
  max-width: 740px;
  margin-bottom: var(--space-16);
}

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

.value-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  color: var(--color-primary);
  margin-bottom: var(--space-4);
  display: flex;
  justify-content: center;
}
.value-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}
.value-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}


/* ============================================================
   19. CONTACT PAGE
   ============================================================ */
.contact-section { background: var(--color-bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-12);
  align-items: start;
}

.contact-info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
}
.contact-info-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-divider);
}
.contact-method:last-child { border-bottom: none; }
.contact-method i {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-method strong {
  display: block;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
}
.contact-method a {
  color: var(--color-primary);
  text-decoration: none;
  font-size: var(--text-sm);
}
.contact-method a:hover { text-decoration: underline; }
.contact-method div {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}


/* ============================================================
   20. FOOTER
   ============================================================ */
.site-footer {
  background: #1A1118;
  color: rgba(255,255,255,0.75);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-brand img {
  margin-bottom: var(--space-4);
}
.footer-brand p {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  max-width: 340px;
}

.footer-links h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-links ul { list-style: none; padding: 0; }
.footer-links li { margin-bottom: var(--space-2); }
.footer-links a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color var(--transition-interactive);
}
.footer-links a:hover { color: var(--color-primary); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer-bottom p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
}
.footer-bottom a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
  text-decoration: none;
}
.footer-bottom a:hover { color: rgba(255,255,255,0.6); }

.footer-social {
  display: flex;
  gap: var(--space-4);
}
.footer-social a {
  color: rgba(255,255,255,0.5);
  transition: color var(--transition-interactive);
}
.footer-social a:hover { color: var(--color-primary); }


/* ============================================================
   21. SCROLL REVEAL ANIMATIONS
   ============================================================ */
[data-reveal] {
  opacity: 0;
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
[data-reveal="up"]    { transform: translateY(30px); }
[data-reveal="down"]  { transform: translateY(-30px); }
[data-reveal="left"]  { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(0.92); }

[data-reveal].revealed {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}


/* ============================================================
   22. RESPONSIVE — Tablet
   ============================================================ */
@media (max-width: 960px) {
  .why-grid { grid-template-columns: 1fr; gap: var(--space-8); }
  .action-cards { grid-template-columns: repeat(2, 1fr); }
  .grants-grid { grid-template-columns: repeat(2, 1fr); }
  .grants-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .movement-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .donate-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-project { grid-template-columns: 1fr; }
  .impact-project:nth-child(even) { direction: ltr; }
  .about-values { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ============================================================
   23. RESPONSIVE — Mobile
   ============================================================ */
@media (max-width: 640px) {
  .section-padding { padding-block: var(--space-16); }
  .hero-content { padding: var(--space-24) var(--space-4) var(--space-12); }
  .page-hero-content { padding: var(--space-24) var(--space-4) var(--space-12); }

  .action-cards { grid-template-columns: 1fr; }
  .grants-grid { grid-template-columns: 1fr; }
  .movement-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-grid { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .donate-amounts { grid-template-columns: repeat(2, 1fr); }

  .hero-actions { flex-direction: column; align-items: center; }

  .footer-bottom { flex-direction: column; text-align: center; }
  .wall-preview-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   WALL OF LIGHT — Dedicated Page
   ============================================================ */

/* Page hero */
.page-hero--wall {
  background: linear-gradient(135deg, var(--color-accent) 0%, #5a2249 60%, #3d1633 100%);
}

/* Homepage preview grid (legacy) */
.wall-preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-10);
}
.wall-preview-card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  text-decoration: none;
  transition: transform 350ms var(--ease-out-expo), box-shadow 350ms var(--ease-out-expo);
}
.wall-preview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px oklch(0 0 0 / 0.2);
}
.wall-preview-card img {
  width: 100%; height: 100%; object-fit: cover;
}

/* ---- Stacked People (Wall of Light home preview) ---- */
.wall-of-light-people {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: var(--space-12);
  padding-block: var(--space-4);
  position: relative;
}
.wol-people-card {
  position: relative;
  display: block;
  width: clamp(160px, 22vw, 260px);
  aspect-ratio: 3/4;
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 8px 30px oklch(0 0 0 / 0.18);
  border: 3px solid rgba(255,255,255,0.9);
  flex-shrink: 0;
  /* Stacked overlap */
  margin-left: calc(var(--card-index, 0) * 0px - 24px);
  z-index: calc(4 - var(--card-index, 0));
  /* Initial state — stacked behind center */
  opacity: 0;
  transform: translateX(0) translateY(12px) rotate(0deg) scale(0.92);
  transition:
    opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s ease;
  transition-delay: calc(var(--card-index, 0) * 120ms);
}
.wol-people-card:first-child {
  margin-left: 0;
}
/* Fan-out positions (final state) */
.wall-of-light-people.is-visible .wol-people-card:nth-child(1) {
  opacity: 1;
  transform: translateX(-8px) rotate(-4deg) scale(1);
}
.wall-of-light-people.is-visible .wol-people-card:nth-child(2) {
  opacity: 1;
  transform: translateX(-2px) rotate(-1.5deg) scale(1);
}
.wall-of-light-people.is-visible .wol-people-card:nth-child(3) {
  opacity: 1;
  transform: translateX(2px) rotate(1.5deg) scale(1);
}
.wall-of-light-people.is-visible .wol-people-card:nth-child(4) {
  opacity: 1;
  transform: translateX(8px) rotate(4deg) scale(1);
}
/* Hover: lift the card */
.wol-people-card:hover {
  z-index: 10;
  transform: translateY(-10px) scale(1.04) rotate(0deg) !important;
  box-shadow: 0 16px 50px oklch(0 0 0 / 0.25);
}
.wol-people-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Featured fundraiser cards */
.wol-card--feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
  margin-bottom: var(--space-16);
}
.wol-card--feature:last-child { margin-bottom: 0; }
.wol-card--feature.wol-card--reverse .wol-card-img { order: 1; }
.wol-card-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.wol-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 600ms var(--ease-out-expo);
}
.wol-card--feature:hover .wol-card-img img {
  transform: scale(1.03);
}
.wol-card-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.wol-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  width: fit-content;
}
.wol-badge--gold {
  background: oklch(0.92 0.06 85 / 0.25);
  color: #8B6914;
}
.wol-badge--accent {
  background: oklch(from var(--color-primary) l c h / 0.12);
  color: var(--color-primary);
}
.wol-card-name {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.15;
  margin: 0;
}
.wol-card-event {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin: 0;
}
.wol-card-amount {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-primary);
  margin: 0;
}
.wol-card-story {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text-muted);
  margin: var(--space-2) 0 0;
}

/* Community grid */
.wol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}
.wol-grid-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: 0 2px 12px oklch(0 0 0 / 0.06);
  transition: transform 350ms var(--ease-out-expo), box-shadow 350ms var(--ease-out-expo);
}
.wol-grid-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px oklch(0 0 0 / 0.12);
}
.wol-grid-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.wol-grid-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 500ms var(--ease-out-expo);
}
.wol-grid-card:hover .wol-grid-img img {
  transform: scale(1.04);
}
.wol-grid-info {
  padding: var(--space-5) var(--space-5) var(--space-6);
}
.wol-grid-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 var(--space-1);
}
.wol-grid-event {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0 0 var(--space-2);
}
.wol-grid-amount {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-primary);
  margin: 0;
}
.wol-grid-quote {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--color-accent);
  margin: var(--space-2) 0 0;
  line-height: 1.4;
}

/* Wall of Light CTA */
.wol-cta {
  background: linear-gradient(135deg, var(--color-accent) 0%, #5a2249 100%);
  color: #fff;
}
.wol-cta .section-title,
.wol-cta .section-desc { color: #fff; }
.wol-cta .btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.wol-cta .btn-outline-dark {
  border-color: oklch(1 0 0 / 0.7);
  color: #fff;
}
.wol-cta .btn-outline-dark:hover {
  background: oklch(1 0 0 / 0.1);
  border-color: oklch(1 0 0 / 0.6);
}

/* ============================================================
   OUR STORY — Timeline
   ============================================================ */
.page-hero--story {
  background: linear-gradient(135deg, #733463 0%, #1a0a14 60%, #000 100%);
}

/* Intro */
.story-intro-inner {
  max-width: 740px;
  margin-inline: auto;
  text-align: center;
}
.story-lead {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* Timeline container */
.story-timeline-section {
  padding: var(--space-12) 0 var(--space-16);
  background: var(--color-bg);
}
.story-timeline {
  position: relative;
  max-width: 900px;
  margin-inline: auto;
  padding: 0 var(--space-4);
}
/* Vertical line */
.story-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--color-primary) 5%, var(--color-primary) 95%, transparent);
  transform: translateX(-50%);
}

/* Year markers */
.tl-year-marker {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  margin: var(--space-10) 0 var(--space-6);
}
.tl-year-marker:first-child {
  margin-top: 0;
}
.tl-year-marker span {
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  padding: var(--space-2) var(--space-6);
  border-radius: 100px;
  letter-spacing: 0.05em;
  box-shadow: 0 0 24px oklch(from var(--color-primary) l c h / 0.35);
}

/* Timeline entry */
.tl-entry {
  position: relative;
  width: 50%;
  padding: 0 var(--space-8);
  margin-bottom: var(--space-8);
}
.tl-entry--left {
  left: 0;
  text-align: right;
  padding-right: var(--space-10);
  padding-left: var(--space-4);
}
.tl-entry--right {
  left: 50%;
  text-align: left;
  padding-left: var(--space-10);
  padding-right: var(--space-4);
}

/* Dot on the line */
.tl-dot {
  position: absolute;
  top: var(--space-3);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid var(--color-bg);
  box-shadow: 0 0 0 2px var(--color-primary), 0 0 16px oklch(from var(--color-primary) l c h / 0.3);
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tl-entry--left .tl-dot {
  right: -8px;
}
.tl-entry--right .tl-dot {
  left: -8px;
}
.tl-entry:hover .tl-dot {
  transform: scale(1.3);
  box-shadow: 0 0 0 3px var(--color-primary), 0 0 24px oklch(from var(--color-primary) l c h / 0.5);
}

/* Timeline card */
.tl-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tl-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px oklch(0 0 0 / 0.08);
}
.tl-card--highlight {
  background: linear-gradient(135deg, var(--color-primary), #733463);
  border-color: transparent;
  color: #fff;
}
.tl-card--highlight .tl-date,
.tl-card--highlight .tl-desc {
  color: oklch(1 0 0 / 0.85);
}
.tl-card--highlight .tl-title {
  color: #fff;
}

/* Card content */
.tl-date {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.tl-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: var(--space-2);
}
.tl-desc {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--color-text-muted);
}
.tl-img {
  display: block;
  width: 100%;
  margin-top: var(--space-4);
  border-radius: var(--radius-md);
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.tl-entry--left .tl-img {
  margin-left: auto;
}

/* ============================================================
   WALL OF LIGHT — Mobile Responsive
   ============================================================ */
@media (max-width: 640px) {
  .wol-card--feature { grid-template-columns: 1fr; gap: var(--space-6); }
  .wol-card--feature.wol-card--reverse .wol-card-img { order: 0; }
  .wol-card-img { aspect-ratio: 3/2; }
  .wol-card-name { font-size: var(--text-lg); }
  .wol-card-story { font-size: var(--text-sm); line-height: 1.6; }
  .wol-grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
  .wol-grid-img { aspect-ratio: 1/1; }
  .wol-grid-info { padding: var(--space-3) var(--space-3) var(--space-4); }
  .wol-grid-name { font-size: var(--text-base); }
  .wol-grid-event { font-size: var(--text-xs); }
  .wol-grid-amount { font-size: var(--text-sm); }
  .wol-grid-quote { font-size: var(--text-xs); }

  /* Stacked people — mobile */
  .wol-people-card {
    width: clamp(100px, 25vw, 140px);
    margin-left: -14px;
    border-width: 2px;
  }
  .wol-people-card:first-child { margin-left: 0; }
  .wol-people-card .caption-name { font-size: var(--text-xs); }
  .wol-people-card .caption-event { font-size: 10px; }
  .wol-people-card .photo-caption { padding: var(--space-4) var(--space-2) var(--space-2); }
  .wall-of-light-people.is-visible .wol-people-card:nth-child(1) { transform: translateX(-6px) rotate(-4deg) scale(1); }
  .wall-of-light-people.is-visible .wol-people-card:nth-child(2) { transform: translateX(-2px) rotate(-1.5deg) scale(1); }
  .wall-of-light-people.is-visible .wol-people-card:nth-child(3) { transform: translateX(2px) rotate(1.5deg) scale(1); }
  .wall-of-light-people.is-visible .wol-people-card:nth-child(4) { transform: translateX(6px) rotate(4deg) scale(1); }
}

/* Spinner for form submit loading state */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
