/* Broadacres Academy — site styles (mobile-first) */
@import url("./tokens.css?v=3");

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-1);
  color: var(--fg-1);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }

/* ---------- Reusable ---------- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 960px) { .container { padding: 0 64px; } }

.eyebrow-txt {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ba-teal);
}
.eyebrow-light { color: var(--ba-mint-light); }

/* "White block" — reusable white surface card with soft drop shadow.
   Apply this class to any block site-wide for a consistent elevated panel.
   (Layout bits like sticky positioning stay on the specific element.) */
.white-block {
  background: #fff;
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 24px 56px -28px rgba(0,29,57,0.28);
  border: 1px solid rgba(0,29,57,0.06);
}

/* "Grey block" — reusable light-grey surface card (navy at 5%) with the same
   soft drop shadow as .white-block. Use for elevated panels that should read
   as a quiet tint rather than pure white. No border. */
.grey-block {
  background: rgba(0, 29, 57, 0.05);
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 24px 56px -28px rgba(0, 29, 57, 0.28);
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 0;
  font-family: var(--font-sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer;
  transition: transform 200ms var(--ease-natural), background 200ms;
  text-decoration: none; border-bottom: 0;
}
.btn-primary { background: #53f5c4; color: var(--ba-navy); }
.phase-root--highschool .btn-primary { background: #E20630; color: #fff; }
.phase-root--highschool .btn-primary:hover { background: #AF0626; }
.btn-primary:hover { transform: translateY(-1px); background: #ffffff; }
.btn-dark { background: var(--ba-navy); color: #fff; }
.btn-dark:hover { background: #002c55; transform: translateY(-1px); }
.btn-light { background: #fff; color: var(--ba-navy); }
.btn-light:hover { background: var(--ba-mint-light, #e3f8ef); transform: translateY(-1px); }
.btn-ghost-light {
  background: transparent; color: #fff;
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.08); }
.btn-ghost-dark {
  background: transparent; color: var(--ba-navy);
  border: 1.5px solid var(--ba-navy);
}
.btn-ghost-dark:hover { background: rgba(0,29,57,0.04); }
.btn-red { background: var(--ba-red); color: #fff; }
.btn-red:hover { background: var(--ba-red-dark); transform: translateY(-1px); }

.btn svg { width: 16px; height: 16px; }

.italic-serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.roman-serif { font-family: var(--font-serif); font-weight: 400; }

/* Rule under italic word (signature treatment) */
.rule-under {
  display: inline-block; position: relative; padding-bottom: 6px;
}
.rule-under::after {
  content: ""; position: absolute; left: 0; right: 25%; bottom: 0; height: 1px;
  background: currentColor; opacity: 0.6;
}

/* ---------- Dandelion (placed over photos) ---------- */
.dandelion {
  position: absolute; pointer-events: none;
  animation: dandelion-rotate 90s linear infinite;
  transform-origin: center;
}
@keyframes dandelion-rotate { to { transform: rotate(360deg); } }

/* ---------- Layout ---------- */
section { position: relative; }

/* Page containers */
.page-home { background: var(--bg-1); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--ba-navy);
  color: #fff;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: flex-end;
}
@media (min-width: 960px) { .hero { min-height: 92vh; min-height: 92svh; } }
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  /* slight ken-burns */
  animation: kenburns 22s var(--ease-natural) both infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1.02); }
  to   { transform: scale(1.12); }
}
.hero__tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,29,57,0.35) 0%, rgba(0,29,57,0.15) 35%, rgba(0,29,57,0.78) 100%);
}
.hero__dandelion-wrap {
  position: absolute;
  /* sits behind the girl — offset to the right so it peeks past her shoulder */
  left: 62%;
  top: 32%;
  transform: translate(-50%, -50%);
  width: 56vw; max-width: 220px;
  aspect-ratio: 1 / 1;
  z-index: 2;
  opacity: 0.45;
  pointer-events: none;
}
@media (min-width: 720px) {
  .hero__dandelion-wrap { left: 68%; top: 42%; width: 36vw; max-width: 360px; opacity: 0.75; }
}
@media (min-width: 1100px) {
  .hero__dandelion-wrap { left: 70%; top: 46%; width: 28vw; max-width: 440px; opacity: 0.8; }
}
/* dandelion inside the wrap — its own rotation animation is preserved */
.hero__dandelion-wrap > .dandelion {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

/* Cutout of the girl, layered above the dandelion so she appears in front of it */
.hero__cutout {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  /* Fade the bottom out so the hard cutout edge (stump/grass) dissolves into the scene */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 78%, rgba(0,0,0,0) 96%);
          mask-image: linear-gradient(180deg, #000 0%, #000 78%, rgba(0,0,0,0) 96%);
}
.hero__cutout img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* match the ken-burns scale of the background so alignment stays pixel-perfect */
  animation: kenburns 22s var(--ease-natural) both infinite alternate;
}
.hero__inner {
  position: relative; padding: 104px 24px 72px;
  width: 100%;
  z-index: 4;
}
@media (min-width: 960px) { .hero__inner { padding: 125px 64px 88px; max-width: 1140px; margin: 0 auto; } }

.hero__eyebrow {
  color: var(--ba-mint-light);
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  font-weight: 500; margin-bottom: var(--text-space);
  display: inline-flex; align-items: center; gap: 10px;
}
.hero__eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ba-mint-light); display: inline-block; animation: pulse 2.5s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity:1 } 50% { opacity:0.35 } }

.hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 10vw, 5.8rem);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin: 0 0 var(--text-space);
  font-weight: 400;
  max-width: 16ch;
}
.hero__headline-white { color: #ffffff !important; display: block; }
.hero .hero__headline > span.hero__headline-white { color: #ffffff !important; }
.hero__headline .italic-word {
  font-style: italic;
  color: var(--ba-mint-light);
  display: block;
}
.hero__sub {
  font-family: var(--font-sans);
  font-size: 17px; line-height: 1.55;
  color: rgba(255,255,255,0.85);
  max-width: 42ch;
  margin: 0 0 var(--text-space);
}
@media (min-width: 720px) { .hero__sub { font-size: 19px; } }

.hero__cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ---------- Header / nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 22px 0;
  transition: background 260ms var(--ease-natural), padding 260ms, box-shadow 260ms;
  color: #fff;
  background: transparent;
}
.site-header__inner {
  max-width: 1140px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.site-header.is-scrolled {
  background: rgba(0,29,57,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
@media (min-width: 960px) { .site-header { padding: 26px 0; } .site-header.is-scrolled { padding: 14px 0; } .site-header__inner { padding: 0 64px; } }
.site-header .logo {
  display: inline-flex; align-items: center;
  transition: transform 260ms var(--ease-natural);
}
.site-header .logo img {
  height: 55px; width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.25));
  transition: height 260ms var(--ease-natural), filter 260ms;
  transform: translateY(-4px); /* optical balance — the wordmark sits low in the SVG box */
}
.site-header.is-scrolled .logo img {
  height: 43px;
  filter: none;
}
@media (min-width: 960px) {
  .site-header .logo img { height: 65px; }
  .site-header.is-scrolled .logo img { height: 50px; }
}

.nav-desktop { display: none; }
@media (min-width: 1100px) {
  .nav-desktop { display: flex; align-items: center; gap: 26px; }
}
.nav-desktop a:not(.btn) {
  color: #fff; text-decoration: none; border-bottom: 0;
  font-size: 13px; letter-spacing: 0.08em; font-weight: 400;
  text-transform: uppercase; padding: 6px 0;
  transition: opacity 160ms;
  white-space: nowrap;
}
.nav-desktop a:not(.btn):hover { opacity: 0.7; }

/* Learning Communities dropdown */
.nav-desktop__group { position: relative; }
.nav-desktop__toggle {
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
}
.nav-desktop__toggle svg { width: 14px; height: 14px; transition: transform 200ms; }
.nav-desktop__toggle.is-open svg { transform: rotate(180deg); }
.nav-desktop__menu {
  position: absolute; top: calc(100% + 14px); left: 50%;
  transform: translateX(-50%);
  min-width: 280px;
  background: #fff; color: var(--ba-navy);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 29, 57, 0.18);
  padding: 10px;
  display: flex; flex-direction: column;
  animation: navMenuIn 200ms var(--ease-natural);
}
.nav-desktop__menu::before {
  content: ""; position: absolute; top: -8px; left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px; height: 14px; background: #fff;
  border-top-left-radius: 3px;
}
@keyframes navMenuIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.nav-desktop__menu a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px 16px; border-radius: 9px;
  color: var(--ba-navy); text-transform: none;
  font-family: var(--font-serif); font-size: 17px; letter-spacing: 0;
  transition: background 160ms;
}
.nav-desktop__menu a span {
  font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--fg-2); font-weight: 500;
}
.nav-desktop__menu a:hover { background: var(--ba-cream); opacity: 1; }
/* Phase names in the dropdown must outrank the white `.nav-desktop a:not(.btn)`
   header rule, or they render white-on-white (adopted §2.5). SANS-SERIF,
   uppercase, 13px medium — grade range beneath (the `a span` rule). */
.nav-desktop .nav-desktop__menu a:not(.btn) {
  color: var(--ba-navy);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; border: 0; color: #fff; cursor: pointer;
  font-family: var(--font-sans); font-size: 12px;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 8px 10px;
}
.nav-btn svg { width: 24px; height: 24px; }

/* Mobile drawer */
.nav-drawer {
  position: fixed; inset: 0; z-index: 60;
  background: var(--ba-navy);
  color: #fff; padding: 24px;
  transform: translateY(-100%);
  transition: transform 420ms var(--ease-natural);
  overflow-y: auto;
  display: flex; flex-direction: column;
}
.nav-drawer.open { transform: translateY(0); }
.nav-drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 48px; }
.nav-drawer__list { list-style: none; padding: 0; margin: 0; }
.nav-drawer__list li { border-top: 1px solid rgba(255,255,255,0.1); }
.nav-drawer__list li:last-child { border-bottom: 1px solid rgba(255,255,255,0.1); }
.nav-drawer__list a {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 22px 4px;
  color: #fff; text-decoration: none; border-bottom: 0;
  font-family: var(--font-serif); font-size: 30px; line-height: 1; font-weight: 400;
}
.nav-drawer__list a .idx {
  font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ba-mint-light); opacity: 0.8;
}
.nav-drawer__footer {
  margin-top: auto; padding-top: 40px;
  display: flex; flex-direction: column; gap: 16px;
}
.nav-drawer__footer .tag { color: var(--ba-mint-light); font-family: var(--font-serif); font-style: italic; font-size: 22px; }
.nav-drawer__footer small { color: rgba(255,255,255,0.55); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }
/* Phones: shrink the drawer items + tighten so the whole menu and its footer
   (tagline, Book a walkabout, contact) fit on one screen without scrolling. */
@media (max-width: 600px) {
  .nav-drawer__list a { font-size: 22px; padding: 14px 4px; }
  .nav-drawer__footer { padding-top: 26px; }
  .nav-drawer__footer .tag { font-size: 19px; }
}

/* ---------- Welcome block ---------- */
.welcome {
  background: var(--bg-1);
  padding: 72px 0;
}
@media (min-width: 960px) { .welcome { padding: 120px 0; } }
.welcome__grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .welcome__grid { grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: stretch; } }

.welcome__eyebrow { margin-bottom: var(--text-space); }
.welcome__headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.08; letter-spacing: -0.02em;
  color: var(--ba-navy); margin: 0 0 var(--text-space);
  font-weight: 400;
}
.welcome__headline em { font-style: italic; color: var(--ba-teal); }
.welcome__lead { font-size: 18px; line-height: 1.65; color: var(--fg-2); margin: 0 0 var(--text-space); max-width: 52ch; }
.welcome__close {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  color: var(--ba-navy); line-height: 1.35;
  margin: 32px 0 0; max-width: 32ch;
  border-left: 2px solid var(--ba-teal); padding-left: 20px;
}
.welcome__brandmark {
  font-style: normal;
  color: var(--ba-teal);
  font-weight: 500;
}

