/* ═══════════════════════════════════════════════════════════════
   BETTER NATURE — Patagonia urgency × Too Good To Go clarity
   Deep forest green + cream + pink accent
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Core palette */
  --forest: #1B3A2D;
  --forest-mid: #2A5648;
  --forest-light: #3D7A67;
  --forest-ink: #0D2218;

  --cream: #F7F4F0;
  --parchment: #FDFBF8;
  --fog: #ECE8E1;

  --pink: #FF4D8D;
  --pink-bright: #FF2D7A;
  --pink-soft: #FFE5EE;
  --pink-dark: #C41E5A;

  --charcoal: #1a1a1a;
  --ink-60: rgba(26, 26, 26, 0.6);
  --ink-40: rgba(26, 26, 26, 0.4);
  --line: rgba(27, 58, 45, 0.12);
  --line-light: rgba(255, 255, 255, 0.15);

  /* Typography */
  --sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;

  /* Motion */
  --ease: cubic-bezier(.22, 1, .36, 1);

  /* Layout */
  --container: 1240px;
  --container-narrow: 960px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  color: var(--charcoal);
  background: var(--parchment);
  font-feature-settings: "ss01", "ss02";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 768px) { .container { padding: 0 20px; } }

/* ═══════════ COMMON ELEMENTS ═══════════ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 24px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--forest);
}
.eyebrow--light { color: rgba(255,255,255,.75); }
.eyebrow--light::before { background: rgba(255,255,255,.5); }
.eyebrow--pink { color: var(--pink-dark); }
.eyebrow--pink::before { background: var(--pink); }

/* ═══════════ BUTTONS ═══════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  border: 1.5px solid transparent;
}
.btn--lg {
  padding: 16px 30px;
  font-size: 16px;
}
.btn--forest {
  background: var(--forest);
  color: var(--cream);
}
.btn--forest:hover {
  background: var(--forest-ink);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(27, 58, 45, 0.5);
}
.btn--pink {
  background: var(--pink);
  color: white;
  box-shadow: 0 6px 18px -6px rgba(255, 77, 141, 0.5);
}
.btn--pink:hover {
  background: var(--pink-bright);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px -8px rgba(255, 77, 141, 0.6);
}
.btn--outline {
  background: transparent;
  color: var(--forest);
  border-color: var(--forest);
}
.btn--outline:hover {
  background: var(--forest);
  color: var(--cream);
}
.btn--ghost {
  background: transparent;
  color: var(--forest);
}
.btn--ghost:hover { background: rgba(27, 58, 45, 0.08); }

/* ═══════════ NAV ═══════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 16px 32px;
  background: rgba(253, 251, 248, 0.85);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: border-color 0.3s var(--ease), padding 0.3s var(--ease);
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
  padding: 10px 32px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 17px;
  color: var(--forest);
  letter-spacing: -0.01em;
}
.nav__logo {
  width: 34px; height: 34px;
  border-radius: 50%;
  object-fit: cover;
}
.nav__links {
  display: flex;
  gap: 28px;
  justify-content: center;
}
.nav__links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
  padding: 6px 0;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  height: 1.5px;
  width: 0;
  background: var(--pink);
  transition: width 0.3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }

.nav__ctas {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nav__ctas .btn { padding: 10px 18px; font-size: 14px; }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
}
.nav__burger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--forest);
  transition: all 0.3s var(--ease);
}
.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav__links, .nav__ctas { display: none; }
  .nav__burger { display: flex; }
  .nav {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }
  .nav.is-open .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--parchment);
    padding: 24px 32px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    align-items: flex-start;
  }
  .nav.is-open .nav__ctas {
    display: flex;
    position: absolute;
    top: calc(100% + 230px);
    left: 0; right: 0;
    padding: 0 32px 24px;
    gap: 12px;
  }
  .nav.is-open .nav__ctas .btn { flex: 1; }
}

/* ═══════════ HERO ═══════════ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 32px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(180deg, var(--cream) 0%, var(--parchment) 100%);
  overflow: hidden;
}
.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  mix-blend-mode: multiply;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' /%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .08 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.55;
}
.hero__shape--1 {
  top: -15%;
  right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(61, 122, 103, 0.45), transparent 70%);
}
.hero__shape--2 {
  bottom: -10%;
  left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255, 77, 141, 0.3), transparent 70%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 0 120px;
  width: 100%;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--forest);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 32px;
  background: rgba(247, 244, 240, 0.6);
}
.hero__eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--pink);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero__h1 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(48px, 9vw, 128px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--forest);
  margin-bottom: 32px;
}
.hero__h1 em {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--pink);
  letter-spacing: -0.015em;
}

.hero__sub {
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.55;
  max-width: 640px;
  margin-bottom: 40px;
  color: var(--ink-60);
}
.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Ticker bar at bottom of hero */
.ticker {
  position: relative;
  z-index: 2;
  background: var(--forest);
  color: var(--cream);
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin: 0 -32px;
}
.ticker__track {
  display: flex;
  gap: 60px;
  animation: tickerScroll 40s linear infinite;
  white-space: nowrap;
  padding-left: 60px;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ticker__item {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-size: 15px;
  flex-shrink: 0;
}
.ticker__value {
  font-family: var(--sans);
  font-weight: 700;
  color: var(--pink);
  font-size: 20px;
  letter-spacing: -0.01em;
}
.ticker__label {
  color: rgba(247, 244, 240, 0.7);
  letter-spacing: 0.02em;
}
.ticker__dot {
  color: rgba(255, 255, 255, 0.2);
  font-size: 12px;
}

/* ═══════════ MISSION ═══════════ */
.mission {
  padding: 140px 0 160px;
  background: var(--parchment);
  position: relative;
}
.mission__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--forest);
  max-width: 1000px;
  margin-bottom: 32px;
}
.mission__body {
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.6;
  max-width: 780px;
  color: var(--ink-60);
  margin-bottom: 80px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: 20px;
}
.pillar {
  padding: 48px 32px 48px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.pillar:not(:last-child) {
  border-right: 1px solid var(--line);
  padding-right: 40px;
}
.pillar:not(:first-child) { padding-left: 40px; }

.pillar__number {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--pink);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.pillar__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.01em;
  color: var(--forest);
  margin-bottom: 16px;
  line-height: 1.15;
}
.pillar__body {
  color: var(--ink-60);
  line-height: 1.6;
  font-size: 16px;
}

