/* style.css — Alpharetta International Academy
   Design direction: Warm Montessori Naturalism
   Terracotta + sage + cream, organic serif display, rounded body sans
*/

:root {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.5rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.9rem;
  --radius-xl: 1.5rem;
  --radius-full: 9999px;
  --radius-hero: var(--radius-xl);

  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  --content-default: 1120px;
  --content-wide: 1320px;

  --color-bg: #fcfaf7;              /* Paper: warm but near-white, lets photos and type read crisply */
  --color-surface: #ffffff;
  --color-surface-offset: #f2e9dc;  /* Linen: the old cream, now used as a deliberate band */
  --color-surface-offset-2: #eadfcd;
  --color-border: #e7dccb;
  --color-divider: #ece2d3;
  --color-text: #1e2430;            /* Ink: cooler than the old brown, reads sharper */
  --color-text-muted: #6a6357;
  --color-text-faint: #b3a390;
  --color-text-inverse: #f3eee5;

  --color-primary: #14304f;         /* Navy, a touch deeper so it works as a full band */
  --color-primary-hover: #10273f;
  --color-primary-active: #0e2238;
  --color-primary-highlight: #dce7ee;

  --color-accent: #C9883A;
  --color-accent-hover: #a86f28;
  --color-accent-text: #8a5a1f;

  --color-accent-2: #7c8b5a;
  --color-accent-2-highlight: #e3e7d5;

  --color-error: #a12c7b;
  --color-success: #437a22;

  --shadow-sm: 0 1px 2px rgba(30, 36, 48, 0.04);
  --shadow-md: 0 1px 2px rgba(30, 36, 48, 0.04), 0 14px 30px -20px rgba(30, 36, 48, 0.30);
  --shadow-lg: 0 2px 4px rgba(30, 36, 48, 0.05), 0 26px 50px -24px rgba(30, 36, 48, 0.38);

  /* Display face: Playfair Display. Fraunces was trialled 7/26/26 and rejected —
     its f and g read as unsteady at headline sizes. The typesetting refinements
     (tracking, leading, balance) live in the theme layer at the bottom of this file
     and are independent of the face, so they stay whatever font is chosen. */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;

  --section-padding: clamp(var(--space-16), 8vw, var(--space-24));

  color-scheme: light;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
}

/* ---------- Layout helpers ---------- */
.wrap {
  width: 100%;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.wrap-narrow {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  padding-inline: var(--space-6);
}
.section {
  padding-block: var(--section-padding);
}
.section-tight {
  padding-block: clamp(var(--space-10), 5vw, var(--space-16));
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-accent-text);
}
.section-head {
  max-width: 680px;
  margin-bottom: var(--space-12);
}
.section-head h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  margin-top: var(--space-3);
  font-weight: 600;
}
.section-head p {
  margin-top: var(--space-4);
  color: var(--color-text-muted);
  font-size: var(--text-lg);
}
.section-head.center {
  margin-inline: auto;
  text-align: center;
}
.prose { max-width: 70ch; }
.prose p { margin-bottom: var(--space-5); color: var(--color-text); font-size: var(--text-base); line-height: 1.65; }
.prose h2 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; margin: var(--space-10) 0 var(--space-4); }
.prose h3 { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; margin: var(--space-8) 0 var(--space-3); }
.content-h2 { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; margin-top: var(--space-3); }
.prose ul { margin: 0 0 var(--space-5) var(--space-6); list-style: disc; color: var(--color-text); }
.prose li { margin-bottom: var(--space-2); font-size: var(--text-base); }

/* ---------- Utility bar ---------- */
.utility-bar {
  background: var(--color-primary-active);
  color: var(--color-text-inverse);
}
.utility-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-2);
  font-size: var(--text-xs);
  gap: var(--space-4);
  flex-wrap: wrap;
}
.utility-bar a { color: var(--color-text-inverse); opacity: 0.92; text-decoration: none; }
.utility-bar a:hover { opacity: 1; text-decoration: underline; }
.utility-left { display: flex; align-items: center; gap: var(--space-5); }
.utility-right { display: flex; align-items: center; gap: var(--space-4); font-weight: 700; }
.lang-toggle { display: inline-flex; gap: 4px; align-items: center; }
.lang-toggle button { opacity: 0.7; font-weight: 700; }
.lang-toggle button.active { opacity: 1; text-decoration: underline; }

/* ---------- Header / nav ---------- */
#our-founder, #governance, #resources {
  scroll-margin-top: 100px;
}



.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 246, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-4);
  gap: var(--space-6);
}
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: var(--space-3);
  color: var(--color-text);
  flex-shrink: 0;
}
.brand svg {
  width: 38px;
  height: 38px;
  color: var(--color-primary);
  flex-shrink: 0;
}
.brand-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-name-lockup {
  height: 52px;
  width: auto;
  display: block;
}
.brand-text-compact { display: none; }
.brand-name-lockup--title { height: 26px; width: auto; display: block; }
.brand-text-sub {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-accent-text);
  white-space: nowrap;
}
.brand-name-lockup--footer {
  height: 44px;
  flex-shrink: 0;
}
.footer-brand .brand {
  flex-wrap: wrap;
  align-items: flex-start;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}
.main-nav > ul {
  display: flex;
  gap: var(--space-6);
  font-size: var(--text-sm);
  font-weight: 700;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav > ul > li { position: relative; }
.main-nav > ul > li > a {
  color: var(--color-text);
  padding: var(--space-2) 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
}
.main-nav > ul > li > a:hover { color: var(--color-primary); }
.main-nav > ul > li > a.nav-active { color: var(--color-primary); box-shadow: 0 2px 0 var(--color-primary); }
/* ---------- Nav dropdown ---------- */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: -14px;
  min-width: 300px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: var(--transition-interactive);
  z-index: 60;
}
.main-nav > ul > li:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(8px);
}
.nav-dropdown a {
  text-decoration: none;
  display: block;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
  font-weight: 600;
}
.nav-dropdown a:hover { background: var(--color-surface-offset); color: var(--color-text); }
.nav-dropdown .nav-sub-group {
  display: block;
  padding: var(--space-3) var(--space-4) var(--space-1);
  margin-top: var(--space-2);
  font-family: var(--font-display, inherit);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  border-top: 1px solid var(--color-border);
}
.nav-dropdown .nav-sub-group:first-child {
  margin-top: 0;
  border-top: none;
}
.nav-dropdown a { padding-left: var(--space-5); }
.nav-dropdown a.nav-sub-active {
  background: var(--color-surface-offset);
  color: var(--color-primary);
  font-weight: 700;
  position: relative;
  padding-left: calc(var(--space-4) + 14px);
}
.nav-dropdown a.nav-sub-active::before {
  content: "";
  position: absolute;
  left: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}
