/* ==========================================================================
   Taha Foundation School: site stylesheet
   Classical direction: ivory ground, serif editorial headlines, forest-green
   accents, hairline rules. Mobile-first; breakpoints at 761px (tablet),
   861px (desktop nav) and 1025px (full desktop layout).
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  /* Color */
  --c-ground: #fbf8f2;
  --c-ground-hover: #f8f5ed;
  --c-ground-raised: #f5f1e7;
  --c-ink: #23241f;
  --c-body: #4c4f45;
  --c-muted: #6c6a5f;
  --c-faint: #8d8a7d;
  --c-faint-2: #a09c8e;
  --c-green: #1f4034;
  --c-green-hover: #183329;
  --c-on-green: #f2efe6;
  --c-green-muted: #9db3a6;
  --c-green-muted-2: #c3d3ca;
  --c-rule-on-green: #3a5b4d;
  --c-gold: #8a6a3a;
  --c-gold-hover: #74582f;
  --c-rule: #e6e0d3;
  --c-rule-panel: #e0d9c9;
  --c-border-strong: #cfc7b6;
  --c-border-strong-hover: #b8ae99;
  --c-on-ink: #f4f1e8;
  --c-on-ink-hover: #e9e4d5;
  --c-on-ink-muted: #b7b3a6;
  --c-on-ink-border: #6b675c;
  --c-nav: #3d4038;
  --c-tagline: #7b7466;
  --c-placeholder: #b3ada0;
  --c-error: #8c3a2b;
  --c-white: #ffffff;

  /* Type */
  --ff-display: Newsreader, Georgia, "Times New Roman", serif;
  --ff-body: Karla, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --content-max: 1180px;
  --gutter: 20px;
  --radius: 2px;

  /* Vertical rhythm (mobile values; desktop overrides below) */
  --sp-hero: 48px;      /* top of a page hero */
  --sp-section: 52px;   /* between major sections */
  --sp-band: 56px;      /* inside the mission band */
  --sp-end: 60px;       /* below the last CTA, before the footer */
}

@media (min-width: 761px) {
  :root {
    --gutter: 56px;
    --sp-hero: 64px;
    --sp-section: 70px;
    --sp-band: 80px;
    --sp-end: 84px;
  }
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--c-ground);
  color: var(--c-ink);
  font: 400 16px/1.6 var(--ff-body);
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

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

h1, h2, h3, h4, p, figure, fieldset, dl, dd { margin: 0; }
fieldset { padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
ul { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
input, textarea, button, select { font-family: inherit; }

a {
  color: var(--c-green);
  text-decoration: none;
}
a:hover {
  color: var(--c-gold);
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 2px;
}

p { text-wrap: pretty; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--c-green);
  color: var(--c-ground);
  font-weight: 600;
  border-radius: var(--radius);
}
.skip-link:focus { top: 8px; text-decoration: none; color: var(--c-ground); }

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Full-width bands: background spans the viewport, content stays in .container */
.band { width: 100%; }
.band--green { background: var(--c-green); color: var(--c-on-green); }

/* --------------------------------------------------------------------------
   4. Typography
   -------------------------------------------------------------------------- */
.eyebrow {
  font: 400 11px var(--ff-body);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-gold);
}
.eyebrow--on-green { color: var(--c-green-muted); }

/* Small gold labels: "01 · In person", "The prepared environment", dt labels */
.label {
  font: 600 11px var(--ff-body);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-gold);
}

.headline {
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(34px, 9vw, 44px);
  line-height: 1.08;
  letter-spacing: -.015em;
  text-wrap: balance;
  color: var(--c-ink);
}
@media (min-width: 761px) {
  .headline { font-size: clamp(38px, 6vw, 54px); max-width: 22ch; }
  .headline--xl { font-size: clamp(38px, 6vw, 62px); line-height: 1.06; max-width: none; }
  .headline--narrow { max-width: 20ch; }
  .headline--wide { max-width: 24ch; }
}

