/* Youth For Change — site styles
   Palette is taken 1:1 from the current youthsforchange.com theme. */

:root {
  --green: #1B4D3E;
  --green-deep: #123328;
  --mustard: #F2A93B;
  --cream: #FBF8F2;
  --ink: #2B2620;
  --muted: #5C554A;
  --mint: #CFE0D8;
  --red: #C1443A;
  --blue: #2C4A6E;
  --white: #FFFFFF;

  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--mustard);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--mustard); color: var(--ink); padding: 10px 16px;
  border-radius: 10px; font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type ---------- */

.display {
  font-family: var(--f-display);
  font-weight: 850;
  font-stretch: 82%;
  font-variation-settings: "wdth" 82;
  letter-spacing: -0.025em;
  line-height: .9;
  margin: 0;
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: currentColor;
}

.h2 {
  font-size: clamp(2.6rem, 6.5vw, 5rem);
}

.lede {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.55;
  max-width: 40ch;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(.97); }

.btn-primary { background: var(--mustard); color: var(--ink); }
.btn-primary:hover { background: #f5b85a; }

.btn-ghost { border-color: rgba(251, 248, 242, .45); color: var(--cream); }
.btn-ghost:hover { border-color: var(--cream); background: rgba(251, 248, 242, .08); }

.btn-dark { background: var(--green-deep); color: var(--cream); }
.btn-dark:hover { background: var(--green); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 242, .88);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(43, 38, 32, .08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: .02em;
  color: var(--green-deep);
  white-space: nowrap;
}
.brand svg { width: 38px; height: 38px; flex: none; transition: transform .6s var(--ease); }
.brand:hover svg { transform: rotate(-12deg); }
.brand em { font-style: normal; color: var(--mustard); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  color: var(--muted);
  padding: 9px 14px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color .2s, background-color .2s;
}
.site-nav a:hover { color: var(--green-deep); background: rgba(27, 77, 62, .07); }
.site-nav a[aria-current="page"] { color: var(--green-deep); background: var(--mint); }
.site-nav .nav-cta { background: var(--green-deep); color: var(--cream); margin-left: 8px; padding-inline: 18px; }
.site-nav .nav-cta:hover { background: var(--green); color: var(--cream); }
.site-nav .nav-cta[aria-current="page"] { background: var(--mustard); color: var(--ink); }
.site-nav .nav-donate { background: var(--mustard); color: var(--ink); margin-left: 8px; padding-inline: 18px; }
.site-nav .nav-donate:hover { background: #f5b85a; color: var(--ink); }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--green-deep);
  cursor: pointer;
  position: relative;
}
.nav-toggle span:not(.sr) {
  position: absolute; left: 13px; right: 13px; height: 2px;
  background: var(--cream); border-radius: 2px;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

@media (max-width: 1140px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: 74px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px var(--gutter) 26px;
    background: var(--cream);
    border-bottom: 1px solid rgba(43, 38, 32, .1);
    box-shadow: 0 24px 40px -24px rgba(18, 51, 40, .35);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .site-nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .site-nav a { font-size: 1.15rem; padding: 14px 16px; border-radius: 14px; }
  .site-nav .nav-cta { margin: 10px 0 0; text-align: center; }
  .site-nav .nav-donate { margin: 10px 0 0; text-align: center; }
}

/* ---------- Hero (home) ---------- */

.hero {
  background: var(--green-deep);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  padding-block: clamp(48px, 8vw, 96px) clamp(40px, 6vw, 72px);
}
.hero::after {
  /* soft glow behind the photo */
  content: "";
  position: absolute;
  width: 60vw; height: 60vw;
  right: -18vw; top: -20vw;
  background: radial-gradient(closest-side, rgba(27, 77, 62, .95), rgba(18, 51, 40, 0));
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
}

.hero .eyebrow { color: var(--mustard); }

.hero-title {
  font-size: clamp(3.6rem, 12.5vw, 10.5rem);
  color: var(--cream);
}
.hero-title .line {
  display: flex;
  align-items: center;
  gap: .18em;
  white-space: nowrap;
}
.hero-title .accent { color: var(--mustard); }

.pill {
  display: inline-block;
  width: 1.55em;
  height: .74em;
  border-radius: 999px;
  overflow: hidden;
  flex: none;
  box-shadow: inset 0 0 0 3px rgba(251, 248, 242, .12);
  transform: translateY(.03em);
}
.pill img { width: 100%; height: 100%; object-fit: cover; }
.pill--mustard { background: var(--mustard); }

.hero-photo {
  position: relative;
  margin: 0;
  align-self: stretch;
  display: flex;
  align-items: center;
}
.hero-photo .frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  max-width: 100%;
  border-radius: 180px 180px var(--radius) var(--radius);
  overflow: hidden;
  transform: rotate(2.5deg);
  box-shadow: 14px 14px 0 var(--mustard);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.hero-foot {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-top: clamp(32px, 5vw, 56px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid rgba(251, 248, 242, .16);
}
.hero-foot p { margin: 0; color: rgba(251, 248, 242, .85); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { display: none; }
}

/* Load sequence: headline lines rise in */
.js .hero-title .line,
.js .hero-photo .frame,
.js .hero-foot {
  animation: rise .9s var(--ease) both;
}
.js .hero-title .line:nth-child(2) { animation-delay: .08s; }
.js .hero-title .line:nth-child(3) { animation-delay: .16s; }
.js .hero-title .line:nth-child(4) { animation-delay: .24s; }
.js .hero-photo .frame { animation-name: rise-tilt; animation-delay: .3s; }
.js .hero-foot { animation-delay: .4s; }

@keyframes rise { from { opacity: 0; transform: translateY(40px); } }
@keyframes rise-tilt { from { opacity: 0; transform: translateY(40px) rotate(8deg); } }

/* ---------- Photo strip ---------- */

.strip {
  background: var(--green-deep);
  padding-bottom: clamp(40px, 6vw, 72px);
  overflow: hidden;
}
.strip-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.strip:hover .strip-track { animation-play-state: paused; }
.strip-track figure {
  margin: 0;
  width: clamp(180px, 20vw, 250px);
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  flex: none;
}
.strip-track figure:nth-child(odd) { transform: translateY(18px); }
.strip-track img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.strip-track figure:hover img { transform: scale(1.06); }

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */

.section { padding-block: clamp(72px, 10vw, 128px); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: clamp(36px, 5vw, 56px);
}
.section-head .h2 { color: var(--green-deep); }

/* ---------- Program cards ---------- */

.programs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.program {
  --accent: var(--mustard);
  --on-accent: var(--ink);
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 440px;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(43, 38, 32, .08);
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: color .35s, transform .35s var(--ease), box-shadow .35s;
}
.program::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--accent);
  clip-path: circle(0% at 88% 12%);
  transition: clip-path .55s var(--ease);
}
.program--learn { --accent: var(--blue); --on-accent: var(--cream); }
.program--sme { --accent: var(--red); --on-accent: var(--cream); }

.program-letter {
  font-family: var(--f-display);
  font-weight: 900;
  font-variation-settings: "wdth" 75;
  font-stretch: 75%;
  font-size: clamp(8rem, 14vw, 12rem);
  line-height: .8;
  color: var(--accent);
  margin: 0 0 auto;
  transition: color .35s, transform .5s var(--ease);
}
.program h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 2.6vw, 2.3rem);
  line-height: 1;
  letter-spacing: -.01em;
  margin: 28px 0 10px;
  color: var(--green-deep);
  transition: color .35s;
}
.program p { margin: 0; color: var(--muted); max-width: 30ch; transition: color .35s; }
.program-arrow {
  position: absolute;
  top: 26px; right: 26px;
  width: 50px; height: 50px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid rgba(43, 38, 32, .15);
  transition: background-color .35s, border-color .35s, transform .45s var(--ease);
}
.program-arrow svg { width: 20px; height: 20px; }

