/* ============================================================
   ASPIRATIONAL EDITECH — Website stylesheet
   Imports brand tokens from assets/tokens.css, then layers
   UI-kit components and page-specific styles on top.
   ============================================================ */

@import url('assets/tokens.css');

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
button { font-family: var(--font-body); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- container ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 32px; }
.section { padding: var(--space-9) 0; }
.section--tight { padding: var(--space-8) 0; }
.bg-navy { background: var(--oxford-navy); color: var(--fg-on-dark); }
.bg-navy h1, .bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--ivory); }
.bg-ivory { background: var(--ivory); }
.bg-cream { background: var(--cream); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 15px; letter-spacing: .01em;
  border-radius: var(--radius-pill); padding: 14px 28px;
  border: 1.5px solid transparent; cursor: pointer;
  transition: all var(--dur) var(--ease-out); text-decoration: none; white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--oxford-navy); color: var(--ivory); }
.btn-primary:hover { background: var(--ink-navy); }
.btn-gold { background: var(--gold); color: var(--ink-navy); }
.btn-gold:hover { background: var(--gold-deep); }
.btn-secondary { background: transparent; color: var(--oxford-navy); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--oxford-navy); background: rgba(21,35,63,.04); }
.btn-outline-light { background: transparent; color: var(--ivory); border-color: var(--border-on-dark); }
.btn-outline-light:hover { border-color: var(--ivory); background: rgba(246,239,226,.08); }
.btn-ghost {
  background: none; border: none; color: var(--oxford-navy); padding: 14px 10px;
  font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
}
.btn-ghost svg { width: 17px; height: 17px; transition: transform var(--dur) var(--ease-out); }
.btn-ghost:hover svg { transform: translateX(4px); }
.btn-lg { padding: 17px 34px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 13.5px; }

/* ---------- eyebrow ---------- */
.eyebrow {
  font-family: var(--font-body); font-size: 12px; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep);
  display: inline-flex; align-items: center; gap: .7em;
}
.eyebrow .rule { width: 30px; height: 2px; background: var(--gold); display: inline-block; }
.bg-navy .eyebrow { color: var(--gold); }

.section-head { max-width: 62ch; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head h2 { margin: 16px 0 0; }
.section-head .lead { margin-top: 16px; }

/* ---------- chips ---------- */
.chip {
  display: inline-flex; align-items: center; font-size: 12.5px; font-weight: 600;
  padding: 6px 13px; border-radius: var(--radius-pill);
  background: rgba(21,35,63,.07); color: var(--oxford-navy);
}
.chip-terra { background: rgba(188,107,76,.12); color: var(--terracotta-deep); }
.chip-gold { background: rgba(194,160,76,.2); color: var(--gold-deep); }
.chip-on-dark { background: rgba(246,239,226,.12); color: var(--ivory); }

/* ---------- photo placeholders ---------- */
.photo {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #33476b, #15233F);
}
/* When a .photo wrapper hosts an <image-slot> drop target, swap the dark
   gradient for a warm cream so the slot's dashed empty-state ring and
   "Drop an image" caption are visible. The slot's own background takes
   over once the user drops an image in. */
.photo:has(image-slot) {
  background: var(--sand-100, #efe5ce);
}
.photo > image-slot {
  color: var(--oxford-navy);
  /* Use absolute fill instead of width/height: 100% so the slot works inside
     .photo wrappers that declare only min-height (percentage heights would
     resolve to 0 against an auto-height parent). */
  position: absolute; inset: 0; width: auto; height: auto; display: block;
}
/* Chip overlays (Academic / Leadership / etc.) sit on top of the slot but
   must not block its drop / click target. */
.photo > .chip.ptype { pointer-events: none; }
.photo .ph-icon {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: rgba(246,239,226,.22);
}
.photo .ph-icon svg { width: 40px; height: 40px; }
.photo .ph-label {
  position: absolute; left: 50%; top: 58%; transform: translateX(-50%);
  color: rgba(246,239,226,.4); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; white-space: nowrap;
}
.scrim {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,26,48,.78), rgba(15,26,48,.05) 55%, transparent);
}

