/* ===========================================================
   Teacher A's House of Learning — Laoag City Branch
   Palette per the client's brief, 2026-09-18:
     70% cream / warm white · 20% sage · 7% gold · 3% soft blue
   Hexes sampled from the client's own reference artwork
   (programs.jpg, contact.jpg, vision.jpg) — not invented.
   Light-only on purpose: the brand is warm and printed-looking.
   =========================================================== */

:root {
  color-scheme: light;

  /* --- text ------------------------------------------------ */
  --ink:        #33372E;
  --ink-2:      #5A6053;
  --muted:      #89907F;

  /* --- 20% sage -------------------------------------------- */
  --sage:       #7D9074;
  --sage-600:   #6C7F63;
  --sage-700:   #5B6D53;
  --sage-800:   #4A5A43;
  --sage-900:   #3C4A38;
  --sage-300:   #A9BBA0;
  --sage-200:   #CBD8C4;
  --sage-100:   #E4E9DE;
  --sage-50:    #EFF2EC;

  /* --- 70% cream / warm white ------------------------------ */
  --cream:      #FAF7F2;
  --cream-2:    #F5F1E8;
  --cream-3:    #EFE9DC;
  --white:      #FFFFFF;

  /* --- 7% gold --------------------------------------------- */
  --gold:       #B98947;
  --gold-dark:  #9A7036;
  --gold-200:   #E1C198;
  --gold-100:   #F3E8D8;

  /* --- 3% soft blue ---------------------------------------- */
  --blue:       #A9C3D4;
  --blue-200:   #C6D6E3;
  --blue-100:   #EAEFF2;
  --blue-ink:   #4A6B80;

  --line:       #E6DFD2;
  --line-2:     #D9D2C4;

  --radius:     16px;
  --radius-lg:  24px;
  --radius-sm:  10px;

  --shadow-sm:  0 1px 2px rgba(51, 55, 46, .05), 0 2px 8px rgba(51, 55, 46, .045);
  --shadow:     0 2px 6px rgba(51, 55, 46, .05), 0 12px 32px rgba(51, 55, 46, .075);
  --shadow-lg:  0 8px 20px rgba(51, 55, 46, .08), 0 28px 60px rgba(51, 55, 46, .12);

  --wrap:       1140px;
  --pad:        clamp(20px, 5vw, 40px);

  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Outfit", var(--sans);

  /* legacy aliases so nothing silently loses its colour ------ */
  --green-900:  var(--sage-900);
  --green-800:  var(--sage-800);
  --green-700:  var(--sage-700);
  --green-600:  var(--sage-600);
  --green-500:  var(--sage);
  --red:        var(--gold-dark);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

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

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -.018em;
  color: var(--ink);
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5.2vw, 3.35rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.4rem); }
h3 { font-size: clamp(1.14rem, 1.9vw, 1.34rem); }
p  { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--sage-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-dark); }

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

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--green-800); color: #fff; padding: 10px 16px;
  border-radius: 0 0 10px 10px; font-weight: 600; text-decoration: none;
  transition: top .15s ease;
}
.skip:focus { top: 0; color: #fff; }

/* ---------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--display);
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 15px 24px; border-radius: 999px;
  border: 1.5px solid transparent; cursor: pointer;
  text-decoration: none; text-align: center;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, color .16s ease, border-color .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn-primary { background: var(--sage); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--sage-700); color: #fff; box-shadow: var(--shadow); }

.btn-gold { background: var(--gold); color: #fff; box-shadow: var(--shadow-sm); }
.btn-gold:hover { background: var(--gold-dark); color: #fff; box-shadow: var(--shadow); }

.btn-blue { background: var(--blue-200); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-blue:hover { background: var(--blue); color: var(--ink); box-shadow: var(--shadow); }

.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--sage-50); color: var(--ink); border-color: var(--sage-300); }

.btn-white { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-white:hover { background: #fff; color: var(--ink); border-color: var(--sage-300); box-shadow: var(--shadow); }

.btn-sm { padding: 11px 18px; font-size: .93rem; }

/* ---------------------------------------------------------- top bar */
.topbar {
  background: var(--sage-900);
  color: #DDE3D7;
  font-size: .875rem;
}
.topbar .wrap {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px;
  min-height: 42px; padding-block: 7px;
}
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar a:hover { color: var(--gold-200); text-decoration: underline; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 15px; height: 15px; opacity: .85; flex: none; }
.topbar .tb-spacer { margin-left: auto; }
@media (max-width: 720px) { .topbar .tb-spacer { margin-left: 0; } }

/* ---------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 242, .93);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 18px;
  min-height: 74px; padding-block: 10px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 48px; height: 48px; border-radius: 50%; flex: none; }
.brand-txt { display: grid; line-height: 1.14; }
.brand-name {
  font-family: var(--display); font-weight: 800; font-size: 1.02rem;
  color: var(--green-900); letter-spacing: -.01em;
}
.brand-sub {
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold-dark);
}

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  font-family: var(--display); font-weight: 600; font-size: .955rem;
  color: var(--ink-2); text-decoration: none;
  padding: 9px 13px; border-radius: 10px;
}
.nav a:hover, .nav a[aria-current="page"] { background: var(--sage-100); color: var(--green-900); }
.header-cta { margin-left: 10px; }

.burger {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff; cursor: pointer; color: var(--green-800);
}
.burger svg { width: 22px; height: 22px; }

@media (max-width: 980px) {
  .nav, .header-cta { display: none; }
  .burger { display: inline-flex; }
  .site-header .wrap { min-height: 66px; }
  .brand img { width: 42px; height: 42px; }
}

.mobile-nav {
  display: none;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
  padding: 8px var(--pad) 20px;
}
.mobile-nav[data-open="true"] { display: block; }
.mobile-nav ul { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 2px; }
.mobile-nav a {
  display: block; padding: 13px 14px; border-radius: 12px;
  font-family: var(--display); font-weight: 600; color: var(--green-900); text-decoration: none;
}
.mobile-nav a:hover { background: var(--sage-100); }
.mobile-nav .btn { width: 100%; }
.mobile-nav .m-actions { display: grid; gap: 10px; }
@media (min-width: 981px) { .mobile-nav { display: none !important; } }

/* ---------------------------------------------------------- sections */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--tight { padding-block: clamp(44px, 6vw, 70px); }
.section--cream2 { background: var(--cream-2); }
.section--white  { background: var(--white); }
.section--green  { background: var(--sage-800); color: #E6EBE1; }
.section--green h2, .section--green h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-weight: 700; font-size: .78rem;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--gold-dark);
  margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); border-radius: 2px; }
