:root {
  --cream: var(--wp--preset--color--cream);
  --white: var(--wp--preset--color--white);
  --aqua: var(--wp--preset--color--aqua);
  --aqua-soft: var(--wp--preset--color--aqua-soft);
  --coral: var(--wp--preset--color--coral);
  --pink: var(--wp--preset--color--pink);
  --yellow: var(--wp--preset--color--yellow);
  --blue: var(--wp--preset--color--blue);
  --ink: var(--wp--preset--color--ink);
  --ink-deep: var(--wp--preset--color--ink-deep);
  --ink-soft: var(--wp--preset--color--ink-soft);
  --line: rgba(36, 75, 91, 0.2);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 38px;
  --shadow: 0 16px 38px rgba(36, 75, 91, 0.12);
  --max-width: 1440px;
  --font-display: var(--wp--preset--font-family--display);
  --font-sans: var(--wp--preset--font-family--sans);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wp-site-blocks { overflow: clip; }

/* The closed mobile menu must never paint. This guard sits at the
   very top of the stylesheet on purpose: a copy also lives in the
   3.2.2 section, but per-page critical-CSS extraction has dropped
   late-file rules before, which let the closed <dialog> render its
   links into phone pages (the owner's "menu is not straight"
   report, Oct 30 – Nov 1). navigation.js also force-hides the
   panel inline as a second, independent guard. */
.mobile-panel:not([open]) { display: none !important; }
.wp-site-blocks > * { margin-block-start: 0; }
.wp-block-post-content { margin: 0; }
.wp-block-post-content > .wp-block-html { margin: 0; }
.wp-block-template-part { margin: 0; }
.admin-bar .site-header { top: 32px; }
.notice-band {
  max-width: var(--max-width);
  margin: 1rem auto 0;
  padding: .9rem max(4vw, 1.25rem);
  border-radius: 16px;
  background: var(--aqua-soft);
  font-weight: 750;
  text-align: center;
}
.notice-band--error { background: #f8d2d0; }

.wp-programs-hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 6.5rem) max(4vw, 1.25rem);
}
.wp-programs-hero h1 {
  max-width: 980px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .95;
}
.wp-interior-intro { max-width: 700px; color: var(--ink-soft); font-size: 1.08rem; }
.wp-class-section {
  max-width: min(1320px, calc(100% - max(4vw, 1.25rem) * 2));
  margin: clamp(1.2rem, 3vw, 2.5rem) auto;
  padding: clamp(1.25rem, 3.5vw, 3rem);
  overflow: hidden;
  border-radius: 34px;
}
.wp-class-section--blue { background: #dbeef3; }
.wp-class-section--aqua { background: var(--aqua-soft); }
.wp-class-section--pink { background: #f8d2d0; }
.wp-class-section--yellow { background: #fbebc9; }
.wp-class-section .wp-block-columns { gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.wp-class-section.is-reverse .wp-block-columns { flex-direction: row-reverse; }
.wp-class-copy h2 { margin: 0; font-family: var(--font-display); font-size: clamp(2.8rem, 5vw, 5.2rem); font-weight: 400; line-height: .96; }
.wp-class-copy li { margin-block: .45rem; }
.wp-class-photo { margin: 0; overflow: hidden; border-radius: 26px; }
.wp-class-photo img { width: 100%; height: clamp(360px, 46vw, 600px); object-fit: cover; }
.wp-programs-note { max-width: 920px; margin: 2rem auto 4rem; padding: 1.2rem; border: 1px solid var(--line); border-radius: 18px; background: white; }
.wp-tour-cta { max-width: min(1200px, calc(100% - 2rem)); margin: clamp(4rem, 8vw, 7rem) auto; padding: clamp(3rem, 7vw, 6rem); border-radius: 38px; background: var(--ink-deep); color: white; text-align: center; }
.wp-tour-cta h2 { max-width: 850px; margin: 0 auto; font-size: clamp(3rem, 6vw, 6rem); }
.wp-tour-cta p { max-width: 650px; margin-inline: auto; color: #d7e4e7; }
.wp-tour-cta .wp-block-buttons { justify-content: center; }

@media (max-width: 760px) {
  .wp-programs-hero { padding: 2.5rem 1rem 3rem; }
  .wp-programs-hero h1 { font-size: clamp(3rem, 14vw, 4.25rem); }
  .wp-class-section { max-width: calc(100% - 1rem); padding: 1rem; border-radius: 24px; }
  .wp-class-section .wp-block-columns,
  .wp-class-section.is-reverse .wp-block-columns { flex-direction: column; }
  .wp-class-photo img { height: 390px; }
  .wp-tour-cta { border-radius: 26px; }
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}
body.menu-open {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
}
section {
  scroll-margin-top: 102px;
}
:focus-visible {
  outline: 3px solid #2c718d;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: var(--ink-deep);
  color: white;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}
.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  gap: 2rem;
  align-items: center;
  min-height: 94px;
  padding: 0 max(4vw, 1.25rem);
  border-bottom: 1px solid rgba(36, 75, 91, 0.13);
  background: rgba(247, 251, 252, 0.93);
  backdrop-filter: blur(16px);
}
.brand {
  display: flex;
  align-items: center;
  min-height: 44px;
  width: 210px;
}
.brand img {
  width: 100%;
  height: auto;
}
.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(1rem, 2.2vw, 2.5rem);
}
.desktop-nav a {
  position: relative;
  padding: 0.7rem 0;
  font-size: 0.875rem;
  font-weight: 750;
}
.desktop-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0.35rem;
  height: 1px;
  background: var(--coral);
  transition: right 180ms ease;
}
.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  right: 0;
}
.menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 48px;
  min-height: 48px;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
}
.menu-button svg {
  width: 20px;
  height: 20px;
}
.mobile-panel {
  display: none;
}
.mobile-panel:not([open]) {
  display: none;
}
dialog.mobile-panel {
  width: auto;
  max-width: none;
  margin: 0;
  border: 0;
  background: transparent;
  color: inherit;
}
.mobile-panel__close {
  align-self: flex-end;
  min-width: 44px;
  min-height: 44px;
  margin: 0 0 .5rem auto;
  padding: .5rem .75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}
.mobile-panel__close span {
  margin-left: .25rem;
  font-size: 1.25rem;
  line-height: 1;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 800;
  line-height: 1.15;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}
.button:hover {
  transform: translateY(-2px);
}
.button--dark {
  background: var(--ink-deep);
  color: white;
}
.button--dark:hover {
  background: #0d2a35;
}
.button--ghost {
  border-color: rgba(36, 75, 91, 0.4);
  background: transparent;
  color: var(--ink);
}
.button--ghost:hover {
  border-color: var(--ink);
  background: white;
}
.button--light {
  background: white;
  color: var(--ink-deep);
}
.button--outline-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: white;
}
.button--outline-light:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.1);
}
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}
.button-row--center {
  justify-content: center;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.9rem;
  font-weight: 800;
}

.section-pad {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(4.25rem, 7.5vw, 6.7rem) max(4vw, 1.25rem);
}
.eyebrow {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}
.pillars h2,
.proof h2,
.intro h2,
.section-heading h2,
.philosophy h2,
.why h2,
.testimonial-card h2,
.visit h2,
.info-requests h2,
.final-cta h2,
.admissions-hero h1,
.admissions-section h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5.3vw, 5.45rem);
  font-weight: 400;
  letter-spacing: -0.052em;
  line-height: 0.98;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
  min-height: calc(100vh - 94px);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(3rem, 4vw, 4.7rem) max(4vw, 1.25rem);
  overflow: hidden;
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
}
.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4rem, 6.5vw, 7.2rem);
  font-weight: 400;
  letter-spacing: -0.058em;
  line-height: 0.87;
}
.hero h1 em {
  color: var(--blue);
  font-weight: 400;
}
.hero-intro {
  max-width: 590px;
  margin: 1.65rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.02rem, 1.2vw, 1.18rem);
  line-height: 1.6;
}
.hero-family {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 1rem 0 0;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 800;
}
.hero-family svg {
  color: var(--coral);
}
.hero-visual {
  position: relative;
  min-height: 550px;
}
.hero-photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: var(--aqua-soft);
  box-shadow: var(--shadow);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-photo--main {
  top: 0;
  right: 0;
  width: min(72%, 470px);
  height: 83%;
  border-radius: 46% 46% 32px 32px;
  transform: rotate(1.5deg);
}
.hero-photo--small {
  left: 1%;
  bottom: 0;
  width: 43%;
  height: 47%;
  border: 10px solid var(--cream);
  border-radius: 30px;
  transform: rotate(-4deg);
}
.shape--coral {
  position: absolute;
  right: 1%;
  top: 4%;
  width: 52%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--aqua);
  opacity: 0.88;
  transform: translate(22%, -15%);
}
.hero-note {
  position: absolute;
  left: 5%;
  top: 4%;
  display: grid;
  gap: 0.15rem;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  transform: rotate(-7deg);
}
.hero-note span:nth-child(2) {
  color: var(--coral);
  transform: translateX(12px);
}
.hero-note span:nth-child(3) {
  transform: translateX(26px);
}
.scroll-cue {
  position: absolute;
  left: max(4vw, 1.25rem);
  bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink-soft);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.reveal-first {
  animation: rise-in 620ms cubic-bezier(0.2, 0.72, 0.25, 1) both;
}
.hero-visual.reveal-first {
  animation-delay: 90ms;
}
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pillars {
  border-top: 1px solid var(--line);
}
.pillars-heading {
  display: grid;
  grid-template-columns: 0.5fr 1.5fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 2.6rem;
}
.pillars-heading .eyebrow {
  margin-bottom: 0.45rem;
}
.pillars-heading h2 {
  max-width: 880px;
}
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.pillar-card {
  position: relative;
  min-height: 330px;
  padding: clamp(1.5rem, 2.5vw, 2.4rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: white;
}
.pillar-card::after {
  content: '';
  position: absolute;
  right: -55px;
  top: -55px;
  width: 145px;
  height: 145px;
  border-radius: 50%;
  opacity: 0.55;
}
.pillar-card--blue::after {
  background: var(--aqua);
}
.pillar-card--coral::after {
  background: var(--pink);
}
.pillar-card--yellow::after {
  background: var(--yellow);
}
.pillar-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 3.6rem;
  border-radius: 18px;
  background: var(--ink);
  color: white;
}
.pillar-kicker {
  margin: 0 0 0.65rem;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.pillar-card h3 {
  margin: 0 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.4vw, 2.55rem);
  font-weight: 400;
  line-height: 1;
}
.pillar-card > p:last-child {
  margin: 0;
  color: var(--ink-soft);
}

.proof {
  padding-top: 2rem;
}
.proof-intro {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 2.6rem;
}
.proof-intro .eyebrow {
  margin-bottom: 0.45rem;
}
.proof-intro h2 {
  max-width: 880px;
  font-size: clamp(2.65rem, 4.6vw, 4.8rem);
}
.proof-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr 1fr;
  gap: 1rem;
  align-items: start;
}
.proof-card {
  margin: 0;
}
.proof-card--2 {
  margin-top: 3.25rem;
}
.proof-image {
  height: 430px;
  overflow: hidden;
  border-radius: 36% 36% 24px 24px;
  background: var(--aqua-soft);
}
.proof-card--2 .proof-image {
  height: 380px;
  border-radius: 24px;
}
.proof-card--3 .proof-image {
  height: 455px;
  border-radius: 24px 36% 24px 24px;
}
.proof-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.72, 0.25, 1);
}
.proof-card:hover img {
  transform: scale(1.025);
}
.proof-card figcaption {
  padding: 1rem 0.25rem 0;
}
.proof-card figcaption span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--coral);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.proof-card figcaption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.18;
}

.intro {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
  border-top: 1px solid var(--line);
}
.intro-heading {
  position: relative;
  z-index: 1;
}
.intro-heading h2 {
  font-size: clamp(3rem, 5.4vw, 5.65rem);
}
.intro-copy {
  max-width: 590px;
  padding-top: 2rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.intro-copy p {
  margin: 0 0 1.15rem;
}
.intro-copy .text-link {
  margin-top: 0.4rem;
  color: var(--ink);
}
.intro-mark {
  position: absolute;
  top: 8%;
  left: 45%;
  color: var(--yellow);
  font-family: var(--font-display);
  font-size: clamp(5rem, 10vw, 10rem);
  letter-spacing: -0.16em;
  opacity: 0.28;
  transform: rotate(-9deg);
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 4rem;
  align-items: end;
  margin-bottom: 2.8rem;
}
.section-heading--split > p,
.section-heading--life > p {
  max-width: 520px;
  margin: 0 0 0.35rem;
  color: var(--ink-soft);
  font-size: 1rem;
}
.programs {
  max-width: min(var(--max-width), calc(100% - max(4vw, 1.25rem) * 2));
  padding-inline: clamp(1.5rem, 4vw, 4.25rem);
  border-radius: 34px;
  background: var(--aqua);
}
.program-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: clamp(1.4rem, 2.2vw, 2rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 7px solid;
  border-radius: 16px;
  background: white;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}
.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.program-card--blue {
  border-top-color: var(--blue);
}
.program-card--aqua {
  border-top-color: #68b5c3;
}
.program-card--pink {
  border-top-color: var(--pink);
}
.program-card--yellow {
  border-top-color: #dfb54f;
}
.program-number {
  position: absolute;
  top: 0.15rem;
  right: 0.85rem;
  color: rgba(23, 57, 70, 0.12);
  font-family: var(--font-display);
  font-size: clamp(4.8rem, 7vw, 7.2rem);
  line-height: 1;
}
.program-age {
  position: relative;
  margin: auto 0 0.75rem;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.program-card h3 {
  position: relative;
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.72rem, 2vw, 2.25rem);
  font-weight: 400;
  line-height: 1;
}
.program-card > p:not(.program-age) {
  margin: 0 0 1.4rem;
  color: #344f59;
  font-size: 0.92rem;
}
.program-action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: flex-start;
  min-height: 44px;
  margin-top: auto;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.78rem;
  font-weight: 850;
}
.program-note {
  margin: 1.25rem 0 0;
  color: #315866;
  font-size: 0.84rem;
}

.section-heading--life {
  display: grid;
  grid-template-columns: 1fr 0.65fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 2.8rem;
}
.gallery-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 0.9fr;
  grid-template-rows: 290px 290px;
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
  background: var(--aqua-soft);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms cubic-bezier(0.2, 0.72, 0.25, 1);
}
.gallery-item:hover img {
  transform: scale(1.03);
}
.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 2.5rem 1.15rem 1rem;
  background: linear-gradient(transparent, rgba(13, 42, 53, 0.76));
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
}
.gallery-item--tall {
  grid-row: 1 / span 2;
}
.gallery-item--wide {
  grid-column: 2 / span 2;
}
.gallery-caption {
  position: absolute;
  left: 35%;
  top: 45%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.95rem 1.15rem;
  border: 7px solid var(--cream);
  border-radius: 20px;
  background: var(--yellow);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.05;
  transform: rotate(-4deg);
}

.philosophy {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(3rem, 7vw, 7rem);
  max-width: min(var(--max-width), calc(100% - max(4vw, 1.25rem) * 2));
  padding-inline: clamp(1.5rem, 5vw, 5.25rem);
  border-radius: 44px;
  background: var(--ink);
  color: white;
}
.philosophy .eyebrow {
  color: #b9d0d5;
}
.philosophy-title > p:last-child {
  max-width: 470px;
  margin: 1.5rem 0 0;
  color: #c8d7da;
}
.philosophy-list {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.philosophy-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 1.25rem;
  padding: 1.7rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.philosophy-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 17px;
  color: var(--ink-deep);
}
.philosophy-icon--1 {
  background: var(--aqua);
}
.philosophy-icon--2 {
  background: var(--pink);
}
.philosophy-icon--3 {
  background: var(--yellow);
}
.philosophy-item h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1.08;
}
.philosophy-item p {
  margin: 0;
  color: #c8d7da;
  font-size: 0.91rem;
}
.philosophy-item .daily-example {
  margin-top: 0.7rem;
  color: white;
  font-size: 0.82rem;
}

.why {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(3rem, 7vw, 8rem);
  align-items: start;
}
.why-heading {
  position: sticky;
  top: 125px;
}
.why-heading h2 {
  font-size: clamp(2.85rem, 4.8vw, 5.15rem);
}
.why-heading > p:last-child {
  max-width: 540px;
  margin: 1.5rem 0 0;
  color: var(--ink-soft);
}
.reason-list {
  border-top: 1px solid var(--line);
}
.reason {
  display: grid;
  grid-template-columns: 38px 48px 0.72fr 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--line);
}
.reason-index {
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 850;
}
.reason svg {
  width: 30px;
  height: 30px;
  color: var(--coral);
  stroke-width: 1.7;
}
.reason h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.08;
}
.reason p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