/* ---------- announcement bar ---------- */
.announce {
  background: var(--ink-navy); color: var(--fg-on-dark-2);
  font-size: 13px; padding: 10px 0; text-align: center;
}
.announce a { color: var(--gold); text-decoration: none; font-weight: 600; }
.announce a:hover { text-decoration: underline; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 60; transition: all var(--dur) var(--ease-out); background: var(--cream); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 84px; transition: height var(--dur) var(--ease-out);
}
.nav-brand { flex: 0 0 auto; display: inline-flex; align-items: center; }
.nav.scrolled {
  background: rgba(251,246,236,.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.nav.scrolled .nav-inner { height: 68px; }
.nav-logo { height: 38px; width: auto; transition: height var(--dur) var(--ease-out); }
.nav.scrolled .nav-logo { height: 32px; }
.nav-links {
  display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0;
  flex: 1 1 auto; justify-content: center; min-width: 0;
}
.nav-link {
  font-family: var(--font-body); font-size: 14.5px; font-weight: 500;
  color: var(--oxford-navy); text-decoration: none; padding: 10px 13px;
  border-radius: var(--radius); display: inline-flex; align-items: center; gap: 5px;
  cursor: pointer; transition: background var(--dur), color var(--dur);
  background: none; border: none; line-height: 1; white-space: nowrap;
}
.nav-link svg { width: 14px; height: 14px; transition: transform var(--dur); flex: none; }
.nav-link:hover { background: rgba(21,35,63,.06); }
.nav-link.active { background: rgba(21,35,63,.07); color: var(--oxford-navy); position: relative; }
.nav-link.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px;
  background: var(--gold); border-radius: 2px;
}
.nav-item { position: relative; }
.nav-item.open > .nav-link svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 280px;
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  padding: 8px; opacity: 0; visibility: hidden;
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out), visibility var(--dur);
  z-index: 70;
}
.dropdown-wide { min-width: 340px; }
.nav-item.open .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 11px 14px; border-radius: var(--radius);
  text-decoration: none; transition: background var(--dur);
}
.dropdown a:hover { background: var(--ivory); }
.dropdown a.d-feature {
  background: linear-gradient(135deg, rgba(194,160,76,.08), rgba(194,160,76,.02));
  border: 1px solid var(--gold-soft); margin-top: 6px;
}
.dropdown a.d-feature:hover { background: rgba(194,160,76,.14); }
.dropdown .d-title { font-size: 14px; font-weight: 600; color: var(--oxford-navy); display: inline-flex; align-items: center; gap: 8px; }
.dropdown .d-sub { font-size: 12.5px; color: var(--fg-3); line-height: 1.4; }
.dropdown .d-tag {
  font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 2px 7px; border-radius: var(--radius-pill);
  background: var(--gold); color: var(--ink-navy);
}
.nav-cta { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.nav-burger {
  display: none; background: none; border: none; cursor: pointer;
  color: var(--oxford-navy); padding: 8px;
}
.nav-burger svg { width: 26px; height: 26px; }

/* condense nav at tighter widths so it never overflows */
@media (max-width: 1180px) {
  .nav-link { padding: 10px 10px; font-size: 14px; }
  .nav-links { gap: 0; }
}
@media (max-width: 1080px) {
  .nav-cta-brochure { display: none; }
}

/* mobile menu */
.mobile-menu {
  display: none; background: var(--cream); border-bottom: 1px solid var(--border);
}
.mobile-menu.open { display: block; }
.mobile-menu .wrap { padding-top: 12px; padding-bottom: 24px; }
.mobile-menu a, .mobile-menu .m-section-title {
  display: block; padding: 12px 8px; font-size: 16px; color: var(--oxford-navy);
  text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--sand-200);
}
.mobile-menu .m-section-title {
  font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-deep); margin-top: 14px; border-bottom: 0;
}
.mobile-menu .m-sub { padding-left: 22px; font-size: 14.5px; color: var(--fg-2); }
.mobile-menu .m-cta { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

/* ---------- hero (home) ---------- */
.hero {
  position: relative; min-height: 0;
  display: flex; align-items: center; color: var(--ivory); overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 600px at 78% 22%, rgba(194,160,76,.18), transparent 55%),
    linear-gradient(125deg, #1d2f4f 0%, #15233F 55%, #0F1A30 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,26,48,.55), rgba(15,26,48,.15) 70%, transparent);
}
.hero-grid {
  position: relative; display: grid;
  grid-template-columns: 1.06fr 0.94fr; gap: 52px; align-items: center;
}
.hero-content { position: relative; max-width: 620px; padding: 44px 0 56px; }
.hero h1 {
  color: var(--ivory);
  font-size: clamp(2.55rem, 1.7rem + 2.4vw, 3.3rem);
  line-height: 1.07; letter-spacing: -0.015em;
}
.hero .lead { color: var(--fg-on-dark-2); max-width: 50ch; margin: 22px 0 0; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-trust { display: flex; gap: 24px; margin-top: 34px; flex-wrap: wrap; }
.hero-trust .t { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--fg-on-dark-2); }
.hero-trust svg { width: 19px; height: 19px; color: var(--gold); }

/* hero image cluster — 3 layered drop-image slots */
.hero-media { position: relative; height: 478px; }
.hero-card {
  position: absolute; overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--sand-100, #efe5ce);
  border: 1px solid rgba(246,239,226,.16);
  box-shadow: var(--shadow-lg);
  transition: transform var(--dur-lg) var(--ease-out), box-shadow var(--dur-lg) var(--ease-out);
}
.hero-card > image-slot { color: var(--oxford-navy); width: 100%; height: 100%; display: block; }
.hero-card-label {
  position: absolute; left: 12px; bottom: 12px; z-index: 3; pointer-events: none;
  font-family: var(--font-body); font-size: 10.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ivory);
  background: rgba(15,26,48,.62); backdrop-filter: blur(4px);
  padding: 6px 12px; border-radius: var(--radius-pill);
}
.hero-card--a { width: 56%; height: 380px; left: 1%; top: 34px; z-index: 2; transform: rotate(-2deg); }
.hero-card--b { width: 47%; height: 300px; right: 0; top: 0; z-index: 3; transform: rotate(3deg); }
.hero-card--c { width: 45%; height: 270px; left: 39%; bottom: 0; z-index: 2; transform: rotate(-3.5deg); }
.hero-card--a:hover { transform: rotate(-2deg) translateY(-5px); box-shadow: var(--shadow-lg); }
.hero-card--b:hover { transform: rotate(3deg) translateY(-5px); }
.hero-card--c:hover { transform: rotate(-3.5deg) translateY(-5px); }

@media (max-width: 1240px) {
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-content { max-width: none; padding: 64px 0 4px; }
  .hero-media { height: 360px; margin-bottom: 44px; }
  .hero-card--a { height: 290px; }
  .hero-card--b { height: 230px; }
  .hero-card--c { height: 205px; }
}
@media (max-width: 560px) {
  .hero h1 br { display: none; }
}

/* ---------- page hero (interior pages) ---------- */
.page-hero {
  background: var(--oxford-navy); color: var(--ivory);
  padding: 132px 0 76px; position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(700px 400px at 85% 0%, rgba(194,160,76,.16), transparent 55%);
}
.page-hero-content { position: relative; max-width: 760px; }
.page-hero h1 {
  color: var(--ivory); font-size: var(--step-h1); margin-top: 20px;
}
.page-hero .lead { color: var(--fg-on-dark-2); margin: 22px 0 0; max-width: 58ch; }
.crumbs {
  display: flex; gap: 8px; font-size: 13px; color: var(--fg-on-dark-2);
  align-items: center; flex-wrap: wrap;
}
.crumbs a { color: var(--fg-on-dark-2); text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs .sep { color: var(--gold); opacity: .55; }

/* ---------- page hero with image cluster (programmes) ---------- */
.page-hero--media .page-hero-grid {
  position: relative; display: grid;
  grid-template-columns: 1.08fr 0.92fr; gap: 48px; align-items: center;
}
.page-hero--media .page-hero-content { max-width: 600px; }
.page-hero-media { position: relative; height: 300px; }
.page-hero-media .ph-card {
  position: absolute; overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--sand-100);
  border: 1px solid rgba(246,239,226,.16);
  box-shadow: var(--shadow-lg);
  transition: transform var(--dur-lg) var(--ease-out);
}
.page-hero-media .ph-card > image-slot { color: var(--oxford-navy); }
.page-hero-media .ph-card-label {
  position: absolute; left: 12px; bottom: 12px; z-index: 3; pointer-events: none;
  font-family: var(--font-body); font-size: 10.5px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--ivory);
  background: rgba(15,26,48,.62); backdrop-filter: blur(4px);
  padding: 6px 12px; border-radius: var(--radius-pill);
}
.ph-card--a { width: 62%; height: 280px; right: 9%; top: 0; z-index: 2; transform: rotate(-2deg); }
.ph-card--b { width: 46%; height: 188px; right: 0; bottom: -8px; z-index: 3; transform: rotate(3.2deg); }
.ph-card--a:hover { transform: rotate(-2deg) translateY(-5px); }
.ph-card--b:hover { transform: rotate(3.2deg) translateY(-5px); }