@media (max-width: 900px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { padding: 40px 0 !important; border-right: 0 !important; }
}

/* ═══════════ IMPACT (dark section) ═══════════ */
.impact {
  padding: 120px 0;
  background: var(--forest);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.impact::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255, 77, 141, 0.15), transparent 60%);
  border-radius: 50%;
}
.impact__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 800px;
  margin-bottom: 80px;
  position: relative;
  z-index: 1;
}
.impact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}
.stat {
  background: var(--forest);
  padding: 48px 32px;
  transition: background 0.3s var(--ease);
}
.stat:hover { background: var(--forest-ink); }
.stat__value {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(40px, 5.5vw, 72px);
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--pink);
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 6px;
}
.stat__sub {
  font-size: 13px;
  color: rgba(247, 244, 240, 0.55);
  line-height: 1.5;
}

@media (max-width: 900px) { .impact__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .impact__grid { grid-template-columns: 1fr; } }

/* ═══════════ PROGRAMS ═══════════ */
.programs {
  padding: 140px 0;
  background: var(--cream);
}
.programs__head { margin-bottom: 80px; }
.programs__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.03em;
  color: var(--forest);
}
.programs__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.program {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: var(--parchment);
  padding: 60px;
  border-radius: 24px;
  border: 1px solid var(--line);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.program:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px -30px rgba(27, 58, 45, 0.25);
}
.program__code {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--pink);
  margin-bottom: 20px;
}
.program__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--forest);
  margin-bottom: 20px;
}
.program__body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-60);
  margin-bottom: 32px;
}
.program__stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.program__stat-value {
  font-weight: 700;
  font-size: 24px;
  color: var(--forest);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.program__stat-label {
  font-size: 13px;
  color: var(--ink-60);
  margin-top: 2px;
}
.program__visual {
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.program__visual--iris {
  background: linear-gradient(135deg, #3D7A67, #1B3A2D);
}
.program__visual--evergreen {
  background: linear-gradient(135deg, #5B8C6F, #2A5648);
}
.program__visual--hydro {
  background: linear-gradient(135deg, #4A9B9B, #1e5959);
}
.program__visual svg {
  width: 55%;
  height: 55%;
  color: rgba(255, 255, 255, 0.75);
}
.program--reverse .program__inner { order: 2; }
.program--reverse .program__visual { order: 1; }

@media (max-width: 900px) {
  .program { grid-template-columns: 1fr; padding: 32px; }
  .program--reverse .program__inner { order: 1; }
  .program--reverse .program__visual { order: 0; }
  .program__visual { aspect-ratio: 16 / 10; }
}

/* ═══════════ FOOD INSECURITY ═══════════ */
.insecurity {
  padding: 140px 0;
  background: var(--parchment);
}
.insecurity__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.insecurity__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 44px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--forest);
  margin-bottom: 24px;
}
.insecurity__body {
  color: var(--ink-60);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 32px;
}
.insecurity__map {
  position: relative;
  aspect-ratio: 9 / 5.4;
  background: linear-gradient(135deg, var(--cream), var(--fog));
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
  margin-bottom: 32px;
}
.insecurity__svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.insecurity__dot {
  position: absolute;
  width: 14px; height: 14px;
  background: var(--pink);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 0 rgba(255, 77, 141, 0.5);
  animation: mapPulse 2.5s ease-in-out infinite;
}
.insecurity__dot:nth-child(2) { animation-delay: 0.4s; }
.insecurity__dot:nth-child(3) { animation-delay: 0.8s; }
.insecurity__dot:nth-child(4) { animation-delay: 1.2s; }
.insecurity__dot:nth-child(5) { animation-delay: 1.6s; }
.insecurity__dot:nth-child(6) { animation-delay: 2.0s; }
@keyframes mapPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 77, 141, 0.55); }
  70%  { box-shadow: 0 0 0 22px rgba(255, 77, 141, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 141, 0); }
}
.insecurity__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.insecurity__stat { }
.insecurity__stat-v {
  font-weight: 700;
  font-size: clamp(24px, 3vw, 36px);
  color: var(--pink-dark);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.insecurity__stat-l {
  font-size: 13px;
  color: var(--ink-60);
  margin-top: 4px;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .insecurity__grid { grid-template-columns: 1fr; gap: 40px; }
  .insecurity__stats { grid-template-columns: 1fr 1fr; }
}

/* ═══════════ HOW IT WORKS ═══════════ */
.how {
  padding: 140px 0;
  background: var(--cream);
}
.how__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.03em;
  color: var(--forest);
  margin-bottom: 48px;
  max-width: 800px;
}
.how__tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 60px;
  border-bottom: 1px solid var(--line);
}
.how__tab {
  padding: 16px 28px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-60);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.25s var(--ease);
  letter-spacing: -0.005em;
}
.how__tab:hover { color: var(--forest); }
.how__tab.is-active {
  color: var(--forest);
  border-bottom-color: var(--pink);
}
.how__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.3;
  color: var(--forest);
  margin-bottom: 56px;
  max-width: 900px;
  letter-spacing: -0.01em;
}
.how__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  margin-bottom: 48px;
}
.how__step {
  padding: 40px 28px 40px 0;
  border-right: 1px solid var(--line);
}
.how__step:last-child { border-right: 0; padding-right: 0; }
.how__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--pink-soft);
  color: var(--pink-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.how__step-title {
  font-weight: 600;
  font-size: 18px;
  color: var(--forest);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.how__step-body {
  color: var(--ink-60);
  font-size: 15px;
  line-height: 1.55;
}
@media (max-width: 900px) {
  .how__steps { grid-template-columns: 1fr 1fr; }
  .how__step { padding: 32px 20px 32px 0; }
  .how__step:nth-child(2n) { border-right: 0; padding-right: 0; }
}
@media (max-width: 600px) {
  .how__steps { grid-template-columns: 1fr; }
  .how__step { border-right: 0 !important; padding-right: 0; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
  .how__step:last-child { border-bottom: 0; }
}

/* ═══════════ CHAPTERS ═══════════ */
.chapters {
  padding: 140px 0;
  background: var(--parchment);
}
.chapters__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.03em;
  color: var(--forest);
  margin-bottom: 24px;
}
.chapters__body {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-60);
  max-width: 700px;
  margin-bottom: 60px;
}
.chapters__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 48px;
}
.chapter {
  background: var(--parchment);
  padding: 36px 32px;
  transition: background 0.3s var(--ease);
}
.chapter:hover { background: var(--cream); }
.chapter__city {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 22px;
  color: var(--forest);
  letter-spacing: -0.015em;
}
.chapter__state {
  font-size: 13px;
  color: var(--ink-60);
  margin-bottom: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.chapter__meta {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-60);
}
.chapter__members {
  color: var(--pink-dark);
  font-weight: 600;
}
.chapters__cta { text-align: center; }