.program:hover, .program:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 30px 50px -30px rgba(18, 51, 40, .45);
}
.program:hover::before, .program:focus-visible::before { clip-path: circle(150% at 88% 12%); }
.program:hover .program-letter,
.program:focus-visible .program-letter { color: var(--on-accent); transform: translateX(6px); }
.program:hover h3, .program:hover p,
.program:focus-visible h3, .program:focus-visible p { color: var(--on-accent); }
.program:hover .program-arrow,
.program:focus-visible .program-arrow { background: var(--cream); border-color: var(--cream); color: var(--ink); transform: rotate(-45deg); }

@media (max-width: 900px) {
  .programs { grid-template-columns: 1fr; }
  .program { min-height: 0; }
  .program-letter { font-size: 7rem; }
}

/* ---------- How We Work: the month calendar ---------- */

.work {
  background: var(--green-deep);
  color: var(--cream);
  border-radius: clamp(28px, 4vw, 48px) clamp(28px, 4vw, 48px) 0 0;
}
.work .h2 { color: var(--cream); }

.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.steps { list-style: none; margin: 0; padding: 0; }
.step {
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: start;
  gap: 18px;
  min-height: 42vh;
  padding-top: 26px;
  border-top: 1px solid rgba(251, 248, 242, .14);
  cursor: pointer;
  transition: opacity .4s;
}
.step:last-child { min-height: 30vh; }
.js .step { opacity: .38; }
.js .step.is-active { opacity: 1; }
.step-num {
  font-family: var(--f-mono);
  font-size: .95rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid rgba(251, 248, 242, .35);
  transition: background-color .35s, color .35s, border-color .35s;
}
.step.is-active .step-num { background: var(--mustard); border-color: var(--mustard); color: var(--ink); }
.step p {
  margin: 4px 0 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.1;
  letter-spacing: -.01em;
}

