/* ============================================================
   Zion Lutheran School — Homepage styles
   Warm + polished. Brand: orange #E8742B, gold #F5B819, ink, cream.
   ============================================================ */

:root {
  /* palette */
  --ink: #211c16;
  --ink-soft: #463d33;
  --muted: #5a5046;
  --cream: #faf6ef;
  --cream-2: #f3ece0;
  --cream-3: #ece2d2;
  --paper: #ffffff;
  --line: #e7ddcd;
  --line-strong: #d8cab2;

  --orange: #e8742b;
  --orange-deep: #c65c16;
  --orange-tint: #fbe9da;
  --gold: #f5b819;
  --gold-soft: #fbe6ab;
  --gold-tint: #fdf3d8;

  --dark: #241c14;       /* deep warm section bg */
  --dark-2: #2f261c;

  /* accent roles (overridable via [data-accent]) */
  --action: var(--orange);
  --action-deep: var(--orange-deep);
  --highlight: var(--gold);
  --eyebrow-color: var(--orange-deep);

  /* type */
  --font-head: "Newsreader", Georgia, "Times New Roman", serif;
  --font-body: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --font-mono: "Spline Sans Mono", ui-monospace, monospace;

  /* metrics */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --radius-sm: 11px;
  --shadow-sm: 0 1px 2px rgba(33, 28, 22, .06), 0 6px 18px rgba(33, 28, 22, .06);
  --shadow-md: 0 8px 24px rgba(33, 28, 22, .10), 0 24px 60px rgba(33, 28, 22, .10);
  --shadow-lg: 0 18px 50px rgba(33, 28, 22, .16), 0 40px 90px rgba(33, 28, 22, .14);
}

/* headline font swap via tweak */
[data-headfont="sans"] { --font-head: "Hanken Grotesk", system-ui, sans-serif; }

/* accent intensity via tweak */
[data-accent="bold"] {
  --eyebrow-color: var(--orange-deep);
}
[data-accent="restrained"] {
  --highlight: var(--ink);
  --eyebrow-color: var(--muted);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Offset anchor jumps (#tour, #curriculum, etc.) so the sticky header
   doesn't cover the section title landed on. Header is ~71px tall. */
:where([id]) { scroll-margin-top: 92px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; margin: 0; line-height: 1.08; letter-spacing: -0.012em; color: var(--ink); }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* eyebrow label */
.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--eyebrow-color);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--highlight);
  display: inline-block;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
/* deeper orange for stronger text contrast (client feedback) */
.btn--primary { background: var(--action-deep); color: #fff; box-shadow: 0 6px 16px rgba(198,92,22,.35); }
.btn--primary:hover { background: #a84e10; transform: translateY(-2px); box-shadow: 0 10px 22px rgba(198,92,22,.42); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--outline-light:hover { border-color: #fff; background: rgba(255,255,255,.1); transform: translateY(-2px); }
.btn--lg { padding: 17px 32px; font-size: 17px; }

/* ============================================================
   TOP INFO BAR (phone / email / address / socials / search)
   ============================================================ */
.topbar { background: var(--ink); color: rgba(255,255,255,.85); font-size: 13px; position: relative; z-index: 62; }
.topbar-inner {
  max-width: var(--maxw); margin-inline: auto;
  padding: 7px var(--gutter);
  display: flex; align-items: center; gap: 16px;
}
.topbar a { display: inline-flex; align-items: center; gap: 7px; color: inherit; font-weight: 500; white-space: nowrap; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 14px; height: 14px; color: var(--gold); flex: none; }
.topbar .tb-social { display: inline-flex; gap: 4px; }
.topbar .tb-social a { padding: 2px; }
.topbar .tb-social svg { color: rgba(255,255,255,.8); }
.topbar .tb-social a:hover svg { color: var(--gold); }
.topbar .tb-spacer { margin-left: auto; }

/* search */
.tb-search { position: relative; display: flex; align-items: center; }
.tb-search input {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25);
  color: #fff; border-radius: 999px; padding: 5px 12px 5px 30px;
  font-size: 13px; width: 150px; font-family: inherit;
  transition: width .2s, background .2s;
}
.tb-search input::placeholder { color: rgba(255,255,255,.5); }
.tb-search input:focus { outline: none; width: 210px; background: rgba(255,255,255,.16); }
.tb-search .tb-mag { position: absolute; left: 10px; pointer-events: none; }
.tb-results {
  position: absolute; top: calc(100% + 6px); right: 0;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg);
  min-width: 250px; padding: 6px; display: none; z-index: 300;
}
.tb-results a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 14px; color: var(--ink-soft); white-space: normal; }
.tb-results a:hover, .tb-results a.active { background: var(--orange-tint); color: var(--orange-deep); }
.tb-results.open { display: block; }
@media (max-width: 1020px) { .topbar .tb-addr { display: none; } }
@media (max-width: 760px) { .topbar .tb-mail { display: none; } }
@media (max-width: 560px) {
  .tb-search input { width: 104px; }
  .tb-search input:focus { width: 150px; }
  .topbar-inner { gap: 11px; }
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--maxw); margin-inline: auto;
  padding: 12px var(--gutter);
  display: flex; align-items: center; gap: 26px;
}
.brand { display: flex; align-items: center; gap: 13px; margin-right: auto; }
.brand img { width: 46px; height: 46px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name b { font-family: var(--font-head); font-size: 21px; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.brand-name span { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

/* Off-canvas slide-in nav is used at ALL widths (no desktop dropdown bar). */
.nav { display: none; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 10px 11px; border-radius: 9px;
  font-size: 14.5px; font-weight: 600; color: var(--ink-soft);
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.nav-link svg { width: 11px; height: 11px; opacity: .55; transition: transform .2s; }
.nav-item:hover .nav-link, .nav-item:focus-within .nav-link { color: var(--ink); background: var(--cream-2); }
.nav-item:hover .nav-link svg, .nav-item:focus-within .nav-link svg { transform: rotate(180deg); }

/* mega dropdown */
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  display: grid; gap: 6px 28px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 70;
}
.nav-item:hover .mega, .nav-item:focus-within .mega {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.mega--cols2 { grid-template-columns: repeat(2, minmax(180px, 1fr)); width: max-content; }
.mega--cols1 { grid-template-columns: minmax(220px, 1fr); }
.mega-col h4 {
  font-family: var(--font-body); font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); margin: 4px 0 8px; padding: 0 10px;
}
.mega a {
  display: block; padding: 8px 10px; border-radius: 8px;
  font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  transition: background .12s, color .12s;
}
.mega a:hover { background: var(--orange-tint); color: var(--orange-deep); }
.mega a.feat { font-weight: 700; color: var(--ink); }

.header-cta { display: flex; align-items: center; gap: 10px; }
.header-cta .btn { padding: 11px 18px; font-size: 14.5px; }

.menu-toggle { display: inline-grid; }

/* ============================================================
   HERO — shared
   ============================================================ */
.hero { display: none; }
body[data-hero="a"] .hero--a { display: block; }
body[data-hero="b"] .hero--b { display: block; }

.trust-strip {
  display: flex; flex-wrap: wrap; gap: 10px 8px; align-items: center;
}
.trust-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-soft);
  background: var(--paper); border: 1px solid var(--line);
  padding: 8px 14px; border-radius: 999px;
}
.trust-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--action); flex: none; }
.trust-pill:nth-child(2n) .dot { background: var(--gold); }