.welcome__pillars { display: grid; gap: 24px; }
@media (min-width: 500px) { .welcome__pillars { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .welcome__pillars { height: 100%; align-content: space-between; row-gap: 16px; } }
.pillar {
  border-top: 1px solid var(--ba-teal);
  padding-top: 30px;
}
.pillar__num {
  font-family: var(--font-serif); font-style: italic;
  color: var(--ba-teal); font-size: 14px; margin-bottom: 22px;
}
.pillar__title {
  font-family: var(--font-serif); font-size: 20px; line-height: 1.4;
  color: var(--ba-navy); margin: 0 0 20px;
}
.pillar__body { font-size: 14px; line-height: 1.9; color: var(--fg-2); margin: 0; }

/* ---------- Story / intro block ---------- */
.story {
  position: relative; padding: 80px 0; background: var(--ba-navy); color: #fff;
  overflow: hidden;
}
@media (min-width: 960px) { .story { padding: 120px 0; } }
.story__dandelion {
  position: absolute;
  right: -15%;
  top: -10%;
  width: 80%;
  /* mix-blend keeps only the luminous part visible, erases any rectangular alpha seams */
  mix-blend-mode: screen;
  pointer-events: none;
}

.story__head { text-align: center; margin-bottom: 40px; }
@media (min-width: 960px) { .story__head { margin-bottom: 56px; } }
.story__head .eyebrow-txt { display: inline-block; }
.story__headline {
  font-family: var(--font-serif); font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.05; font-weight: 400; margin: 16px 0 0;
  color: #ffffff !important;
}
.story__headline em { font-style: italic; color: var(--ba-mint-light); }

.story__video {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.6);
  cursor: pointer;
  isolation: isolate;
  background: #000;
}
.story__video--embed { cursor: default; }
.story__video-iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  z-index: 2;
}
/* "Better with sound" unmute pill — browsers won't autoplay with sound, so
   the video starts muted and this pill unmutes on tap (adopted §2.6). */
.story__sound-pill {
  position: absolute; left: 16px; bottom: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border: 0; cursor: pointer;
  background: #53F5C4; color: #001D39;
  border-radius: 999px;
  font-family: var(--font-sans); font-weight: 500;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  box-shadow: 0 8px 22px -6px rgba(0,0,0,0.45);
  transition: transform 200ms var(--ease-natural), opacity 200ms var(--ease-natural);
}
.story__sound-pill:hover { transform: translateY(-1px); }
.story__sound-pill svg { width: 15px; height: 15px; display: block; }
@media (min-width: 720px) { .story__sound-pill { left: 20px; bottom: 20px; } }
.story__video-thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-natural), filter 400ms;
}
.story__video:hover .story__video-thumb {
  transform: scale(1.03);
  filter: brightness(0.85);
}
.story__video::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0) 40%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
}
.story__video .play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 84px; height: 84px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--ba-navy);
  border: 0;
  display: grid; place-items: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 20px 50px -10px rgba(0,0,0,0.5);
  transition: transform 240ms var(--ease-natural), background 240ms;
}
.story__video:hover .play-btn,
.story__video .play-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--ba-mint);
}
.story__video .play-btn svg { width: 30px; height: 30px; margin-left: 4px; }
@media (min-width: 720px) {
  .story__video .play-btn { width: 96px; height: 96px; }
  .story__video .play-btn svg { width: 34px; height: 34px; }
}

/* ---------- Phase cards ---------- */
.phases {
  padding: 72px 0 96px;
  background: var(--bg-1);
}
@media (min-width: 960px) { .phases { padding: 120px 0 140px; } }
.phases__intro { max-width: 680px; margin-bottom: 40px; }
@media (min-width: 960px) { .phases__intro { margin-bottom: 64px; } }
.phases__title {
  font-family: var(--font-serif); font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.1; color: var(--ba-navy); font-weight: 400; margin: 14px 0 0;
  letter-spacing: -0.01em;
}
@media (min-width: 600px) {
  .phases__title,
  .phases__title.rv-h { white-space: nowrap; text-wrap: nowrap !important; width: max-content; max-width: none; }
  .phases__title .rv-line,
  .phases__title .rv-line__i { white-space: nowrap; }
}
.phases__title em { font-style: italic; color: var(--ba-teal); }

/* Horizontal scroll on small / mid screens; full 4-up grid on wide desktop.
   This keeps the page short and gives clear "more to see" affordance via peek. */
.phase-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: 16px;
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 24px 24px;
  margin: 0 -24px;
  scroll-padding-left: 24px;
  scrollbar-width: none;
}
.phase-grid::-webkit-scrollbar { display: none; }
.phase-grid > .phase-card {
  flex: 0 0 78%;
  scroll-snap-align: start;
}

@media (min-width: 700px) {
  .phase-grid { gap: 20px; padding: 4px 32px 24px; margin: 0 -32px; scroll-padding-left: 32px; }
  .phase-grid > .phase-card { flex: 0 0 46%; }
}
@media (min-width: 1100px) {
  .phase-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    overflow: visible;
    scroll-snap-type: none;
    padding: 0;
    margin: 0;
  }
  .phase-grid > .phase-card { flex: initial; }
}

/* Nav controls — tracking dots + arrows in a tidy row beneath the cards.
   Mobile / tablet only; the 4-up desktop grid needs no controls. */
.phases__scroller { position: relative; }
.phases__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 22px;
  padding: 0 4px;
}
.phases__dots { display: flex; align-items: center; gap: 9px; }
.phases__dot {
  width: 8px; height: 8px; padding: 0; border: 0;
  border-radius: 999px;
  background: rgba(0, 29, 57, 0.2);
  cursor: pointer;
  transition: width 300ms var(--ease-natural, cubic-bezier(0.22,1,0.36,1)), background 300ms ease;
}
.phases__dot.is-active {
  width: 28px;
  background: var(--ba-teal);
}
.phases__arrows { display: flex; gap: 10px; }
.phases__arrows button {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(0, 29, 57, 0.16);
  color: var(--ba-navy);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 200ms, border-color 200ms, opacity 220ms, transform 180ms;
}
.phases__arrows button:hover { background: var(--ba-mint-light, #e3f8ef); border-color: transparent; }
.phases__arrows button:active { transform: scale(0.94); }
.phases__arrows button:disabled { opacity: 0.32; pointer-events: none; }
.phases__arrows svg { width: 18px; height: 18px; }
@media (min-width: 1100px) { .phases__controls { display: none; } }

.phase-card {
  position: relative; overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 3 / 4;
  background: #1C3B5A;
  color: #fff; text-decoration: none; border-bottom: 0;
  display: block;
  transition: transform 320ms var(--ease-natural);
  cursor: pointer;
}
.phase-card:hover { transform: translateY(-4px); }
.phase-card__media { position: absolute; inset: 0; z-index: 2; }
.phase-card__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center bottom;
  transition: transform 520ms var(--ease-natural);
}
.phase-card:hover .phase-card__media img { transform: scale(1.06); }
.phase-card__tint {
  position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(to top,
    rgba(0,29,57,0.95) 0%,
    rgba(0,29,57,0.62) 26%,
    rgba(0,29,57,0.12) 52%,
    rgba(0,29,57,0) 70%);
}

/* All phase text sits over the navy feather → white reads cleanly */
.phase-card__body {
  position: absolute; left: 20px; right: 20px; bottom: 20px;
  z-index: 4;
  text-align: center;
  display: flex; flex-direction: column; align-items: center;
}
.phase-card__ages {
  font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 500; opacity: 0.9; margin-bottom: 8px;
}
.phase-card__name {
  font-family: var(--font-serif); font-size: 22px; line-height: 1.15; margin: 0 0 4px;
  font-weight: 400;
}
.phase-card__tag {
  font-family: var(--font-serif); font-style: italic; font-size: 28px; line-height: 1.05;
  margin: 0 0 14px;
}
.phase-card--preschool .phase-card__tag { color: var(--ba-mint-light); }
.phase-card--junior .phase-card__tag { color: #54D7E2; }
.phase-card--senior .phase-card__tag { color: #54D7E2; }
.phase-card--high .phase-card__tag { color: var(--ba-red); }

/* Junior card: transparent cut-out portrait, framed like the other phase cards.
   Dandelion stays behind the figure (default z-index 1). */
.phase-card--junior .phase-card__media img { object-position: center bottom; }

.phase-card__readmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: inherit;
  margin-top: 4px;
  transition: gap 260ms, color 260ms;
}
.phase-card__readmore svg {
  width: 14px; height: 14px;
  transition: transform 260ms;
}
.phase-card:hover .phase-card__readmore { gap: 12px; }
.phase-card:hover .phase-card__readmore svg { transform: translateX(3px); }
/* Preschool card wedge is mint → white reads cleanly */
.phase-card--preschool .phase-card__readmore { color: #fff; }
/* Junior / Senior / High sit on darker wedges → white */
.phase-card--junior .phase-card__readmore,
.phase-card--senior .phase-card__readmore,
.phase-card--high .phase-card__readmore { color: #fff; }

/* Dandelion blooms BEHIND the cut-out child, on the navy card */
.phase-card__dandelion {
  position: absolute; z-index: 1;
  top: 5%; right: -18%; left: auto; bottom: auto;
  width: 74% !important; height: auto !important;
  pointer-events: none;
  animation: none !important;
  filter: none;
  opacity: 1;
  background: transparent;
}

/* ---- Phase cards on mobile ----
   Phones keep the same cut-out portrait treatment as desktop (photo + navy
   feather + overlaid text), sized by the 3/4 portrait ratio inside the scroller. */

/* ---------- Events strip ---------- */
.events {
  padding: 80px 0;
  background: var(--ba-off-white);
}
@media (min-width: 960px) { .events { padding: 120px 0; } }
.events__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  flex-wrap: wrap; margin-bottom: 40px;
}
.events__title {
  font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1; color: var(--ba-navy); font-weight: 400; margin: 14px 0 0;
}
.events__title em { font-style: italic; color: var(--ba-teal); }

.events__grid { display: grid; gap: 20px; }
@media (min-width: 800px) { .events__grid { grid-template-columns: 1fr 1.2fr; } }
@media (min-width: 1100px) { .events__grid { grid-template-columns: 1.1fr 1fr 1fr; } }

/* single-card layout for events when only one item */
.events__single { display: grid; gap: 0; }
.events__single .event--openday {
  grid-column: 1 / -1;
  display: grid; gap: 0;
}
@media (min-width: 800px) {
  .events__single .event--openday {
    grid-template-columns: 1.1fr 1fr;
  }
}
.event__badge {
  position: absolute; top: 20px; left: 20px;
  background: var(--ba-mint); color: var(--ba-navy);
  padding: 8px 16px; border-radius: 999px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 500;
}
.events__single .event__media {
  aspect-ratio: 4 / 3;
  position: relative;
}
@media (min-width: 800px) {
  .events__single .event__media { aspect-ratio: auto; height: 100%; min-height: 360px; }
}
.events__single .event__body {
  padding: 40px 32px;
  display: flex; flex-direction: column; justify-content: center;
}
@media (min-width: 960px) {
  .events__single .event__body { padding: 56px 48px; }
}
.events__single .event__title {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.05; margin-bottom: 16px;
}
.events__single .event__body p { font-size: 16px; line-height: 1.65; max-width: 46ch; }

.event {
  background: #fff; border-radius: 24px; overflow: hidden;
  box-shadow: var(--sh-card);
  display: flex; flex-direction: column;
  transition: transform 260ms var(--ease-natural);
}
.event:hover { transform: translateY(-4px); }
.event--featured { grid-column: 1 / -1; }
@media (min-width: 800px) { .event--featured { grid-column: 1; grid-row: 1 / span 2; } }
@media (min-width: 1100px) { .event--featured { grid-row: 1; } }

.event__media {
  aspect-ratio: 16 / 10; overflow: hidden; position: relative;
}
.event__media img { width: 100%; height: 100%; object-fit: cover; }
.event__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.event__date {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ba-teal);
  font-weight: 500; margin-bottom: 10px;
}
.event__title {
  font-family: var(--font-serif); font-size: 22px; line-height: 1.15; margin: 0 0 10px;
  color: var(--ba-navy); font-weight: 400;
}
.event--featured .event__title { font-size: 30px; }
.event__body p { color: var(--fg-2); font-size: 14px; line-height: 1.6; margin: 0 0 18px; }
.event__link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ba-navy); text-decoration: none; border-bottom: 0; font-weight: 500;
}
.event__link svg { width: 14px; height: 14px; }