.section-title {
  font-family: var(--ff-display);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.15;
  color: var(--c-ink);
}
@media (min-width: 761px) {
  .section-title { font-size: 36px; }
  .section-title--lg { font-size: 38px; }
  .section-title--sm { font-size: 30px; }
}

/* Hero standfirst under a headline (K–3, Grades 4+, Home) */
.lede {
  margin-top: 22px;
  font-size: 17.5px;
  line-height: 1.65;
  color: var(--c-body);
  max-width: 70ch;
}
.lede--lg { margin-top: 26px; font-size: 18px; line-height: 1.6; max-width: 46ch; }
.lede--narrow { max-width: 52ch; }

/* Side-column standfirst in split heroes */
.standfirst {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--c-body);
}

/* Short intro line under a section title */
.intro {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-body);
  max-width: 60ch;
}

/* Underlined text link ("Explore the Montessori program") */
.text-link {
  display: inline-block;
  font: 600 13.5px var(--ff-body);
  color: var(--c-green);
  border-bottom: 1px solid var(--c-green);
  padding-bottom: 2px;
}
.text-link:hover {
  color: var(--c-gold);
  border-bottom-color: var(--c-gold);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: none;
  font: 600 14px var(--ff-body);
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover { text-decoration: none; }
@media (prefers-reduced-motion: no-preference) {
  .btn { transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
}

.btn--primary { background: var(--c-green); color: var(--c-ground); }
.btn--primary:hover { background: var(--c-green-hover); color: var(--c-ground); }

.btn--outline { border-color: var(--c-border-strong); color: var(--c-ink); }
.btn--outline:hover { border-color: var(--c-border-strong-hover); background: var(--c-ground-raised); color: var(--c-ink); }

/* Ivory button on the dark CTA block */
.btn--ivory { background: var(--c-on-ink); color: var(--c-ink); font-weight: 700; padding: 17px 34px; }
.btn--ivory:hover { background: var(--c-on-ink-hover); color: var(--c-ink); }

/* Outlined button on the dark CTA block */
.btn--ghost { border-color: var(--c-on-ink-border); color: var(--c-on-ink); font-weight: 700; padding: 17px 30px; }
.btn--ghost:hover { border-color: var(--c-on-ink-muted); background: rgba(244, 241, 232, .07); color: var(--c-on-ink); }

.btn--lg { padding: 17px 34px; font-weight: 700; }
.btn--block { display: block; width: 100%; padding: 16px; font-size: 14.5px; font-weight: 700; }

/* --------------------------------------------------------------------------
   6. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: relative;
  z-index: 20;
  background: var(--c-ground);
  border-bottom: 1px solid var(--c-rule);
}
.site-header.is-open { position: sticky; top: 0; }

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;               /* room for a mark, left of the lockup, when one exists */
  color: var(--c-ink);
  white-space: nowrap;
}
.brand:hover { color: var(--c-ink); text-decoration: none; }
@media (max-width: 359px) { .brand { white-space: normal; } }
.brand__lockup { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font: 500 17px var(--ff-display); letter-spacing: .01em; }
.brand__tagline {
  font: 400 10px var(--ff-body);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-tagline);
}

.site-header__actions { display: flex; align-items: center; gap: 10px; }

/* Compact Donate shown beside the hamburger on larger phones / small tablets */
.site-header__donate { display: none; }
@media (min-width: 480px) and (max-width: 860px) {
  .site-header__donate { display: inline-block; padding: 9px 16px; font-size: 13px; }
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  margin-right: -8px;
  padding: 8px;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--c-ink);
}
.is-open .nav-toggle__bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.is-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.is-open .nav-toggle__bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile drawer (default) */
.site-nav { display: none; }
.is-open .site-nav {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: calc(100vh - 100%);
  height: calc(100dvh - 100%);
  overflow-y: auto;
  padding: 8px var(--gutter) 32px;
  background: var(--c-ground);
}
.site-nav__list { list-style: none; }
.site-nav__list li { border-bottom: 1px solid var(--c-rule); }
.site-nav__list a {
  display: block;
  padding: 16px 0;
  font: 500 18px var(--ff-body);
  color: var(--c-ink);
}
.site-nav__list a:hover { color: var(--c-gold); text-decoration: none; }
.site-nav__list a[aria-current="page"] { color: var(--c-green); font-weight: 700; }
.site-nav > .btn { margin-top: 24px; }