@media (max-width: 900px) { .chapters__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .chapters__grid { grid-template-columns: 1fr; } }

/* ═══════════ PARTNERS ═══════════ */
.partners {
  padding: 140px 0;
  background: var(--cream);
  position: relative;
}
.partners__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.03em;
  color: var(--forest);
  margin-bottom: 24px;
  max-width: 900px;
}
.partners__body {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-60);
  max-width: 780px;
  margin-bottom: 60px;
}

.logo-marquee {
  overflow: hidden;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 80px;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.logo-marquee__track {
  display: flex;
  gap: 60px;
  animation: tickerScroll 30s linear infinite;
  white-space: nowrap;
  padding-left: 60px;
}
.partner-logo {
  flex-shrink: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  color: var(--forest-mid);
  opacity: 0.55;
  transition: opacity 0.3s var(--ease);
}
.partner-logo:hover { opacity: 1; }

.partners__pitch {
  background: var(--pink-soft);
  border: 1.5px solid var(--pink);
  border-radius: 24px;
  padding: 56px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.partners__pitch::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(255, 77, 141, 0.2), transparent 70%);
  border-radius: 50%;
}
.partners__pitch h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.02em;
  color: var(--forest);
  margin-bottom: 20px;
  position: relative;
}
.partners__pitch p {
  color: var(--charcoal);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 32px;
  position: relative;
}

