/* ============================================================
   HANDS FOR HOPE FOUNDATION — main.css
   Mobile-first · Vanilla CSS
   ============================================================ */

/* ── 1. CSS VARIABLES ── */
:root {
  --purple:      #2D0052;
  --purple-mid:  #4A007A;
  --purple-glow: #6B00AA;
  --gold:        #C9980A;
  --gold-light:  #F0C040;
  --gold-pale:   #FFF8E0;
  --teal:        #00B4C8;
  --magenta:     #D4006A;
  --white:       #FFFFFF;
  --cream:       #FDF8F2;
  --dark:        #0E0018;
  --dark-card:   #1A0030;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-card: 0 8px 32px rgba(0,0,0,0.18);
  --shadow-hero: 0 24px 60px rgba(0,0,0,0.55);

  --container: 1200px;
  --px:         clamp(1.1rem, 4vw, 2.5rem);
  --section-pad: clamp(3.5rem, 8vw, 5.5rem);
}

/* ── 2. RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-sans);
  font-size: clamp(0.88rem, 2vw, 1rem);
  line-height: 1.82;
  background: var(--dark);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.85; }

ul { list-style: none; }

/* ── 3. TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.15;
  font-weight: 900;
}

h1 { font-size: clamp(2.2rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.6rem, 4vw, 3rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.6rem); }

em { font-style: italic; color: var(--gold-light); }

.teal   { color: var(--teal); }
.gold   { color: var(--gold-light); }
.magenta { color: var(--magenta); }
.text-center { text-align: center; }

/* ── 4. LAYOUT UTILITIES ── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--px);
  padding-right: var(--px);
}

.grid-1-stack { display: flex; flex-direction: column; gap: 0.75rem; }

.grid-2, .grid-3, .grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ── 5. SECTION WRAPPERS ── */
.section-dark   { background: var(--dark); color: var(--white); padding: var(--section-pad) 0; }
.section-cream  { background: var(--cream); color: var(--dark); padding: var(--section-pad) 0; }
.section-purple { background: linear-gradient(135deg, var(--purple) 0%, var(--purple-mid) 100%); color: var(--white); padding: var(--section-pad) 0; position: relative; overflow: hidden; }

.section-label {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  display: block;
}

.section-h2 { margin-bottom: 1rem; }
.section-intro { max-width: 680px; opacity: 0.85; margin-bottom: 2rem; }

/* ── 6. BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, opacity 0.18s;
  min-height: 44px;
  white-space: nowrap;
  text-decoration: none;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.25); }
.btn:active { transform: translateY(0); }

.btn-gold    { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); }

.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: rgba(255,255,255,0.1); }

.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.btn-purple  { background: var(--purple-mid); color: var(--white); border-color: var(--purple-mid); }
.btn-teal    { background: var(--teal); color: var(--dark); border-color: var(--teal); }
.btn-magenta { background: var(--magenta); color: var(--white); border-color: var(--magenta); }

.btn-pulse {
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,152,10,0.5); }
  50%       { box-shadow: 0 0 0 12px rgba(201,152,10,0); }
}

/* ── 7. SKIP LINK ── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--gold);
  color: var(--dark);
  padding: 0.5rem 1rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ── 8. HEADER / NAV ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #25096d;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow 0.3s;
}

.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.45);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 110px;
}

.logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  width: 210px;
  flex: 0 0 210px;
  overflow: hidden;
  line-height: 0;
}

.logo-img {
  display: block;
  height: 112px;
  width: auto;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  transform: translateY(-2px);
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: background 0.18s, color 0.18s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: rgba(255,255,255,0.85);
}

.nav-link:hover,
.nav-link.active {
  background: rgba(255,255,255,0.08);
  color: var(--white);
}

.nav-link.active {
  color: var(--gold-light);
}

.nav-lang {
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

.nav-donate {
  margin-left: 0.5rem;
}

@media (min-width: 768px) {
  .photo-banner-strip {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: unset;
    height: 200px;
  }

  .photo-banner-strip--short {
    height: 110px;
  }
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }

  .mobile-controls {
    display: none !important;
  }
}

/* ── 9. MOBILE NAV ── */
.mobile-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-lang-mobile {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--teal);
}

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  align-items: center;
}

.ham-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.hamburger.open .ham-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open .ham-bar:nth-child(2) {
  opacity: 0;
}

