/* ==========================================================================
   Anandini Madhu Foundation — core stylesheet
   Palette and type are drawn from the foundation logo (forest green + gold).
   ========================================================================== */

:root {
  /* Brand */
  --green-900: #121B15;
  --green-800: #1A281F;
  --green-700: #223528;   /* deeper, muted take on the logo green (#24402C) */
  --green-600: #334D3C;
  --green-500: #476651;
  --gold-600:  #A9853A;
  --gold-500:  #C9A14A;   /* logo gold */
  --gold-400:  #DCBB74;
  --gold-100:  #F2E7CE;

  /* Neutrals */
  --cream:     #FAF6EC;
  --cream-alt: #F4EEE1;
  --paper:     #FFFFFF;
  --ink:       #22251F;
  --ink-soft:  #4C5249;
  --ink-mute:  #6F766C;
  --line:      #E3DCCB;

  /* Type */
  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Rhythm */
  --wrap: 1160px;
  --wrap-narrow: 780px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);
  --radius: 4px;
  --shadow-sm: 0 1px 2px rgba(20, 37, 26, .06), 0 6px 18px rgba(20, 37, 26, .05);
  --shadow-md: 0 2px 6px rgba(20, 37, 26, .07), 0 18px 44px rgba(20, 37, 26, .09);
}

/* --------------------------------------------------------- reset / base */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; height: auto; }

a { color: var(--green-600); text-decoration-color: rgba(201,161,74,.5); text-underline-offset: 3px; }
a:hover { color: var(--gold-600); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.005em;
  color: var(--green-800);
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.125rem; font-family: var(--body); font-weight: 600; letter-spacing: .01em; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--green-700); color: #fff; padding: .75rem 1.25rem;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* --------------------------------------------------------- layout */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--section-y); }
.section--cream { background: var(--cream); }
.section--cream-alt { background: var(--cream-alt); }
.section--green { background: var(--green-800); color: rgba(255,255,255,.84); }
.section--green h2, .section--green h3 { color: #fff; }
.section--green a:not(.btn) { color: var(--gold-400); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }

/* --------------------------------------------------------- eyebrow + heads */
.eyebrow {
  font-family: var(--body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-600);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.eyebrow::after {
  content: "";
  flex: 0 0 42px;
  height: 1px;
  background: var(--gold-500);
  opacity: .6;
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::before {
  content: "";
  flex: 0 0 42px; height: 1px; background: var(--gold-500); opacity: .6;
  order: -1;
}
.section--green .eyebrow { color: var(--gold-400); }

.section-head { max-width: 62ch; margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); font-size: 1.09rem; }
.section--green .section-head p { color: rgba(255,255,255,.76); }

.lede { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.65; color: var(--ink-soft); }

/* --------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--body); font-size: .875rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  padding: .95rem 1.9rem;
  border: 1px solid transparent; border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background-color .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--green-700); color: #fff; }
.btn--primary:hover { background: var(--green-600); color: #fff; }
.btn--gold { background: var(--gold-500); color: var(--green-900); }
.btn--gold:hover { background: var(--gold-400); color: var(--green-900); }
.btn--ghost { border-color: var(--green-700); color: var(--green-700); background: transparent; }
.btn--ghost:hover { background: var(--green-700); color: #fff; }
.btn--ghost-light { border-color: rgba(255,255,255,.42); color: #fff; background: transparent; }
.btn--ghost-light:hover { background: #fff; color: var(--green-800); border-color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }
.btn-row--center { justify-content: center; }

/* --------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-stuck { box-shadow: 0 2px 20px rgba(20,37,26,.08); }

.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 78px;
}

.brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; flex-shrink: 0; }
.brand img { flex: none; width: 46px; height: 49px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
  font-family: var(--display); font-size: 1.3rem; font-weight: 600;
  color: var(--green-800); letter-spacing: .005em;
}
.brand__sub {
  font-size: .58rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-600); font-weight: 600; margin-top: 2px;
}

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__list { display: flex; align-items: center; gap: 1.85rem; list-style: none; margin: 0; padding: 0; }
.nav__link {
  font-size: .875rem; font-weight: 500; color: var(--ink-soft);
  text-decoration: none; letter-spacing: .01em; padding-block: .4rem;
  position: relative; white-space: nowrap;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: 2px; background: var(--gold-500);
  transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav__link:hover { color: var(--green-700); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__link[aria-current="page"] { color: var(--green-800); font-weight: 600; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px; margin-right: -10px;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--green-800); border-radius: 2px;
  transition: transform .28s ease, opacity .2s ease;
}
.nav-toggle span + span { margin-top: 5px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------- hero */
.hero {
  position: relative;
  background: linear-gradient(165deg, var(--green-800) 0%, var(--green-700) 48%, var(--green-900) 100%);
  color: #fff;
  overflow: hidden;
  padding-block: clamp(4.5rem, 11vw, 8.5rem);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 82% 12%, rgba(255,255,255,.05), transparent 62%),
    radial-gradient(ellipse 60% 50% at 8% 92%, rgba(255,255,255,.03), transparent 60%);
  pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.15fr .85fr; }
}
.hero__mark { width: clamp(150px, 22vw, 230px); margin: 0 auto; opacity: .96; }
.hero h1 { color: #fff; margin-bottom: .5em; }
.hero h1 em { font-style: italic; color: var(--gold-400); }
.hero__lede { font-size: clamp(1.08rem, 1.7vw, 1.3rem); color: rgba(255,255,255,.82); max-width: 54ch; margin-bottom: 2rem; }
.hero .eyebrow { color: var(--gold-400); }

.hero__tagline {
  font-family: var(--display); font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  color: var(--gold-400); margin: 0 0 1.6rem;
}

/* page hero (interior pages) */
.page-hero {
  background: linear-gradient(160deg, var(--green-800), var(--green-700));
  color: #fff;
  padding-block: clamp(3.5rem, 8vw, 6rem);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 88% 20%, rgba(255,255,255,.05), transparent 65%);
}
.page-hero__inner { position: relative; z-index: 1; max-width: 68ch; }
.page-hero h1 { color: #fff; margin-bottom: .35em; }
.page-hero p { color: rgba(255,255,255,.8); font-size: clamp(1.05rem, 1.6vw, 1.2rem); }
.page-hero .eyebrow { color: var(--gold-400); }

/* --------------------------------------------------------- mission strip */
.strip {
  background: var(--gold-100);
  border-block: 1px solid rgba(201,161,74,.35);
  padding-block: clamp(2rem, 4vw, 2.75rem);
  text-align: center;
}
.strip p {
  font-family: var(--display); font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  font-style: italic; color: var(--green-800); margin: 0; line-height: 1.5;
}

/* --------------------------------------------------------- grid + cards */
.grid { display: grid; gap: clamp(1.25rem, 2.4vw, 1.9rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3vw, 2.1rem);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(201,161,74,.5); }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--ink-soft); font-size: .98rem; margin-bottom: 0; }