.testimonials {
  display: grid;
  grid-template-columns: minmax(300px, 0.84fr) minmax(0, 1.16fr);
  align-items: stretch;
  gap: 0;
}
.testimonial-photo {
  min-height: 490px;
  overflow: hidden;
  border-radius: 44% 0 0 30px;
  background: var(--aqua-soft);
}
.testimonial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5.3rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 30px 30px 0;
  background: white;
}
.testimonial-card h2 {
  max-width: 700px;
  font-size: clamp(2.75rem, 4.7vw, 5rem);
}
.testimonial-card > p:not(.eyebrow, .testimonial-attribution) {
  max-width: 620px;
  margin: 1.15rem 0 0.8rem;
  color: #40555d;
}
.testimonial-attribution {
  align-self: flex-start;
  margin: 0 0 1.5rem;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.testimonial-card .text-link {
  align-self: flex-start;
}
.testimonial-leaf {
  position: absolute;
  right: -2rem;
  bottom: -2rem;
  width: 180px;
  height: 180px;
  color: rgba(155, 214, 224, 0.3);
  stroke-width: 1;
  transform: rotate(22deg);
}

.visit {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  gap: 1rem;
}
.visit-card {
  padding: clamp(2rem, 4vw, 4rem);
  border-radius: 30px;
}
.visit-card--title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-top: 7px solid var(--aqua);
  background: white;
}
.visit-card h2 {
  font-size: clamp(2.8rem, 4.7vw, 5.05rem);
}
.visit-card > p:not(.eyebrow) {
  max-width: 520px;
  margin: 1.4rem 0;
  color: #385963;
}
.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: auto;
  padding-top: 1rem;
}
.visit-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.fact-card {
  display: flex;
  flex-direction: column;
  min-height: 245px;
  padding: clamp(1.4rem, 2.5vw, 2.3rem);
  border: 1px solid var(--line);
  border-radius: 26px;
  background: white;
}
.fact-card > svg {
  width: 30px;
  height: 30px;
  margin-bottom: auto;
  color: var(--coral);
  stroke-width: 1.7;
}
.fact-card > span {
  margin-top: 1.4rem;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.fact-card strong {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 1.9vw, 2rem);
  font-weight: 400;
  line-height: 1.15;
}
.fact-card small {
  margin-top: 0.55rem;
  color: var(--ink-soft);
  font-size: 0.875rem;
}
.fact-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: flex-start;
  min-height: 44px;
  margin-top: 0.75rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.82rem;
  font-weight: 800;
}

.info-requests {
  padding-top: 2rem;
}
.info-heading {
  display: grid;
  grid-template-columns: 0.5fr 1.5fr;
  gap: 3rem;
  align-items: end;
  margin-bottom: 2.5rem;
}
.info-heading h2 {
  max-width: 900px;
  font-size: clamp(2.75rem, 4.7vw, 4.9rem);
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.info-grid article {
  min-height: 245px;
  padding: 1.6rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}
.info-grid span {
  color: var(--coral);
  font-size: 0.68rem;
  font-weight: 850;
}
.info-grid h3 {
  margin: 2.8rem 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.1;
}
.info-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}
.info-requests > .button {
  margin-top: 1.5rem;
}

.final-cta {
  position: relative;
  max-width: min(var(--max-width), calc(100% - max(4vw, 1.25rem) * 2));
  padding-inline: max(1.5rem, 6vw);
  overflow: hidden;
  border-radius: 44px;
  background: var(--ink);
  color: white;
  text-align: center;
}
.final-cta .eyebrow {
  color: #b7ced2;
}
.final-cta h2 {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin-inline: auto;
  font-size: clamp(3.2rem, 6.1vw, 6.3rem);
}
.final-cta > p:not(.eyebrow) {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 1.5rem auto 0;
  color: #c8d7da;
}
.final-cta .button-row {
  position: relative;
  z-index: 1;
}
.final-shape {
  position: absolute;
  inset: 50% auto auto 50%;
  color: rgba(234, 157, 147, 0.14);
  font-family: var(--font-display);
  font-size: min(38vw, 500px);
  letter-spacing: -0.22em;
  line-height: 1;
  transform: translate(-53%, -50%) rotate(-9deg);
}

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(4rem, 7vw, 6rem) max(4vw, 1.25rem) 1.8rem;
}
.footer-main {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(3rem, 8vw, 9rem);
}
.footer-brand > img {
  width: min(260px, 100%);
}
.footer-brand > p {
  max-width: 440px;
  margin: 1.5rem 0;
  color: var(--ink-soft);
}
.social-links {
  display: flex;
  gap: 0.7rem;
}
.social-links a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-weight: 800;
  transition:
    background 180ms ease,
    color 180ms ease;
}
.social-links a:hover {
  background: var(--ink);
  color: white;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.footer-nav > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}
.footer-nav h2 {
  margin: 0 0 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.footer-nav a {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
}
.footer-nav p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 4rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.74rem;
}

/* Branded admissions pages */
.subpage-header {
  position: relative;
}
.subpage-header .site-header {
  position: relative;
}
.admissions-main {
  min-height: 70vh;
}
.admissions-hero {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) max(4vw, 1.25rem);
}
.admissions-hero h1 {
  font-size: clamp(3.8rem, 7vw, 7rem);
}
.admissions-hero p:not(.eyebrow) {
  max-width: 650px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}
.admissions-art {
  display: grid;
  place-items: center;
  min-height: 420px;
  border-radius: 46% 46% 30px 30px;
  background: var(--aqua);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(7rem, 17vw, 13rem);
  letter-spacing: -0.16em;
}
.admissions-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 max(4vw, 1.25rem) clamp(4rem, 8vw, 7rem);
}
.admissions-section h2 {
  max-width: 760px;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
}
.admissions-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.admissions-step {
  min-height: 230px;
  padding: 1.5rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: white;
}
.admissions-step span {
  color: var(--coral);
  font-size: 0.68rem;
  font-weight: 850;
}
.admissions-step h3 {
  margin: 2.6rem 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
}
.admissions-step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
}
.admissions-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.82rem;
  font-weight: 800;
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 560ms cubic-bezier(0.2, 0.72, 0.25, 1),
    transform 560ms cubic-bezier(0.2, 0.72, 0.25, 1);
}
.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .program-grid,
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reason {
    grid-template-columns: 34px 44px 1fr;
  }
  .reason p {
    grid-column: 3;
  }
  .footer-main {
    grid-template-columns: 1fr;
  }
  .footer-nav a {
    min-height: 44px;
    align-items: center;
  }
  .admissions-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    min-height: 84px;
  }
  .desktop-nav {
    display: none;
  }
  .menu-button {
    display: flex;
  }
  .site-header.menu-is-open .header-cta {
    visibility: hidden;
  }
  .mobile-panel {
    position: fixed;
    inset: 84px 0 0;
    z-index: 45;
    display: block;
    padding: 0 max(4vw, 1.25rem) 1.25rem;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition:
      opacity 180ms ease,
      transform 180ms ease,
      visibility 180ms ease;
  }
  .mobile-panel.is-open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .mobile-panel nav {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: clamp(1.5rem, 5vw, 3rem);
    border: 1px solid var(--line);
    border-radius: 0 0 28px 28px;
    background: rgba(247, 251, 252, 0.98);
    box-shadow: var(--shadow);
  }
  .mobile-panel nav > a:not(.button) {
    padding: 0.85rem 0.4rem;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 5vw, 2.25rem);
  }
  .mobile-panel .button {
    align-self: stretch;
    width: 100%;
    margin-top: auto;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    min-height: auto;
  }
  .hero-copy {
    max-width: 760px;
  }
  .hero-visual {
    min-height: 520px;
  }
  .hero-photo--main {
    right: 5%;
    width: min(64%, 480px);
  }
  .hero-photo--small {
    left: 8%;
    width: 38%;
  }
  .scroll-cue {
    display: none;
  }
  .pillar-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pillar-card:last-child {
    grid-column: span 2;
  }
  .proof-grid {
    grid-template-columns: 1fr 1fr;
  }
  .proof-card--3 {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 1.5rem;
  }
  .proof-card--3 .proof-image {
    height: 360px;
  }
  .program-card {
    min-height: 350px;
  }
  .philosophy,
  .why {
    grid-template-columns: 1fr;
  }
  .why-heading {
    position: static;
  }
  .testimonials {
    grid-template-columns: 0.82fr 1.18fr;
  }
  .visit {
    grid-template-columns: 1fr;
  }
  .admissions-hero {
    grid-template-columns: 1fr;
  }
  .admissions-art {
    min-height: 300px;
  }
}