.hamburger.open .ham-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  background: #25096d;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1rem var(--px) 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-nav-link {
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 0.5rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.9);
}

.mobile-nav-donate {
  margin-top: 1rem;
  width: 100%;
}

@media (max-width: 1023px) {
  .header-inner {
    height: 92px;
    gap: 1rem;
  }

  .logo-link {
    height: 86px;
    width: 170px;
    flex-basis: 170px;
  }

  .logo-img {
    height: 98px;
    max-width: none;
    transform: translateY(-2px);
  }
}

@media (max-width: 480px) {
  .header-inner {
    height: 84px;
  }

  .logo-link {
    height: 78px;
    width: 150px;
    flex-basis: 150px;
  }

  .logo-img {
    height: 90px;
  }
}

/* ── 10. HERO ── */
.hero {
  position: relative;
  overflow: hidden;
  padding: var(--section-pad) 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr 1fr; align-items: center; }
}

.hero-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.hero-h1 { margin-bottom: 1.25rem; }

.hero-mission {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  opacity: 0.85;
  margin-bottom: 2rem;
  max-width: 560px;
}

.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; }

@media (max-width: 639px) {
  .btn,
  .hero-btns .btn,
  .cta-banner-btns .btn {
    width: 100%;
    white-space: normal;
  }

  .hero-btns,
  .cta-banner-btns {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Rotating quote */
.rotating-quote {
  border-left: 3px solid var(--gold);
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  min-height: 4rem;
  position: relative;
}

.quote-rotate {
  font-size: 0.88rem;
  font-style: italic;
  opacity: 0;
  position: absolute;
  top: 0.75rem;
  left: 1rem;
  right: 0;
  transition: opacity 0.6s;
  color: rgba(255,255,255,0.75);
}

.quote-rotate.active { opacity: 1; position: relative; top: auto; left: auto; }

/* Hero photo + badges */
.hero-photo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-photo {
  width: 100%;
  max-width: 520px;
  height: clamp(300px, 50vw, 520px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-hero);
}

.hero-badge {
  position: absolute;
  background: var(--dark-card);
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
  text-align: center;
  backdrop-filter: blur(8px);
}

.hero-badge--top-right { top: 1rem; right: 0; }
.hero-badge--bottom-left { bottom: 1.5rem; left: 0; }

@media (max-width: 639px) {
  .hero-photo-wrap {
    padding-inline: 0.25rem;
  }

  .hero-badge {
    padding: 0.55rem 0.8rem;
    max-width: calc(100% - 1rem);
  }

  .hero-badge--top-right {
    top: 0.75rem;
    right: 0.5rem;
  }

  .hero-badge--bottom-left {
    bottom: 0.75rem;
    left: 0.5rem;
  }
}

.badge-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 900;
}

.badge-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
}

/* ── 11. STAT BAR ── */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--dark-card);
  border-top: 2px solid rgba(201,152,10,0.25);
  border-bottom: 2px solid rgba(201,152,10,0.25);
}

@media (min-width: 768px) {
  .stat-bar { grid-template-columns: repeat(6, 1fr); }
}

.stat-item {
  padding: 1.25rem 0.75rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.stat-item:last-child { border-right: none; }

.stat-n {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 900;
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-top: 0.3rem;
}

/* ── 12. DATA CARDS ── */
.data-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  border-left: 5px solid var(--teal);
  box-shadow: var(--shadow-card);
}

.data-card--teal   { border-left-color: var(--teal); }
.data-card--gold   { border-left-color: var(--gold); }
.data-card--magenta { border-left-color: var(--magenta); }