/* ---------- Facilities / campus imagery ---------- */
.facilities {
  padding: 80px 0;
  background: var(--bg-1);
  position: relative;
}
@media (min-width: 960px) { .facilities { padding: 120px 0; } }
.facilities__grid {
  display: grid; gap: 40px; align-items: center;
}
@media (min-width: 900px) {
  .facilities__grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 80px;
  }
}
.facilities__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.08;
  color: var(--ba-navy);
  margin: 14px 0 24px;
  font-weight: 400;
  letter-spacing: -0.01em;
  max-width: 14ch;
}
.facilities__title em { font-style: italic; color: var(--ba-teal); }
.facilities__body {
  font-size: 17px; line-height: 1.65; color: var(--fg-2);
  margin: 0 0 28px; max-width: 46ch;
}
.facilities__link {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 500; color: var(--ba-navy);
  text-decoration: none; border-bottom: 0;
  padding-bottom: 6px; border-bottom: 1px solid var(--ba-navy) !important;
  transition: gap 200ms;
}
.facilities__link:hover { gap: 14px; }
.facilities__link svg { width: 14px; height: 14px; }

.facilities__photos {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  min-height: 480px;
}
.facilities__photo {
  overflow: hidden; border-radius: 20px;
  box-shadow: 0 30px 60px -20px rgba(0,29,57,0.25);
}
.facilities__photo img { width: 100%; height: 100%; object-fit: cover; }
.facilities__photo--primary {
  grid-column: 1 / -1;
  grid-row: 1;
  aspect-ratio: 16 / 10;
}
.facilities__photo--secondary {
  grid-column: 1 / 2;
  grid-row: 2;
  aspect-ratio: 4 / 3;
  transform: translateX(20%);
  width: 80%;
  margin-top: -40px;
}
@media (min-width: 900px) {
  .facilities__photos { min-height: 560px; }
}

.walkabout {
  padding: 80px 0 96px;
  background: var(--ba-navy); color: #fff;
  position: relative; overflow: hidden;
}
@media (min-width: 960px) { .walkabout { padding: 120px 0 120px; } }
.walkabout__dandelion {
  position: absolute;
  left: -20%; bottom: -30%;
  width: 70%;
  color: var(--ba-mint-light); opacity: 0.1;
}
.walkabout__intro {
  max-width: 780px; margin: 0 0 48px; text-align: left; position: relative; z-index: 1;
}
@media (min-width: 960px) { .walkabout__intro { margin-bottom: 64px; } }
@media (min-width: 900px) {
  .walkabout__intro {
    max-width: none;
    display: grid;
    grid-template-columns: 1.6fr 1.5fr;
    column-gap: 56px;
  }
  .walkabout__intro > .eyebrow-txt    { grid-column: 1; grid-row: 1; }
  .walkabout__intro > .walkabout__title { grid-column: 1; grid-row: 2; margin-bottom: 0; }
  .walkabout__intro > .walkabout__body  { grid-column: 2; grid-row: 1 / 3; align-self: center; max-width: 64ch; }
}
.walkabout__title {
  font-family: var(--font-serif); font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.12; margin: 12px 0 20px; font-weight: 400;
  color: #ffffff;
}
.walkabout__title em { font-style: italic; color: var(--ba-mint-light); }
.walkabout__body {
  color: rgba(255,255,255,0.85); font-size: 17px; line-height: 1.6;
  max-width: 58ch; margin: 0;
}
.walkabout__cta {
  display: flex; justify-content: flex-start; margin-top: 40px; position: relative; z-index: 1;
  max-width: 900px; margin-left: 0; margin-right: auto;
}

.schedule { list-style: none; padding: 0; margin: 0; max-width: none; position: relative; z-index: 1; }
.schedule li {
  display: grid; grid-template-columns: 140px 1fr auto; gap: 20px; align-items: center;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.schedule li:last-child { border-bottom: 1px solid rgba(255,255,255,0.15); }
.schedule__day {
  font-family: var(--font-serif); font-style: italic; font-size: 22px;
  color: var(--ba-mint-light);
}
@media (max-width: 520px) {
  .schedule li { grid-template-columns: 100px 1fr auto; gap: 14px; padding: 18px 0; }
  .schedule__day { font-size: 17px; }
}
.schedule__meta strong {
  font-family: var(--font-serif); font-size: 18px; font-weight: 400; display: block; margin-bottom: 2px;
}
.schedule__meta span { font-size: 13px; color: rgba(255,255,255,0.72); display: block; }
.schedule__meta .schedule__loc { color: rgba(255,255,255,0.5); font-size: 12px; letter-spacing: 0.04em; margin-top: 2px; }
.schedule__time {
  font-family: var(--font-serif); font-size: 18px; font-weight: 400;
  color: rgba(255,255,255,0.85);
}


/* ---------- Open Day compact block ---------- */
.events--compact { padding: 72px 0; background: var(--ba-off-white); }
@media (min-width: 960px) { .events--compact { padding: 96px 0; } }
.event-compact {
  display: grid; gap: 24px;
  background: #fff; border-radius: 28px; overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 29, 57, 0.08);
}
@media (min-width: 760px) {
  .event-compact { grid-template-columns: 0.9fr 1.1fr; gap: 0; }
}
.event-compact__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
@media (min-width: 760px) {
  .event-compact__media { aspect-ratio: auto; height: 100%; min-height: 280px; }
}
.event-compact__media img { width: 100%; height: 100%; object-fit: cover; }
.event-compact__body {
  padding: 28px 28px 32px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 22px;
}
.event-compact__body > * { margin-top: 0 !important; margin-bottom: 0 !important; }
@media (min-width: 760px) { .event-compact__body { padding: 44px; } }
.event-compact__title {
  font-family: var(--font-serif); font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.1; color: var(--ba-navy); font-weight: 400; margin: 0;
}
.event-compact__title em { font-style: italic; color: var(--ba-teal); }
.event-compact__meta {
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ba-teal); margin: 0; font-weight: 600;
}
@media (min-width: 1180px) {
  .event-compact__meta { white-space: nowrap; letter-spacing: 0.05em; }
}
.event-compact__copy { color: var(--fg-1); font-size: 15px; line-height: 1.6; margin: 0; max-width: none; text-wrap: pretty; }
.event-compact__link {
  display: inline-flex; align-items: center; gap: 8px;
  align-self: flex-start;
  padding: 13px 26px; border-radius: 999px;
  background: var(--ba-navy); color: #fff;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600; text-decoration: none;
  border-bottom: 0;
  transition: gap 220ms, transform 200ms var(--ease-natural), background 200ms;
}
.event-compact__link:hover { gap: 12px; background: var(--ba-navy-2); transform: translateY(-1px); }
.event-compact__link svg { width: 13px; height: 13px; }

/* ---------- Apply banner ---------- */
.apply-banner {
  position: relative; overflow: hidden;
  background: var(--ba-mint); color: var(--ba-navy);
  padding: 80px 0;
}
@media (min-width: 960px) { .apply-banner { padding: 140px 0; } }
.apply-banner__title {
  font-family: var(--font-serif); font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1; margin: 0 0 20px; font-weight: 400; letter-spacing: -0.02em;
  max-width: 18ch;
}
/* Compact variant — tighter headline for in-page banners (About, Offer) */
.apply-banner--compact .apply-banner__title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); max-width: 22ch; line-height: 1.1; }
@media (min-width: 768px) {
  .apply-banner--compact .apply-banner__title { white-space: nowrap; max-width: none; }
}
.apply-banner--compact { padding: 72px 0; }
@media (min-width: 960px) { .apply-banner--compact { padding: 100px 0; } }
.apply-banner__title em { font-style: italic; }
.apply-banner__sub { font-size: 19px; line-height: 1.55; margin: 0 0 32px; max-width: 40ch; }
.apply-banner__dandelion {
  position: absolute; right: -10%; top: -30%;
  width: 70%; color: #fff; opacity: 0.45; mix-blend-mode: overlay;
}
@media (min-width: 720px) {
  .apply-banner__dandelion { right: -5%; top: 50%; transform: translateY(-50%); width: 50%; }
}

/* ---------- Apply banner — photo variant ---------- */
.apply-banner--photo {
  background: var(--ba-navy);
  color: #fff;
}
.apply-banner--photo .apply-banner__title { color: #fff; }
.apply-banner--photo .apply-banner__title em { color: var(--ba-mint-light); font-style: italic; }
.apply-banner--photo .apply-banner__sub { color: rgba(255,255,255,0.82); }
.apply-banner__media {
  position: absolute; inset: 0;
  z-index: 0;
  overflow: hidden;
}
.apply-banner__media img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 34%;
  display: block;
}
.apply-banner__wash {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(0,29,57,0.92) 0%, rgba(0,29,57,0.78) 45%, rgba(0,29,57,0.55) 100%);
}
.apply-banner--photo > .container { position: relative; z-index: 1; }
.apply-banner--photo .apply-banner__dandelion {
  mix-blend-mode: normal;
  color: var(--ba-mint);
}


/* ---------- Affiliations strip ---------- */
.affiliations {
  background: #fff;
  padding: 48px 0 56px;
  border-top: 1px solid var(--line-soft);
}
.affiliations .affiliations__eyebrow {
  margin: 0 !important;
  white-space: nowrap;
}
.affiliations .affiliations__eyebrow + * { margin: 0 !important; }
.affiliations__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 36px 52px;
}
.aff-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
}
.aff-logo img {
  width: auto;
  object-fit: contain;
}
/* Per-logo heights tuned to each logo's TRIMMED content so wordmarks share an
   even optical size and a common centre line */
.aff-logo--isasa    { height: 46px; position: relative; top: -10px; }
.aff-logo--umalusi  { height: 30px; }
.aff-logo--ieb      { height: 44px; position: relative; top: 5px; }
.aff-logo--thriveed { height: 24px; }

@media (max-width: 640px) {
  .affiliations__row { gap: 30px 44px; }
  .affiliations .affiliations__eyebrow { flex-basis: 100%; text-align: center; white-space: normal; }
  .aff-logo--isasa    { height: 38px; }
  .aff-logo--umalusi  { height: 25px; }
  .aff-logo--ieb      { height: 37px; }
  .aff-logo--thriveed { height: 20px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ba-navy); color: #fff; padding: 72px 0 32px;
}
.footer-grid { display: grid; gap: 40px 32px; grid-template-columns: 1fr 1fr; }
.footer-grid .footer-brand { grid-column: 1 / -1; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr auto auto; column-gap: 88px; row-gap: 56px; align-items: start; } .footer-grid .footer-brand { grid-column: auto; } }
.footer-brand .tag {
  font-family: var(--font-serif); font-style: italic; color: var(--ba-mint-light);
  font-size: 22px; margin: 16px 0 10px;
}
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 14px; line-height: 1.6; max-width: 36ch; margin: 0; }
.footer-col h5 {
  font-family: var(--font-sans); font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ba-mint-light); font-weight: 500; margin: 0 0 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col li { font-size: 14px; line-height: 1.5; }