/* HERO A — warm full-bleed */
.hero--a { position: relative; }
.hero-a-media { position: relative; min-height: 640px; height: 78vh; max-height: 800px; }
.hero-a-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-a-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(28,20,12,.86) 0%, rgba(28,20,12,.6) 38%, rgba(28,20,12,.12) 70%, rgba(28,20,12,0) 100%),
    linear-gradient(0deg, rgba(28,20,12,.6) 0%, rgba(28,20,12,0) 45%);
}
.hero-a-content {
  position: absolute; inset: 0;
  display: flex; align-items: center;
}
.hero-a-inner { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); width: 100%; }
.hero-a-box { max-width: 620px; color: #fff; }
.hero-a-box .eyebrow { color: var(--gold-soft); }
.hero-a-box .eyebrow::before { background: var(--gold); }
.hero-a-box h1 { color: #fff; font-size: clamp(40px, 5.6vw, 72px); font-weight: 500; margin: 20px 0 0; }
.hero-a-box h1 em { font-style: italic; color: var(--gold-soft); }
.hero-a-box .lede { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: rgba(255,255,255,.9); margin: 22px 0 30px; max-width: 540px; }
.hero-a-actions { display: flex; flex-wrap: wrap; gap: 13px; }
.hero-a-trust {
  position: relative; z-index: 2;
  background: var(--ink);
}
.hero-a-trust .wrap { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; padding-block: 18px; }
.hero-a-trust .ht-item { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.86); font-size: 14.5px; font-weight: 600; }
.hero-a-trust .ht-item svg { width: 19px; height: 19px; color: var(--gold); flex: none; }

/* HERO B — polished split */
.hero--b { padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 6vw, 88px); }
.hero-b-grid {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero-b-copy { max-width: 580px; }
.hero-b-copy h1 { font-size: clamp(40px, 5vw, 68px); font-weight: 500; margin: 22px 0 0; }
.hero-b-copy h1 em { font-style: italic; color: var(--orange-deep); }
.hero-b-copy .lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-soft); margin: 22px 0 30px; }
.hero-b-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-bottom: 30px; }
.hero-b-chips { display: flex; flex-wrap: wrap; gap: 9px; }

.hero-b-visual { position: relative; }
.hero-b-photo {
  position: relative; border-radius: 26px; overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; z-index: 2;
}
.hero-b-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-b-blob {
  position: absolute; width: 70%; aspect-ratio: 1; border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
  background: var(--gold); top: -28px; right: -26px; z-index: 1; opacity: .9;
}
.hero-b-blob.two { background: var(--orange-tint); bottom: -34px; left: -30px; top: auto; right: auto; width: 55%; opacity: 1; }
.hero-b-card {
  position: absolute; left: -28px; bottom: 36px; z-index: 3;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-md);
  padding: 16px 20px; display: flex; align-items: center; gap: 14px; max-width: 250px;
}
.hero-b-card .num { font-family: var(--font-head); font-size: 38px; font-weight: 600; color: var(--orange-deep); line-height: 1; }
.hero-b-card .lbl { font-size: 13px; font-weight: 600; color: var(--ink-soft); line-height: 1.25; }

/* ============================================================
   SECTION PRIMITIVES
   ============================================================ */
.section { padding-block: clamp(64px, 8vw, 116px); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.section--cream2 { background: var(--cream-2); }
.section--dark { background: var(--dark); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 50px); font-weight: 500; margin: 16px 0 0; }
.section-head .sub { font-size: clamp(17px, 1.3vw, 19.5px); color: var(--muted); margin: 16px 0 0; }
.section--dark .section-head .sub { color: rgba(255,255,255,.72); }

