@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --forest:    #1d6b3e;
  --leaf:      #2e8b57;
  --ember:     #c8392b;
  --flame:     #d9542a;
  --gold:      #e8b830;
  --sand:      #f2d97a;
  --charcoal:  #2c2c2c;
  --ink:       #1a1a1a;
  --smoke:     #4a4a4a;
  --mist:      #7a7a7a;
  --parchment: #f8f5ee;
  --ivory:     #fdfbf7;
  --sky:       #2e6b8c;
  --white:     #ffffff;

  /* Legacy aliases */
  --earth:     var(--charcoal);
  --sienna:    var(--ember);
  --clay:      var(--flame);
  --bone:      #f4ede0;
  --cream:     var(--parchment);
  --text:      var(--ink);
  --text-mid:  var(--smoke);
  --text-soft: var(--mist);

  --nav-h:  100px;
  --max:    1180px;
  --gutter: clamp(1.5rem, 5vw, 4rem);
  --section: clamp(4rem, 8vw, 7rem);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--parchment);
  color: var(--ink);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  background: rgba(253, 251, 247, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 2px solid rgba(29, 107, 62, 0.12);
  transition: box-shadow 0.3s;
}

nav.scrolled {
  box-shadow: 0 2px 24px rgba(29, 107, 62, 0.12);
}

/* ── Logo in nav ── */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

/* Emblem wrap — circular crop for logo image */
.emblem-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 3px rgba(232, 184, 48, 0.18);
  background: var(--white);
}

/* Logo image fills the circle */
.nav-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nav-logo-mark {
  display: none;
}

.nav-logo-text strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.nav-logo-text span {
  font-size: 0.72rem;
  color: var(--ember);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  font-weight: 600;
}

/* Divider between name and tagline */
.nav-logo-divider {
  height: 1px;
  background: rgba(29, 107, 62, 0.20);
  margin: 0.2rem 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--smoke);
  font-size: 0.875rem;
  font-weight: 600;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 2px;
  background: var(--forest);
  transform: scaleX(0);
  transition: transform 0.25s;
  transform-origin: left;
}

.nav-links a:hover { color: var(--forest); }
.nav-links a:hover::after { transform: scaleX(1); }

.btn-donate-nav {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background: var(--ember);
  color: var(--white) !important;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 3px 12px rgba(200, 57, 43, 0.30);
}

.btn-donate-nav:hover {
  background: var(--flame);
  transform: translateY(-1px);
}

.btn-donate-nav::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--forest);
  border-radius: 2px;
  display: block;
}

/* ── HERO ── */
#home {
  position: relative;
  min-height: 100svh;
  padding-top: var(--nav-h);
  overflow: hidden;
  display: flex;
  align-items: stretch;
}

.hero-video-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.vslide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.vslide.active { opacity: 1; }