.card__icon {
  width: 46px; height: 46px; margin-bottom: 1.2rem;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--gold-100);
  color: var(--green-700);
}
.card__icon svg { width: 23px; height: 23px; }

.card__num {
  font-family: var(--display); font-size: 2.4rem; line-height: 1;
  color: var(--gold-500); display: block; margin-bottom: .5rem;
}

.card--dark { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.16); }
.card--dark h3 { color: #fff; }
.card--dark p { color: rgba(255,255,255,.78); }
.card--dark .person__years { margin-top: -.2rem; }
.card--dark:hover { background: rgba(255,255,255,.08); border-color: rgba(201,161,74,.55); }
.card--dark .card__icon { background: rgba(201,161,74,.14); color: var(--gold-400); }

.card--accent { background: var(--cream); border-color: rgba(201,161,74,.4); }
.section--cream .card--accent { background: var(--paper); }

/* --------------------------------------------------------- person */
.person {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: start;
}
@media (min-width: 820px) {
  .person { grid-template-columns: minmax(240px, 340px) 1fr; }
  .person--flip { grid-template-columns: 1fr minmax(240px, 340px); }
  .person--flip .person__media { order: 2; }
}

.person + .person {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(3rem, 6vw, 5rem);
  border-top: 1px solid var(--line);
}
.section--green .person + .person { border-top-color: rgba(255,255,255,.14); }

.person__media { position: relative; }
.person__photo {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 20%;   /* keep the whole head in frame */
  border-radius: var(--radius);
  background: var(--cream-alt);
  box-shadow: var(--shadow-md);
}
.person__photo--top { object-position: 50% 18%; }

/* Portrait blocks (founder, inspiration): keep photos modest, never screen-filling */
.person--portrait .person__media { width: 100%; max-width: 240px; }
@media (min-width: 820px) {
  .person--portrait { grid-template-columns: 260px 1fr; }
  .person--portrait.person--flip { grid-template-columns: 1fr 260px; }
  .person--portrait .person__media { max-width: none; }
}
/* Gold frame drawn evenly around the portrait — only for an actual portrait,
   and kept above section backgrounds so it survives on cream and green panels. */
.person__media:has(.person__photo) { padding: 10px; }
.person__media:has(.person__photo)::after {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid var(--gold-500);
  border-radius: var(--radius);
  z-index: 0;
  opacity: .7;
  pointer-events: none;
}
/* Keep the whole head in frame for the older, tightly cropped portrait */
.person__photo--head { object-position: 50% 0; }


/* Placeholder used when a portrait is not yet available */
.person__photo--placeholder {
  display: grid; place-items: center;
  background: var(--cream-alt);
  border: 1px solid var(--line);
  padding: 2rem;
}
.person__photo--placeholder img { width: 62%; opacity: .5; }

.person__name { margin-bottom: .15em; }
.person__years {
  font-family: var(--body); font-size: .8rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-600); margin: 0 0 1.4rem;
  display: flex; align-items: center; gap: .7rem;
}
.person__years::after { content: ""; flex: 1; height: 1px; background: var(--line); max-width: 90px; }
.section--green .person__years { color: var(--gold-400); }
.section--green .person__years::after { background: rgba(255,255,255,.2); }