.footer-col__plain li { color: rgba(255,255,255,0.78); font-size: 14px; line-height: 1.5; }
.footer-col a { color: rgba(255,255,255,0.78); text-decoration: none; border-bottom: 0; font-size: 14px; line-height: 1.5; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.55);
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 620ms var(--ease-natural), transform 620ms var(--ease-natural); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Tweaks panel ---------- */
.tweaks-panel {
  position: fixed; right: 16px; bottom: 16px;
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: 18px;
  box-shadow: 0 30px 60px -20px rgba(0,29,57,0.3);
  padding: 16px; width: 280px;
  z-index: 80;
  font-family: var(--font-sans);
  display: none;
}
.tweaks-panel.open { display: block; }
.tweaks-panel h4 {
  margin: 0 0 12px; font-family: var(--font-serif); font-size: 16px;
  color: var(--ba-navy); font-weight: 500;
}
.tweak-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-top: 1px solid var(--line-soft); gap: 10px; }
.tweak-row:first-of-type { border-top: 0; }
.tweak-row label { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-2); font-weight: 500; }
.tweak-row .choices { display: flex; gap: 6px; }
.chip {
  border: 1px solid var(--line-soft); background: #fff;
  padding: 5px 10px; border-radius: 999px; cursor: pointer;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500;
  color: var(--fg-2);
}
.chip.active { background: var(--ba-navy); color: #fff; border-color: var(--ba-navy); }
.swatch { width: 24px; height: 24px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; }
.swatch.active { border-color: var(--ba-navy); }

/* ---------- High School phase page ---------- */
.phase-hero {
  position: relative; overflow: hidden;
  background: var(--ba-navy); color: #fff;
  padding: 140px 0 80px;
  min-height: 90vh;
  display: flex; align-items: center;
}
@media (min-width: 960px) { .phase-hero { padding: 160px 0 100px; } }
.phase-hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .phase-hero__grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.phase-hero__eyebrow { color: var(--ba-red); margin-bottom: 18px; display:inline-flex; align-items:center; gap:10px; }
.phase-hero__eyebrow::before { content:""; width: 30px; height: 1px; background: var(--ba-red); }

.phase-hero__title {
  font-family: var(--font-serif); font-size: clamp(3rem, 8vw, 5.6rem);
  line-height: 1; margin: 0; font-weight: 400; letter-spacing: -0.02em;
}
.phase-hero__title em { font-style: italic; color: var(--ba-red); }
.phase-hero__sub { color: rgba(255,255,255,0.85); font-size: 18px; line-height: 1.65; max-width: 52ch; margin: 28px 0 32px; }

.phase-hero__photo {
  position: relative; border-radius: 28px; overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.5);
}
.phase-hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.phase-hero__dandelion {
  position: absolute; right: -15%; top: -10%; width: 65%;
  color: var(--ba-red); opacity: 0.08;
}

.phase-stats {
  padding: 60px 0; background: #fff;
  border-bottom: 1px solid var(--line-soft);
}
.stat-grid { display: grid; gap: 24px; }
@media (min-width: 700px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat { border-top: 2px solid var(--ba-teal); padding-top: 16px; }
.stat__num {
  font-family: var(--font-serif); font-size: 44px; line-height: 1; color: var(--ba-navy);
  font-weight: 400;
}
.stat__num em { font-style: italic; color: var(--ba-teal-dark); }
.stat__label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-2); margin-top: 8px; font-weight: 500; }

.phase-philosophy {
  padding: 90px 0; background: var(--bg-1);
}
/* Philosophy card variant with a photo at the top. */
.philosophy-grid--photo { margin-top: 44px; }
.phil-card--photo {
  background: #fff;
  border: 1px solid var(--line-soft);
  padding: 0;
  display: flex; flex-direction: column;
  min-height: 0;
  overflow: hidden;
  border-radius: 24px;
}
.phil-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  background: var(--ba-off-white);
}
.phil-card__media img {
  width: 100%; height: 100%; object-fit: cover;
}
.phil-card__inner { padding: 28px 28px 32px; }
.phil-card--photo .phil-card__num {
  font-family: var(--font-serif); font-style: italic; font-size: 13px;
  color: var(--ba-teal-dark); margin-bottom: 10px;
}
.phil-card--photo .phil-card__title {
  font-family: var(--font-serif); font-size: 26px; line-height: 1.15;
  color: var(--ba-navy); font-weight: 400; margin: 0 0 12px;
}
.phil-card--photo .phil-card__title em { font-style: italic; color: var(--ba-teal-dark); }
.philosophy-grid { display: grid; gap: 16px; margin-top: 40px; }
@media (min-width: 800px) { .philosophy-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.phil-card {
  background: var(--ba-off-white); border-radius: 24px; padding: 32px 28px;
  position: relative; overflow: hidden;
  min-height: 280px;
}
.phil-card__num {
  font-family: var(--font-serif); font-style: italic; font-size: 14px;
  color: var(--ba-teal-dark); margin-bottom: 12px;
}
.phil-card__title {
  font-family: var(--font-serif); font-size: 28px; line-height: 1.1; color: var(--ba-navy);
  font-weight: 400; margin: 0 0 12px;
}
.phil-card__title em { font-style: italic; color: var(--ba-teal-dark); }
.phil-card p { font-size: 15px; line-height: 1.6; color: var(--fg-2); margin: 0; }

.phase-day {
  background: var(--ba-navy); color: #fff; padding: 90px 0;
  position: relative; overflow: hidden;
}
.phase-day__title {
  font-family: var(--font-serif); font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.05; font-weight: 400; margin: 14px 0 40px;
}
.phase-day__title em { font-style: italic; }
.day-list { display: grid; gap: 16px; }
@media (min-width: 800px) { .day-list { grid-template-columns: 1fr 1fr; column-gap: 40px; } }
.day-item { display: flex; gap: 20px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,0.2); }
.day-item__time {
  font-family: var(--font-serif); font-style: italic; font-size: 18px;
  color: var(--ba-mint-light); min-width: 70px;
}
.day-item__title { font-family: var(--font-serif); font-size: 20px; font-weight: 400; margin: 0 0 4px; }
.day-item p { font-size: 14px; line-height: 1.55; color: rgba(255,255,255,0.8); margin: 0; }

.phase-needtoknow {
  padding: 90px 0; background: #fff;
}
.ntk-grid { display: grid; gap: 24px; margin-top: 40px; }
@media (min-width: 700px) { .ntk-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
.ntk {
  border-top: 1px solid var(--line-soft); padding: 20px 0;
  display: grid; grid-template-columns: 140px 1fr; gap: 20px; align-items: start;
}
.ntk__label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ba-teal-dark); font-weight: 500; padding-top: 4px; }
.ntk__value { font-family: var(--font-serif); font-size: 18px; color: var(--ba-navy); line-height: 1.35; }

.phase-quote {
  padding: 100px 0; background: var(--ba-navy); color: #fff;
  position: relative; overflow: hidden;
}
.phase-quote__text {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  line-height: 1.3; font-style: italic; font-weight: 400;
  max-width: 26ch; margin: 0 0 28px;
}
.phase-quote__attribution { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ba-mint-light); }

.phase-cta {
  padding: 80px 0; background: var(--ba-navy); color: #fff;
}
.phase-cta__grid { display: grid; gap: 24px; align-items: center; }
@media (min-width: 800px) { .phase-cta__grid { grid-template-columns: 1.2fr auto; gap: 40px; } }
.phase-cta__title {
  font-family: var(--font-serif); font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.05; font-weight: 400; margin: 0;
}
.phase-cta__title em { font-style: italic; }
.phase-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Anchor nav for phase page */
.phase-nav {
  position: sticky; top: 64px; z-index: 10;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
  display: flex; gap: 24px; overflow-x: auto;
  padding: 14px 24px;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
}
.phase-nav a {
  color: var(--fg-2); text-decoration: none; border-bottom: 0;
  white-space: nowrap; font-weight: 500;
}
.phase-nav a.active { color: var(--ba-teal-dark); }

/* =========================================================================
   ABOUT PAGE
   ========================================================================= */

/* ---------- About hero ---------- */
.about-hero {
  position: relative; overflow: hidden;
  background: var(--ba-navy); color: #fff;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: flex-end;
}
@media (min-width: 960px) { .about-hero { min-height: 92vh; min-height: 92svh; } }
.about-hero__media { position: absolute; inset: 0; }
.about-hero__media img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 22s var(--ease-natural) both infinite alternate;
}
.about-hero__tint {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,29,57,0.55) 0%, rgba(0,29,57,0.3) 45%, rgba(0,29,57,0.85) 100%);
}
.about-hero__dandelion {
  position: absolute;
  right: -6%; top: 8%;
  width: 42vw; max-width: 520px;
  aspect-ratio: 1/1;
  opacity: 0.55;
  pointer-events: none;
  z-index: 2;
}
.about-hero__dandelion > .dandelion {
  position: absolute; inset: 0; width: 100% !important; height: 100% !important;
}
@media (max-width: 719px) {
  .about-hero__dandelion { right: 4%; top: 7%; width: 48vw; }
}
.about-hero__inner {
  position: relative; z-index: 3;
  width: 100%;
  padding: 140px 24px 72px;
  max-width: 1140px; margin: 0 auto;
}
@media (min-width: 960px) { .about-hero__inner { padding: 180px 64px 96px; } }
.about-hero__eyebrow {
  color: var(--ba-mint-light);
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  font-weight: 500; margin-bottom: 24px;
}
.about-hero .about-hero__headline--single {
  min-height: 0;
  max-width: 20ch;
  margin: 0 0 24px;
}
.about-hero__headline--single em { font-style: italic; color: var(--ba-mint-light); }
.about-hero__sub {
  font-family: var(--font-sans);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.88);
  max-width: 48ch;
  margin: 0;
}
.about-hero__headline {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6.5vw, 4.8rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 32px;
  font-weight: 400;
  max-width: 22ch;
  position: relative;
  min-height: 3.3em;
}
.about-hero__line {
  position: absolute; top: 0; left: 0; right: 0;
  opacity: 0; transform: translateY(14px);
  transition: opacity 600ms var(--ease-natural), transform 600ms var(--ease-natural);
  color: #fff;
}
.about-hero__line.is-active { opacity: 1; transform: none; }
.about-hero__line em { font-style: italic; color: var(--ba-mint-light); }
.about-hero__dots { display: flex; gap: 10px; }
.about-hero__dot {
  width: 24px; height: 2px;
  border: 0; padding: 0; background: rgba(255,255,255,0.3);
  cursor: pointer; border-radius: 2px;
  transition: background 240ms, width 240ms;
}
.about-hero__dot.is-active { background: var(--ba-mint-light); width: 40px; }