/* ============================================================
   SECTION 2 — Problem / deserves
   ============================================================ */
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.concern-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.concern-list li { background: var(--paper); padding: 16px 20px; display: flex; align-items: center; gap: 13px; font-size: 16px; font-weight: 500; color: var(--ink-soft); }
.concern-list li svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
.deserve-card {
  background: var(--ink); color: #fff; border-radius: var(--radius); padding: clamp(28px, 3vw, 44px);
  align-self: stretch;
}
.deserve-card .eyebrow { color: var(--gold-soft); }
.deserve-card .eyebrow::before { background: var(--gold); }
.deserve-card h3 { color: #fff; font-size: clamp(24px, 2.4vw, 32px); margin: 14px 0 8px; }
.deserve-card p.intro { color: rgba(255,255,255,.8); margin: 0 0 22px; }
.deserve-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
.deserve-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; color: rgba(255,255,255,.92); font-weight: 500; }
.deserve-list li svg { width: 20px; height: 20px; color: var(--gold); flex: none; margin-top: 1px; }

/* ============================================================
   SECTION 3 — Why early ed (4 icon blocks)
   ============================================================ */
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 52px; }
.pillar {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.pillar .ico {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--orange-tint); color: var(--orange-deep); margin-bottom: 18px;
}
.pillar:nth-child(2n) .ico { background: var(--gold-tint); color: #a9760a; }
.pillar .ico svg { width: 26px; height: 26px; }
.pillar h3 { font-size: 21px; margin-bottom: 7px; }
.pillar p { font-size: 15px; color: var(--muted); margin: 0; }

.foundation-row { display: flex; flex-wrap: wrap; gap: 10px 10px; margin-top: 28px; }
.foundation-row .tag {
  font-size: 14px; font-weight: 600; color: var(--ink-soft);
  background: var(--cream-2); border-radius: 999px; padding: 8px 16px;
}
.section--dark .foundation-row .tag { background: rgba(255,255,255,.08); color: rgba(255,255,255,.9); }

/* ============================================================
   SECTION 4 — What makes Zion different
   ============================================================ */
.diff-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.diff-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/5; }
.diff-media img { width: 100%; height: 100%; object-fit: cover; }
.diff-list { display: grid; gap: 14px; }
.diff-item {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 22px 24px; display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
  transition: box-shadow .2s, border-color .2s;
}
.diff-item:hover { box-shadow: var(--shadow-sm); border-color: var(--line-strong); }
.diff-num {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  display: grid; place-items: center; font-family: var(--font-head);
  font-size: 19px; font-weight: 600; color: #fff; background: var(--action);
}
.diff-item:nth-child(2n) .diff-num { background: var(--gold); color: var(--ink); }
.diff-item h3 { font-size: 20px; margin-bottom: 5px; }
.diff-item p { margin: 0; font-size: 15.5px; color: var(--muted); }
.diff-item .sub-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.diff-item .sub-tags span { font-size: 12.5px; font-weight: 600; color: var(--orange-deep); background: var(--orange-tint); padding: 4px 10px; border-radius: 999px; }

/* ============================================================
   SECTION 5 — Local SEO / region
   ============================================================ */
.region-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.region-map {
  position: relative; background: var(--cream-2); border: 1px solid var(--line);
  border-radius: var(--radius); min-height: 360px; overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.region-map iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0; display: block;
}
.region-map .map-directions {
  position: absolute; right: 14px; bottom: 14px; z-index: 2;
  padding: 11px 17px; font-size: 14px; box-shadow: var(--shadow-md);
}
.region-list { columns: 2; column-gap: 22px; margin: 22px 0 0; padding: 0; list-style: none; }
.region-list li { display: flex; align-items: center; gap: 9px; padding: 7px 0; font-size: 16px; font-weight: 500; break-inside: avoid; }
.region-list li svg { width: 16px; height: 16px; color: var(--orange); flex: none; }

/* ============================================================
   SECTIONS 6 & 7 — Program cards
   ============================================================ */
.program { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.program.flip .program-media { order: 2; }
.program-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 5/4; }
.program-media img { width: 100%; height: 100%; object-fit: cover; }
.program-badge {
  position: absolute; top: 18px; left: 18px;
  background: rgba(255,255,255,.95); backdrop-filter: blur(4px);
  border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase; color: var(--orange-deep);
}
.program-copy h2 { font-size: clamp(28px, 3.4vw, 42px); margin: 14px 0 0; }
.program-copy .sub { color: var(--muted); margin: 16px 0 22px; font-size: 17px; }
.skill-grid { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.skill-grid li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 500; color: var(--ink-soft); }
.skill-grid li svg { width: 18px; height: 18px; color: var(--action); flex: none; }

/* ============================================================
   SECTION 8 — Testimonials
   ============================================================ */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.testi {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column; gap: 18px;
}
.testi .quote-mark { font-family: var(--font-head); font-size: 56px; line-height: .6; color: var(--gold); height: 28px; }
.testi p { font-family: var(--font-head); font-size: 19.5px; line-height: 1.45; color: var(--ink); margin: 0; font-style: italic; }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi .who .av { width: 42px; height: 42px; border-radius: 50%; background: var(--orange-tint); color: var(--orange-deep); display: grid; place-items: center; font-weight: 700; font-size: 16px; flex: none; font-family: var(--font-body); }
.testi .who b { font-size: 15px; }
.testi .who span { display: block; font-size: 13px; color: var(--muted); font-weight: 500; }

/* ============================================================
   SECTION 9 — Visual differentiator (full bleed)
   ============================================================ */