.vslide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.vslide-poster {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.vs1 .vslide-poster { background: linear-gradient(160deg, #0d2e18 0%, #1d5a30 40%, #2e8050 70%, #1d6b3e 100%); }
.vs2 .vslide-poster { background: linear-gradient(160deg, #2a0c08 0%, #6e1e16 40%, #c8392b 70%, #d9542a 100%); }
.vs3 .vslide-poster { background: linear-gradient(160deg, #1a1200 0%, #5a4000 40%, #a87020 70%, #e8b830 100%); }
.vs4 .vslide-poster { background: linear-gradient(160deg, #0d2a1a 0%, #1a5230 40%, #2d7a4a 70%, #1d6b3e 100%); }

.vslide-poster::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  opacity: 0.45;
  mix-blend-mode: overlay;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(10, 30, 15, 0.90) 0%, rgba(10, 30, 15, 0.55) 48%, rgba(10, 30, 15, 0.15) 100%),
    linear-gradient(to top, rgba(10, 30, 15, 0.65) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--section) var(--gutter);
}

.hero-h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 800;
  line-height: 1.06;
  color: var(--white);
  max-width: 680px;
  margin-bottom: 1.5rem;
}

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

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
  max-width: 520px;
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.hero-logo-watermark {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  opacity: 0.12;
  width: clamp(240px, 30vw, 380px);
  pointer-events: none;
}

.hero-caption-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  background: linear-gradient(to top, rgba(10, 30, 15, 0.85) 0%, transparent 100%);
  padding: 3rem var(--gutter) 1.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.slide-text-area { flex: 1; }

.slide-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.45;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s 0.3s ease, transform 0.6s 0.3s ease;
}

.slide-title.shown { opacity: 1; transform: none; }

.slide-sub {
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.35rem;
  opacity: 0;
  transition: opacity 0.5s 0.5s;
}

.slide-sub.shown { opacity: 1; }

.carousel-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-shrink: 0;
}

.carousel-dot {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
  padding: 0;
}

.carousel-dot.active {
  background: var(--gold);
  width: 44px;
}

.slide-progress {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 4;
}

.slide-progress-bar {
  height: 100%;
  background: linear-gradient(to right, var(--forest), var(--gold));
  width: 0%;
  transition: width 0s linear;
}

.slide-progress-bar.running {
  width: 100%;
  transition: width 7s linear;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  padding: 0.88rem 2rem;
  background: var(--forest);
  color: var(--white);
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 16px rgba(29, 107, 62, 0.30);
}

.btn-primary:hover {
  background: var(--leaf);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(29, 107, 62, 0.40);
}

.btn-outline-light {
  display: inline-block;
  padding: 0.88rem 2rem;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  border: 1.5px solid var(--forest);
  color: var(--forest);
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: var(--forest);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── IMPACT STRIP ── */
.impact-strip {
  background: var(--forest);
  padding: 3rem var(--gutter);
  border-top: 4px solid var(--gold);
}

.impact-strip-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.impact-item strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
}

.impact-item p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.2rem;
}

/* ── SECTION BASE ── */
section {
  padding: var(--section) var(--gutter);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
}

.section-h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.section-h2 em {
  color: var(--forest);
  font-style: italic;
}

.section-lead {
  font-size: 1rem;
  color: var(--smoke);
  font-weight: 300;
  max-width: 560px;
  line-height: 1.8;
}

/* ── ABOUT ── */
#about { background: var(--parchment); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: center;
  margin-top: 3rem;
}

.about-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.about-visual-inner {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--forest) 0%, #0d3a1f 60%, #1a4a30 100%);
}

.about-visual-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(232, 184, 48, 0.25) 1px, transparent 1px);
  background-size: 28px 28px;
}

.about-visual-stripe {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0px, var(--gold) 12px,
    var(--ember) 12px, var(--ember) 24px,
    var(--forest) 24px, var(--forest) 36px,
    var(--gold) 36px
  );
}

.about-visual-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem; right: 1.5rem;
  background: rgba(10, 30, 15, 0.65);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(232, 184, 48, 0.25);
  border-radius: 12px;
  padding: 1.1rem 1.4rem;
  color: var(--white);
}

.about-visual-badge strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--gold);
}

.about-visual-badge span {
  font-size: 0.78rem;
  opacity: 0.72;
}

.about-content p {
  color: var(--smoke);
  line-height: 1.8;
  margin-bottom: 0.9rem;
}

.about-content p:last-child { margin-bottom: 0; }

.values-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.75rem;
}

.value-pill {
  background: rgba(29, 107, 62, 0.08);
  border-radius: 100px;
  padding: 0.38rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--forest);
  border: 1px solid rgba(29, 107, 62, 0.22);
}

/* ── MISSION / VISION ── */
.mv-band {
  background: var(--charcoal);
  padding: var(--section) var(--gutter);
  border-top: 4px solid var(--ember);
  border-bottom: 4px solid var(--gold);
}

.mv-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.mv-label {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.mv-block h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 0.7rem;
}

.mv-block p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.60);
  line-height: 1.8;
}

/* ── PROGRAMS ── */
#programs { background: #f0ede4; }

.programs-intro { margin-bottom: 3rem; }

.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}

.program-card {
  background: var(--ivory);
  border-radius: 16px;
  padding: 2rem 2.1rem;
  border: 1px solid rgba(29, 107, 62, 0.10);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  border-top: 3px solid var(--forest);
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(29, 107, 62, 0.12);
  border-top-color: var(--ember);
}

.program-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.program-num.c1 { color: rgba(29, 107, 62, 0.20); }
.program-num.c2 { color: rgba(200, 57, 43, 0.20); }
.program-num.c3 { color: rgba(232, 184, 48, 0.35); }
.program-num.c4 { color: rgba(29, 107, 62, 0.20); }

.program-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.65rem;
}

.program-card p {
  font-size: 0.88rem;
  color: var(--smoke);
  line-height: 1.75;
  margin-bottom: 0.9rem;
}

.program-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.28rem 0.7rem;
  border-radius: 100px;
  background: rgba(29, 107, 62, 0.08);
  color: var(--forest);
  border: 1px solid rgba(29, 107, 62, 0.18);
}