.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.nav-toggle-btn { display: none; }
.nav-home-mobile { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: var(--text-sm);
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
  min-height: 44px;
}
.btn-primary:hover { background: var(--color-primary-hover); }
.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  min-height: 44px;
}
.btn-ghost:hover { background: var(--color-primary-highlight); border-color: var(--color-primary); }
.btn-sm { padding: var(--space-2) var(--space-4); font-size: var(--text-xs); min-height: 36px; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  padding-block: clamp(var(--space-10), 5vw, var(--space-16));
  background: var(--color-surface-offset);
}
.page-hero .wrap { max-width: 820px; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  margin-top: var(--space-3);
}
.page-hero p.lede {
  margin-top: var(--space-4);
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 60ch;
}
.breadcrumb { font-size: var(--text-xs); color: var(--color-text-muted); margin-bottom: var(--space-4); }
.breadcrumb a { color: var(--color-text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-primary); }

/* ---------- Full hero (home) ---------- */
.hero { padding-block: clamp(var(--space-10), 6vw, var(--space-20)); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-16); align-items: center; }
.hero-headline { font-family: var(--font-display); margin-top: var(--space-4); }
.hero-headline .h-line { display: block; }
.hero-headline .h-line-1 { font-size: clamp(2.1rem, 1.3rem + 3.1vw, 3.4rem); font-weight: 700; line-height: 1.15; color: var(--color-text); }
.hero-headline .h-line-2 { font-size: clamp(1.35rem, 1rem + 1.4vw, 1.9rem); font-weight: 500; line-height: 1.3; color: var(--color-text); margin-top: var(--space-3); }
.hero-headline .h-line-3 { font-size: clamp(1.1rem, 0.9rem + 0.85vw, 1.5rem); font-weight: 400; font-style: italic; line-height: 1.4; color: #5a4c3d; margin-top: var(--space-2); }
.hero-copy p.lede { margin-top: var(--space-8); font-size: var(--text-lg); color: var(--color-text-muted); max-width: 46ch; }
.hero-actions { display: flex; gap: var(--space-4); margin-top: var(--space-8); flex-wrap: wrap; }
.hero-stats { display: flex; gap: var(--space-8); margin-top: var(--space-12); flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-primary); }
.hero-stats div span { font-size: var(--text-xs); color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: 40px 24px 40px 24px; box-shadow: var(--shadow-lg); }
.hero-media .badge-float {
  position: absolute; bottom: -6px; left: var(--space-6);
  background: var(--color-surface); color: var(--color-text);
  padding: 0.77rem 0.95rem; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: var(--space-3);
  font-size: 0.7rem; max-width: 195px; white-space: normal;
}

/* ---------- Mission strip ---------- */
.mission-strip { background: var(--color-primary); color: var(--color-text-inverse); }
.mission-strip blockquote { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 500; max-width: 900px; margin-inline: auto; text-align: center; line-height: 1.35; }
.mission-strip .words { display: flex; gap: var(--space-6); justify-content: center; margin-top: var(--space-8); flex-wrap: wrap; font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.85; font-weight: 700; }

/* ---------- Cards: programs / pillars / info / staff ---------- */
.programs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.pillars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: var(--space-6); }
.cards-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.cards-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-6); }

.program-card, .info-card, .staff-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.program-card:hover, .info-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); transition: var(--transition-interactive); }
.card-ic, .program-card .ic {
  width: 44px; height: 44px; border-radius: var(--radius-full);
  background: var(--color-primary-highlight); color: var(--color-primary);
  display: grid; place-items: center; font-size: 1.3rem;
}
/* C11: shared line icons inherit the container color via currentColor */
.ic-svg { width: 24px; height: 24px; display: block; }
.card-ic .ic-svg, .program-card .ic .ic-svg { width: 24px; height: 24px; }
.badge-float .ic-svg { width: 17px; height: 17px; color: var(--color-accent-text); flex-shrink: 0; }
.accred-logo { height: 56px; max-width: 100%; width: auto; object-fit: contain; object-position: left center; }
.facts-logo-badge { height: 32px; max-width: 100%; width: auto; object-fit: contain; object-position: left center; margin-bottom: var(--space-2); }
.facts-logo-inline { height: 28px; max-width: 100%; width: auto; object-fit: contain; display: block; margin: var(--space-4) auto 0; }
/* Contact cards: pin the phone/email line to the bottom edge so they align
   across the row even when descriptions differ in length. */
.contact-card { display: flex; flex-direction: column; }
.contact-card .contact-line { margin-top: auto; padding-top: var(--space-3); font-weight: 600; }

.program-card h3, .info-card h3 { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; margin-top: var(--space-2); }
.program-card p, .info-card p { font-size: var(--text-sm); color: var(--color-text-muted); }
.program-card .age { font-size: var(--text-xs); font-weight: 700; color: var(--color-accent-2); letter-spacing: 0.04em; text-transform: uppercase; }
.program-card em { color: var(--color-primary); font-style: normal; font-weight: 700; display: block; }

.staff-card { text-align: center; align-items: center; }
.staff-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-full); margin-bottom: var(--space-2); }
.avatar-initials { width: 72px; height: 72px; border-radius: var(--radius-full); background: var(--color-primary); color: var(--color-text-inverse); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; font-size: var(--text-base); margin: 0 auto var(--space-3); flex-shrink: 0; }
.avatar-initials.lg { width: 128px; height: 128px; font-size: var(--text-xl); background: var(--color-accent-text); }
.staff-card .staff-photo, .staff-photo { width: 220px; height: 220px; border-radius: var(--radius-full); object-fit: cover; display: block; margin: 0 auto var(--space-4); flex-shrink: 0; border: 4px solid var(--color-surface); box-shadow: var(--shadow-sm); }
.staff-card .staff-photo.lg, .staff-photo.lg { width: 400px; height: 400px; margin: 0 auto var(--space-4); border-width: 6px; }
.staff-photo.full { width: 100%; max-width: 420px; height: auto; aspect-ratio: 773 / 1030; border-radius: var(--radius-xl); object-fit: cover; display: block; margin: 0 auto var(--space-4); border: 6px solid var(--color-surface); box-shadow: var(--shadow-md); }
.tenure-row {
  display: grid; grid-template-columns: repeat(6, 1fr);
  align-items: start; gap: var(--space-8) var(--space-5); margin-top: var(--space-10);
}
.tenure-card { text-align: center; }
@media (max-width: 1080px) { .tenure-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px)  { .tenure-row { grid-template-columns: 1fr 1fr; gap: var(--space-6) var(--space-4); } }
/* The figure is stacked: a large number with the word small underneath.
   Stacking also means the number can grow without breaking the six-across row. */