@media (max-width: 760px) {
  .section-pad {
    padding-block: 3.5rem;
  }
  .pillars-heading,
  .proof-intro,
  .info-heading,
  .section-heading--split,
  .section-heading--life,
  .intro {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }
  .pillars-heading h2,
  .proof-intro h2,
  .info-heading h2 {
    font-size: clamp(2.65rem, 11vw, 4rem);
  }
  .pillar-grid {
    grid-template-columns: 1fr;
  }
  .pillar-card,
  .pillar-card:last-child {
    grid-column: auto;
    min-height: 275px;
  }
  .pillar-icon {
    margin-bottom: 2.5rem;
  }
  .proof-grid {
    grid-template-columns: 1fr;
  }
  .proof-card--2 {
    margin-top: 0;
  }
  .proof-card--3 {
    grid-column: auto;
    display: block;
  }
  .proof-image,
  .proof-card--2 .proof-image,
  .proof-card--3 .proof-image {
    height: 330px;
    border-radius: 28px;
  }
  .intro-copy {
    padding-top: 0;
  }
  .intro-mark {
    left: auto;
    right: 6%;
    top: 4%;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 350px 240px 240px;
  }
  .gallery-item--tall {
    grid-column: 1 / span 2;
    grid-row: 1;
  }
  .gallery-item--wide {
    grid-column: 1 / span 2;
    grid-row: 2;
  }
  .gallery-caption {
    left: auto;
    right: -0.35rem;
    top: 47%;
  }
  .philosophy-list {
    margin-top: 0.5rem;
  }
  .reason {
    grid-template-columns: 32px 45px 1fr;
    gap: 0.7rem;
  }
  .testimonials {
    grid-template-columns: 1fr;
  }
  .testimonial-photo {
    min-height: 340px;
    border-radius: 44% 44% 0 0;
  }
  .testimonial-card {
    border-left: 1px solid var(--line);
    border-radius: 0 0 28px 28px;
  }
  .footer-nav {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  section {
    scroll-margin-top: 126px;
  }
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 0.55rem;
    min-height: 0;
    padding: 0.6rem 1rem 0.7rem;
  }
  .brand {
    width: 138px;
  }
  .header-cta {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    min-height: 44px;
    padding-block: 0.65rem;
  }
  .site-header.menu-is-open .header-cta {
    visibility: visible;
  }
  .menu-button {
    grid-column: 2;
    grid-row: 1;
    min-height: 46px;
  }
  .mobile-panel {
    inset: 116px 0 0;
    padding: 0 0.75rem 0.75rem;
  }
  .mobile-panel nav {
    padding: 1rem;
    border-radius: 0 0 24px 24px;
  }
  .mobile-panel nav > a:not(.button) {
    min-height: 54px;
    padding: 0.75rem 0.25rem;
    font-size: clamp(1.45rem, 7vw, 1.8rem);
  }
  .hero {
    gap: 1.75rem;
    padding-top: 2rem;
    padding-bottom: 2.8rem;
  }
  .hero h1 {
    font-size: clamp(2.9rem, 14.5vw, 4rem);
    line-height: 0.92;
  }
  .hero h1 br {
    display: none;
  }
  .hero .eyebrow {
    max-width: 330px;
  }
  .hero-intro {
    margin-top: 1.1rem;
    font-size: 1rem;
    line-height: 1.5;
  }
  .hero-family {
    align-items: flex-start;
    font-size: 0.875rem;
    line-height: 1.45;
  }
  .hero-family svg {
    flex: 0 0 auto;
    margin-top: 0.1rem;
  }
  .button-row {
    gap: 0.6rem;
    margin-top: 1.25rem;
  }
  .button-row {
    align-items: stretch;
    flex-direction: column;
  }
  .button-row .button {
    width: 100%;
  }
  .hero-visual {
    min-height: 350px;
  }
  .hero-photo--main {
    right: 0;
    width: 78%;
    height: 78%;
  }
  .hero-photo--small {
    left: 0;
    width: 48%;
    height: 42%;
    border-width: 7px;
  }
  .hero-note {
    left: 1%;
    top: 2%;
  }
  .section-pad {
    padding: 3rem 1rem;
  }
  .pillars-heading,
  .proof-intro,
  .info-heading,
  .section-heading--split,
  .section-heading--life,
  .intro {
    gap: 1rem;
    margin-bottom: 1.6rem;
  }
  .pillars-heading h2,
  .proof-intro h2,
  .info-heading h2,
  .intro-heading h2,
  .section-heading h2,
  .philosophy h2,
  .why-heading h2,
  .testimonial-card h2,
  .visit-card h2,
  .final-cta h2,
  .admissions-section h2 {
    font-size: clamp(2.25rem, 11.5vw, 3.15rem);
    line-height: 0.98;
  }
  .eyebrow {
    margin-bottom: 0.7rem;
    font-size: 0.67rem;
  }
  .programs,
  .philosophy,
  .final-cta {
    max-width: calc(100% - 1rem);
    padding-inline: 1rem;
    border-radius: 24px;
  }
  .pillar-grid,
  .proof-grid,
  .program-grid,
  .visit-facts {
    gap: 0.75rem;
  }
  .pillar-card,
  .pillar-card:last-child {
    min-height: 0;
    padding: 1.25rem;
    border-radius: 22px;
  }
  .pillar-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.2rem;
    border-radius: 15px;
  }
  .pillar-card h3 {
    font-size: 1.8rem;
  }
  .proof {
    padding-top: 1rem;
  }
  .proof-image,
  .proof-card--2 .proof-image,
  .proof-card--3 .proof-image {
    height: 265px;
    border-radius: 22px;
  }
  .proof-card figcaption {
    padding-top: 0.7rem;
  }
  .proof-card figcaption strong {
    font-size: 1.2rem;
  }
  .intro-copy {
    font-size: 1rem;
  }
  .intro-mark {
    display: none;
  }
  .program-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }
  .program-card {
    min-height: 0;
    padding: 1.15rem;
    border-radius: 14px;
  }
  .program-number {
    top: 0.35rem;
    font-size: 4.2rem;
  }
  .program-age {
    margin: 3.3rem 0 0.55rem;
  }
  .program-card h3 {
    margin-bottom: 0.65rem;
    font-size: 1.75rem;
  }
  .program-card > p:not(.program-age) {
    margin-bottom: 0.55rem;
  }
  .program-note,
  .philosophy-item .daily-example,
  .fact-card small {
    font-size: 0.875rem;
  }
  .program-action {
    margin-top: 0.2rem;
  }
  .gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 230px);
    gap: 0.75rem;
  }
  .gallery-item--tall,
  .gallery-item--wide {
    grid-column: auto;
    grid-row: auto;
  }
  .gallery-item {
    border-radius: 20px;
  }
  .gallery-caption {
    display: none;
  }
  .school-life > .button,
  .info-requests > .button {
    width: 100%;
  }
  .philosophy {
    gap: 1.75rem;
    padding-block: 3rem;
  }
  .philosophy-item {
    grid-template-columns: 48px 1fr;
    gap: 0.9rem;
  }
  .philosophy-icon {
    width: 46px;
    height: 46px;
  }
  .philosophy-item h3 {
    font-size: 1.45rem;
  }
  .reason {
    grid-template-columns: 30px 1fr;
  }
  .reason svg,
  .reason h3,
  .reason p {
    grid-column: 2;
  }
  .reason {
    padding: 1.25rem 0;
  }
  .testimonial-photo {
    min-height: 290px;
  }
  .testimonial-card {
    padding: 1.5rem;
  }
  .testimonial-card > p:not(.eyebrow, .testimonial-attribution) {
    margin-top: 0.9rem;
  }
  .visit-card {
    padding: 1.4rem;
    border-radius: 22px;
  }
  .visit-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }
  .visit-actions .button,
  .visit-actions .text-link {
    width: 100%;
    justify-content: center;
  }
  .visit-facts {
    grid-template-columns: 1fr;
  }
  .fact-card {
    min-height: 0;
    padding: 1.3rem;
    border-radius: 20px;
  }
  .fact-card > svg {
    margin-bottom: 0.5rem;
  }
  .fact-card > span {
    margin-top: 0.35rem;
  }
  .fact-card strong {
    font-size: 1.45rem;
  }
  .info-grid {
    border-radius: 18px;
    overflow: hidden;
  }
  .info-grid article {
    min-height: 0;
    padding: 1.2rem;
  }
  .info-grid h3 {
    margin-top: 0.8rem;
  }
  .final-cta {
    padding-block: 3.2rem;
  }
  .site-footer {
    padding: 3rem 1rem 1.5rem;
  }
  .footer-main {
    gap: 2.25rem;
  }
  .footer-brand > img {
    width: 200px;
  }
  .footer-nav {
    gap: 2rem 1rem;
  }
  .footer-nav a {
    min-height: 44px;
  }
  .footer-nav {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .admissions-hero {
    gap: 2rem;
    padding: 2.5rem 1rem 3rem;
  }
  .admissions-hero h1 {
    font-size: clamp(3rem, 15vw, 4.25rem);
  }
  .admissions-hero p:not(.eyebrow) {
    font-size: 1rem;
  }
  .admissions-art {
    min-height: 220px;
    border-radius: 42% 42% 24px 24px;
  }
  .admissions-section {
    padding: 0 1rem 3.5rem;
  }
  .admissions-steps {
    grid-template-columns: 1fr;
  }
  .admissions-step {
    min-height: 0;
    padding: 1.2rem;
  }
  .admissions-step h3 {
    margin-top: 0.9rem;
  }
  .admissions-contact {
    align-items: stretch;
    flex-direction: column;
  }
  .admissions-contact .button {
    width: 100%;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 620px) and (max-height: 500px) and (orientation: landscape) {
  section {
    scroll-margin-top: 74px;
  }
  .site-header {
    grid-template-columns: 1fr auto auto;
    min-height: 70px;
    padding-block: 0.5rem;
  }
  .brand {
    width: 110px;
  }
  .header-cta {
    grid-column: 2;
    grid-row: 1;
    width: auto;
  }
  .menu-button {
    grid-column: 3;
    grid-row: 1;
  }
  .mobile-panel {
    inset: 70px 0 0;
  }
  .mobile-panel nav {
    overflow-y: auto;
  }
  .hero {
    padding-top: 2rem;
  }
  .hero-visual {
    min-height: 300px;
  }
}

/* A short, wide screen gets an editorial split hero instead of a tall mobile stack. */
@media (max-width: 980px) and (max-height: 500px) and (orientation: landscape) {
  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(240px, 0.95fr);
    gap: 1.5rem;
    align-items: start;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  .hero-copy {
    max-width: none;
  }
  .hero h1 {
    font-size: clamp(2.65rem, 7.2vw, 3.5rem);
  }
  .hero-intro {
    margin-top: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.4;
  }
  .hero-family {
    margin-top: 0.55rem;
    font-size: 0.875rem;
  }
  .hero .button-row {
    margin-top: 0.8rem;
  }
  .hero .button {
    min-height: 44px;
    padding: 0.65rem 0.9rem;
  }
  .hero-visual {
    min-height: max(250px, calc(100dvh - 120px));
  }
  .hero-note {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .motion-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Programs & Approach — editorial interior page */
.programs-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 240px 1fr auto;
  gap: 2rem;
  align-items: center;
  min-height: 88px;
  padding: 0 max(4vw, 1.25rem);
  border-bottom: 1px solid rgba(36, 75, 91, 0.14);
  background: rgba(247, 251, 252, 0.94);
  backdrop-filter: blur(18px);
}
.programs-header .brand {
  width: 190px;
}
.programs-header__nav {
  display: flex;
  justify-content: center;
  gap: clamp(1.1rem, 2.8vw, 2.8rem);
}
.programs-header__nav a {
  min-height: 44px;
  padding-block: 0.75rem;
  font-size: 0.82rem;
  font-weight: 800;
}
.programs-page {
  overflow: hidden;
}
.programs-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: min(800px, calc(100vh - 88px));
  background: var(--white);
}
.programs-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 7rem) max(4vw, 1.25rem);
}
.programs-hero__copy .back-link {
  align-self: flex-start;
  margin: 0 0 clamp(2.5rem, 6vw, 5.5rem);
}
.programs-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4rem, 6.6vw, 7.5rem);
  font-weight: 400;
  letter-spacing: -0.062em;
  line-height: 0.88;
}
.programs-hero h1 em {
  color: var(--coral);
  font-weight: 400;
}
.programs-hero__intro {
  max-width: 590px;
  margin: 1.8rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.03rem, 1.3vw, 1.2rem);
}
.programs-hero__down {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  align-self: flex-start;
  min-height: 44px;
  margin-top: clamp(2rem, 5vw, 4rem);
  border-bottom: 1px solid currentColor;
  font-size: 0.8rem;
  font-weight: 850;
}
.programs-hero__visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 0;
  padding: clamp(1.2rem, 3vw, 2.5rem);
  overflow: hidden;
  background: #58b694;
}
.programs-hero__visual::before {
  content: '';
  position: absolute;
  inset: -16% -14% auto auto;
  width: 58%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
}
.programs-hero__visual figure {
  position: relative;
  width: min(92%, 790px);
  height: 73%;
  margin: auto auto 0;
  overflow: hidden;
  border-radius: 48% 48% 28px 28px;
  box-shadow: 0 28px 70px rgba(23, 55, 68, 0.2);
}
.programs-hero__visual figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.programs-hero__visual > p {
  position: relative;
  margin: 1.1rem auto 0;
  color: #0f3f39;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.65rem);
  font-style: italic;
}
.programs-seal {
  position: absolute;
  left: clamp(1.2rem, 3vw, 2.5rem);
  top: clamp(1.2rem, 3vw, 2.5rem);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 145px;
  aspect-ratio: 1;
  padding: 1rem;
  border: 1px solid rgba(23, 55, 68, 0.5);
  border-radius: 50%;
  color: var(--ink-deep);
  text-align: center;
  transform: rotate(-8deg);
}
.programs-seal span {
  font-family: var(--font-display);
  font-size: 2.4rem;
  letter-spacing: -0.13em;
  line-height: 1;
}
.programs-seal small {
  font-size: 0.51rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  line-height: 1.35;
}
.program-jump {
  display: grid;
  grid-template-columns: 1.1fr repeat(4, minmax(155px, 1fr));
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem max(4vw, 1.25rem);
  border-bottom: 1px solid var(--line);
}
.program-jump > span {
  align-self: center;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.program-jump a {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 64px;
  padding: 0.65rem;
  border-left: 1px solid var(--line);
}
.program-jump b {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50% 50% 46% 54%;
  background: var(--aqua-soft);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  transform: rotate(8deg);
}
.program-jump a:nth-child(3) b { background: #f5c1b8; }
.program-jump a:nth-child(4) b { background: #f8d2d0; }
.program-jump a:nth-child(5) b { background: var(--yellow); }
.program-jump a > span {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 1.06rem;
  line-height: 1.05;
}
.program-jump small {
  margin-top: 0.2rem;
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.approach-story {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(3rem, 8vw, 8rem);
}
.approach-story__intro {
  align-self: start;
  position: sticky;
  top: 120px;
}
.approach-story h2,
.program-intro h2,
.day-story h2,
.programs-community h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.15rem, 5.6vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
}
.approach-story__intro > p:last-child {
  max-width: 520px;
  margin: 1.5rem 0 0;
  color: var(--ink-soft);
}
.approach-story__list {
  border-top: 1px solid var(--line);
}
.approach-story__list article {
  display: grid;
  grid-template-columns: 34px 60px 1fr;
  gap: 1.4rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}
.approach-story__number {
  color: var(--coral);
  font-size: 0.67rem;
  font-weight: 850;
}
.approach-story__icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 19px;
  background: var(--aqua-soft);
}
.approach-story__list article:nth-child(2) .approach-story__icon {
  background: #f8d2d0;
}
.approach-story__list article:nth-child(3) .approach-story__icon {
  background: var(--yellow);
}
.approach-story__list h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 2.5vw, 2.4rem);
  font-weight: 400;
  line-height: 1.05;
}
.approach-story__list p {
  margin: 0;
  color: var(--ink-soft);
}
.approach-story__example {
  margin-top: 0.8rem !important;
  color: var(--ink) !important;
  font-size: 0.88rem;
}
.program-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 8vw, 8rem);
  align-items: end;
  padding-top: 2rem;
}
.program-intro > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.03rem;
}
.program-stories {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 max(4vw, 1.25rem) clamp(4rem, 8vw, 7rem);
}
.program-story {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  min-height: 660px;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  overflow: hidden;
  border-radius: 36px;
}
.program-story:nth-child(even) .program-story__photo {
  order: 2;
}
.program-story__photo {
  position: relative;
  min-height: 600px;
  overflow: hidden;
}
.program-story__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.program-story__photo > span {
  position: absolute;
  left: 1.2rem;
  bottom: 1rem;
  color: white;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 8vw, 8rem);
  line-height: 0.8;
  text-shadow: 0 2px 18px rgba(23, 55, 68, 0.3);
}
.program-story__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5.2rem);
  overflow: hidden;
}
.program-story--aqua .program-story__content { background: #dceff2; }
.program-story--coral .program-story__content { background: #f6c9c0; }
.program-story--pink .program-story__content { background: #f8dcda; }
.program-story--blue .program-story__content { background: #cadfe7; }
.program-story__gem {
  position: absolute;
  right: -1.5rem;
  top: -2.5rem;
  color: rgba(255, 255, 255, 0.48);
  font-family: var(--font-display);
  font-size: clamp(10rem, 22vw, 20rem);
  line-height: 1;
}
.program-story__hebrew {
  position: relative;
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.16em;
}
.program-story h2 {
  position: relative;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.1rem, 5.4vw, 5.9rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.9;
}
.program-story h2 em {
  display: block;
  margin-top: 0.38rem;
  font-size: 0.45em;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.program-story__age {
  position: relative;
  margin: 1.25rem 0 0;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.program-story h3 {
  position: relative;
  max-width: 590px;
  margin: 2.2rem 0 0.8rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  font-weight: 400;
  line-height: 1.12;
}
.program-story__body {
  position: relative;
  max-width: 620px;
  margin: 0;
  color: #36525d;
}
.program-story ul {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}
.program-story li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 38px;
  padding: 0.45rem 0.72rem;
  border: 1px solid rgba(36, 75, 91, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  font-size: 0.73rem;
  font-weight: 800;
}
.program-story .text-link {
  position: relative;
  align-self: flex-start;
}
.day-story {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  grid-template-areas:
    'heading timeline'
    'photo timeline';
  gap: clamp(1.5rem, 3vw, 3rem) clamp(2rem, 5vw, 5rem);
  align-items: start;
  max-width: min(var(--max-width), calc(100% - max(4vw, 1.25rem) * 2));
  margin-block: clamp(2rem, 5vw, 5rem);
  padding: clamp(2rem, 5vw, 5rem);
  overflow: hidden;
  border-radius: 42px;
  background: var(--ink-deep);
  color: white;
}
.day-story__heading {
  grid-area: heading;
  max-width: 650px;
}
.day-story .eyebrow {
  color: #bdd4d9;
}
.day-story__intro {
  max-width: 570px;
  margin: 1.25rem 0 0;
  color: #dce8ea;
}
.day-story__photo {
  grid-area: photo;
  position: relative;
  height: clamp(430px, 48vw, 610px);
  margin: 0;
  overflow: hidden;
  border-radius: 30px;
}
.day-story__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
}
.day-story__photo::after {
  content: '';
  position: absolute;
  inset: 55% 0 0;
  background: linear-gradient(transparent, rgba(13, 42, 53, 0.78));
  pointer-events: none;
}
.day-story__photo figcaption {
  position: absolute;
  inset: auto 1.25rem 1.15rem;
  z-index: 1;
  color: white;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.04em;
}
.day-story__timeline {
  grid-area: timeline;
  display: grid;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.day-story__timeline li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1.1rem;
  align-items: start;
  min-height: 128px;
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
}
.day-story__timeline li:nth-child(2),
.day-story__timeline li:nth-child(4) {
  background: rgba(255, 255, 255, 0.12);
}
.day-story__number {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink-deep);
  font-size: 0.72rem;
  font-weight: 900;
}
.day-story__timeline li:nth-child(2) .day-story__number {
  background: var(--coral);
}
.day-story__timeline li:nth-child(3) .day-story__number {
  background: var(--aqua);
}
.day-story__timeline li:nth-child(4) .day-story__number {
  background: var(--pink);
}
.day-story__timeline h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1;
}
.day-story__timeline p {
  margin: 0;
  color: #dce8ea;
  font-size: 0.9rem;
}
.programs-community {
  position: relative;
  max-width: min(var(--max-width), calc(100% - max(4vw, 1.25rem) * 2));
  padding-inline: max(1.5rem, 6vw);
  overflow: hidden;
  border-radius: 42px;
  background: var(--ink-deep);
  color: white;
  text-align: center;
}
.programs-community .eyebrow {
  color: #bdd4d9;
}
.programs-community h2 {
  position: relative;
  max-width: 950px;
  margin-inline: auto;
}
.programs-community > p:not(.eyebrow) {
  position: relative;
  max-width: 720px;
  margin: 1.5rem auto 0;
  color: #c8d7da;
}
.programs-community__mark {
  position: absolute;
  inset: 50% auto auto 50%;
  color: rgba(234, 157, 147, 0.12);
  font-family: var(--font-display);
  font-size: min(36vw, 480px);
  letter-spacing: -0.18em;
  transform: translate(-55%, -50%) rotate(-7deg);
}
.footer-bottom span:last-child {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

@media (max-width: 1050px) {
  .programs-header {
    grid-template-columns: 1fr auto;
  }
  .programs-header__nav {
    display: none;
  }
  .programs-hero {
    grid-template-columns: 1fr;
  }
  .programs-hero__copy {
    min-height: 620px;
  }
  .programs-hero__visual {
    min-height: 650px;
  }
  .program-jump {
    grid-template-columns: repeat(4, 1fr);
  }
  .program-jump > span {
    grid-column: 1 / -1;
    padding: 0.7rem;
  }
  .approach-story {
    grid-template-columns: 1fr;
  }
  .approach-story__intro {
    position: static;
  }
  .day-story__photo {
    height: 500px;
  }
  .day-story {
    grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
    grid-template-areas:
      'heading heading'
      'photo timeline';
  }
}

@media (max-width: 760px) {
  .programs-header {
    min-height: 76px;
    padding: 0.55rem 1rem;
  }
  .programs-header .brand {
    width: 142px;
  }
  .programs-header .button {
    min-height: 46px;
    padding-inline: 0.85rem;
    font-size: 0.75rem;
  }
  .programs-hero__copy {
    min-height: auto;
    padding: 2rem 1rem 3rem;
  }
  .programs-hero__copy .back-link {
    margin-bottom: 2rem;
  }
  .programs-hero h1 {
    font-size: clamp(3.25rem, 15vw, 4.6rem);
    line-height: 0.92;
  }
  .programs-hero h1 br {
    display: none;
  }
  .programs-hero__intro {
    margin-top: 1.2rem;
    font-size: 1rem;
  }
  .programs-hero__down {
    margin-top: 1.5rem;
  }
  .programs-hero__visual {
    min-height: 440px;
    padding: 1rem;
  }
  .programs-hero__visual figure {
    width: 100%;
    height: 76%;
  }
  .programs-seal {
    left: 1rem;
    top: 1rem;
    width: 104px;
    padding: 0.7rem;
  }
  .programs-seal span {
    font-size: 1.75rem;
  }
  .programs-seal small {
    display: none;
  }
  .program-jump {
    grid-template-columns: 1fr 1fr;
    padding: 0.75rem;
  }
  .program-jump a:nth-child(odd) {
    border-left: 0;
  }
  .program-jump a > span {
    font-size: 0.95rem;
  }
  .program-jump > span,
  .program-jump small,
  .approach-story__number,
  .program-story__age,
  .program-story li,
  .programs-page .eyebrow,
  .programs-page + .site-footer h2,
  .programs-page + .site-footer .footer-bottom {
    font-size: 0.75rem;
  }
  .approach-story h2,
  .program-intro h2,
  .day-story h2,
  .programs-community h2 {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
  }
  .approach-story__list article {
    grid-template-columns: 31px 48px 1fr;
    gap: 0.8rem;
    padding: 1.5rem 0;
  }
  .approach-story__icon {
    width: 44px;
    height: 44px;
    border-radius: 15px;
  }
  .approach-story__list h3 {
    font-size: 1.65rem;
  }
  .program-intro {
    grid-template-columns: 1fr;
  }
  .program-stories {
    padding-inline: 0.5rem;
  }
  .program-story {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 26px;
    scroll-margin-top: 88px;
  }
  .program-story:nth-child(even) .program-story__photo {
    order: 0;
  }
  .program-story__photo {
    min-height: 390px;
  }
  .program-story__photo img {
    object-position: center 34%;
  }
  .program-story__content {
    padding: 1.6rem 1.25rem 2rem;
  }
  .program-story h2 {
    font-size: clamp(2.85rem, 14vw, 4rem);
  }
  .program-story h3 {
    margin-top: 1.5rem;
    font-size: 1.45rem;
  }
  .program-story li {
    min-height: 44px;
  }
  .day-story__photo {
    height: min(116vw, 520px);
  }
  .day-story {
    grid-template-columns: 1fr;
    grid-template-areas:
      'heading'
      'photo'
      'timeline';
    max-width: calc(100% - 1rem);
    padding: 1.25rem;
    border-radius: 26px;
  }
  .day-story__timeline li {
    grid-template-columns: 48px 1fr;
    min-height: 0;
    padding: 1.15rem;
  }
  .programs-community {
    max-width: calc(100% - 1rem);
    border-radius: 26px;
  }
}

@media (max-width: 390px) {
  .programs-header .button svg {
    display: none;
  }
  .programs-header .button {
    padding-inline: 0.7rem;
  }
  .programs-header .brand {
    width: 126px;
  }
  .program-jump b {
    width: 32px;
    height: 32px;
  }
  .approach-story__list article {
    grid-template-columns: 28px 1fr;
  }
  .approach-story__icon {
    grid-column: 2;
    grid-row: 1;
  }
  .approach-story__list article > div:last-child {
    grid-column: 2;
  }
}

/* Shared editorial pages */
.editorial-page h1,
.editorial-page h2 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.94;
}
.about-hero,
.life-hero,
.contact-hero,
.admissions-editorial-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: calc(100vh - 94px);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 6rem) max(4vw, 1.25rem);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}
.about-hero h1,
.life-hero h1,
.contact-hero h1,
.admissions-editorial-hero h1 {
  max-width: 790px;
  margin: 0;
  font-size: clamp(4rem, 6.8vw, 7.4rem);
}
.about-hero__copy > p:not(.eyebrow),
.life-hero__copy > p:not(.eyebrow),
.contact-hero__copy > p:not(.eyebrow),
.admissions-editorial-hero > div:first-child > p:not(.eyebrow) {
  max-width: 620px;
  margin: 1.6rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
}
.about-hero__copy .button {
  margin-top: 1.8rem;
}
.about-hero__photos {
  position: relative;
  min-height: 600px;
}
.about-hero__photos figure {
  position: absolute;
  margin: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-hero__photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-hero__main {
  inset: 0 3% 4% 16%;
  border-radius: 48% 48% 28px 28px;
}
.about-hero__detail {
  left: 0;
  bottom: 0;
  width: 47%;
  height: 37%;
  border: 9px solid var(--cream);
  border-radius: 26px;
  transform: rotate(-4deg);
}
.about-hero__photos > span {
  position: absolute;
  right: -2%;
  top: 2%;
  z-index: -1;
  display: grid;
  place-items: center;
  width: 45%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--yellow);
  color: rgba(36, 75, 91, 0.45);
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6rem);
  letter-spacing: -0.14em;
}
.about-statement {
  display: grid;
  grid-template-columns: 0.35fr 1.2fr 0.7fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  background: white;
}
.about-statement h2,
.staff-directory h2,
.team-section h2,
.about-close h2,
.life-intro h2,
.life-story h2,
.life-wide-photo h2,
.life-close h2,
.contact-option h2,
.contact-details h2,
.tour-expect h2,
.contact-close h2,
.enrollment-path h2,
.faq-section h2,
.admissions-contact-band h2 {
  margin: 0;
  font-size: clamp(3rem, 5.4vw, 5.7rem);
}
.about-statement > div p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}
.staff-directory {
  padding-top: clamp(3rem, 6vw, 5.5rem);
}
.staff-directory__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
}
.staff-directory__heading > div {
  max-width: 900px;
}
.staff-directory__heading > div > p:last-child {
  max-width: 680px;
  margin: 1.35rem 0 0;
  color: var(--ink-soft);
}
.staff-directory__group-heading {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}
.staff-directory__group-heading--team {
  margin-top: clamp(3.5rem, 7vw, 6rem);
}
.staff-directory__group-heading h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  font-weight: 400;
  line-height: 1;
}
.leadership-grid,
.staff-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.6rem);
  margin-top: 1.5rem;
}
.leadership-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.staff-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.staff-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: white;
}
.staff-card__portrait {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 160px;
  overflow: hidden;
  background: var(--aqua-soft);
}
.staff-grid .staff-card:nth-child(4n + 2) .staff-card__portrait { background: #f8d2d0; }
.staff-grid .staff-card:nth-child(4n + 3) .staff-card__portrait { background: #fbebc9; }
.staff-grid .staff-card:nth-child(4n + 4) .staff-card__portrait { background: #d9edf1; }
.staff-card__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.staff-card__portrait > span {
  color: rgba(36, 75, 91, 0.54);
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6vw, 5.5rem);
  letter-spacing: -0.08em;
}
.staff-card__content {
  padding: 1.25rem;
}
.staff-card__role {
  margin: 0 0 0.5rem;
  color: var(--coral);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.staff-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  font-weight: 400;
  line-height: 1.04;
}
.staff-card__bio {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}
.staff-card--leader {
  display: grid;
  grid-template-columns: minmax(170px, 0.72fr) minmax(0, 1.28fr);
  min-height: 330px;
  border-radius: 32px;
}
.staff-card--leader .staff-card__portrait {
  min-height: 100%;
  background: var(--yellow);
}
.staff-card--leader:nth-child(2) .staff-card__portrait {
  background: var(--pink);
}
.staff-card--leader .staff-card__content {
  align-self: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
.staff-card--leader h3 {
  font-size: clamp(2.15rem, 3.6vw, 3.5rem);
}
.team-section {
  max-width: min(var(--max-width), calc(100% - max(4vw, 1.25rem) * 2));
  padding-inline: clamp(1.5rem, 5vw, 5rem);
  border-radius: 42px;
  background: var(--ink-deep);
  color: white;
}
.team-section__heading {
  display: grid;
  grid-template-columns: 0.3fr 1.1fr 0.6fr;
  gap: 2rem;
  align-items: end;
}
.team-section .eyebrow { color: #bdd4d9; }
.team-section__heading > p:last-child { color: #c8d7da; }
.team-values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 3.5rem;
  border-top: 1px solid rgba(255,255,255,.2);
  border-left: 1px solid rgba(255,255,255,.2);
}
.team-values article {
  min-height: 300px;
  padding: 1.5rem;
  border-right: 1px solid rgba(255,255,255,.2);
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.team-values span { color: var(--pink); font-size: .75rem; font-weight: 850; }
.team-values svg { display: block; width: 34px; height: 34px; margin: 2.3rem 0 1.4rem; color: var(--aqua); stroke-width: 1.6; }
.team-values h3 { margin: 0 0 .7rem; font-family: var(--font-display); font-size: 1.55rem; font-weight: 400; line-height: 1.08; }
.team-values p { margin: 0; color: #c8d7da; font-size: .9rem; }
.life-close,
.contact-close,
.admissions-contact-band {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  align-items: center;
  max-width: min(var(--max-width), calc(100% - max(4vw, 1.25rem) * 2));
  padding-inline: clamp(1.5rem, 5vw, 5rem);
  border-radius: 42px;
  background: var(--coral);
  color: white;
}
.life-close h2 { max-width: 800px; }
.about-close {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
  border-top: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}
.about-close__copy {
  max-width: 850px;
}
.about-close__copy > p:last-child {
  max-width: 620px;
  margin: 1.25rem 0 0;
  color: var(--ink-soft);
}

/* School life */
.life-hero__mosaic {
  position: relative;
  min-height: 610px;
}
.life-hero__mosaic figure {
  position: absolute;
  margin: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.life-hero__mosaic img { width: 100%; height: 100%; object-fit: cover; }
.life-hero__mosaic figure:first-child { inset: 0 4% 3% 23%; border-radius: 48% 48% 25px 25px; }
.life-hero__mosaic figure:nth-child(2) { left: 0; bottom: 2%; width: 48%; height: 43%; border: 9px solid var(--cream); border-radius: 24px; transform: rotate(-4deg); }
.life-hero__mosaic > span { position: absolute; left: 2%; top: 5%; color: var(--ink); font-family: var(--font-display); font-size: 1.15rem; font-style: italic; line-height: 1.4; transform: rotate(-7deg); }
.life-intro { display: grid; grid-template-columns: .4fr 1.15fr .65fr; gap: 3rem; align-items: end; background: var(--yellow); }
.life-intro > p:last-child { margin: 0; color: #405b64; }
.life-stories { max-width: var(--max-width); margin: 0 auto; padding: 0 max(4vw, 1.25rem) clamp(4rem, 8vw, 7rem); }
.life-story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; min-height: 610px; padding-block: clamp(2.5rem, 5vw, 4.75rem); border-bottom: 1px solid var(--line); }
.life-story:nth-child(even) figure { order: 2; }
.life-story figure { position: relative; height: 540px; margin: 0; overflow: hidden; border-radius: 30px; }
.life-story figure img { width: 100%; height: 100%; object-fit: cover; }
.life-story figure span { position: absolute; left: 1rem; bottom: .5rem; color: white; font-family: var(--font-display); font-size: 7rem; line-height: 1; text-shadow: 0 2px 18px rgba(0,0,0,.24); }
.life-story > div > p:last-child { max-width: 600px; color: var(--ink-soft); font-size: 1.03rem; }
.life-wide-photo { position: relative; min-height: 620px; overflow: hidden; }
.life-wide-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.life-wide-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,42,53,.88), rgba(13,42,53,.15) 70%); }
.life-wide-photo > div { position: relative; z-index: 1; max-width: 690px; padding: clamp(4rem, 10vw, 8rem) max(4vw, calc((100vw - var(--max-width))/2 + 4vw)); color: white; }
.life-wide-photo .eyebrow { color: #d1e5e8; }
.life-wide-photo p:last-child { color: #e0eaec; }
.life-gallery { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 1rem; }
.life-gallery figure { position: relative; min-height: 430px; margin: 0; overflow: hidden; border-radius: 26px; }
.life-gallery img { width: 100%; height: 100%; object-fit: cover; }
.life-gallery figcaption { position: absolute; inset: auto 0 0; padding: 4rem 1.2rem 1.2rem; background: linear-gradient(transparent, rgba(13,42,53,.85)); color: white; font-size: .84rem; font-weight: 750; }
.life-gallery__tall { transform: translateY(-2.5rem); }
.life-close { background: var(--ink-deep); text-align: left; }

/* Admissions */
.admissions-editorial-hero {
  grid-template-columns: 1fr;
  min-height: 0;
  padding-block: clamp(3.5rem, 6vw, 5.75rem);
}
.admissions-editorial-hero > div { max-width: 940px; }
.admissions-editorial-hero h1 { font-size: clamp(4rem, 6vw, 6.4rem); }
.admissions-facts { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 0; padding-bottom: clamp(3.5rem, 6vw, 5.5rem); }
.admissions-facts article { display: flex; flex-direction: column; min-height: 175px; padding: 1.5rem; border: 1px solid var(--line); border-right: 0; background: white; }
.admissions-facts article:last-child { border-right: 1px solid var(--line); }
.admissions-facts svg { color: var(--coral); }
.admissions-facts span { margin-top: auto; color: var(--ink-soft); font-size: .75rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.admissions-facts strong { margin-top: .5rem; font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; line-height: 1.12; }
.enrollment-path { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(3rem, 8vw, 8rem); padding-block: clamp(3.5rem, 6vw, 5.5rem); }
.enrollment-path__heading { position: sticky; top: 125px; align-self: start; }
.enrollment-path__steps { border-top: 1px solid var(--line); }
.enrollment-path__steps article { display: grid; grid-template-columns: 50px .65fr 1fr; gap: 1.2rem; padding: 1.8rem 0; border-bottom: 1px solid var(--line); }
.enrollment-path__steps span { color: var(--coral); font-size: .75rem; font-weight: 900; }
.enrollment-path__steps h3 { margin: 0; font-family: var(--font-display); font-size: 1.65rem; font-weight: 400; line-height: 1.08; }
.enrollment-path__steps p { margin: 0; color: var(--ink-soft); }
.faq-section { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(3rem, 8vw, 8rem); padding-block: clamp(3.5rem, 6vw, 5.5rem); background: white; }
.faq-section__intro > p:last-child { color: var(--ink-soft); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: grid; grid-template-columns: 38px 1fr; gap: .8rem; min-height: 68px; padding: 1.2rem 0; cursor: pointer; font-family: var(--font-display); font-size: 1.45rem; line-height: 1.1; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; grid-column: 3; }
.faq-list details[open] summary::after { content: '–'; }
.faq-list summary span { color: var(--coral); font-family: var(--font-sans); font-size: .75rem; font-weight: 900; }
.faq-list details > p { margin: 0 0 1.5rem 2.9rem; color: var(--ink-soft); }
.admissions-contact-band { background: var(--ink-deep); }
.admissions-contact-band > div:first-child { max-width: 800px; }
.admissions-contact-band .eyebrow { color: #bdd4d9; }
.admissions-contact-band > div:first-child > p:last-child { color: #c8d7da; }

/* Contact */
.contact-hero figure { height: 650px; margin: 0; overflow: hidden; border-radius: 48% 48% 28px 28px; background: var(--aqua-soft); }
.contact-hero figure img { width: 100%; height: 100%; object-fit: cover; }
.contact-options { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-option { position: relative; min-height: 520px; padding: clamp(2rem, 5vw, 5rem); overflow: hidden; border-radius: 32px; }
.contact-option--tour { background: var(--aqua-soft); }
.contact-option--question { background: var(--yellow); }
.contact-option > span { position: absolute; right: 1.5rem; top: .5rem; color: rgba(36,75,91,.18); font-family: var(--font-display); font-size: 8rem; line-height: 1; }
.contact-option h2 { position: relative; }
.contact-option > p:not(.eyebrow) { position: relative; max-width: 540px; color: var(--ink-soft); }
.contact-option .button { position: relative; margin-top: 2rem; }
.contact-details { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.contact-details__intro > p:last-child { color: var(--ink-soft); }
.contact-details__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-details__cards a { display: flex; flex-direction: column; min-height: 230px; padding: 1.5rem; border: 1px solid var(--line); border-radius: 24px; background: white; overflow-wrap: anywhere; }
.contact-details__cards a:last-child { grid-column: span 2; }
.contact-details__cards svg { color: var(--coral); }
.contact-details__cards span { margin-top: auto; color: var(--ink-soft); font-size: .75rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.contact-details__cards strong { margin-top: .5rem; font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; line-height: 1.15; }
.tour-expect { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); background: white; }
.tour-expect ol { margin: 0; padding: 0; border-top: 1px solid var(--line); list-style: none; }
.tour-expect li { display: grid; grid-template-columns: 45px 1fr; gap: 1rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.tour-expect li > span { color: var(--coral); font-size: .75rem; font-weight: 900; }

/* Tour request */
.tour-hero {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}
.tour-hero__intro {
  position: sticky;
  top: 130px;
  padding-top: 1rem;
}
.tour-hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(3.7rem, 6.4vw, 6.7rem);
}
.tour-hero__intro > p:not(.eyebrow) {
  max-width: 590px;
  margin: 1.5rem 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}
.tour-contact-list {
  display: grid;
  gap: .65rem;
  margin-top: 2rem;
}
.tour-contact-list a {
  display: flex;
  gap: .7rem;
  align-items: center;
  min-height: 44px;
  overflow-wrap: anywhere;
  font-weight: 750;
}
.tour-contact-list svg { width: 19px; color: var(--coral); }
.tour-form {
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: white;
  box-shadow: var(--shadow);
}
.tour-form__heading h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2.5rem, 4.5vw, 4.3rem);
}
.tour-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin-top: 2rem;
}
.tour-form label {
  display: grid;
  gap: .45rem;
  color: var(--ink-deep);
  font-size: .9rem;
  font-weight: 800;
}
.tour-form label > span { color: var(--coral); }
.tour-form input,
.tour-form textarea {
  width: 100%;
  min-height: 48px;
  padding: .8rem .9rem;
  border: 1px solid rgba(36, 75, 91, .32);
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink-deep);
  font: inherit;
}
.tour-form textarea { min-height: 130px; resize: vertical; }
.tour-form input:focus,
.tour-form textarea:focus { border-color: var(--blue); outline: 3px solid rgba(90, 148, 173, .2); }
.tour-form__wide { grid-column: 1 / -1; }
.tour-form .button { margin-top: 1.4rem; }
.tour-form__note {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: .86rem;
}
.tour-form__note a { text-decoration: underline; text-underline-offset: 3px; }
.tour-expect h3 { margin: 0 0 .35rem; font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; }
.tour-expect p { margin: 0; color: var(--ink-soft); }
.contact-close { position: relative; flex-direction: column; justify-content: center; text-align: center; background: var(--ink-deep); }
.contact-close > div { position: absolute; color: rgba(234,157,147,.13); font-family: var(--font-display); font-size: min(35vw, 420px); letter-spacing: -.18em; }
.contact-close > *:not(div) { position: relative; }
.contact-close .eyebrow { color: #bdd4d9; }

@media (max-width: 980px) {
  .about-hero,
  .life-hero,
  .contact-hero,
  .admissions-editorial-hero { grid-template-columns: 1fr; min-height: auto; }
  .about-hero__photos,
  .life-hero__mosaic { min-height: 600px; }
  .about-statement,
  .life-intro { grid-template-columns: 1fr; }
  .enrollment-path,
  .faq-section,
  .contact-details,
  .tour-expect,
  .tour-hero { grid-template-columns: 1fr; }
  .tour-hero__intro { position: static; }
  .team-section__heading { grid-template-columns: 1fr; }
  .team-values { grid-template-columns: 1fr 1fr; }
  .staff-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .enrollment-path__heading { position: static; }
  .admissions-facts { grid-template-columns: 1fr 1fr; }
  .admissions-facts article:nth-child(2) { border-right: 1px solid var(--line); }
  .life-gallery { grid-template-columns: 1fr 1fr; }
  .life-gallery__tall { grid-column: span 2; transform: none; }
}

@media (max-width: 760px) {
  .about-hero,
  .life-hero,
  .contact-hero,
  .admissions-editorial-hero { padding: 2.4rem 1rem 3rem; gap: 2rem; }
  .about-hero h1,
  .life-hero h1,
  .contact-hero h1,
  .admissions-editorial-hero h1 { font-size: clamp(3rem, 14vw, 4.25rem); }
  .about-hero__photos,
  .life-hero__mosaic { min-height: 430px; }
  .about-hero__main { inset-inline: 12% 0; }
  .about-hero__detail { width: 50%; height: 37%; border-width: 6px; }
  .about-statement h2,
  .staff-directory h2,
  .team-section h2,
  .about-close h2,
  .life-intro h2,
  .life-story h2,
  .life-wide-photo h2,
  .life-close h2,
  .contact-option h2,
  .contact-details h2,
  .tour-expect h2,
  .contact-close h2,
  .enrollment-path h2,
  .faq-section h2,
  .admissions-contact-band h2 { font-size: clamp(2.45rem, 12vw, 3.4rem); }
  .about-statement h2 { font-size: clamp(2.15rem, 10.5vw, 2.85rem); }
  .tour-hero { padding: 2.5rem 1rem 3rem; gap: 2.2rem; }
  .tour-hero h1 { font-size: clamp(3rem, 14vw, 4.25rem); }
  .tour-form { padding: 1.25rem; border-radius: 24px; }
  .tour-form__grid { grid-template-columns: 1fr; }
  .tour-form__wide { grid-column: auto; }
  .tour-form .button { width: 100%; }
  .team-section,
  .life-close,
  .contact-close,
  .admissions-contact-band { max-width: calc(100% - 1rem); border-radius: 26px; }
  .team-values { grid-template-columns: 1fr; }
  .team-values article { min-height: 240px; }
  .leadership-grid { grid-template-columns: 1fr; }
  .staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .staff-card--leader { min-height: 300px; }
  .life-close,
  .admissions-contact-band { flex-direction: column; align-items: stretch; }
  .life-close .button,
  .admissions-contact-band .button { width: 100%; }
  .about-close { grid-template-columns: 1fr; align-items: start; }
  .about-close .button { width: 100%; }
  .life-story { grid-template-columns: 1fr; min-height: 0; gap: 1.5rem; }
  .life-story:nth-child(even) figure { order: 0; }
  .life-story figure { height: 400px; }
  .life-wide-photo { min-height: 540px; }
  .life-wide-photo::after { background: linear-gradient(0deg, rgba(13,42,53,.92), rgba(13,42,53,.05) 85%); }
  .life-wide-photo > div { position: absolute; inset: auto 0 0; padding: 4rem 1rem 2rem; }
  .life-gallery { grid-template-columns: 1fr 1fr; padding-inline: 1rem; }
  .life-gallery figure { min-height: 270px; }
  .life-gallery__tall { min-height: 410px !important; }
  .admissions-editorial-hero { padding-bottom: 2rem; }
  .admissions-facts { grid-template-columns: 1fr 1fr; gap: .65rem; padding-top: 0; padding-bottom: 2.75rem; }
  .admissions-facts article,
  .admissions-facts article:nth-child(2),
  .admissions-facts article:last-child { min-height: 145px; padding: 1.1rem; border-right: 1px solid var(--line); }
  .admissions-facts strong { font-size: 1.25rem; }
  .enrollment-path,
  .faq-section { padding-block: 2.75rem; gap: 2rem; }
  .enrollment-path__steps article { grid-template-columns: 38px 1fr; }
  .enrollment-path__steps p { grid-column: 2; }
  .faq-list summary { font-size: 1.25rem; }
  .contact-hero figure { height: 520px; }
  .contact-options { grid-template-columns: 1fr; }
  .contact-option { min-height: 430px; padding: 1.5rem; }
  .contact-option .button { width: 100%; }
  .contact-details__cards { grid-template-columns: 1fr; }
  .contact-details__cards a:last-child { grid-column: auto; }
}

@media (max-width: 520px) {
  .staff-directory__heading { grid-template-columns: 1fr; align-items: start; }
  .staff-card--leader { grid-template-columns: 112px 1fr; min-height: 220px; }
  .staff-card--leader .staff-card__content { padding: 1.2rem; }
  .staff-card--leader h3 { font-size: 2rem; }
  .staff-grid { grid-template-columns: 1fr; }
  .staff-grid .staff-card { display: grid; grid-template-columns: 112px 1fr; min-height: 130px; }
  .staff-grid .staff-card__portrait { min-height: 100%; }
  .staff-grid .staff-card__portrait > span { font-size: 2.7rem; }
  .staff-grid .staff-card__content { align-self: center; }
}

/* Homepage editorial reset */
.home-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: min(var(--max-width), calc(100% - max(4vw, 1.25rem) * 2));
  margin: 0 auto;
  overflow: hidden;
  border-radius: 26px;
  background: var(--ink);
  color: white;
}
.home-trust > div {
  min-width: 0;
  padding: 1.35rem clamp(1rem, 2.2vw, 2rem);
  border-right: 1px solid rgba(255,255,255,.18);
}
.home-trust > div:last-child { border-right: 0; }
.home-trust span {
  display: block;
  margin-bottom: .35rem;
  color: #bdd1d6;
  font-size: .65rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.home-trust strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  font-weight: 400;
  line-height: 1.15;
}

.home-approach {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(270px, .72fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
  max-width: min(var(--max-width), calc(100% - max(4vw, 1.25rem) * 2));
  padding-inline: clamp(1.5rem, 4.5vw, 4.75rem);
  overflow: hidden;
  border-radius: 42px;
  background: var(--aqua-soft);
}
.home-approach h2,
.home-life h2,
.home-family h2,
.home-admissions h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.2vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -.052em;
  line-height: .96;
}
.home-approach__lead {
  margin: 1.45rem 0 .85rem;
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.62;
}
.home-approach__story > p:not(.eyebrow, .home-approach__lead) {
  margin: 0 0 .85rem;
  color: var(--ink-soft);
}
.home-approach__story .text-link { margin-top: .55rem; }
.home-approach__visual { position: relative; }
.home-approach__visual figure {
  height: 570px;
  margin: 0;
  overflow: hidden;
  border-radius: 48% 48% 26px 26px;
  background: var(--aqua);
  box-shadow: var(--shadow);
  transform: rotate(-1.5deg);
}
.home-approach__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-approach__visual > p {
  position: absolute;
  right: -1.5rem;
  bottom: 2.25rem;
  max-width: 150px;
  margin: 0;
  padding: .8rem 1rem;
  border: 6px solid var(--aqua-soft);
  border-radius: 18px;
  background: var(--yellow);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.05;
  transform: rotate(5deg);
}
.home-approach__principles { border-top: 1px solid var(--line); }
.home-approach__principles article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
.home-approach__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: var(--ink-deep);
}
.home-approach__icon--1 { background: var(--aqua); }
.home-approach__icon--2 { background: var(--pink); }
.home-approach__icon--3 { background: var(--yellow); }
.home-approach__icon svg { width: 22px; height: 22px; }
.home-approach__principles h3 {
  margin: 0 0 .35rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.05;
}
.home-approach__principles p {
  margin: 0;
  color: var(--ink-soft);
  font-size: .9rem;
  line-height: 1.55;
}

.home-programs .program-card { min-height: 325px; }
.home-programs .program-age { margin: 4.7rem 0 .65rem; }
.home-programs .program-card > p:not(.program-age) { margin-bottom: .8rem; }

.home-life__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: end;
  margin-bottom: 2.75rem;
}
.home-life__intro > div:last-child > p {
  max-width: 520px;
  margin: 0 0 .75rem;
  color: var(--ink-soft);
}
.home-life__gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 300px 300px;
  gap: 1rem;
}
.home-life-photo {
  position: relative;
  grid-column: span 3;
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
  background: var(--aqua-soft);
}
.home-life-photo--feature { grid-column: span 5; grid-row: 1 / span 2; border-radius: 42% 42% 26px 26px; }
.home-life-photo--wide { grid-column: span 4; }
.home-life-photo--landscape { grid-column: span 7; }
.home-life-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(.2,.72,.25,1);
}
.home-life-photo:hover img { transform: scale(1.025); }
.home-life-photo figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 2.7rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(13,42,53,.78));
  color: white;
  font-size: .8rem;
  font-weight: 750;
}
.home-life__note {
  position: absolute;
  left: 38%;
  top: 46%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .8rem 1rem;
  border: 7px solid var(--cream);
  border-radius: 18px;
  background: var(--yellow);
  font-family: var(--font-display);
  font-style: italic;
  transform: rotate(-4deg);
}

.home-family {
  display: grid;
  grid-template-columns: minmax(300px, .8fr) minmax(0, 1.2fr);
  gap: 0;
  align-items: stretch;
}
.home-family__photo {
  min-height: 580px;
  overflow: hidden;
  border-radius: 46% 0 0 28px;
  background: var(--aqua-soft);
}
.home-family__photo img { width: 100%; height: 100%; object-fit: cover; }
.home-family__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.2rem, 5vw, 5.4rem);
  overflow: hidden;
  border-radius: 0 28px 28px 0;
  background: var(--yellow);
}
.home-family__copy > svg {
  position: absolute;
  right: -2.5rem;
  bottom: -2.5rem;
  width: 210px;
  height: 210px;
  color: rgba(36,75,91,.12);
  stroke-width: 1;
  transform: rotate(22deg);
}
.home-family__copy h2 { max-width: 750px; font-size: clamp(3rem, 4.9vw, 5.3rem); }
.home-family__copy > p:not(.eyebrow) {
  position: relative;
  max-width: 650px;
  margin: 1rem 0 0;
  color: #36545f;
}
.home-family__copy .text-link { align-self: flex-start; margin-top: 1rem; }

