/* ===================================================================
   LESSONS FOR THE GOOD LIFE — Design System
   Palette: Deep Forest Green (rooted/grounding), Gold (hope/wisdom,
   used sparingly), Warm Cream (base). Two section background tones
   only — cream and forest green — separated by spacing/dividers
   rather than alternating tints.

   Note: --navy-*, --btn-navy, --bg-navy, etc. keep their original
   token/class names to avoid touching markup or unrelated selectors;
   only the underlying color values changed (navy hues -> forest green).
   --earth-* values are kept as-is: they back the "Real photography
   goes here" placeholder block only (.photo-block.tone-earth), which
   is intentionally left untouched in this pass.
=================================================================== */

:root {
  /* Colors */
  --navy-950: #14261a;
  --navy-900: #1f3d2b;
  --navy-800: #28503a;
  --navy-700: #35684a;
  --gold-600: #b8872e;
  --gold-500: #d9a441;
  --gold-400: #e3b768;
  --gold-100: #faf1d8;
  --earth-700: #6e4321;
  --earth-500: #a8703f;
  --earth-300: #cf9d6e;
  --cream-50: #faf6ee;
  --cream-100: #f5efe2;
  --white: #ffffff;
  --ink-900: #16202f;
  --ink-700: #3a4657;
  --ink-500: #6b7686;
  --ink-300: #b9c1cc;
  --line: #e6e0d2;
  --success: #3f7a4e;

  /* Type */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1200px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(20, 38, 26, 0.08);
  --shadow-md: 0 12px 32px rgba(20, 38, 26, 0.12);
  --shadow-lg: 0 24px 60px rgba(20, 38, 26, 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, picture, svg { max-width: 100%; display: block; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--cream-50);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

section { position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--gold-500);
  display: inline-block;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; color: var(--navy-900); }

h2.section-title {
  font-size: clamp(1.9rem, 3.2vw, 2.75rem);
  margin-bottom: 16px;
}
p.section-lead {
  font-size: 1.08rem;
  color: var(--ink-700);
  max-width: 640px;
}
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center p.section-lead { margin-inline: auto; }

.pad { padding-block: clamp(64px, 9vw, 112px); }
.pad-sm { padding-block: clamp(40px, 6vw, 64px); }

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy-900);
  color: var(--white);
  padding: 12px 20px;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-gold {
  background: var(--gold-500);
  color: var(--navy-950);
  box-shadow: 0 10px 24px rgba(217, 164, 65, 0.35);
}
.btn-gold:hover { background: var(--gold-600); box-shadow: 0 14px 32px rgba(217, 164, 65, 0.48); transform: translateY(-2px); }
.btn-outline-light {
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.16); border-color: #fff; }
.btn-navy {
  background: var(--navy-900);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-800); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline-navy {
  border-color: var(--navy-900);
  color: var(--navy-900);
  background: transparent;
}
.btn-outline-navy:hover { background: var(--navy-900); color: var(--white); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 34px; font-size: 1.05rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none !important; }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Navbar ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding-block: 14px;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.is-scrolled {
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(20,38,26,0.08);
  padding-block: 10px;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--white); }