.tenure-card strong { display: block; color: var(--color-accent-text); }
.tenure-card strong b {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.1rem, 1.4rem + 1.6vw, 3rem);
  line-height: 1; letter-spacing: -0.01em;
}
.tenure-card strong i {
  display: block; font-style: normal;
  font-family: var(--font-body); font-size: var(--text-xs); font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-text-muted); margin-top: var(--space-2);
}
.tenure-card span { display: block; font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-2); }
.staff-group-head { margin-top: var(--space-16); margin-bottom: var(--space-6); }
.staff-group-head h3 { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; border-bottom: 2px solid var(--color-accent); padding-bottom: var(--space-3); display: inline-block; }
.staff-card h3 { font-family: var(--font-display); font-size: var(--text-base); font-weight: 600; }
.staff-card .role { font-size: var(--text-xs); color: var(--color-accent-2); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.staff-card p { font-size: var(--text-sm); color: var(--color-text-muted); }

/* ---------- Faculty grid: four across, smaller portraits ---------- */
.staff-grid { grid-template-columns: repeat(4, 1fr); gap: var(--space-5); align-items: stretch; }
.staff-grid .staff-card { display: flex; flex-direction: column; padding: var(--space-5); }

/* Portrait sized for a four-up card rather than the 220px used elsewhere. */
.staff-grid .staff-photo {
  width: 200px; height: 200px; border-width: 3px;
  max-width: 100%;                     /* never let the circle touch the card edge */
  margin: 0 auto var(--space-3);
}

/* Fixed rows so name, role and bio start at the same height on every card. */
.staff-grid .staff-card h3 {
  min-height: 2.6em; display: flex; align-items: flex-end;
  justify-content: center; text-align: center; margin-bottom: var(--space-1);
}
.staff-grid .staff-card .role {
  min-height: 4.2em;                   /* three lines: the Spanish roles are long */
  display: flex; align-items: flex-start;
  justify-content: center; text-align: center; margin-bottom: var(--space-3);
}
.staff-grid .staff-card p { margin-top: 0; text-align: center; }

@media (max-width: 1080px) { .staff-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .staff-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  {
  .staff-grid { grid-template-columns: 1fr; }
  .staff-grid .staff-card h3 { min-height: 0; }
  .staff-grid .staff-card .role { min-height: 0; }
  .staff-grid .staff-photo { width: 160px; height: 160px; }
}


/* ---------- Pull line: a single sentence lifted out as a statement ---------- */
.pull-line {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-primary);
  max-width: 760px;
  margin: var(--space-10) auto;
  padding: var(--space-6) 0;
  text-align: center;
  border-top: 1px solid var(--color-accent);
  border-bottom: 1px solid var(--color-accent);
  text-wrap: balance;
}
.pull-line span {
  display: block;
  margin-top: var(--space-2);
  color: var(--color-accent-text);
  font-style: italic;
  font-weight: 400;               /* the only Playfair italic the site loads; 500 would be faked */
}
@media (max-width: 560px) { .pull-line { margin: var(--space-8) auto; padding: var(--space-5) 0; } }

/* ---------- Quote / testimonial ---------- */
.quote-block { background: var(--color-surface); border-radius: var(--radius-lg); padding: var(--space-8); box-shadow: var(--shadow-sm); max-width: 640px; }
.quote-block p { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 500; color: var(--color-text); }
.quote-block footer { margin-top: var(--space-4); font-size: var(--text-xs); font-weight: 700; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.04em; }

.testimonial-band { background: var(--color-surface-offset); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
.testimonial-card { background: var(--color-surface); border-radius: var(--radius-lg); padding: var(--space-8); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: var(--space-4); }
.testimonial-card .stars { color: var(--color-accent-2); font-size: var(--text-sm); letter-spacing: 0.15em; }
.testimonial-card p { font-size: var(--text-base); color: var(--color-text); }
.testimonial-card footer { font-size: var(--text-xs); font-weight: 700; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------- Split narrative ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: center; }
.split img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-hero); box-shadow: var(--shadow-md); }
.split-reverse > img { order: 2; }
.split-reverse > div { order: 1; }

/* ---------- Brand statement ---------- */
.brand-statement { text-align: center; padding-block: clamp(var(--space-20), 10vw, var(--space-24)); }
.brand-statement h2 { font-family: var(--font-display); font-weight: 700; color: var(--color-primary); letter-spacing: -0.01em; }
.brand-statement .bs-line { display: block; font-size: clamp(2.25rem, 1.4rem + 3.6vw, 4rem); line-height: 1.15; }
.brand-statement .bs-line + .bs-line { margin-top: var(--space-3); }

/* ---------- CTA banner ---------- */
.cta-banner { border-radius: var(--radius-xl); background: var(--color-surface-offset); padding: clamp(var(--space-10), 6vw, var(--space-16)); display: flex; align-items: center; justify-content: space-between; gap: var(--space-8); flex-wrap: wrap; }
.cta-banner h2 { font-family: var(--font-display); font-size: var(--text-xl); max-width: 480px; }
.cta-banner-actions { display: flex; gap: var(--space-4); flex-wrap: wrap; }

/* ---------- Steps (admissions process) ---------- */
.steps-list { display: grid; gap: var(--space-6); }
.step-item { display: flex; gap: var(--space-5); align-items: flex-start; }
.step-num {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: var(--radius-full);
  background: var(--color-accent-text); color: #ffffff; font-family: var(--font-display);
  font-weight: 600; display: grid; place-items: center; font-size: var(--text-base);
}
.step-item h3 { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; }
.step-item p { color: var(--color-text-muted); margin-top: var(--space-2); }