.person__role {
  font-family: var(--body); font-size: .78rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold-600);
  margin: 0 0 .5rem;
}

.pull-quote {
  font-family: var(--display); font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.55; color: var(--green-700);
  border-left: 2px solid var(--gold-500);
  padding: .2rem 0 .2rem 1.4rem;
  margin: 1.75rem 0;
}
.section--green .pull-quote { color: var(--gold-400); border-left-color: var(--gold-500); }
.pull-quote cite {
  display: block; font-family: var(--body); font-style: normal;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-mute); margin-top: .9rem;
}
.section--green .pull-quote cite { color: rgba(255,255,255,.6); }

/* --------------------------------------------------------- read more */
.readmore { margin-top: 1.4rem; }
.readmore__panel[hidden] { display: none; }
.readmore__panel {
  padding-top: 1.35rem;
  margin-top: 1.35rem;
  border-top: 1px solid var(--line);
  animation: fadeUp .4s ease both;
}
.section--green .readmore__panel { border-top-color: rgba(255,255,255,.16); }

.readmore__btn {
  display: inline-flex; align-items: center; gap: .5rem;
  background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--body); font-size: .8rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-700);
}
.readmore__btn:hover { color: var(--gold-600); }
.section--green .readmore__btn { color: var(--gold-400); }
.section--green .readmore__btn:hover { color: #fff; }
.readmore__btn svg { width: 13px; height: 13px; transition: transform .3s ease; }
.readmore__btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.readmore__btn .label-less { display: none; }
.readmore__btn[aria-expanded="true"] .label-more { display: none; }
.readmore__btn[aria-expanded="true"] .label-less { display: inline; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------- lists */
.tick-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.tick-list li { position: relative; padding-left: 1.75rem; color: var(--ink-soft); }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold-500);
}
.section--green .tick-list li { color: rgba(255,255,255,.8); }

.pill-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.pill-list li {
  font-size: .85rem; font-weight: 500; color: var(--green-700);
  background: var(--gold-100); border: 1px solid rgba(201,161,74,.4);
  border-radius: 999px; padding: .48rem 1.05rem;
}
.section--green .pill-list li {
  color: #fff; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.2);
}

/* --------------------------------------------------------- stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); text-align: center; }
.stat__value {
  font-family: var(--display); font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1; color: var(--gold-400); margin-bottom: .3rem;
}
.stat__label { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.7); }

/* --------------------------------------------------------- split media */
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } }
.split--top { align-items: start; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.split__media--portrait { width: 100%; max-width: 240px; }
@media (min-width: 860px) { .split__media--portrait { max-width: 260px; justify-self: center; } }

/* --------------------------------------------------------- CTA band */
.cta-band {
  background: linear-gradient(150deg, var(--green-700), var(--green-900));
  color: #fff; text-align: center;
  padding-block: clamp(3.5rem, 8vw, 5.5rem);
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 70% at 50% 0%, rgba(255,255,255,.05), transparent 62%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.8); max-width: 60ch; margin-inline: auto; }