.data-card-stat {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.data-card--teal .data-card-stat   { color: var(--teal); }
.data-card--gold .data-card-stat   { color: var(--gold); }
.data-card--magenta .data-card-stat { color: var(--magenta); }

.data-card-desc {
  font-size: 0.85rem;
  color: var(--dark);
  opacity: 0.8;
  line-height: 1.5;
}

/* ── 13. PHOTO CARDS ── */
.photo-card {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.photo-grid .photo-card { height: clamp(180px, 30vw, 300px); }

.photo-grid .grid-1-stack {
  height: 100%;
}

@media (min-width: 768px) {
  .photo-grid .grid-1-stack .photo-card {
    height: calc((clamp(180px, 30vw, 300px) - 0.75rem) / 2);
  }
}

/* ── 14. PHOTO BANNER STRIP ── */
.photo-banner-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: minmax(120px, 1fr);
  height: auto;
  overflow: hidden;
}

.photo-banner-strip--short {
  grid-auto-rows: minmax(96px, 1fr);
}

.photo-banner-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 639px) {
  .page-hero,
  .section-dark,
  .section-cream,
  .section-purple,
  .section-cta-banner {
    padding-top: clamp(2.75rem, 9vw, 4rem);
    padding-bottom: clamp(2.75rem, 9vw, 4rem);
  }

  .page-h1,
  .hero-h1,
  .section-h2,
  .cta-banner-h2 {
    text-wrap: balance;
  }

  .quote-block {
    padding: 1rem 1rem 1rem 1.1rem;
  }
}

/* ── 15. QUOTE BLOCKS ── */
.quote-block {
  border-left: 4px solid var(--teal);
  padding: 1.25rem 1.5rem;
  font-style: italic;
  font-size: 0.98rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(0,180,200,0.06);
}

.quote-block cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--teal);
}

.quote-block--highlight {
  border-left-color: var(--gold);
  background: rgba(201,152,10,0.08);
}

.quote-block--highlight cite { color: var(--gold); }

.quote-block--light {
  background: rgba(255,255,255,0.05);
  border-left-color: rgba(255,255,255,0.25);
}

.quote-block--light cite { color: rgba(255,255,255,0.6); }

.quote-block--teal  { border-left-color: var(--teal);    background: rgba(0,180,200,0.07); }
.quote-block--gold  { border-left-color: var(--gold);    background: rgba(201,152,10,0.07); }

/* section-cream quote text override */
.section-cream .quote-block { color: var(--dark); }

/* ── 16. ZIGZAG STRIPS ── */
.zig-strip {
  position: absolute;
  top: 0; bottom: 0;
  display: flex;
  gap: 3px;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.zig-strip--right { right: 0; }
.zig-strip--left  { left: 0; }

.zig {
  width: 18px;
  background-repeat: repeat-y;
  background-size: 18px 14px;
}

.zig--gold    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='14'%3E%3Cpolygon points='0,0 9,14 18,0' fill='%23C9980A'/%3E%3C/svg%3E"); }
.zig--magenta { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='14'%3E%3Cpolygon points='0,0 9,14 18,0' fill='%23D4006A'/%3E%3C/svg%3E"); }
.zig--teal    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='14'%3E%3Cpolygon points='0,0 9,14 18,0' fill='%2300B4C8'/%3E%3C/svg%3E"); }

/* Horizontal zigzag */
.zig-strip--horizontal {
  position: absolute;
  left: 0; right: 0;
  height: 14px;
  display: flex;
  overflow: hidden;
}

.zig-strip--top    { top: 0; }
.zig-strip--bottom { bottom: 0; }

.zig-strip--horizontal .zig {
  width: 18px; height: 14px;
  background-repeat: repeat-x;
  flex-shrink: 0;
}

/* ── 17. WORLD QUOTES STRIP ── */
.quotes-strip {
  text-align: center;
  padding: 3.5rem 0;
  position: relative;
}

.quotes-strip-text {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-style: italic;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.92;
}

/* ── 18. ROCELIA SECTION ── */
.rocelia-section { position: relative; }

.rocelia-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .rocelia-inner { grid-template-columns: 1fr 1fr; align-items: start; }
}

.timeline-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

.timeline-dot.gold    { background: var(--gold); }
.timeline-dot.teal    { background: var(--teal); }
.timeline-dot.magenta { background: var(--magenta); }

.rocelia-photo-wrap { position: relative; }

.rocelia-photo {
  width: 100%;
  height: clamp(300px, 45vw, 500px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-hero);
}

/* ── 19. CTA BANNER ── */
.section-cta-banner {
  background: linear-gradient(135deg, var(--purple-mid) 0%, var(--purple-glow) 100%);
  padding: var(--section-pad) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner-inner { position: relative; z-index: 2; }

.cta-banner-h2 {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  margin-bottom: 0.75rem;
}

.cta-banner-sub {
  opacity: 0.8;
  max-width: 520px;
  margin: 0 auto 2rem;
}

.cta-banner-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ── 20. PAGE HERO ── */
.page-hero { padding: clamp(3rem, 8vw, 5rem) 0; position: relative; overflow: hidden; }

.page-hero-inner { max-width: 700px; position: relative; z-index: 2; }

.page-h1 { margin-bottom: 1.25rem; }

.page-hero-intro { font-size: clamp(0.95rem, 2vw, 1.1rem); opacity: 0.82; max-width: 600px; }

/* Donate page hero 2-col */
.donate-hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .donate-hero-inner { grid-template-columns: 1fr 1fr; align-items: center; }
}

.donate-hero-img {
  width: 100%;
  height: clamp(250px, 40vw, 420px);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-hero);
}