@media (max-width: 980px) {
  .page-hero--media .page-hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .page-hero--media .page-hero-content { max-width: none; }
  .page-hero-media { height: 248px; margin-bottom: 18px; }
  .ph-card--a { height: 230px; }
  .ph-card--b { height: 160px; }
}
@media (max-width: 600px) {
  .page-hero-media { display: none; }
}

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 8px 12px; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 10%; bottom: 10%;
  width: 1px; background: var(--border-on-dark);
}
.stat .num {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 2rem + 2vw, 3.6rem);
  font-weight: 600; color: var(--gold); line-height: 1;
}
.stat .lbl { font-size: 13.5px; color: var(--fg-on-dark-2); margin-top: 8px; letter-spacing: .04em; }

/* ---------- value grid ---------- */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 54px; }
.value .v-ico {
  width: 52px; height: 52px; border-radius: var(--radius); background: var(--ivory);
  display: flex; align-items: center; justify-content: center;
  color: var(--oxford-navy); border: 1px solid var(--border);
}
.value .v-ico svg { width: 24px; height: 24px; stroke-width: 1.6; }
.value h4 { margin: 18px 0 8px; }
.value p { font-size: 14.5px; color: var(--fg-2); margin: 0; }

/* ---------- program grid / carousel ---------- */
.carousel { position: relative; margin-top: 44px; }
.track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 8px; scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
.pcard {
  flex: 0 0 340px; scroll-snap-align: start; background: var(--warm-white);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform var(--dur) var(--ease-out), box-shadow var(--dur), border-color var(--dur);
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.pcard .photo { height: 200px; }
.pcard .pcard-body { padding: 20px 22px 22px; }
.pcard .ptype { position: absolute; top: 16px; left: 16px; z-index: 2; }
.pcard h3 { font-family: var(--font-body); font-weight: 600; font-size: 21px; line-height: 1.2; margin: 0 0 12px; color: var(--oxford-navy); }
.pcard .pmeta { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13.5px; color: var(--fg-2); margin-bottom: 18px; }
.pcard .pmeta span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.pcard .pmeta svg { width: 15px; height: 15px; color: var(--gold-deep); }
.pcard .pfoot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 15px; margin-top: auto; }
.pcard .price { font-family: var(--font-display); font-size: 23px; font-weight: 600; color: var(--oxford-navy); }
.pcard .price small { font-family: var(--font-body); font-size: 12px; color: var(--fg-3); font-weight: 500; }
.car-nav { display: flex; gap: 10px; margin-top: 26px; }
.car-btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid var(--border-strong); background: var(--warm-white);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  color: var(--oxford-navy); transition: all var(--dur);
}
.car-btn:hover { border-color: var(--oxford-navy); background: var(--oxford-navy); color: var(--ivory); }
.car-btn svg { width: 20px; height: 20px; }

/* ---------- photo gallery slider ---------- */
.gallery .track { gap: 22px; }
.gallery .gal-slide {
  flex: 0 0 min(460px, 80%); scroll-snap-align: start; margin: 0;
  aspect-ratio: 3 / 2; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--sand-100); border: 1px solid var(--border);
}
.bg-navy .gallery .gal-slide { border-color: var(--border-on-dark); background: rgba(246,239,226,.05); }
@media (max-width: 680px) { .gallery .gal-slide { flex-basis: 86%; } }

/* program-listing grid */
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

/* ---------- featured row ---------- */
.featured {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 0;
  border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg);
}
.featured .photo { min-height: 480px; }
.featured .f-body {
  background: var(--warm-white); padding: 56px 52px;
  display: flex; flex-direction: column; justify-content: center;
}
.featured h2 { margin: 14px 0 18px; }
.featured .f-list { list-style: none; padding: 0; margin: 22px 0 30px; display: grid; gap: 12px; }
.featured .f-list li { display: flex; align-items: center; gap: 11px; font-size: 15px; color: var(--fg-2); }
.featured .f-list svg { width: 19px; height: 19px; color: var(--gold-deep); flex: none; }

/* ---------- testimonials ---------- */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.tcard { background: var(--warm-white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px 28px; }
.bg-navy .tcard { background: rgba(246,239,226,.05); border-color: var(--border-on-dark); }
.tcard .qmark { font-family: var(--font-display); color: var(--gold); font-size: 54px; line-height: 0; height: 26px; display: block; }
.tcard .qt {
  font-family: var(--font-display); font-style: italic;
  font-size: 20px; line-height: 1.4; color: var(--oxford-navy); margin: 0;
}
.bg-navy .tcard .qt { color: var(--ivory); }
.tcard .who { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.tcard .av {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--sand-200); display: flex; align-items: center; justify-content: center;
  color: var(--warm-grey); flex: none;
}
.bg-navy .tcard .av { background: rgba(246,239,226,.1); color: var(--fg-on-dark-2); }
.tcard .av svg { width: 19px; height: 19px; }
.tcard .nm { font-size: 14px; font-weight: 600; color: var(--fg-1); }
.bg-navy .tcard .nm { color: var(--ivory); }
.tcard .rl { font-size: 12.5px; color: var(--fg-3); }

/* video testimonials — same 3-up grid, portrait clips */
.tgrid--video { align-items: start; }
.tgrid--video video-slot { aspect-ratio: 3 / 4; }
@media (max-width: 1000px) {
  .tgrid--video video-slot { aspect-ratio: 16 / 10; max-width: 520px; margin: 0 auto; }
}

/* ---------- school logos ---------- */
.logo-band { margin-top: 40px; }
.logo-band h4 {
  font-family: var(--font-body); font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--fg-3); text-align: center;
  font-weight: 600; margin: 0 0 26px;
}
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px; }
.school-logo {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  width: 170px; padding: 22px 14px; border: 1px solid var(--border);
  border-radius: var(--radius-lg); background: var(--warm-white);
  transition: all var(--dur) var(--ease-out); text-decoration: none;
}
.school-logo:hover { border-color: var(--gold-soft); box-shadow: var(--shadow); transform: translateY(-3px); }
.school-logo .crest {
  width: 76px; height: 76px; border-radius: 50%;
  border: 2px solid var(--oxford-navy); display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  color: var(--oxford-navy);
}
.school-logo .crest svg { width: 32px; height: 32px; }
.school-logo .sn { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--oxford-navy); text-align: center; line-height: 1.15; }
.school-logo .sl { font-size: 11px; color: var(--fg-3); }