/* ---------- Tables (tuition) ---------- */
.table-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.data-table { width: 100%; min-width: 560px; border-collapse: collapse; background: var(--color-surface); border-radius: var(--radius-lg); box-shadow: none; }
.data-table th, .data-table td { padding: var(--space-4) var(--space-5); text-align: left; border-bottom: 1px solid var(--color-divider); font-size: var(--text-sm); }
.data-table th { background: var(--color-surface-offset); font-weight: 700; text-transform: uppercase; font-size: var(--text-xs); letter-spacing: 0.04em; color: var(--color-text-muted); }
.data-table tr:last-child td { border-bottom: none; }

/* ---------- Accordion (FAQ) ---------- */
.accordion { display: grid; gap: var(--space-3); }
.accordion-item { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.accordion-item summary { padding: var(--space-5); font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary::after { content: '+'; font-size: 1.3rem; color: var(--color-primary); font-weight: 400; }
.accordion-item[open] summary::after { content: '\2212'; }
.accordion-item p { padding: 0 var(--space-5) var(--space-5); color: var(--color-text-muted); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-5); }
.form-field { display: flex; flex-direction: column; gap: var(--space-2); min-width: 0; }
.form-field.full { grid-column: 1 / -1; }
.form-field > label { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--color-text-muted); }
.form-field input, .form-field select, .form-field textarea {
  padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); border: 1px solid var(--color-border);
  background: var(--color-surface); font-family: var(--font-body); font-size: var(--text-base); color: var(--color-text);
  min-height: 44px;
}
.form-field textarea { min-height: 120px; resize: vertical; }
/* C16: consistent required-field marker (label text ends with the .req asterisk) */
.form-field label .req { color: var(--color-accent-text); font-weight: 700; margin-left: 2px; }
.form-note { font-size: var(--text-xs); color: var(--color-text-faint); margin-top: var(--space-2); }

/* Shared form success / error confirmation boxes — on-brand sage + terracotta */
.form-success {
  background: var(--color-accent-2-highlight);
  border: 1px solid var(--color-accent-2);
  color: #3d4726;
  padding: var(--space-5);
  border-radius: var(--radius-md);
  margin-top: var(--space-5);
  font-family: inherit;
  font-size: var(--text-base);
  line-height: 1.6;
}
.form-success strong { color: #2f3a1e; }
.form-success a { color: var(--color-accent-text); text-decoration: underline; }
.form-success p { margin: 0 0 var(--space-2) 0; }
.form-success p:last-child { margin-bottom: 0; }

.form-error {
  background: #fbe8ef;
  border: 1px solid var(--color-error);
  color: #6b1e50;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
  font-family: inherit;
  font-size: var(--text-base);
  line-height: 1.6;
}
.form-error strong { color: var(--color-error); }

/* Camp sign-up: activity checkbox list + live running total */
.camp-activities { display: flex; flex-direction: column; gap: var(--space-3); min-width: 0; }
.camp-activity {
  display: flex; align-items: center; gap: var(--space-3); min-width: 0;
  padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); border: 1px solid var(--color-border);
  background: var(--color-surface); cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease;
  text-transform: none; letter-spacing: normal;
}
.camp-activity:hover { border-color: var(--color-accent); }
.camp-activity input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--color-accent); flex-shrink: 0; }
.camp-activity-text { flex: 1; min-width: 0; font-size: var(--text-sm); color: var(--color-text); overflow-wrap: break-word; }
.camp-activity-text strong { font-weight: 700; }
.camp-activity-text span { display: block; color: var(--color-text-muted); font-size: var(--text-xs); margin-top: 2px; }
.camp-activity-price { font-weight: 700; color: var(--color-accent-text); font-size: var(--text-sm); white-space: nowrap; }
.camp-total {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: var(--space-4); padding: var(--space-4) var(--space-5); border-radius: var(--radius-md);
  background: var(--color-surface-offset); font-size: var(--text-sm); font-weight: 700; color: var(--color-text);
}
.camp-total span:last-child { color: var(--color-accent-text); font-size: var(--text-lg); }

/* Camp cards: clickable brochure trigger + enrollment note */
.elective-card-btn, .elective-card-static {
  display: block; width: 100%; background: none; border: none; padding: 0; margin: 0;
  text-align: left; font-family: inherit; border-radius: var(--radius-lg);
}
.elective-card-btn { cursor: pointer; }
.elective-card-btn:focus-visible .elective-card { outline: 2px solid var(--color-accent); outline-offset: 2px; }
.elective-card-btn:hover .elective-card img { transform: scale(1.04); }
.elective-enroll-note {
  display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-3);
  font-size: var(--text-xs); line-height: 1.4;
}
.elective-enroll-note .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-success); flex-shrink: 0; }
.elective-enroll-note strong { color: var(--color-success); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.elective-enroll-note .cta-arrow { color: var(--color-primary); font-weight: 700; }

/* Inactive elective card (not offered this session): dimmed/greyscale, non-clickable */
.elective-card.is-inactive { cursor: default; }
.elective-card.is-inactive img { filter: grayscale(85%) brightness(0.8); opacity: 0.55; }
.elective-card.is-inactive::after { background: linear-gradient(180deg, rgba(20,16,10,0.05) 45%, rgba(20,16,10,0.6) 100%); }
.elective-card.is-inactive:hover img { transform: none; }
.elective-card.is-inactive .elective-card-label { color: rgba(255,255,255,0.75); }
.elective-card.is-inactive .elective-card-label span { color: rgba(255,255,255,0.55); }
.elective-inactive-note {
  display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-3);
  font-size: var(--text-xs); line-height: 1.4; color: var(--color-text-faint);
}
.elective-inactive-note .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-text-faint); flex-shrink: 0; }
.elective-inactive-note strong { color: var(--color-text-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }

/* Camp brochure modal */
.camp-modal-overlay {
  position: fixed; inset: 0; z-index: 2000; background: rgba(27, 58, 92, 0.55);
  display: flex; align-items: center; justify-content: center; padding: var(--space-6);
}
.camp-modal-overlay[hidden] { display: none; }
.camp-modal {
  position: relative; background: var(--color-surface); color: var(--color-text);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
  width: 100%; max-width: 580px; max-height: calc(100vh - 2 * var(--space-6)); overflow-y: auto;
}
.camp-modal-img { width: 100%; height: 220px; object-fit: cover; display: block; border-radius: var(--radius-xl) var(--radius-xl) 0 0; }
.camp-modal-body { padding: clamp(var(--space-6), 4vw, var(--space-8)); }
.camp-modal-close {
  position: absolute; top: var(--space-4); right: var(--space-4); z-index: 2;
  width: 36px; height: 36px; border-radius: var(--radius-full);
  border: 1px solid var(--color-border); background: var(--color-surface);
  color: var(--color-text-muted); font-size: 1rem; cursor: pointer; line-height: 1;
}
.camp-modal-close:hover { color: var(--color-primary); }
.camp-modal-badge {
  display: inline-block; padding: 4px 12px; border-radius: var(--radius-full);
  background: var(--color-accent-2-highlight); color: var(--color-accent-2);
  font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
}
.camp-modal-title { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; margin-top: var(--space-3); }
.camp-modal-meta { margin-top: var(--space-4); display: grid; gap: var(--space-2); }
.camp-modal-meta-row { display: flex; gap: var(--space-3); align-items: baseline; font-size: var(--text-sm); }
.camp-modal-meta-row strong {
  min-width: 100px; flex-shrink: 0; color: var(--color-text-muted); font-weight: 700;
  text-transform: uppercase; font-size: var(--text-xs); letter-spacing: 0.03em;
}
.camp-modal-desc { margin-top: var(--space-5); font-size: var(--text-base); line-height: 1.7; color: var(--color-text); }
.camp-modal-credentials {
  margin-top: var(--space-3); font-size: var(--text-sm); line-height: 1.6; color: var(--color-text-muted);
}
.camp-modal-placeholder {
  margin-top: var(--space-4); padding: var(--space-3) var(--space-4); border-radius: var(--radius-md);
  background: #fdf3d8; border: 1px dashed #c9a227; color: #6b551a; font-size: var(--text-xs); line-height: 1.6;
}
.camp-modal-cta { margin-top: var(--space-6); display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

/* ---------- Info banner / notice ---------- */
.notice-banner { background: var(--color-accent-2-highlight); border: 1px solid var(--color-accent-2); border-radius: var(--radius-md); padding: var(--space-5); font-size: var(--text-sm); color: var(--color-text); }

/* ---------- Calendar embed frame ---------- */
.embed-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--color-border); }
.embed-frame iframe { width: 100%; height: 600px; border: none; display: block; }