/* ═══════════ TESTIMONIALS ═══════════ */
.testimonials {
  padding: 120px 0;
  background: var(--parchment);
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.testimonial {
  background: var(--cream);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease);
  position: relative;
}
.testimonial:hover { transform: translateY(-3px); }
.testimonial::before {
  content: '"';
  font-family: var(--serif);
  font-style: italic;
  font-size: 80px;
  line-height: 0.5;
  color: var(--pink);
  position: absolute;
  top: 32px; right: 32px;
}
.testimonial__quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
  color: var(--forest);
  margin-bottom: 24px;
  letter-spacing: -0.005em;
}
.testimonial__attr {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.testimonial__name {
  font-weight: 600;
  color: var(--forest);
  font-size: 15px;
}
.testimonial__role {
  font-size: 13px;
  color: var(--ink-60);
  margin-top: 2px;
}
@media (max-width: 900px) { .testimonials__grid { grid-template-columns: 1fr; } }

/* ═══════════ TEAM ═══════════ */
.team {
  padding: 140px 0;
  background: var(--cream);
}
.team__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.03em;
  color: var(--forest);
  margin-bottom: 20px;
}
.team__body {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-60);
  max-width: 720px;
  margin-bottom: 60px;
}
.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.member__photo {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--forest-mid), var(--forest-light));
  border-radius: 18px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--serif);
  font-style: italic;
  font-size: 56px;
}
.member__photo[data-has-photo="true"] { background: var(--fog); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.member__name {
  font-weight: 600;
  font-size: 17px;
  color: var(--forest);
  letter-spacing: -0.01em;
}
.member__role {
  font-size: 14px;
  color: var(--pink-dark);
  margin-top: 2px;
}
.member__city {
  font-size: 12px;
  color: var(--ink-60);
  margin-top: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
@media (max-width: 900px) { .team__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .team__grid { grid-template-columns: 1fr; } }

/* ═══════════ EVENTS ═══════════ */
.events {
  padding: 140px 0;
  background: var(--parchment);
}
.events__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.03em;
  color: var(--forest);
  margin-bottom: 48px;
}
.events__list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.event {
  display: grid;
  grid-template-columns: 120px 1fr auto auto;
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.25s var(--ease);
}
.event:hover { padding-left: 20px; }
.event__date {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  color: var(--pink-dark);
  letter-spacing: 0.03em;
}
.event__date small {
  display: block;
  font-weight: 500;
  color: var(--ink-60);
  font-size: 12px;
  margin-top: 3px;
  letter-spacing: 0.02em;
}
.event__title {
  font-weight: 600;
  font-size: 18px;
  color: var(--forest);
  letter-spacing: -0.01em;
}
.event__meta {
  font-size: 13px;
  color: var(--ink-60);
  margin-top: 3px;
}
.event__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--pink-soft);
  color: var(--pink-dark);
  text-transform: uppercase;
}
.event__tag--iris { background: rgba(61, 122, 103, 0.15); color: var(--forest-mid); }
.event__tag--evergreen { background: rgba(91, 140, 111, 0.15); color: var(--forest-mid); }
.event__tag--hydro { background: rgba(74, 155, 155, 0.15); color: #1e5959; }

.event__cta {
  font-size: 14px;
  color: var(--forest);
  font-weight: 600;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.event:hover .event__cta { opacity: 1; }

@media (max-width: 700px) {
  .event { grid-template-columns: 90px 1fr; row-gap: 10px; }
  .event__tag, .event__cta { grid-column: 2; justify-self: start; }
}

/* ═══════════ PRESS ═══════════ */
.press { padding: 140px 0; background: var(--cream); }
.press__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.03em;
  color: var(--forest);
  margin-bottom: 60px;
}
.press__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}
.press-card {
  padding: 36px;
  background: var(--parchment);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: all 0.3s var(--ease);
}
.press-card:hover {
  border-color: var(--pink);
  transform: translateY(-3px);
}
.press-card__date {
  font-size: 12px;
  color: var(--ink-60);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.press-card__outlet {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--pink-dark);
  margin-bottom: 14px;
}
.press-card__title {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.35;
  color: var(--forest);
  letter-spacing: -0.01em;
}
.press__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.press__logos span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--forest-mid);
  opacity: 0.55;
}

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

