/* ==========================================================================
   LIVE LOVE MALAWI
   Palette + gradient sampled directly from the Live Love logo mark:
   rose #EA7A82 -> apricot #EAAD89 -> sun #E8E08C
   Grounded against deep Malawian field-green.
   ========================================================================== */

:root {
  /* Core */
  --ink:        #14231F;
  --forest:     #1E3A34;
  --forest-2:   #24443D;
  --forest-3:   #2E5148;
  --shell:      #FAF8F4;
  --shell-2:    #F2EEE7;
  --stone:      #E3DED4;
  --muted:      #65736C;

  /* Brand gradient (from the logo) */
  --rose:       #EA7A82;
  --apricot:    #EAAD89;
  --sun:        #E8E08C;
  --grad:       linear-gradient(90deg, #EA7A82 0%, #EAAD89 52%, #E8E08C 100%);
  --grad-tilt:  linear-gradient(115deg, #EA7A82 0%, #EAAD89 55%, #E8E08C 100%);

  /* Type */
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --sans:    "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  /* Rhythm */
  --pad:     clamp(72px, 8.5vw, 136px);
  --radius:  10px;
  --nav-h:   82px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ------------------------------ reset ----------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--shell);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, iframe, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

:focus-visible {
  outline: 3px solid var(--rose);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: .8rem 1.2rem; border-radius: 6px;
  text-decoration: none; transition: top .2s var(--ease);
}
.skip:focus { top: 12px; }

/* ------------------------------ layout ---------------------------------- */
.wrap { width: min(1180px, 100% - 2.6rem); margin-inline: auto; }
.wrap--narrow { width: min(760px, 100% - 2.6rem); margin-inline: auto; }

.section { padding-block: var(--pad); position: relative; }
.section--tight { padding-block: clamp(48px, 5vw, 80px); }
.section--forest { background: var(--forest); color: #fff; }
.section--shell2 { background: var(--shell-2); }
.section--ink { background: var(--ink); color: #fff; }

/* ------------------------------ type ------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.03;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 3.9vw, 3.3rem); }
h3 { font-size: clamp(1.3rem, 1.9vw, 1.75rem); line-height: 1.15; }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; }

p { text-wrap: pretty; }
.lede { font-size: clamp(1.08rem, 1.45vw, 1.3rem); line-height: 1.62; color: var(--muted); }
.section--forest .lede,
.section--ink .lede { color: rgba(255,255,255,.74); }

.prose p + p { margin-top: 1.15em; }
.prose p { color: #3D4A45; }
.section--forest .prose p { color: rgba(255,255,255,.8); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .8rem;
  font-family: var(--sans);
  font-size: .715rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.4rem;
}
.eyebrow::before {
  content: ""; width: 34px; height: 3px; border-radius: 3px;
  background: var(--grad); flex: none;
}
.section--forest .eyebrow,
.section--ink .eyebrow { color: rgba(255,255,255,.62); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ------------------------------ buttons --------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .95rem 1.7rem;
  border-radius: 100px;
  font-weight: 600; font-size: .93rem; letter-spacing: .005em;
  text-decoration: none; white-space: nowrap;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
.btn svg { flex: none; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--grad {
  background: var(--grad); color: var(--ink);
  box-shadow: 0 10px 30px -12px rgba(234,122,130,.85);
}
.btn--grad:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -14px rgba(234,122,130,.95); }

.btn--dark { background: var(--forest); color: #fff; }
.btn--dark:hover { background: var(--ink); transform: translateY(-2px); }

.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); }

.btn--ghost { border: 1.5px solid currentColor; }
.btn--ghost:hover { background: currentColor; }
.btn--ghost:hover span { color: var(--shell); }
.section--forest .btn--ghost:hover span,
.hero .btn--ghost:hover span { color: var(--forest); }

.btn--sm { padding: .7rem 1.25rem; font-size: .82rem; }

/* text link with arrow */
.tlink {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .92rem;
  text-decoration: none;
  padding-bottom: .3rem;
  border-bottom: 2px solid transparent;
  background-image: var(--grad);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 2px;
  transition: background-size .35s var(--ease);
}
.tlink:hover { background-size: 100% 2px; }
.tlink svg { transition: transform .3s var(--ease); }
.tlink:hover svg { transform: translateX(4px); }

/* ------------------------------ nav ------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .4s var(--ease), height .4s var(--ease), box-shadow .4s var(--ease);
}
.nav::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: var(--grad); opacity: 0; transition: opacity .4s var(--ease);
}
.nav.is-solid {
  background: rgba(250,248,244,.94);
  backdrop-filter: saturate(1.6) blur(14px);
  height: 68px;
  box-shadow: 0 8px 34px -24px rgba(20,35,31,.5);
}
.nav.is-solid::after { opacity: 1; }

.nav__inner { width: min(1300px, 100% - 2.6rem); margin-inline: auto; display: flex; align-items: center; gap: 1.5rem; }

.brand { display: flex; align-items: center; flex: none; text-decoration: none; }
.brand img { height: 46px; width: auto; transition: height .4s var(--ease); }
.nav.is-solid .brand img { height: 40px; }
.brand .logo--light { display: block; }
.brand .logo--dark  { display: none; }
.nav.is-solid .brand .logo--light { display: none; }
.nav.is-solid .brand .logo--dark  { display: block; }
/* Pages without a dark hero always use the dark logo */
.nav--onlight .brand .logo--light { display: none; }
.nav--onlight .brand .logo--dark  { display: block; }

.nav__menu { margin-left: auto; display: flex; align-items: center; gap: 1.35rem; list-style: none; padding: 0; }
.nav__menu > li { position: relative; }
.nav__menu a, .nav__menu button.sub__toggle {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .715rem; font-weight: 600;
  letter-spacing: .155em; text-transform: uppercase;
  text-decoration: none; color: #fff;
  padding: .5rem 0; position: relative;
  transition: color .25s var(--ease), opacity .25s var(--ease);
}
.nav.is-solid .nav__menu a, .nav.is-solid .nav__menu button.sub__toggle,
.nav--onlight .nav__menu a, .nav--onlight .nav__menu button.sub__toggle { color: var(--ink); }

.nav__menu > li > a::after,
.nav__menu > li > .sub__toggle::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--grad); transition: width .3s var(--ease);
}
.nav__menu > li > a:hover::after,
.nav__menu > li > .sub__toggle:hover::after,
.nav__menu > li.is-current > a::after,
.nav__menu > li.is-current > .sub__toggle::after { width: 100%; }
.nav__menu > li.open .sub { opacity: 1; visibility: visible; transform: none; }

.sub__toggle .chev { width: 9px; height: 9px; transition: transform .3s var(--ease); }
.has-sub[aria-expanded="true"] .chev, .has-sub:hover .chev { transform: rotate(180deg); }

.sub {
  position: absolute; top: calc(100% + 14px); left: -1.2rem;
  min-width: 250px; padding: .6rem;
  background: #fff; border-radius: 12px;
  box-shadow: 0 26px 60px -26px rgba(20,35,31,.42), 0 0 0 1px rgba(20,35,31,.05);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all .28s var(--ease);
  list-style: none;
}
.sub::before { content:""; position:absolute; top:-14px; left:0; right:0; height:14px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a {
  display: block; padding: .68rem .9rem; border-radius: 8px;
  color: var(--ink) !important; letter-spacing: .06em; font-size: .74rem;
  transition: background-color .2s var(--ease);
}
.sub a::after { display: none; }
.sub a:hover { background: var(--shell-2); }

.nav__cta { flex: none; }
.nav__burger { display: none; flex: none; width: 44px; height: 44px; position: relative; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; transition: all .3s var(--ease); }
.nav.is-solid .nav__burger span, .nav--onlight .nav__burger span { background: var(--ink); }
.nav__burger span:nth-child(1) { top: 15px; }
.nav__burger span:nth-child(2) { top: 21px; }
.nav__burger span:nth-child(3) { top: 27px; }
body.menu-open .nav__burger span { background: #fff; }
body.menu-open .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
body.menu-open .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 85;
  background: var(--forest);
  padding: calc(var(--nav-h) + 24px) 1.6rem 3rem;
  overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
body.menu-open .drawer { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }
.drawer ul { list-style: none; padding: 0; }
.drawer > ul > li { border-bottom: 1px solid rgba(255,255,255,.12); }
.drawer a, .drawer .sub__toggle {
  display: flex; justify-content: space-between; align-items: center; width: 100%;
  padding: 1.05rem 0; color: #fff; text-decoration: none;
  font-family: var(--display); font-size: 1.35rem; font-weight: 600; letter-spacing: -.02em;
}
.drawer .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: none; padding: 0 0 .8rem .9rem; display: none; min-width: 0; }
.drawer li.open .sub { display: block; }
.drawer li.open .chev { transform: rotate(180deg); }
.drawer .sub a { color: rgba(255,255,255,.72) !important; font-family: var(--sans); font-size: .95rem; font-weight: 500; padding: .5rem 0; letter-spacing: 0; }
.drawer .sub a:hover { background: none; color: #fff !important; }
.drawer__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.drawer__row a { flex: 1; }
.drawer .sub__toggle { width: auto; flex: none; padding: 1.05rem 0 1.05rem 1.2rem; }
.drawer .sub__toggle .chev { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.drawer__foot { margin-top: 2rem; }

/* ------------------------- floating donate ------------------------------ */
.donate-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 95;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: 1rem 1.6rem;
  border-radius: 100px;
  background: var(--grad); color: var(--ink);
  font-weight: 700; font-size: .86rem; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 14px 40px -12px rgba(234,122,130,.85), 0 0 0 1px rgba(255,255,255,.35) inset;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.donate-float:hover { transform: translateY(-3px) scale(1.02); }
.donate-float .heart { width: 17px; height: 17px; flex: none; }
.donate-float::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  border: 2px solid var(--rose);
  animation: ring 2.8s var(--ease) infinite;
}
@keyframes ring {
  0%   { opacity: .55; transform: scale(1); }
  70%  { opacity: 0;   transform: scale(1.16); }
  100% { opacity: 0;   transform: scale(1.16); }
}

/* ------------------------------ hero ------------------------------------ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding-bottom: clamp(56px, 8vw, 110px);
  color: #fff; overflow: hidden;
  background: var(--forest);
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__video { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__video.is-ready { opacity: 1; }
.hero__video iframe {
  position: absolute; top: 50%; left: 50%;
  width: 100vw; height: 56.25vw;
  min-height: 100vh; min-width: 177.77vh;
  transform: translate(-50%, -50%);
  border: 0; pointer-events: none;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(20,35,31,.62) 0%, rgba(20,35,31,.22) 32%, rgba(20,35,31,.86) 100%),
    radial-gradient(120% 90% at 20% 100%, rgba(30,58,52,.75), transparent 60%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero .eyebrow { color: rgba(255,255,255,.72); margin-bottom: 1.8rem; }

.hero h1 { max-width: 15ch; }
.hero h1 .w { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.11em; }
.hero h1 .w > span { display: block; transform: translateY(122%); }
.hero.is-in h1 .w > span { transform: none; transition: transform 1.05s var(--ease); }
.hero.is-in h1 .w:nth-child(2) > span { transition-delay: .1s; }
.hero.is-in h1 .w:nth-child(3) > span { transition-delay: .2s; }
.hero h1 .w:last-child > span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hero__sub { max-width: 44ch; margin-top: 1.8rem; font-size: clamp(1.02rem, 1.3vw, 1.2rem); color: rgba(255,255,255,.8); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.4rem; }
.hero__fade { opacity: 0; transform: translateY(20px); }
.hero.is-in .hero__fade { opacity: 1; transform: none; transition: opacity .9s var(--ease) .35s, transform .9s var(--ease) .35s; }
.hero.is-in .hero__actions.hero__fade { transition-delay: .5s; }

.hero__scroll {
  position: absolute; z-index: 2; left: 50%; bottom: 22px; transform: translateX(-50%);
  font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: rgba(255,255,255,.55);
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
}
.hero__scroll i { display: block; width: 1px; height: 34px; background: linear-gradient(180deg, rgba(255,255,255,.55), transparent); }

/* villages strip */
.villages {
  background: var(--ink); color: rgba(255,255,255,.62);
  padding: 1.15rem 0;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
}
.villages .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .85rem 1.5rem; text-align: center; }
.villages b { color: #fff; font-weight: 600; }
.villages .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--apricot); flex: none; }

/* ------------------------- framed image --------------------------------- */
.frame { position: relative; isolation: isolate; }
.frame img { width: 100%; border-radius: var(--radius); position: relative; z-index: 1; }
.frame::before {
  content: ""; position: absolute; z-index: 0;
  inset: 20px -20px -20px 20px;
  background: var(--grad); border-radius: var(--radius);
  opacity: .95;
}
.frame--flip::before { inset: 20px 20px -20px -20px; }

/* ------------------------- split section -------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split--media-right .split__media { order: 2; }

/* ------------------------- three cards ---------------------------------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.card {
  background: #fff; border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 1px 0 rgba(20,35,31,.06), 0 30px 60px -50px rgba(20,35,31,.5);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -46px rgba(20,35,31,.55); }
.card__img { aspect-ratio: 4/3; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__img img { transform: scale(1.05); }
.card__body { padding: 1.9rem 1.7rem 2rem; display: flex; flex-direction: column; flex: 1; }
.card__rule { width: 46px; height: 4px; border-radius: 4px; background: var(--grad); margin-bottom: 1.2rem; }
.card h3 { margin-bottom: .8rem; }
.card p { color: var(--muted); font-size: .98rem; margin-bottom: 1.6rem; }
.card p b { color: var(--ink); font-weight: 600; }
.card .tlink { margin-top: auto; align-self: flex-start; }

/* ------------------------- newsletter ----------------------------------- */
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.field-row { display: flex; gap: .7rem; flex-wrap: wrap; margin-top: 1.6rem; }
.field-row input {
  flex: 1 1 260px; min-width: 0;
  background: transparent; border: 0; border-bottom: 1.5px solid rgba(255,255,255,.3);
  padding: .95rem .2rem; color: #fff;
}
.field-row input::placeholder { color: rgba(255,255,255,.45); }
.field-row input:focus { outline: none; border-bottom-color: var(--apricot); }
.form-note { font-size: .82rem; margin-top: .9rem; color: rgba(255,255,255,.55); min-height: 1.2em; }
.form-note.is-ok { color: var(--sun); }

/* ------------------------- impact band ---------------------------------- */
.impact { position: relative; min-height: 78svh; display: flex; align-items: center; color: #fff; overflow: hidden; }
.impact__bg { position: absolute; inset: 0; }
.impact__bg img { width: 100%; height: 100%; object-fit: cover; }
.impact__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,35,31,.9) 0%, rgba(20,35,31,.55) 55%, rgba(20,35,31,.25) 100%); }
.impact .wrap { position: relative; z-index: 1; }
.impact h2 { max-width: 16ch; }