/* Desktop nav */
@media (min-width: 861px) {
  .site-header__inner { padding-top: 20px; padding-bottom: 20px; }
  .site-header__actions { display: none; }
  .site-nav,
  .is-open .site-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    position: static;
    height: auto;
    padding: 0;
    overflow: visible;
  }
  .site-nav__list {
    display: flex;
    align-items: center;
    gap: 14px;
    font: 500 12.5px var(--ff-body);
    color: var(--c-nav);
    white-space: nowrap;
  }
  .site-nav__list li { border: 0; }
  .site-nav__list a {
    display: inline-block;
    padding: 0 0 3px;
    font: inherit;
    color: inherit;
    border-bottom: 2px solid transparent;
  }
  .site-nav__list a:hover { color: var(--c-gold); border-bottom-color: var(--c-gold); }
  .site-nav__list a[aria-current="page"] {
    color: var(--c-green);
    font-weight: 700;
    border-bottom-color: var(--c-gold);
  }
  .site-nav > .btn { margin-top: 0; padding: 10px 16px; font-size: 12.5px; }
}
@media (min-width: 1101px) {
  .site-nav, .site-nav__list { gap: 30px; }
  .site-nav__list { font-size: 13.5px; }
  .site-nav > .btn { padding: 10px 20px; font-size: 13.5px; }
}

/* Donate page: the nav Donate button is the current item and turns gold */
.btn--primary[aria-current="page"] { background: var(--c-gold); }
.btn--primary[aria-current="page"]:hover { background: var(--c-gold-hover); }

/* --------------------------------------------------------------------------
   7. Photos: fixed-height slots; the image fills the slot with object-fit
   (interim stock photography; see credits.md)
   -------------------------------------------------------------------------- */
.photo {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  background: var(--c-ground-raised);
}
.photo__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.photo--hero { border-radius: 3px; }
.photo--hero .photo__img { object-position: 58% 50%; }
.photo--k3-wide .photo__img { object-position: 50% 62%; }
.photo--k3-detail .photo__img { object-position: 50% 45%; }
.photo--wide .photo__img { object-position: 38% 50%; }
@media (min-width: 761px) {
  .photo--hero, .photo--tall, .photo--wide { min-height: 340px; }
  .photo--pair { min-height: 300px; }
}
@media (min-width: 1025px) {
  .photo--hero { min-height: 470px; }
  .photo--tall { min-height: 420px; }
  .photo--wide { min-height: 400px; }
  .photo--pair { min-height: 360px; }
}

/* Campus map (OpenStreetMap embed) */
.map-embed {
  display: block;
  width: 100%;
  height: 240px;
  margin-top: 28px;
  border: 0;
  background: var(--c-ground-raised);
}
.map-link { margin-top: 14px; }

/* --------------------------------------------------------------------------
   8. Heroes
   -------------------------------------------------------------------------- */