/* ── FOUNDER ── */
#founder { background: var(--parchment); }

.founder-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 4.5rem;
  align-items: center;
  margin-top: 3rem;
}

.founder-card {
  background: var(--forest);
  border-radius: 20px;
  padding: 2.75rem 2.25rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
  border-bottom: 5px solid var(--gold);
}

.founder-card::before {
  content: '\201C';
  position: absolute;
  top: -2rem; right: 1.2rem;
  font-family: 'Playfair Display', serif;
  font-size: 11rem;
  color: rgba(232, 184, 48, 0.10);
  line-height: 1;
}

.founder-card blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.72;
  position: relative;
  z-index: 1;
  margin-bottom: 1.4rem;
}

.founder-card cite {
  font-size: 0.8rem;
  color: var(--gold);
  font-style: normal;
  font-weight: 700;
}

.founder-meta {
  margin-top: 1.3rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(232, 184, 48, 0.20);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.50);
}

.founder-meta strong { color: var(--gold); }

.founder-text h2 { margin-bottom: 1rem; }

.founder-text p {
  color: var(--smoke);
  line-height: 1.8;
  margin-bottom: 0.9rem;
}

.philosophy {
  list-style: none;
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.philosophy li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.9rem;
  color: var(--smoke);
}

.philosophy li::before {
  content: '\2014';
  color: var(--forest);
  flex-shrink: 0;
  font-weight: 700;
}

/* ── GET INVOLVED ── */
#get-involved { background: #f0ede4; }

.involved-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 3rem;
}

.involved-card {
  background: var(--ivory);
  border-radius: 16px;
  padding: 2rem 2.1rem;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(29, 107, 62, 0.10);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}

.involved-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--forest), var(--gold), var(--ember));
  opacity: 0;
  transition: opacity 0.25s;
}

.involved-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(29, 107, 62, 0.10);
}

.involved-card:hover::after { opacity: 1; }

.involved-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.65rem;
}

.involved-card p {
  font-size: 0.88rem;
  color: var(--mist);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1.4rem;
}

/* ── DONATE ── */
#donate {
  background: var(--charcoal);
  padding: var(--section) var(--gutter);
  border-top: 4px solid var(--forest);
}

.donate-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.donate-left .section-h2 { color: var(--white); }

.donate-lead {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.58);
  line-height: 1.8;
  max-width: 420px;
  margin-bottom: 2rem;
}

.donation-tiers {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.tier {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(29, 107, 62, 0.12);
  border-radius: 10px;
  padding: 0.9rem 1.2rem;
  border: 1px solid rgba(232, 184, 48, 0.15);
  transition: background 0.2s;
}

.tier:hover { background: rgba(29, 107, 62, 0.22); }

.tier-amount {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gold);
  min-width: 4rem;
}

.tier-desc {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.4;
}

.in-kind {
  background: rgba(29, 107, 62, 0.10);
  border-radius: 14px;
  padding: 1.75rem;
  border: 1px solid rgba(232, 184, 48, 0.15);
  margin-bottom: 1.5rem;
}

.in-kind h4 {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.in-kind-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.in-kind-pills span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.70);
  background: rgba(255, 255, 255, 0.06);
  border-radius: 100px;
  padding: 0.28rem 0.85rem;
  border: 1px solid rgba(232, 184, 48, 0.15);
}

.donate-note {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.40);
  font-style: italic;
}

.donate-note a { color: var(--gold); }

/* ── VOLUNTEER ── */
#volunteer { background: var(--parchment); }

.volunteer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  margin-top: 3rem;
}

.vol-h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.9rem;
}

.benefit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--smoke);
}

.benefit-list li::before {
  content: '+';
  color: var(--forest);
  font-weight: 800;
}

.skills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}

.prereqs {
  background: rgba(29, 107, 62, 0.06);
  border-radius: 12px;
  padding: 1.4rem 1.6rem;
  border: 1px solid rgba(29, 107, 62, 0.14);
}

.prereqs h4 {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 0.7rem;
}

.prereqs ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.prereqs ul li {
  font-size: 0.85rem;
  color: var(--smoke);
  padding-left: 0.75rem;
  border-left: 2px solid rgba(29, 107, 62, 0.25);
}

.step {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  margin-bottom: 1.4rem;
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--charcoal);
  margin-bottom: 0.2rem;
}

.step-text span {
  font-size: 0.84rem;
  color: var(--mist);
}

.step-text a { color: var(--forest); }

