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

:root {
  /* palette */
  --ink: #211c16;
  --ink-soft: #463d33;
  --muted: #6f655a;
  --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%; }
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; }
.btn--primary { background: var(--action); color: #fff; box-shadow: 0 6px 16px rgba(232,116,43,.32); }
.btn--primary:hover { background: var(--action-deep); transform: translateY(-2px); box-shadow: 0 10px 22px rgba(232,116,43,.38); }
.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; }

/* ============================================================
   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;
  }

  /* 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); }

/* 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; }
.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: 52px; height: 52px; border-radius: 50%; background: var(--orange-tint); color: var(--orange-deep);
  display: grid; place-items: center; font-weight: 700; font-size: 18px; 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); }

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