/* ------------------------- page header ---------------------------------- */
.phead { padding-top: calc(var(--nav-h) + clamp(48px, 7vw, 100px)); padding-bottom: clamp(40px, 5vw, 72px); background: var(--shell-2); position: relative; }
.phead::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad); }
.phead h1 { font-size: clamp(2.3rem, 5vw, 4.1rem); max-width: 18ch; }
.phead .lede { max-width: 58ch; margin-top: 1.4rem; }

/* ------------------------- programs rail -------------------------------- */
.progs { display: grid; grid-template-columns: 250px 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.rail { position: sticky; top: calc(68px + 32px); }
.rail ol { list-style: none; padding: 0; counter-reset: p; }
.rail li { counter-increment: p; }
.rail a {
  display: flex; gap: .9rem; align-items: baseline;
  padding: .72rem 0; text-decoration: none; color: var(--muted);
  font-size: .95rem; font-weight: 500;
  border-bottom: 1px solid var(--stone);
  transition: color .25s var(--ease);
}
.rail a::before { content: "0" counter(p); font-size: .68rem; letter-spacing: .1em; color: var(--stone); font-weight: 600; }
.rail a:hover, .rail a.is-active { color: var(--ink); }
.rail a.is-active::before { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.prog { padding-bottom: clamp(56px, 7vw, 100px); scroll-margin-top: 120px; }
.prog:last-child { padding-bottom: 0; }
.prog__img { margin-bottom: 2.2rem; }
.prog__img img { width: 100%; border-radius: var(--radius); aspect-ratio: 16/9; object-fit: cover; }
.prog h2 { margin-bottom: 1.3rem; }
.prog__tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.8rem; }
.tag {
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  padding: .45rem .85rem; border-radius: 100px;
  background: var(--shell-2); color: var(--muted);
}

/* ------------------------- accordion ------------------------------------ */
.acc { border-top: 1px solid var(--stone); }
.acc__item { border-bottom: 1px solid var(--stone); }
.acc__btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.8rem 0; text-align: left;
  font-family: var(--display); font-weight: 600; letter-spacing: -.02em;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
}
.acc__btn .plus { position: relative; width: 22px; height: 22px; flex: none; }
.acc__btn .plus::before, .acc__btn .plus::after {
  content: ""; position: absolute; inset: 50% 0 auto 0; height: 2px; background: var(--ink);
  transition: transform .35s var(--ease);
}
.acc__btn .plus::after { transform: rotate(90deg); }
.acc__item.open .plus::after { transform: rotate(0); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.acc__item.open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__inner { padding-bottom: 2.4rem; max-width: 70ch; }

/* ------------------------- forms ---------------------------------------- */
.form { display: grid; gap: 1.3rem; }
.form .grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.f label { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: .55rem; }
.f input, .f textarea, .f select {
  width: 100%; padding: .95rem 1rem;
  background: #fff; border: 1.5px solid var(--stone); border-radius: 8px;
  transition: border-color .25s var(--ease);
}
.f textarea { min-height: 150px; resize: vertical; }
.f input:focus, .f textarea:focus, .f select:focus { outline: none; border-color: var(--apricot); }
.form .form-note { color: var(--muted); }
.form .form-note.is-ok { color: var(--forest); font-weight: 600; }

/* ------------------------- gallery -------------------------------------- */
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.album {
  position: relative; display: block; text-decoration: none; color: #fff;
  border-radius: 14px; overflow: hidden; aspect-ratio: 4/3;
  background: var(--forest);
}
.album img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.album:hover img { transform: scale(1.06); }
.album::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,35,31,0) 35%, rgba(20,35,31,.88) 100%); }
.album__meta { position: absolute; z-index: 2; inset: auto 0 0 0; padding: 1.5rem; }
.album__meta h3 { font-size: 1.28rem; }
.album__meta .m { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: .55rem; display: flex; gap: .7rem; align-items: center; }
.album__count {
  position: absolute; z-index: 2; top: 1.1rem; right: 1.1rem;
  background: rgba(250,248,244,.92); color: var(--ink);
  font-size: .7rem; font-weight: 700; letter-spacing: .08em;
  padding: .4rem .75rem; border-radius: 100px;
}