.site-header.is-scrolled .brand,
.site-header.on-light .brand { color: var(--navy-900); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--gold-500);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-950); font-weight: 800; font-family: var(--font-display);
  flex-shrink: 0;
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 0.94rem; font-weight: 600; color: rgba(255,255,255,0.88);
  position: relative; padding-block: 4px;
}
.site-header.is-scrolled .nav-links a,
.site-header.on-light .nav-links a { color: var(--ink-700); }
.nav-links a::after {
  content: ""; position: absolute; left:0; right:0; bottom:-2px; height:2px;
  background: var(--gold-500); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle {
  display: none; background: none; border: none; width: 40px; height: 40px;
  position: relative; z-index: 600;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ""; position: absolute; left: 8px; right: 8px; height: 2px; background: currentColor;
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav-toggle::before { top: 13px; }
.nav-toggle span { top: 19px; }
.nav-toggle::after { top: 25px; }
.site-header.is-scrolled .nav-toggle, .site-header.on-light .nav-toggle { color: var(--navy-900); }
.nav-toggle:not(.is-scrolled-color) { color: #fff; }

@media (max-width: 940px) {
  .nav-links { position: fixed; inset: 0 0 0 30%; background: var(--navy-900); flex-direction: column; justify-content: center; align-items: flex-start; padding: 100px 32px 32px; gap: 22px; transform: translateX(100%); transition: transform .35s var(--ease); }
  .nav-links a { color: var(--white) !important; font-size: 1.1rem; }
  body.nav-open .nav-links { transform: translateX(0); box-shadow: -20px 0 60px rgba(0,0,0,0.3); }
  .nav-toggle { display: block; color: inherit; }
  .nav-cta .btn-outline-navy, .nav-cta .btn-outline-light { display: none; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  color: var(--white);
  background: var(--navy-900);
  overflow: hidden;
  padding-top: 96px;
}
.hero-texture {
  position: absolute; inset: 0; opacity: 0.06; pointer-events: none;
  background: var(--white);
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.hero-copy .eyebrow { color: var(--gold-400); }
.hero-copy .eyebrow::before { background: var(--gold-400); }
.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  color: var(--white);
  letter-spacing: -0.01em;
}
.hero h1 em { color: var(--gold-400); font-style: normal; }
.hero .subhead {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--gold-100);
  font-family: var(--font-display);
  font-style: italic;
  margin-top: 18px;
  max-width: 560px;
}
.hero .support-text {
  margin-top: 22px;
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  max-width: 560px;
}
.hero .btn-row { margin-top: 38px; }
.hero-stats { display: flex; gap: 32px; margin-top: 52px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-400); }
.hero-stats div span { font-size: 0.85rem; color: rgba(255,255,255,0.65); }

.hero-visual { position: relative; height: 520px; }
.hero-orb {
  position: absolute; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.12);
}
.hero-orb.o1 { width: 66%; height: 62%; top: 0; right: 0; background: var(--navy-800); }
.hero-orb.o2 { width: 52%; height: 46%; bottom: 0; left: 0; background: var(--gold-500); }
.hero-orb.o3 { width: 40%; height: 34%; bottom: 8%; right: 8%; background: var(--cream-50); box-shadow: var(--shadow-md); }
.hero-orb .glyph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0.9; }
.hero-orb .glyph svg { width: 34%; height: 34%; }

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.6); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  z-index: 2;
}
.scroll-cue .dot-track { width: 1px; height: 36px; background: rgba(255,255,255,0.3); position: relative; overflow: hidden; }
.scroll-cue .dot-track::after { content:""; position:absolute; top:-30%; left:0; width:100%; height:30%; background: var(--gold-400); animation: scrollcue 1.8s infinite ease-in-out; }
@keyframes scrollcue { 0% { top: -30%; } 100% { top: 100%; } }

@media (max-width: 940px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { height: 320px; order: -1; }
}

/* ---------- Photo placeholder blocks (stand-in for real photography) ---------- */
.photo-block {
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-900));
  box-shadow: var(--shadow-md);
}
.photo-block::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 30% 20%, rgba(212,175,55,0.35), transparent 55%),
                     radial-gradient(circle at 75% 80%, rgba(255,255,255,0.12), transparent 50%);
}
.photo-block.tone-earth { background: linear-gradient(150deg, var(--earth-500), var(--earth-700)); }
.photo-block.tone-gold { background: linear-gradient(150deg, var(--gold-400), var(--gold-600)); }
.photo-block.tone-cream { background: linear-gradient(150deg, #efe6d0, #d9c9a3); }
.photo-block img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: luminosity; opacity: 0; }
.photo-caption {
  position: absolute; bottom: 14px; left: 14px; right: 14px;
  font-size: 0.72rem; color: rgba(255,255,255,0.75); letter-spacing: 0.04em;
}

/* ---------- Pillars / Icon cards ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pillar-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.pillar-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-900);
  color: var(--gold-400); margin-bottom: 20px;
}
.pillar-icon svg { width: 26px; height: 26px; }
.pillar-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.pillar-card p { color: var(--ink-700); font-size: 0.96rem; }

.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.about-grid .photo-block { height: 460px; }
@media (max-width: 940px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-grid .photo-block { height: 280px; order: -1; }
  .pillars { grid-template-columns: 1fr; }
}

/* ---------- Structure ---------- */
.branch-intro { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.branch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.branch-card {
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.branch-card.for-profit {
  background: var(--navy-900);
  color: var(--white);
}
.branch-card.non-profit {
  background: var(--white);
  border: 1px solid var(--line);
}
.branch-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px; margin-bottom: 18px;
}
.branch-card.for-profit .branch-tag { background: rgba(217,164,65,0.18); color: var(--gold-400); }
.branch-card.non-profit .branch-tag { background: var(--gold-100); color: var(--gold-600); }
.branch-card h3 { font-size: 1.6rem; margin-bottom: 12px; }
.branch-card.for-profit h3 { color: var(--white); }
.branch-card p { font-size: 0.98rem; }
.branch-card.for-profit p { color: rgba(255,255,255,0.78); }
.branch-card.non-profit p { color: var(--ink-700); }
.branch-card .btn { margin-top: 24px; }

.project-card {
  background: var(--cream-100);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  margin-top: 16px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.project-card:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); background: var(--white); }
.project-card .p-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-900); color: var(--gold-400);
}
.project-card .p-icon svg { width: 22px; height: 22px; }
.project-card-body { flex: 1; }
.project-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.project-card h4 { font-size: 1.05rem; }
.project-card p { color: var(--ink-700); font-size: 0.92rem; margin-top: 6px; }
.project-card .more-link { font-size: 0.85rem; font-weight: 700; color: var(--navy-900); margin-top: 10px; display: inline-flex; align-items: center; gap: 4px; }
.project-card .more-link:hover { color: var(--gold-600); }

