/* ========== Reset & Base ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --cream:      #FDF6EC;
  --warm:       #F5E6D0;
  --brown:      #6B4226;
  --brown-l:    #8B6340;
  --brown-dark: #2C1A0E;
  --gold:       #D4A24E;
  --gold-l:     #F0D68A;
  --terracotta: #C67B5C;
  --green:      #7A9E7E;
  --white:      #FFFDF9;
  --text:       #3A2A1A;
  --text-l:     #6B5A4A;
  --radius:     16px;
  --shadow-sm:  0 2px 16px rgba(107,66,38,0.07);
  --shadow-md:  0 8px 32px rgba(107,66,38,0.11);
  --shadow-lg:  0 20px 56px rgba(107,66,38,0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ========== Reveal Animation ========== */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* ========== Nav ========== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(253, 246, 236, 0.75);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(107, 66, 38, 0.08);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
/* Opaque fallback for browsers without backdrop-filter (iOS in-app webviews, older Safari) */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav { background: rgba(253, 246, 236, 0.98); }
}
.nav.scrolled {
  background: rgba(253, 246, 236, 0.97);
  box-shadow: 0 2px 24px rgba(107, 66, 38, 0.1);
}
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-links { list-style: none; display: flex; gap: 28px; align-items: center; }
.logo { display: inline-flex; align-items: center; line-height: 0; }
.logo-img { height: 40px; width: auto; object-fit: contain; display: block; }
.nav-links a:not(.btn) {
  font-size: 0.9rem; font-weight: 500; color: var(--text-l);
  transition: color 0.2s;
}
.nav-links a:not(.btn):hover { color: var(--brown); }

/* ========== Buttons ========== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; border-radius: 999px; font-size: 0.95rem;
  font-weight: 600; border: none; cursor: pointer;
  transition: all 0.25s ease; font-family: 'Inter', sans-serif;
  letter-spacing: 0.01em; min-height: 44px;
}
.btn-primary { background: var(--brown); color: var(--cream); }
.btn-primary:hover {
  background: var(--brown-l);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(107,66,38,0.25);
}
.btn-ghost {
  background: transparent; color: var(--cream);
  border: 1.5px solid rgba(255,253,249,0.45);
}
.btn-ghost:hover { border-color: var(--cream); background: rgba(255,255,255,0.1); }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; white-space: nowrap; }
.btn-outline { background: transparent; color: var(--brown); border: 1.5px solid var(--brown); }
.btn-outline:hover { background: var(--brown); color: #fff; }

/* ========== Hero ========== */
.hero {
  position: relative; min-height: 68vh; display: flex; align-items: center;
  background:
    linear-gradient(145deg, rgba(88,50,26,0.82) 0%, rgba(175,95,65,0.60) 55%, rgba(100,60,30,0.78) 100%),
    linear-gradient(160deg, #C67B5C 0%, #D4A24E 45%, #8B6340 100%);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 55%, rgba(255,253,249,0.16) 0%, transparent 55%),
    radial-gradient(ellipse at 82% 25%, rgba(212,162,78,0.20) 0%, transparent 50%);
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background-image: radial-gradient(circle, rgba(255,255,255,0.065) 1px, transparent 1px);
  background-size: 28px 28px;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 680px; margin: 0 auto; padding: 100px 24px 64px;
}
.hero-tag {
  display: inline-block;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-l); margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(3rem, 6vw, 4.8rem);
  color: var(--cream); line-height: 1.05; margin-bottom: 26px;
}
.hero h1 em { font-style: italic; color: var(--gold-l); }
.hero p {
  font-size: 1.15rem; color: rgba(253,246,236,0.80);
  max-width: 500px; margin-bottom: 40px; line-height: 1.75;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ========== Stats Strip ========== */
.stats-strip {
  background: var(--brown);
  padding: 36px 0;
}
.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  max-width: 220px;
  gap: 6px;
}
.stat-number {
  font-family: 'DM Serif Display', serif;
  font-size: 2.2rem;
  color: var(--gold-l);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(253,246,236,0.60);
}
.stat-divider {
  width: 1px;
  height: 44px;
  background: rgba(253,246,236,0.14);
  flex-shrink: 0;
}