/* ---------- About sub-nav ---------- */
.about-subnav {
  position: sticky; top: 64px; z-index: 20;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: stretch;
}
@media (min-width: 960px) { .about-subnav { top: 72px; } }
.about-subnav__inner {
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1; min-width: 0;
  position: relative;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  --fade-left: 0;
  --fade-right: 0;
  -webkit-mask-image: linear-gradient(to right,
    transparent 0,
    black calc(var(--fade-left) * 28px),
    black calc(100% - (var(--fade-right) * 28px)),
    transparent 100%);
          mask-image: linear-gradient(to right,
    transparent 0,
    black calc(var(--fade-left) * 28px),
    black calc(100% - (var(--fade-right) * 28px)),
    transparent 100%);
}
.about-subnav.has-left  .about-subnav__inner { --fade-left: 1; }
.about-subnav.has-right .about-subnav__inner { --fade-right: 1; }
.about-subnav__inner::-webkit-scrollbar { display: none; }
.about-subnav ul {
  display: flex; gap: 2px;
  list-style: none; padding: 0; margin: 0;
  min-width: max-content;
}
/* On wide screens the items fit, so spread them across the full content width */
@media (min-width: 1100px) {
  .about-subnav ul { width: 100%; min-width: 0; justify-content: space-between; }
}
.about-subnav button {
  font-family: var(--font-sans);
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 500; color: var(--fg-2);
  background: transparent; border: 0;
  padding: 16px 14px;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: color 200ms;
}
.about-subnav button:hover { color: var(--ba-navy); }
.about-subnav button.is-active { color: var(--ba-navy); }
.about-subnav button.is-active::after {
  content: ""; position: absolute;
  left: 14px; right: 14px; bottom: 0;
  height: 2px; background: var(--ba-teal);
}

/* Scroll chevrons — visible only when the track overflows on that side */
.about-subnav__chev {
  flex: none;
  width: 40px;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(255,255,255,0.96);
  border: 0;
  cursor: pointer;
  color: var(--ba-navy);
  position: relative;
  z-index: 1;
  transition: opacity 180ms, color 180ms;
  opacity: 0;
  pointer-events: none;
}
.about-subnav__chev svg { width: 18px; height: 18px; }
.about-subnav__chev:hover { color: var(--ba-teal); }
.about-subnav.has-left  .about-subnav__chev--left,
.about-subnav.has-right .about-subnav__chev--right {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}
.about-subnav__chev--left  { box-shadow: 8px 0 12px -8px rgba(0,29,57,0.12); }
.about-subnav__chev--right { box-shadow: -8px 0 12px -8px rgba(0,29,57,0.12); }

@media (max-width: 860px) {
  .about-subnav button { padding: 14px 12px; font-size: 11px; letter-spacing: 0.1em; }
  .about-subnav button.is-active::after { left: 12px; right: 12px; }
}

/* ---------- Sub-nav: collapsible "You're viewing" dropdown (mobile) ------ */
.subnav-drop { display: none; }

@media (max-width: 860px) {
  /* The white sticky pill bar steps aside; the navy dropdown takes the width. */
  .about-subnav {
    display: block;
    background: transparent;
    -webkit-backdrop-filter: none;
            backdrop-filter: none;
    border-bottom: 0;
  }
  .about-subnav__inner,
  .about-subnav__chev { display: none !important; }
  .subnav-drop { display: block; position: relative; }
}

.about-subnav .subnav-drop__head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  background: var(--ba-navy);
  color: #fff;
  border: 0;
  border-bottom: 2px solid var(--ba-teal);   /* bright teal on this dark surface */
  padding: 15px 20px;
  cursor: pointer;
  font-family: var(--font-sans);
  text-transform: none;
  letter-spacing: normal;
}
.about-subnav .subnav-drop__eyebrow {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 5px;
}
.about-subnav .subnav-drop__current {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.15;
  color: #fff;
  text-transform: none;
  letter-spacing: var(--tracking-tight);
}
.about-subnav .subnav-drop__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.about-subnav .subnav-drop__count {
  font-size: 14px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.about-subnav .subnav-drop__tri {
  width: 13px;
  height: 13px;
  color: rgba(255, 255, 255, 0.85);
  transform: rotate(180deg);          /* points down when collapsed */
  transition: transform 240ms var(--ease-natural);
}
.about-subnav .subnav-drop.is-open .subnav-drop__tri { transform: rotate(0deg); }

/* Expanding list — absolutely positioned so it overlays content instead of
   shifting the page when it opens. */
.about-subnav .subnav-drop__list {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
  width: auto;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #fff;
  max-height: 0;
  overflow: hidden;
  box-shadow: 0 26px 44px -18px rgba(0, 29, 57, 0.30);
  transition: max-height 320ms var(--ease-natural);
  z-index: 5;
}
.about-subnav .subnav-drop.is-open .subnav-drop__list {
  max-height: 78vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.about-subnav .subnav-drop__list button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
  background: transparent;
  border: 0;
  border-top: 1px solid var(--line-soft);
  padding: 17px 20px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  color: var(--fg-2);
  white-space: normal;
  transition: background 160ms, color 160ms;
}
.about-subnav .subnav-drop__list button::after { content: none; display: none; }
.about-subnav .subnav-drop__list li:first-child button { border-top: 0; }
.about-subnav .subnav-drop__dot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #C7CCD1;
  transition: background 160ms, box-shadow 160ms;
}
.about-subnav .subnav-drop__list button:hover { color: var(--ba-navy); }
.about-subnav .subnav-drop__list button.is-active {
  background: rgba(28, 188, 145, 0.08);
  color: var(--ba-navy);
  font-weight: 500;
}
.about-subnav .subnav-drop__list button.is-active .subnav-drop__dot {
  background: var(--ba-mint);
  box-shadow: 0 0 0 4px rgba(28, 188, 145, 0.16);
}

/* ---------- Who we are ---------- */
.who-we-are {
  padding: 80px 0;
  background: var(--bg-1);
}
@media (min-width: 960px) { .who-we-are { padding: 120px 0; } }
.who-we-are__grid {
  display: grid; gap: 48px;
}
@media (min-width: 900px) {
  .who-we-are__grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 80px; align-items: stretch;
  }
  .who-we-are .who-we-are__photo { aspect-ratio: auto; height: 100%; }
}
.who-we-are__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.08; letter-spacing: -0.02em;
  color: var(--ba-navy); margin: 16px 0 32px;
  font-weight: 400;
  max-width: 16ch;
}
.who-we-are__title em { font-style: italic; color: var(--ba-teal); }
.who-we-are__lead {
  font-size: 20px; line-height: 1.55; color: var(--ba-navy);
  margin: 0 0 20px; font-weight: 400; max-width: 46ch;
}
.who-we-are__text > p { font-size: 17px; line-height: 1.7; color: var(--fg-2); max-width: 50ch; }
.who-we-are__note {
  font-size: 14px; line-height: 1.6; color: var(--fg-2);
  margin: 20px 0 0; max-width: 50ch;
}
.who-we-are__note a {
  color: var(--ba-teal); font-weight: 500;
  text-decoration: none; border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}
.who-we-are__callout {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.4;
  color: var(--ba-navy); max-width: 36ch;
  margin: 28px 0 0;
  padding-left: 22px;
  border-left: 2px solid var(--ba-teal);
}
.who-we-are__callout .brandmark {
  font-style: normal; font-weight: 500; color: var(--ba-teal);
}
.who-we-are__photo {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 40px 80px -20px rgba(0,29,57,0.3);
}
.who-we-are__photo img {
  width: 100%; height: 100%; object-fit: cover;
}
.who-we-are__caption {
  position: absolute; left: 20px; bottom: 20px;
  display: inline-flex; gap: 10px; align-items: center;
  padding: 10px 16px; border-radius: 999px;
  background: rgba(255,255,255,0.94);
  color: var(--ba-navy);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 500;
  backdrop-filter: blur(6px);
}
.who-we-are__caption span:nth-child(2) { opacity: 0.4; }

/* ---------- Our roots ---------- */
.our-roots {
  padding: 96px 0;
  background: var(--ba-navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
@media (min-width: 960px) { .our-roots { padding: 120px 0; } }
.our-roots__inner { position: relative; max-width: 960px; }
.our-roots__decor {
  position: absolute;
  right: -80px; top: -80px;
  width: 240px; height: 240px;
  opacity: 0.35;
  pointer-events: none;
  color: var(--ba-mint-light);
}
@media (min-width: 720px) {
  .our-roots__decor { right: -200px; top: -30px; width: 360px; height: 360px; }
}
.our-roots__decor > .dandelion {
  position: absolute; inset: 0; width: 100% !important; height: 100% !important;
}
.our-roots__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.1; margin: 14px 0 24px;
  color: #fff; font-weight: 400;
  max-width: 18ch;
}
.our-roots__title em { font-style: italic; color: var(--ba-mint-light); }
.our-roots__body {
  font-size: 18px; line-height: 1.65;
  color: rgba(255,255,255,0.85);
  max-width: 56ch;
  margin: 0 0 56px;
}
.our-roots__timeline {
  display: grid; gap: 28px;
  position: relative;
}
@media (min-width: 720px) {
  .our-roots__timeline {
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.18);
  }
}
@media (max-width: 719px) {
  .our-roots__timeline { padding-left: 34px; gap: 30px; }
  .our-roots__timeline::before {
    content: "";
    position: absolute;
    left: 6px; top: 12px; bottom: 12px;
    width: 2px;
    background: rgba(255,255,255,0.22);
  }
}
.timeline-step {
  position: relative;
  padding-top: 20px;
}
.timeline-step::before {
  content: "";
  position: absolute; top: -37.5px; left: 0;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--ba-mint-light);
}
@media (max-width: 719px) {
  .timeline-step { padding-top: 0; }
  .timeline-step::before {
    top: 7px; left: -33px;
    width: 12px; height: 12px;
    box-shadow: 0 0 0 4px var(--ba-navy);
  }
}
.timeline-step__year {
  font-family: var(--font-serif);
  font-size: 32px; line-height: 1;
  color: var(--ba-mint-light);
  font-weight: 400;
  margin-bottom: 6px;
}
.timeline-step__label {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); font-weight: 500;
  margin-bottom: 12px;
}
.timeline-step p {
  font-size: 14px; line-height: 1.5;
  color: rgba(255,255,255,0.8); margin: 0; max-width: 28ch;
}
.our-roots__tbc {
  margin-top: 32px;
  font-family: var(--font-serif); font-style: italic;
  color: rgba(255,255,255,0.45);
  font-size: 13px;
}

/* ---------- Accredited ---------- */
.accredited {
  padding: 96px 0;
  background: var(--bg-2);
}
@media (min-width: 960px) { .accredited { padding: 120px 0; } }
.accredited__grid {
  display: grid; gap: 56px; align-items: center;
}
@media (min-width: 900px) {
  .accredited__grid {
    grid-template-columns: 1fr 0.9fr;
    gap: 80px;
  }
}
.accredited__title {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4vw, 2.8rem);
  line-height: 1.1; letter-spacing: -0.01em;
  color: var(--ba-navy); margin: 14px 0 24px;
  font-weight: 400;
  max-width: 16ch;
}
.accredited__title em { font-style: italic; color: var(--ba-teal); }
.accredited__text > p {
  font-size: 17px; line-height: 1.7; color: var(--fg-2);
  max-width: 48ch;
}
.accredited__badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.badge-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  transition: transform 200ms var(--ease-natural), box-shadow 200ms;
}
.badge-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px -12px rgba(0,29,57,0.15);
}
.badge-card__mark {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--ba-navy);
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.badge-card__label {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-3); font-weight: 500;
}