.cal-wrap {
  position: sticky;
  top: 110px;
}
.cal {
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(18px, 2.4vw, 28px);
  box-shadow: 14px 14px 0 var(--green);
  position: relative;
  min-height: 360px;
}
.cal-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-mono);
  font-size: .78rem;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: 14px;
}
.cal-top .dots { display: flex; gap: 6px; }
.cal-top .dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); }
.cal-top .dots i:first-child { background: var(--mustard); }

.cal-view { transition: opacity .4s var(--ease), transform .4s var(--ease); }
.cal-view[hidden] { display: none !important; }

.month {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.month .dow {
  font-family: var(--f-mono);
  font-size: .7rem;
  text-align: center;
  color: var(--muted);
  padding-bottom: 4px;
}
.day {
  aspect-ratio: 1;
  border-radius: 10px;
  background: rgba(43, 38, 32, .05);
  font-family: var(--f-mono);
  font-size: clamp(.62rem, 1vw, .78rem);
  padding: 6px;
  position: relative;
  transition: background-color .35s var(--ease), color .35s, transform .35s var(--ease), box-shadow .35s;
  transition-delay: calc(var(--i, 0) * 18ms);
}
.day.blank { background: transparent; }

/* step 1: the whole month belongs to one goal */
.cal[data-step="1"] .day:not(.blank) { box-shadow: inset 0 0 0 1.5px var(--green); }
/* step 2: planning + fundraising fills the month */
.cal[data-step="2"] .day.plan,
.cal[data-step="3"] .day.plan,
.cal[data-step="4"] .day.plan { background: var(--mint); color: var(--green-deep); }
.cal[data-step="3"] .day.plan,
.cal[data-step="4"] .day.plan { opacity: .55; }
/* step 3: execution weekend */
.cal[data-step="3"] .day.weekend,
.cal[data-step="4"] .day.weekend {
  background: var(--mustard);
  color: var(--ink);
  transform: scale(1.08);
  box-shadow: 0 10px 20px -10px rgba(242, 169, 59, .9);
}
.cal[data-step="2"] .day.weekend { background: var(--mint); color: var(--green-deep); }

.partners {
  position: absolute;
  left: 6px; bottom: 6px;
  display: flex;
}
.partners i {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 2px solid var(--mustard);
  margin-right: -4px;
  transform: scale(0);
  transition: transform .4s var(--ease);
}
.partners i:nth-child(1) { background: var(--blue); }
.partners i:nth-child(2) { background: var(--red); transition-delay: .08s; }
.partners i:nth-child(3) { background: var(--green); transition-delay: .16s; }
.cal[data-step="4"] .partners i { transform: scale(1); }

.year {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.mini {
  background: rgba(43, 38, 32, .05);
  border-radius: 12px;
  padding: 10px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  transition-delay: calc(var(--i, 0) * 55ms);
}
.cal[data-step="5"] .mini { opacity: 1; transform: none; }
.mini b {
  display: block;
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: .7rem;
  color: var(--muted);
  margin-bottom: 6px;
}
.mini-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.mini-days i { aspect-ratio: 1; border-radius: 2px; background: var(--mint); }
.mini-days i.w { background: var(--mustard); }
/* each year the team grows: later months carry more weekends */
.mini.grow .mini-days i.w2 { background: var(--mustard); }

@media (max-width: 900px) {
  .work-grid { grid-template-columns: 1fr; }
  .cal-wrap { top: 82px; z-index: 2; order: -1; }
  .cal { min-height: 0; box-shadow: 8px 8px 0 var(--green); }
  .day { border-radius: 6px; padding: 3px; }
  .step { min-height: 34vh; }
}

/* ---------- CTA band ---------- */

.cta {
  background: var(--mustard);
  color: var(--ink);
  overflow: hidden;
}
.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 32px;
  align-items: center;
  padding-block: clamp(64px, 9vw, 112px);
}
.cta .display { font-size: clamp(2.8rem, 7.5vw, 6.2rem); color: var(--green-deep); }
.cta p { margin: 20px 0 32px; font-size: 1.2rem; max-width: 42ch; }
.cta-hands {
  align-self: end;
  width: 100%;
  height: auto;
  max-height: 420px;
  overflow: visible; /* edge hands lean out; the band itself clips them */
  /* sit on the bottom edge of the band so the arms rise out of it */
  margin-bottom: calc(-1 * clamp(64px, 9vw, 112px));
}

@media (max-width: 800px) {
  .cta-inner { grid-template-columns: 1fr; }
  .cta-hands { max-width: 420px; margin-top: 8px; }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--green-deep);
  color: rgba(251, 248, 242, .8);
  padding-block: 56px 32px;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(251, 248, 242, .14);
}
.site-footer .brand { color: var(--cream); font-size: 1.2rem; }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}
.footer-nav a { text-decoration: none; font-weight: 600; }
.footer-nav a:hover { color: var(--mustard); }
.footer-ig { display: inline-flex; align-items: center; gap: 6px; color: var(--mustard); }
.footer-ig svg { width: 18px; height: 18px; }