/* ========== Sections ========== */
.section { padding: 64px 0; }
.section-header { margin-bottom: 52px; }
.section-header.centered { text-align: center; }
.section-header h2 { font-size: 2.2rem; margin-top: 8px; line-height: 1.2; }
.section-subtitle {
  color: var(--text-l); max-width: 480px;
  margin: 14px auto 0; font-size: 1rem; line-height: 1.65;
}

/* ========== About ========== */
.label {
  display: inline-block;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--terracotta); margin-bottom: 12px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.about-header {
  margin-bottom: 36px;
}
.about-header h2 {
  font-size: 2.2rem; line-height: 1.2; margin-top: 8px;
}
.about-narrative {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(107,66,38,0.06);
}
.about-lead {
  font-size: 1rem;
  color: var(--text-l);
  margin-bottom: 16px;
  line-height: 1.75;
}
.about-narrative p {
  color: var(--text-l);
  font-size: 0.95rem;
  line-height: 1.75;
}
.about-timeline {
  display: flex;
  flex-direction: column;
}
.timeline-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 40px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: 21px; top: 44px; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--terracotta), var(--gold));
  opacity: 0.22;
}
.timeline-item:last-child::before { display: none; }
.timeline-dot {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid rgba(107,66,38,0.07);
  z-index: 1;
}
.timeline-content h4 {
  font-family: 'DM Serif Display', serif;
  font-size: 1.15rem; color: var(--brown); margin-bottom: 6px;
}
.timeline-content p {
  color: var(--text-l);
  font-size: 0.98rem; line-height: 1.65; max-width: 520px;
}
.handwritten {
  font-family: 'Caveat', cursive; font-size: 1.15em; color: var(--terracotta);
}

/* ========== Surplus Rescue ========== */
.surplus-rescue { background: var(--cream); }
.surplus-cta { text-align: center; margin-top: 40px; }
.btn-lg { padding: 16px 38px; font-size: 1.05rem; }

/* ========== Get Involved ========== */
.get-involved { background: var(--warm); }
.involve-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.involve-card .involve-aud {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--brown-l); margin-bottom: 6px;
}

/* ── Consolidated Get Involved: feature programs + slim secondary cards ── */
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.feature-card {
  background: var(--white); border: 1px solid rgba(107,66,38,0.08); border-radius: var(--radius);
  padding: 34px 32px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.feature-card .feature-icon { font-size: 2.6rem; margin-bottom: 14px; }
.feature-card .involve-aud {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--brown-l); margin-bottom: 6px;
}
.feature-card h3 { font-family: 'DM Serif Display', Georgia, serif; font-size: 1.6rem; color: var(--brown-dark); margin-bottom: 10px; line-height: 1.1; }
.feature-card > p { font-size: 0.95rem; color: var(--text-l); line-height: 1.7; margin-bottom: 18px; }
.feature-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.feature-chips span { font-size: 0.8rem; background: var(--warm); color: var(--brown); border-radius: 99px; padding: 6px 14px; }
.feature-card .btn { margin-top: auto; align-self: flex-start; }

.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; }
.mini-card {
  display: flex; align-items: center; gap: 18px; background: var(--white);
  border: 1px solid rgba(107,66,38,0.08); border-radius: var(--radius); padding: 20px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease; cursor: pointer;
}
.mini-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.mini-card .mini-icon { font-size: 1.9rem; flex: none; }
.mini-card h4 { font-size: 1.05rem; color: var(--brown-dark); margin: 0 0 3px; }
.mini-card p { font-size: 0.85rem; color: var(--text-l); line-height: 1.5; margin: 0; }
.mini-card .mini-go { margin-left: auto; flex: none; color: var(--terracotta); font-weight: 700; font-size: 1.2rem; }
@media (max-width: 760px) {
  .feature-grid, .mini-grid { grid-template-columns: 1fr; }
}
.involve-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid rgba(107,66,38,0.07);
  display: flex; flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.involve-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.involve-card.highlight {
  border: 2px solid var(--gold);
  background: linear-gradient(145deg, var(--white), rgba(240,214,138,0.10));
}
.involve-icon { font-size: 2.6rem; margin-bottom: 18px; }
.involve-card h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--brown); }
.involve-card p { font-size: 0.92rem; color: var(--text-l); margin-bottom: 28px; line-height: 1.7; }
.involve-card .btn { margin-top: auto; }