.section--green .eyebrow { color: var(--gold-200); }
.section--green .eyebrow::before { background: var(--gold-200); }

.sec-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 48px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }
.lede { font-size: clamp(1.02rem, 1.5vw, 1.15rem); color: var(--ink-2); max-width: 62ch; }
.section--green .lede { color: #CFD8C7; }

/* ---------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 460px at 88% -8%, rgba(216, 163, 58, .16), transparent 62%),
    radial-gradient(760px 480px at 4% 106%, rgba(143, 174, 139, .28), transparent 60%),
    var(--cream);
  padding-block: clamp(44px, 6.5vw, 84px);
}
.hero-grid {
  display: grid; gap: clamp(30px, 5vw, 58px);
  grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--green-600); }
.hero-lede { font-size: clamp(1.05rem, 1.7vw, 1.2rem); color: var(--ink-2); max-width: 54ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 28px;
  padding-top: 24px; border-top: 1px dashed var(--line);
}
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; padding: 7px 14px;
  font-size: .84rem; font-weight: 600; color: var(--ink-2);
}
.chip svg { width: 15px; height: 15px; color: var(--sage-600); flex: none; }

.hero-media {
  display: grid; gap: 14px;
  grid-template-columns: 1fr 1fr;
}
.photo-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: #fff; padding: 9px; margin: 0; box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.photo-card--wide { grid-column: 1 / -1; box-shadow: var(--shadow-lg); }
.photo-card img { border-radius: 14px; width: 100%; object-fit: cover; }
.photo-card--wide img { aspect-ratio: 720 / 335; }
.photo-card:not(.photo-card--wide) img { aspect-ratio: 4 / 3; }
@media (max-width: 900px) { .hero-media { max-width: 620px; } }

/* ---------------------------------------------------------- facts strip */
.facts { background: var(--sage); color: #F3F6F1; }
.facts .wrap {
  display: grid; gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-block: 0;
}
.fact { padding: 26px 18px; text-align: center; position: relative; }
.fact + .fact::before {
  content: ""; position: absolute; left: 0; top: 22%; bottom: 22%;
  width: 1px; background: rgba(255, 255, 255, .16);
}
.fact strong {
  display: block; font-family: var(--display); font-weight: 700;
  font-size: clamp(1.2rem, 2.1vw, 1.55rem); color: #fff; line-height: 1.15;
}
.fact span { display: block; font-size: .83rem; color: #DCE5D6; margin-top: 5px; }
@media (max-width: 780px) {
  .facts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(odd) + .fact::before { top: 18%; bottom: 18%; }
  .fact:nth-child(3)::after, .fact:nth-child(4)::after {
    content: ""; position: absolute; left: 12%; right: 12%; top: 0; height: 1px;
    background: rgba(255, 255, 255, .16);
  }
}

/* ---------------------------------------------------------- program cards */
.cards {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
}
.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--sage-300); }

.card-icon {
  width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; margin-bottom: 16px;
  background: var(--sage-100); color: var(--sage-700);
}
/* The five programme icons are flat multi-colour illustrations traced from the
   client's own artwork (see _build/icons.py) — their fills are baked in, so they
   must not inherit `color`. Each sits on the pastel tile the client's strip uses. */
.card-icon svg { width: 30px; height: 30px; }
.card-icon.puzzle { background: #EDF1EA; }
.card-icon.speech { background: #E5EBF2; }
.card-icon.book   { background: #F5EFE6; }
.card-icon.blocks { background: #F3EEE4; }
.card-icon.pencil { background: #F4F0E9; }

/* line-icon tiles, still used by the non-programme cards */
.card-icon.gold { background: var(--gold-100); color: var(--gold-dark); }
.card-icon.sage { background: var(--sage-100); color: var(--sage-700); }
.card-icon.sky  { background: var(--blue-100); color: var(--blue-ink); }
.card-icon.cream{ background: var(--cream-3); color: var(--gold-dark); }
.card-icon.red  { background: var(--sage-100); color: var(--sage-700); }
.card-icon.plum { background: var(--blue-100); color: var(--blue-ink); }

.card h3 { margin-bottom: 4px; }
.card .ages {
  font-size: .8rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--gold-dark); margin: 0 0 12px;
}
.card p { color: var(--ink-2); font-size: .97rem; }
.ticks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 9px; }
.ticks li {
  display: grid; grid-template-columns: 20px 1fr; gap: 10px;
  font-size: .93rem; color: var(--ink-2);
}
.ticks li::before {
  content: ""; margin-top: .42em; width: 13px; height: 8px; align-self: start;
  border-left: 2.5px solid var(--green-500); border-bottom: 2.5px solid var(--green-500);
  transform: rotate(-45deg); border-radius: 1px;
}
.card-foot { margin-top: auto; padding-top: 20px; }
.card-link {
  font-family: var(--display); font-weight: 700; font-size: .95rem;
  color: var(--green-700); text-decoration: none;
  display: inline-flex; align-items: center; gap: 7px;
}
.card-link:hover { color: var(--gold-dark); gap: 11px; }
.card-link svg { width: 16px; height: 16px; transition: transform .16s ease; }

/* ---------------------------------------------------------- why us */
.why-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.why {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm);
}
.why .num {
  font-family: var(--display); font-weight: 800; font-size: .78rem;
  letter-spacing: .12em; color: var(--gold-dark); display: block; margin-bottom: 10px;
}
.why h3 { font-size: 1.08rem; margin-bottom: 8px; }
.why p { font-size: .95rem; color: var(--ink-2); margin: 0; }

/* ---------------------------------------------------------- gallery */
.gallery {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.shot {
  margin: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
}
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.shot figcaption { padding: 14px 18px 16px; font-size: .92rem; color: var(--ink-2); }
.shot figcaption strong { display: block; font-family: var(--display); color: var(--green-900); margin-bottom: 2px; }

/* ---------------------------------------------------------- steps */
.steps { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); counter-reset: s; }
.step {
  position: relative; background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius); padding: 26px 24px;
}
.step .n {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--gold); color: var(--green-900);
  font-family: var(--display); font-weight: 800; font-size: 1.1rem; margin-bottom: 16px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { font-size: .95rem; color: #CFD8C7; margin: 0; }

/* ---------------------------------------------------------- visit / map */
.visit-grid {
  display: grid; gap: clamp(24px, 4vw, 44px);
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: start;
}
@media (max-width: 900px) { .visit-grid { grid-template-columns: 1fr; } }

.info-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.info-list li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: start; }
.info-ic {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--sage-100); color: var(--green-700);
}
.info-ic svg { width: 20px; height: 20px; }
.info-list dt, .info-k {
  font-family: var(--display); font-weight: 700; font-size: .78rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 2px;
}
.info-v { font-size: 1.02rem; color: var(--ink); font-weight: 500; }
.info-v a { font-weight: 600; text-decoration: none; }
.info-v a:hover { text-decoration: underline; }
.info-note { font-size: .88rem; color: var(--muted); margin-top: 3px; }

.map-embed {
  position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--sage-100);
  aspect-ratio: 4 / 3; box-shadow: var(--shadow-sm);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-holder { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; gap: 4px; }
.map-holder p { font-size: .92rem; color: var(--ink-2); max-width: 32ch; }
@media (max-width: 560px) { .map-embed { aspect-ratio: 1 / 1; } }

/* ---------------------------------------------------------- faq */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 4px 22px; box-shadow: var(--shadow-sm);
}
.faq details[open] { border-color: var(--sage-300); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 34px 18px 0; position: relative;
  font-family: var(--display); font-weight: 600; font-size: 1.03rem; color: var(--green-900);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%;
  width: 10px; height: 10px; margin-top: -7px;
  border-right: 2.5px solid var(--green-600); border-bottom: 2.5px solid var(--green-600);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq .answer { padding: 0 0 20px; color: var(--ink-2); font-size: .98rem; }

/* ---------------------------------------------------------- form */
.form-wrap {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 38px); box-shadow: var(--shadow);
}
.field-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-family: var(--display); font-weight: 600; font-size: .92rem; color: var(--green-900); }
.field .req { color: var(--gold-dark); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--line);
  border-radius: 12px; padding: 13px 14px; width: 100%;
  transition: border-color .15s ease, background-color .15s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  background: #fff; border-color: var(--green-500); outline: none;
  box-shadow: 0 0 0 3px rgba(78, 129, 82, .16);
}
.field .hint { font-size: .83rem; color: var(--muted); }
.phone-row { display: grid; grid-template-columns: 122px 1fr; gap: 10px; }
.form-foot { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form-foot .btn { flex: 0 0 auto; }
.form-note { font-size: .86rem; color: var(--muted); max-width: 42ch; }
.hp { position: absolute; left: -9999px; opacity: 0; }

/* ---------------------------------------------------------- cta band */
.cta-band {
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  color: #fff; border-radius: var(--radius-lg);
  padding: clamp(30px, 5vw, 52px);
  display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: #D7DECF; margin: 0; max-width: 52ch; }
.cta-band .acts { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------- footer */
.site-footer { background: var(--sage-900); color: #C2CBBA; padding-block: clamp(46px, 6vw, 68px) 0; }
.foot-grid {
  display: grid; gap: 34px;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
}
@media (max-width: 1040px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.foot-brand img { width: 54px; height: 54px; border-radius: 50%; }
.foot-brand .brand-name { color: #fff; font-size: 1.06rem; }
.foot-brand .brand-sub { color: var(--gold-200); }
.site-footer p { font-size: .94rem; }
.site-footer h4 {
  font-family: var(--display); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-200); margin: 0 0 14px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: #DDE3D7; text-decoration: none; font-size: .95rem; }
.site-footer a:hover { color: var(--gold-200); text-decoration: underline; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); color: #fff;
}
.socials a:hover { background: var(--gold); color: #fff; }
.socials svg { width: 20px; height: 20px; }
.foot-bar {
  margin-top: 40px; border-top: 1px solid rgba(255, 255, 255, .13);
  padding-block: 20px 24px;
  display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center;
  font-size: .86rem; color: #9BA694;
}
.foot-bar .sp { margin-left: auto; }
@media (max-width: 640px) { .foot-bar .sp { margin-left: 0; } }

/* ---------------------------------------------------------- FABs */
.fabs {
  position: fixed; right: 16px; bottom: 16px; z-index: 90;
  display: grid; gap: 10px;
}
.fab {
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  box-shadow: var(--shadow-lg); text-decoration: none;
  transition: transform .16s ease;
}
.fab:hover { transform: scale(1.06); color: #fff; }
.fab svg { width: 25px; height: 25px; }
.fab-call { background: var(--sage); }
.fab-fb { background: #1877F2; }
@media (min-width: 981px) { .fabs { display: none; } }

/* ---------------------------------------------------------- program page */
.page-hero {
  background:
    radial-gradient(700px 380px at 92% -20%, rgba(185, 137, 71, .12), transparent 60%),
    var(--cream-2);
  padding-block: clamp(34px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}
.crumbs { font-size: .86rem; color: var(--muted); margin-bottom: 14px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--sage-300); }
.crumbs a { color: var(--green-700); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.prose { max-width: 68ch; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.1em; }
.prose li { margin-bottom: .5em; color: var(--ink-2); }

.side-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-sm); position: sticky; top: 96px;
}
.side-card h3 { font-size: 1.1rem; }
.side-card .btn { width: 100%; margin-top: 10px; }
.split {
  display: grid; gap: clamp(28px, 4vw, 48px);
  grid-template-columns: minmax(0, 1fr) 330px; align-items: start;
}
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .side-card { position: static; }
}

.other-progs { display: grid; gap: 10px; margin-top: 10px; }
.other-progs a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 16px; border-radius: 12px; background: var(--cream);
  border: 1px solid var(--line); text-decoration: none;
  font-family: var(--display); font-weight: 600; font-size: .95rem; color: var(--green-900);
}
.other-progs a:hover { background: var(--sage-50); border-color: var(--sage-300); }
.other-progs svg { width: 15px; height: 15px; color: var(--green-600); flex: none; }

/* ---------------------------------------------------------- thanks page */
.thanks { min-height: 62vh; display: grid; place-items: center; text-align: center; padding-block: 70px; }
.thanks .mark {
  width: 82px; height: 82px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sage-100); color: var(--green-600); margin: 0 auto 24px;
}
.thanks .mark svg { width: 40px; height: 40px; }
.thanks .acts { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

/* ---------------------------------------------------------- reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }


/* ---------------------------------------------------------- about / story
   The story runs wider than the banner is tall, so a side-by-side text|image
   split left a dead column on desktop. It now reads as an editorial spread:
   heading beside the lede, the panoramic banner at its natural width, then the
   rest of the story in balanced columns beneath it. */
.story-top {
  display: grid; gap: clamp(20px, 3vw, 46px);
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: end;
  margin-bottom: clamp(26px, 3.5vw, 40px);
}
.story-top h2 { margin-bottom: 0; }
.story-lede {
  font-size: clamp(1.02rem, 1.45vw, 1.14rem);
  line-height: 1.66; color: var(--ink-2); margin: 0;
}
@media (max-width: 860px) { .story-top { grid-template-columns: 1fr; align-items: start; } }

.story-figure {
  margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--cream-2); box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.story-figure img { width: 100%; display: block; }
.story-figure figcaption {
  padding: 15px 22px 17px; font-size: .9rem; color: var(--ink-2);
  border-top: 1px solid var(--line);
}

.story-body {
  margin-top: clamp(28px, 3.5vw, 44px);
  display: grid; gap: clamp(18px, 2.6vw, 34px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.story-body p { margin: 0; color: var(--ink-2); font-size: .99rem; }
.story-body p::before {
  content: ""; display: block; width: 26px; height: 2px;
  background: var(--gold-200); border-radius: 2px; margin-bottom: 14px;
}
@media (max-width: 860px) { .story-body { grid-template-columns: 1fr; } }

/* vision + goal pillars */
.pillars { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); margin-top: clamp(32px, 4vw, 48px); }
.pillar {
  border-radius: var(--radius-lg); padding: 30px 28px;
  border: 1px solid var(--line); background: var(--white);
}
.pillar--blue { background: var(--blue-100); border-color: var(--blue-200); }
.pillar--sage { background: var(--sage-50); border-color: var(--sage-200); }
.pillar .k {
  font-family: var(--display); font-weight: 700; font-size: .78rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold-dark);
  display: block; margin-bottom: 10px;
}
.pillar p { margin: 0; font-size: 1.06rem; line-height: 1.6; color: var(--ink); }

/* ---------------------------------------------------------- approach */
.approach-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); }
.approach {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 24px;
}
.approach .ic {
  width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center;
  background: var(--sage-100); color: var(--sage-700); margin-bottom: 14px;
}
.approach:nth-child(3n+2) .ic { background: var(--blue-100); color: var(--blue-ink); }
.approach:nth-child(3n) .ic   { background: var(--gold-100); color: var(--gold-dark); }
.approach .ic svg { width: 22px; height: 22px; }
.approach h3 { font-size: 1.05rem; margin-bottom: 7px; }
.approach p { font-size: .95rem; color: var(--ink-2); margin: 0; }

/* ---------------------------------------------------------- owner
   The heading lives inside the text column, not above the grid — with it above,
   the square portrait left the whole top-right corner of the section empty. */
.owner-grid {
  display: grid; gap: clamp(28px, 4vw, 56px);
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  align-items: center;
}
@media (max-width: 900px) { .owner-grid { grid-template-columns: 1fr; } }
.owner-figure {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: var(--cream-2);
}
.owner-figure img { width: 100%; display: block; }
h2.owner-name {
  font-size: clamp(1.9rem, 3.8vw, 2.6rem); color: var(--ink); margin: 0 0 6px;
}
.owner-role {
  font-family: var(--display); font-weight: 600; font-size: .98rem;
  color: var(--gold-dark); margin: 0 0 22px; max-width: 46ch;
}
.owner-pull {
  border-left: 3px solid var(--blue); background: var(--blue-100);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px; margin: 0 0 22px;
  font-size: 1.04rem; line-height: 1.6; color: var(--ink); font-style: italic;
}
.owner-grid p { color: var(--ink-2); }
.owner-values { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; list-style: none; padding: 0; }
.owner-values li {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--cream-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 15px;
  font-size: .87rem; font-weight: 600; color: var(--ink-2);
}
.owner-values svg { width: 15px; height: 15px; color: var(--sage-600); flex: none; }

/* ---------------------------------------------------------- rooms */
.rooms { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.room {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.room img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.room-body { padding: 26px 26px 28px; }
.room-body h3 { margin-bottom: 4px; }
.room-body .ages {
  font-family: var(--display); font-weight: 600; font-size: .86rem;
  color: var(--gold-dark); margin-bottom: 12px;
}
.room-body p { font-size: .97rem; color: var(--ink-2); margin: 0; }

/* ---------------------------------------------------------- testimonials */
.quotes { columns: 3 300px; column-gap: 20px; }
@media (max-width: 680px) { .quotes { columns: 1; } }
.quote {
  break-inside: avoid; margin: 0 0 20px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px 26px 22px;
  box-shadow: var(--shadow-sm);
}
.quote:nth-child(4n+2) { background: var(--sage-50); border-color: var(--sage-200); }
.quote:nth-child(4n+4) { background: var(--blue-100); border-color: var(--blue-200); }
.quote .mark {
  font-family: Georgia, "Times New Roman", serif; font-size: 2.6rem; line-height: .6;
  color: var(--gold-200); display: block; margin-bottom: 12px;
}
.quote blockquote { margin: 0; font-size: .99rem; line-height: 1.68; color: var(--ink-2); }
.quote blockquote p { margin: 0 0 .8em; }
.quote blockquote p:last-child { margin-bottom: 0; }
.quote figcaption {
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
  font-family: var(--display); font-weight: 600; font-size: .88rem; color: var(--ink);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.quote .sat {
  flex: none; font-size: .76rem; font-weight: 700; letter-spacing: .04em;
  color: var(--gold-dark); background: var(--gold-100);
  border-radius: 999px; padding: 5px 12px; white-space: nowrap;
}
.quote:nth-child(4n+2) .sat { background: var(--white); }
.quote:nth-child(4n+4) .sat { background: var(--white); }

.quotes-more-wrap { margin-top: 4px; text-align: center; }
.quotes-more-wrap > summary { display: inline-flex; list-style: none; cursor: pointer; }
.quotes-more-wrap > summary::-webkit-details-marker { display: none; }
.quotes-more-wrap[open] > summary { display: none; }
.quotes-more-wrap .quotes { text-align: left; }
.quotes-note {
  text-align: center; font-size: .89rem; color: var(--muted);
  margin: clamp(26px, 3vw, 36px) auto 0; max-width: 60ch;
}
.quotes-more { text-align: center; margin-top: 22px; }

/* ---------------------------------------------------------- team & kids in action
   Both render only when real photos and names exist — see BUILD-NOTES §3. */
.team-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.member {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); text-align: center;
}
.member img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.member-body { padding: 22px 20px 24px; }
.member-body h3 { font-size: 1.06rem; margin-bottom: 2px; }
.member-role {
  font-family: var(--display); font-weight: 600; font-size: .84rem;
  color: var(--gold-dark); margin-bottom: 10px;
}
.member-body p { font-size: .92rem; color: var(--ink-2); margin: 0; }

.action-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.action-shot {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm);
}
.action-shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.action-shot figcaption { padding: 14px 18px 16px; font-size: .9rem; color: var(--ink-2); }

/* ---------------------------------------------------------- print */
@media print {
  .topbar, .site-header, .mobile-nav, .fabs, .cta-band, form, .map-embed { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .section { padding-block: 18px; }
}