/* ═══════════ DONATE ═══════════ */
.donate {
  padding: 140px 0;
  background: var(--forest);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.donate::before {
  content: '';
  position: absolute;
  bottom: -250px;
  left: -150px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(255, 77, 141, 0.25), transparent 60%);
  border-radius: 50%;
}
.donate__title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  max-width: 900px;
  position: relative;
}
.donate__body {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(247, 244, 240, 0.7);
  max-width: 700px;
  margin-bottom: 60px;
  position: relative;
}
.donate__tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 48px;
  position: relative;
}
.tier {
  background: var(--forest);
  padding: 36px 28px;
  transition: background 0.3s var(--ease);
}
.tier:hover { background: var(--forest-ink); }
.tier__amount {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 40px;
  color: var(--pink);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.tier__impact {
  font-size: 14px;
  color: rgba(247, 244, 240, 0.75);
  line-height: 1.5;
}
.donate__cta {
  text-align: center;
  position: relative;
}
.donate__cta small {
  display: block;
  margin-top: 20px;
  font-size: 13px;
  color: rgba(247, 244, 240, 0.5);
}

@media (max-width: 900px) { .donate__tiers { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .donate__tiers { grid-template-columns: 1fr; } }

/* ═══════════ NEWSLETTER ═══════════ */
.newsletter {
  padding: 100px 0;
  background: var(--cream);
}
.newsletter__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.newsletter__inner h2 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.025em;
  color: var(--forest);
  margin-bottom: 12px;
}
.newsletter__inner p {
  color: var(--ink-60);
  font-size: 16px;
}
.newsletter__form {
  display: flex;
  gap: 8px;
}
.newsletter__form input {
  flex: 1;
  padding: 16px 20px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 15px;
  background: var(--parchment);
  color: var(--charcoal);
  transition: border-color 0.2s;
}
.newsletter__form input:focus {
  outline: none;
  border-color: var(--pink);
}
@media (max-width: 900px) {
  .newsletter__inner { grid-template-columns: 1fr; gap: 32px; }
  .newsletter__form { flex-direction: column; }
  .newsletter__form input { width: 100%; }
  .newsletter__form button { width: 100%; }
}

/* ═══════════ FOOTER ═══════════ */
.footer {
  background: var(--forest-ink);
  color: var(--cream);
  padding: 80px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__logo {
  width: 48px; height: 48px;
  border-radius: 50%;
  margin-bottom: 20px;
}
.footer__brand p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--cream);
  max-width: 300px;
  margin-bottom: 24px;
}
.footer__social {
  display: flex;
  gap: 12px;
}
.footer__social a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.25s var(--ease);
}
.footer__social a:hover {
  background: var(--pink);
  border-color: var(--pink);
  color: white;
}
.footer__col h4 {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 20px;
}
.footer__col a {
  display: block;
  padding: 6px 0;
  color: rgba(247, 244, 240, 0.75);
  font-size: 14.5px;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--cream); }