/* ========== CTA Band ========== */
.cta-band {
  background: var(--brown-dark);
  padding: 96px 0;
  text-align: center;
}
.cta-inner { max-width: 580px; margin: 0 auto; }
.cta-band .label { color: var(--gold-l); }
.cta-band h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--cream);
  margin: 10px 0 20px;
  line-height: 1.12;
}
.cta-band p {
  color: rgba(253,246,236,0.60);
  font-size: 1.05rem; line-height: 1.7; margin-bottom: 36px;
}
.cta-btn { padding: 16px 44px; font-size: 1rem; }

/* ========== Footer ========== */
.footer {
  padding: 64px 0 32px;
  background: var(--cream);
  border-top: 1px solid rgba(107,66,38,0.09);
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer-brand .logo { display: inline-flex; align-items: flex-end; gap: 8px; padding-bottom: 4px; }
.footer-brand .logo-img { height: 36px; width: auto; object-fit: contain; }
.footer-brand p { font-size: 0.9rem; color: var(--text-l); margin-top: 14px; margin-bottom: 4px; }
.footer-tax { font-size: 0.8rem; color: var(--terracotta); }
.footer-links h4 {
  font-family: 'DM Serif Display', serif;
  font-size: 1rem; margin-bottom: 16px; color: var(--brown);
}
.footer-links a {
  display: block; font-size: 0.88rem; color: var(--text-l);
  margin-bottom: 10px; transition: color 0.2s;
}
.footer-links a:hover { color: var(--terracotta); }
.footer-bottom {
  border-top: 1px solid rgba(107,66,38,0.08); padding-top: 24px;
  text-align: center; font-size: 0.82rem; color: var(--text-l);
}

/* ========== Mystery Box ========== */
.mystery-box { background: var(--white); }

.box-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 760px;
  margin: 0 auto 16px;
}

.batch-schedule {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-l);
  margin: 0 auto 36px;
  max-width: 500px;
  letter-spacing: 0.01em;
}
.batch-schedule strong { color: var(--text); font-weight: 600; }

.box-card {
  background: var(--cream);
  border: 1.5px solid rgba(107,66,38,0.09);
  border-radius: var(--radius);
  padding: 28px 28px;
  display: flex; flex-direction: column;
  position: relative;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.box-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.box-card-featured {
  background: var(--brown-dark);
  border-color: var(--gold);
}

.box-card.box-card-featured h3,
.box-card-featured .box-price-amount,
.box-card-featured .box-features li {
  color: var(--cream);
}

.box-card-featured .box-features li::before { background: var(--gold-l); }

.box-card-badge {
  position: absolute; top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--warm);
  color: var(--brown-l);
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 4px 14px; border-radius: 99px;
  border: 1.5px solid rgba(107,66,38,0.1);
  white-space: nowrap;
}

.badge-gold {
  background: var(--gold);
  color: var(--brown-dark);
  border-color: var(--gold);
}

.box-card-icon {
  font-size: 2.2rem; margin-bottom: 8px; margin-top: 6px;
}

.box-card h3 {
  font-size: 1.4rem; color: var(--brown-dark);
  margin-bottom: 10px;
}

.box-price {
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 16px;
}

.box-price-amount {
  font-family: 'DM Serif Display', serif;
  font-size: 2.6rem; color: var(--brown-dark);
  line-height: 1;
}

.box-price-note {
  font-size: 0.88rem; color: var(--text-l); font-weight: 500;
}

.box-card-featured .box-price-note { color: rgba(253,246,236,0.55); }

.box-features {
  list-style: none; margin-bottom: 20px; flex: 1;
}

.box-features li {
  font-size: 0.88rem; color: var(--text-l);
  padding: 5px 0 5px 20px;
  position: relative; line-height: 1.5;
  border-bottom: 1px solid rgba(107,66,38,0.06);
}