.more-than {
  position: relative; min-height: 540px; display: flex; align-items: center;
}
.more-than img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.more-than .scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28,20,12,.88) 0%, rgba(28,20,12,.55) 50%, rgba(28,20,12,.15) 100%); }
.more-than .mt-content { position: relative; max-width: 620px; color: #fff; }
.more-than .eyebrow { color: var(--gold-soft); }
.more-than .eyebrow::before { background: var(--gold); }
.more-than h2 { color: #fff; font-size: clamp(30px, 4.4vw, 56px); margin: 18px 0 0; }
.more-than p { font-size: clamp(17px, 1.5vw, 21px); color: rgba(255,255,255,.9); margin: 20px 0 0; line-height: 1.55; }

/* ============================================================
   SECTION 10 — FAQ
   ============================================================ */
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq-item[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 20px 24px;
  display: flex; align-items: center; gap: 16px; font-weight: 600; font-size: 17.5px;
  font-family: var(--font-head);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .pl { margin-left: auto; flex: none; width: 26px; height: 26px; position: relative; }
.faq-item summary .pl::before, .faq-item summary .pl::after { content: ""; position: absolute; background: var(--action); border-radius: 2px; transition: transform .2s, opacity .2s; }
.faq-item summary .pl::before { top: 12px; left: 4px; right: 4px; height: 2.5px; }
.faq-item summary .pl::after { left: 12px; top: 4px; bottom: 4px; width: 2.5px; }
.faq-item[open] summary .pl::after { transform: scaleY(0); opacity: 0; }
.faq-answer { padding: 0 24px 22px; color: var(--muted); font-size: 16px; line-height: 1.6; }

/* ============================================================
   SECTION 11 — Final CTA
   ============================================================ */
.final-cta { position: relative; overflow: hidden; }
.final-card {
  background: var(--ink);
  border-radius: clamp(20px, 3vw, 34px);
  padding: clamp(44px, 6vw, 80px) clamp(28px, 5vw, 72px);
  text-align: center; position: relative; overflow: hidden;
}
.final-card::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(245,184,25,.28), transparent 70%); top: -120px; right: -80px; }
.final-card::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(232,116,43,.28), transparent 70%); bottom: -140px; left: -90px; }
.final-card > * { position: relative; z-index: 2; }
.final-card .eyebrow { color: var(--gold-soft); justify-content: center; }
.final-card .eyebrow::before { background: var(--gold); }
.final-card h2 { color: #fff; font-size: clamp(32px, 4.6vw, 58px); margin: 18px auto 0; max-width: 720px; }
.final-card .enroll-line { color: var(--gold-soft); font-weight: 600; margin: 18px 0 0; font-size: 17px; }
.final-actions { display: flex; flex-wrap: wrap; gap: 13px; justify-content: center; margin: 32px 0 18px; }
.final-card .support { color: rgba(255,255,255,.7); font-size: 15.5px; margin: 0; max-width: 560px; margin-inline: auto; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--cream); color: var(--ink-soft); border-top: 1px solid var(--line); padding-block: clamp(48px, 6vw, 76px) 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.footer-brand { max-width: 320px; }
.footer-brand .brand img { width: 44px; height: 44px; }
.footer-brand .brand-name b { color: var(--ink); }
.footer-brand .brand-name span { color: var(--muted); }
.footer-brand p { margin: 18px 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.footer-contact { display: grid; gap: 9px; font-size: 15px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-soft); }
.footer-contact a svg { width: 16px; height: 16px; color: var(--orange); flex: none; }
.footer-col h4 { font-family: var(--font-body); color: var(--ink); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 16px; font-weight: 700; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--ink-soft); font-size: 15px; transition: color .15s; }
.footer-col a:hover { color: var(--orange-deep); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding-top: 26px; font-size: 13.5px; color: var(--muted); }
.footer-bottom .placeholder-note { color: var(--orange-deep); font-family: var(--font-mono); font-size: 12px; }