/* ---------- Long-form text: program intros, For Students, Updates ---------- */

.prose { max-width: 820px; }
.prose p, .prose li { font-size: 1.1rem; line-height: 1.7; max-width: 68ch; }
.prose p { margin: 0 0 16px; }
.prose .h2 { margin-bottom: 20px; }
.prose a { color: var(--green); font-weight: 600; text-underline-offset: 3px; }
.prose a:hover { color: var(--green-deep); }
.prose-steps { margin: 0; padding-left: 1.4em; display: grid; gap: 12px; }
.prose-steps li::marker { font-family: var(--f-mono); color: var(--green); }
.faq details { border-bottom: 1px solid rgba(43, 38, 32, .14); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.1rem; }
.faq details p { margin: 10px 0 0; }
.post-meta { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .04em; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.post-status { background: var(--red); color: var(--cream); padding: 3px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: .1em; }
.post-result { background: var(--mint); padding: 14px 18px; border-radius: 12px; }
.track-note { margin: 18px 0 0; font-family: var(--f-mono); font-size: .8rem; letter-spacing: .04em; opacity: .75; }

/* ---------- Live drive banner (home) ---------- */

.drive { background: var(--mint); color: var(--ink); }
.drive-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
  padding-block: clamp(36px, 5vw, 56px);
}
.drive-inner > div:first-child { flex: 1 1 420px; }
.drive-tag {
  display: inline-block;
  margin: 0 0 12px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--red);
  color: var(--cream);
  font-family: var(--f-mono);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.drive .display { font-size: clamp(1.9rem, 4vw, 3rem); color: var(--green-deep); }