/* ---------- speak to rep / CTA banner ---------- */
.rep { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-xl); overflow: hidden; background: var(--oxford-navy); color: var(--ivory); }
.rep .r-body { padding: 60px 56px; }
.rep h2 { color: var(--ivory); margin: 16px 0 16px; }
.rep p { color: var(--fg-on-dark-2); max-width: 42ch; }
.rep .r-photo { min-height: 380px; position: relative; }
.rep .r-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

/* ---------- faq ---------- */
.faq { max-width: 820px; margin: 48px auto 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 4px; cursor: pointer; font-family: var(--font-body);
  font-size: 18px; font-weight: 600; color: var(--oxford-navy);
}
.faq-q .ico {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center; flex: none;
  transition: all var(--dur);
}
.faq-q .ico svg { width: 18px; height: 18px; color: var(--oxford-navy); transition: transform var(--dur); }
.faq-item.open .faq-q .ico { background: var(--gold); border-color: var(--gold); }
.faq-item.open .faq-q .ico svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height var(--dur-lg) var(--ease-out); }
.faq-a-inner { padding: 0 4px 26px; font-size: 15.5px; color: var(--fg-2); max-width: 70ch; line-height: 1.65; }

/* ---------- footer ---------- */
.footer { background: var(--ink-navy); color: var(--fg-on-dark-2); padding: var(--space-9) 0 var(--space-6); }
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1.1fr 1.2fr 1.4fr; gap: 36px;
  padding-bottom: 48px; border-bottom: 1px solid var(--border-on-dark);
}
.f-brand { min-width: 0; }
.f-legal a { color: var(--fg-3); margin: 0 2px; }
.f-legal a:hover { color: var(--gold); }
.footer img.f-logo { height: 54px; margin-bottom: 20px; }
.footer p { font-size: 14px; line-height: 1.6; max-width: 32ch; }
.footer h5 {
  font-family: var(--font-body); font-size: 12px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ivory); margin: 0 0 18px; font-weight: 600;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer a { color: var(--fg-on-dark-2); text-decoration: none; font-size: 14px; transition: color var(--dur); }
.footer a:hover { color: var(--gold); }
.footer .socials { display: flex; gap: 12px; margin-top: 16px; }
.footer .soc {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--border-on-dark); display: flex; align-items: center; justify-content: center;
  color: var(--fg-on-dark-2); transition: all var(--dur);
}
.footer .soc:hover { border-color: var(--gold); color: var(--gold); }
.footer .soc svg { width: 17px; height: 17px; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  padding-top: 26px; font-size: 12.5px; color: var(--fg-3);
}
.footer-bottom a { color: var(--fg-3); }
.f-contact { display: grid; gap: 12px; }
.f-contact .row { display: flex; align-items: center; gap: 11px; font-size: 14px; }
.f-contact svg { width: 17px; height: 17px; color: var(--gold); flex: none; }

/* newsletter inside footer */
.newsletter { display: flex; gap: 8px; margin-top: 12px; max-width: 340px; }
.newsletter input[type="email"] {
  flex: 1; background: rgba(246,239,226,.08); border: 1px solid var(--border-on-dark);
  color: var(--ivory); border-radius: var(--radius-pill);
  padding: 11px 16px; font-family: var(--font-body); font-size: 14px;
}
.newsletter input[type="email"]::placeholder { color: var(--fg-on-dark-2); }
.newsletter input[type="email"]:focus { outline: none; border-color: var(--gold); }
.newsletter button {
  background: var(--gold); color: var(--ink-navy);
  border: none; border-radius: var(--radius-pill);
  padding: 11px 20px; font-weight: 600; font-size: 13.5px; cursor: pointer;
  transition: background var(--dur);
}
.newsletter button:hover { background: var(--gold-deep); }
.newsletter .ok { color: var(--gold); font-size: 13px; margin-top: 8px; }

/* ---------- WhatsApp floating widget ---------- */
.whatsapp {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.whatsapp-btn {
  width: 60px; height: 60px; border-radius: 50%;
  background: #25D366; color: #fff; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.4), 0 2px 6px rgba(0,0,0,.2);
  transition: transform var(--dur) var(--ease-out);
  position: relative;
}
.whatsapp-btn:hover { transform: scale(1.08); }
.whatsapp-btn svg { width: 30px; height: 30px; }
.whatsapp-btn::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366; animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: .8; }
  100% { transform: scale(1.55); opacity: 0; }
}
.whatsapp-tooltip {
  background: var(--warm-white); color: var(--oxford-navy);
  padding: 10px 16px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 600; box-shadow: var(--shadow);
  white-space: nowrap; pointer-events: none;
  opacity: 0; transform: translateX(8px); transition: all var(--dur);
}
.whatsapp:hover .whatsapp-tooltip { opacity: 1; transform: translateX(0); }