/* placeholder marker for to-be-supplied content */
.ph { font-family: var(--font-mono); font-size: 12px; color: var(--orange-deep); background: var(--orange-tint); padding: 1px 7px; border-radius: 5px; font-weight: 600; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
}
@media (max-width: 880px) {
  body { font-size: 17px; }
  .hero-b-grid, .problem-grid, .diff-layout, .region-wrap, .program, .faq-layout { grid-template-columns: 1fr; }
  .program.flip .program-media { order: 0; }
  .diff-media { aspect-ratio: 16/10; }
  .hero-b-visual { max-width: 460px; margin-inline: auto; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .region-list { columns: 1; }
}
@media (max-width: 560px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .skill-grid, .footer-top { grid-template-columns: 1fr; }
  .hero-a-media { height: auto; min-height: 0; }
  .hero-a-media img { height: 520px; }
  .header-cta .btn.tour-btn { display: none; }
  .hero-b-card { left: 8px; }
}

/* tweak: hero switcher mount */
#tweak-root { position: fixed; z-index: 90; }

/* ============================================================
   MOBILE NAV OVERLAY
   ============================================================ */
@keyframes navSlideIn {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}

/* Close button and mobile CTA strip — hidden on desktop */
.nav-close-row { display: none; }
.nav-mobile-cta { display: none; }

/* ---- Off-canvas nav (all widths) ---- */
/* Raise the header above the backdrop so the nav panel (trapped in the
   header's backdrop-filter stacking context) paints over it and stays clickable */
body.nav-open .site-header { z-index: 210; }

/* Backdrop */
body.nav-open::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(33, 28, 22, .5);
  z-index: 199;
}

  /* Slide-in panel */
  body.nav-open .nav {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0; right: 0;
    width: 85vw;
    max-width: 360px;
    height: 100vh;
    height: 100dvh;
    z-index: 200;
    background: var(--cream);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0;
    gap: 0;
    align-items: stretch;
    box-shadow: var(--shadow-lg);
    animation: navSlideIn .22s ease;
  }

  /* Close button row at top */
  body.nav-open .nav-close-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid var(--line);
    flex-shrink: 0;
  }
  .nav-close-row .nav-brand-mini {
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
  }
  .nav-close-btn {
    width: 38px; height: 38px; border-radius: 9px;
    border: 1px solid var(--line); background: var(--paper);
    display: grid; place-items: center; cursor: pointer; color: var(--ink-soft);
    transition: background .15s, border-color .15s;
    flex-shrink: 0;
  }
  .nav-close-btn:hover { background: var(--cream-2); border-color: var(--line-strong); }

  /* Nav items as list — row = clickable label + separate expand chevron */
  body.nav-open .nav-item {
    border-bottom: 1px solid var(--line);
  }
  body.nav-open .nav-row {
    display: flex;
    align-items: stretch;
  }
  body.nav-open .nav-link {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    min-width: 0;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 0;
    background: transparent !important;
    color: var(--ink-soft);
    text-align: left;
  }
  body.nav-open .nav-link:hover,
  body.nav-open .nav-link:active { color: var(--orange-deep); }

  .nav-expand {
    flex: 0 0 auto;
    width: 58px;
    border: none;
    border-left: 1px solid var(--line);
    background: transparent;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: var(--muted);
  }
  .nav-expand svg { width: 13px; height: 13px; opacity: .7; transition: transform .2s; }
  .nav-expand:hover { background: var(--cream-2); color: var(--ink); }
  body.nav-open .nav-item.m-open .nav-expand svg { transform: rotate(180deg); opacity: .9; }

  /* Mega becomes accordion panel */
  .mega {
    /* reset absolute positioning for mobile */
  }
  body.nav-open .mega {
    display: none !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    box-shadow: none !important;
    border: none !important;
    border-top: 1px solid var(--line) !important;
    border-radius: 0 !important;
    background: var(--cream-2) !important;
    padding: 16px 20px 20px !important;
    width: 100% !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  body.nav-open .nav-item.m-open .mega {
    display: grid !important;
  }

  /* Suppress CSS :hover open on mobile */
  body.nav-open .nav-item:hover .mega,
  body.nav-open .nav-item:focus-within .mega {
    display: none !important;
  }
  body.nav-open .nav-item.m-open:hover .mega,
  body.nav-open .nav-item.m-open:focus-within .mega {
    display: grid !important;
  }

  body.nav-open .mega-col {
    padding: 0;
  }
  body.nav-open .mega-col h4 {
    margin: 12px 0 6px;
    padding: 0;
  }
  body.nav-open .mega a {
    font-size: 15px;
    padding: 9px 10px;
  }

  /* Colored quick-link tiles in the slide-out menu (client request) */
  .menu-tiles {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 18px 20px 2px;
  }
  .menu-tiles a {
    border-radius: 12px; padding: 20px 10px 17px; text-align: center;
    font-weight: 800; font-size: 13.5px; letter-spacing: .05em;
    color: #fff; text-transform: uppercase; box-shadow: var(--shadow-sm);
    transition: transform .12s, box-shadow .15s;
  }
  .menu-tiles a:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
  .menu-tiles a svg { display: block; width: 26px; height: 26px; margin: 0 auto 8px; }
  .mt-lunch  { background: #dfa61f; }
  .mt-sports { background: #33a97c; }
  .mt-cal    { background: #3f9fce; }
  .mt-news   { background: #7c7f87; }

  /* Mobile nav CTA strip at bottom */
  .nav-mobile-cta {
    margin-top: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid var(--line);
  }
  .nav-mobile-cta .btn { width: 100%; text-align: center; justify-content: center; }

  /* Hamburger → X icon swap */
  .menu-toggle .icon-menu { display: block; }
  .menu-toggle .icon-close { display: none; }
  body.nav-open .menu-toggle .icon-menu { display: none; }
  body.nav-open .menu-toggle .icon-close { display: block; }

/* ============================================================
   INNER PAGES — shared sub-page primitives
   ============================================================ */

/* page banner / hero */
.page-hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding: clamp(54px, 8vw, 104px) 0 clamp(44px, 6vw, 72px);
}
.page-hero::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245,184,25,.22), transparent 70%);
  top: -160px; right: -120px;
}
.page-hero::after {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232,116,43,.20), transparent 70%);
  bottom: -200px; left: -120px;
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero .eyebrow::before { background: var(--gold); }
.page-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 60px); font-weight: 500; margin: 18px 0 0; max-width: 880px; }
.page-hero .lede { color: rgba(255,255,255,.85); font-size: clamp(17px, 1.5vw, 20px); margin: 20px 0 0; max-width: 680px; line-height: 1.55; }

/* ---- Photos ----
   .page-figure  = a single rounded photo (optionally with a caption), drop anywhere.
   .media-band   = a full-width photo strip between sections. */
.page-figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.page-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-figure.tall img { aspect-ratio: 4 / 5; }
.page-figure.wide img { aspect-ratio: 16 / 10; }
.page-figure figcaption { font-size: 13.5px; color: var(--muted); padding: 12px 16px; background: var(--paper); }

.media-band { position: relative; height: clamp(260px, 36vw, 440px); overflow: hidden; }
.media-band img { width: 100%; height: 100%; object-fit: cover; display: block; }
.media-band .scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(28,20,12,.5), rgba(28,20,12,0) 55%); }
.media-band .cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  color: #fff; font-family: var(--font-head); font-size: clamp(20px, 2.6vw, 30px);
  padding: 0 0 26px;
}
.media-band .cap .wrap { width: 100%; }

/* photo gallery grid */
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.photo-grid img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); }