.status-badge {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px; white-space: nowrap;
}
.status-badge.ongoing { background: #e4f2e6; color: var(--success); }
.status-badge.pending { background: var(--gold-100); color: var(--gold-600); }
.status-badge.donation { background: var(--cream-100); color: var(--navy-900); border: 1px solid var(--gold-500); }

@media (max-width: 940px) { .branch-grid { grid-template-columns: 1fr; } }

/* ---------- Project detail hero (used on sub-pages) ---------- */
.project-hero {
  padding-top: 160px;
  padding-bottom: 80px;
  color: var(--white);
  background: var(--navy-900);
  position: relative;
  overflow: hidden;
}
.project-hero .container { position: relative; z-index: 1; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--gold-400); }
.project-hero h1 { color: var(--white); font-size: clamp(2.1rem, 4vw, 3.2rem); max-width: 720px; }
.project-hero .lede { color: rgba(255,255,255,0.8); max-width: 640px; margin-top: 16px; font-size: 1.1rem; }
.hero-badges { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }

.detail-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 940px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-body h2 { font-size: 1.6rem; margin-top: 40px; margin-bottom: 14px; }
.detail-body h2:first-child { margin-top: 0; }
.detail-body p { color: var(--ink-700); margin-bottom: 14px; }
.detail-body ul { padding-left: 0; }
.detail-body ul li { position: relative; padding-left: 28px; margin-bottom: 12px; color: var(--ink-700); }
.detail-body ul li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold-600); font-weight: 700; }

.side-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.side-card + .side-card { margin-top: 20px; }
.side-card h4 { font-size: 1.05rem; margin-bottom: 10px; }
.side-card p { font-size: 0.92rem; color: var(--ink-700); margin-bottom: 16px; }

/* Content grid (categories / videos / artists) */
.chip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: 14px; margin-top: 24px; }
.chip {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px; text-align: center; font-weight: 600; font-size: 0.92rem; color: var(--navy-900);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.chip:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.chip .chip-icon { font-size: 1.5rem; margin-bottom: 8px; display:block; }

.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.media-card { border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 9/16; position: relative; background: var(--navy-900); box-shadow: var(--shadow-sm); }
.media-card .tag { position: absolute; top: 12px; left: 12px; background: rgba(0,0,0,0.4); color: #fff; font-size: 0.68rem; padding: 4px 10px; border-radius: 100px; text-transform: uppercase; letter-spacing: .05em; }
.media-card .play {
  position: absolute; inset: 0; margin: auto; width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.16); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.4);
}
.media-card .play svg { width: 18px; height: 18px; color: #fff; margin-left: 3px; }
.media-card .cap { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px 14px; background: rgba(0,0,0,0.55); color: #fff; font-size: 0.8rem; }
@media (max-width: 720px) { .media-grid { grid-template-columns: repeat(2, 1fr); } }

.artist-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 24px; }
.artist-card { text-align: center; }
.artist-avatar { width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--gold-500); margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.artist-card h5 { font-size: 0.95rem; color: var(--navy-900); }
.artist-card span { font-size: 0.78rem; color: var(--ink-500); }
@media (max-width: 720px) { .artist-grid { grid-template-columns: repeat(2, 1fr); } }

.coming-soon-panel {
  border: 1.5px dashed var(--line); border-radius: var(--radius-md); padding: 36px; text-align: center; margin-top: 24px; color: var(--ink-500);
}

/* ---------- Donate strip / CTA banner ---------- */
.donate-banner {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 6vw, 64px);
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.donate-banner > * { position: relative; z-index: 1; }
.donate-banner h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 480px; }
.donate-banner p { color: rgba(255,255,255,0.78); margin-top: 10px; max-width: 460px; }