/* ---------- form fields ---------- */
.field-group { display: flex; flex-direction: column; }
.field-group.full { grid-column: 1 / -1; }
.field-group label { font-size: 12.5px; font-weight: 600; color: var(--fg-1); margin-bottom: 7px; }
.field {
  font-family: var(--font-body); font-size: 15px; color: var(--fg-1);
  background: var(--warm-white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 12px 14px; width: 100%;
}
.field:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(194,160,76,.16); }
textarea.field { min-height: 120px; resize: vertical; font-family: inherit; }
select.field {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2351607A' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }

/* ---------- modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(15,26,48,.55); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; animation: fadeIn .26s var(--ease-out) forwards;
}
@keyframes fadeIn { to { opacity: 1; } }
.modal {
  background: var(--cream); width: 100%; max-width: 620px;
  border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg);
  max-height: 92vh; overflow-y: auto;
  transform: translateY(14px); animation: rise .32s var(--ease-out) forwards;
}
@keyframes rise { to { transform: translateY(0); } }
.modal-head { background: var(--oxford-navy); color: var(--ivory); padding: 30px 36px; position: relative; }
.modal-head .eyebrow { color: var(--gold); }
.modal-head h3 { color: var(--ivory); margin: 12px 0 6px; font-size: 28px; font-family: var(--font-display); font-weight: 600; }
.modal-head p { color: var(--fg-on-dark-2); font-size: 14.5px; margin: 0; }
.modal-close {
  position: absolute; top: 22px; right: 22px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(246,239,226,.12); border: none; color: var(--ivory);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background var(--dur);
}
.modal-close:hover { background: rgba(246,239,226,.22); }
.modal-close svg { width: 18px; height: 18px; }
.modal-body { padding: 32px 36px 36px; }
.modal-success { padding: 60px 40px; text-align: center; }
.modal-success .ok {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(79,122,82,.12); color: var(--success);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
}
.modal-success .ok svg { width: 34px; height: 34px; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-lg) var(--ease-out), transform var(--dur-lg) var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- PAGE: about ---------- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.story-grid .photo { min-height: 460px; border-radius: var(--radius-xl); }
.milestones {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: 56px;
}
.milestone { padding: 26px 24px; background: var(--warm-white); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.milestone .yr { font-family: var(--font-display); font-size: 30px; color: var(--gold-deep); font-weight: 600; line-height: 1; }
.milestone h4 { margin: 12px 0 8px; font-size: 17px; }
.milestone p { font-size: 14px; color: var(--fg-2); margin: 0; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 56px; }
.team-card { background: var(--warm-white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--dur) var(--ease-out); }
.team-card:hover { box-shadow: var(--shadow-md); border-color: var(--gold-soft); transform: translateY(-4px); }
.team-card .photo { height: 240px; }
.team-card-body { padding: 22px 22px 26px; }
.team-card h4 { margin: 0 0 4px; font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--oxford-navy); }
.team-card .role { color: var(--gold-deep); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.team-card p { font-size: 14px; color: var(--fg-2); margin: 12px 0 0; }

/* ---------- PAGE: programs filter ---------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
  margin: 28px 0 36px; padding: 18px 22px;
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.filter-bar .lbl { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); margin-right: 10px; }
.filter-chip {
  border: 1px solid var(--border-strong); background: transparent;
  color: var(--oxford-navy); font-size: 13px; font-weight: 500;
  padding: 8px 16px; border-radius: var(--radius-pill); cursor: pointer;
  transition: all var(--dur);
}
.filter-chip:hover { border-color: var(--oxford-navy); }
.filter-chip.active { background: var(--oxford-navy); color: var(--ivory); border-color: var(--oxford-navy); }

/* ---------- PAGE: program detail ---------- */
.detail-grid { display: grid; grid-template-columns: 1.8fr 1fr; gap: 48px; align-items: start; }
.detail-grid > aside { align-self: stretch; }
.detail-photo {
  width: 100%; aspect-ratio: 16/10; border-radius: var(--radius-xl); margin-bottom: 36px;
}
.itinerary { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 18px; }
.itin {
  display: grid; grid-template-columns: 90px 1fr; gap: 22px;
  padding: 22px 0; border-bottom: 1px solid var(--border);
}
.itin .day {
  font-family: var(--font-display); font-size: 28px;
  font-weight: 600; color: var(--gold-deep); line-height: 1;
}
.itin .day small { display: block; font-family: var(--font-body); font-size: 11px; color: var(--fg-3); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 6px; }
.itin h4 { margin: 0 0 6px; font-size: 18px; }
.itin p { font-size: 14.5px; color: var(--fg-2); margin: 0; }

/* teacher-training itinerary: day column holds phase names, so it needs more room */
.tt-itin .itin { grid-template-columns: 184px 1fr; gap: 26px; }
.tt-itin .itin .day { line-height: 1.12; overflow-wrap: break-word; }
@media (max-width: 640px) {
  .tt-itin .itin { grid-template-columns: 1fr; gap: 8px; }
}

/* teacher-training apply aside: fills the space beside the long form */
.cta-aside-grid {
  margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.cta-aside-photo {
  min-height: 200px;
  border-radius: var(--radius-lg); position: relative; overflow: hidden;
}
@media (max-width: 1000px) {
  .cta-aside-grid { grid-template-columns: 1fr 1fr; }
}

.detail-card {
  position: sticky; top: 110px;
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px 30px; box-shadow: var(--shadow);
}
.detail-card .price-big { font-family: var(--font-display); font-size: 38px; font-weight: 600; color: var(--oxford-navy); line-height: 1; }
.detail-card .price-big small { font-family: var(--font-body); font-size: 13px; color: var(--fg-3); font-weight: 500; }
.detail-card .meta-list { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 14px; border-top: 1px solid var(--border); padding-top: 22px; }
.detail-card .meta-list li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--fg-2); }
.detail-card .meta-list svg { width: 17px; height: 17px; color: var(--gold-deep); flex: none; }
.detail-card .meta-list b { color: var(--fg-1); font-weight: 600; }