/* ---------- Map embed (responsive, aspect-ratio) ---------- */
.map-embed { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); border: 1px solid var(--color-border); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-surface-offset-2); padding-block: var(--space-16) var(--space-8); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: var(--space-10); }
.footer-brand p { margin-top: var(--space-4); color: var(--color-text-muted); font-size: var(--text-sm); max-width: 28ch; }
.footer-col h4 { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-muted); margin-bottom: var(--space-4); }
.footer-col ul { display: grid; gap: var(--space-3); }
.footer-col a { font-size: var(--text-sm); color: var(--color-text); text-decoration: none; }
.footer-col a:hover { color: var(--color-primary); }
.footer-quicklinks { margin-top: var(--space-10); padding-top: var(--space-6); border-top: 1px solid var(--color-border); display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: var(--space-8); }
.footer-quicklinks a { font-size: var(--text-sm); font-weight: 600; color: var(--color-text); text-decoration: none; }
.footer-quicklinks a:hover { color: var(--color-primary); }
.footer-bottom { margin-top: var(--space-6); padding-top: var(--space-6); border-top: 1px solid var(--color-border); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-4); font-size: var(--text-xs); color: var(--color-text-faint); }
.footer-bottom a { color: var(--color-text-faint); text-decoration: none; }

/* ---------- Photo galleries / badges ---------- */
.photo-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); margin-top: var(--space-10); }
.photo-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); margin-top: var(--space-10); }
.photo-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); margin-top: var(--space-10); max-width: 780px; margin-inline: auto; }
.photo-grid-2 img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.photo-grid-3 img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.photo-grid-4 img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.photo-duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin-top: var(--space-6); }
.photo-duo img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.badges-row { display: flex; justify-content: center; align-items: center; gap: var(--space-8); flex-wrap: wrap; margin-top: var(--space-10); }
.badges-row img { height: 96px; width: 96px; object-fit: contain; }
.badges-row-caption { text-align: center; font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-3); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }

.badge-pill { display: inline-flex; align-items: center; padding: var(--space-3) var(--space-6); border-radius: var(--radius-full); background: var(--color-surface); border: 1px solid var(--color-border); color: var(--color-text); font-weight: 600; font-size: var(--text-sm); }
.badge-pill a { color: inherit; text-decoration: none; }
.badge-pill a:hover { color: var(--color-accent-text); }

/* ---------- Elective activity cards (photo + overlay label) ---------- */
.elective-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); margin-top: var(--space-10); }
.elective-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 1; }
.elective-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.elective-card:hover img { transform: scale(1.04); }
.elective-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,10,0) 45%, rgba(20,16,10,0.72) 100%); }
.elective-card-label { position: absolute; left: var(--space-4); bottom: var(--space-4); right: var(--space-4); z-index: 2; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: var(--text-md); line-height: 1.2; }
.elective-card-label span { display: block; font-family: var(--font-body); font-weight: 500; font-size: var(--text-xs); color: rgba(255,255,255,0.82); margin-top: 2px; }

/* ---------- Subject cards (photo top + text body, for enrichment grid) ---------- */
.subject-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.subject-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); transition: var(--transition-interactive); }
.subject-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.subject-card-body { padding: var(--space-5) var(--space-6) var(--space-6); }
.subject-card-body h3 { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; color: var(--color-text); }
.subject-card-body p { margin-top: var(--space-2); font-size: var(--text-sm); color: var(--color-text-muted); }

/* ---------- Student Journey graphic (reused: home + programs overview) ---------- */
.journey-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}
.journey-strip::before {
  content: "";
  position: absolute;
  top: 32px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: var(--color-border);
  z-index: 0;
}
.journey-stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-4);
  box-shadow: var(--shadow-sm);
}
.journey-stage:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--color-accent); transition: var(--transition-interactive); }
.journey-num {
  width: 56px; height: 56px; border-radius: var(--radius-full);
  background: var(--color-primary); color: var(--color-text-inverse);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-3);
}
.journey-age { font-size: var(--text-xs); font-weight: 700; color: var(--color-accent-text); text-transform: uppercase; letter-spacing: 0.05em; }
.journey-stage h3 { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 700; margin-top: var(--space-2); color: var(--color-text); }
.journey-stage p { font-size: var(--text-sm); color: var(--color-text-muted); margin-top: var(--space-2); font-style: italic; }