/* ---- Photo hero variants ----
   .has-photo  = photo background behind the dark hero (all inner pages)
   .page-hero--big = taller landing-page version for Preschool / Kindergarten / Grades 1-8 */
.page-hero .hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 35%; z-index: 0;
}
.page-hero .hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(28,20,12,.88) 0%, rgba(28,20,12,.66) 48%, rgba(28,20,12,.38) 100%);
}
.page-hero.has-photo::before, .page-hero.has-photo::after { display: none; }
.page-hero--big { padding: clamp(96px, 15vw, 190px) 0 clamp(72px, 10vw, 120px); }
.page-hero--big h1 { font-size: clamp(38px, 5.6vw, 68px); }
.page-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }

/* ---- Header quick links (Preschool / Kindergarten / Grades 1-8) ---- */
.header-inner .brand { margin-right: 26px; }
.quick-links { display: flex; align-items: center; gap: 2px; margin-right: auto; }
.quick-links a {
  padding: 10px 13px; border-radius: 9px;
  font-size: 15px; font-weight: 700; color: var(--ink-soft);
  white-space: nowrap;
  transition: color .15s, background .15s;
}
.quick-links a:hover { color: var(--orange-deep); background: var(--cream-2); }
@media (max-width: 1020px) {
  .quick-links { display: none; }
  .header-inner .brand { margin-right: auto; }
}

/* ---- Family resource cards (lunch menu, calendars, newsletter) ---- */
.resource-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.resource-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 20px; transition: transform .15s, box-shadow .2s, border-color .2s;
}
.resource-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); border-color: var(--line-strong); }
.resource-card .ric {
  width: 42px; height: 42px; border-radius: 11px; flex: none;
  display: grid; place-items: center;
  background: var(--orange-tint); color: var(--orange-deep);
}
.resource-card:nth-child(2n) .ric { background: var(--gold-tint); color: #a9760a; }
.resource-card .ric svg { width: 21px; height: 21px; }
.resource-card b { display: block; font-size: 15px; color: var(--ink); }
.resource-card small { display: block; font-size: 12.5px; font-weight: 500; color: var(--muted); margin-top: 1px; }

/* ---- Curriculum subject grid (grade landing pages) ---- */
.subject-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 14px; }
.subject {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 20px 22px;
}
.subject h3 { font-size: 18px; margin: 0 0 6px; }
.subject p { font-size: 14.5px; color: var(--muted); margin: 0; line-height: 1.55; }
.section--cream2 .subject { border-color: var(--line-strong); }

/* ---- Teacher spotlight ---- */
.teacher-spot {
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow-sm);
}
.teacher-spot img { width: 116px; height: 116px; border-radius: 50%; object-fit: cover; object-position: center 20%; }
.teacher-spot h3 { font-size: 22px; margin: 0 0 2px; }
.teacher-spot .role { font-size: 13.5px; font-weight: 700; color: var(--orange-deep); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 10px; }
.teacher-spot p { font-size: 15px; color: var(--muted); margin: 0; }
@media (max-width: 560px) {
  .teacher-spot { grid-template-columns: 1fr; text-align: center; }
  .teacher-spot img { margin-inline: auto; }
}

/* staff card headshots */
.staff-card img.headshot { width: 100%; height: auto; border-radius: var(--radius-sm); margin-bottom: 14px; display: block; }

/* breadcrumb */
.crumbs { font-size: 13.5px; font-weight: 600; letter-spacing: .02em; color: rgba(255,255,255,.6); margin-bottom: 4px; }
.crumbs a { color: rgba(255,255,255,.78); }
.crumbs a:hover { color: #fff; }
.crumbs span { margin: 0 8px; opacity: .5; }

/* prose / rich text */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(26px, 3vw, 38px); margin: 0 0 14px; }
.prose h2:not(:first-child) { margin-top: 8px; }
.prose h3 { font-size: clamp(20px, 2vw, 25px); margin: 0 0 10px; }
.prose p { color: var(--ink-soft); margin: 0 0 18px; font-size: 17px; }
.prose p:last-child { margin-bottom: 0; }
.prose a { color: var(--orange-deep); font-weight: 600; }
.prose a:hover { text-decoration: underline; }
/* buttons inside prose must NOT inherit the link color (label was blending into the button) */
.prose a.btn, .prose a.btn:hover { text-decoration: none; }
.prose a.btn--primary { color: #fff; }
.prose a.btn--ghost { color: var(--ink); }
.prose ul { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 28px; color: var(--ink-soft); font-size: 16.5px; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 14px;
  background: var(--orange-tint); border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--orange);
}
.prose blockquote {
  margin: 0 0 22px; padding: 20px 26px; border-left: 4px solid var(--gold);
  background: var(--cream-2); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-head); font-style: italic; font-size: 20px; color: var(--ink); line-height: 1.5;
}
.prose blockquote cite { display: block; margin-top: 10px; font-style: normal; font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--muted); }

/* content layout with sticky aside */
.page-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.page-aside { position: sticky; top: 90px; display: grid; gap: 18px; }