/* ---------- PAGE: schools ---------- */
.school-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 32px;
  transition: all var(--dur);
}
.school-card:hover { box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.school-card .photo { min-height: 320px; }
.school-card .sc-body { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; }
.school-card h3 { font-family: var(--font-display); font-size: 30px; font-weight: 600; margin: 12px 0 8px; color: var(--oxford-navy); }
.school-card .sc-loc { font-size: 13px; color: var(--gold-deep); letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.school-card .sc-facts {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin: 22px 0 26px; padding: 18px 0;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.school-card .fact .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; color: var(--fg-3); font-weight: 600; }
.school-card .fact .val { font-family: var(--font-display); font-size: 20px; font-weight: 600; color: var(--oxford-navy); margin-top: 4px; }
.school-card:nth-child(even) { grid-template-columns: 1fr 1fr; }
.school-card:nth-child(even) .photo { order: 2; }

/* ---------- PAGE: for parents / for schools — split callouts ---------- */
.callouts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.callout { padding: 32px 30px; background: var(--warm-white); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.callout .c-ico {
  width: 52px; height: 52px; border-radius: var(--radius);
  background: rgba(194,160,76,.16); color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.callout h4 { margin: 0 0 10px; font-size: 19px; }
.callout p { font-size: 14.5px; color: var(--fg-2); margin: 0; }
/* Image-led callout cards (programme pages): full-bleed media at the top,
   heading + text below — mirrors the home-page programme card style. */
.callout { overflow: hidden; transition: transform var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out), border-color var(--dur) var(--ease-out); }
.callout:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.callout .c-media {
  margin: -32px -30px 22px; height: 172px;
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #33476b, #15233F);
}
.callout .c-media image-slot { width: 100%; height: 100%; display: block; }
.callout:hover .c-media image-slot { transform: scale(1.03); transition: transform var(--dur-lg) var(--ease-out); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.split .photo { min-height: 440px; border-radius: var(--radius-xl); }
.split ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.split ul li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--fg-2); }
.split ul svg { width: 19px; height: 19px; color: var(--gold-deep); margin-top: 3px; flex: none; }

/* process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 56px; }
.step {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px 24px; position: relative;
}
.step .n {
  font-family: var(--font-display); font-size: 38px; color: var(--gold);
  line-height: 1; font-weight: 600;
}
.step h4 { margin: 14px 0 8px; font-size: 18px; }
.step p { margin: 0; font-size: 14px; color: var(--fg-2); }

/* ---------- PAGE: contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.contact-card {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); padding: 40px 44px; box-shadow: var(--shadow);
}
.contact-info { display: grid; gap: 30px; }
.info-block { display: grid; grid-template-columns: 44px 1fr; gap: 18px; align-items: start; }
.info-block .i-ico {
  width: 44px; height: 44px; border-radius: var(--radius);
  background: var(--ivory); color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center; border: 1px solid var(--border);
}
.info-block h5 { font-family: var(--font-body); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); margin: 0 0 6px; font-weight: 600; }
.info-block p { font-size: 15.5px; color: var(--fg-1); margin: 0 0 4px; }
.info-block a { color: var(--oxford-navy); }
.office-card {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px 26px;
}
.office-card h4 { font-family: var(--font-display); font-size: 22px; margin: 0 0 12px; color: var(--oxford-navy); font-weight: 600; }

/* ---------- PAGE: testimonials ---------- */
.story-card {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 32px;
  display: grid; grid-template-columns: 1fr 1.4fr; transition: all var(--dur);
}
.story-card:hover { border-color: var(--gold-soft); box-shadow: var(--shadow); }
.story-card .photo { min-height: 320px; }
.story-card .sc-content { padding: 44px 48px; display: flex; flex-direction: column; justify-content: center; }
.story-card blockquote {
  margin: 0 0 22px; font-family: var(--font-display); font-style: italic;
  font-size: 24px; line-height: 1.4; color: var(--oxford-navy); position: relative; padding-left: 22px;
  border-left: 3px solid var(--gold);
}
.story-card .meta { font-size: 14px; color: var(--fg-2); }
.story-card .meta b { color: var(--oxford-navy); display: block; font-size: 15px; }

/* ---------- video embeds (YouTube / Vimeo) ---------- */
.video-embed {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  border-radius: inherit; background: var(--oxford-navy);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.ve-poster {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px; text-align: center; padding: 20px;
  background: radial-gradient(120% 90% at 50% 32%, #1d3157 0%, var(--oxford-navy) 72%);
}
.ve-play { width: 60px; height: 60px; display: block; transition: transform var(--dur) var(--ease-out); }
.video-embed:hover .ve-play { transform: scale(1.06); }
.ve-cap {
  font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--fg-on-dark-2);
}
.tgrid--video .video-embed { aspect-ratio: 3 / 4; border-radius: var(--radius-lg); }
@media (max-width: 1000px) {
  .tgrid--video .video-embed { aspect-ratio: 16 / 10; max-width: 520px; margin: 0 auto; }
}

/* ---------- PAGE: brochure / resources ---------- */
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.resource {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px; transition: all var(--dur);
  display: flex; flex-direction: column;
}
.resource:hover { border-color: var(--gold-soft); box-shadow: var(--shadow); transform: translateY(-4px); }
.resource .r-ico { width: 56px; height: 56px; border-radius: var(--radius); background: var(--ivory); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--gold-deep); margin-bottom: 20px; }
.resource h4 { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin: 0 0 10px; color: var(--oxford-navy); }
.resource p { font-size: 14.5px; color: var(--fg-2); margin: 0 0 22px; flex: 1; }
.resource .r-meta { font-size: 12px; color: var(--fg-3); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; font-weight: 600; }

/* ---------- PAGE: legal / policy long-form ---------- */
.legal-doc { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: 110px; }
.legal-toc h5 { font-family: var(--font-body); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-3); margin: 0 0 14px; font-weight: 600; }
.legal-toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; border-left: 1px solid var(--border); padding-left: 14px; }
.legal-toc a { color: var(--fg-2); text-decoration: none; font-size: 13.5px; line-height: 1.45; transition: color var(--dur); display: block; }
.legal-toc a:hover { color: var(--oxford-navy); }
.legal-prose { max-width: 70ch; color: var(--fg-1); }
.legal-prose .updated { font-size: 13px; color: var(--fg-3); margin-bottom: 30px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.legal-prose .updated b { color: var(--fg-1); font-weight: 600; }
.legal-prose h2 { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--oxford-navy); margin: 48px 0 14px; line-height: 1.2; scroll-margin-top: 100px; }
.legal-prose h2:first-child { margin-top: 0; }
.legal-prose h3 { font-family: var(--font-body); font-size: 17px; font-weight: 600; color: var(--oxford-navy); margin: 30px 0 10px; }
.legal-prose p { font-size: 15.5px; line-height: 1.7; color: var(--fg-2); margin: 0 0 14px; }
.legal-prose ul, .legal-prose ol { padding-left: 22px; margin: 0 0 18px; }
.legal-prose ul li, .legal-prose ol li { font-size: 15.5px; line-height: 1.7; color: var(--fg-2); margin-bottom: 8px; }
.legal-prose ul li::marker { color: var(--gold-deep); }
.legal-prose a { color: var(--oxford-navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.legal-prose a:hover { color: var(--gold-deep); }
.legal-prose strong { color: var(--fg-1); font-weight: 600; }
.legal-callout {
  background: var(--ivory); border: 1px solid var(--gold-soft);
  border-radius: var(--radius-lg); padding: 22px 26px; margin: 24px 0;
  display: flex; gap: 16px; align-items: flex-start;
}
.legal-callout svg { width: 22px; height: 22px; color: var(--gold-deep); flex: none; margin-top: 2px; }
.legal-callout p { margin: 0; font-size: 14.5px; }
.legal-callout p strong { display: block; margin-bottom: 4px; }

/* ---------- PAGE: blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: all var(--dur) var(--ease-out);
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.blog-card .photo { height: 210px; }
.blog-card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.blog-card .b-meta { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-bottom: 12px; }
.blog-card h3 { font-family: var(--font-display); font-size: 23px; font-weight: 600; color: var(--oxford-navy); margin: 0 0 12px; line-height: 1.25; }
.blog-card p { font-size: 14.5px; color: var(--fg-2); margin: 0 0 20px; flex: 1; }
.blog-card .b-foot { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--fg-3); padding-top: 14px; border-top: 1px solid var(--border); }
.blog-feature {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 0;
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 56px;
  transition: all var(--dur);
}
.blog-feature:hover { box-shadow: var(--shadow-md); border-color: var(--gold-soft); }
.blog-feature .photo { min-height: 380px; }
.blog-feature .bf-body { padding: 56px 52px; display: flex; flex-direction: column; justify-content: center; }
.blog-feature h2 { font-family: var(--font-display); font-size: 32px; font-weight: 600; color: var(--oxford-navy); margin: 16px 0 16px; line-height: 1.2; }
.blog-feature p { color: var(--fg-2); font-size: 16px; margin: 0 0 24px; }
.article-body { max-width: 720px; margin: 0 auto; }
.article-body p, .article-body li { font-size: 17px; line-height: 1.75; color: var(--fg-1); }
.article-body p { margin: 0 0 22px; }
.article-body h2 { font-family: var(--font-display); font-size: 30px; font-weight: 600; color: var(--oxford-navy); margin: 44px 0 16px; }
.article-body h3 { font-size: 20px; margin: 36px 0 12px; }
.article-body img, .article-body .photo { border-radius: var(--radius-lg); margin: 28px 0; }
.article-body blockquote {
  border-left: 3px solid var(--gold); padding: 6px 24px;
  font-family: var(--font-display); font-style: italic; font-size: 22px; line-height: 1.5;
  color: var(--oxford-navy); margin: 30px 0;
}
.article-meta { display: flex; gap: 18px; flex-wrap: wrap; margin: 24px 0 40px; font-size: 14px; color: var(--fg-3); padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.article-meta b { color: var(--fg-1); font-weight: 600; }

/* ---------- PAGE: career ---------- */
.jobs-list { display: grid; gap: 16px; max-width: 880px; margin: 0 auto; }
.job-card {
  background: var(--warm-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px 30px;
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  transition: all var(--dur);
}
.job-card:hover { border-color: var(--gold-soft); box-shadow: var(--shadow); }
.job-card h4 { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--oxford-navy); margin: 0 0 8px; }
.job-card .j-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13.5px; color: var(--fg-2); }
.job-card .j-meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-card .j-meta svg { width: 14px; height: 14px; color: var(--gold-deep); }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.perk { background: var(--warm-white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 24px; }
.perk .p-ico { width: 44px; height: 44px; border-radius: var(--radius); background: rgba(194,160,76,.12); color: var(--gold-deep); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.perk h4 { margin: 0 0 8px; font-size: 17px; }
.perk p { margin: 0; font-size: 14px; color: var(--fg-2); }

/* ---------- PAGE: how we work — timeline ---------- */
.timeline { display: grid; gap: 0; margin-top: 48px; max-width: 920px; }
.t-row {
  display: grid; grid-template-columns: 96px 1fr; gap: 28px;
  padding: 32px 0; border-bottom: 1px solid var(--border);
}
.t-row:last-child { border-bottom: none; }
.t-num { font-family: var(--font-display); font-size: 56px; font-weight: 600; color: var(--gold); line-height: 1; }
.t-body h3 { font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--oxford-navy); margin: 0 0 10px; }
.t-body p { color: var(--fg-2); font-size: 15.5px; line-height: 1.7; margin: 0 0 12px; max-width: 60ch; }
.t-body ul { padding-left: 20px; margin: 14px 0 0; color: var(--fg-2); }
.t-body ul li { margin-bottom: 6px; font-size: 14.5px; }

/* ---------- PAGE: teacher training ---------- */
.tt-outcomes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.tt-outcome { background: var(--warm-white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px 28px; display: grid; grid-template-columns: 40px 1fr; gap: 18px; align-items: start; }
.tt-outcome .o-ico { width: 40px; height: 40px; border-radius: 50%; background: rgba(194,160,76,.16); color: var(--gold-deep); display: flex; align-items: center; justify-content: center; }
.tt-outcome h4 { margin: 0 0 6px; font-size: 17px; }
.tt-outcome p { margin: 0; font-size: 14.5px; color: var(--fg-2); }
.tt-cert {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  background: var(--oxford-navy); color: var(--ivory);
  border-radius: var(--radius-xl); overflow: hidden;
}
.tt-cert .c-body { padding: 56px 52px; }
.tt-cert h2 { color: var(--ivory); margin: 14px 0 14px; }
.tt-cert p { color: var(--fg-on-dark-2); max-width: 44ch; }
.tt-badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: rgba(194,160,76,.16); border: 1px solid var(--gold-soft);
  padding: 12px 18px; border-radius: var(--radius-pill); margin-top: 22px;
  font-size: 13.5px; color: var(--ivory);
}
.tt-badge .b-ico { width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--ink-navy); display: flex; align-items: center; justify-content: center; }
.tt-badge .b-ico svg { width: 16px; height: 16px; }
.tt-cert .c-photo { min-height: 380px; position: relative; }

/* ---------- check list (program outcomes / who-should-join) ---------- */
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.check-list li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; font-size: 15.5px; color: var(--fg-2); line-height: 1.55; }
.check-list li .ck { width: 28px; height: 28px; border-radius: 50%; background: rgba(194,160,76,.16); color: var(--gold-deep); display: flex; align-items: center; justify-content: center; flex: none; }
.check-list li .ck svg { width: 16px; height: 16px; }
.check-list li b { color: var(--fg-1); font-weight: 600; }