.box-card-featured .box-features li { border-bottom-color: rgba(253,246,236,0.07); }

.box-features li:last-child { border-bottom: none; }

.box-features li::before {
  content: '';
  position: absolute; left: 0; top: 14px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
}

.box-btn { width: 100%; justify-content: center; }

.box-card-featured .box-btn {
  background: var(--gold);
  color: var(--brown-dark);
}

.box-card-featured .box-btn:hover {
  background: var(--gold-l);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,162,78,0.35);
}

.box-note {
  text-align: center; margin-top: 10px;
  font-size: 0.75rem; color: var(--text-l);
}

.box-card-featured .box-note { color: rgba(253,246,236,0.35); }

/* What's inside teaser */
.box-inside {
  max-width: 680px; margin: 0 auto;
  text-align: center;
  background: var(--warm);
  border-radius: var(--radius);
  padding: 36px 44px;
  border: 1px solid rgba(107,66,38,0.07);
}

.box-inside-label {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--terracotta);
  margin-bottom: 10px;
}

.box-inside p {
  color: var(--text-l); font-size: 0.95rem;
  line-height: 1.75; margin-bottom: 20px;
}

.box-tags {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
}

.box-tags span {
  background: var(--white);
  border: 1px solid rgba(107,66,38,0.09);
  border-radius: 99px;
  padding: 5px 14px;
  font-size: 0.8rem; font-weight: 500;
  color: var(--text-l);
}

/* ========== Impact ========== */
.impact { background: var(--warm); padding: 72px 0; }

.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 820px;
  margin: 0 auto;
}

.impact-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(107,66,38,0.07);
  display: flex;
  flex-direction: column;
}

.impact-photos-stacked {
  display: flex;
  gap: 3px;
  overflow: hidden;
}

.impact-photos-stacked .impact-photo {
  flex: 1;
  height: 210px;
  width: 0;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.impact-photos-stacked .impact-photo:first-child {
  transform: scale(1.25);
  transform-origin: center center;
  object-position: 35% center;
}

.impact-photos-side {
  display: flex;
  gap: 3px;
  overflow: hidden;
}

.impact-photos-side .impact-photo {
  flex: 1;
  height: 210px;
  width: 0;
  object-fit: cover;
  display: block;
}

.impact-body {
  padding: 14px 16px 16px;
}

.impact-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brown-dark);
  margin-bottom: 4px;
}

.impact-text {
  font-size: 0.82rem;
  color: var(--text-l);
  line-height: 1.55;
  margin-bottom: 8px;
}

.impact-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brown-l);
  letter-spacing: 0.04em;
}

/* ========== Allergen Notice ========== */
.allergen-notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #FFFBF0;
  border: 1px solid rgba(212,162,78,0.35);
  border-radius: var(--radius);
  padding: 16px 20px;
  max-width: 760px;
  margin: 0 auto 32px;
}

.allergen-notice-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 1px; }

.allergen-notice-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: #92610A;
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}

.allergen-notice-text {
  font-size: 0.8rem;
  color: #7A6040;
  line-height: 1.65;
}