/* ── 21. PILLAR CARDS ── */
.pillar-card {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.22s, box-shadow 0.22s;
}

.pillar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hero); }

.pillar-card--featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201,152,10,0.2);
}

.pillar-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.pillar-body-wrap { padding: 1.5rem; }

.pillar-step {
  font-size: 2rem;
  font-weight: 900;
  font-family: var(--font-serif);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.pillar-title { font-size: 1.15rem; margin-bottom: 0.6rem; }
.pillar-body  { font-size: 0.88rem; opacity: 0.78; line-height: 1.7; }
.pillar-icon  { font-size: 2.5rem; margin-bottom: 0.75rem; display: block; padding: 1.5rem 1.5rem 0; }

/* ── 22. TIER / INVESTMENT CARDS ── */
.tier-section { padding: var(--section-pad) 0; }

.tier-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.tier-intro {
  max-width: 600px;
  margin: 0.75rem auto 0;
  opacity: 0.78;
}

.tier-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.tier-badge--teal    { background: rgba(0,180,200,0.15); color: var(--teal); }
.tier-badge--gold    { background: rgba(201,152,10,0.15); color: var(--gold); }
.tier-badge--magenta { background: rgba(212,0,106,0.15); color: var(--magenta); }

.tier-card {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  position: relative;
  transition: transform 0.22s, box-shadow 0.22s;
}

.section-cream .tier-card { background: var(--white); color: var(--dark); }
.section-dark  .tier-card { background: var(--dark-card); color: var(--white); }

.tier-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hero); }

.tier-card--teal    { border-top: 4px solid var(--teal); }
.tier-card--gold    { border-top: 4px solid var(--gold); }
.tier-card--magenta { border-top: 4px solid var(--magenta); }

.tier-card--featured {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px rgba(201,152,10,0.25);
}

.tier-card--wide { max-width: 600px; margin: 0 auto; }

.tier-badge-pill {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--dark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.85rem;
  border-radius: 100px;
  white-space: nowrap;
}

.tier-amount {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
}

.section-cream .tier-amount { color: var(--purple-mid); }

.tier-period {
  font-size: 0.8rem;
  opacity: 0.65;
  margin-bottom: 0.75rem;
}

.tier-title { font-size: 1.1rem; margin-bottom: 0.6rem; }
.tier-desc  { font-size: 0.88rem; opacity: 0.75; margin-bottom: 1.5rem; line-height: 1.65; }

.tier-single { display: flex; justify-content: center; }

@media (max-width: 639px) {
  .tier-card,
  .contact-form-card,
  .donate-form-card,
  .donate-success,
  .contact-success {
    padding-left: 1.15rem;
    padding-right: 1.15rem;
  }

  .tier-badge-pill {
    position: static;
    transform: none;
    display: inline-block;
    margin-bottom: 0.9rem;
  }
}

/* ── 23. STATS COUNTER CARDS ── */
.stats-counter-grid { margin-top: 1.5rem; }

.stat-counter-card {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
}

.stat-counter-card .stat-n {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 900;
  line-height: 1;
  display: block;
}

.stat-counter-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0.68;
  margin-top: 0.5rem;
  letter-spacing: 0.04em;
}

/* ── 24. STORY / FOUNDERS SECTION ── */
.founders-section { padding: var(--section-pad) 0; }

.founders-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .founders-inner { grid-template-columns: 1fr 1fr; align-items: start; }
}

.founder-stat-item { text-align: center; }

.founder-stat-n {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 900;
}

.founder-stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.68;
  letter-spacing: 0.05em;
}

/* Rocelia full story */
.rocelia-full-section { padding: var(--section-pad) 0; }