.home-admissions {
  display: grid;
  grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  max-width: min(var(--max-width), calc(100% - max(4vw, 1.25rem) * 2));
  padding-inline: clamp(1.5rem, 5vw, 5.25rem);
  overflow: hidden;
  border-radius: 42px;
  background: var(--ink);
  color: white;
}
.home-admissions .eyebrow { color: #bdd1d6; }
.home-admissions__intro > p:not(.eyebrow) {
  max-width: 570px;
  margin: 1.4rem 0 0;
  color: #c7d7da;
}
.home-admissions__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-top: 1.6rem;
}
.home-admissions__actions .button--dark { background: white; color: var(--ink-deep); }
.home-admissions__actions .text-link { color: white; }
.home-admissions__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255,255,255,.2);
  border-left: 1px solid rgba(255,255,255,.2);
}
.home-admissions__facts article {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 225px;
  padding: 1.5rem;
  border-right: 1px solid rgba(255,255,255,.2);
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.home-admissions__facts svg { width: 28px; height: 28px; margin-bottom: auto; color: var(--pink); }
.home-admissions__facts span {
  margin-top: 1.25rem;
  color: #bdd1d6;
  font-size: .65rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.home-admissions__facts strong {
  margin-top: .45rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.75rem);
  font-weight: 400;
  line-height: 1.15;
}
.home-admissions__facts small { margin-top: .45rem; color: #bdd1d6; font-size: .82rem; }
.home-admissions__facts a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  align-self: flex-start;
  min-height: 44px;
  margin-top: .55rem;
  border-bottom: 1px solid currentColor;
  font-size: .8rem;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .home-approach { grid-template-columns: minmax(0, 1fr) minmax(280px, .8fr); }
  .home-approach__principles { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
  .home-approach__principles article { grid-template-columns: 44px 1fr; padding: 1.25rem; border-right: 1px solid var(--line); }
  .home-approach__principles article:last-child { border-right: 0; }
}

@media (max-width: 980px) {
  .home-trust { grid-template-columns: 1fr 1fr; }
  .home-trust > div:nth-child(2) { border-right: 0; }
  .home-trust > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.18); }
  .home-life__gallery { grid-template-rows: 280px 260px 260px; }
  .home-life-photo--feature { grid-column: span 7; }
  .home-life-photo--wide { grid-column: span 5; }
  .home-life-photo:not(.home-life-photo--feature, .home-life-photo--wide, .home-life-photo--landscape) { grid-column: span 5; }
  .home-life-photo--landscape { grid-column: span 7; }
  .home-life__note { left: 50%; top: 30%; }
  .home-family { grid-template-columns: .85fr 1.15fr; }
  .home-admissions { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .home-approach { grid-template-columns: 1fr; }
  .home-approach__visual figure { height: 520px; }
  .home-approach__principles { grid-column: auto; grid-template-columns: 1fr; }
  .home-approach__principles article { padding-inline: 0; border-right: 0; }
  .home-life__intro { grid-template-columns: 1fr; gap: 1.2rem; }
  .home-family { grid-template-columns: 1fr; }
  .home-family__photo { min-height: 430px; border-radius: 46% 46% 0 0; }
  .home-family__copy { border-radius: 0 0 28px 28px; }
}

@media (max-width: 620px) {
  .site-header {
    grid-template-columns: minmax(72px, 1fr) auto auto;
    gap: .35rem;
    min-height: 64px;
    padding: .5rem .65rem;
  }
  .brand { width: 104px; }
  .header-cta {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    min-height: 44px;
    padding: .6rem .72rem;
    font-size: .7rem;
    white-space: nowrap;
  }
  .header-cta svg { display: none; }
  .menu-button {
    grid-column: 3;
    grid-row: 1;
    min-height: 44px;
    padding: .55rem .62rem;
  }
  .menu-button svg { width: 18px; height: 18px; }
  .mobile-panel { inset: 64px 0 0; }
  .hero { padding-top: 1.5rem; }
  .hero-visual { min-height: 315px; }
  .home-trust {
    max-width: calc(100% - 1rem);
    grid-template-columns: 1fr 1fr;
    border-radius: 20px;
  }
  .home-trust > div { padding: 1rem; }
  .home-trust strong { font-size: 1.08rem; }
  .home-approach,
  .home-admissions {
    max-width: calc(100% - 1rem);
    padding: 2.75rem 1rem;
    border-radius: 24px;
  }
  .home-approach h2,
  .home-life h2,
  .home-family h2,
  .home-admissions h2 { font-size: clamp(2.45rem, 12vw, 3.25rem); line-height: .98; }
  .home-approach__visual figure { height: 400px; }
  .home-approach__visual > p { right: -.3rem; bottom: 1rem; }
  .home-programs .program-card { min-height: 0; }
  .home-programs .program-age { margin-top: 3.3rem; }
  .home-life__gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 340px repeat(3, 230px);
    gap: .75rem;
  }
  .home-life-photo,
  .home-life-photo--feature,
  .home-life-photo--wide,
  .home-life-photo--landscape,
  .home-life-photo:not(.home-life-photo--feature, .home-life-photo--wide, .home-life-photo--landscape) {
    grid-column: auto;
    grid-row: auto;
    border-radius: 20px;
  }
  .home-life-photo--feature { border-radius: 42% 42% 20px 20px; }
  .home-life__note { display: none; }
  .home-family { padding-inline: 1rem; }
  .home-family__photo { min-height: 350px; }
  .home-family__copy { padding: 1.5rem; }
  .home-family__copy > p:not(.eyebrow) { font-size: 1rem; }
  .home-admissions__actions { align-items: stretch; flex-direction: column; }
  .home-admissions__actions .button,
  .home-admissions__actions .text-link { width: 100%; justify-content: center; }
  .home-admissions__facts { grid-template-columns: 1fr; }
  .home-admissions__facts article { min-height: 0; padding: 1.25rem; }
  .home-admissions__facts svg { margin-bottom: .3rem; }
  .home-admissions__facts span { margin-top: .4rem; }
  .home-admissions__facts strong { font-size: 1.4rem; }
}