/* --------------------------------------------------------- forms */
.form { display: grid; gap: 1.15rem; }
.field { display: grid; gap: .45rem; }
.field label { font-size: .8rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 1rem; color: var(--ink);
  padding: .8rem 1rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201,161,74,.16);
}
.field textarea { min-height: 140px; resize: vertical; }
.field__hint { font-size: .82rem; color: var(--ink-mute); }
@media (min-width: 620px) { .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; } }

.form-note {
  font-size: .88rem; color: var(--ink-mute);
  background: var(--cream); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1rem 1.15rem;
}

/* --------------------------------------------------------- contact items */
.contact-list { display: grid; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item__icon {
  flex: 0 0 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold-100); color: var(--green-700);
}
.contact-item__icon svg { width: 19px; height: 19px; }
.contact-item__label {
  font-size: .74rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-600); margin-bottom: .15rem;
}
.contact-item a { color: var(--green-800); font-weight: 500; text-decoration: none; }
.contact-item a:hover { color: var(--gold-600); text-decoration: underline; }

/* --------------------------------------------------------- footer */
.site-footer { background: var(--green-900); color: rgba(255,255,255,.66); font-size: .93rem; }
.site-footer__top { padding-block: clamp(3rem, 6vw, 4.5rem); }
.site-footer__grid { display: grid; gap: clamp(2rem, 4vw, 3rem); }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }

.site-footer h3 {
  font-family: var(--body);
  color: #fff; font-size: .78rem; font-weight: 600;
  letter-spacing: .17em; text-transform: uppercase; margin-bottom: 1.15rem;
}
.site-footer a:not(.btn) { color: rgba(255,255,255,.72); text-decoration: none; }
.site-footer a:not(.btn):hover { color: var(--gold-400); }
.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.footer-brand img { width: 150px; height: 159px; object-fit: contain; margin-bottom: 1.35rem; }
.footer-brand p { max-width: 38ch; }

.site-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.11);
  padding-block: 1.5rem;
  display: flex; flex-wrap: wrap; gap: .75rem 1.5rem;
  align-items: center; justify-content: space-between;
  font-size: .82rem; color: rgba(255,255,255,.5);
}

/* --------------------------------------------------------- misc */
.lotus-divider { display: flex; align-items: center; gap: 1.1rem; margin-block: clamp(2.5rem, 5vw, 3.5rem); }
.lotus-divider::before, .lotus-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
/* Logos get a fixed box plus object-fit so no browser can distort them —
   Safari in particular mis-sizes images inside flex rows. */
.lotus-divider img { flex: none; align-self: center; width: 34px; height: 36px; object-fit: contain; opacity: .75; }

.prose h3 { margin-top: 2.2rem; }
.prose h3:first-child { margin-top: 0; }

.text-center { text-align: center; }
.mt-lg { margin-top: clamp(2rem, 4vw, 3rem); }