.rocelia-full-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .rocelia-full-inner { grid-template-columns: 1fr 1fr; align-items: start; }
}

.story-intro { opacity: 0.8; margin-bottom: 2rem; }

.story-chapter {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  align-items: flex-start;
}

.chapter-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  flex-shrink: 0;
  width: 3rem;
  text-align: center;
}

.story-chapter h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.story-chapter p  { font-size: 0.88rem; opacity: 0.78; }

.story-photo { height: 280px; margin-bottom: 1rem; }

/* ── 25. ROADMAP ── */
.roadmap-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border-top: 4px solid var(--teal);
  box-shadow: var(--shadow-card);
  color: var(--dark);
}

.roadmap-card--featured { border-top-color: var(--purple-mid); }

.roadmap-years {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.roadmap-list { list-style: none; }

.roadmap-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  font-size: 0.88rem;
  padding-left: 1.2rem;
  position: relative;
}

.roadmap-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-size: 0.65rem;
  top: 0.62rem;
}

.roadmap-list li:last-child { border-bottom: none; }

/* ── 26. PHOTO QUOTE BANNER ── */
.photo-quote-banner {
  position: relative;
  height: clamp(250px, 40vw, 420px);
  overflow: hidden;
}

.photo-quote-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.45);
}

.photo-quote-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--px);
}

.photo-quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3.5vw, 2rem);
  font-style: italic;
  color: var(--white);
  text-align: center;
  max-width: 700px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

/* ── 27. DONATE FORM ── */
.donate-form-section { padding: var(--section-pad) 0; }

.donate-anchor {
  display: block;
  scroll-margin-top: 140px;
}

.donate-intro-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 3rem);
  max-width: 680px;
  margin: 0 auto;
  box-shadow: 0 16px 60px rgba(0,0,0,0.12);
  color: var(--dark);
  text-align: center;
}

.donate-intro-body {
  max-width: 560px;
  margin: 0 auto 1.5rem;
  color: var(--dark-soft);
  line-height: 1.75;
}

.donate-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 3rem);
  max-width: 580px;
  scroll-margin-top: 140px;
  margin: 0 auto;
  box-shadow: 0 16px 60px rgba(0,0,0,0.12);
  color: var(--dark);
}

body.modal-open {
  overflow: hidden;
}

.donation-modal[hidden] {
  display: none;
}

.donation-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.donation-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 0, 24, 0.58);
  backdrop-filter: blur(6px);
}

.donation-modal-panel {
  position: relative;
  width: min(100%, 620px);
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  z-index: 1;
}

.donation-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 999px;
  background: rgba(74, 0, 122, 0.08);
  color: var(--purple-deep);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.donation-modal-close:hover {
  background: rgba(74, 0, 122, 0.16);
}

.donate-form-heading {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: 1.75rem;
  text-align: center;
}

.preset-amounts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

@media (min-width: 480px) {
  .preset-amounts { grid-template-columns: repeat(5, 1fr); }
}

.preset-btn {
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.4rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s;
  color: var(--dark);
  min-height: 44px;
}

.preset-btn:hover  { border-color: var(--purple-mid); }
.preset-btn.active { background: var(--purple-mid); color: var(--white); border-color: var(--purple-mid); }

.custom-amount-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--dark);
}

.custom-amount-input-wrap {
  display: flex;
  align-items: center;
  border: 2px solid #e2e2e2;
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.18s;
}

.custom-amount-input-wrap:focus-within { border-color: var(--purple-mid); }

.currency-prefix {
  padding: 0 0.75rem;
  font-weight: 700;
  color: var(--dark);
  background: var(--cream);
  border-right: 2px solid #e2e2e2;
  line-height: 44px;
  height: 44px;
}

.custom-amount-input-wrap input {
  border: none;
  outline: none;
  padding: 0 0.75rem;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  height: 44px;
  width: 100%;
  background: transparent;
  color: var(--dark);
}

.impact-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 1.25rem 0;
  padding: 0.75rem 1rem;
  background: rgba(0,180,200,0.07);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
}

.impact-icon { font-size: 1rem; }

.donate-status-message {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(0,180,200,0.08);
  color: var(--dark);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.55;
}

.donate-status-message.is-error {
  background: rgba(212,0,106,0.08);
  color: var(--magenta);
}

.stripe-wrap { margin: 1.5rem 0; }