/* ---------- Campuses ---------- */
.campuses {
  padding: 96px 0;
  background: var(--bg-1);
}
@media (min-width: 960px) { .campuses { padding: 120px 0; } }
.campuses__head {
  margin: 0 0 56px;
}
@media (min-width: 900px) {
  .campuses__head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 72px;
  }
  .campuses__head > .eyebrow-txt { grid-column: 1; grid-row: 1; }
  .campuses__head > .campuses__title { grid-column: 1; grid-row: 2; margin-bottom: 0; }
  .campuses__head > .campuses__intro { grid-column: 2; grid-row: 2; align-self: start; }
}
.campuses__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.08; letter-spacing: -0.01em;
  color: var(--ba-navy); margin: 14px 0 48px;
  font-weight: 400;
}
.campuses__title em { font-style: italic; color: var(--ba-teal); }
.campuses__intro {
  font-size: 17px; line-height: 1.65; color: var(--fg-2);
  max-width: none; margin: 0;
}
.campuses__grid {
  display: grid; gap: 24px;
}
@media (min-width: 800px) {
  .campuses__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
.campus-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 40px -18px rgba(0,29,57,0.15);
  display: flex; flex-direction: column;
  transition: transform 260ms var(--ease-natural), box-shadow 260ms;
}
.campus-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px -18px rgba(0,29,57,0.25);
}
.campus-card__media {
  aspect-ratio: 4/3;
  position: relative; overflow: hidden;
}
.campus-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 520ms var(--ease-natural);
}
.campus-card:hover .campus-card__media img { transform: scale(1.05); }
.campus-card__area {
  position: absolute; top: 16px; left: 16px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,0.95);
  color: var(--ba-navy);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 500;
  backdrop-filter: blur(6px);
}
.campus-card__body {
  padding: 28px;
  display: flex; flex-direction: column;
  flex: 1;
}
.campus-card__phases {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ba-teal); font-weight: 500;
  margin-bottom: 10px;
}
.campus-card__name {
  font-family: var(--font-serif);
  font-size: 22px; line-height: 1.2;
  color: var(--ba-navy); font-weight: 400;
  margin: 0 0 16px;
}
.campus-card p {
  font-size: 15px; line-height: 1.6; color: var(--fg-2);
  margin: 0;
}

.facilities-strip {
  margin-top: 64px;
  padding: 48px 32px;
  background: linear-gradient(180deg, var(--ba-navy) 0%, var(--ba-navy-2) 100%);
  border-radius: 28px;
  color: #fff;
  position: relative;
  overflow: hidden;
  overflow: clip; /* clip (not hidden) so the sticky facilities photo isn't disabled */
}
@media (min-width: 960px) { .facilities-strip { padding: 64px 56px; } }
.facilities-strip__dandelion {
  position: absolute;
  top: 22px; right: 26px;
  width: 88px; height: 88px;
  pointer-events: none;
}
.facilities-strip__dandelion > .dandelion { width: 100% !important; height: 100% !important; }
.facilities-strip__head {
  margin-bottom: 40px;
  max-width: none;
}
.facilities-strip__eyebrow {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ba-mint-light); font-weight: 500;
  margin-bottom: 12px;
}
.facilities-strip__title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.1;
  color: #fff; font-weight: 400;
  margin: 0;
}
@media (min-width: 720px) { .facilities-strip__title { white-space: nowrap; } }
.facilities-strip ul {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0 40px;
}
.facilities-strip li {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.14);
  display: flex; flex-direction: column; gap: 4px;
}
.facilities-strip__label {
  font-family: var(--font-serif);
  font-size: 18px; line-height: 1.3;
  color: #fff;
  font-weight: 400;
}
.facilities-strip__note {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ba-mint-light);
  opacity: 0.85;
  font-weight: 500;
}

/* Campus features — "reveal frame" (Option A, adopted §3.2). Two text columns
   beside a photo frame that crossfades as you hover/tap an item. Mobile: the
   frame sits above a two-column tappable list. */
.facilities-reveal {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}
.facilities-reveal__items {
  order: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 24px;
}
.facilities-reveal__item {
  -webkit-appearance: none; appearance: none;
  background: none; border: 1px solid transparent; width: 100%; cursor: pointer;
  color: #fff; font: inherit; text-align: left;
  padding: 15px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  border-radius: 11px;
  display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 12px;
  position: relative;
  transition: background 220ms var(--ease-natural), border-color 220ms var(--ease-natural);
}
.facilities-reveal__item::before { display: none; }
.facilities-reveal__item:hover {
  background: rgba(255,255,255,0.05);
  border-bottom-color: rgba(255,255,255,0.22);
}
.facilities-reveal__item.is-active {
  background: rgba(83,245,196,0.12);
  border-color: rgba(83,245,196,0.55);
}
.facilities-reveal__label {
  font-family: var(--font-serif); font-size: 18px; line-height: 1.3; font-weight: 400;
  transition: color 200ms var(--ease-natural);
}
.facilities-reveal__item:hover .facilities-reveal__label,
.facilities-reveal__item.is-active .facilities-reveal__label { color: var(--ba-mint-light); }
.facilities-reveal__note {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ba-mint-light); opacity: 0.8; font-weight: 500;
}
.facilities-reveal__frame {
  order: 1;
  position: relative; width: 100%; height: 180px;
  border-radius: 16px; overflow: hidden;
  /* Opaque so cells scrolling behind the (sticky, mobile) frame never show
     through during the photo cross-fade. */
  background: var(--ba-navy-2);
  box-shadow: 0 18px 40px -12px rgba(0,0,0,0.5);
}
.facilities-reveal__photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0;
  transition: opacity 600ms var(--ease-natural);
}
.facilities-reveal__photo.is-active { opacity: 1; }
.facilities-reveal__frame-grad {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,29,57,0) 38%, rgba(0,29,57,0.74) 100%);
}
.facilities-reveal__cap {
  position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 2;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 600; color: #fff;
}
.facilities-reveal__cap small {
  display: block; margin-top: 3px; font-size: 10px;
  letter-spacing: 0.16em; font-weight: 500;
  color: var(--ba-mint-light); opacity: 0.95;
}
@media (min-width: 960px) {
  .facilities-reveal {
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: 48px; align-items: stretch;
  }
  .facilities-reveal__items { order: 1; align-content: start; }
  .facilities-reveal__frame { order: 2; height: auto; min-height: 100%; }
}
@media (max-width: 959px) {
  /* Pin the photo so it stays in view while you tap facilities down the list.
     top offset clears the fixed header and leaves a sliver of the navy block
     visible above the image. Smaller label + tighter padding so cells don't
     run to three cramped lines. */
  .facilities-reveal__frame {
    /* pin below the sticky page header + section sub-nav (bottom ~127px),
       leaving a little navy padding above the photo. */
    position: sticky; top: 146px; z-index: 1;
    height: 200px;
  }
  .facilities-reveal__items { gap: 0 10px; }
  .facilities-reveal__item { padding: 12px 12px; gap: 8px; border-radius: 9px; }
  .facilities-reveal__label { font-size: 14.5px; line-height: 1.25; }
}
@media (prefers-reduced-motion: reduce) {
  .facilities-reveal__photo, .facilities-reveal__item, .facilities-reveal__item::before { transition: none; }
}

/* ---------- Leadership ---------- */
.leadership {
  padding: 96px 0;
  background: var(--bg-2);
}
@media (min-width: 960px) { .leadership { padding: 120px 0; } }
.leadership__head {
  margin: 0 0 56px;
}
@media (min-width: 900px) {
  .leadership__head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 72px;
  }
  .leadership__head > .eyebrow-txt { grid-column: 1; grid-row: 1; }
  .leadership__head > .leadership__title { grid-column: 1; grid-row: 2; margin-bottom: 0; }
  .leadership__head > .leadership__intro { grid-column: 2; grid-row: 2; align-self: start; }
}
.leadership__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.08; letter-spacing: -0.01em;
  color: var(--ba-navy); margin: 14px 0 48px;
  font-weight: 400;
}
.leadership__title em { font-style: italic; color: var(--ba-teal); }
.leadership__intro {
  font-size: 17px; line-height: 1.65; color: var(--fg-2);
  max-width: none; margin: 0;
}
.leadership__grid {
  display: grid; gap: 20px;
}
@media (min-width: 720px) {
  .leadership__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .leadership__grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    grid-auto-rows: 1fr;
  }
  .leader-card.is-featured { grid-column: span 1; }
}
.leader-card {
  position: relative; overflow: hidden;
  border-radius: 24px;
  padding: 32px;
  min-height: 360px;
  display: flex; flex-direction: column; justify-content: flex-start;
  transition: transform 260ms var(--ease-natural);
}
.leader-card:hover { transform: translateY(-4px); }
.leader-card--bg-navy { background: var(--ba-navy); color: #fff; }
.leader-card--bg-navy-2 { background: var(--ba-navy-2); color: #fff; }
.leader-card--bg-teal { background: var(--ba-teal); color: #fff; }
.leader-card--bg-mint { background: var(--ba-mint); color: var(--ba-navy); }

/* Grey/white-block leadership cards — dark text on the light surface */
.leader-card.grey-block, .leader-card.white-block { color: var(--ba-navy); padding: 32px; }
.leader-card.grey-block .leader-card__portrait,
.leader-card.white-block .leader-card__portrait {
  background: rgba(0,29,57,0.06);
  border-color: rgba(0,29,57,0.16);
  color: var(--ba-navy);
}
.leader-card.grey-block .leader-card__role,
.leader-card.white-block .leader-card__role { opacity: 1; }
.leader-card.grey-block .leader-card__loc,
.leader-card.white-block .leader-card__loc { opacity: 0.6; }
.leader-card.grey-block .leader-card__quote,
.leader-card.white-block .leader-card__quote { color: var(--lead-accent, var(--ba-navy)); opacity: 0.9; }
.leader-card.grey-block .leader-card__mark,
.leader-card.white-block .leader-card__mark { color: var(--lead-accent, var(--ba-teal)); opacity: 0.85; }

.leader-card__portrait {
  width: 96px; height: 96px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  display: grid; place-items: center;
  font-family: var(--font-serif);
  font-size: 34px; font-weight: 400;
  color: inherit;
  margin-bottom: 28px;
  border: 1px solid rgba(255,255,255,0.25);
  overflow: hidden;
  flex: none;
}
.leader-card__portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* Headshots are tall portraits — bias the circular crop up to the face. Lower
   % shows more of the head-top; 30% was cropping heads at the circle edge. */
.leader-card:not(.is-featured) .leader-card__portrait img {
  object-position: center 15%;
}
.leader-card--bg-mint .leader-card__portrait {
  background: rgba(0,29,57,0.08);
  border-color: rgba(0,29,57,0.18);
}
.leader-card.is-featured .leader-card__portrait {
  width: 96px; height: 96px; font-size: 34px;
  margin-bottom: 28px;
}
@media (min-width: 900px) {
  .leader-card.is-featured .leader-card__portrait {
    width: 96px; height: 96px;
  }
}
.leader-card.is-featured .leader-card__portrait img {
  object-position: center top;
  transform: scale(1.65) translate(4%, 13%);
}
.leader-card__role {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  opacity: 0.65; font-weight: 500;
  line-height: 1.4;
  min-height: 2.8em;
  margin-bottom: 8px;
}
.leader-card__name {
  font-family: var(--font-serif);
  font-size: 24px; line-height: 1.15;
  margin: 0 0 8px; font-weight: 400;
  color: inherit;
  min-height: 2.3em;
}
.leader-card.is-featured .leader-card__name { font-size: 24px; }
.leader-card__loc {
  font-size: 13px; line-height: 1.4;
  opacity: 0.7;
  margin-bottom: 20px;
  min-height: 2.8em;
}
.leader-card__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px; line-height: 1.5;
  margin: 0;
  opacity: 0.88;
  max-width: 32ch;
  position: relative;
  padding-left: 18px;
}
.leader-card.is-featured .leader-card__quote { font-size: 15px; }
.leader-card__mark {
  position: absolute; left: 0; top: -2px;
  font-size: 28px;
  font-family: var(--font-serif);
  opacity: 0.5;
  line-height: 1;
}
.leadership__tbc {
  margin-top: 32px;
  font-family: var(--font-serif); font-style: italic;
  color: var(--fg-3);
  font-size: 14px;
  max-width: 60ch;
}

/* ---------- Accredited ---------- */
.accredited {
  padding: 96px 0;
  background: var(--bg-1);
}
@media (min-width: 960px) { .accredited { padding: 120px 0; } }
.accredited__grid {
  display: grid; gap: 48px;
  align-items: start;
}
@media (min-width: 900px) {
  .accredited__grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: start;
  }
}
.accredited__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.6vw, 3rem);
  line-height: 1.08; letter-spacing: -0.01em;
  color: var(--ba-navy); margin: 14px 0 20px;
  font-weight: 400;
}
.accredited__title em { font-style: italic; color: var(--ba-teal); }
.accredited__text p {
  font-size: 17px; line-height: 1.65; color: var(--fg-2);
  max-width: 52ch; margin: 0 0 18px;
}
.accredited__badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.badge-card {
  background: #fff;
  border: none;
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  transition: transform 260ms var(--ease-natural), box-shadow 260ms;
}
.badge-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -20px rgba(0,29,57,0.25);
}
.badge-card__mark {
  font-family: var(--font-serif);
  font-size: 28px; font-weight: 400;
  color: var(--ba-navy);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.badge-card__label {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ba-teal); font-weight: 500;
}