.hero { padding-top: var(--sp-hero); }
.hero .eyebrow { display: block; margin-bottom: 20px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Home: text left, photo right */
.hero--home { padding-top: 48px; padding-bottom: 44px; display: grid; gap: 40px; align-items: center; }
.hero--home .eyebrow { margin-bottom: 22px; }
@media (min-width: 761px) {
  .hero--home { padding-top: 76px; padding-bottom: 68px; }
}
@media (min-width: 1025px) {
  .hero--home { grid-template-columns: 1.05fr .95fr; gap: 56px; }
}

/* Split heroes: headline left, standfirst right, bottom-aligned (Program, Contact, FAQ, Donate) */
.hero--split { display: grid; gap: 24px; padding-bottom: 40px; }
.hero--split.hero--ruled { border-bottom: 1px solid var(--c-rule); }
@media (min-width: 761px) {
  .hero--split { grid-template-columns: 1fr .8fr; gap: 56px; align-items: end; padding-bottom: 48px; }
  .hero--split.hero--program { padding-bottom: 56px; }
}

/* Text + photo hero (Grades 4+) */
.hero--photo { display: grid; gap: 32px; align-items: center; padding-bottom: 48px; }
@media (min-width: 761px) {
  .hero--photo { grid-template-columns: 1fr .85fr; gap: 56px; padding-bottom: 56px; }
}

/* Full-width headline hero (K–3) */
.hero--wide { padding-bottom: 0; }

/* Green hero band (Donate): the band carries the vertical padding */
.hero--green { padding-top: 56px; padding-bottom: 56px; }
.hero--green .hero--split { padding-bottom: 0; }
.hero--green .eyebrow { display: block; margin-bottom: 20px; }
.hero--green .headline { color: inherit; }
.hero--green .standfirst { color: var(--c-green-muted-2); }
@media (min-width: 761px) {
  .hero--green { padding-top: 72px; padding-bottom: 72px; }
}

/* --------------------------------------------------------------------------
   9. Sections & shared blocks
   -------------------------------------------------------------------------- */
.section { padding-top: var(--sp-section); }
.section--flush { padding-top: 0; }
.section--near { padding-top: 44px; }           /* first section after a ruled hero */
@media (min-width: 761px) { .section--near { padding-top: 56px; } }
.section--pad-bottom { padding-bottom: var(--sp-section); }
.section--end { padding-bottom: var(--sp-end); }
.section > .section-title,
.section__head { margin-bottom: 28px; }
.section__head .intro { margin-top: 8px; }
@media (min-width: 761px) {
  .section > .section-title,
  .section__head { margin-bottom: 36px; }
  .section--tight > .section-title { margin-bottom: 32px; }
}

/* Hairline grid: cells divided by 1px rules, text flush to the container edges */
.hairline-grid {
  --cell-y: 34px;
  --cell-x: 36px;
  display: grid;
  gap: 1px;
  background: var(--c-rule);
  border-top: 1px solid var(--c-rule);
  border-bottom: 1px solid var(--c-rule);
}
.hairline-grid__cell { background: var(--c-ground); padding: 30px 0; }
.hairline-grid--programs { --cell-y: 44px; --cell-x: 44px; }
.hairline-grid--ways { --cell-y: 32px; --cell-x: 34px; }
@media (min-width: 761px) {
  .hairline-grid { grid-template-columns: 1fr 1fr; }
  .hairline-grid__cell { padding: var(--cell-y) 0; }
  .hairline-grid__cell:nth-child(odd) { padding-right: var(--cell-x); }
  .hairline-grid__cell:nth-child(even) { padding-left: var(--cell-x); }
}

/* Bordered cell grid: cells divided by rules with an outer border */
.cells {
  --cell-pad: 24px 20px;
  display: grid;
  gap: 1px;
  background: var(--c-rule);
  border: 1px solid var(--c-rule);
}
.cell { background: var(--c-ground); padding: var(--cell-pad); }
.cell--raised { background: var(--c-ground-raised); }
@media (min-width: 761px) {
  .cells--3, .cells--4 { grid-template-columns: repeat(2, 1fr); }
  /* a lone third cell spans the row so no empty rule-coloured area shows */
  .cells--3 > .cell:last-child:nth-child(3n) { grid-column: 1 / -1; }
}
@media (min-width: 1025px) {
  .cells--3 { grid-template-columns: repeat(3, 1fr); }
  .cells--3 > .cell:last-child:nth-child(3n) { grid-column: auto; }
  .cells--4 { grid-template-columns: repeat(4, 1fr); }
}

/* Two programs (Home) */
.program__title { margin-top: 16px; font: 400 24px/1.2 var(--ff-display); color: var(--c-ink); }
.program p:not([class]) { margin-top: 14px; font-size: 15.5px; line-height: 1.65; color: var(--c-body); max-width: 42ch; }
.program .text-link { margin-top: 22px; }
@media (min-width: 761px) {
  .program__title { font-size: 30px; }
}

/* Mission band */
.mission { padding-top: var(--sp-band); padding-bottom: var(--sp-band); }
.mission__inner { max-width: 900px; }
.mission__statement {
  margin-top: 22px;
  font: 300 28px/1.42 var(--ff-display);
}
@media (min-width: 761px) {
  .mission__statement { margin-top: 24px; font-size: 34px; }
  .mission--compact { --sp-band: 72px; }
  .mission--compact .mission__statement { margin-top: 22px; font-size: 32px; }
}

/* Feature columns with gold diamonds (Home) / numbered steps (Grades 4+) */
.features, .steps { display: grid; gap: 32px; list-style: none; }
@media (min-width: 761px) {
  .features, .steps { grid-template-columns: repeat(2, 1fr); gap: 44px; }
}
@media (min-width: 1025px) {
  .features, .steps { grid-template-columns: repeat(3, 1fr); }
}
.diamond {
  width: 12px;
  height: 12px;
  margin-bottom: 20px;
  background: var(--c-gold);
  transform: rotate(45deg);
}
.feature__title, .step__title { font: 600 17px var(--ff-body); color: var(--c-ink); }
.feature p:not([class]), .step p:not([class]) { margin-top: 10px; font-size: 15px; line-height: 1.65; color: var(--c-body); }
.step__num { font: 400 34px var(--ff-display); color: var(--c-gold); }
.step__title { margin-top: 12px; }

/* "Open to all" note */
.note {
  margin: var(--sp-section) 0;
  padding: 28px 24px;
  border: 1px solid var(--c-rule);
  background: var(--c-ground-raised);
  display: grid;
  gap: 16px;
  align-items: center;
}
.note__title { font: 400 34px var(--ff-display); color: var(--c-green); }
.note p:not([class]) { font-size: 15px; line-height: 1.65; color: var(--c-body); }
@media (min-width: 761px) {
  .note { padding: 36px 40px; }
}
@media (min-width: 1025px) {
  .note { grid-template-columns: auto 1fr; gap: 32px; }
}

/* Dark CTA block: full-bleed on phones, an inset block from tablet up */
.cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  margin: 0 calc(-1 * var(--gutter));
  padding: 40px var(--gutter);
  background: var(--c-ink);
  color: var(--c-on-ink);
}
.cta__title { font: 400 24px/1.15 var(--ff-display); }
.cta p { margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--c-on-ink-muted); }
.cta--measure p { max-width: 60ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 761px) {
  .cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin: 0;
    padding: 56px 48px;
  }
  .cta__title { font-size: 34px; }
}