.allergen-notice-text a { color: #92610A; text-decoration: underline; }

/* ========== Legal Ribbon ========== */
.legal-ribbon {
  background: var(--brown-dark);
  padding: 32px 0;
}

.legal-ribbon-inner {
  display: flex;
  align-items: flex-start;
}

.legal-item { flex: 1; padding: 0 28px; }
.legal-item:first-child { padding-left: 0; }
.legal-item:last-child  { padding-right: 0; }

.legal-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.legal-text {
  font-size: 0.75rem;
  color: rgba(253,246,236,0.52);
  line-height: 1.7;
}

.legal-divider {
  width: 1px;
  background: rgba(253,246,236,0.1);
  align-self: stretch;
  flex-shrink: 0;
}

/* ========== Mobile Nav ========== */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 6px;
  border-radius: 8px;
  -webkit-tap-highlight-color: transparent;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-hamburger.open span:first-child  { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:last-child   { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: 52px; left: 0; right: 0; z-index: 99;
  background: rgba(253,246,236,0.98);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(107,66,38,0.10);
  box-shadow: 0 12px 24px rgba(107, 66, 38, 0.12);
  flex-direction: column;
  padding: 4px 0 12px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  display: block;
  font-size: 1rem; font-weight: 500;
  color: var(--text-l);
  padding: 14px 20px;
  border-bottom: 1px solid rgba(107,66,38,0.06);
  transition: color 0.18s, background 0.18s;
}
.nav-mobile a:last-child {
  border-bottom: none;
  color: var(--brown);
  font-weight: 600;
  margin: 8px 16px 0;
  padding: 12px 20px;
  text-align: center;
  border-radius: 99px;
  background: rgba(107,66,38,0.07);
}
.nav-mobile a:hover { color: var(--brown); background: rgba(107,66,38,0.04); }
.nav-mobile a:last-child:hover { background: var(--brown); color: var(--cream); }

/* ========== Responsive ========== */

/* --- Tablet (601–900px) --- */
@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .about-grid { gap: 36px; }
  .about-narrative { padding: 24px 24px; }
  /* 2x2 grid on tablet */
  .involve-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-strip { padding: 28px 0; }
  .stats-grid { flex-wrap: wrap; gap: 20px 0; }
  .stat-divider { display: none; }
  .stat-item { flex: 1 0 40%; max-width: 50%; }
  .cta-band { padding: 80px 0; }
  .box-cards { max-width: 100%; }
  .box-inside { padding: 28px 28px; }
  .impact-grid { grid-template-columns: 1fr; max-width: 480px; }
  .impact-photos-stacked { height: 240px; }
  .legal-ribbon-inner { flex-direction: column; gap: 20px; }
  .legal-divider { display: none; }
  .legal-item { padding: 0 !important; }
}

/* --- About mid-breakpoint (≤760px) --- */
@media (max-width: 760px) {
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* --- Nav: switch to hamburger on tablets & phones (≤768px) --- */
/* Reduced padding + smaller logo keep the bar ~52px tall so the dropdown (top:52px) aligns */
@media (max-width: 768px) {
  .nav-inner { padding: 10px 16px; }
  .logo-img { height: 32px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
}

/* --- Mobile (≤600px) --- */
@media (max-width: 600px) {
  .section { padding: 52px 0; }
  .container { padding: 0 16px; }
  .hero-content { padding: 88px 16px 48px; }
  .hero p { font-size: 1.05rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .about-header h2 { font-size: 1.8rem; }
  .about-narrative { padding: 20px 18px; }
  .about-lead { font-size: 1.02rem; }
  .timeline-item { gap: 16px; }
  .timeline-dot { width: 36px; height: 36px; font-size: 1.1rem; }
  .timeline-item::before { left: 17px; }
  /* Single column on mobile */
  .involve-grid { grid-template-columns: 1fr; }
  .stats-strip { padding: 24px 0; }
  .stats-grid { gap: 16px 0; }
  .stat-item { flex: 0 0 50%; max-width: 50%; }
  .stat-number { font-size: 1.9rem; }
  .cta-band { padding: 60px 0; }
  .cta-btn { width: 100%; }
  .box-cards { grid-template-columns: 1fr; max-width: 400px; margin-left: auto; margin-right: auto; }
  .box-card { padding: 24px 22px; }
  .box-inside { padding: 24px 20px; }
}

/* ========== Modal ========== */
.modal-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: rgba(44, 26, 14, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  justify-content: center; align-items: center;
  padding: 20px;
}
.modal {
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 40px 40px;
  max-width: 480px; width: 100%;
  position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute; top: 16px; right: 20px;
  background: none; border: none;
  font-size: 1.6rem; cursor: pointer; line-height: 1;
  color: var(--text-l); transition: color 0.2s;
}
.modal-close:hover { color: var(--brown); }
.modal h3 {
  font-size: 1.6rem; margin-bottom: 24px;
  color: var(--brown); text-align: center;
}
.modal-form .form-group { margin-bottom: 16px; }
.modal-form label {
  display: block; font-size: 0.84rem; font-weight: 500;
  color: var(--text-l); margin-bottom: 6px;
}
.modal-form input,
.modal-form select,
.modal-form textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid rgba(107, 66, 38, 0.13);
  border-radius: 10px; font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  background: var(--cream); color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 162, 78, 0.18);
}
.modal-form textarea { resize: vertical; min-height: 80px; }
.modal-form .btn { width: 100%; padding: 14px; margin-top: 10px; font-size: 1rem; }
@media (max-width: 600px) {
  .modal { padding: 36px 24px 28px; }
  .modal h3 { font-size: 1.3rem; }
}

/* ── Donation modal ─────────────────────────────────────────────────────────── */
.modal-donate { max-width: 520px; }
.donate-subtitle {
  text-align: center; font-size: 0.88rem; color: var(--text-l);
  margin: -14px 0 22px; line-height: 1.55;
}
.donate-path-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.donate-path-card {
  border: 1.5px solid rgba(107,66,38,0.15); border-radius: 14px;
  padding: 22px 14px 18px; cursor: pointer; text-align: center;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}
.donate-path-card:hover { border-color: var(--brown); box-shadow: 0 0 0 3px rgba(107,66,38,0.09); }
.donate-path-card.featured { border-color: var(--brown); background: rgba(107,66,38,0.03); }
.donate-path-icon { font-size: 2rem; margin-bottom: 8px; }
.donate-path-title { font-size: 0.95rem; font-weight: 700; color: var(--brown); margin-bottom: 6px; }
.donate-path-desc { font-size: 0.8rem; color: var(--text-l); line-height: 1.5; }
.donate-path-arrow { font-size: 0.75rem; font-weight: 600; color: var(--brown); margin-top: 10px; display: block; }

.donate-back {
  background: none; border: none; font-size: 0.82rem; color: var(--text-l);
  cursor: pointer; padding: 0; margin-bottom: 16px; text-decoration: underline;
  display: block;
}
.donate-back:hover { color: var(--brown); }

.donate-freq-toggle {
  display: flex; border: 1.5px solid rgba(107,66,38,0.18); border-radius: 10px;
  overflow: hidden; margin-bottom: 18px;
}
.donate-freq-btn {
  flex: 1; padding: 10px; font-size: 0.88rem; font-weight: 600;
  color: var(--text-l); background: transparent; border: none; cursor: pointer;
  font-family: 'Inter', sans-serif; transition: background 0.15s, color 0.15s;
}
.donate-freq-btn.active { background: var(--brown); color: var(--cream); }

.donate-amount-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 14px; }
.donate-amount-btn {
  border: 1.5px solid rgba(107,66,38,0.15); border-radius: 10px;
  padding: 11px 4px; font-size: 0.92rem; font-weight: 700; color: var(--text);
  background: var(--cream); cursor: pointer; text-align: center;
  font-family: 'Inter', sans-serif; transition: all 0.12s;
}
.donate-amount-btn .amt-label { display: block; font-size: 0.62rem; font-weight: 400; color: var(--text-l); margin-top: 2px; }
.donate-amount-btn:hover, .donate-amount-btn.active {
  border-color: var(--brown); background: rgba(107,66,38,0.06); color: var(--brown);
}

.donate-custom-row { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.donate-custom-prefix { font-size: 1.3rem; font-weight: 700; color: var(--text-l); }
.donate-custom-input {
  flex: 1; padding: 10px 12px; font-size: 1.3rem; font-weight: 700;
  border: 1.5px solid rgba(107,66,38,0.15); border-radius: 10px;
  color: var(--text); background: var(--cream); font-family: 'Inter', sans-serif;
}
.donate-custom-input:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,162,78,0.18);
}

.donate-impact-note {
  background: rgba(107,66,38,0.06); border-radius: 10px;
  padding: 10px 14px; font-size: 0.82rem; color: var(--text-l);
  text-align: center; line-height: 1.55; margin-bottom: 18px;
}
.donate-impact-note strong { color: var(--brown); }
.donate-stripe-note { font-size: 0.75rem; color: var(--text-l); text-align: center; margin-top: 8px; }

@media (max-width: 480px) {
  .donate-path-grid { grid-template-columns: 1fr; }
  .donate-amount-grid { grid-template-columns: repeat(2,1fr); }
}