.drive p:not(.drive-tag) { margin: 12px 0 0; font-size: 1.08rem; max-width: 56ch; }
.drive-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.drive .btn-ghost { border-color: var(--green-deep); color: var(--green-deep); }
.drive .btn-ghost:hover { background: rgba(18, 51, 40, .08); border-color: var(--green-deep); }
.footer-line {
  margin: 24px 0 0;
  font-family: var(--f-mono);
  font-size: .8rem;
  letter-spacing: .04em;
}

/* ---------- Inner page hero ---------- */

.page-hero {
  --accent: var(--mustard);
  background: var(--green-deep);
  color: var(--cream);
  padding-block: clamp(56px, 8vw, 104px);
  position: relative;
  overflow: hidden;
}
.page-hero .eyebrow { color: var(--accent); }
.page-hero .display { font-size: clamp(3.2rem, 10vw, 8rem); }
.page-hero .lede { margin: 24px 0 0; color: rgba(251, 248, 242, .85); }
.page-hero-letter {
  position: absolute;
  right: var(--gutter);
  bottom: -.2em;
  font-family: var(--f-display);
  font-weight: 900;
  font-stretch: 75%;
  font-variation-settings: "wdth" 75;
  font-size: clamp(14rem, 34vw, 30rem);
  line-height: .8;
  color: var(--accent);
  opacity: .95;
  pointer-events: none;
  user-select: none;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero--learn { --accent: var(--mint); }
.page-hero--sme { --accent: var(--red); }

@media (max-width: 700px) {
  .page-hero-letter { opacity: .22; }
}

/* ---------- Program page ---------- */

.initiatives {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.initiatives li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 26px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(43, 38, 32, .08);
  font-size: 1.15rem;
  line-height: 1.45;
  font-weight: 500;
}
.initiatives li::before {
  content: "";
  flex: none;
  width: 14px; height: 14px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--accent, var(--mustard));
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent, var(--mustard)) 22%, transparent);
}
@media (max-width: 760px) { .initiatives { grid-template-columns: 1fr; } }

.track {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  gap: 16px;
}
.track div {
  padding: 26px 22px;
  border-radius: var(--radius);
  background: var(--green);
  color: var(--cream);
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.track .num {
  font-family: var(--f-display);
  font-weight: 850;
  font-stretch: 82%;
  font-variation-settings: "wdth" 82;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--mustard);
}
.track .label { font-weight: 600; font-size: 1.05rem; }
@media (max-width: 900px) { .track { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .track { grid-template-columns: 1fr; } .track div { min-height: 140px; } }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 980px;
  margin-inline: auto;
}
.gallery figure { margin: 0; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4; }
.gallery figure:nth-child(even) { transform: translateY(28px); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery figure:nth-child(even) { transform: none; }
  .gallery figure:first-child { grid-column: span 2; aspect-ratio: 4 / 3; }
}

/* ---------- Who we are ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.about-photo {
  margin: 0;
  border-radius: 180px 180px var(--radius) var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: 14px 14px 0 var(--mustard);
  transform: rotate(-2deg);
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.pending {
  border: 2px dashed rgba(27, 77, 62, .35);
  border-radius: var(--radius);
  padding: 28px;
  color: var(--muted);
  font-family: var(--f-mono);
  font-size: .9rem;
}
@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 380px; }
}

.mv-intro {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--green-deep);
  max-width: 28ch;
  margin: 0 0 clamp(40px, 6vw, 64px);
}
.mv-intro mark { background: none; color: var(--green); box-shadow: inset 0 -.32em 0 var(--mustard); }

.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.mv-card {
  padding: clamp(26px, 3vw, 40px);
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(43, 38, 32, .08);
}
.mv-card h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  line-height: 1;
  margin: 0 0 16px;
  color: var(--green-deep);
}
.mv-card p { margin: 0; color: var(--muted); }
.mv-card--dark { background: var(--green); border-color: var(--green); }
.mv-card--dark h3 { color: var(--mustard); }
.mv-card--dark p { color: rgba(251, 248, 242, .9); }
@media (max-width: 760px) { .mv-grid { grid-template-columns: 1fr; } }

/* ---------- Get involved ---------- */