/* ---------- Fees ---------- */
.fees {
  padding: 96px 0;
  background: var(--bg-2);
  position: relative;
}
@media (min-width: 960px) { .fees { padding: 120px 0; } }
.fees__grid {
  display: grid; gap: 48px;
  align-items: start;
  position: relative;
}
/* Circular lifestyle photo bridging the Accredited & Fees sections */
.fees__bridge { display: none; }
@media (min-width: 900px) {
  .fees__bridge {
    display: block;
    position: absolute;
    top: -400px; right: 80px;
    width: 408px; height: 408px;
    z-index: 4;
  }
  .fees__bridge img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: 50% 16%;
    display: block;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.9) translateY(28px);
    transition: opacity 760ms cubic-bezier(.2,.7,.2,1), transform 760ms cubic-bezier(.2,.7,.2,1);
  }
  .fees__bridge.is-in img { opacity: 1; transform: none; }
  /* Half-circle stroke (left side) that draws in on scroll */
  .fees__bridge-ring {
    position: absolute;
    inset: -24px;
    width: calc(100% + 48px); height: calc(100% + 48px);
    overflow: visible;
    pointer-events: none;
  }
  .fees__bridge-ring path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1100ms cubic-bezier(.45,0,.2,1) 220ms;
  }
  .fees__bridge.is-in .fees__bridge-ring path { stroke-dashoffset: 0; }
  @media (prefers-reduced-motion: reduce) {
    .fees__bridge img { opacity: 1; transform: none; transition: none; }
    .fees__bridge-ring path { stroke-dashoffset: 0; transition: none; }
  }
}
@media (min-width: 900px) {
  .fees__grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 80px;
  }
}
.fees__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.6vw, 3rem);
  line-height: 1.08; letter-spacing: -0.01em;
  color: var(--ba-navy); margin: 14px 0 20px;
  font-weight: 400;
}
.fees__title em { font-style: italic; color: var(--ba-teal); }
.fees__text p {
  font-size: 17px; line-height: 1.65; color: var(--fg-2);
  max-width: 54ch; margin: 0 0 18px;
}
.fees__card {
  align-self: end;
}
.fees__card-eyebrow {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ba-teal); font-weight: 500;
  margin-bottom: 18px;
}
.fees__list {
  list-style: none; padding: 0; margin: 0 0 24px;
}
.fees__list li {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(0,29,57,0.08);
}
.fees__list li:last-child { border-bottom: 1px solid rgba(0,29,57,0.08); }
.fees__phase {
  font-family: var(--font-serif);
  font-size: 18px; color: var(--ba-navy); font-weight: 400;
}
.fees__range {
  font-size: 13px; letter-spacing: 0.08em;
  color: var(--fg-3);
  text-align: right;
  white-space: nowrap;
}
.fees__foot {
  font-size: 13px; line-height: 1.55;
  color: var(--fg-3);
  margin: 0 0 24px;
}
.fees__cta {
  align-self: flex-start;
  margin-top: 4px;
}
.fees__cta.btn-primary { background: var(--ba-teal); color: #fff; }
.fees__cta.btn-primary:hover { background: var(--ba-navy); color: #fff; }
.fees__cta svg { width: 16px; height: 16px; }
.fees__cta svg { width: 16px; height: 16px; }

.fees__options {
  margin-top: 56px;
}
.fees__options-label {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ba-teal); font-weight: 500;
  margin-bottom: 14px;
}
.fees__options ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0;
}
.fees__options li {
  display: flex; flex-direction: row; align-items: baseline; gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(0,29,57,0.08);
}
.fees__options li:last-child { border-bottom: 1px solid rgba(0,29,57,0.08); }
.fees__option-name {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--ba-navy);
  flex: 0 0 120px;
}
.fees__option-note {
  color: var(--fg-3);
  font-size: 14px; line-height: 1.5;
  flex: 1;
}

/* ---------- ThriveEd (photo bg + blue wash) ---------- */
.thriveed {
  padding: 96px 0;
  color: var(--fg-on-dark);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ba-navy);
}
@media (min-width: 960px) { .thriveed { padding: 120px 0; } }

/* photo layer */
.thriveed::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url('../assets/photos/web/campus-gathering.jpg');
  background-size: cover;
  background-position: center 30%;
  z-index: -2;
  filter: grayscale(0.2);
}

/* deep blue wash on top of the photo, with a gentle gradient for text legibility */
.thriveed::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,29,57,0.70) 0%, rgba(0,29,57,0.86) 60%, rgba(0,29,57,0.94) 100%),
    radial-gradient(ellipse 120% 80% at 50% 0%, rgba(0,29,57,0.25), transparent 70%);
  z-index: -1;
  mix-blend-mode: normal;
}

/* ---------- Three-term ribbon ---------- */
.term-ribbon {
  background: linear-gradient(180deg, var(--ba-navy) 0%, var(--ba-navy-2) 100%);
  color: #fff;
  padding: 48px 0;
}
@media (min-width: 960px) { .term-ribbon { padding: 60px 0; } }
.term-ribbon__panel {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px 48px; flex-wrap: wrap;
}
.term-ribbon__text {
  display: flex; flex-direction: column; gap: 10px;
}
.term-ribbon__eyebrow {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ba-mint-light); font-weight: 500;
}
.term-ribbon__copy {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  line-height: 1.15; font-weight: 400;
  color: #fff;
  margin: 0;
}
.term-ribbon__link {
  flex: 0 0 auto;
}
.term-ribbon__link svg { width: 16px; height: 16px; flex: 0 0 auto; }

.thriveed .eyebrow-txt { color: var(--ba-mint-light); opacity: 0.9; }
.thriveed__watermark {
  position: absolute;
  left: -90px; bottom: -90px;
  width: 440px !important; height: 440px !important;
  opacity: 0.2;
  z-index: 0;
  pointer-events: none;
  animation: none !important;
}

.thriveed__inner {
  position: relative;
}
@media (min-width: 900px) {
  .thriveed__inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 0 72px;
  }
  .thriveed__inner > .eyebrow-txt { grid-column: 1; grid-row: 1; }
  .thriveed__inner > .thriveed__title { grid-column: 1; grid-row: 2; }
  .thriveed__inner > .thriveed__body { grid-column: 2; grid-row: 2; align-self: start; }
  .thriveed__inner > .thriveed__title { margin-bottom: 0; }
}
.thriveed__head {}
.thriveed__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.6vw, 3rem);
  line-height: 1.08; letter-spacing: -0.01em;
  color: #fff; margin: 14px 0 48px;
  font-weight: 400;
}
.thriveed__title em {
  font-style: italic;
  color: var(--ba-mint-light);
  font-weight: 400;
}

.thriveed__body p {
  font-size: 17px; line-height: 1.65;
  color: rgba(255,255,255,0.86);
  margin: 0 0 24px;
  max-width: 54ch;
}
.thriveed__body p em {
  font-style: italic;
  color: var(--ba-mint-light);
  font-family: var(--font-serif);
}

.thriveed__link {
  align-self: flex-start;
  margin-top: 4px;
}
.thriveed__link svg { width: 16px; height: 16px; }

.thriveed__sisters {
  margin-top: 44px;
  padding-top: 0;
}
.thriveed__sisters-label {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ba-mint-light); font-weight: 500;
  margin-bottom: 12px;
  opacity: 0.85;
}
.thriveed__sisters ul {
  list-style: none; padding: 0; margin: 0;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.thriveed__sisters li { border-bottom: 1px solid rgba(255,255,255,0.14); }
.thriveed__sister-link {
  display: flex; align-items: baseline; gap: 14px;
  padding: 20px 0;
  color: inherit;
  text-decoration: none;
  border: none;
  transition: padding 200ms var(--ease-natural), color 200ms;
}
.thriveed__sister-link:hover { padding-left: 6px; }
.thriveed__sister-text {
  flex: 1; min-width: 0;
  display: flex; align-items: baseline; gap: 12px 16px; flex-wrap: wrap;
  justify-content: space-between;
}
.thriveed__sister-name {
  font-family: var(--font-serif);
  font-size: 18px;
  color: #fff;
  line-height: 1.3;
  font-weight: 400;
}
.thriveed__sister-loc {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.08em;
  white-space: nowrap;
  margin-left: auto;
}
@media (max-width: 560px) {
  /* Stack school name over location so long names (e.g. "Waterford
     International") don't collide with the location on narrow screens. */
  .thriveed__sister-text { flex-direction: column; gap: 3px; justify-content: flex-start; }
  .thriveed__sister-loc { margin-left: 0; white-space: normal; }
}
.thriveed__sister-arrow {
  width: 14px; height: 14px;
  color: var(--ba-mint-light);
  opacity: 0.55;
  flex: 0 0 auto;
  transition: color 200ms, transform 220ms var(--ease-natural), opacity 200ms;
}
.thriveed__sister-link:hover .thriveed__sister-arrow {
  color: var(--ba-mint-light);
  opacity: 1;
  transform: translate(2px, -2px);
}

/* =========================================================================
   HIGH SCHOOL — v4 (editorial hero, teal/navy accent, no red)
   ========================================================================= */

/* HERO — editorial, typographic. Off-white background, big italic serif.
   Phase pages deliberately break from the big photo-over-tint homepage hero. */
.phase-hero--editorial {
  background: var(--ba-off-white);
  color: var(--ba-navy);
  padding: 140px 0 72px;
  min-height: 0;
  display: block;
  overflow: hidden;
  position: relative;
}
@media (min-width: 960px) { .phase-hero--editorial { padding: 180px 0 96px; } }
.phase-hero--editorial .phase-hero__dandelion {
  position: absolute; right: -14%; top: -18%; width: 55%;
  color: var(--ba-teal); opacity: 0.07;
}
.phase-hero--editorial .phase-hero__eyebrow {
  color: var(--ba-teal-dark);
  font-family: var(--font-sans); font-weight: 500;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  margin: 0 0 28px;
  display: inline-flex; align-items: center; gap: 12px;
}
.phase-hero--editorial .phase-hero__eyebrow::before {
  content:""; width: 36px; height: 1px; background: var(--ba-teal-dark);
  display: inline-block;
}

.phase-hero__editorial-grid {
  display: grid; gap: 32px; align-items: end;
}
@media (min-width: 900px) {
  .phase-hero__editorial-grid {
    grid-template-columns: 1.25fr 1fr;
    gap: 80px;
    align-items: end;
  }
}

/* Enormous italic serif display for the phase name. */
.phase-hero__display {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--ba-navy);
  margin: 0;
  font-size: clamp(3.4rem, 10.5vw, 8.2rem);
}
.phase-hero__display .line-1 { display: block; font-style: normal; }
.phase-hero__display .line-2 { display: block; font-style: italic; color: var(--ba-teal-dark); }