.consent-box {
  background: rgba(29, 107, 62, 0.06);
  border-radius: 10px;
  padding: 1.1rem 1.4rem;
  border-left: 3px solid var(--forest);
  margin-top: 0.25rem;
}

.consent-box h4 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--forest);
  margin-bottom: 0.5rem;
}

.consent-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.consent-box li {
  font-size: 0.82rem;
  color: var(--smoke);
}

.consent-box li::before { content: '\2014 '; }

/* ── CONTACT ── */
#contact { background: #f0ede4; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  margin-top: 3rem;
}

.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 1.4rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}

.contact-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--forest);
  flex-shrink: 0;
  margin-top: 0.55rem;
}

.contact-dt strong {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--forest);
  margin-bottom: 0.15rem;
}

.contact-dt span { font-size: 0.9rem; color: var(--smoke); }
.contact-dt a { color: var(--sky); text-decoration: none; }
.contact-dt a:hover { text-decoration: underline; }

.contact-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 1.4rem;
}

.form-group { margin-bottom: 1.1rem; }

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--smoke);
  margin-bottom: 0.4rem;
  letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.78rem 1rem;
  border: 1.5px solid rgba(29, 107, 62, 0.15);
  border-radius: 10px;
  background: var(--ivory);
  color: var(--ink);
  font-family: 'Nunito', sans-serif;
  font-size: 0.88rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(29, 107, 62, 0.10);
}

.form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

nav.scrolled .emblem-wrap {
  box-shadow:
    0 0 0 2px rgba(232, 184, 48, 0.65),
    0 0 0 4px rgba(29, 107, 62, 0.22),
    0 2px 8px rgba(29, 107, 62, 0.18);
}

.btn-submit {
  background: var(--forest);
  color: var(--white);
  border: none;
  border-radius: 100px;
  padding: 0.85rem 2.1rem;
  font-family: 'Nunito', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-submit:hover {
  background: var(--leaf);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(29, 107, 62, 0.30);
}

.form-success {
  display: none;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(29, 107, 62, 0.08);
  border-radius: 10px;
  font-size: 0.84rem;
  color: var(--forest);
  border: 1px solid rgba(29, 107, 62, 0.20);
}

/* ── FOOTER ── */
footer {
  background: #111a13;
  color: rgba(255, 255, 255, 0.50);
  padding: 4rem var(--gutter) 2rem;
  border-top: 4px solid var(--forest);
}

footer::after {
  content: '';
  display: block;
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0px, var(--gold) 12px,
    var(--ember) 12px, var(--ember) 24px,
    var(--forest) 24px, var(--forest) 36px,
    var(--gold) 36px
  );
  margin-top: 2rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

/* ── FOOTER BRAND LOGO */
.footer-brand .nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.footer-brand .emblem-wrap {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 3px rgba(232, 184, 48, 0.18);
  background: var(--white);
}

.footer-brand .nav-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.footer-brand .nav-logo-text strong {
  color: var(--gold);
  font-size: 1rem;
}

.footer-brand .nav-logo-text span {
  color: var(--ember);
  font-size: 0.72rem;
}

.footer-brand p {
  font-size: 0.84rem;
  line-height: 1.75;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 250px;
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-col ul a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.84rem;
  transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--gold); }

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 1rem;
  color: var(--gold);
}

.footer-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.75rem;
  filter: brightness(0) invert(1) opacity(0.85);
}

/* ── FADE IN ── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible { opacity: 1; transform: none; }
.fade-in.d1 { transition-delay: 0.1s; }
.fade-in.d2 { transition-delay: 0.2s; }
.fade-in.d3 { transition-delay: 0.3s; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .impact-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { aspect-ratio: 16/9; }
  .mv-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .programs-grid { grid-template-columns: 1fr; }
  .founder-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .involved-grid { grid-template-columns: 1fr; }
  .donate-inner { grid-template-columns: 1fr; gap: 3rem; }
  .volunteer-grid { grid-template-columns: 1fr; gap: 3rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-h1 { font-size: clamp(2.2rem, 7vw, 3.5rem); }
  .hero-logo-watermark { display: none; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--ivory);
    padding: 1.5rem var(--gutter);
    border-bottom: 1px solid rgba(29, 107, 62, 0.12);
    gap: 1.25rem;
    box-shadow: 0 8px 24px rgba(29, 107, 62, 0.10);
  }

  .hamburger { display: flex; }
  .footer-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-caption-bar { padding: 2rem var(--gutter) 1.2rem; }
}

@media (max-width: 768px) {
  .mobile-nav.open { display: flex; }
}