@media (max-width: 980px) {
  .journey-strip { grid-template-columns: repeat(2, 1fr); }
  .journey-strip::before { display: none; }
}
@media (max-width: 640px) {
  .journey-strip { grid-template-columns: 1fr; }
}

/* ---------- Founder photo (small float, text wraps around it) ---------- */
@media (max-width: 640px) {
  .founder-photo { width: 88px !important; height: 88px !important; margin: 0 var(--space-4) var(--space-3) 0 !important; }
}

/* ---------- Signature differentiator chips ---------- */
.differentiator-chips { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.diff-chip {
  display: inline-flex; align-items: center;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  background: var(--color-surface-offset);
  border: 1px solid var(--color-border);
  font-size: var(--text-sm); font-weight: 600; color: var(--color-primary);
}

/* ---------- Check list (Parents Hub onboarding, etc.) ---------- */
.check-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.check-list li {
  position: relative; padding-left: 1.75rem;
  color: var(--color-text-muted); font-size: var(--text-base); line-height: 1.5;
}
.check-list li::before {
  content: "\2713"; position: absolute; left: 0; top: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.3em; height: 1.3em; border-radius: 50%;
  background: var(--color-primary); color: #fff;
  font-size: 0.7em; font-weight: 700;
}
.check-list.checklist-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4) var(--space-6);
}
@media (max-width: 640px) {
  .check-list.checklist-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Responsive ---------- */
/* Nav/hamburger switch gets its own wider breakpoint — the full desktop nav
   (logo + 5 nav items + Book a Tour button) needs a safety margin to stay on
   one line without overflowing, so switch to the mobile menu earlier. */
@media (max-width: 1180px) {
  .main-nav > ul, .header-actions .btn-primary { display: none; }
  .nav-toggle-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: var(--radius-full); border: 1px solid var(--color-border); flex-shrink: 0; margin-left: auto; }
  .main-nav.mobile-open .nav-home-mobile { display: list-item; }
  .brand { flex-shrink: 1; min-width: 0; }
  .brand-logo { width: 40px; height: 40px; }
  .brand-name-lockup--full { display: none; }
  .brand-text-compact { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; }
  .brand-name-lockup--title { height: 20px; }
  .brand-text-sub { font-size: 11px; }
  .main-nav { flex-shrink: 0; }
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 0 0 var(--space-4);
  }
  .nav-dropdown a { color: var(--color-text-muted); padding: var(--space-2) 0; }
  .main-nav > ul > li > a.nav-active { box-shadow: none; border-left: 3px solid var(--color-primary); padding-left: var(--space-3); margin-left: calc(var(--space-3) * -1); }
}
@media (max-width: 980px) {
  .staff-card .staff-photo.lg, .staff-photo.lg { width: 280px; height: 280px; }
  .staff-photo.full { max-width: 300px; }
  .staff-card .staff-photo, .staff-photo { width: 190px; height: 190px; }
  .hero .wrap { grid-template-columns: 1fr; }
  /* Mobile only: surface the hero photo right after the headline, before
     the lede paragraph and stats, for a more emotional opening. Desktop
     keeps the two-column layout (text | photo) untouched. */
  .hero-copy { display: contents; }
  .hero-copy-top { order: 1; }
  .hero-media { order: 2; margin-top: 0.35rem; }
  .hero-copy-bottom { order: 3; margin-top: var(--space-8); }
  .hero-copy-bottom p.lede { margin-top: 0; }
  .programs-grid, .cards-grid-3:not(.staff-grid), .testimonial-grid, .split { grid-template-columns: 1fr; }
  .split-reverse > img, .split-reverse > div { order: initial; }
  .cards-grid-2 { grid-template-columns: 1fr; }
  .photo-grid-4, .photo-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .photo-grid-2 { grid-template-columns: 1fr; }
  .elective-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .programs-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .photo-duo { grid-template-columns: 1fr; }
  .elective-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .utility-bar .wrap { justify-content: center; text-align: center; }
  .brand-name-lockup--footer { height: 46px; }
}



/* Mobile menu: a visible Home link at the top (desktop uses the logo). */
.nav-home-mobile { display: none; }
@media (max-width: 1180px) {
  .nav-home-mobile {
    display: block;
    font-weight: 700;
    font-size: var(--text-lg);
    color: var(--color-primary);
    padding-block: var(--space-3);
    text-decoration: none;
  }
}

/* Mobile header Book a Tour: compact gold pill between the brand and the
   hamburger, only when the desktop nav is collapsed. On the narrowest phones
   the brand tagline yields so the button always fits. */
.header-tour-mobile { display: none; }
@media (max-width: 1180px) {
  .header-tour-mobile {
    display: inline-flex;
    align-items: center;
    background: var(--color-accent);
    color: var(--color-primary-active);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.02em;
    padding: 8px 14px;
    border-radius: var(--radius-full);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: var(--space-3);
  }
  .nav-toggle-btn { margin-left: 0; }
}
@media (max-width: 430px) {
  .brand-text-sub { display: none; }
  .header-tour-mobile { font-size: 11px; padding: 7px 12px; }
}

/* ---------- Footer tagline (A1) ---------- */
.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--color-accent);
  margin-top: var(--space-4);
  line-height: 1.2;
}

/* ---------- Mission-strip attribution (A6) ---------- */
.mission-cite {
  display: block;
  text-align: center;
  margin-top: var(--space-5);
  font-style: normal;
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.9;
}

/* ---------- Homepage awards strip (A2) ---------- */
.awards-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); }
.award-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-2);
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-6) var(--space-4); box-shadow: var(--shadow-sm);
}
.award-card img { height: 72px; width: 72px; object-fit: contain; }
.award-card strong { font-family: var(--font-display); font-size: var(--text-lg); color: var(--color-primary); }
.award-card span { font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; color: var(--color-text-muted); }

/* ---------- Homepage campus section (A4) ---------- */
.campus-figure { margin: 0; }
.campus-figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-hero); box-shadow: var(--shadow-md); }
.campus-figure figcaption { margin-top: var(--space-3); font-size: var(--text-sm); font-style: italic; color: var(--color-text-muted); text-align: center; }