.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.photo-grid button { border-radius: 10px; overflow: hidden; aspect-ratio: 3/2; position: relative; padding: 0; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .4s var(--ease); }
.photo-grid button:hover img { transform: scale(1.05); }

.gal-back { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: none; margin-bottom: 1.6rem; }
.gal-back:hover { color: var(--ink); }

.lightbox {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(12,20,18,.96);
  display: none; align-items: center; justify-content: center;
  padding: 4.5rem 1.4rem 5.5rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lb-close { position: absolute; top: 1.2rem; right: 1.4rem; color: #fff; width: 44px; height: 44px; font-size: 1.6rem; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.lb-nav:hover { background: rgba(255,255,255,.2); }
.lb-prev { left: 1.2rem; } .lb-next { right: 1.2rem; }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 1.4rem; text-align: center; color: rgba(255,255,255,.72); font-size: .88rem; padding-inline: 1.5rem; }
.lb-cap .n { display: block; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-top: .4rem; }

/* ------------------------- team / partners ------------------------------ */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem 1.4rem; }
.member img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 12px; filter: saturate(.9); transition: filter .4s var(--ease); }
.member:hover img { filter: none; }
.member h4 { margin-top: 1rem; }
.member .role { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; }

.partner-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.partner {
  aspect-ratio: 3/2; border: 1px solid var(--stone); border-radius: 12px; background: #fff;
  display: grid; place-items: center; padding: 1.4rem; text-align: center;
  color: var(--muted); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600;
}