.footer__bar {
  padding: 24px 32px;
  text-align: center;
  color: rgba(247, 244, 240, 0.4);
  font-size: 13px;
}

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ═══════════ REVEAL ANIM ═══════════ */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s var(--ease); }
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* ═══════════ GET THE APP ═══════════ */
.getapp { padding: 120px 0; background: var(--cream); }
.getapp__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: center; }
.getapp__title { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.4rem); color: var(--forest); line-height: 1.08; margin: 16px 0 20px; }
.getapp__body { font-size: 1.1rem; color: #4a5d52; max-width: 520px; margin-bottom: 32px; line-height: 1.6; }
.getapp__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.storebtn { display: inline-flex; flex-direction: column; align-items: flex-start; padding: 14px 22px; line-height: 1.1; }
.storebtn small { font-size: 0.72rem; opacity: 0.8; font-weight: 400; margin-bottom: 2px; }
.storebtn span { font-size: 1.05rem; font-weight: 600; }
.getapp__qr { background: white; padding: 24px; border-radius: 20px; box-shadow: 0 20px 50px rgba(27,58,45,0.12); display: inline-flex; flex-direction: column; align-items: center; gap: 12px; }
.getapp__qr img { width: 240px; height: 240px; display: block; }
.getapp__qr small { color: var(--forest); font-weight: 500; }
@media (max-width: 880px) { .getapp__grid { grid-template-columns: 1fr; gap: 40px; text-align: left; } }

/* ═══════════ SIGNUP ═══════════ */
.signup { padding: 120px 0; background: var(--forest); color: var(--cream); }
.signup .eyebrow { color: var(--pink); }
.signup__title { font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1.08; margin: 16px 0 16px; }
.signup__body { font-size: 1.1rem; opacity: 0.85; max-width: 620px; margin-bottom: 36px; }
.signup__tabs { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.signup__tab { background: transparent; color: var(--cream); border: 1px solid rgba(247,244,240,0.25); padding: 12px 22px; border-radius: 999px; font: inherit; font-weight: 500; cursor: pointer; transition: all 0.2s var(--ease); }
.signup__tab:hover { border-color: var(--cream); }
.signup__tab.is-active { background: var(--pink); border-color: var(--pink); color: white; }
.signup__form { display: none; background: rgba(247,244,240,0.04); border: 1px solid rgba(247,244,240,0.12); border-radius: 20px; padding: 32px; }
.signup__form.is-active { display: block; }
.signup__tagline { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--pink); margin: 0 0 24px; }
.signup__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 24px; }
.signup__fields label { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; }
.signup__fields label span { opacity: 0.8; font-weight: 500; }
.signup__fields textarea { grid-column: 1 / -1; }
.signup__fields input, .signup__fields textarea, .signup__fields select { background: rgba(247,244,240,0.08); border: 1px solid rgba(247,244,240,0.2); border-radius: 10px; padding: 12px 14px; color: var(--cream); font: inherit; font-size: 0.95rem; }
.signup__fields input:focus, .signup__fields textarea:focus, .signup__fields select:focus { outline: none; border-color: var(--pink); background: rgba(247,244,240,0.12); }
.signup__fields label:has(textarea) { grid-column: 1 / -1; }
.signup__status { margin: 14px 0 0; font-size: 0.9rem; opacity: 0.85; }
@media (max-width: 680px) { .signup__fields { grid-template-columns: 1fr; } }

/* ═══════════ HERO MEDIA COLLAGE ═══════════ */
.hero__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.hero__media { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1 / 1; max-width: 560px; justify-self: end; width: 100%; }
.hero__tile { margin: 0; overflow: hidden; border-radius: 18px; box-shadow: 0 20px 50px rgba(27,58,45,0.18); position: relative; }
.hero__tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.8s var(--ease); }
.hero__tile:hover img { transform: scale(1.06); }
.hero__tile--1 { border-top-left-radius: 50% 30%; }
.hero__tile--2 { border-top-right-radius: 50% 30%; transform: translateY(24px); }
.hero__tile--3 { border-bottom-left-radius: 50% 30%; transform: translateY(-24px); }
.hero__tile--4 { border-bottom-right-radius: 50% 30%; }
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__media { max-width: 100%; justify-self: stretch; margin-top: 20px; }
  .hero__tile--2, .hero__tile--3 { transform: none; }
}