.phase-hero__body {
  max-width: 46ch;
  font-size: clamp(1.02rem, 1.3vw, 1.17rem);
  line-height: 1.65;
  color: var(--fg-2);
  margin: 0;
}
.phase-hero__body + .phase-hero__body { margin-top: 16px; }

.phase-hero__meta {
  margin-top: 32px;
  display: flex; flex-wrap: wrap; gap: 28px 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,29,57,0.15);
  max-width: 56ch;
}
.phase-hero__meta-item { }
.phase-hero__meta-label {
  font-family: var(--font-sans);
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ba-teal-dark); font-weight: 500;
  margin-bottom: 6px;
}
.phase-hero__meta-value {
  font-family: var(--font-serif);
  font-size: 18px; line-height: 1.25;
  color: var(--ba-navy);
}
.phase-hero__meta-value em { font-style: italic; color: var(--ba-teal-dark); }

/* Subjects section */
.phase-subjects {
  padding: 90px 0; background: #fff;
  border-top: 1px solid var(--line-soft);
}
@media (min-width: 960px) { .phase-subjects { padding: 120px 0; } }
.phase-subjects__grid {
  display: grid; gap: 40px; margin-top: 44px;
}
@media (min-width: 900px) {
  .phase-subjects__grid { grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
}
.subject-list {
  list-style: none; padding: 0; margin: 0;
  border-top: 1px solid var(--line-soft);
}
.subject-list li {
  display: grid; grid-template-columns: 1fr auto; gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}
.subject-list__name {
  font-family: var(--font-serif); font-size: 18px;
  color: var(--ba-navy); line-height: 1.3; font-weight: 400;
}
.subject-list__name em { font-style: italic; color: var(--ba-teal-dark); font-size: 14px; }
.subject-list__grade {
  font-family: var(--font-sans);
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ba-teal-dark); font-weight: 500;
  border: 1px solid var(--ba-teal-dark); padding: 3px 8px; border-radius: 999px;
  white-space: nowrap;
}
.phase-subjects__aside {
  background: var(--ba-navy); color: #fff;
  border-radius: 24px; padding: 36px 32px;
  position: relative; overflow: hidden;
}
.phase-subjects__aside h3 {
  font-family: var(--font-serif); font-style: italic;
  color: #fff;
  font-size: 26px; line-height: 1.2; margin: 0 0 16px;
  font-weight: 400;
  max-width: 18ch;
}
.phase-subjects__aside h3 em { color: var(--ba-mint-light); }
.phase-subjects__aside p {
  font-size: 14px; line-height: 1.6;
  color: rgba(255,255,255,0.78);
  margin: 0 0 10px;
}
.phase-subjects__aside .small-note {
  font-size: 12px; color: rgba(255,255,255,0.55); letter-spacing: 0.01em;
  margin-top: 16px; font-style: italic;
}

/* Technology section — dark, editorial */
.phase-tech {
  background: var(--ba-navy); color: #fff;
  padding: 90px 0;
  position: relative; overflow: hidden;
}
@media (min-width: 960px) { .phase-tech { padding: 120px 0; } }
.phase-tech__grid {
  display: grid; gap: 40px;
}
@media (min-width: 900px) {
  .phase-tech__grid { grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
}
.phase-tech__title {
  font-family: var(--font-serif); font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.08; font-weight: 400; margin: 14px 0 0;
  color: #fff; letter-spacing: -0.01em;
  max-width: 14ch;
}
.phase-tech__title em { font-style: italic; color: var(--ba-mint-light); }
.phase-tech__body { font-size: 17px; line-height: 1.65; color: rgba(255,255,255,0.8); }
.phase-tech__body p { margin: 0 0 18px; color: inherit; max-width: none; }
.phase-tech__tools {
  display: grid; gap: 14px; margin-top: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) { .phase-tech__tools { grid-template-columns: 1fr 1fr; } }
.tech-chip {
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex; gap: 14px; align-items: baseline;
}
.tech-chip__label { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ba-mint-light); font-weight: 500; min-width: 64px; }
.tech-chip__value { font-family: var(--font-serif); font-size: 17px; line-height: 1.2; color: #fff; font-weight: 400; }

/* Quick link tiles (bottom of phase pages) */
.phase-quicklinks {
  padding: 80px 0;
  background: #fff;
  border-top: 1px solid var(--line-soft);
}
@media (min-width: 960px) { .phase-quicklinks { padding: 100px 0; } }
.phase-quicklinks__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  flex-wrap: wrap; margin-bottom: 36px;
}
.phase-quicklinks__title {
  font-family: var(--font-serif); font-size: clamp(1.75rem, 3.6vw, 2.4rem);
  line-height: 1.1; color: var(--ba-navy); font-weight: 400; margin: 10px 0 0;
}
.phase-quicklinks__title em { font-style: italic; color: var(--ba-red); }
.phase-quicklinks__grid {
  display: grid; gap: 14px;
  grid-template-columns: 1fr 1fr;
}
@media (min-width: 800px) {
  .phase-quicklinks__grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}
.ql-tile {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between;
  background: var(--ba-off-white);
  border-radius: 22px;
  padding: 26px 22px;
  min-height: 180px;
  cursor: pointer;
  border: 0;
  text-align: left;
  transition: transform 240ms var(--ease-natural), background 240ms;
  font-family: var(--font-sans);
  color: var(--ba-navy);
  overflow: hidden;
}
.ql-tile:hover { transform: translateY(-3px); background: #fff; box-shadow: var(--sh-card); }
.ql-tile__label {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 500; color: var(--ba-red);
  margin-bottom: 10px;
}
.ql-tile__name {
  font-family: var(--font-serif); font-size: 26px; line-height: 1.1;
  font-weight: 400;
  color: var(--ba-navy);
}
.ql-tile__arrow {
  margin-top: 24px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--fg-2); font-weight: 500;
}
.ql-tile__arrow svg { width: 14px; height: 14px; transition: transform 220ms; }
.ql-tile:hover .ql-tile__arrow svg { transform: translateX(4px); }

/* Stat refresh — allow smaller-font stat num with long words */
.stat__num--word { font-size: 34px; }

/* ============================================================
   "MORE TEXT SPACE" — site-wide standardised header rhythm.
   Every eyebrow → headline → lead arrangement gets the same
   breathing room (the --text-space token, set in tokens.css).
   Retune the whole site by changing that ONE token.

   Selectors use a doubled class (.x.x) purely to raise specificity
   so this wins over each section's ad-hoc title margins regardless
   of which stylesheet they live in — while still yielding to any
   intentional inline style= override on a specific element.

   Card-internal eyebrows (.meals__eyebrow, .phase-aftercare__eyebrow,
   .event__date, .pillar__label, etc.) are intentionally NOT included
   so compact cards stay tight.
   ============================================================ */
.eyebrow-txt.eyebrow-txt,
.hero__eyebrow.hero__eyebrow,
.welcome__eyebrow.welcome__eyebrow,
.about-hero__eyebrow.about-hero__eyebrow,
.offer-hero__eyebrow.offer-hero__eyebrow,
.phase-hero__eyebrow.phase-hero__eyebrow,
.phase-hero-v__eyebrow.phase-hero-v__eyebrow,
.phase-hero-billboard__eyebrow.phase-hero-billboard__eyebrow,
.blog-hero__eyebrow.blog-hero__eyebrow,
.contact-hero__eyebrow.contact-hero__eyebrow,
.facilities-strip__eyebrow.facilities-strip__eyebrow {
  margin-bottom: var(--text-space);
}
/* The headline directly after an eyebrow: kill any baked-in top margin
   (the eyebrow now owns that gap) and give a standard gap to the lead. */
.eyebrow-txt.eyebrow-txt + *,
.hero__eyebrow.hero__eyebrow + *,
.welcome__eyebrow.welcome__eyebrow + *,
.about-hero__eyebrow.about-hero__eyebrow + *,
.offer-hero__eyebrow.offer-hero__eyebrow + *,
.phase-hero__eyebrow.phase-hero__eyebrow + *,
.phase-hero-v__eyebrow.phase-hero-v__eyebrow + *,
.phase-hero-billboard__eyebrow.phase-hero-billboard__eyebrow + *,
.blog-hero__eyebrow.blog-hero__eyebrow + *,
.contact-hero__eyebrow.contact-hero__eyebrow + *,
.facilities-strip__eyebrow.facilities-strip__eyebrow + * {
  margin-top: 0;
  margin-bottom: var(--text-space);
}

/* ============================================================
   SCROLL REVEAL (see reveal.js) — heading line-masks + fade-up.
   Only engages when motion is allowed; reduced-motion users get
   fully-visible text with no initial hidden state.
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .rv-line {
    display: block;
    overflow: hidden;
    /* Extra room so descenders (g, y, p…) aren't clipped by the mask;
       negative margin keeps the line rhythm unchanged. */
    padding-bottom: 0.2em;
    margin-bottom: -0.2em;
  }
  .rv-line__i {
    display: block;
    transform: translateY(135%);
    transition: transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--rv-d, 0s);
    will-change: transform;
  }
  .rv-h.is-in .rv-line__i { transform: none; }

  /* Phases title is large serif — its descenders ("y", "p") need more
     room than the default mask allows, or they clip. */
  .phases__title .rv-line { padding-bottom: 0.85em; margin-bottom: -0.85em; }

  .rv-fade {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--rv-d, 0s);
    will-change: opacity, transform;
  }
  .rv-fade.is-in { opacity: 1; transform: none; }

  /* Card reveal — uses `translate` (not transform) so the cards' hover-lift
     transform keeps working. */
  .rv-card {
    opacity: 0;
    translate: 0 28px;
    transition: opacity 0.7s ease, translate 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--rv-d, 0s);
    will-change: opacity, translate;
  }
  .rv-card.is-in { opacity: 1; translate: 0 0; }
}

/* GPU compositing hint on slow-zoom hero images — eliminates the moiré/stripe
   flicker on fine detail (braids, fabric) during the ken-burns animation (§2.2). */
.hero__media img, .hero__cutout img, .about-hero__media img,
.offer-hero__media img, .blog-hero__media img {
  will-change: transform;
  backface-visibility: hidden;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero__media img, .dandelion, .about-hero__media img { animation: none !important; }
  * { transition: none !important; }
}

/* =========================================================================
   SMALL-SCREEN SPACING — phones (≤600px)
   Sections carry a 72–80px vertical band down to mobile (the 120px desktop
   value only kicks in ≥960px). On a phone that reads heavy, so tighten the
   major bands to ~52–60px for a more compact rhythm.
   ========================================================================= */
@media (max-width: 600px) {
  .welcome, .story, .events, .facilities { padding-top: 56px; padding-bottom: 56px; }
  .phases { padding: 56px 0 64px; }
  .walkabout { padding: 56px 0 64px; }
  .phase-section { padding-top: 56px; padding-bottom: 56px; }
  /* About body sections — same compact phone rhythm as Home (these were never
     folded into the phone band, so they read heavy at 80–96px). Offer & Contact
     get the same treatment in offer.css / contact.css (later source order). */
  .who-we-are, .our-roots, .accredited, .fees, .thriveed, .campuses, .leadership, .faq {
    padding-top: 56px; padding-bottom: 56px;
  }
  .affiliations { padding: 40px 0 44px; }

  /* Decorative graphics that bleed off the right edge read as "media falling
     off / flush right" on a phone (the body clips horizontal overflow, so they
     sit flush with no gutter while content keeps its 24px left gutter). Drop the
     off-edge decoration on small screens so left/right breathing room matches. */
  .story__dandelion,
  .walkabout__dandelion,
  .curric__dandelion,
  .aftercare__dandelion,
  .phase-aftercare__watermark,
  .our-roots__decor { display: none !important; }
}