/* ------------------------- misc ----------------------------------------- */
.pill-list { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin-top: 1.6rem; }
.pill-list li { padding: .6rem 1.1rem; border-radius: 100px; border: 1px solid var(--stone); font-size: .88rem; font-weight: 500; }

.values { display: grid; gap: 1rem; margin-top: 2rem; list-style: none; padding: 0; }
.values li { display: flex; gap: 1rem; align-items: flex-start; font-size: 1.05rem; font-weight: 500; }
.values .n { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--grad); color: var(--ink); display: grid; place-items: center; font-size: .72rem; font-weight: 700; }

.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; }
.vm > div { background: #fff; border-radius: 14px; padding: 2.2rem; border: 1px solid var(--stone); }
.vm h3 { margin-bottom: .9rem; }
.vm p { color: var(--muted); }

.schedule { list-style: none; padding: 0; margin-top: 1.6rem; }
.schedule li { display: grid; grid-template-columns: 190px 1fr; gap: 1.5rem; padding: 1.35rem 0; border-top: 1px solid var(--stone); }
.schedule li:last-child { border-bottom: 1px solid var(--stone); }
.schedule .day { font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: -.01em; }
.schedule p { color: var(--muted); font-size: .97rem; }

.callout { background: var(--forest); color: #fff; border-radius: 16px; padding: clamp(2.2rem, 4vw, 3.4rem); }
.callout h2 { max-width: 20ch; }
.callout .eyebrow { color: rgba(255,255,255,.62); }
.callout .lede { color: rgba(255,255,255,.74); }
.callout .prose p { color: rgba(255,255,255,.8); }
.callout .form-note { color: rgba(255,255,255,.55); }
.callout .form-note.is-ok { color: var(--sun); font-weight: 500; }
.callout .btn--ghost:hover span { color: var(--forest); }

.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }
.office { padding: 1.6rem 0; border-top: 1px solid var(--stone); }
.office h4 { margin-bottom: .7rem; }
.office p, .office a { color: var(--muted); font-size: .96rem; text-decoration: none; display: block; }
.office a:hover { color: var(--ink); }

/* ------------------------- footer --------------------------------------- */
.footer { background: var(--ink); color: rgba(255,255,255,.6); padding-top: clamp(64px, 7vw, 104px); }
.footer__top { display: grid; grid-template-columns: 1.35fr repeat(4, 1fr); gap: 2.5rem 2rem; padding-bottom: 3.5rem; }
.footer img.logo { height: 52px; width: auto; margin-bottom: 1.3rem; }
.footer h4 { color: #fff; font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer ul { list-style: none; padding: 0; display: grid; gap: .7rem; }
.footer a { color: rgba(255,255,255,.6); text-decoration: none; font-size: .94rem; transition: color .2s var(--ease); }
.footer a:hover { color: #fff; }
.footer__blurb { font-size: .95rem; max-width: 34ch; }
.socials { display: flex; gap: .7rem; margin-top: 1.6rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); display: grid; place-items: center; transition: all .25s var(--ease); }
.socials a:hover { background: var(--grad); border-color: transparent; color: var(--ink); }
.socials svg { width: 17px; height: 17px; }
.footer__legal { border-top: 1px solid rgba(255,255,255,.1); padding: 1.8rem 0 2.4rem; font-size: .78rem; line-height: 1.9; color: rgba(255,255,255,.42); }
.footer__legal .sep { color: rgba(255,255,255,.22); padding-inline: .5rem; }

/* ------------------------- reveal --------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(26px); }
[data-reveal].is-in { opacity: 1; transform: none; transition: opacity .85s var(--ease), transform .85s var(--ease); }
[data-reveal][data-delay="1"].is-in { transition-delay: .09s; }
[data-reveal][data-delay="2"].is-in { transition-delay: .18s; }
[data-reveal][data-delay="3"].is-in { transition-delay: .27s; }

/* ------------------------- video modal ---------------------------------- */
.vmodal { position: fixed; inset: 0; z-index: 130; background: rgba(12,20,18,.95); display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.vmodal.open { display: flex; }
.vmodal__box { width: min(1080px, 100%); aspect-ratio: 16/9; position: relative; }
.vmodal iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 10px; }
.vmodal__close { position: absolute; top: -46px; right: 0; color: #fff; font-size: 1.4rem; }

/* ------------------------- responsive ----------------------------------- */
@media (max-width: 1160px) {
  .nav__menu { display: none; }
  .nav__burger { display: block; order: 3; }
  .nav__cta { display: none; }
  .nav__inner { justify-content: space-between; }
  .brand { margin-right: auto; }
}
@media (max-width: 980px) {
  .cards, .gal-grid, .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid, .partner-grid { grid-template-columns: repeat(3, 1fr); }
  .progs { grid-template-columns: 1fr; }
  .rail { position: static; margin-bottom: 2.5rem; }
  .rail ol { display: flex; flex-wrap: wrap; gap: .5rem; }
  .rail a { border: 1px solid var(--stone); border-radius: 100px; padding: .55rem 1rem; font-size: .84rem; }
  .contact-grid, .newsletter { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .split { grid-template-columns: 1fr; }
  .split--media-right .split__media { order: 0; }
  .frame::before { inset: 14px -14px -14px 14px; }
  .frame--flip::before { inset: 14px 14px -14px -14px; }
  .vm { grid-template-columns: 1fr; }
  .form .grid2 { grid-template-columns: 1fr; }
  .schedule li { grid-template-columns: 1fr; gap: .4rem; }
  .hero__video { display: none; }   /* keep mobile light + battery friendly */
  .hero { min-height: 92svh; }
  .donate-float { right: 16px; bottom: 16px; padding: .9rem 1.3rem; font-size: .78rem; }
  .hero__scroll { display: none; }
  .footer__legal { padding-bottom: 6.5rem; }
}
@media (max-width: 620px) {
  .cards, .gal-grid, .photo-grid, .team-grid, .partner-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .lb-nav { width: 44px; height: 44px; }
  .lb-prev { left: .4rem; } .lb-next { right: .4rem; }
}

/* ------------------------- reduced motion ------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero__video { display: none; }
  [data-reveal] { opacity: 1; transform: none; }
  .hero h1 .w > span { transform: none; }
  .hero__fade { opacity: 1; transform: none; }
}

/* ------------------------- print ---------------------------------------- */
@media print {
  .nav, .drawer, .donate-float, .hero__video, .hero__scroll { display: none !important; }
}