/* ---------- Homepage admissions steps (A3) ---------- */
.admissions-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-8); margin-top: var(--space-10); }
.admission-step { text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--space-3); }
.admission-step .step-num { width: 64px; height: 64px; font-size: var(--text-xl); }
.admission-step h3 { font-family: var(--font-display); font-size: var(--text-lg); font-weight: 600; }
.admission-step p { color: var(--color-text-muted); font-size: var(--text-sm); max-width: 32ch; }

/* ---------- Book a Tour modal (A7) ---------- */
.tour-modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(27, 58, 92, 0.55);
  display: flex; align-items: center; justify-content: center;
  padding: var(--space-6);
}
.tour-modal-overlay[hidden] { display: none; }
.tour-modal {
  position: relative; background: var(--color-surface); color: var(--color-text);
  border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
  width: 100%; max-width: 480px; padding: clamp(var(--space-6), 4vw, var(--space-10));
  max-height: calc(100vh - 2 * var(--space-6)); overflow-y: auto;
}
.tour-modal-close {
  position: absolute; top: var(--space-4); right: var(--space-4);
  width: 36px; height: 36px; border-radius: var(--radius-full);
  border: 1px solid var(--color-border); background: var(--color-surface);
  color: var(--color-text-muted); font-size: 1rem; cursor: pointer; line-height: 1;
}
.tour-modal-close:hover { color: var(--color-primary); }
.tour-modal-title { font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; }
.tour-modal-desc { margin-top: var(--space-2); color: var(--color-text-muted); font-size: var(--text-sm); }
.tour-modal-form { display: grid; gap: var(--space-4); margin-top: var(--space-6); }
.tour-modal-form .form-field.full { grid-column: 1 / -1; }
.tour-modal-form #tm-submit { width: 100%; }
.tour-modal-success { font-size: var(--text-base); color: var(--color-text); }

@media (max-width: 640px) {
  .awards-strip { grid-template-columns: repeat(2, 1fr); }
  .admissions-steps { grid-template-columns: 1fr; }
}

/* ---------- Screen-reader-only utility ---------- */
.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;
}

/* ---------- External-link indicator (nav dropdown items linking off-site) ---------- */
.ext-ico {
  display: inline-block;
  margin-left: var(--space-1);
  font-size: 0.85em;
  color: var(--color-text-muted);
  transform: translateY(-1px);
}

/* ---------- Journey / flow strip: 5-stage variant (Programs Overview, Day-in-Primary) ---------- */
.journey-strip.stages-5 { grid-template-columns: repeat(5, 1fr); }
.journey-strip.stages-6 { grid-template-columns: repeat(6, 1fr); }
.journey-stage.is-static { cursor: default; }
.journey-stage.is-static:hover { transform: none; box-shadow: var(--shadow-sm); border-color: var(--color-border); }
@media (max-width: 1180px) {
  .journey-strip.stages-5 { grid-template-columns: repeat(3, 1fr); }
  .journey-strip.stages-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .journey-strip.stages-5 { grid-template-columns: 1fr; }
  .journey-strip.stages-6 { grid-template-columns: 1fr; }
}

/* ---------- Continue the Journey: related-program nav strip (bottom of program pages) ---------- */
.related-programs { border-top: 1px solid var(--color-border); padding-top: var(--space-10); margin-top: var(--space-4); }
.related-programs .related-label {
  display: block; font-size: var(--text-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--color-text-muted); margin-bottom: var(--space-4);
}
.related-programs-links { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.related-programs-links a {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-3) var(--space-5); border-radius: var(--radius-full);
  background: var(--color-surface); border: 1px solid var(--color-border);
  color: var(--color-text); font-weight: 600; font-size: var(--text-sm);
  text-decoration: none; transition: var(--transition-interactive);
}
.related-programs-links a:hover {
  border-color: var(--color-accent); color: var(--color-accent-text);
  transform: translateY(-2px); box-shadow: var(--shadow-sm);
}
.related-programs-links .topic-tag {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-3) var(--space-5); border-radius: var(--radius-full);
  background: var(--color-surface); border: 1px solid var(--color-border);
  color: var(--color-text-muted); font-weight: 600; font-size: var(--text-sm);
}

/* ---------- Founder story: stronger editorial emphasis ---------- */
.founder-highlight blockquote {
  font-size: var(--text-lg) !important;
  font-family: var(--font-display);
}

/* ==========================================================================
   Family Hub — editorial-style dashboard
   Matches page-hero pattern from other top-level pages (Support AIA, etc.)
   ========================================================================== */

/* Coming Up at AIA — timeline strip (not a notification bar) */
.hub-upcoming-section {
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}
.coming-up {
  max-width: 820px;
  padding: var(--space-6) var(--space-8);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.coming-up-head { display: none; } /* eyebrow now lives in the section-head above */
.coming-up-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-5);
  border-top: 1px solid var(--color-border);
}
.coming-up-item {
  display: flex;
  align-items: baseline;
  gap: var(--space-6);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--text-base);
}
.coming-up-date {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-primary);
  min-width: 110px;
  letter-spacing: 0.01em;
  flex-shrink: 0;
}
.coming-up-title {
  color: var(--color-text);
  line-height: 1.5;
}
.coming-up-link {
  display: inline-block;
  margin-top: var(--space-2);
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--color-primary);
  transition: color 160ms ease, border-color 160ms ease;
}
.coming-up-link:hover {
  color: var(--color-primary-hover);
  border-bottom-color: var(--color-primary-hover);
}

@media (max-width: 640px) {
  .coming-up-item {
    flex-direction: column;
    gap: var(--space-1);
    padding: var(--space-3) 0;
  }
  .coming-up-date { min-width: 0; }
}

/* Family Hub sections match the site's standard section rhythm */
.hub-section {
  padding-block: clamp(var(--space-12), 6vw, var(--space-20));
}
.hub-section-last {
  padding-bottom: clamp(var(--space-16), 8vw, var(--space-24));
}

/* Card grid: 3 desktop / 2 tablet / 1 mobile */
.hub-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 960px) {
  .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .hub-grid { grid-template-columns: 1fr; }
}