/* --------------------------------------------------------------------------
   10. Footer
   -------------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--c-rule); background: var(--c-ground-raised); }
.site-footer__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px clamp(6px, 2.4vw, 16px);
  padding-top: 40px;
  padding-bottom: 40px;
  font: 400 13.5px/1.9 var(--ff-body);
  color: var(--c-muted);
}
.site-footer__identity { grid-column: 1 / -1; }
/* Three nav columns share one mobile row, so the links scale to stay on one line. */
.site-footer nav { font-size: clamp(10px, 3.05vw, 13.5px); }
.site-footer nav a { white-space: nowrap; }
.site-footer__brand { margin-bottom: 14px; font: 500 16px var(--ff-display); color: var(--c-ink); }
.site-footer__addresses { display: grid; gap: 16px; }
.site-footer__addresses dt { margin-bottom: 5px; }  /* .label supplies the gold caps */
.site-footer__addresses dd { font-size: 14px; line-height: 1.6; color: var(--c-ink); }
.site-footer__nonprofit { margin-top: 14px; }
.site-footer__heading { font: 600 13.5px/1.9 var(--ff-body); color: var(--c-ink); }
.site-footer ul { list-style: none; }
.site-footer a { color: inherit; }
.site-footer a:hover { color: var(--c-gold); text-decoration: underline; }
.site-footer__legal {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid var(--c-rule);
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--c-faint);
}
.site-footer__legal p { max-width: 96ch; }
.site-footer__copyright { margin-top: 20px; font: 500 12.5px var(--ff-body); color: var(--c-muted); }
.site-footer__copyright strong { font-weight: 700; }
.site-footer__dedication { margin-top: 6px; font: 400 10.5px var(--ff-body); color: var(--c-faint-2); letter-spacing: .02em; }
@media (min-width: 761px) {
  .site-footer__inner { grid-template-columns: repeat(2, 1fr); gap: 28px 36px; padding-top: 44px; padding-bottom: 44px; }
  .site-footer__identity { grid-column: auto; }
  .site-footer nav { font-size: 13.5px; }
}
@media (min-width: 1025px) {
  .site-footer__inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
}