/* --------------------------------------------------------- reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------- responsive nav */
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 78px 0 auto; z-index: 90;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem var(--gutter) 1.75rem;
    max-height: calc(100dvh - 78px); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .28s ease, opacity .28s ease, visibility .28s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__list li { border-bottom: 1px solid var(--line); }
  .nav__link { display: block; padding: 1rem 0; font-size: 1rem; }
  .nav__link::after { display: none; }
  .nav .btn { margin-top: 1.35rem; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .cta-band, .nav-toggle { display: none; }
  body { color: #000; }
}

/* --------------------------------------------------------- "what we need" note */
.need-note {
  width: fit-content;
  max-width: 34rem;
  margin: -.4rem 0 1.9rem;
  padding: .95rem 1.25rem;
  border-left: 3px solid var(--gold-500);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(255,255,255,.07);
}
.need-note .need-note__label {
  margin: 0 0 .25rem;
  font-family: var(--body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.need-note .need-note__text {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 500;
  line-height: 1.35;
  color: #fff;
  text-wrap: balance;
}
.page-hero .need-note { margin: 1.75rem 0 0; }

/* --------------------------------------------------------- quote variants */
.pull-quote--center {
  border: 0;
  padding: 0;
  text-align: center;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  margin-inline: auto;
  max-width: 30ch;
}
.pull-quote--center cite { text-align: center; }

/* ==========================================================================
   Home page: photo hero, work tiles and photo bands
   ========================================================================== */

/* --------------------------------------------------------- photo hero */
.ph-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: min(84vh, 820px);
  overflow: hidden;
  color: #fff;
  background: var(--green-900);
  isolation: isolate;
}
.ph-hero__img,
.band__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.ph-hero__img { object-position: 60% 50%; }
/* Darker scrim than the preview so the text stays legible over the photo */
.ph-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgba(10, 18, 13, .94) 0%, rgba(10, 18, 13, .72) 45%, rgba(10, 18, 13, .3) 78%, rgba(10, 18, 13, .35) 100%),
    linear-gradient(to right, rgba(10, 18, 13, .7) 0%, rgba(10, 18, 13, .2) 70%);
}
.ph-hero__inner { padding-block: 7rem clamp(2.75rem, 7vh, 4.5rem); }
.ph-hero .eyebrow { color: var(--gold-400); }
.ph-hero h1 {
  max-width: 12em;
  text-wrap: balance;
  margin-bottom: .35em;
  font-size: clamp(2.4rem, 6.2vw, 4.75rem);
  color: #fff;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .45);
}
.ph-hero h1 em { color: var(--gold-400); }
.ph-hero .hero__tagline { text-shadow: 0 1px 14px rgba(0, 0, 0, .5); }
.ph-hero__lede {
  max-width: 52ch;
  margin-bottom: 1.5rem;
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 1px 12px rgba(0, 0, 0, .5);
}
.ph-hero .need-note {
  margin: 0 0 1.6rem;
  background: rgba(10, 18, 13, .45);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* --------------------------------------------------------- work tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(.75rem, 1.6vw, 1.25rem);
}
.tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 400px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--green-800);
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}
.tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform .6s ease;
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(10, 18, 13, .9) 0%, rgba(10, 18, 13, .45) 42%, rgba(10, 18, 13, 0) 70%);
}
.tile:hover,
.tile:focus-visible { color: #fff; }
.tile:hover img { transform: scale(1.05); }
.tile__body { padding: 1.25rem 1.25rem 1.35rem; }
.tile__title {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 600;
  line-height: 1.15;
  text-wrap: balance;
}
.tile__text {
  display: block;
  min-height: 4.5em;          /* room for 3 lines, so every tile title lines up */
  margin-top: .35rem;
  font-size: .92rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .86);
}

/* --------------------------------------------------------- photo bands (quote + volunteer) */
.band {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(340px, 52vh, 520px);
  padding-block: clamp(4rem, 9vw, 6.5rem);
  overflow: hidden;
  background: var(--green-900);
  color: #fff;
  text-align: center;
  isolation: isolate;
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(10, 18, 13, .66);
}
.band--quote::after {
  background: linear-gradient(to bottom, rgba(10, 18, 13, .78) 0%, rgba(10, 18, 13, .5) 60%, rgba(10, 18, 13, .62) 100%);
}
.band__img--lotus { object-position: 50% 75%; }
.band__inner { position: relative; }
.band .eyebrow { color: var(--gold-400); }
.band__mark {
  display: block;
  margin-bottom: .6rem;
  font-family: var(--display);
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  line-height: .6;
  color: var(--gold-400);
}
.band__quote {
  max-width: 24ch;
  margin: 0 auto;
  font-family: var(--display);
  font-size: clamp(1.7rem, 4.2vw, 3.1rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.25;
  color: #fff;
  text-wrap: balance;
}
.band h2 {
  max-width: 22ch;
  margin-inline: auto;
  font-size: clamp(1.8rem, 4vw, 2.9rem);
  color: #fff;
  text-wrap: balance;
}
.band__text { max-width: 56ch; margin: 0 auto; color: rgba(255,255,255,.84); }
.band__actions { margin-top: 2rem; }

/* --------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile { min-height: 320px; }
}

@media (max-width: 640px) {
  /* keep the photo to roughly three-quarters of a phone screen */
  .ph-hero { min-height: 70vh; min-height: 70svh; }
  .ph-hero__inner { padding-block: 3.25rem 2rem; }

  .tile { min-height: 210px; border-radius: 8px; }
  .tile__body { padding: .9rem; }
  .tile__title { font-size: 1.2rem; }
  .tile__text { display: none; }

  /* shorter side rules so centred labels stay on one line */
  .eyebrow--center::before,
  .eyebrow--center::after { flex-basis: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .tile img { transition: none; }
  .tile:hover img { transform: none; }
}

/* --------------------------------------------------------- form honeypot */
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