.stripe-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.stripe-element {
  border: 2px solid #e2e2e2;
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  min-height: 44px;
  transition: border-color 0.18s;
}

.stripe-element:focus-within { border-color: var(--purple-mid); }

.stripe-error {
  color: var(--magenta);
  font-size: 0.82rem;
  margin-top: 0.4rem;
  min-height: 1rem;
}

.btn-donate-submit {
  width: 100%;
  font-size: 1rem;
  padding: 0.9rem;
  margin-top: 0.5rem;
}

.donate-secure-note {
  text-align: center;
  font-size: 0.75rem;
  opacity: 0.55;
  margin-top: 0.85rem;
  color: var(--dark);
}

/* Donate success */
.donate-success {
  text-align: center;
  max-width: 520px;
  margin: 3rem auto;
  padding: 3rem 2rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 60px rgba(0,0,0,0.1);
  color: var(--dark);
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.success-h2 { font-size: 2rem; color: var(--purple-mid); margin-bottom: 1rem; }
.success-body { opacity: 0.75; line-height: 1.8; }

/* ── 28. CONTACT FORM ── */
.contact-section { padding: var(--section-pad) 0; }

.contact-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-inner { grid-template-columns: 1fr 1fr; align-items: start; }
}

.contact-details { margin: 1.5rem 0; }

.contact-detail-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
  color: var(--dark);
}

.contact-detail-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail-item a { color: var(--purple-mid); font-weight: 600; }

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 16px 60px rgba(0,0,0,0.1);
  color: var(--dark);
}

.contact-form-heading {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--dark);
}

.required { color: var(--magenta); }

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 2px solid #e2e2e2;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  background: var(--white);
  color: var(--dark);
  transition: border-color 0.18s;
  min-height: 44px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--purple-mid);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.field-error {
  display: block;
  font-size: 0.78rem;
  color: var(--magenta);
  margin-top: 0.3rem;
  min-height: 1rem;
}

.contact-feedback {
  margin-top: 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  min-height: 1.2rem;
}

.contact-success {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 16px 60px rgba(0,0,0,0.1);
  color: var(--dark);
}

.success-h3 { font-size: 1.4rem; color: var(--purple-mid); margin-bottom: 0.75rem; }

.page-hero-intro,
.section-intro,
.tier-intro,
.tier-desc,
.pillar-body,
.story-chapter p,
.success-body,
.contact-success p,
.data-card-desc,
.footer-tagline,
.footer-nonprofit {
  overflow-wrap: anywhere;
}

/* ── 29. ALUMNI SECTION ── */
.alumni-card {
  background: var(--dark-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.alumni-icon { font-size: 2rem; display: block; margin-bottom: 0.75rem; }
.alumni-title { font-size: 1.05rem; margin-bottom: 0.5rem; }

.alumni-card p { font-size: 0.85rem; opacity: 0.72; line-height: 1.65; }

/* ── 30. FOOTER ── */
.site-footer {
  background: var(--dark-card);
  border-top: 2px solid rgba(201,152,10,0.2);
  padding: clamp(2.5rem, 6vw, 4rem) 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 1.5fr 1fr 1fr; align-items: start; }
}

.footer-logo { height: 36px; width: auto; margin-bottom: 1rem; }

.footer-tagline {
  font-size: 0.88rem;
  opacity: 0.7;
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

.footer-nonprofit { font-size: 0.75rem; opacity: 0.5; }

.footer-nav-col { display: flex; flex-direction: column; gap: 0.4rem; }

.footer-nav-heading {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 0.6rem;
}

.footer-nav-col a {
  font-size: 0.88rem;
  opacity: 0.7;
  transition: opacity 0.18s, color 0.18s;
  padding: 0.25rem 0;
}

.footer-nav-col a:hover { opacity: 1; color: var(--teal); }

.footer-cta { text-align: left; }

.footer-cta-label {
  font-size: 0.82rem;
  opacity: 0.7;
  margin-bottom: 0.75rem;
}

.footer-bottom {
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.25rem 0;
}

.footer-bottom p { font-size: 0.75rem; opacity: 0.45; text-align: center; }

/* ── 31. FADE-UP ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ── 32. ACCESSIBILITY ── */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up { opacity: 1; transform: none; }
  .btn-pulse { animation: none; }
}