/* ---------- Transparency ---------- */
.transparency-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.t-item {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 26px; display: flex; gap: 16px; align-items: flex-start;
}
.t-item .num { font-family: var(--font-display); font-size: 1.6rem; color: var(--gold-500); font-weight: 700; }
.t-item h4 { font-size: 1rem; margin-bottom: 4px; }
.t-item p { font-size: 0.88rem; color: var(--ink-700); }
.report-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.report-card { border: 1.5px dashed var(--line); border-radius: var(--radius-md); padding: 28px; text-align: center; }
.report-card .r-icon { font-size: 1.8rem; margin-bottom: 10px; }
.report-card h4 { font-size: 1rem; margin-bottom: 6px; }
.report-card span.soon { display:inline-block; margin-top: 10px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gold-600); }
@media (max-width: 940px) { .transparency-grid, .report-row { grid-template-columns: 1fr; } }

/* ---------- Testimonials ---------- */
.testimonial-track {
  display: flex; gap: 24px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: 24px; padding-bottom: 12px;
}
.testimonial-track::-webkit-scrollbar { height: 6px; }
.testimonial-track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 10px; }
.t-card {
  scroll-snap-align: start; scroll-snap-stop: always;
  flex: 0 0 min(400px, 88vw); min-width: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 32px; box-shadow: var(--shadow-sm);
}
.t-card .quote-mark { font-family: var(--font-display); font-size: 3rem; color: var(--gold-400); line-height: 0.5; display: block; margin-bottom: 12px; }
.t-card p.quote { color: var(--ink-700); font-size: 0.98rem; margin-bottom: 20px; }
.t-person { display: flex; align-items: center; gap: 12px; }
.t-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy-800); flex-shrink: 0; }
.t-person strong { display: block; font-size: 0.92rem; color: var(--navy-900); }
.t-person span { font-size: 0.8rem; color: var(--ink-500); }
.slider-dots { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }
.slider-dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--line); border: none; padding: 0; }
.slider-dots button.active { background: var(--gold-500); width: 22px; border-radius: 6px; transition: width .25s var(--ease); }

/* ---------- CTA grid ---------- */
.cta-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.cta-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 26px 20px; text-align: center; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.cta-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); background: var(--navy-900); }
.cta-card:hover, .cta-card:hover h3, .cta-card:hover p { color: var(--white); }
.cta-card:hover .cta-icon { background: var(--gold-500); color: var(--navy-950); }
.cta-icon {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 16px;
  background: var(--gold-100); color: var(--gold-600);
  display: flex; align-items: center; justify-content: center; transition: all .25s var(--ease);
}
.cta-icon svg { width: 24px; height: 24px; }
.cta-card h3 { font-size: 1rem; margin-bottom: 8px; }
.cta-card p { font-size: 0.85rem; color: var(--ink-700); margin-bottom: 16px; }
.cta-card a.link { font-size: 0.85rem; font-weight: 700; color: var(--gold-600); }
@media (max-width: 1080px) { .cta-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cta-grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.form-field { margin-bottom: 20px; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 8px; color: var(--navy-900); }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; padding: 13px 16px; border-radius: 10px; border: 1.5px solid var(--line);
  background: var(--white); font-size: 0.95rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(217,164,65,0.15);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 720px) { .contact-grid, .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.8rem; color: var(--ink-500); margin-top: 10px; }