/* info card (used in asides + CTAs) */
.info-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm);
}
.info-card.dark { background: var(--ink); color: #fff; border-color: transparent; }
.info-card.dark h3 { color: #fff; }
.info-card.dark p { color: rgba(255,255,255,.8); }
.info-card h3 { font-size: 21px; margin: 0 0 10px; }
.info-card p { font-size: 15px; color: var(--muted); margin: 0 0 16px; }
.info-card .contact-row { display: grid; gap: 12px; margin: 4px 0 0; }
.info-card .contact-row a { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; font-weight: 500; color: inherit; }
.info-card .contact-row svg { width: 17px; height: 17px; color: var(--orange); flex: none; margin-top: 2px; }
.info-card.dark .contact-row svg { color: var(--gold); }
.info-card .btn { width: 100%; }

/* feature cards grid */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.feature-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.feature-card .ico {
  width: 50px; height: 50px; border-radius: 13px; display: grid; place-items: center;
  background: var(--orange-tint); color: var(--orange-deep); margin-bottom: 16px;
}
.feature-card:nth-child(2n) .ico { background: var(--gold-tint); color: #a9760a; }
.feature-card .ico svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 19px; margin: 0 0 7px; }
.feature-card p { font-size: 15px; color: var(--muted); margin: 0; }

/* data table */
.ztable-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.ztable { width: 100%; border-collapse: collapse; min-width: 520px; background: var(--paper); }
.ztable th, .ztable td { text-align: left; padding: 15px 18px; font-size: 15.5px; border-bottom: 1px solid var(--line); }
.ztable thead th { background: var(--cream-2); font-family: var(--font-body); font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.ztable tbody tr:last-child td { border-bottom: none; }
.ztable tbody td:first-child { font-weight: 600; color: var(--ink); }

/* timeline (school history) */
.timeline { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 96px 1fr; gap: 22px; padding: 18px 0; border-top: 1px solid var(--line); }
.timeline li:first-child { border-top: none; }
.timeline .yr { font-family: var(--font-head); font-size: 26px; font-weight: 600; color: var(--orange-deep); line-height: 1; }
.timeline .ev { font-size: 16px; color: var(--ink-soft); margin: 0; }

/* staff grid */
.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.staff-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 22px 20px; }
.staff-card .av {
  width: 128px; height: 128px; border-radius: 50%; background: var(--orange-tint); color: var(--orange-deep);
  display: grid; place-items: center; font-weight: 700; font-size: 38px; margin-bottom: 14px;
}
.staff-card:nth-child(3n) .av { background: var(--gold-tint); color: #a9760a; }
.staff-card h3 { font-size: 17px; margin: 0 0 3px; font-family: var(--font-body); font-weight: 700; }
.staff-card .role { font-size: 13.5px; color: var(--orange-deep); font-weight: 600; margin: 0 0 8px; }
.staff-card .bio { font-size: 13.5px; color: var(--muted); margin: 0; line-height: 1.5; }
.staff-group-title { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }

/* pill list (sports / programs) */
.pill-row { display: flex; flex-wrap: wrap; gap: 9px; margin: 0; padding: 0; }
.pill-row .pill { font-size: 14px; font-weight: 600; color: var(--ink-soft); background: var(--cream-2); border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; }

/* sport cards */
.sport-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; }
.sport-card .top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 8px; }
.sport-card h3 { font-size: 20px; margin: 0; }
.sport-card .grades { font-size: 12.5px; font-weight: 700; color: var(--orange-deep); background: var(--orange-tint); padding: 4px 11px; border-radius: 999px; white-space: nowrap; }
.sport-card p { font-size: 15px; color: var(--muted); margin: 0 0 12px; }
.sport-card .season { font-size: 13.5px; font-weight: 600; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 7px; }
.sport-card .season svg { width: 15px; height: 15px; color: var(--gold); }

/* ---- Request / contact form ---- */
.zform {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-sm);
  display: grid; gap: 15px;
}
.zform label { font-size: 13.5px; font-weight: 700; color: var(--ink-soft); display: block; margin-bottom: 5px; }
.zform input, .zform select, .zform textarea {
  width: 100%; font-family: inherit; font-size: 15px; color: var(--ink);
  background: var(--cream); border: 1px solid var(--line-strong); border-radius: 10px;
  padding: 11px 13px;
}
.zform input:focus, .zform select:focus, .zform textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; }
.zform .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.zform textarea { min-height: 110px; resize: vertical; }
.zform .btn { justify-self: start; }
.form-note { font-size: 12.5px; color: var(--muted); margin: 0; }
.form-success {
  background: #e8f6ec; border: 1px solid #bce3c8; color: #1d6b3a;
  border-radius: 10px; padding: 13px 16px; font-weight: 600; font-size: 15px;
}
@media (max-width: 560px) { .zform .row2 { grid-template-columns: 1fr; } }

/* ---- Larger native forms (childcare schedule registration) ---- */
/* Full container width so it lines up flush with the .cc-cards row below. */
.zform--wide { max-width: none; }
.zform fieldset { border: none; margin: 0; padding: 0; min-width: 0; }
.zform .form-legend {
  font-family: var(--font-body); font-weight: 700; font-size: 12.5px;
  letter-spacing: .05em; text-transform: uppercase; color: var(--orange-deep);
  margin: 8px 0 0; padding-top: 16px; border-top: 1px solid var(--line);
}
.zform .form-legend.first { border-top: none; padding-top: 0; margin-top: 0; }
.zform .field-help { font-size: 13px; font-weight: 500; color: var(--muted); margin: -4px 0 2px; }
.zform .row3 { display: grid; grid-template-columns: 1.4fr 1fr .8fr; gap: 14px; }
.zform fieldset.opt-group { display: grid; gap: 10px; }
.zform .opt {
  display: flex; align-items: flex-start; gap: 10px; margin: 0;
  font-size: 15px; font-weight: 500; color: var(--ink); cursor: pointer;
  text-transform: none; letter-spacing: 0;
}
.zform .opt input { width: auto; margin: 3px 0 0; flex: none; accent-color: var(--orange); }
.zform .opt-inline { display: flex; flex-wrap: wrap; gap: 9px 24px; }
.zform .opt-inline .opt { min-width: 0; }
.zform .opt-stack { display: grid; gap: 10px; }