/* Cards — align with the site's standard card language (Programs / About) */
.hub-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  color: var(--color-text);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.hub-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}
.hub-card:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.hub-card-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--color-primary-highlight);
  color: var(--color-primary);
  margin-bottom: var(--space-2);
}
.hub-card-ic svg { width: 22px; height: 22px; }
.hub-card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-text);
  margin: 0;
  letter-spacing: -0.01em;
  font-weight: 600;
}
.hub-card-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.hub-card-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
  color: var(--color-primary);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
}
.hub-card-arrow {
  transition: transform 160ms ease;
  display: inline-block;
}
.hub-card:hover .hub-card-arrow { transform: translateX(3px); }
.hub-card:hover .hub-card-cta { color: var(--color-primary-hover); }

/* Featured "Most Used" card — subtle emphasis, not shouty */
.hub-card-featured {
  position: relative;
  background: var(--color-surface);
  border-color: var(--color-primary);
  box-shadow: 0 4px 14px rgba(27, 58, 92, 0.08);
}
.hub-card-featured:hover {
  box-shadow: 0 8px 22px rgba(27, 58, 92, 0.14);
}
.hub-card-badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  display: inline-block;
  padding: 3px 10px;
  background: var(--color-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
}

/* Get Involved callout — warm, community-forward */
.hub-involved {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(var(--space-8), 5vw, var(--space-12)) clamp(var(--space-6), 4vw, var(--space-10));
  background: var(--color-surface-offset, var(--color-surface));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-align: center;
}
.hub-involved-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
  margin: var(--space-3) 0 var(--space-4);
  letter-spacing: -0.01em;
  font-weight: 600;
}
.hub-involved-lede {
  color: var(--color-text-muted);
  font-size: var(--text-base);
  line-height: 1.6;
  max-width: 58ch;
  margin: 0 auto;
}
.hub-involved-cta {
  margin-top: var(--space-6);
}

/* Forms group titles (used on /school-forms) */
.forms-group-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
  margin: 0 0 var(--space-5);
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--color-border);
  letter-spacing: -0.01em;
}


/* =========================================================================
   THEME REFINEMENT LAYER  (added 7/26/26)
   Palette and typography polish only. No layout or structural changes.
   To remove entirely: delete everything below this comment and revert the
   token values in :root above.
   ========================================================================= */

/* --- Display typography: set, not just chosen ------------------------- */
h1, h2, h3, .hero-headline, .content-h2, .prose h2, .prose h3,
.program-card h3, .info-card h3, .brand-statement h2, .mission-strip blockquote {
  font-optical-sizing: auto;
  letter-spacing: -0.022em;
  text-wrap: balance;
}
h1, .hero-headline { line-height: 1.05; }
h2, .content-h2, .prose h2 { line-height: 1.08; }
h3, .program-card h3, .info-card h3 { letter-spacing: -0.008em; line-height: 1.3; }
.hero-sub, .lede, .prose p { text-wrap: pretty; }
/* Figures line up in tuition and fee tables */
table, .fee-table, .tuition-table { font-variant-numeric: tabular-nums; }

/* --- Eyebrows: gold as a hairline, never a fill ----------------------- */
.eyebrow {
  display: inline-block;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(201, 136, 58, 0.45);
}

/* --- Cards lift off the paper ---------------------------------------- */
.program-card, .info-card, .staff-card, .testimonial-card {
  box-shadow: var(--shadow-md);
}
.program-card:hover, .info-card:hover, .staff-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

/* --- Imagery: one consistent radius ---------------------------------- */
.hero-media img { border-radius: var(--radius-lg); }

/* --- The navy anchor: one deep band per page ------------------------- */
.mission-strip { position: relative; overflow: hidden; }
.mission-strip::before {
  content: "";
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(760px 300px at 15% -15%, rgba(201, 136, 58, 0.20), transparent 68%),
    radial-gradient(620px 300px at 92% 115%, rgba(124, 139, 90, 0.20), transparent 70%);
}
.mission-strip > * { position: relative; }
.mission-strip blockquote { line-height: 1.24; }
.mission-strip .words { color: #cbb894; opacity: 1; }

/* --- Closing statement sits on deep navy ----------------------------- */
.brand-statement {
  background: var(--color-primary-active);
  color: var(--color-text-inverse);
}
.brand-statement h2 { color: inherit; font-weight: 500; }
.brand-statement .bs-line:last-child { font-style: italic; font-weight: 400; color: #d9be8e; }

/* --- Awards read as a quiet white band ------------------------------- */
.awards-section {
  background: var(--color-surface);
  border-block: 1px solid var(--color-border);
}

/* --- Buttons: a little life on hover --------------------------------- */
.btn { transition: transform var(--transition-interactive), box-shadow var(--transition-interactive), background-color var(--transition-interactive); }
.btn:hover { transform: translateY(-1px); }
.btn-primary:hover { box-shadow: 0 10px 22px -12px rgba(20, 48, 79, 0.7); }

/* --- Quality floor: focus, selection, motion ------------------------- */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 3px;
}
::selection { background: rgba(20, 48, 79, 0.12); color: var(--color-text); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .program-card:hover, .info-card:hover, .staff-card:hover, .btn:hover { transform: none; }
}

/* ---------- Extended Day: individual drop-in date picker ---------- */
.ed-sched-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
@media (max-width: 640px) { .ed-sched-4 { grid-template-columns: 1fr 1fr; } }
.ed-sched-4 .ed-sched-opt span { padding-inline: 6px; text-align: center; font-size: var(--text-xs); }

.ed-daymonth { border: 1px solid var(--color-border); border-radius: var(--radius-md); margin-bottom: 8px; overflow: hidden; }
.ed-daymonth-head {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; background: var(--color-surface-offset); border: 0; cursor: pointer;
  font: 600 var(--text-sm)/1.4 var(--font-body); color: var(--color-primary); text-align: left;
}
.ed-daymonth-head:hover { background: var(--color-surface-offset); }
.ed-daymonth-head::after { content: "+"; font-weight: 700; opacity: .55; font-size: 1.1em; line-height: 1; }
.ed-daymonth-head.is-open::after { content: "\2212"; }
.ed-daymonth-count {
  font-weight: 700; color: var(--color-accent-text); font-size: var(--text-xs);
  margin-left: auto; margin-right: 14px;   /* keep it clear of the +/- glyph */
}
.ed-chip-count { margin-left: 6px; font-weight: 700; color: var(--color-accent-text); opacity: .85; }
.ed-daygrid { padding: 12px 14px; }
.ed-daygrid label span { min-width: 62px; text-align: center; }