.form-success { display:none; background:#e4f2e6; color: var(--success); padding: 14px 18px; border-radius: 10px; font-size: 0.9rem; margin-bottom: 16px; }
.form-success.show { display: block; }

.contact-info-card { background: var(--navy-900); color: var(--white); border-radius: var(--radius-lg); padding: 40px; height: 100%; }
.contact-info-card h3 { color: var(--white); font-size: 1.4rem; margin-bottom: 14px; }
.contact-info-card p { color: rgba(255,255,255,0.75); margin-bottom: 28px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.contact-line .ic { width: 38px; height: 38px; border-radius: 10px; background: rgba(217,164,65,0.16); color: var(--gold-400); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-line strong { display: block; font-size: 0.92rem; }
.contact-line span { font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.social-row { display: flex; gap: 12px; margin-top: 28px; }
.social-row a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); display:flex; align-items:center; justify-content:center; transition: background .2s var(--ease), border-color .2s var(--ease); }
.social-row a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-950); }
.social-row a svg { width: 18px; height: 18px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255,255,255,0.7); padding-top: 72px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-grid .brand { color: var(--white); margin-bottom: 16px; }
.footer-grid p.tag { font-size: 0.9rem; max-width: 280px; }
.footer-col h5 { color: var(--white); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 12px; font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--gold-400); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-block: 24px; font-size: 0.82rem; flex-wrap: wrap; gap: 12px; }
.footer-bottom .legal-links { display: flex; gap: 20px; }
.newsletter-box { display: flex; gap: 8px; margin-top: 16px; }
.newsletter-box input { flex: 1; padding: 11px 14px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.06); color: #fff; font-size: 0.88rem; }
.newsletter-box input::placeholder { color: rgba(255,255,255,0.4); }
@media (max-width: 940px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align:center; } }

/* ---------- Donate page ---------- */
.donate-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 980px) { .donate-layout { grid-template-columns: 1fr; } }

.donate-toggle { display: inline-flex; background: var(--cream-100); border-radius: 100px; padding: 5px; border: 1px solid var(--line); }
.donate-toggle button { padding: 10px 22px; border-radius: 100px; background: transparent; font-weight: 600; font-size: 0.9rem; color: var(--ink-700); }
.donate-toggle button.active { background: var(--navy-900); color: var(--white); }

.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 18px; }
.category-option { position: relative; }
.category-option input { position: absolute; opacity: 0; }
.category-option label {
  display: block; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px;
  cursor: pointer; transition: all .2s var(--ease); background: var(--white);
}
.category-option label strong { display: block; font-size: 0.92rem; color: var(--navy-900); margin-bottom: 3px; }
.category-option label span { font-size: 0.78rem; color: var(--ink-500); }
.category-option input:checked + label { border-color: var(--gold-500); background: var(--gold-100); box-shadow: 0 0 0 3px rgba(217,164,65,0.18); }
@media (max-width: 560px) { .category-grid { grid-template-columns: 1fr; } }

.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.amount-option input { position: absolute; opacity: 0; }
.amount-option label {
  display: block; text-align: center; padding: 16px 8px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); font-weight: 700; color: var(--navy-900); cursor: pointer; transition: all .2s var(--ease);
}
.amount-option input:checked + label { border-color: var(--gold-500); background: var(--navy-900); color: var(--white); }
.custom-amount { margin-top: 14px; position: relative; }
.custom-amount span.currency { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--ink-500); font-weight: 600; white-space: nowrap; }
.custom-amount input { padding-left: 42px; font-weight: 700; }

.donate-summary { position: sticky; top: 110px; }
.summary-line { display: flex; justify-content: space-between; padding-block: 12px; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.summary-line.total { font-weight: 700; font-size: 1.1rem; color: var(--navy-900); border-bottom: none; padding-top: 18px; }
.trust-row { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: 0.8rem; color: var(--ink-500); }
.trust-row svg { width: 18px; height: 18px; color: var(--success); flex-shrink: 0; }

/* ---------- Page hero (generic, simpler than home hero) ---------- */
.page-hero {
  padding-top: 150px; padding-bottom: 60px;
  background: var(--navy-900);
  color: var(--white); text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p { color: rgba(255,255,255,0.78); max-width: 560px; margin: 14px auto 0; }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in-view { opacity: 1; transform: translateY(0); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.bg-cream-100 { background: var(--cream-100); }
.bg-navy { background: var(--navy-900); color: var(--white); }
.divider { height: 1px; background: var(--line); margin-block: 8px; }
.section-divide { border-top: 1px solid var(--line); }

@media (max-width: 720px) {
  .cta-grid, .pillars, .branch-grid { gap: 16px; }
}