/* ---------- fees grid (program fees section) ---------- */
.fee-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; margin-top: 48px; align-items: stretch; }
.fee-card { background: rgba(246,239,226,.05); border: 1px solid var(--border-on-dark); border-radius: var(--radius-lg); padding: 36px 36px; }
.bg-cream .fee-card, .bg-ivory .fee-card { background: var(--warm-white); border-color: var(--border); }
.fee-card .fc-price { font-family: var(--font-display); font-size: 44px; font-weight: 600; color: var(--ivory); line-height: 1; }
.bg-cream .fee-card .fc-price, .bg-ivory .fee-card .fc-price { color: var(--oxford-navy); }
.fee-card .fc-price small { display: inline-block; font-family: var(--font-body); font-size: 13px; color: var(--fg-on-dark-2); font-weight: 500; margin-left: 6px; }
.bg-cream .fee-card .fc-price small, .bg-ivory .fee-card .fc-price small { color: var(--fg-3); }
.fee-card h4 { font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
.bg-cream .fee-card h4, .bg-ivory .fee-card h4 { color: var(--gold-deep); }
.fee-card ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; border-top: 1px solid var(--border-on-dark); padding-top: 22px; }
.bg-cream .fee-card ul, .bg-ivory .fee-card ul { border-top-color: var(--border); }
.fee-card ul li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: 14.5px; color: var(--fg-on-dark-2); line-height: 1.5; }
.bg-cream .fee-card ul li, .bg-ivory .fee-card ul li { color: var(--fg-2); }
.fee-card ul li svg { width: 18px; height: 18px; color: var(--gold); margin-top: 2px; }
.fee-card .fc-note { font-size: 13px; color: var(--fg-on-dark-2); margin: 20px 0 0; }
.bg-cream .fee-card .fc-note, .bg-ivory .fee-card .fc-note { color: var(--fg-3); }
.fee-card.fc-highlight { background: var(--gold); color: var(--ink-navy); border-color: var(--gold); }
.fee-card.fc-highlight .fc-price, .fee-card.fc-highlight h4, .fee-card.fc-highlight ul li, .fee-card.fc-highlight .fc-note { color: var(--ink-navy); }
.fee-card.fc-highlight ul { border-top-color: rgba(21,35,63,.15); }
.fee-card.fc-highlight ul li svg { color: var(--ink-navy); }