/* --------------------------------------------------------------------------
   11. Page: Our Program
   -------------------------------------------------------------------------- */
.story { display: grid; gap: 32px; align-items: center; padding-top: var(--sp-section); padding-bottom: var(--sp-section); }
.story__text p { margin-top: 14px; font-size: 16.5px; line-height: 1.7; color: var(--c-body); }
.story__text .section-title + p { margin-top: 18px; }
@media (min-width: 761px) {
  .story { grid-template-columns: 1fr 1fr; gap: 56px; }
}

.teach__title { margin-bottom: 12px; }
.teach p { font-size: 15.5px; line-height: 1.7; color: var(--c-body); }

.path { --cell-pad: 32px 30px; }
.path__grade { font: 400 30px var(--ff-display); color: var(--c-green); }
.path__mode { margin: 8px 0 12px; font: 600 12.5px var(--ff-body); letter-spacing: .08em; text-transform: uppercase; color: var(--c-gold); }
.path p:not([class]) { font-size: 15px; line-height: 1.65; color: var(--c-body); }

/* --------------------------------------------------------------------------
   12. Page: Montessori K–3
   -------------------------------------------------------------------------- */
.photo-pair { display: grid; gap: 16px; padding-top: 32px; }
@media (min-width: 761px) {
  .photo-pair { grid-template-columns: 2fr 1fr; padding-top: 44px; }
}

.areas { --cell-pad: 30px 28px; }
.area__title { font: 400 22px var(--ff-display); color: var(--c-green); }
.areas p { margin-top: 10px; font-size: 14.5px; line-height: 1.65; color: var(--c-body); }

.facts { --cell-pad: 26px 24px; }
.fact__figure { font: 400 28px var(--ff-display); color: var(--c-green); }
.fact__label { margin-top: 6px; font: 500 13px var(--ff-body); color: var(--c-muted); }

/* --------------------------------------------------------------------------
   13. Page: Grades 4 and up
   -------------------------------------------------------------------------- */
.accred {
  display: grid;
  gap: 18px;
  padding: 28px 24px;
  background: var(--c-green);
  color: var(--c-on-green);
}
.accred__title { font: 400 26px var(--ff-display); }
.accred p:not([class]) { font-size: 15px; line-height: 1.6; color: var(--c-green-muted-2); }
.accred__link {
  align-self: start;
  justify-self: start;
  font: 600 13px var(--ff-body);
  color: var(--c-on-green);
  border-bottom: 1px solid var(--c-green-muted);
  padding-bottom: 2px;
  white-space: nowrap;
}
.accred__link:hover { color: var(--c-white); border-bottom-color: var(--c-white); text-decoration: none; }
@media (min-width: 761px) {
  .accred { padding: 32px 40px; }
}
@media (min-width: 1025px) {
  .accred { grid-template-columns: auto 1fr auto; gap: 36px; align-items: center; }
  .accred__link { align-self: center; }
}