@media (max-width: 360px) {
  .site-header { padding-inline: .5rem; }
  .brand { width: 90px; }
  .header-cta { padding-inline: .55rem; font-size: .72rem; }
  .menu-button { gap: .25rem; padding-inline: .48rem; font-size: .7rem; }
  .home-trust { grid-template-columns: 1fr; }
  .home-trust > div,
  .home-trust > div:nth-child(2) { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .home-trust > div:last-child { border-bottom: 0; }
}

/* Form layout options supplied by Aleph Bet Site Tools. */
.tour-form--stacked .tour-form__grid {
  grid-template-columns: 1fr;
}

.tour-form--stacked .tour-form__wide {
  grid-column: auto;
}

.tour-form__website {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* Native-block markup compatibility. These selectors preserve the v3.0 visual
   treatment while keeping every piece of page content individually editable. */
.wp-block-post-content .is-layout-flow > * + * { margin-block-start: 0; }
.button-row > p,
.visit-actions > p,
.about-close > p,
.life-close > p,
.school-life > p,
.social-links > p,
.footer-nav > div > p,
.proof-caption > p,
.admissions-facts article > p,
.team-values article > p,
.enrollment-path__steps article > p,
.tour-expect__list article > p,
.program-day-editorial__steps article > p { margin: 0; }
.skip-link-wrap,
.header-cta-wrap,
.desktop-nav > p { display: contents; margin: 0; }
.brand { margin: 0; }
.button-row > p { display: contents; }
.scroll-cue { margin: 0; }
.scroll-cue > a { display: flex; align-items: center; gap: .6rem; }
.proof-card .proof-caption { padding: 1rem .25rem 0; }
.proof-card .proof-caption > p:first-child { display: block; margin: 0 0 .25rem; color: var(--coral); font-size: .68rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.proof-card .proof-caption strong { display: block; font-family: var(--font-display); font-size: 1.35rem; font-weight: 400; line-height: 1.18; }
.school-life > p > .button { display: inline-flex; }
.footer-brand > figure { margin: 0; }
.footer-brand > figure img { width: min(260px, 100%); }
.social-links > p { display: contents; }
.footer-nav > div > p:has(a) { display: contents; }
.footer-bottom > p { margin: 0; }
.about-hero__photos > .life-hero__words,
.about-hero__photos > p:last-child { position: absolute; right: -2%; bottom: 5%; margin: 0; color: var(--coral); font-family: var(--font-display); font-size: 6rem; line-height: 1; transform: rotate(-8deg); }
.team-values article > p:first-child,
.enrollment-path__steps article > p:first-child,
.tour-expect__list article > p:first-child,
.program-day-editorial__steps article > p:first-child { color: var(--coral); font-size: .75rem; font-weight: 900; }
.life-story figure figcaption { position: absolute; left: 1rem; bottom: .5rem; color: white; font-family: var(--font-display); font-size: 7rem; line-height: 1; text-shadow: 0 2px 18px rgba(0,0,0,.24); }
.life-wide-photo > figure { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; }
.life-wide-photo > figure img { width: 100%; height: 100%; object-fit: cover; }
.admissions-facts article > p:first-child { margin-top: auto; color: var(--ink-soft); font-size: .75rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.enrollment-path__steps article > p:last-child { color: var(--ink-soft); }
.tour-expect__list { margin: 0; padding: 0; border-top: 1px solid var(--line); }
.tour-expect__list article { display: grid; grid-template-columns: 45px 1fr; gap: 1rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line); }
.tour-expect__list h3 { margin: 0 0 .35rem; font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; }
.tour-expect__list p { margin: 0; color: var(--ink-soft); }
.program-day-editorial { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.program-day-editorial__visual { position: relative; min-height: 620px; overflow: hidden; border-radius: 34px; }
.program-day-editorial__visual figure { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; }
.program-day-editorial__visual img { width: 100%; height: 100%; object-fit: cover; }
.program-day-editorial__visual > p { position: absolute; right: 1rem; bottom: -.3rem; margin: 0; color: white; font-family: var(--font-display); font-size: 7rem; line-height: 1; text-shadow: 0 3px 18px rgba(0,0,0,.25); }
.program-day-editorial__content h2 { margin: 0 0 1rem; font-size: clamp(3rem, 5vw, 5.6rem); }
.program-day-editorial__steps { border-top: 1px solid var(--line); }
.program-day-editorial__steps article { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.program-day-editorial__steps h3 { margin: 0 0 .25rem; font-family: var(--font-display); font-size: 1.45rem; font-weight: 400; }
.program-day-editorial__steps p { margin: 0; color: var(--ink-soft); }
@media (max-width: 760px) {
  .proof-card .proof-caption { padding-top: .7rem; }
  .proof-card .proof-caption strong { font-size: 1.2rem; }
  .school-life > p > .button { width: 100%; }
  .tour-expect__list article { grid-template-columns: 38px 1fr; }
  .program-day-editorial { grid-template-columns: 1fr; gap: 1.5rem; }
  .program-day-editorial__visual { min-height: 420px; border-radius: 24px; }
}

/* ---------- 3.2.0 reference-match additions ---------- */

/* Programs hero accent word (coral italic, as on the reference). */
.wp-programs-hero h1 em {
  color: var(--coral);
  font-style: italic;
  font-weight: 400;
}
.wp-programs-hero .breadcrumb {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}
.wp-programs-hero .breadcrumb a {
  color: var(--ink);
  text-decoration: none;
}
.wp-programs-hero .breadcrumb a:hover { text-decoration: underline; }
.programs-hero-photo {
  margin-top: clamp(2rem, 4vw, 3rem);
}
.programs-hero-photo img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: auto;
}
.programs-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 148px;
  height: 148px;
  margin: clamp(1.5rem, 3vw, 2.5rem) auto 0;
  border-radius: 50%;
  background: var(--mint, #dff3e4);
  color: var(--ink);
  text-align: center;
  transform: rotate(-6deg);
}
.programs-badge__letters {
  margin: 0;
  font-family: var(--wp--preset--font-family--display);
  font-size: 2rem;
  line-height: 1;
}
.programs-badge__words {
  margin: 0.35rem 0.75rem 0;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* "Find your child's classroom" jump nav (Programs). */
.class-jump {
  max-width: var(--wp--style--global--wide-size, 1200px);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem) 1rem 0;
}
.class-jump__list {
  gap: 1rem;
  flex-wrap: wrap;
}
.class-jump__item {
  flex: 1 1 180px;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: white;
}
.class-jump__letter {
  margin: 0 0 0.35rem;
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.6rem;
  line-height: 1;
}
.class-jump__item p { margin: 0.15rem 0; }
.class-jump__item a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.class-jump__item a:hover { text-decoration: underline; }
.class-jump__translation {
  color: var(--muted, #5c6670);
  font-size: 0.9rem;
}

/* Programs class headings (Hebrew name, subtitle, tags). */
.class-hebrew {
  margin: 0 0 0.35rem;
  font-family: var(--wp--preset--font-family--display);
  font-size: 1.35rem;
}
.class-subtitle {
  margin-top: 0.35rem;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.25;
}
.class-tags {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Homepage "Aleph Bet at a glance" strip. */
.glance-strip {
  max-width: var(--wp--style--global--wide-size, 1200px);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem) 1rem 0;
}
.glance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.glance-item {
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-right: 0;
  background: white;
}
.glance-item:last-child { border-right: 1px solid var(--line); }
.glance-item p { margin: 0.2rem 0; }
.glance-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted, #5c6670);
}
@media (max-width: 800px) {
  .glance-grid { grid-template-columns: repeat(2, 1fr); }
  .glance-item { border-bottom: 0; }
}

/* Homepage experience caption + belonging photo. */
.pillars-caption {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 2rem;
  font-family: var(--wp--preset--font-family--display);
  font-style: italic;
}
.intro-photo img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: auto;
}

/* ——— 3.2.2 polish (site-owner review fixes) ———
   1) Display headings: PP Museum needs more leading than the original
      values; below ~0.95 the lines of wrapped headings overlap.
   2) Hero "play / connect / belong" note enlarged.
   3) Hero main photo reframed toward the top (pairs with the cropped
      hero-child-main image, which removes the half-cut child at the
      photo's right edge).
   4) "Wonder leads the way" heading block: the 0.5fr/1.5fr grid split
      the eyebrow, heading and paragraphs across mismatched columns;
      it is now a single readable column.
   5) Staff directory: three wider cards per row, even heights, the
      lone last-row card centered, leadership text top-aligned, and
      more air before the second group heading.
   6) About bottom: values cards no longer mostly empty; the closing
      band is width-matched to the other bands and its button sits
      with the text instead of floating at the far edge.
   7) Programs class sections: stack below 1000px instead of squeezing
      two narrow columns; gentler photo height and heading size. */
.hero h1 { line-height: 1; letter-spacing: -0.045em; }
.wp-programs-hero h1,
.programs-hero h1 { line-height: 1; letter-spacing: -0.045em; }
.editorial-page h2 { line-height: 1.04; }
.approach-story h2,
.program-intro h2,
.day-story h2,
.programs-community h2,
.program-story h2,
.home-family h2,
.home-admissions h2 { line-height: 1.02; }
.wp-class-copy h2 { line-height: 1.02; }
.program-story__photo > span { line-height: 0.9; }
.hero-note { font-size: clamp(1.7rem, 2.3vw, 2.25rem); gap: 0.3rem; }
.hero-note span:nth-child(2) { transform: translateX(18px); }
.hero-note span:nth-child(3) { transform: translateX(36px); }
.hero-photo--main img { object-position: 50% 12%; }
.pillars-heading { grid-template-columns: 1fr; gap: 0; align-items: start; }
.pillars-heading > p { max-width: 680px; }
.staff-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.4vw, 2rem); }
.staff-grid .staff-card:last-child:nth-child(3n + 1) { grid-column: 2; }
.staff-card__content { padding: 1.5rem; }
.staff-grid .staff-card h3 { font-size: clamp(1.45rem, 2vw, 1.85rem); }
.staff-card--leader { min-height: 280px; }
.staff-card--leader .staff-card__content { align-self: start; padding-top: clamp(1.75rem, 3vw, 2.5rem); }
.leadership-grid + .staff-directory__group-heading,
.staff-grid + .staff-directory__group-heading { margin-top: clamp(3.5rem, 7vw, 6rem); }
.team-section__heading { align-items: start; }
.team-values { margin-top: 2.75rem; }
.team-values article { min-height: 230px; }
.about-close { max-width: min(1200px, calc(100% - max(4vw, 1.25rem) * 2)); margin-inline: auto; align-items: center; gap: clamp(2rem, 4vw, 4rem); padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.wp-class-section .wp-block-columns { gap: clamp(2rem, 4vw, 4rem); }
.class-jump__list { flex-wrap: wrap; gap: 1rem 2rem; }

@media (max-width: 1000px) {
  .wp-class-section .wp-block-columns,
  .wp-class-section.is-reverse .wp-block-columns { flex-direction: column; align-items: stretch; }
  .wp-class-photo img { height: min(62vw, 430px); }
}

@media (max-width: 760px) {
  .hero h1 { line-height: 1.02; }
  .wp-class-section { padding: 1.25rem; }
  .wp-class-copy h2 { font-size: clamp(2.3rem, 10vw, 3rem); }
  .staff-card__portrait { min-height: 120px; }
  .staff-card__portrait > span { font-size: 2.6rem; }
  .staff-card__content { padding: 1rem; }
  .staff-grid .staff-card h3 { font-size: 1.2rem; }
  .staff-card--leader { grid-template-columns: 120px minmax(0, 1fr); min-height: 0; }
  .team-values article { min-height: 0; }
}
/* 3.2.2 (cont.): the mobile menu panel must never render while closed.
   Its in-media-query display:block (for the open state) can win over the
   base display:none depending on cascade order and critical-CSS
   extraction, leaving the menu visibly "open by default" on some loads.
   A closed dialog is now hard-hidden; opening it adds [open] via
   showModal(), which removes this rule's effect. */
.mobile-panel:not([open]) { display: none !important; }

/* ——— 3.2.2 (audit pass) ———
   Editorial heroes: same tight-leading fix for H1s, and the About /
   School Life heroes no longer force a full-viewport height (they
   read tall and empty). Home class cards: shorter, with the
   "Explore This Class" link pinned to the bottom so all four align.
   Programs class headings keep whole words. School Life photo
   numerals are smaller/softer so they cover less of the children. */
.editorial-page h1 { line-height: 1; }
.admissions-section h2 { line-height: 1.02; }
.tour-hero h1 { line-height: 1; }
.about-hero,
.life-hero { min-height: 0; }
.program-card { min-height: 340px; }
.program-age { margin-top: 0; }
.program-card > p:last-child { margin-top: auto; margin-bottom: 0; }
.program-card h3 { font-size: clamp(1.5rem, 1.7vw, 1.9rem); }
.program-story__photo > span { font-size: clamp(3rem, 4.5vw, 4.5rem); opacity: 0.9; }
.wp-404 { padding-block: clamp(3rem, 8vw, 6rem); }

@media (min-width: 761px) {
  .wp-class-copy h2 { font-size: clamp(2.6rem, 4.4vw, 4.6rem); overflow-wrap: normal; word-break: normal; }
}

@media (max-width: 1100px) {
  .about-hero h1,
  .life-hero h1,
  .admissions-editorial-hero h1 { font-size: clamp(3.1rem, 6vw, 4.6rem); }
}

/* ——— 3.2.3 design pass (full-site visual inspection) ———
   Root causes fixed here:
   a) Programs "How children learn": the article grid reserved a 60px
      column for an icon that is not in the markup, squeezing the text
      into that column and leaving the real column empty.
   b) Split headings and several two-column bands were bottom-aligned
      (align-items: end), leaving voids above the shorter column.
   c) WordPress flow margins leaked into flex/grid lists (footer
      columns, tour contact list), making item spacing uneven.
   d) The Programs hero photo is a plain figure element, so the
      browser's default 40px figure margins inset it from the heading.
   e) Panel and strip widths are unified to the standard content
      width; card headings get equal heights so body text aligns. */
.approach-story__list article { grid-template-columns: 34px minmax(0, 1fr); }
.section-heading--split,
.section-heading--life { align-items: start; }
.life-intro { align-items: start; }
.staff-directory__heading { align-items: start; }
.footer-nav > div > * { margin-block: 0; }
.footer-nav h2 { margin-bottom: 0; }
.tour-contact-list > * { margin: 0; }
.admissions-facts span { margin-top: 1rem; }
.wp-programs-hero .programs-hero-photo { margin: 2.5rem 0 0; }
.wp-programs-hero .programs-hero-photo img { display: block; width: 100%; border-radius: 30px; }
.wp-class-section { max-width: min(var(--max-width), calc(100% - max(4vw, 1.25rem) * 2)); }
.wp-class-copy h2 { margin-bottom: 0.15em; }
.class-jump { max-width: var(--max-width); padding-inline: max(4vw, 1.25rem); }
.glance-strip { max-width: var(--max-width); padding-inline: max(4vw, 1.25rem); }
.hero-note { z-index: 3; left: 2%; }
.hero-intro { margin-top: 1.9rem; }
.pillar-card h3 { min-height: 2em; }
.program-card h3 { min-height: 2em; }
.programs-close > p { max-width: 640px; }
.gallery-caption { left: 2%; top: 5%; }
.intro { align-items: center; }
.intro-photo img { max-height: 620px; object-fit: cover; }
.about-hero,
.life-hero { gap: clamp(2rem, 4.5vw, 4.5rem); }
.about-hero__photos > .life-hero__words,
.about-hero__photos > p:last-child { right: 2%; font-size: 4.5rem; }
.life-hero__mosaic > span { font-size: clamp(1.5rem, 2vw, 2rem); }
.life-story figure span { font-size: 4rem; }
.admissions-editorial-hero > div { margin-inline: auto; text-align: center; }
.admissions-editorial-hero .wp-block-buttons { justify-content: center; }
.faq-section { padding-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.tour-expect { padding-bottom: clamp(2.5rem, 4vw, 3.5rem); }
.team-values { margin-top: 3.5rem; }
.team-values h3 { min-height: 2.16em; }
.leadership-grid .staff-card--leader:not(:has(.staff-card__bio)) .staff-card__content { align-self: center; }
.staff-grid .staff-card:last-child:nth-child(3n + 1) { grid-column: auto; }
.about-close { max-width: none; margin-inline: 0; }

/* ——— 3.2.4 owner review: hero breathing room + at-a-glance restyle ———
   The hero copy column was squeezed by an oversized headline and a
   wide grid gap; the headline is a step smaller, the copy column a
   step wider, and the buttons get clear space above them. The
   at-a-glance strip was a bordered table that matched nothing else on
   the site; it now uses the same soft pastel cards as the class
   panels, with the value set in the display font like other cards. */
.hero { grid-template-columns: minmax(0, 1.05fr) minmax(400px, 0.95fr); gap: clamp(2.5rem, 5vw, 5.5rem); }
.hero h1 { font-size: clamp(3.6rem, 5.6vw, 6.2rem); }
.hero-copy { max-width: 720px; }
.hero-intro { max-width: 620px; margin-top: 2rem; }
.hero-copy .button-row { margin-top: 2.25rem; }
.glance-grid { gap: 1rem; }
.glance-item { border: 0; border-radius: 20px; padding: 1.4rem 1.5rem; }
.glance-item:last-child { border-right: 0; }
.glance-item:nth-child(1) { background: #dbeef3; }
.glance-item:nth-child(2) { background: var(--aqua-soft); }
.glance-item:nth-child(3) { background: #f8d2d0; }
.glance-item:nth-child(4) { background: #fbebc9; }
.glance-item strong { font-family: var(--font-display); font-size: 1.3rem; font-weight: 400; }

/* ——— 3.2.7 owner-review round 3 (Mussi's notes) ———
   a) Wonder heading block: the intro paragraphs sat tight under the
      title while their own lines were airy — add air above the text,
      tighten its line-height, and separate the two paragraphs.
   b) Class-card numbers hugged the top-right corner; descriptions
      sat far below the class names.
   c) Home "School Life" split heading: its side paragraph returns to
      the heading's baseline (bottom), where it reads as a caption.
   d) Pninim (blue) and Yahalomim (aqua) surfaces were near-identical
      pale blues — the aqua surfaces turn mint so the two read apart.
   e) Footer columns get one shared top line at every width.
   f) Programs closing band centers like a sign-off.
   g) The wide Home gallery tile now holds a portrait photo (circle
      time); crop it from the upper third so faces stay in frame. */
.pillars-heading h2 { margin-bottom: 1.15rem; }
.pillars-heading > p { line-height: 1.55; }
.pillars-heading > p + p { margin-top: 0.85rem; }
.program-number { top: 1.1rem; right: 1.4rem; }
.program-card h3 { margin-bottom: 0.5rem; }
.section-heading--life { align-items: end; }
.wp-class-section--aqua { background: #d7efe1; }
.program-card--aqua { border-top-color: #57b08d; }
.glance-item:nth-child(2) { background: #d7efe1; }
.footer-main { align-items: start; }
.footer-nav { align-items: start; }
.footer-nav > div { margin: 0; padding-top: 0; }
.footer-nav h2 { margin-top: 0; }
.programs-close { text-align: center; }
.programs-close > p { margin-inline: auto; }
.programs-close .button-row { justify-content: center; }
.gallery-item--wide img { object-position: 50% 25%; }
.hero h1 { font-size: clamp(3.4rem, 5.4vw, 5.8rem); }

/* === 3.2.8 — Full-audit fix pack (2026-11-01) =======================
   The audit found the systemic flaw in the 3.2.2–3.2.7 method: those
   sections appended BASE rules after the stylesheet's mobile media
   queries, so at equal specificity the desktop values silently
   defeated the phone rules (the hero never stacked, the staff grid
   never collapsed, class cards kept desktop heights on phones).
   Each rule below repairs one audited finding; phone rules are
   re-asserted inside their media queries HERE, after everything
   else, so they actually win. ======================================= */

/* 1) Heading leading — the audit's most repeated finding: descenders
      touched the line below on Home, Programs, About, Admissions,
      School Life and Tour. */
.hero h1 { line-height: 1.1; }
.wp-programs-hero h1,
.programs-hero h1 { line-height: 1.1; }
.editorial-page h1 { line-height: 1.1; }
.about-hero h1,
.life-hero h1 { line-height: 1.1; }
.tour-hero h1 { line-height: 1.1; }
.admissions-hero h1 { line-height: 1.1; }
.editorial-page h2 { line-height: 1.12; }
.approach-story h2,
.program-intro h2,
.day-story h2,
.programs-community h2,
.program-story h2 { line-height: 1.12; }
.wp-class-copy h2 { line-height: 1.12; }
.admissions-section h2 { line-height: 1.12; }

/* 2) Photo framing — bias the cover crops toward faces and subjects
      instead of the default centre crop. */
.wp-class-photo img { object-position: 50% 22%; }
.life-gallery img { object-position: 50% 78%; }
.about-hero__main img { object-position: 30% 45%; }
.life-hero__outdoor img { object-position: 30% 38%; }

/* Programs hero: the full portrait photo rendered huge with its
   bottom third empty rug. Frame it as a band on the teacher and
   children instead. */
.wp-programs-hero .programs-hero-photo img {
  height: clamp(320px, 52vw, 600px);
  object-fit: cover;
  object-position: 50% 14%;
}

/* Balanced wrapping for fact values (the School Day card dropped
   "PM" onto its own line). */
.fact-card strong,
.admissions-facts strong { text-wrap: balance; }

/* 3) Mobile menu, base dialog fixes: lift the UA max-height cap so
      the panel truly stretches, and style the modal backdrop. */
dialog.mobile-panel { max-height: none; }
.mobile-panel::backdrop { background: rgba(16, 42, 56, 0.45); }

/* 4) Tap targets: the back link, the Programs breadcrumb and the
      class-jump cards were ~20px tall. The whole class-jump card is
      now tappable via the stretched link. */
.back-link { min-height: 44px; }
.wp-programs-hero .breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.class-jump__item { position: relative; }
.class-jump__item a::after {
  content: "";
  position: absolute;
  inset: 0;
}

@media (max-width: 980px) {
  /* The hero stacks again (repairs the 3.2.4 base-rule trap that
     kept two columns, the photo column wider than a phone). */
  .hero { grid-template-columns: 1fr; }

  /* The menu panel sits flush and edge-to-edge instead of floating
     as an inset card. */
  .mobile-panel { padding: 0; }
  .mobile-panel nav { border-inline: 0; }

  /* iOS-proof scroll lock: iPhones ignore overflow:hidden on body,
     so the body is fixed in place while the menu is open
     (navigation.js saves/restores the scroll position). */
  body.menu-open {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    top: calc(-1 * var(--menu-scroll-y, 0px));
  }

  /* Logged in, the WordPress admin bar pushes the sticky header
     down; the fixed panel must follow it or it overlaps the header
     (84px header + 32px bar). */
  body.admin-bar .mobile-panel { top: 116px; }
}

@media (max-width: 782px) {
  /* Admin bar is 46px tall at this width (84 + 46). */
  body.admin-bar .mobile-panel { top: 130px; }
}

@media (max-width: 760px) {
  /* The staff grid collapses again (repairs the 3.2.2 trap). */
  .staff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .staff-grid .staff-card:last-child:nth-child(3n + 1) { grid-column: auto; }

  /* The home gallery caption sits mid-right again (the 3.2.3 base
     rule had pinned it top-left at tablet widths). */
  .gallery-caption { left: auto; right: -0.35rem; top: 47%; }
}

@media (max-width: 620px) {
  /* 64px phone header + 46px admin bar. */
  body.admin-bar .mobile-panel { top: 110px; }

  /* Fluid hero headline size restored (3.2.7's base clamp had
     pinned phones to a flat 54.4px). */
  .hero h1 { font-size: clamp(2.9rem, 14.5vw, 4rem); }

  /* Class cards size to their content again (repairs the 3.2.2
     min-height trap) with the phone age-label spacing restored. */
  .program-card { min-height: 0; }
  .program-age { margin: 3.3rem 0 0.55rem; }
  .program-card h3 { font-size: 1.75rem; }

  .hero-note { left: 1%; }
  section { scroll-margin-top: 80px; }
  .admissions-facts strong { font-size: 1.35rem; }
}

@media (max-width: 520px) {
  .staff-grid { grid-template-columns: 1fr; }
}

/* === 3.2.9 — Phone-check fixes (2026-11-01) =========================
   From the owner's own phone screenshots after 3.2.8: the hero and
   cards were repaired, but three defects remained — the closed
   menu's ghost links (guarded at the top of this file and in
   navigation.js), the hero headline's merged words, the clipped
   "belong" note word, and the School Day card's orphaned "PM". ===== */

/* The stacked headline lines are back on phones. The ≤620 rule that
   hides the <br>s (line ~1684) merged words together — the headline
   markup has no spaces around its breaks ("tolearn,create&"). With
   the breaks restored, the size drops a step so the longest line,
   "A joyful place to", fits a phone column. */
@media (max-width: 620px) {
  .hero h1 { font-size: clamp(2.5rem, 12vw, 3.4rem); }
  .hero h1 br { display: inline; }

  /* "belong" slid behind the arch photo; keep the note words above
     it and pull their stagger in so they clear the arch edge. */
  .hero-note { z-index: 3; }
  .hero-note span:nth-child(2) { transform: translateX(10px); }
  .hero-note span:nth-child(3) { transform: translateX(20px); }

  /* School Day value: a step smaller so "Mon–Thu, 8:00 AM–3:30 PM"
     fits one line at 360px; balanced wrapping (below) covers
     narrower screens. */
  .fact-card strong { font-size: 1.28rem; }
}

@media (max-width: 980px) {
  .hero-photo--main { z-index: 1; }
  .hero-photo--small { z-index: 2; }
  .hero-note { z-index: 3; }
}

/* Balanced wrapping belongs on the block, not the inline <strong> —
   the 3.2.8 rule targeted the strong and never took effect. */
.fact-card > p { text-wrap: balance; }

/* The arrow markers (Programs approach list, day rhythm, Tour steps)
   rendered as tiny faint dashes at .75rem; give them presence. */
.approach-story__number { font-size: 1.1rem; }
.tour-expect__list article > p:first-child,
.program-day-editorial__steps article > p:first-child { font-size: 1.05rem; }

/* The Programs badge's ring words were ~10px; a small step up. */
.programs-badge__words { font-size: 0.68rem; }

/* === 3.2.10 — The ghost is the desktop nav (2026-11-01) =============
   DOM census at 360px (vort's own mobile render + probe): the stray
   staggered links at the top of every phone page are NOT the menu
   panel — the closed panel measures hidden, zero-size. They are the
   DESKTOP nav: WordPress core's layout CSS (.is-layout-flex sets
   display:flex) outranks the theme's .desktop-nav{display:none} in
   the ≤980px block, so on phones the desktop nav survives inside the
   header and wraps into a crooked stack (Avenir 14px links in <p>
   wrappers), inflating the sticky header to ~364px. This scoped
   !important at the end of the file outranks core regardless of
   stylesheet order or critical-CSS extraction. ====================== */
@media (max-width: 980px) {
  .site-header .desktop-nav { display: none !important; }
}

/* === 3.2.11 — Admissions on phones (2026-11-01) =====================
   From vort's full phone audit at 360px. Two Admissions components
   kept multi-column layouts too narrow for a phone:
   1) The enrollment steps' ≤620px grid (38px 1fr, paragraphs pinned
      to column 2) squeezes each step heading into the 38px column;
      its words can't fit and overflow sideways ONTO the step text
      ("After your visit…" printed through "Receive"). One column:
      number, heading, text stack in order.
   2) The fact cards stay 2-across ≤620px, so values wrap mid-phrase
      ("8:00 / AM–3:30 / PM", the address over five lines). One
      column, like the home page's fact cards; heights go natural. == */
@media (max-width: 620px) {
  .enrollment-path__steps article { grid-template-columns: 1fr; gap: 0.35rem; }
  .enrollment-path__steps p { grid-column: auto; }
  .admissions-facts { grid-template-columns: 1fr; }
  .admissions-facts article,
  .admissions-facts article:nth-child(2),
  .admissions-facts article:last-child { min-height: 0; }
}

/* === 3.2.12 — Owner's phone scroll-through (2026-11-01) =============
   Five fixes from Levi's own phone review, all phone-gated:
   1) The hero words (play/connect/belong) drifted right over the
      arch photo — at 360px "connect"/"belong" sat ~46px onto the
      picture. Smaller note + tighter stagger keeps every word on
      the plain background (tuned + glyph-measured in vort's rig).
   2) The header's Menu button carried a stray 24px top margin, so
      it hung below the Schedule a Tour pill. Zeroed ≤980px; the
      header grid centers both pills on one line.
   3) The two leadership cards were uneven (312px vs 162px) and the
      no-bio card's content was vertically centered (the 3.2.5 rule),
      so the names sat at different heights. Equal row heights and
      top-aligned content ≤760px, where the cards stack.
   4) Teaching-team value cards: drop the tall min-height so a card
      is only as tall as its text on phones.
   5) Home gallery captions: a deeper gradient so the white caption
      text stays readable over busy photo bottoms. ================== */
@media (max-width: 980px) {
  .site-header .menu-button { margin-top: 0; }
}

@media (max-width: 760px) {
  .leadership-grid { grid-auto-rows: 1fr; }
  .leadership-grid .staff-card--leader:not(:has(.staff-card__bio)) .staff-card__content { align-self: start; }
  .team-values article { min-height: 0; }
  .home-life-photo figcaption {
    padding-top: 3.4rem;
    background: linear-gradient(transparent, rgba(13, 42, 53, 0.88));
  }
}

@media (max-width: 620px) {
  .hero-note { font-size: 1.12rem; }
  .hero-note span:nth-child(2) { transform: translateX(5px); }
  .hero-note span:nth-child(3) { transform: translateX(10px); }
}

/* === 3.2.13 — Phone polish: School Life, Programs, Admissions ======
   From the owner's phone scroll-through (2026-11-01). Phone-gated
   except the step-link style (the link itself is added by Site
   Tools 1.3.2 inside Admissions step 01).
   - School Life story numerals were still 7rem (112px) on phones;
     the figcaption rule sat outside the earlier reduction. 3.4rem.
   - School Life closing gallery stacks full-width on phones, so a
     landscape photo is no longer sliced into a tall portrait tile;
     captions left-aligned with a softer gradient.
   - Programs class-jump cards become one compact row per class
     (letter, name, translation) instead of tall near-empty cards.
   - Admissions display type steps down with looser leading, and
     the closing band stacks naturally instead of stretching
     space-between across a tall band. ============================ */
.step-tour-cta { margin-top: .85rem; font-weight: 700; }
.step-tour-cta a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 760px) {
  .life-gallery { grid-template-columns: 1fr; }
  .life-gallery figure { min-height: 250px; }
  .life-gallery .life-gallery__tall { transform: none; min-height: 330px; }
  .life-gallery figcaption { text-align: left; padding: 2.6rem 1rem 1rem; font-size: .82rem; background: linear-gradient(transparent, rgba(13, 42, 53, 0.8)); }
  .life-gallery figure:has(img[src*="program-pninim"]) img { object-position: 50% 30%; }
  .life-gallery figure:has(img[src*="life-known"]) img { object-position: 50% 50%; }
  .admissions-contact-band { justify-content: flex-start; gap: 2rem; }
}

@media (max-width: 620px) {
  .life-story figure figcaption,
  .life-story figure span { font-size: 3.4rem; left: .85rem; bottom: .35rem; }
  .class-jump__list { gap: .6rem; }
  .class-jump__item { display: flex; align-items: baseline; gap: .85rem; padding: .8rem 1.05rem; }
  .class-jump__letter { margin: 0; font-size: 1.45rem; }
  .class-jump__item p { margin: 0; }
  .admissions-editorial-hero h1 { font-size: 2.55rem; line-height: 1.15; }
  .admissions-main h2 { font-size: 2.05rem; line-height: 1.15; }
}

/* === 3.2.14 — School Life gallery follow-up ========================
   The ≤980px rule gives the tall gallery tile "grid-column: span 2";
   in 3.2.13's single-column phone grid that span creates an implicit
   zero-width column and the middle tile collapses into it (invisible).
   Reset every gallery figure to automatic placement on phones. ===== */
@media (max-width: 760px) {
  .life-gallery figure { grid-column: auto !important; }
}

/* === 3.2.15 — Programs class-jump cards, enriched (phones) ==========
   Owner: the compact rows from 3.2.13 looked bare. Each card now
   wears its own classroom's pastel (the same colors as the class
   sections it jumps to), the letter sits in a white disc, and an
   arrow at the right edge marks the card as a jump link. =========== */
@media (max-width: 620px) {
  .class-jump__item { align-items: center; gap: .9rem; padding: .8rem 2.7rem .8rem .8rem; border-color: transparent; }
  .class-jump__item:nth-child(1) { background: #dbeef3; }
  .class-jump__item:nth-child(2) { background: #d7efe1; }
  .class-jump__item:nth-child(3) { background: #f8d2d0; }
  .class-jump__item:nth-child(4) { background: #fbebc9; }
  .class-jump__letter { display: grid; place-items: center; flex: none; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: rgba(255, 255, 255, .8); font-size: 1.3rem; }
  .class-jump__item::after { content: "→"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%); font-size: 1.05rem; font-weight: 700; color: var(--ink); opacity: .5; pointer-events: none; }
}

/* === 3.2.16 — Programs class panels, restructured (phones) ==========
   Owner-approved mock (2026-11-01). Each class panel leads with its
   photo, the copy stack runs on one tight rhythm, the highlights sit
   in a soft white card with compact bullets, and the Ask-about
   button becomes a full-width white pill. Tuned at the owner's
   phone width with enlarged system text, where the old panel's
   text-sized gaps ballooned unevenly down the panel. The closing
   section's dead space above/below is trimmed in the same pass. ==== */
@media (max-width: 760px) {
  .wp-class-section { padding: 1.25rem; margin-block: 1.25rem; }
  #pninim { margin-top: .25rem; }
  .wp-class-section .wp-block-columns { gap: 1.1rem; }
  .wp-class-section .wp-block-column:has(.wp-class-photo) { order: -1; }
  .wp-class-photo img { height: 235px; }
  .wp-class-copy > p { margin: 0 0 .85rem; }
  .wp-class-copy > p.class-hebrew { margin: 0 0 .3rem; }
  .wp-class-copy > p.program-age { margin: 0 0 .4rem; }
  .wp-class-copy h2 { font-size: 2rem; line-height: 1.04; margin: 0 0 .45rem; }
  .wp-class-copy > h3.class-subtitle { margin: 0 0 .6rem; }
  .wp-class-copy > p.class-tags { border-top: 1px solid rgba(16, 42, 54, .14); padding-top: .8rem; margin: 0 0 .8rem; }
  .wp-class-copy ul { background: rgba(255, 255, 255, .65); border-radius: 18px; padding: .85rem 1rem .85rem 1.9rem; margin: 0; }
  .wp-class-copy li { margin-block: .18rem; line-height: 1.45; }
  .wp-class-copy .button--ghost { display: block; text-align: center; background: rgba(255, 255, 255, .85); border-color: transparent; margin-top: .9rem; padding-block: .8rem; }
  .programs-close { padding-top: 2.5rem; padding-bottom: 3rem; }
}

/* === 3.2.17 — Site-wide phone type/spacing scale + simplification ===
   Owner scroll-through round 2 (2026-11-01). At the owner's phone
   width with enlarged system text, section headings ballooned to
   ~49px (the size of page titles), every section carried 57px of
   rem-based padding top and bottom, the Programs day heading hit
   57px, and the class panels repeated themselves (subtitle reworded
   the paragraph; the caps tags line reworded the bullet list).
   This section sets one phone scale: titles 2.45rem, section
   headings 1.8rem, section padding a fixed 44px that text scaling
   cannot inflate; simplifies the class panels (subtitle + tags
   hidden on phones); gives the School Life hero words their display
   treatment; moves gallery captions under their photos; guarantees
   the staff group headings real breathing room (padding, which
   cannot collapse); and lifts the staff initials' glyphs to center. */
@media (max-width: 760px) {
  .entry-content h1 { font-size: 2.45rem; line-height: 1.06; }
  .entry-content h2 { font-size: 1.8rem; line-height: 1.14; }
  .wp-class-copy h2 { font-size: 2rem; }
  .section-pad { padding-block: 44px; }
  .wp-programs-hero { padding-block: 40px 44px; }
  .wp-class-copy > h3.class-subtitle { display: none; }
  .wp-class-copy > p.class-tags { display: none; }
  .life-hero__words { font-family: var(--font-display); font-size: 1.65rem; line-height: 1.1; transform: rotate(-3deg); }
  .life-gallery figure { display: flex; flex-direction: column; min-height: 0; overflow: visible; }
  .life-gallery img { height: 300px; flex: none; border-radius: 26px; }
  .life-gallery__tall img { object-position: 50% 18%; }
  .life-gallery figcaption { position: static; background: none; color: var(--ink); padding: .7rem .15rem 0; font-size: .95rem; font-weight: 600; }
  .staff-directory .staff-directory__group-heading { margin-top: 0; padding-top: 2.5rem; }
  .staff-card__portrait > span { line-height: 1; transform: translateY(-.05em); }
}

/* === 3.2.18 — Pillars caption gap (phones) =========================
   The "learning happens in the doing" caption under the pillar cards
   measured a 0px gap to the last card at phone width — its margin-top
   is swallowed, so the italic line sits flush on the card and reads
   as overlapping it (owner-circled, 2026-11-01). Padding cannot
   collapse, so the gap is guaranteed. ============================== */
@media (max-width: 760px) {
  .pillars-caption { margin-top: 0; padding-top: 1.75rem; }
}

/* === 3.2.19 — Home gallery captions + Programs badge (phones) ======
   Mussi flagged the home gallery's black caption band riding up the
   photos ("Can the black be moved down? Looks so strange"). The
   phone gallery grid locks photos into fixed 230px rows, so the
   captions now sit under their photos like the School Life gallery:
   rows size to content, black band gone. The tricycle photo is
   re-aimed so the child's face is in frame. Separately, the owner
   asked for the circular aleph-bet badge on Programs to be removed
   (decorative; hidden on phones, desktop unchanged). =============== */
@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: auto; }
  .gallery-item--tall, .gallery-item--wide { grid-column: auto; grid-row: auto; }
  .gallery-item { display: flex; flex-direction: column; overflow: visible; background: none; }
  .gallery-item img { height: 250px; flex: none; border-radius: 26px; object-position: 50% 22%; }
  .gallery-item figcaption { position: static; background: none; color: var(--ink); padding: .65rem .15rem 0; font-size: .95rem; font-weight: 600; }
  .programs-badge { display: none; }
}

/* === 3.2.20 — Owner pointer batch (phones) ==========================
   1) Titles were flush against the paragraph beneath them (measured
      0px gap in the Programs classes intro and every School Life
      story). Paragraphs after H2s get real air.
   2) Leader cards: the initials sat in a tall side column and read
      as stranded/low no matter the nudge (owner flagged repeatedly).
      Leaders now stack like the educator cards — portrait becomes a
      top band with the initials centered in it.
   3) Footer top padding was 3rem (57px at the owner's text scale);
      fixed at 28px so the page end doesn't drift away from the CTA.
   4) Programs intro bottom trimmed (the removed badge left a void
      before the class-jump strip).
   5) School Life gallery captions centered, matching the Home
      gallery and Programs day-photo captions.
   6) School Life story sections: bottom padding 2.5rem -> 24px.
   7) Admissions FAQ rows tightened (summary padding 1.2rem -> 15px,
      question size stepped down, min-height removed). =============== */
@media (max-width: 760px) {
  .wp-block-post-content .is-layout-flow > h2 + p { margin-block-start: 12px; }
  .staff-card--leader { grid-template-columns: 1fr; min-height: 0; }
  .staff-card--leader .staff-card__portrait { min-height: 118px; }
  .staff-card--leader .staff-card__content { align-self: auto; }
  .site-footer { padding-top: 28px; }
  .wp-programs-hero { padding-bottom: 20px; }
  .life-gallery figcaption { text-align: center; }
  .life-story { padding-bottom: 24px; }
  .faq-list summary { padding-block: 15px; min-height: 0; font-size: 1.28rem; }
}

/* === 3.2.21 — Residual gaps (phones) ================================
   The School Life stories wrapper carried 4rem of bottom padding
   (76px at the owner's text scale) on top of the gallery section's
   own padding — a 120px void. The FAQ intro held ~39px under its
   text before the first question. The staff group headings get a
   touch more leading and air before their cards. ================== */
@media (max-width: 760px) {
  .life-stories { padding-bottom: 20px; }
  .faq-section__intro { margin-bottom: -18px; }
  .staff-directory__group-heading { margin-bottom: 8px; }
  .staff-directory__group-heading h3 { line-height: 1.12; }
}

/* === 3.2.22 — Admissions hero buttons + open FAQ spacing (phones) ===
   The hero's Schedule a Tour button sat flush on the intro paragraph
   (0px — same zeroed flow margin). An open FAQ answer likewise sat
   flush on the next item's divider. ================================= */
@media (max-width: 760px) {
  .admissions-editorial-hero .button-row { margin-top: 20px; }
  .faq-list details[open] { padding-bottom: 20px; }
}

/* === 3.2.23 — School Life gallery rhythm (phones) ===================
   Caption text matched Home, but 49px of air sat between each caption
   and the next photo (Home: 14px). Pull the stacked photos up to the
   same rhythm; the first photo keeps the section's top padding. ===== */
@media (max-width: 760px) {
  .wp-block-group.life-gallery figure + figure { margin-top: -35px; }
}

/* === 3.2.26 — Tour contact list container ===========================
   At the end of the Tour page the contact list (email, phone,
   address) sits outside any section, so it lost the centered
   container every section has and its text touched the screen edge.
   Give it the same container the sections use. ===================== */
.tour-page > .tour-contact-list {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: max(4vw, 1.25rem);
  padding-bottom: 2.5rem;
  box-sizing: border-box;
}
@media (max-width: 760px) {
  .tour-page > .tour-contact-list { padding-inline: 19px; padding-bottom: 2rem; }
}

/* === 3.2.27 — Menu button drop + Programs close buttons =============
   The menu's Schedule a Tour button sat flush under "School Life"
   (its auto margin collapses when the panel sizes to its content);
   give it a real drop. The Programs closing band's buttons likewise
   sat at 0px under the closing paragraph. ========================== */
@media (max-width: 980px) {
  .mobile-panel .button { margin-top: 1.5rem; }
}
@media (max-width: 760px) {
  .programs-close .button-row { margin-top: 20px; }
}

/* === 3.2.29 — Desktop batch 1 (owner's desktop brief) ===============
   Desktop-scoped (>=981px): Admissions step link placed in the text
   column; Programs hero aligned to one 760px grid, badge overlapping
   the photo's bottom-right corner, approach/stage/closing heading
   sizes corrected, class panels widened; Home Belonging section
   regrouped into its left column. ================================== */
@media (min-width: 981px) {
  .step-tour-cta { grid-column: 3; justify-self: start; }

  .wp-programs-hero .wp-block-heading { max-width: 760px; }
  .wp-programs-hero .wp-interior-intro { max-width: 760px; }
  .wp-programs-hero { position: relative; }
  .programs-badge {
    position: absolute;
    right: max(22px, calc((100% - 760px) / 2 + 29px));
    bottom: 143px;
    margin: 0;
    z-index: 3;
  }

  .approach-story__intro h2 { font-size: clamp(54px, 4vw, 60px); }
  .classes-intro h2 { font-size: clamp(44px, 3.4vw, 52px); }
  .wp-block-post-content .classes-intro h2 + p { margin-block-start: 14px; }
  .programs-close h2 { font-size: clamp(40px, 3.2vw, 48px); }
  .wp-block-post-content .programs-close h2 + p { margin-block-start: 16px; }
  .programs-close .button-row { margin-top: 24px; }

  .wp-class-section .wp-block-columns { max-width: 1050px; }
  .wp-class-copy h2 em { font-size: 33px; }

  .intro { row-gap: 0; }
  .intro-photo { grid-column: 2; grid-row: 1 / span 3; align-self: center; }
  .intro-mark, .intro-heading, .intro-copy { grid-column: 1; }
  .intro-copy { margin-top: 12px; }
}

/* === 3.2.30 — Desktop batch 2 (owner's desktop brief) ===============
   Desktop-scoped (>=981px): Programs badge re-pinned as a grid
   overlay (exact corner at every width); Belonging gap trimmed to
   ~22px; hero tightened so the glance tiles reach the first screen;
   pillar icons enlarged, heading gap and caption gap set; classroom
   card numbers decorative, translations on their own line; Plan
   Your Visit heading reduced and fact cards compacted with the new
   SVG icon set; gallery focal points set per image. ================ */
@media (min-width: 981px) {
  .wp-programs-hero {
    display: grid;
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
  }
  .programs-hero-photo { grid-row: 5; grid-column: 1; justify-self: stretch; width: 100%; margin-inline: 0; }
  .programs-badge {
    position: static;
    grid-row: 5;
    grid-column: 1;
    justify-self: end;
    align-self: end;
    margin: 0 22px 22px 0;
  }

  .intro-copy { margin-top: 2px; }

  .hero { min-height: 0; padding-block: 2rem; }

  .pillar-icon { font-size: 23px; line-height: 1; }
  .wp-block-post-content .pillar-card h3 + p { margin-block-start: 21px; }
  .pillars-caption { padding-top: 22px; }

  .program-number { font-size: 30px; opacity: .45; }
  .program-card h3 .program-translation {
    display: block;
    font-size: 19px;
    margin-top: 4px;
  }

  .visit-card--title h2 { font-size: clamp(48px, 3.8vw, 56px); }
  .fact-card { min-height: 0; padding: 1.5rem; }
  .fact-icon { color: var(--ink); margin-bottom: .35rem; }
  .fact-icon svg { width: 23px; height: 23px; display: block; }

  .gallery-grid figure:nth-of-type(1) img { object-position: 50% 30%; }
  .gallery-grid figure:nth-of-type(2) img { object-position: 50% 32%; }
  .gallery-grid figure:nth-of-type(3) img { object-position: 50% 18%; }
  .gallery-grid figure:nth-of-type(4) img { object-position: 50% 40%; }
}

/* === 3.2.31 — Desktop batch 2 corrections ==========================
   (a) Classroom-card numbers: a `.program-card p` rule (0,1,1) was
   beating every `.program-number` font-size, shrinking the numbers
   to 14.72px; restated at (0,2,0) with the brief's 30px decorative
   size. (b) Programs badge: the grid overlay centered the badge via
   the layout's auto margins, so it returns to the absolute overlay
   from 3.2.29, with its bottom offset now tracking the hero's fluid
   bottom padding (clamp) + the fixed gap below the photo + a 22px
   inset, holding the corner at every desktop width. =============== */
@media (min-width: 981px) {
  .program-card p.program-number { font-size: 30px; }

  .wp-programs-hero { display: block; }
  .programs-hero-photo { width: auto; }
  .programs-badge {
    position: absolute;
    right: max(22px, calc((100% - 760px) / 2 + 29px));
    bottom: calc(clamp(3.5rem, 7vw, 6.5rem) + 41px);
    margin: 0;
    z-index: 3;
  }
}

/* === 3.2.32 — Desktop batch 3 (owner's desktop brief) ===============
   Desktop-scoped (>=981px): About purpose statement enlarged with a
   wider paragraph column, team gap, leader/staff card standards;
   Admissions FAQ spacing and open-answer rhythm; School Life hero
   words in the display serif italic, story headings reduced with a
   consistent gap, photo numerals at 60px inset from the corner,
   gallery captions smaller/left with a shorter gradient, right
   gallery photo recropped, closing banner label lightened. ======== */
@media (min-width: 981px) {
  /* About */
  .about-statement { grid-template-columns: 0.35fr 1.15fr 0.85fr; }
  .about-statement h2 { font-size: clamp(58px, 4.4vw, 64px); }
  .staff-directory__heading + .staff-directory__group-heading { margin-top: 36px; }
  .staff-card--leader { min-height: 0; }
  .staff-card--leader .staff-card__portrait {
    align-content: start;
    padding-top: clamp(1.75rem, 3vw, 2.5rem);
    font-size: clamp(2.6rem, 3.4vw, 3.4rem);
  }
  .staff-card__content { padding: 1.25rem 1.4rem 1.4rem; }
  .staff-card__role { margin-bottom: 8px; }
  .staff-card__content h3 { line-height: 1.15; }

  /* Admissions */
  .admissions-facts article > p:first-of-type { margin-top: 49px !important; }
  .wp-block-post-content .faq-section__intro h2 + p { margin-block-start: 18px; }
  .faq-list details[open] { padding-bottom: 22px; }
  .faq-list details > p { margin-left: calc(38px + 0.8rem); }

  /* School Life */
  .life-hero__words, .life-hero__words span {
    font-family: var(--font-display);
    font-style: italic;
  }
  .life-story h2 { font-size: clamp(52px, 4vw, 60px); }
  .wp-block-post-content .life-story h2 + p { margin-block-start: 18px; }
  .life-stories .life-story figure figcaption {
    font-size: 60px;
    left: 22px;
    bottom: 22px;
  }
  .life-gallery figure:nth-of-type(3) img { object-position: 50% 68%; }
  .life-gallery figcaption {
    padding: 2.2rem 1.2rem 1.1rem;
    font-size: .9rem;
    text-align: left;
  }
  .life-close .eyebrow { color: #d1e5e8; }
}

/* === 3.2.33 — Desktop batch 4 (owner's desktop brief) ===============
   Desktop-scoped (>=981px): Tour headline at brief size, a designed
   loading frame around the Jotform embed, the end-of-page contact
   list as a compact row, and a current-page underline in the desktop
   navigation (body class from Site Tools 1.3.8). Footer social icons
   are inline SVGs in the footer pattern itself. =================== */
@media (min-width: 981px) {
  .tour-hero h1 { font-size: clamp(60px, 4.6vw, 64px); }

  .aleph-bet-jotform {
    position: relative;
    min-height: 620px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: white;
    overflow: hidden;
  }
  .aleph-bet-jotform::before {
    content: 'Loading tour form…';
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--ink-soft);
    font-size: 1rem;
  }
  .aleph-bet-jotform iframe {
    position: relative;
    display: block;
    width: 100%;
    border: 0;
  }

  .tour-page > .tour-contact-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 2.75rem;
    align-items: flex-start;
  }

  body.ab-page-home .desktop-nav a[href="https://preschool.chabadaustin.com/"],
  body.ab-page-programs .desktop-nav a[href$="/programs/"],
  body.ab-page-about .desktop-nav a[href$="/about/"],
  body.ab-page-admissions .desktop-nav a[href$="/admissions/"],
  body.ab-page-school-life .desktop-nav a[href$="/school-life/"] {
    text-decoration: underline;
    text-decoration-color: var(--coral);
    text-decoration-thickness: 2px;
    text-underline-offset: 7px;
  }
}

/* === 3.2.34 — Mobile repair: fact-card icon sizing =================
   The SVG icon set shipped in 3.2.30/1.3.7 was sized only inside the
   desktop block, so on phones the icons rendered at full card width.
   The size belongs to the icons at every width. =================== */
.fact-icon { color: var(--ink); }
.fact-icon svg { width: 23px; height: 23px; display: block; }

/* === 3.2.35 — Owner cleanup round (Mussi's notes, 2026-11-01) ======
   Decorative numbers, three decorative text elements removed in
   content (Site Tools 1.3.9); the layout consequences live here:
   steps and FAQ lose their number columns, the About detail photo
   gets a frame that fits its portrait source, and the School Life
   hero mirrors the homepage arrangement. ========================== */

/* Admissions steps without numbers: title and body columns only;
   the tour link sits under the body copy. */
.enrollment-path__steps article { grid-template-columns: minmax(170px, .65fr) 1fr; }
.enrollment-path__steps .step-tour-cta { grid-column: 2; grid-row: auto; }
@media (max-width: 620px) {
  .enrollment-path__steps article { grid-template-columns: 1fr; }
  .enrollment-path__steps .step-tour-cta { grid-column: 1; }
}

/* FAQ without numbers: the question starts at the section edge and
   open answers align with it. */
.faq-list summary { grid-template-columns: 1fr auto; }
.faq-list summary::after { grid-column: 2; }
.faq-list details > p { margin-left: 0; }

/* About hero detail photo: the source is portrait (1200x1600) and
   the old landscape frame cropped the teacher's head. The frame now
   matches the portrait, biased to the faces. */
.about-hero__detail { width: 36%; height: 54%; }
.about-hero__detail img { object-position: 50% 30%; }

/* School Life hero, mirrored against the homepage: the large photo
   takes the left of the mosaic and the small photo overlaps from
   the bottom right; on desktop the whole mosaic trades sides with
   the copy. */
.life-hero__mosaic figure:first-child { inset: 0 23% 3% 4%; }
.life-hero__mosaic figure:nth-child(2) { left: auto; right: 0; transform: rotate(4deg); }
@media (min-width: 981px) {
  .life-hero__copy { grid-column: 2; grid-row: 1; }
  .life-hero__mosaic { grid-column: 1; grid-row: 1; }
}

/* === 3.2.36 — Tour "Your visit" markers removed ===================
   The step arrows came out with Site Tools 1.3.10; the list drops
   its marker column. ============================================== */
.tour-expect__list article { grid-template-columns: 1fr; }

/* === 3.2.37 — Page-top widening (owner brief, 2026-11-02) ==========
   Desktop only. Programs hero leaves the 760px measure for the
   1050px measure of the class panels below it; Admissions hero
   widens, its buttons finally center, and the fact labels sit at
   the top of their cards. Nothing below the heroes changes, and
   nothing here reaches the phone layout. ========================== */
@media (min-width: 981px) {
  /* Programs hero — one 1050px column for every child. */
  .wp-programs-hero { padding-top: 76px; }
  .wp-programs-hero > * { max-width: 1050px; }
  .wp-programs-hero .wp-block-heading { max-width: 1050px; }
  .wp-programs-hero h1 { font-size: clamp(64px, 5.8vw, 88px); }
  .wp-programs-hero .wp-interior-intro { max-width: 680px; font-size: 18px; }
  .wp-programs-hero .programs-hero-photo { margin-top: 40px; }
  .wp-programs-hero .programs-hero-photo img { height: clamp(400px, 32vw, 470px); object-position: 50% 32%; }
  .programs-badge {
    right: max(calc(max(4vw, 1.25rem) + 22px), calc((100% - 1050px) / 2 + 22px));
  }

  /* Admissions hero — wider measure, steadier type, centered buttons. */
  .admissions-editorial-hero { padding-top: 88px; padding-bottom: 64px; }
  .admissions-editorial-hero h1 { max-width: 940px; font-size: clamp(56px, 5.3vw, 76px); }
  .admissions-editorial-hero > div:first-child > p:not(.eyebrow) {
    max-width: 680px;
    margin-top: 22px;
    margin-inline: auto;
    font-size: 18px;
  }
  .admissions-editorial-hero .button-row { justify-content: center; }

  /* Admissions facts — labels at the natural top of each card,
     aligned across the strip by the shared zero margin. */
  .admissions-facts article { min-height: 148px; padding: 28px; }
  .admissions-facts article > p:first-of-type { margin-top: 0 !important; }
}

/* === 3.2.38 — Programs intro returns to the column edge ============
   The widened intro (680px inside the 1050px column) was centered by
   the layout's auto margins; the brief keeps it at the left edge
   like every other hero element. =================================== */
@media (min-width: 981px) {
  .wp-programs-hero .wp-interior-intro { margin-left: 0 !important; margin-right: auto !important; }
}

/* === 3.2.39 — Programs intro: true column edge =====================
   The intro's left margin is the column's own inset from the hero
   content box, so it tracks the centered 1050px column at every
   width (3.2.38's flat zero only worked where the two coincided). == */
@media (min-width: 981px) {
  .wp-programs-hero .wp-interior-intro {
    margin-left: max(0px, calc((100% - 1050px) / 2)) !important;
    margin-right: auto !important;
  }
}

/* === 3.2.40 — Badge inset calibration ==============================
   The badge's measured right inset ran 7px tighter than its offset
   formula at every width; the formula constant moves 22 -> 29 so
   the measured inset lands on ~22px like the bottom inset. ======== */
@media (min-width: 981px) {
  .programs-badge {
    right: max(calc(max(4vw, 1.25rem) + 29px), calc((100% - 1050px) / 2 + 29px));
  }
}

/* === 3.2.41 — Desktop batch 2 (2026-11-02): stacked section headings,
   aligned School Life gallery, About sections lined up, footer top
   line, class-tags air, admissions breathing room. Desktop only. === */
@media (min-width: 981px) {
  .section-heading--split,
  .section-heading--life { grid-template-columns: 1fr; gap: 1.1rem; align-items: start; }
  .section-heading--split > p,
  .section-heading--life > p { margin: 0; max-width: 640px; }
  .life-gallery__tall { transform: none; }
  .gallery-item figcaption { padding-top: 1.6rem; }
  .about-statement { grid-template-columns: 1fr; gap: 1.4rem; }
  .about-statement h2 { max-width: 920px; }
  .about-statement > .wp-block-group { max-width: 720px; }
  .team-section__heading { grid-template-columns: 1fr; gap: 1.1rem; }
  .team-section__heading > p:last-child { max-width: 720px; margin: 0; }
  .about-hero__main img { object-position: 50% 18%; }
  .wp-class-copy .class-tags { margin-top: 1.6rem; }
  .admissions-editorial-hero { padding-bottom: 88px; }
  .admissions-editorial-hero .button-row { margin-top: .75rem; }
  .footer-nav { margin-top: 0; }
  .footer-nav h2 { line-height: 1.2; }
}