.join-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}
@media (max-width: 900px) { .join-grid { grid-template-columns: 1fr; } }

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 44px);
  border: 1px solid rgba(43, 38, 32, .08);
  box-shadow: 14px 14px 0 var(--mustard);
  margin-top: clamp(-120px, -8vw, -60px);
  position: relative;
  z-index: 2;
}
.form-card h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  line-height: 1;
  margin: 0 0 24px;
  color: var(--green-deep);
}
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: .92rem;
  margin-bottom: 6px;
}
.field input, .field select {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1.5px solid rgba(43, 38, 32, .16);
  background: var(--cream);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231B4D3E' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}
.field input::placeholder { color: #968d80; }
.field input:focus, .field select:focus {
  outline: none;
  border-color: var(--green);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(27, 77, 62, .15);
}
.field input:user-invalid { border-color: var(--red); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

.form-card .btn { width: 100%; justify-content: center; margin-top: 8px; }

.form-done {
  text-align: center;
  padding: 40px 10px;
}
.form-done .tick {
  width: 72px; height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--mustard);
  display: grid; place-items: center;
}
.form-done .tick svg { width: 34px; height: 34px; }
.form-done p {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.8rem;
  line-height: 1.1;
  color: var(--green-deep);
  margin: 0;
}

.ways { display: grid; gap: 14px; }
.ways h2 { color: var(--green-deep); font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 10px; }
.way {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(43, 38, 32, .08);
}
.way-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: var(--mint);
  color: var(--green-deep);
}
.way-icon svg { width: 24px; height: 24px; }
.way:nth-child(3) .way-icon { background: var(--mustard); color: var(--ink); }
.way h3 { margin: 0 0 4px; font-size: 1.15rem; color: var(--green-deep); }
.way p { margin: 0; color: var(--muted); font-size: 1rem; }

/* ---------- Scroll reveal ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  .strip-track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Team (who we are) ---------- */

.team {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}
.member { display: flex; flex-direction: column; }
.member-photo {
  margin: 0 0 20px;
  aspect-ratio: 4 / 5;
  border-radius: 140px 140px var(--radius) var(--radius);
  overflow: hidden;
  background: var(--mint);
  box-shadow: 10px 10px 0 var(--mint);
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.member:first-child .member-photo { box-shadow: 10px 10px 0 var(--mustard); }
.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.member:hover .member-photo { transform: translateY(-4px); }
.member:hover .member-photo img { transform: scale(1.04); }
.member-name {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  line-height: 1.05;
  letter-spacing: -.01em;
  color: var(--green-deep);
  margin: 0 0 10px;
}
.member-bio {
  margin: 0;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.6;
}

/* Founder: a wide featured card above the rest of the team */
.team .member:first-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  margin-bottom: clamp(24px, 4vw, 48px);
}
.team .member:first-child .member-photo {
  margin: 0;
  width: 100%;
  max-width: 440px;
  box-shadow: 14px 14px 0 var(--mustard);
}
.team .member:first-child .member-name {
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  line-height: .95;
  margin-bottom: 18px;
}
.team .member:first-child .member-bio {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  max-width: 44ch;
}

@media (max-width: 1000px) {
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
}
@media (max-width: 540px) {
  .team { grid-template-columns: 1fr; }
  .member-photo { max-width: 340px; }
  .team .member:first-child { grid-template-columns: 1fr; margin-bottom: 0; }
  .team .member:first-child .member-photo { max-width: 340px; }
}

/* Mission & Vision on the site green */
.mv-section { background: var(--green-deep); color: var(--cream); }
.mv-section .eyebrow { color: var(--mustard); }
.mv-section .mv-intro { color: var(--cream); }
.mv-section .mv-intro mark { color: var(--mustard); box-shadow: none; }
.mv-section .mv-card { background: var(--cream); border-color: var(--cream); }
.mv-section .mv-card--dark { background: var(--green); border-color: rgba(251, 248, 242, .12); }

/* What We Track on the site green */
.track-section { background: var(--green-deep); }
.track-section .section-head .h2 { color: var(--cream); }
.track-section .track div { background: var(--green); border: 1px solid rgba(251, 248, 242, .12); }
.form-error { color: #a12b2b; font-weight: 700; margin-top: 12px; }