.split { display: grid; gap: 48px; }
@media (min-width: 1025px) {
  .split { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
  .split--donate { grid-template-columns: 1fr .9fr; }
  .split--contact { grid-template-columns: 1fr 1.1fr; }
}
.split .section-title { margin-bottom: 24px; }

.courses { list-style: none; }
.courses li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-top: 1px solid var(--c-rule);
}
.courses li:last-child { border-bottom: 1px solid var(--c-rule); }
.courses__name { font: 600 15px var(--ff-body); color: var(--c-ink); }
.courses__cadence { font: 400 14px var(--ff-body); color: var(--c-gold); white-space: nowrap; }

.needs { display: flex; flex-direction: column; gap: 18px; }
.needs__item { padding: 20px 22px; border: 1px solid var(--c-rule); background: var(--c-ground-raised); }
.needs__title { font: 600 15px var(--ff-body); color: var(--c-ink); }
.needs__item p { margin-top: 6px; font-size: 14.5px; line-height: 1.6; color: var(--c-body); }

/* --------------------------------------------------------------------------
   14. Page: Donate
   -------------------------------------------------------------------------- */
.alloc { list-style: none; }
.alloc li { padding: 15px 0; border-top: 1px solid var(--c-rule); font: 600 15px var(--ff-body); color: var(--c-ink); }
.alloc li:last-child { border-bottom: 1px solid var(--c-rule); }

.panel { padding: 26px 22px; border: 1px solid var(--c-rule); background: var(--c-ground-raised); }
.panel__title { font: 400 24px var(--ff-display); color: var(--c-green); }
.panel p:not([class]) { margin-top: 12px; font-size: 15px; line-height: 1.7; color: var(--c-body); }
.panel__details {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--c-rule-panel);
  font-size: 14px;
  line-height: 1.9;
  color: var(--c-muted);
}
.panel__details strong { font-weight: 600; color: var(--c-ink); }
.panel__details a { color: var(--c-ink); }
@media (min-width: 761px) {
  .panel { padding: 32px 34px; }
}

.ways__title { font: 400 24px var(--ff-display); color: var(--c-green); }
.ways p { margin-top: 10px; font-size: 15px; line-height: 1.65; color: var(--c-body); }

/* How to give: bank / brokerage / check / Zelle details + "We accept" panel */
.give { display: grid; gap: 32px; }
.give-method p { margin-top: 10px; font-size: 15px; line-height: 1.65; color: var(--c-body); }
.give-method strong, .give-method__address { font-weight: 600; color: var(--c-ink); }
.give-method__details { margin-top: 12px; font-size: 15px; line-height: 1.7; color: var(--c-body); }
.give-method__details div { display: flex; flex-wrap: wrap; gap: 0 8px; }
.give-method__details dt { font-weight: 600; color: var(--c-ink); }
.give-method__details dt::after { content: ":"; }
.give__accept {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 calc(-1 * var(--gutter));   /* full-bleed on phones */
  padding: 32px var(--gutter);
  background: var(--c-green);
  color: var(--c-on-green);
}
@media (min-width: 761px) {
  .give__accept { margin: 0; padding: 32px 28px; }
}
.accept-list { list-style: none; margin-top: 20px; }
.accept-list li { padding: 16px 0; border-top: 1px solid var(--c-rule-on-green); }
.accept-list li:last-child { border-bottom: 1px solid var(--c-rule-on-green); }
.accept-list__name { display: block; font: 400 24px var(--ff-display); }
.accept-list__sub { display: block; margin-top: 4px; font-size: 14px; color: var(--c-green-muted-2); }
@media (min-width: 1025px) {
  .give { grid-template-columns: 1fr 300px; gap: 48px; align-items: stretch; }
}

/* --------------------------------------------------------------------------
   15. Page: Contact
   -------------------------------------------------------------------------- */
.reach__row { padding: 20px 0; border-top: 1px solid var(--c-rule); }
.reach__row:last-of-type { border-bottom: 1px solid var(--c-rule); }
.reach dt { margin-bottom: 8px; }
.reach dd { font-size: 16px; line-height: 1.6; color: var(--c-ink); }
.reach dd a { color: inherit; }
.reach__note { display: block; margin-top: 6px; font-size: 13px; line-height: 1.6; color: var(--c-faint); }