/* ═══════════ CHAPTER CARD (clickable) ═══════════ */
.chapter { cursor: pointer; text-align: left; font: inherit; color: inherit; background: white; border: 1px solid rgba(27,58,45,0.08); transition: all 0.25s var(--ease); }
.chapter:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(27,58,45,0.12); border-color: var(--pink); }
.chapter__more { display: inline-block; margin-top: 14px; color: var(--pink); font-weight: 600; font-size: 0.85rem; }

/* ═══════════ MODAL ═══════════ */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(20,30,24,0.7); backdrop-filter: blur(6px); }
.modal__panel { position: relative; background: var(--cream); border-radius: 24px; max-width: 620px; width: 100%; max-height: 88vh; overflow-y: auto; padding: 40px 44px; box-shadow: 0 30px 80px rgba(0,0,0,0.4); animation: modalIn 0.3s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(0.98); } to { opacity: 1; transform: none; } }
.modal__close { position: absolute; top: 14px; right: 18px; background: none; border: none; font-size: 2rem; line-height: 1; color: var(--forest); cursor: pointer; padding: 6px 12px; border-radius: 50%; }
.modal__close:hover { background: rgba(27,58,45,0.08); }
.chapter-modal__title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--forest); margin: 12px 0 14px; line-height: 1.05; }
.chapter-modal__blurb { color: #4a5d52; font-size: 1.05rem; line-height: 1.6; margin-bottom: 22px; }
.chapter-modal__stats { display: flex; flex-wrap: wrap; gap: 18px 24px; padding: 18px 0; border-top: 1px solid rgba(27,58,45,0.12); border-bottom: 1px solid rgba(27,58,45,0.12); color: var(--forest); font-size: 0.95rem; align-items: center; }
.chapter-modal__ig { color: var(--pink); font-weight: 600; text-decoration: none; }
.chapter-modal__ig:hover { text-decoration: underline; }
.chapter-modal__subhead { font-family: var(--serif); font-size: 1.3rem; color: var(--forest); margin: 26px 0 14px; }
.chapter-modal__roster { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.chapter-modal__member { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: white; border-radius: 12px; border: 1px solid rgba(27,58,45,0.08); }
.chapter-modal__member strong { display: block; color: var(--forest); font-family: var(--sans); font-weight: 600; }
.chapter-modal__member span { display: block; color: #6a7d72; font-size: 0.88rem; margin-top: 2px; }
.chapter-modal__member a { color: var(--pink); display: inline-flex; align-items: center; }
.chapter-modal__member a:hover { color: var(--pink-dark); }
.chapter-modal__empty { color: #6a7d72; font-style: italic; }

/* ═══════════ CLICKABLE PARTNER LOGOS ═══════════ */
.partner-logo.is-link { cursor: pointer; text-decoration: none; color: inherit; transition: all 0.2s var(--ease); position: relative; display: inline-flex; align-items: center; gap: 10px; }
.partner-logo.is-link:hover { color: var(--pink); transform: translateY(-2px); }
.partner-logo img { height: 28px; width: auto; display: block; }
.partner-logo__ig { display: inline-flex; align-items: center; color: var(--pink); margin-left: 6px; opacity: 0.7; transition: opacity 0.2s; }
.partner-logo__ig:hover { opacity: 1; }

/* ═══════════ IMPACT MAP ═══════════ */
.impactmap { padding: 120px 0; background: var(--cream); position: relative; }
.impactmap__head { max-width: 820px; margin: 0 auto 40px; text-align: center; }
.impactmap__title { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.8rem); color: var(--forest); line-height: 1.05; margin: 14px 0 18px; }
.impactmap__body { color: #4a5d52; font-size: 1.1rem; line-height: 1.6; }
.impactmap__legend { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 28px; }
.imlegend { border: 1px solid rgba(27,58,45,0.18); background: white; color: var(--forest); padding: 8px 16px 8px 12px; border-radius: 999px; font: inherit; font-size: 0.88rem; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: all 0.2s var(--ease); opacity: 0.55; }
.imlegend.is-on { opacity: 1; border-color: var(--im-color); background: color-mix(in srgb, var(--im-color) 10%, white); }
.imlegend:hover { transform: translateY(-1px); }
.imlegend__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--im-color); display: inline-block; }
.impactmap__layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: stretch; }
.impactmap__map { height: 560px; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 50px rgba(27,58,45,0.12); background: #eef1ed; }
.impactmap__map .leaflet-container { height: 100%; width: 100%; font-family: var(--sans); }
.impactmap__side { display: flex; flex-direction: column; gap: 16px; }
.impactmap__gap { background: var(--forest); color: var(--cream); padding: 24px; border-radius: 18px; text-align: center; }
.impactmap__gapLabel { font-family: var(--serif); font-style: italic; color: var(--pink); font-size: 0.95rem; margin-bottom: 6px; }
.impactmap__gapNum { font-family: var(--serif); font-size: 4.2rem; line-height: 1; color: var(--cream); }
.impactmap__gapSub { font-size: 0.88rem; opacity: 0.85; margin: 6px 0 16px; }
.impactmap__live { background: white; border: 1px solid rgba(27,58,45,0.08); border-radius: 18px; padding: 18px 20px; }
.imlive__row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 0.95rem; color: var(--forest); border-bottom: 1px solid rgba(27,58,45,0.06); }
.imlive__row:last-child { border-bottom: none; }
.imlive__row strong { font-family: var(--serif); font-size: 1.2rem; }
.impactmap__selected { background: white; border: 1px solid rgba(27,58,45,0.08); border-radius: 18px; padding: 20px; min-height: 120px; }
.impactmap__selectedHint { color: #6a7d72; font-style: italic; font-size: 0.9rem; text-align: center; padding: 20px 0; }
.imsel__kind { font-family: var(--serif); font-style: italic; font-size: 0.9rem; margin-bottom: 4px; }
.impactmap__selected h4 { font-family: var(--serif); font-size: 1.6rem; color: var(--forest); margin: 2px 0 12px; line-height: 1.1; }
.imsel__sub { color: #6a7d72; font-size: 0.88rem; margin-bottom: 10px; }
.imsel__stats { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-size: 0.92rem; color: var(--forest); }
.imsel__stats strong { font-family: var(--serif); font-size: 1.1rem; }
.imsel__warn { color: var(--pink); font-weight: 600; }
.imsel__body { font-size: 0.92rem; color: #4a5d52; line-height: 1.5; margin: 0 0 14px; }
.imsel__link { display: inline-block; margin-top: 10px; color: var(--pink); font-weight: 600; }
@media (max-width: 960px) {
  .impactmap__layout { grid-template-columns: 1fr; }
  .impactmap__map { height: 420px; }
}

/* signup form submission states */
.signup__status.is-ok  { color: #8DE1A0; }
.signup__status.is-err { color: #FFB4C6; }
.signup__status.is-err a { color: var(--pink); text-decoration: underline; }
.signup__form button[type="submit"]:disabled { opacity: 0.65; cursor: not-allowed; }

/* ═══════════ DONATE — Zeffy embed + alt methods ═══════════ */
.donate__embed { margin: 40px auto 24px; max-width: 720px; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(27,58,45,0.18); background: white; }
.donate__embed iframe { width: 100%; height: 900px; border: none; display: block; }
@media (max-width: 680px) { .donate__embed iframe { height: 780px; } }

.donate__alt { max-width: 720px; margin: 0 auto 28px; }
.donate__altHead { font-family: var(--serif); font-style: italic; color: var(--cream); opacity: 0.85; text-align: center; margin-bottom: 14px; font-size: 1.05rem; }
.donate__altGrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.donate__altBtn { display: inline-flex; align-items: center; gap: 12px; padding: 14px 18px; background: rgba(247,244,240,0.08); border: 1px solid rgba(247,244,240,0.18); border-radius: 14px; color: var(--cream); text-decoration: none; transition: all 0.2s var(--ease); }
.donate__altBtn:hover { background: rgba(247,244,240,0.14); border-color: var(--pink); transform: translateY(-2px); }
.donate__altBtn svg { flex-shrink: 0; color: var(--pink); }
.donate__altBtn span { display: flex; flex-direction: column; line-height: 1.2; }
.donate__altBtn strong { font-weight: 600; font-size: 0.98rem; }
.donate__altBtn em { font-style: normal; opacity: 0.7; font-size: 0.78rem; margin-top: 2px; }