/* schedule checkbox grid */
.sched-table { width: 100%; border-collapse: collapse; min-width: 560px; background: var(--paper); }
.sched-table th, .sched-table td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: center; }
.sched-table thead th {
  background: var(--cream-2); font-family: var(--font-body); font-weight: 700;
  font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft);
}
.sched-table th[scope="row"] {
  text-align: left; font-weight: 600; font-size: 14.5px; color: var(--ink);
  white-space: nowrap; padding-left: 16px;
}
.sched-table tbody tr:last-child td, .sched-table tbody tr:last-child th { border-bottom: none; }
.sched-table .sched-box { display: inline-flex; margin: 0; cursor: pointer; }
.sched-table input { width: auto; margin: 0; accent-color: var(--orange); transform: scale(1.15); }

/* cards row below a full-width form */
.cc-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 22px; margin-top: 34px; align-items: start;
}

.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;
}

@media (max-width: 560px) { .zform .row3 { grid-template-columns: 1fr; } }

@media (max-width: 880px) {
  .page-grid { grid-template-columns: 1fr; }
  .page-aside { position: static; }
}

/* ============================================================
   Staff-updatable content pages
   (School / Athletic calendars, Lunch Menu, Cougar Newsletter)
   ============================================================ */

/* Responsive slot for an embedded calendar/menu (Google Calendar,
   CMS embed, etc.). Drop an <iframe> inside .embed-frame. */
.embed-frame {
  width: 100%; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line-strong); background: var(--paper);
  box-shadow: var(--shadow-sm);
}
.embed-frame iframe { display: block; width: 100%; height: clamp(560px, 76vh, 820px); border: 0; }

/* Friendly interim card shown until the dashboard/embed is connected. */
.cms-panel {
  display: grid; place-items: center; text-align: center;
  padding: clamp(40px, 6vw, 76px) 24px;
  background: var(--cream-2); border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}
.cms-panel .cms-ic {
  width: 58px; height: 58px; border-radius: 15px; display: grid; place-items: center;
  background: var(--orange-tint); color: var(--orange-deep); margin-bottom: 18px;
}
.cms-panel .cms-ic svg { width: 28px; height: 28px; }
.cms-panel h3 { font-family: var(--font-head); font-size: clamp(22px, 2.4vw, 28px); font-weight: 500; margin: 0 0 10px; color: var(--ink); }
.cms-panel p { max-width: 540px; margin: 0 auto 22px; color: var(--muted); font-size: 16px; line-height: 1.6; }
.cms-panel p:last-child { margin-bottom: 0; }
.cms-panel .hero-actions { justify-content: center; margin-top: 0; }

/* Cougar Newsletter — dated post list */
.news-list { display: grid; gap: 16px; max-width: 820px; }
.news-item {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 3vw, 28px); transition: box-shadow .2s, border-color .2s;
}
.news-item:hover { box-shadow: var(--shadow-sm); border-color: var(--line-strong); }
.news-date {
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; letter-spacing: .03em;
  text-transform: uppercase; color: var(--orange-deep);
}
.news-item h3 { font-family: var(--font-head); font-size: clamp(20px, 2vw, 25px); font-weight: 500; margin: 7px 0 10px; color: var(--ink); }
.news-item p { color: var(--ink-soft); font-size: 16px; line-height: 1.6; margin: 0; }

/* Newsletter — clickable post titles + "read more" */
.news-item h3 a { color: inherit; text-decoration: none; }
.news-item h3 a:hover { color: var(--orange-deep); }
.news-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 14px;
  font-size: 14.5px; font-weight: 700; color: var(--orange-deep);
}
.news-more svg { width: 15px; height: 15px; transition: transform .15s; }
.news-item:hover .news-more svg { transform: translateX(3px); }

/* Newsletter article (single-post) page */
.article-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.article-actions .btn svg { width: 17px; height: 17px; margin-right: 8px; }
.news-back { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; color: var(--orange-deep); }
.news-back:hover { text-decoration: underline; }

/* Childcare — room cards + at-a-glance facts */
.room-list { display: grid; gap: 16px; }
.room-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); }
.section--cream2 .room-card { border-color: var(--line-strong); }
.room-card .room-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 12px; }
.room-card h3 { font-family: var(--font-head); font-size: clamp(20px, 2vw, 25px); font-weight: 500; margin: 0; color: var(--ink); }
.room-card .room-type { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.room-card .room-age { margin-left: auto; font-family: var(--font-mono); font-size: 12.5px; font-weight: 600; color: var(--orange-deep); background: var(--orange-tint); padding: 5px 12px; border-radius: 999px; white-space: nowrap; }
.room-card p { color: var(--ink-soft); font-size: 16px; line-height: 1.62; margin: 0; }

/* At-a-glance fact rows (childcare aside) */
.fact-row { display: grid; gap: 3px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.fact-row:last-child { border-bottom: 0; padding-bottom: 0; }
.fact-row .fact-k { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.fact-row .fact-v { font-size: 16px; font-weight: 600; color: var(--ink); }


/* ---- Corrections: legibility + social icons + email overflow ---- */
/* Larger, easier-to-tap Facebook/Instagram icons in the top bar */
.topbar .tb-social svg { width: 20px; height: 20px; }
.topbar .tb-social a { padding: 3px; }

/* Long email addresses must wrap inside contact cards (Contact page fix) */
.info-card .contact-row a { overflow-wrap: anywhere; min-width: 0; }

/* Stronger contrast for white text on dark boxes */
.info-card.dark p { color: rgba(255,255,255,.9); }
.section--dark .section-head .sub { color: rgba(255,255,255,.85); }
.page-hero .lede { color: rgba(255,255,255,.9); }