.form-panel { padding: 28px 20px; border: 1px solid var(--c-rule); background: var(--c-ground-raised); }
.form-panel .section-title { margin-bottom: 0; }
.form-panel__intro { margin: 10px 0 26px; font-size: 15px; line-height: 1.6; color: var(--c-body); }
.form-panel__note { margin-top: 16px; font-size: 12.5px; line-height: 1.6; color: var(--c-faint); }
.form-panel .btn--block { margin-top: 22px; }
@media (min-width: 761px) {
  .form-panel { padding: 38px 40px; }
}

.field-row { display: grid; gap: 16px; }
@media (min-width: 761px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}
.field + .field, .field-row + .field, .field + .field-row { margin-top: 16px; }
.field-row > .field { margin-top: 0; }
.field__label {
  display: block;
  margin-bottom: 7px;
  font: 600 12px var(--ff-body);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.input, .textarea {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--c-border-strong);
  border-radius: 0;
  background: var(--c-white);
  font: 400 15px/1.6 var(--ff-body);
  color: var(--c-ink);
}
.input::placeholder, .textarea::placeholder { color: var(--c-placeholder); opacity: 1; }
.input:focus-visible, .textarea:focus-visible {
  outline: 2px solid var(--c-green);
  outline-offset: -1px;
  border-color: var(--c-green);
}
.textarea { height: 110px; resize: vertical; }

.field--error .input, .field--error .textarea { border-color: var(--c-error); }
.field__error { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.5; color: var(--c-error); }
.field__error:empty { display: none; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip__label {
  display: inline-block;
  padding: 10px 16px;
  border: 1px solid var(--c-border-strong);
  background: var(--c-white);
  font: 600 13.5px var(--ff-body);
  color: var(--c-nav);
  cursor: pointer;
}
.chip input:hover + .chip__label { border-color: var(--c-border-strong-hover); }
.chip input:checked + .chip__label { background: var(--c-green); border-color: var(--c-green); color: var(--c-ground); }
.chip input:focus-visible + .chip__label { outline: 2px solid var(--c-gold); outline-offset: 2px; }

.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin-top: 14px; font-size: 13.5px; line-height: 1.6; color: var(--c-error); }
.form-status:empty { display: none; }

.form-success { padding: 8px 0 12px; }
.form-success p { margin-top: 12px; font-size: 15.5px; line-height: 1.7; color: var(--c-body); }
.form-success[hidden] { display: none; }

/* --------------------------------------------------------------------------
   16. Page: FAQ
   -------------------------------------------------------------------------- */
.faq-layout { display: grid; gap: 32px; }
@media (min-width: 761px) {
  .faq-layout { grid-template-columns: 230px 1fr; gap: 56px; align-items: start; }
}
.faq-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font: 600 13.5px var(--ff-body);
}
.faq-rail a {
  display: inline-block;
  padding-left: 12px;
  border-left: 2px solid transparent;
  color: var(--c-muted);
}
.faq-rail a:hover { color: var(--c-gold); text-decoration: none; }
.faq-rail a[aria-current="true"] { color: var(--c-green); border-left-color: var(--c-gold); }
@media (min-width: 761px) {
  .faq-rail { position: sticky; top: 20px; flex-direction: column; flex-wrap: nowrap; gap: 12px; }
}
.faq-group { scroll-margin-top: 24px; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group .section-title { margin-bottom: 20px; }
.qa { padding: 22px 0; border-top: 1px solid var(--c-rule); }
.qa:last-child { border-bottom: 1px solid var(--c-rule); }
.qa__q { font: 600 16.5px/1.4 var(--ff-body); color: var(--c-ink); }
.qa__a { margin-top: 9px; font-size: 15.5px; line-height: 1.7; color: var(--c-body); max-width: 74ch; }