/* ---------- gallery grid (school pages) ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 48px; }
.gallery-grid .photo { border-radius: var(--radius-lg); min-height: 0; }
.gallery-grid .g-tall { grid-column: span 2; grid-row: span 2; height: 460px; }
.gallery-grid .g-wide { grid-column: span 2; height: 224px; }
.gallery-grid .g-sq { grid-column: span 2; height: 224px; }
@media (max-width: 1000px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-grid .g-tall, .gallery-grid .g-wide, .gallery-grid .g-sq { grid-column: span 2; grid-row: auto; height: 220px; }
  .fee-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid .g-tall, .gallery-grid .g-wide, .gallery-grid .g-sq { grid-column: span 1; height: 180px; }
}

/* ---------- school hero stats strip (on-dark) ---------- */
.school-hero-strip {
  margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border-on-dark);
  border-bottom: 1px solid var(--border-on-dark);
  padding: 24px 0;
}
.school-hero-strip .hs { padding: 4px 24px; position: relative; }
.school-hero-strip .hs + .hs::before { content: ""; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px; background: var(--border-on-dark); }
.school-hero-strip .hs-val { font-family: var(--font-display); font-size: 32px; font-weight: 600; color: var(--ivory); line-height: 1; }
.school-hero-strip .hs-lbl { font-size: 12.5px; color: var(--fg-on-dark-2); margin-top: 6px; letter-spacing: .04em; }
@media (max-width: 720px) { .school-hero-strip { grid-template-columns: 1fr 1fr; gap: 18px 0; } .school-hero-strip .hs:nth-child(3)::before { display: none; } }

/* ---------- mini enquiry form (school CTA section) ---------- */
.mini-enquiry { display: grid; gap: 14px; }
.mini-enquiry .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mini-enquiry label { display: block; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--fg-on-dark-2); margin-bottom: 6px; }
.mini-enquiry input, .mini-enquiry select, .mini-enquiry textarea {
  width: 100%; background: rgba(246,239,226,.05); border: 1px solid var(--border-on-dark);
  border-radius: var(--radius); padding: 12px 14px; color: var(--ivory);
  font-family: var(--font-body); font-size: 14.5px;
}

.mini-enquiry option {
    background: rgba(246, 239, 226, .05);
}

.mini-enquiry input::placeholder, .mini-enquiry textarea::placeholder { color: rgba(246,239,226,.4); }
.mini-enquiry input:focus, .mini-enquiry select:focus, .mini-enquiry textarea:focus { outline: none; border-color: var(--gold); }
.mini-enquiry textarea { min-height: 100px; resize: vertical; }
.mini-enquiry .ok { color: var(--gold); font-size: 14px; margin-top: 4px; }
@media (max-width: 720px) { .mini-enquiry .row { grid-template-columns: 1fr; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  /* 5 columns always fit inside the 1200px container, so we hold the full
     row until ~1080px (where the nav also condenses). Below that, the brand
     block sits full-width on top and the four link/contact columns form a
     tidy equal row — no stranded full-width cell. This keeps Windows displays
     running at 125%/150% scaling (≈1280 logical px) on the same clean layout
     as Mac, instead of tripping a premature breakpoint. */
  .footer-top { grid-template-columns: repeat(4, 1fr); }
  .footer-top > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 1100px) {
  .legal-doc { grid-template-columns: 1fr; gap: 30px; }
  .legal-toc { position: static; }
  .legal-toc ul { display: flex; flex-wrap: wrap; gap: 14px; border-left: none; padding-left: 0; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .blog-feature { grid-template-columns: 1fr; }
  .blog-feature .photo { min-height: 280px; }
  .blog-feature .bf-body { padding: 40px 32px; }
  .perks, .tt-outcomes { grid-template-columns: 1fr 1fr; }
  .tt-cert { grid-template-columns: 1fr; }
  .tt-cert .c-body { padding: 40px 32px; }
}
@media (max-width: 1000px) {
  .featured, .rep, .story-grid, .school-card, .split, .contact-grid, .detail-grid, .story-card { grid-template-columns: 1fr; }
  .featured .photo, .rep .r-photo, .school-card .photo, .split .photo, .story-card .photo, .story-grid .photo { min-height: 280px; }
  .school-card:nth-child(even) .photo { order: 0; }
  .split.reverse > :first-child { order: 0; }
  .values, .pgrid, .team-grid, .milestones, .callouts, .resource-grid, .steps { grid-template-columns: 1fr 1fr; gap: 22px; }
  .tgrid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > div { grid-column: auto !important; border-top: none !important; padding-top: 0 !important; }
  .stats { grid-template-columns: 1fr 1fr; gap: 30px 0; }
  .stat:nth-child(3)::before { display: none; }
  .featured .f-body, .rep .r-body, .school-card .sc-body, .story-card .sc-content { padding: 40px 32px; }
  .detail-card { position: static; }
  .page-hero { padding: 110px 0 60px; }
  /* Hide desktop nav links + dropdown CTA; show burger */
  .nav-links { display: none; }
  .nav-cta-brochure { display: none; }
  .nav-burger { display: block; }
  .nav-inner { height: 72px; }
  .blog-grid, .perks, .tt-outcomes { grid-template-columns: 1fr; }
  .job-card { grid-template-columns: 1fr; gap: 16px; }
  .t-row { grid-template-columns: 64px 1fr; gap: 18px; }
  .t-num { font-size: 40px; }
}
@media (max-width: 680px) {
  .wrap, .wrap-narrow { padding: 0 20px; }
  .values, .pgrid, .team-grid, .milestones, .callouts, .resource-grid, .steps, .footer-top, .fgrid, .contact-info { grid-template-columns: 1fr; }
  .hero-content { padding: 64px 0 4px; }
  .contact-card, .school-card .sc-body, .story-card .sc-content, .featured .f-body, .rep .r-body { padding: 32px 24px; }
  .section { padding: var(--space-8) 0; }
  .whatsapp { bottom: 16px; right: 16px; }
  .whatsapp-tooltip { display: none; }
  .nav-cta { gap: 6px; }
  .nav-cta .btn-gold { padding: 10px 16px; font-size: 13.5px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .f-legal { line-height: 2; }
}
