/* ==========================================================================
   APS International School — Homepage
   Design system: "Academic Prestige" — deep navy, bright cyan, warm gold.
   Type: Plus Jakarta Sans (headings) + Inter (body)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* brand */
  --navy-900: #001631;
  --navy-800: #062b52;
  --navy-700: #0e3a69;
  --navy-600: #17497f;
  --cyan: #13bfe8;
  --cyan-600: #0fa3c7;
  --gold: #f5c542;
  --gold-600: #d9a417;

  /* The two navies as bare channels, for scrims over photography that need a
     different alpha at every gradient stop. store.js overwrites both with the
     campus's brand colour, so the wash follows the theme instead of the
     hard-coded blue these fallbacks carry. */
  --navy-900-rgb: 0, 22, 49;
  --navy-800-rgb: 6, 43, 82;
  --cyan-rgb: 19, 191, 232;
  --gold-rgb: 245, 197, 66;

  /* neutrals */
  --surface: #f7f9fc;
  --surface-2: #eef2f8;
  --white: #ffffff;
  --ink: #172033;
  --muted: #5a6a80;
  --muted-2: #7d8ca1;
  --line: #e2e8f1;
  --line-strong: #d1d9e6;

  /* shape */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* elevation — navy-tinted, never generic black */
  --sh-xs: 0 2px 8px rgba(6, 43, 82, 0.05);
  --sh-sm: 0 6px 18px rgba(6, 43, 82, 0.06);
  --sh-md: 0 12px 34px rgba(6, 43, 82, 0.08);
  --sh-lg: 0 24px 60px rgba(6, 43, 82, 0.14);
  --sh-xl: 0 32px 80px rgba(6, 43, 82, 0.18);

  /* rhythm */
  --container: 1240px;
  --gutter: 24px;
  --section-y: 116px;
  --nav-h: 78px;
  --util-h: 40px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--navy-800); color: #fff; }

svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--navy-800);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

.section { padding: var(--section-y) 0; }

/* --------------------------------------------------------------------------
   4. Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  color: var(--navy-800);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.8rem, 5.4vw, 4.6rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.035em;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  font-weight: 700;
}

h3 { font-size: 1.3rem; font-weight: 700; }

h1 em, h2 em {
  font-style: normal;
  color: var(--gold);
}

.about h2 em,
.facilities h2 em,
.blogs h2 em,
.testimonials h2 em { color: var(--cyan-600); }

.eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-600);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  flex: none;
}
.eyebrow-light { color: var(--gold); }

.lead { font-size: 1.075rem; }

p { margin: 0 0 18px; color: var(--muted); }
p:last-child { margin-bottom: 0; }

.section-head {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  align-items: end;
  margin-bottom: 58px;
}
.section-sub {
  font-size: 1.05rem;
  margin: 0;
  padding-bottom: 6px;
}

/* --------------------------------------------------------------------------
   5. Buttons & links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: var(--r-pill);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  border: 1.5px solid transparent;
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease),
              background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-3px); }

/* Arrows stay put on hover — the sideways nudge was distracting. */
.icon-arrow {
  width: 17px;
  height: 17px;
  flex: none;
}

.btn-primary {
  background: var(--navy-800);
  color: #fff;
  box-shadow: 0 8px 20px rgba(6, 43, 82, 0.18);
}
.btn-primary:hover {
  background: var(--navy-700);
  box-shadow: 0 14px 30px rgba(6, 43, 82, 0.26);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy-900);
  box-shadow: 0 8px 22px rgba(245, 197, 66, 0.32);
}
.btn-gold:hover {
  background: #ffd45f;
  box-shadow: 0 16px 34px rgba(245, 197, 66, 0.4);
}

.btn-glass {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.btn-glass:hover { background: #fff; color: var(--navy-800); border-color: #fff; }

.btn-light { background: #fff; color: var(--navy-800); box-shadow: var(--sh-md); }
.btn-light:hover { box-shadow: var(--sh-lg); }

.btn-outline {
  border-color: var(--navy-800);
  color: var(--navy-800);
  background: transparent;
}
.btn-outline:hover { background: var(--navy-800); color: #fff; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy-800);
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.text-link .icon-arrow { color: var(--gold-600); }
.text-link:hover { color: var(--cyan-600); border-color: var(--cyan); }
.text-link.small { font-size: 0.85rem; }

/* --------------------------------------------------------------------------
   6. Header — utility strip + navbar
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: transform 0.4s var(--ease);
}

.utility-strip {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  height: var(--util-h);
  overflow: hidden;
  transition: height 0.35s var(--ease), opacity 0.25s ease;
}
.utility-inner {
  height: var(--util-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.utility-links { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.utility-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color 0.2s ease;
}
.utility-links a:hover { color: #fff; }
.utility-links svg { width: 14px; height: 14px; color: var(--cyan); }

.utility-icons { display: flex; align-items: center; gap: 8px; }
.utility-strip .utility-icon {
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 28px;
  min-width: 28px;
  padding: 0 6px;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 600;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.utility-strip .utility-icon:hover,
.utility-strip .utility-icon:focus-visible {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
}
.utility-strip .utility-icon svg { width: 14px; height: 14px; flex: none; color: var(--cyan); }
/* Grows to the left, so the icon stays under the pointer. */
.utility-icon-label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transition: max-width 0.35s var(--ease), margin 0.35s var(--ease), opacity 0.2s ease;
}
.utility-icon:hover .utility-icon-label,
.utility-icon:focus-visible .utility-icon-label {
  max-width: 260px;
  margin: 0 8px 0 4px;
  opacity: 1;
}

.navbar {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(6, 43, 82, 0.07);
  transition: height 0.35s var(--ease), box-shadow 0.35s ease, background-color 0.3s ease;
}
.navbar-inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  transition: height 0.35s var(--ease);
}

/* scrolled state */
.site-header.is-scrolled .utility-strip { height: 0; opacity: 0; }
.site-header.is-scrolled .navbar {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 30px rgba(6, 43, 82, 0.1);
}
.site-header.is-scrolled .navbar-inner { height: 64px; }
.site-header.is-scrolled .brand-mark { height: 40px; }

/* brand */
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
/* School crest — portrait shield, so size by height and let width follow. */
.brand-mark {
  display: block;
  height: 48px;
  flex: none;
  transition: height 0.35s var(--ease);
}
.brand-mark img { height: 100%; width: auto; }
.brand-text strong {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--navy-800);
  line-height: 1.15;
}
.brand-text small {
  display: block;
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* nav links */
.nav-panel { display: flex; align-items: center; gap: 24px; }
.nav-links { display: flex; align-items: center; gap: 17px; }

.nav-links > li { position: relative; }

.nav-links > li > a,
.nav-top {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.845rem;
  font-weight: 600;
  color: #46586f;
  padding: 6px 0;
  border: 0;
  background: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.nav-links > li > a::after,
.nav-top::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  border-radius: 2px;
  background: var(--cyan);
  transition: width 0.3s var(--ease);
}
.nav-links > li > a:hover,
.nav-top:hover,
.has-menu.is-open > .nav-top { color: var(--navy-800); }
.nav-links > li > a:hover::after,
.nav-top:hover::after,
.has-menu.is-open > .nav-top::after { width: 100%; }
.nav-links > li > a.is-active { color: var(--navy-800); }
.nav-links > li > a.is-active::after { width: 100%; background: var(--gold); }

.nav-caret {
  width: 11px;
  height: 11px;
  flex: none;
  color: var(--muted-2);
  transition: transform 0.3s var(--ease);
}
.has-menu.is-open .nav-caret { transform: rotate(180deg); }

/* dropdown panels */
.nav-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -14px;
  z-index: 60;
  min-width: 248px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: var(--sh-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.24s ease, transform 0.24s var(--ease), visibility 0.24s;
}
/* invisible bridge so the pointer can travel from trigger to panel */
.nav-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}
.has-menu.is-open > .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
/* Two 240px columns plus padding and the group rule — enough for the longest
   label ("Guidelines for Parents & Students") to stay on one line. */
.nav-menu-wide { min-width: 530px; }
/* Panels on the right-hand half of the row would run past the viewport edge
   if they opened leftward, so they hang off the trigger's right edge. */
.nav-menu-end { left: auto; right: -14px; }
.nav-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 14px;
  align-items: start; /* keep the group rule hugging its own items */
}

.nav-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  font-size: 0.845rem;
  font-weight: 500;
  color: #46586f;
  line-height: 1.35;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nav-menu a:hover { background: var(--surface-2); color: var(--navy-800); }

.nav-group { border-left: 2px solid rgba(245, 197, 66, 0.5); padding-left: 8px; }
/* A group head is a link when the group has its own landing page, otherwise a
   plain span label — both read the same. */
.nav-group-head a,
.nav-group-head > span {
  display: block;
  padding: 9px 12px;
  border-radius: var(--r-sm);
  line-height: 1.35;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.nav-group-head a:hover { background: rgba(245, 197, 66, 0.12); color: var(--gold-600); }

/* hamburger */
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  background: #fff;
  padding: 0;
  position: relative;
}
.menu-toggle span {
  position: absolute;
  left: 13px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy-800);
  transition: transform 0.3s var(--ease), opacity 0.2s ease, width 0.3s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 16px; }
.menu-toggle span:nth-child(2) { top: 22px; width: 14px; }
.menu-toggle span:nth-child(3) { top: 28px; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); width: 20px; }

/* --------------------------------------------------------------------------
   6b. Branch chip (campus switcher)
   -------------------------------------------------------------------------- */
.branch-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.76rem;
  font-weight: 600;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.2s ease;
}
.branch-chip svg { width: 13px; height: 13px; color: var(--gold); flex: none; }
.branch-chip .chip-caret { width: 12px; height: 12px; color: rgba(255, 255, 255, 0.55); }
.branch-chip:hover {
  background: rgba(245, 197, 66, 0.16);
  border-color: rgba(245, 197, 66, 0.5);
  color: #fff;
}
.branch-chip-mobile { display: none; }

/* --------------------------------------------------------------------------
   6c. Branch gate (first-visit campus chooser)
   -------------------------------------------------------------------------- */
.branch-gate {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 11, 26, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow-y: auto;
}
html.branch-pending .branch-gate,
.branch-gate.is-open { display: flex; }

/* Lock the page behind the gate. */
html.branch-pending body,
body.branch-locked { overflow: hidden; }

.branch-card {
  position: relative;
  width: min(640px, 100%);
  margin: auto;
  padding: 44px 44px 34px;
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: 0 40px 90px rgba(0, 11, 26, 0.45);
  text-align: center;
  animation: branchIn 0.5s var(--ease) both;
}
@keyframes branchIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

.branch-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.branch-close svg { width: 15px; height: 15px; }
.branch-close:hover { background: var(--surface-2); color: var(--navy-800); }
.branch-gate.can-dismiss .branch-close { display: grid; }

.branch-mark {
  display: block;
  height: 64px;
  margin: 0 auto 18px;
}
.branch-mark img { height: 100%; width: auto; margin: 0 auto; }

.branch-eyebrow { justify-content: center; margin-bottom: 12px; }
.branch-card h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); }
.branch-lead {
  max-width: 430px;
  margin: 14px auto 28px;
  font-size: 0.95rem;
}

.branch-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  text-align: left;
}
.branch-option {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 14px;
  text-align: left; /* buttons centre their text by default */
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.branch-option:hover {
  border-color: var(--cyan);
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}
.branch-thumb {
  width: 52px;
  height: 52px;
  flex: none;
  border-radius: 12px;
  overflow: hidden;
}
.branch-thumb img { width: 100%; height: 100%; object-fit: cover; }
.branch-meta { flex: 1; min-width: 0; }
.branch-meta strong {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
  color: var(--navy-800);
}
.branch-meta small {
  display: block;
  font-size: 0.74rem;
  color: var(--muted);
  line-height: 1.35;
}
.branch-option .icon-arrow { color: var(--gold-600); }

.branch-note {
  margin: 24px 0 0;
  font-size: 0.78rem;
  color: var(--muted-2);
}

/* --------------------------------------------------------------------------
   6d. Pop-ups — admission ad (left) beside an enquiry form (right)
   Opened by main.js once a campus is chosen. Sits under the campus gate, so
   the gate always wins if both are ever on screen.
   -------------------------------------------------------------------------- */
.aps-popup {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 190;
  padding: 24px;
  /* A plain dark overlay: blurring the whole page behind it stalls the
     frame the pop-up opens on and costs every frame it stays open. */
  background: rgba(0, 11, 26, 0.82);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.aps-popup.is-open { display: flex; }
body.popup-locked { overflow: hidden; }

.popup-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  width: min(1060px, 100%);
  margin: auto;
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: 0 40px 90px rgba(0, 11, 26, 0.45);
  overflow: hidden;
  animation: branchIn 0.5s var(--ease) both;
}
.popup-card:focus { outline: none; }
.popup-card--no-ad { grid-template-columns: minmax(0, 1fr); width: min(660px, 100%); }

.popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  box-shadow: var(--sh-sm);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.popup-close svg { width: 15px; height: 15px; }
.popup-close:hover { background: var(--surface-2); color: var(--navy-800); }

/* The ad. The image is laid over the panel, so the form alone sets the
   height and a tall poster never stretches the dialog. */
.popup-ad {
  position: relative;
  display: block;
  min-height: 460px;
  background: var(--navy-900);
  overflow: hidden;
}
.popup-ad img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.popup-ad--contain img { object-fit: contain; }
a.popup-ad img { transition: transform 0.9s var(--ease); }
a.popup-ad:hover img { transform: scale(1.03); }

.popup-ad.has-caption::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--navy-900-rgb), 0) 36%, rgba(var(--navy-900-rgb), 0.9) 100%);
}
.popup-ad-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 30px 32px 32px;
  color: #fff;
}
.popup-ad-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: var(--gold);
  color: var(--navy-900);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.popup-ad-heading {
  margin: 14px 0 0;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #fff;
}
.popup-ad-heading em { font-style: normal; color: var(--gold); }
.popup-ad-text {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* The form scrolls inside the dialog on laptops, leaving the ad in place. */
.popup-body {
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  padding: 34px 40px 28px;
}
.popup-head { padding-right: 40px; margin-bottom: 20px; }
.popup-head .eyebrow { margin-bottom: 10px; }
.popup-head h2 { font-size: clamp(1.45rem, 2.3vw, 1.85rem); }
.popup-lead {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.6;
}

/* A denser field rhythm than the full-page forms: ten fields have to fit. */
.popup-body .form-fields { gap: 12px 16px; }
.popup-body .field label { margin-bottom: 6px; font-size: 0.84rem; }
.popup-body .field input,
.popup-body .field select,
.popup-body .field textarea { padding: 10px 13px; font-size: 0.93rem; }
.popup-body .field select { padding-right: 48px; } /* keep text clear of the chevron */
.popup-body .field textarea { min-height: 64px; }
.popup-body .form-actions { flex-wrap: nowrap; margin-top: 18px; padding-top: 18px; }
.popup-body .form-actions .btn { flex: none; }
.popup-body .form-note { max-width: none; font-size: 0.78rem; line-height: 1.5; }
.popup-body .form-done { padding: 26px 24px; }
.popup-done-close { margin-top: 18px; }

@media (max-width: 760px) {
  .aps-popup { padding: 12px; }
  .popup-card { grid-template-columns: minmax(0, 1fr); }
  .popup-ad { min-height: 0; height: clamp(190px, 54vw, 280px); }
  .popup-ad-caption { padding: 18px 22px 20px; }
  .popup-ad-heading { margin-top: 10px; font-size: 1.45rem; }
  .popup-ad-text { font-size: 0.86rem; }
  .popup-body { max-height: none; overflow: visible; padding: 26px 20px 24px; }
  .popup-body .form-actions { flex-wrap: wrap; }
  .popup-head { padding-right: 0; }
  .popup-card--no-ad .popup-head { padding-right: 44px; }
}

/* --------------------------------------------------------------------------
   7. Marquee band
   -------------------------------------------------------------------------- */
.marquee {
  margin-top: calc(var(--util-h) + var(--nav-h));
  background: linear-gradient(90deg, var(--gold) 0%, #ffd76b 50%, var(--gold) 100%);
  color: var(--navy-900);
  overflow: hidden;
  padding: 11px 0;
  position: relative;
  z-index: 2;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  animation: marquee 42s linear infinite;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-track i { font-style: normal; color: rgba(6, 43, 82, 0.4); font-size: 0.6rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  padding: 96px 0 190px;
  overflow: hidden;
  background: var(--navy-900);
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: -2% -2%;
  background: url("../images/football.jpg")
              center 68% / cover no-repeat;
  transform: scale(1.06);
  animation: heroDrift 26s ease-in-out infinite alternate;
}
/* Hero slideshow: stacked photos, the active one fades in over the rest. */
.hero-slides { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.is-active { opacity: 1; }
@keyframes heroDrift {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to   { transform: scale(1.13) translate3d(-1.4%, -1.4%, 0); }
}

/* Left-weighted scrim: text stays legible, photography stays visible on the right. */
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(96deg,
      rgba(var(--navy-900-rgb), 0.93) 0%,
      rgba(var(--navy-900-rgb), 0.8) 34%,
      rgba(var(--navy-800-rgb), 0.44) 62%,
      rgba(var(--navy-800-rgb), 0.24) 100%),
    linear-gradient(to top, rgba(var(--navy-900-rgb), 0.72) 0%, transparent 40%);
}

.hero-inner { position: relative; z-index: 3; }

.hero-copy {
  max-width: 620px;
  margin: 26px 0 34px;
  color: rgba(226, 240, 250, 0.9);
  font-size: 1.14rem;
  line-height: 1.7;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* decorative floaters */
.deco { position: absolute; pointer-events: none; z-index: 2; }
.deco-ring {
  width: 380px;
  height: 380px;
  border: 1.5px solid rgba(var(--gold-rgb), 0.28);
  border-radius: 50%;
  right: -110px;
  top: 8%;
  animation: float 13s ease-in-out infinite;
}
.deco-ring::after {
  content: "";
  position: absolute;
  inset: 58px;
  border: 1.5px solid rgba(var(--cyan-rgb), 0.22);
  border-radius: 50%;
}
.deco-blob-a {
  width: 420px;
  height: 420px;
  right: 4%;
  bottom: -12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--cyan-rgb), 0.3), transparent 68%);
  filter: blur(24px);
  animation: float 17s ease-in-out infinite reverse;
}
.deco-blob-b {
  width: 300px;
  height: 300px;
  left: -6%;
  top: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--gold-rgb), 0.18), transparent 68%);
  filter: blur(30px);
  animation: float 21s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50%      { transform: translate3d(0, -30px, 0); }
}

/* stats */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  max-width: 820px;
  margin: 66px 0 0;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.stat { position: relative; padding-left: 18px; }
.stat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 22px;
  width: 3px;
  border-radius: 3px;
  background: var(--gold);
}
.stat dt {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.9rem, 2.6vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.stat dd {
  margin: 6px 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(191, 214, 225, 0.85);
}

/* --------------------------------------------------------------------------
   9. Quick action cards (overlap the hero)
   -------------------------------------------------------------------------- */
.quick-actions {
  position: relative;
  z-index: 10;
  margin-top: -118px;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.quick-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(6, 43, 82, 0.06);
  border-radius: var(--r-xl);
  padding: 30px 28px 34px;
  box-shadow: var(--sh-md);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  overflow: hidden;
}
.quick-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.quick-card:hover { transform: translateY(-9px); box-shadow: var(--sh-lg); }
.quick-card:hover::before { transform: scaleX(1); }

.quick-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 17px;
  margin-bottom: 20px;
  background: linear-gradient(140deg, var(--cyan), var(--cyan-600));
  color: #fff;
  box-shadow: 0 10px 22px rgba(19, 191, 232, 0.3);
  transition: transform 0.4s var(--ease);
}
.quick-icon svg { width: 26px; height: 26px; }
.quick-card:hover .quick-icon { transform: rotate(-6deg) scale(1.06); }

.quick-card h3 { font-size: 1.16rem; margin-bottom: 5px; }
.quick-card p { font-size: 0.86rem; margin: 0; color: var(--muted); }

.quick-arrow {
  position: absolute;
  right: 24px;
  bottom: 26px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--navy-800);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), background-color 0.25s ease;
}
.quick-arrow svg { width: 16px; height: 16px; }
.quick-card:hover .quick-arrow {
  opacity: 1;
  transform: none;
  background: var(--gold);
}

/* --------------------------------------------------------------------------
   10. About
   -------------------------------------------------------------------------- */
.about { padding-top: 104px; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.02fr;
  gap: 88px;
  align-items: center;
}

.about-visual { position: relative; aspect-ratio: 1 / 1.28; }
.photo {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.photo:hover img { transform: scale(1.06); }

/* Asymmetric collage: one tall frame, two stacked companions. */
.photo-main   { left: 0;  top: 0;      width: 58%; height: 100%; }
.photo-top    { right: 0; top: 4%;     width: 38%; height: 43%; }
.photo-bottom { right: 0; bottom: 4%;  width: 38%; height: 43%; }

/* Single photo (the insets are switched off in render.js): the frame fills the
   column at the photo's own shape. Doubled class beats the mobile ratio rule. */
.about-visual.about-visual--single { aspect-ratio: auto; }
.about-visual--single .photo-main { position: relative; width: 100%; height: auto; }
.about-visual--single .photo-main img { display: block; height: auto; }

.about-badge {
  position: absolute;
  left: 6%;
  bottom: 6%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 18px 22px;
  border-radius: var(--r-lg);
  background: var(--gold);
  color: var(--navy-900);
  box-shadow: 0 18px 40px rgba(217, 164, 23, 0.32);
  animation: float 8s ease-in-out infinite;
}
.about-badge strong {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}
.about-badge strong span { color: rgba(6, 43, 82, 0.55); }
.about-badge > span {
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.about-copy h2 { margin-bottom: 22px; }
.about-tagline {
  margin: -8px 0 20px;
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--cyan-600);
}

.values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 34px 0;
}
.values li {
  padding: 20px 20px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  transition: border-color 0.3s ease, transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.values li:hover {
  border-color: rgba(19, 191, 232, 0.45);
  transform: translateY(-4px);
  box-shadow: var(--sh-sm);
}
.value-no {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold-600);
}
.values strong {
  display: block;
  margin: 6px 0 4px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.98rem;
  color: var(--navy-800);
}
.values p { margin: 0; font-size: 0.83rem; line-height: 1.55; }

.principal-quote {
  position: relative;
  margin: 0 0 30px;
  padding: 28px 30px;
  border-radius: var(--r-lg);
  background: linear-gradient(140deg, var(--navy-800), var(--navy-900));
  color: #fff;
  box-shadow: var(--sh-md);
  overflow: hidden;
}
.principal-quote::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19, 191, 232, 0.3), transparent 70%);
}
.quote-glyph {
  width: 30px;
  height: 30px;
  fill: var(--gold);
  stroke: none;
  margin-bottom: 12px;
}
.principal-quote p {
  position: relative;
  z-index: 1;
  margin: 0 0 20px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.04rem;
  line-height: 1.55;
  color: rgba(233, 242, 250, 0.96);
}
.principal-quote footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 13px;
}
.principal-quote footer img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(245, 197, 66, 0.7);
}
.principal-quote footer strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
}
.principal-quote footer small {
  display: block;
  font-size: 0.76rem;
  color: rgba(174, 200, 224, 0.9);
}

/* --------------------------------------------------------------------------
   11. Facilities
   -------------------------------------------------------------------------- */
.facilities { background: var(--white); }

.facility-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.facility-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform 0.42s var(--ease), box-shadow 0.42s var(--ease), border-color 0.3s ease;
}
.facility-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--sh-lg);
  border-color: transparent;
}

.facility-media { position: relative; height: 226px; overflow: hidden; }
.facility-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s var(--ease);
}
.facility-card:hover .facility-media img { transform: scale(1.09); }
.facility-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(var(--navy-800-rgb), 0.42), transparent 55%);
}

.facility-body { position: relative; padding: 30px 28px 32px; }
.facility-icon {
  position: absolute;
  top: -27px;
  left: 28px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #fff;
  color: var(--gold-600);
  box-shadow: var(--sh-md);
  transition: background-color 0.35s ease, color 0.35s ease, transform 0.4s var(--ease);
}
.facility-icon svg { width: 25px; height: 25px; }
.facility-card:hover .facility-icon {
  background: var(--gold);
  color: var(--navy-900);
  transform: translateY(-4px);
}

.facility-body h3 { margin: 16px 0 9px; }
.facility-body p { font-size: 0.9rem; margin: 0; }

.facility-arrow {
  position: absolute;
  right: 26px;
  bottom: 30px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  opacity: 0;
  transform: translateY(10px) scale(0.85);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.facility-arrow svg { width: 17px; height: 17px; }
.facility-card:hover .facility-arrow { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   12. Gallery CTA
   -------------------------------------------------------------------------- */
.gallery-cta {
  position: relative;
  min-height: 660px;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.gallery-collage {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.25fr 0.85fr 0.9fr 1.1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
}
.g-tile { overflow: hidden; }
.g-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter 0.6s ease;
  filter: saturate(0.88);
}
.g1 { grid-row: span 2; }
.g4 { grid-row: span 2; }
.gallery-cta:hover .g-tile img { transform: scale(1.06); }
.g-tile:hover img { filter: saturate(1.15); }

/* Dark translucent overlay — heavy enough to carry white type, light
   enough that the collage underneath still reads as photography. */
.gallery-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 62% 55% at center,
      rgba(var(--navy-900-rgb), 0.9) 0%,
      rgba(var(--navy-900-rgb), 0.78) 48%,
      rgba(var(--navy-900-rgb), 0.58) 100%);
  pointer-events: none;
}

.gallery-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 780px;
  padding: 90px 0;
}
.gallery-content .eyebrow { justify-content: center; }
.gallery-content h2 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.5rem); }
.gallery-content h2 em { color: var(--gold); }
.gallery-content > p {
  max-width: 620px;
  margin: 24px auto 32px;
  color: rgba(216, 231, 238, 0.92);
  font-size: 1.06rem;
}

/* --------------------------------------------------------------------------
   13. Blogs
   -------------------------------------------------------------------------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: transform 0.42s var(--ease), box-shadow 0.42s var(--ease), border-color 0.3s ease;
}
.blog-card:hover {
  transform: translateY(-9px);
  box-shadow: var(--sh-lg);
  border-color: transparent;
}

.blog-media { position: relative; display: block; height: 218px; overflow: hidden; }
.blog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.85s var(--ease);
}
.blog-card:hover .blog-media img { transform: scale(1.08); }

.blog-date {
  position: absolute;
  left: 16px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--navy-800);
  box-shadow: var(--sh-xs);
}
.blog-date svg { width: 13px; height: 13px; color: var(--cyan-600); }

.blog-body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 28px; }
.blog-cat {
  align-self: flex-start;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  margin-bottom: 14px;
}
.cat-cyan { background: rgba(19, 191, 232, 0.12); color: var(--cyan-600); }
.cat-gold { background: rgba(245, 197, 66, 0.18); color: var(--gold-600); }
.cat-navy { background: rgba(6, 43, 82, 0.08); color: var(--navy-700); }

.blog-body h3 { font-size: 1.18rem; line-height: 1.32; margin-bottom: 11px; }
.blog-body h3 a { transition: color 0.2s ease; }
.blog-body h3 a:hover { color: var(--cyan-600); }
.blog-body p { font-size: 0.88rem; margin-bottom: 22px; }
.blog-body .text-link { margin-top: auto; align-self: flex-start; }

.blogs-foot { margin-top: 52px; margin-bottom: 16px; text-align: center; }

/* --------------------------------------------------------------------------
   14. Testimonials
   -------------------------------------------------------------------------- */
.testimonials { background: var(--white); }
.testimonials .section-head { align-items: center; }

.slider-controls { display: flex; gap: 10px; justify-content: flex-end; }
.slider-btn {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  background: #fff;
  color: var(--navy-800);
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s var(--ease);
}
.slider-btn svg { width: 19px; height: 19px; }
.slider-btn:hover:not(:disabled) {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
  transform: translateY(-2px);
}
.slider-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.slider-viewport { overflow: hidden; padding: 4px; margin: -4px; }
.slider-track {
  display: flex;
  gap: 26px;
  transition: transform 0.55s var(--ease);
}
.tcard {
  flex: 0 0 calc((100% - 52px) / 3);
  display: flex;
  flex-direction: column;
  padding: 36px 32px 32px;
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, #f2f7fd, #eaf3fa);
  border: 1px solid rgba(6, 43, 82, 0.06);
}
.tquote {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.6rem;
  line-height: 0.55;
  color: var(--gold);
  margin-bottom: 10px;
}
.tcard > p {
  flex: 1;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.06rem;
  line-height: 1.5;
  color: var(--navy-800);
  margin-bottom: 26px;
}
.tcard footer { display: flex; align-items: center; gap: 13px; }
.tcard footer img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  box-shadow: var(--sh-xs);
}
.tcard footer strong { display: block; font-size: 0.92rem; color: var(--navy-800); }
.tcard footer small { display: block; font-size: 0.78rem; color: var(--muted); }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 9px;
  margin-top: 38px;
}
.slider-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--line-strong);
  transition: width 0.35s var(--ease), background-color 0.3s ease;
}
.slider-dots button.is-active { width: 30px; background: var(--gold); }

/* --------------------------------------------------------------------------
   15. Final CTA
   -------------------------------------------------------------------------- */
.final-cta {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
  padding: 110px 0;
  overflow: hidden;
  isolation: isolate;
}
.final-media {
  position: absolute;
  inset: 0;
  background: url("../images/campus_banner.jpg")
              center / cover no-repeat;
  transform: scale(1.04);
}
/* Centred copy needs a centred pool of darkness, not a diagonal wash. */
.final-scrim {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 60% at center,
      rgba(var(--navy-900-rgb), 0.9) 0%,
      rgba(var(--navy-900-rgb), 0.8) 50%,
      rgba(var(--navy-900-rgb), 0.66) 100%),
    linear-gradient(120deg, rgba(var(--navy-800-rgb), 0.4), rgba(var(--navy-800-rgb), 0.3));
}
.final-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 880px;
}
.final-content .eyebrow { justify-content: center; }
.final-content h2 { color: #fff; font-size: clamp(2.2rem, 4.2vw, 3.6rem); }
.final-content > p {
  max-width: 620px;
  margin: 24px auto 34px;
  color: rgba(220, 234, 241, 0.92);
  font-size: 1.08rem;
}
.final-content .hero-actions { justify-content: center; }

/* --------------------------------------------------------------------------
   16. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(183, 203, 214, 0.88);
  padding-top: 88px;
  font-size: 0.885rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 0.85fr 0.95fr 1.25fr;
  gap: 56px;
  padding-bottom: 64px;
}
.brand-inverse .brand-text strong { color: #fff; }
.brand-inverse .brand-text small { color: rgba(255, 255, 255, 0.5); }

.footer-brand > p {
  margin: 22px 0 26px;
  max-width: 330px;
  color: rgba(183, 203, 214, 0.78);
  line-height: 1.7;
}

.socials { display: flex; gap: 11px; }
.socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s var(--ease);
}
.socials svg { width: 18px; height: 18px; }
.socials a:hover {
  background: var(--gold);
  color: var(--navy-900);
  border-color: var(--gold);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}
.footer-col > a {
  display: block;
  padding: 6px 0;
  color: rgba(183, 203, 214, 0.8);
  transition: color 0.2s ease, transform 0.25s var(--ease);
}
.footer-col > a:hover { color: var(--gold); transform: translateX(5px); }

.contact-row {
  display: flex;
  gap: 12px;
  margin: 0 0 16px;
  color: rgba(183, 203, 214, 0.8);
  line-height: 1.6;
}
.contact-row svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--cyan); }
.contact-row a { transition: color 0.2s ease; }
.contact-row a:hover { color: var(--gold); }

/* A campus may list two numbers; they stack under the one phone icon. */
.contact-tels { display: flex; flex-direction: column; gap: 2px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.8rem;
  color: rgba(183, 203, 214, 0.6);
}
.footer-bottom p { margin: 0; color: inherit; }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a:hover { color: var(--gold); }

/* --------------------------------------------------------------------------
   17. Back to top
   -------------------------------------------------------------------------- */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  box-shadow: var(--sh-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease), visibility 0.3s, background-color 0.25s ease;
}
.to-top svg { width: 19px; height: 19px; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--gold); color: var(--navy-900); }

/* --------------------------------------------------------------------------
   18. Scroll reveal
   -------------------------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: 0.1s; }
.js .reveal[data-delay="2"] { transition-delay: 0.2s; }
.js .reveal[data-delay="3"] { transition-delay: 0.3s; }
.js .reveal[data-delay="4"] { transition-delay: 0.4s; }

/* --------------------------------------------------------------------------
   19. Responsive — tablet
   -------------------------------------------------------------------------- */
/* Brand (213px) plus nine top-level items (824px) plus the 24px gap need a
   ~1110px viewport, so the row fits down to about 1160px with slack for
   fallback-font metrics. Collapse to the toggle below that.
   Keep this in sync with COLLAPSED in assets/js/main.js. */
@media (max-width: 1160px) {
  .menu-toggle { display: block; }

  .nav-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 24px;
    left: auto;
    width: min(360px, calc(100vw - 48px));
    max-height: calc(100vh - var(--nav-h) - 36px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    border-radius: var(--r-lg);
    background: #fff;
    box-shadow: var(--sh-xl);
    border: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.28s ease, transform 0.28s var(--ease), visibility 0.28s;
  }
  .nav-panel.is-open { opacity: 1; visibility: visible; transform: none; }

  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links > li > a,
  .nav-top {
    width: 100%;
    justify-content: space-between;
    padding: 11px 10px;
    font-size: 0.92rem;
    border-radius: var(--r-sm);
  }
  .nav-links > li > a::after,
  .nav-top::after { display: none; }
  .nav-links > li > a:hover,
  .nav-links > li > a.is-active,
  .nav-top:hover,
  .has-menu.is-open > .nav-top { background: var(--surface-2); }

  /* Dropdowns become in-flow accordions — no hover to rely on. */
  .nav-menu {
    display: none;
    position: static;
    min-width: 0;
    padding: 2px 0 6px 10px;
    margin: 0 0 4px 10px;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    background: none;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }
  .nav-menu::before { display: none; }
  .has-menu.is-open > .nav-menu { display: block; }
  .nav-menu-wide { min-width: 0; }
  .nav-cols { grid-template-columns: 1fr; gap: 0; }
  .nav-menu a { padding: 9px 10px; font-size: 0.86rem; }
  .nav-group-head > span { padding: 9px 10px; }
  .nav-group { border-left: 0; padding-left: 0; margin-top: 2px; }
}

@media (max-width: 1100px) {
  :root { --section-y: 92px; }

  .about-grid { gap: 56px; }
  .facility-grid, .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tcard { flex: 0 0 calc((100% - 26px) / 2); }
  .footer-top { grid-template-columns: 1.4fr 1fr; gap: 44px 40px; }
}

@media (max-width: 980px) {
  :root { --nav-h: 72px; }

  .hero { min-height: 0; padding: 76px 0 170px; }
  .hero-media { background-position: 62% 30%; }
  .deco-ring { display: none; }

  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .about-grid { grid-template-columns: 1fr; gap: 64px; }
  .about-visual { max-width: 620px; }

  .section-head { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .testimonials .section-head { grid-template-columns: 1fr; }
  .slider-controls { justify-content: flex-start; }

}

/* --------------------------------------------------------------------------
   20. Responsive — mobile
   -------------------------------------------------------------------------- */
@media (max-width: 680px) {
  :root { --section-y: 72px; --gutter: 16px; }

  .container { width: min(100% - 32px, var(--container)); }

  .utility-strip { display: none; }
  .marquee { margin-top: var(--nav-h); }
  .nav-panel { right: 16px; left: 16px; width: auto; }

  /* Utility strip is gone here, so the campus switcher moves into the menu. */
  .branch-chip-mobile {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
    padding: 12px 14px;
    font-size: 0.85rem;
    border-color: var(--line-strong);
    background: var(--surface-2);
    color: var(--navy-800);
  }
  .branch-chip-mobile .chip-caret { color: var(--muted); }
  .branch-chip-mobile:hover {
    background: rgba(245, 197, 66, 0.18);
    border-color: var(--gold);
    color: var(--navy-900);
  }

  .branch-card { padding: 34px 22px 26px; }
  .branch-options { grid-template-columns: 1fr; }

  h1 { font-size: clamp(2.3rem, 9.5vw, 3rem); }
  .hero { padding: 60px 0 150px; }
  .hero-copy { font-size: 1rem; margin: 20px 0 28px; }
  .hero-actions .btn { width: 100%; }

  .stat-strip {
    grid-template-columns: 1fr 1fr;
    gap: 22px 16px;
    margin-top: 46px;
    padding-top: 24px;
  }

  .quick-actions { margin-top: -96px; }
  .quick-grid { grid-template-columns: 1fr; gap: 14px; }
  .quick-card { padding: 24px 24px 26px; }
  .quick-icon { width: 48px; height: 48px; border-radius: 15px; margin-bottom: 16px; }
  .quick-arrow { opacity: 1; transform: none; top: 26px; bottom: auto; }

  .about-visual { aspect-ratio: 1 / 1.12; }
  .about-badge { padding: 13px 16px; left: 5%; bottom: 4%; }
  .about-badge strong { font-size: 1.7rem; }
  .values { grid-template-columns: 1fr; }

  .facility-grid, .blog-grid { grid-template-columns: 1fr; }
  /* No hover on touch — drop the arrow into flow so it never covers the copy. */
  .facility-arrow {
    position: static;
    opacity: 1;
    transform: none;
    margin-top: 20px;
  }

  /* Four tiles in a 2x2 — the row count must match what stays visible,
     or the collage leaves a bare row behind the copy. */
  .gallery-collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }
  .g1, .g4 { grid-row: span 1; }
  .g5, .g6 { display: none; }
  .gallery-cta { min-height: 560px; }
  .gallery-content { padding: 72px 0; }
  .gallery-content .btn { width: 100%; }

  .tcard { flex: 0 0 100%; padding: 30px 26px; }
  .tcard > p { font-size: 0.98rem; }

  .final-cta { padding: 82px 0; min-height: 0; }
  .final-content .hero-actions .btn { width: 100%; }

  .footer-top { grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-legal { flex-wrap: wrap; gap: 16px; }

  .to-top { right: 16px; bottom: 16px; }
}

/* ==========================================================================
   INNER PAGES
   Shared furniture for every page that is not the homepage: page hero,
   breadcrumb, statement panels, data tables, feature splits, CTA band.
   ========================================================================== */

/* --------------------------------------------------------------------------
   IP-1. Page hero
   Inner pages carry no marquee, so the hero itself clears the fixed header.
   Keep the offsets in sync with .marquee above.
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  margin-top: calc(var(--util-h) + var(--nav-h));
  padding: 88px 0 82px;
  background: var(--navy-900);
  overflow: hidden;
  isolation: isolate;
}
.page-hero-media {
  position: absolute;
  inset: -2%;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}
.page-hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg,
      rgba(var(--navy-900-rgb), 0.94) 0%,
      rgba(var(--navy-900-rgb), 0.86) 40%,
      rgba(var(--navy-800-rgb), 0.6) 100%),
    linear-gradient(to top, rgba(var(--navy-900-rgb), 0.6), transparent 55%);
}
.page-hero-inner { position: relative; z-index: 3; max-width: 780px; }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
.page-hero .eyebrow { margin-bottom: 14px; }

.page-lead {
  margin: 22px 0 0;
  max-width: 640px;
  color: rgba(226, 240, 250, 0.88);
  font-size: 1.08rem;
  line-height: 1.7;
}

/* breadcrumb */
.breadcrumb { margin: 0 0 22px; }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  color: rgba(191, 214, 225, 0.7);
}
.breadcrumb a { transition: color 0.2s ease; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb li + li::before {
  content: "›";
  margin-right: 8px;
  color: rgba(191, 214, 225, 0.45);
}
.breadcrumb [aria-current="page"] { color: #fff; font-weight: 600; }

/* hero fact strip — lighter cousin of the homepage stat strip */
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 0;
  position: relative;
  z-index: 3;
}
.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(226, 240, 250, 0.92);
  font-size: 0.82rem;
  font-weight: 600;
}
.hero-facts svg { width: 15px; height: 15px; flex: none; color: var(--gold); }

/* --------------------------------------------------------------------------
   IP-2. Nav active states for inner pages
   -------------------------------------------------------------------------- */
.nav-top.is-active { color: var(--navy-800); }
.nav-top.is-active::after { width: 100%; background: var(--gold); }
.nav-menu a.is-active {
  background: rgba(19, 191, 232, 0.1);
  color: var(--navy-800);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   IP-3. Section head — centred variant
   -------------------------------------------------------------------------- */
.section-head-center {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  gap: 18px;
}
.section-head-center .eyebrow { justify-content: center; }
.section-head-center .section-sub { padding-bottom: 0; }

.section-alt { background: var(--white); }
.section-tint { background: linear-gradient(180deg, var(--surface-2), var(--surface)); }

/* --------------------------------------------------------------------------
   IP-4. Statement panels (vision / mission)
   -------------------------------------------------------------------------- */
.panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 26px;
}
.panel {
  position: relative;
  padding: 40px 38px 38px;
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s ease;
}
.panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--gold));
}
.panel:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: transparent;
}
.panel-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  margin-bottom: 22px;
  background: linear-gradient(140deg, var(--cyan), var(--cyan-600));
  color: #fff;
  box-shadow: 0 12px 26px rgba(19, 191, 232, 0.28);
}
.panel-icon svg { width: 27px; height: 27px; }
.panel-gold .panel-icon {
  background: linear-gradient(140deg, var(--gold), var(--gold-600));
  color: var(--navy-900);
  box-shadow: 0 12px 26px rgba(245, 197, 66, 0.32);
}
.panel h2, .panel h3 { font-size: 1.55rem; margin-bottom: 14px; }
.panel-statement {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--navy-800);
  margin-bottom: 20px;
}

/* check list used inside panels and splits */
.check-list { display: grid; gap: 12px; margin: 0; }
.check-list li {
  display: flex;
  gap: 12px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}
.check-list li strong { color: var(--navy-800); font-weight: 600; }
.check-list svg {
  width: 20px;
  height: 20px;
  flex: none;
  margin-top: 2px;
  color: var(--cyan-600);
}

/* --------------------------------------------------------------------------
   IP-5. Numbered value tiles
   -------------------------------------------------------------------------- */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.tile {
  position: relative;
  padding: 30px 28px 28px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.3s ease;
}
.tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-md);
  border-color: rgba(19, 191, 232, 0.4);
}
.tile-no {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--gold-600);
  margin-bottom: 12px;
}
.tile h3 { font-size: 1.08rem; margin-bottom: 8px; }
.tile p { font-size: 0.89rem; margin: 0; line-height: 1.6; }

.tile-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  margin-bottom: 18px;
  background: rgba(19, 191, 232, 0.1);
  color: var(--cyan-600);
  transition: background-color 0.3s ease, color 0.3s ease;
}
.tile-icon svg { width: 23px; height: 23px; }
.tile:hover .tile-icon { background: var(--gold); color: var(--navy-900); }

/* --------------------------------------------------------------------------
   IP-6. Feature split (image beside copy, alternating)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split + .split { margin-top: 96px; }
.split-flip .split-media { order: 2; }

.split-media {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-lg);
  aspect-ratio: 4 / 3;
}
.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}
.split-media:hover img { transform: scale(1.05); }

.split-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--navy-800);
  box-shadow: var(--sh-sm);
}
.split-badge svg { width: 15px; height: 15px; color: var(--cyan-600); }

.split-copy h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 16px; }
.split-copy > p { margin-bottom: 22px; }

/* --------------------------------------------------------------------------
   IP-7. Data tables (timings, holidays, schedules)
   -------------------------------------------------------------------------- */
.table-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-sm);
  overflow: hidden;
}
.table-card + .table-card { margin-top: 26px; }

.table-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 22px 28px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(19, 191, 232, 0.07), rgba(245, 197, 66, 0.07));
}
.table-head h3 { font-size: 1.12rem; }
.table-head p { margin: 4px 0 0; font-size: 0.85rem; }

/* Tables stay readable on narrow screens by scrolling inside their own card. */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.data-table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.data-table thead th {
  text-align: left;
  padding: 14px 28px;
  background: var(--surface-2);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--navy-800);
  white-space: nowrap;
}
/* Row headers are content, not column labels — they read as ordinary cells. */
.data-table td,
.data-table tbody th {
  padding: 15px 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 400;
  text-align: left;
  vertical-align: middle;
}
.data-table tbody tr { transition: background-color 0.2s ease; }
.data-table tbody tr:hover { background: rgba(19, 191, 232, 0.045); }
.data-table .cell-key { color: var(--navy-800); font-weight: 600; }
.data-table .cell-time {
  font-variant-numeric: tabular-nums;
  color: var(--navy-800);
  font-weight: 600;
  white-space: nowrap;
}
.data-table .row-group td {
  background: var(--surface);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-600);
  padding: 12px 28px;
}
/* De-emphasised rows: weekly holidays, dates inside a vacation, working days. */
.data-table .row-past td,
.data-table .row-past th { color: var(--muted-2); }

/* status / category tags */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tag-cyan  { background: rgba(19, 191, 232, 0.12); color: var(--cyan-600); }
.tag-gold  { background: rgba(245, 197, 66, 0.2);  color: var(--gold-600); }
.tag-navy  { background: rgba(6, 43, 82, 0.08);    color: var(--navy-700); }
.tag-grey  { background: rgba(90, 106, 128, 0.11); color: var(--muted); }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0 0 30px;
  align-items: center;
}
.legend li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   IP-8. Callout note
   -------------------------------------------------------------------------- */
.note {
  display: flex;
  gap: 16px;
  padding: 24px 26px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  box-shadow: var(--sh-xs);
}
.note svg { width: 22px; height: 22px; flex: none; margin-top: 2px; color: var(--gold-600); }
.note h4 { font-size: 1rem; margin-bottom: 6px; }
.note p { margin: 0; font-size: 0.9rem; }
.note-cyan { border-left-color: var(--cyan); }
.note-cyan svg { color: var(--cyan-600); }

/* --------------------------------------------------------------------------
   IP-9. Stat band (light background)
   -------------------------------------------------------------------------- */
.stat-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 22px;
  margin: 0;
  padding: 34px 38px;
  border-radius: var(--r-xl);
  background: linear-gradient(140deg, var(--navy-800), var(--navy-900));
  box-shadow: var(--sh-lg);
}
.stat-band .stat::before { top: 2px; bottom: 20px; }
.stat-band dt {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.stat-band dd {
  margin: 6px 0 0;
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(191, 214, 225, 0.85);
}

/* --------------------------------------------------------------------------
   IP-10. Compact CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  padding: 74px 0;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  overflow: hidden;
  isolation: isolate;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -6%;
  top: -60%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19, 191, 232, 0.28), transparent 68%);
  filter: blur(20px);
  z-index: -1;
}
.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.cta-inner h2 { color: #fff; font-size: clamp(1.7rem, 2.8vw, 2.35rem); }
.cta-inner p {
  margin: 12px 0 0;
  max-width: 520px;
  color: rgba(216, 231, 238, 0.9);
  font-size: 1rem;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* --------------------------------------------------------------------------
   IP-11. Forms (enquiry, feedback)
   The form card sits beside an aside carrying the campus's own contact
   details, so a visitor who would rather phone never has to hunt for it.
   -------------------------------------------------------------------------- */
.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}
.form-grid-single { grid-template-columns: minmax(0, 1fr); max-width: 820px; }

.form-card {
  padding: 40px 38px;
  border-radius: var(--r-xl);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
}

.form-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 22px;
}
.field-full { grid-column: 1 / -1; }

.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--navy-800);
  font-weight: 600;
  font-size: 0.88rem;
}
.field-req { color: var(--gold-600); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.5;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.field textarea { resize: vertical; min-height: 120px; }

/* Selects. The native arrow varies wildly between platforms, so the control
   sits in a .select-wrap that draws its own chevron chip (::before is the
   chip, ::after the masked chevron, so both can change colour). */
.select-wrap {
  position: relative;
  display: block;
}
.select-wrap::before,
.select-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 10px;
  width: 28px;
  height: 28px;
  margin-top: -14px;
  pointer-events: none;
}
.select-wrap::before {
  border-radius: 8px;
  background-color: var(--surface-2);
  transition: background-color 0.2s ease;
}
.select-wrap::after {
  background-color: var(--muted);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 16px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: background-color 0.2s ease, transform 0.25s var(--ease);
}
.select-wrap:hover::before { background-color: var(--line); }
.select-wrap:hover::after { background-color: var(--navy-800); }
.select-wrap:focus-within::before { background-color: rgba(19, 191, 232, 0.14); }
.select-wrap:focus-within::after { background-color: var(--cyan-600); }
/* While the picker is open, focus sits on an option, so :focus / :focus-within
   stop matching — keep the control looking active. Separate rules, so
   browsers without :open drop only these. */
.select-wrap:has(select:open)::before { background-color: rgba(19, 191, 232, 0.14); }
.select-wrap:has(select:open)::after { background-color: var(--cyan-600); transform: rotate(180deg); }

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 48px;
  font-weight: 500;
  text-overflow: ellipsis;
  cursor: pointer;
}
/* Until something is chosen, the control reads like a placeholder. */
.field select:has(option[value=""]:checked) { color: var(--muted-2); font-weight: 400; }
/* Options would otherwise inherit that muted colour. */
.field select option { color: var(--ink); font-weight: 400; }

/* Customisable-select browsers (Chromium 135+) also get a picker that
   matches the form instead of the OS list. Others keep the native one. */
@supports (appearance: base-select) {
  .field select,
  .field select::picker(select) { appearance: base-select; }

  .field select::picker-icon { display: none; } /* .select-wrap draws it */

  .field select::picker(select) {
    margin-block: 6px;
    padding: 6px;
    max-block-size: min(19rem, 55vh);
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--sh-lg);
    scrollbar-width: thin;
    scrollbar-color: var(--line-strong) transparent;
    opacity: 0;
    transition: opacity 0.15s ease, overlay 0.15s allow-discrete, display 0.15s allow-discrete;
  }
  .field select::picker(select):popover-open { opacity: 1; }
  @starting-style {
    .field select::picker(select):popover-open { opacity: 0; }
  }

  .field select option {
    gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    font-size: 0.93rem;
    line-height: 1.4;
    cursor: pointer;
    transition: background-color 0.12s ease;
  }
  .field select option:hover,
  .field select option:focus-visible {
    outline: none;
    background-color: var(--surface-2);
  }
  .field select option:checked {
    background-color: rgba(19, 191, 232, 0.1);
    color: var(--navy-800);
    font-weight: 600;
  }
  .field select option:checked:hover,
  .field select option:checked:focus-visible { background-color: rgba(19, 191, 232, 0.17); }
  .field select option::checkmark {
    order: 1;
    margin-left: auto;
    color: var(--cyan-600);
  }

  /* The "Please choose…" row: muted, and not offered at all when required. */
  .field select option[value=""] { color: var(--muted-2); font-weight: 400; }
  .field select:required option[value=""] { display: none; }
}

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: var(--muted-2); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(19, 191, 232, 0.16);
}
.field select:open {
  background-color: #fff;
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(19, 191, 232, 0.16);
}
.field ::placeholder { color: var(--muted-2); }

.field-check label {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 0;
  color: var(--muted);
  font-weight: 400;
  font-size: 0.9rem;
  line-height: 1.6;
  cursor: pointer;
}
.field-check input {
  width: 19px;
  height: 19px;
  flex: none;
  margin-top: 2px;
  accent-color: var(--cyan-600);
  cursor: pointer;
}

.field-help {
  margin: 7px 0 0;
  color: var(--muted-2);
  font-size: 0.8rem;
}
.field-error {
  margin: 0;
  color: #c0392b;
  font-size: 0.8rem;
  font-weight: 500;
}
.field-error:empty { display: none; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: #c0392b;
  background: rgba(192, 57, 43, 0.04);
}
.field.has-error .select-wrap::before { background-color: rgba(192, 57, 43, 0.1); }
.field.has-error .select-wrap::after { background-color: #c0392b; }
.field-error { margin-top: 7px; }

.form-error-summary {
  margin: 22px 0 0;
  color: #c0392b;
  font-size: 0.88rem;
  font-weight: 500;
}
.form-error-summary:empty { display: none; }

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.form-note {
  margin: 0;
  max-width: 380px;
  color: var(--muted-2);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* Confirmation, swapped in once the message has been handed off.
   `display` here would otherwise beat the UA sheet's [hidden] rule. */
.form-done[hidden] { display: none; }
.form-done {
  display: flex;
  gap: 16px;
  padding: 34px 32px;
  border-radius: var(--r-lg);
  background: linear-gradient(120deg, rgba(19, 191, 232, 0.09), rgba(19, 191, 232, 0.03));
  border: 1px solid rgba(19, 191, 232, 0.28);
}
.form-done svg { width: 26px; height: 26px; flex: none; margin-top: 2px; color: var(--cyan-600); }
.form-done h3 { margin: 0 0 8px; color: var(--navy-800); font-size: 1.18rem; }
.form-done p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.form-aside {
  padding: 36px 32px;
  border-radius: var(--r-xl);
  background: linear-gradient(150deg, var(--navy-800), var(--navy-900));
  color: rgba(216, 231, 238, 0.9);
  box-shadow: var(--sh-md);
}
.form-aside h3 { margin: 0 0 14px; color: #fff; font-size: 1.22rem; }
.form-aside p { margin: 0 0 14px; font-size: 0.94rem; line-height: 1.7; }
.form-aside .check-list { margin-bottom: 24px; }
.form-aside .check-list li { color: rgba(216, 231, 238, 0.9); font-size: 0.9rem; }
.form-aside .check-list li strong { color: #fff; }
.form-aside .check-list svg { color: var(--cyan); }

.form-contact {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  list-style: none;
}
.form-contact li {
  display: flex;
  gap: 12px;
  font-size: 0.9rem;
  line-height: 1.6;
}
.form-contact svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--cyan); }
.form-contact a { transition: color 0.2s ease; }
.form-contact a:hover { color: var(--gold); }

/* --------------------------------------------------------------------------
   IP-12. Inner-page responsive
   -------------------------------------------------------------------------- */
@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-flip .split-media { order: 0; }
  .split + .split { margin-top: 64px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }

  .form-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 680px) {
  .page-hero { margin-top: var(--nav-h); padding: 58px 0 56px; }
  .page-lead { font-size: 1rem; }
  .hero-facts li { font-size: 0.78rem; padding: 8px 13px; }

  .panel { padding: 30px 24px 28px; }
  .panel h2, .panel h3 { font-size: 1.3rem; }
  .panel-statement { font-size: 1.02rem; }

  .table-head { padding: 20px 20px; }
  .data-table thead th { padding: 12px 20px; }
  .data-table td,
  .data-table tbody th { padding: 13px 20px; }
  .data-table .row-group td { padding: 11px 20px; }

  .stat-band { padding: 28px 24px; gap: 20px; }
  .cta-band { padding: 58px 0; }
  .cta-actions .btn { width: 100%; }
  .note { padding: 20px; }

  .form-card { padding: 28px 22px; }
  .form-fields { grid-template-columns: minmax(0, 1fr); }
  .form-actions .btn { width: 100%; justify-content: center; }
  .form-aside { padding: 28px 24px; }
  .form-done { padding: 26px 22px; }
}

/* --------------------------------------------------------------------------
   21. Motion preferences & print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js .reveal { opacity: 1; transform: none; }
  .hero-media { animation: none; transform: scale(1.02); }
  .marquee-track { animation: none; }
}

@media print {
  .site-header, .marquee, .to-top, .slider-controls, .slider-dots { display: none; }
  body { background: #fff; }
  .js .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   16. Rendered-from-content support
   The page shells hand assets/js/render.js a set of slots to fill. These few
   rules cover the slot wrappers and the cases the hand-written markup used to
   solve with inline styles.
   -------------------------------------------------------------------------- */

/* Slots must not exist as far as layout is concerned — the fixed header, grid
   children and the footer all need to sit directly in the body flow. */
.aps-slot { display: contents; }

/* The header is fixed, so exactly one element under it carries the offset.
   With an announcement bar that is the bar; without one it is the first
   section of the page, whatever type it happens to be. */
body.has-marquee .page-hero { margin-top: 0; }
body:not(.has-marquee) #main > :first-child {
  margin-top: calc(var(--util-h) + var(--nav-h));
}

/* Consecutive sections sharing a band colour read as ONE band: the join loses
   its double padding and keeps the inner rhythm the old markup had. */
.section.has-continuation { padding-bottom: 0; }
.section.is-continued { padding-top: 34px; }

/* Generic text section (the "Text section" block type in the dashboard). */
.rich-copy { max-width: 780px; }
.rich-copy p { margin: 0 0 18px; }
.rich-copy p:last-child { margin-bottom: 0; }
.rich-copy--two { max-width: none; columns: 2; column-gap: 54px; }
@media (max-width: 860px) { .rich-copy--two { columns: 1; } }

.rich-list { display: grid; gap: 10px; margin: 0 0 18px; }
.rich-list li { position: relative; padding-left: 22px; color: var(--muted); }
.rich-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
}

/* The campus-unavailable notice uses a button styled as an inline link. */
.note button.text-link {
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  padding: 0;
  cursor: pointer;
}

/* A dashboard preview is a live page — badge it so nobody mistakes an unsaved
   draft for what visitors can see. */
.aps-preview body::after {
  content: "Preview — unpublished draft";
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  padding: 8px 18px;
  border-radius: var(--r-pill);
  background: var(--gold);
  color: var(--navy-900);
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: var(--sh-md);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   22. Photo gallery (masonry grid + lightbox)
   -------------------------------------------------------------------------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 36px;
}
.gallery-filter {
  padding: 10px 22px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line-strong);
  background: #fff;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease);
}
.gallery-filter:hover { border-color: var(--navy-800); color: var(--navy-800); }
.gallery-filter.is-active {
  background: var(--navy-800);
  border-color: var(--navy-800);
  color: #fff;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: 16px;
}
.photo-item {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--surface-2);
  cursor: pointer;
  box-shadow: var(--sh-xs);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.photo-item.is-wide { grid-column: span 2; }
.photo-item.is-tall { grid-row: span 2; }
.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.5s ease;
}
.photo-item:hover { box-shadow: var(--sh-lg); transform: translateY(-4px); }
.photo-item:hover img { transform: scale(1.08); filter: saturate(1.1); }
.photo-item[hidden] { display: none; }

.photo-item-zoom {
  position: absolute;
  inset: auto 12px 12px auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(var(--navy-900-rgb), 0.55);
  backdrop-filter: blur(2px);
  color: var(--gold);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.photo-item-zoom svg { width: 17px; height: 17px; }
.photo-item:hover .photo-item-zoom,
.photo-item:focus-visible .photo-item-zoom { opacity: 1; transform: none; }

.gallery-empty {
  padding: 48px 0;
  text-align: center;
  color: var(--muted);
}

/* Lightbox */
.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: rgba(var(--navy-900-rgb), 0.92);
  padding: 24px;
}
.photo-lightbox[hidden] { display: none; }
body.gallery-locked { overflow: hidden; }

.lightbox-figure {
  position: relative;
  margin: 0;
  max-width: min(1100px, 92vw);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: 78vh;
  width: auto;
  border-radius: var(--r-md);
  box-shadow: var(--sh-xl);
  object-fit: contain;
}
.lightbox-figure figcaption {
  margin-top: 14px;
  color: #fff;
  opacity: 0.85;
  font-size: 0.92rem;
  text-align: center;
}

.lightbox-close,
.lightbox-nav {
  position: fixed;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color 0.3s ease, transform 0.3s var(--ease);
}
.lightbox-close:hover,
.lightbox-nav:hover { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }

.lightbox-close { top: 22px; right: 22px; width: 46px; height: 46px; }
.lightbox-close svg { width: 19px; height: 19px; }
.lightbox-nav { top: 50%; width: 52px; height: 52px; transform: translateY(-50%); }
.lightbox-nav:hover { transform: translateY(-50%) scale(1.06); }
.lightbox-nav svg { width: 21px; height: 21px; }
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }

@media (max-width: 860px) {
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; }
  .photo-item.is-wide { grid-column: span 2; }
  .lightbox-nav { width: 42px; height: 42px; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-close { top: 12px; right: 12px; }
}

/* ==========================================================================
   SITE — classic layer
   Every page carries `body.site-classic` (and loads Fraunces). Rules that only
   suit the homepage stay under `.site-classic`. This layer warms the neutrals to ivory, sets display
   type in a serif, and swaps the cyan accents on cards for navy and gold.
   Colours stay on the brand variables, so a campus theme still flows through.
   ========================================================================== */
.site-classic {
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --ivory: #fbf8f1;
  --ivory-2: #f5efe2;
  --hairline: #e9e1d0;
  background: var(--ivory);
}
.site-classic main {
  --surface: var(--ivory);
  --surface-2: var(--ivory-2);
  --line: var(--hairline);
}

/* ---- Type ---------------------------------------------------------------- */
.site-classic main h1,
.site-classic main h2,
.site-classic main h3 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.site-classic main h1 { font-weight: 600; line-height: 1.06; letter-spacing: -0.022em; }
.site-classic main h2 { line-height: 1.12; }
.site-classic main h3 { letter-spacing: -0.005em; }

.site-classic main h1 em,
.site-classic main h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
}
/* On ivory and white the bright gold washes out — use the deeper one. */
.site-classic .about h2 em,
.site-classic .facilities h2 em,
.site-classic .blogs h2 em,
.site-classic .testimonials h2 em { color: var(--gold-600); }

.site-classic main .eyebrow {
  color: var(--navy-700);
  letter-spacing: 0.22em;
  font-weight: 600;
  gap: 14px;
}
.site-classic main .eyebrow::before { width: 34px; height: 1px; }
.site-classic main .eyebrow-light { color: var(--gold); }

/* Centred bands: a rule on both sides of the eyebrow. */
.site-classic .gallery-content .eyebrow::after,
.site-classic .final-content .eyebrow::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
  flex: none;
}

.site-classic main .section-sub { font-size: 1.06rem; line-height: 1.75; }

/* ---- Hero ---------------------------------------------------------------- */
.site-classic .hero-scrim {
  background:
    linear-gradient(96deg,
      rgba(var(--navy-900-rgb), 0.92) 0%,
      rgba(var(--navy-900-rgb), 0.76) 36%,
      rgba(var(--navy-800-rgb), 0.36) 66%,
      rgba(var(--navy-800-rgb), 0.16) 100%),
    linear-gradient(to top, rgba(var(--navy-900-rgb), 0.7) 0%, transparent 42%);
}
/* The glows read as tech, not school — keep only the fine ring. */
.site-classic .hero .deco-blob-a,
.site-classic .hero .deco-blob-b { display: none; }
.site-classic .hero .deco-ring { border-width: 1px; border-color: rgba(var(--gold-rgb), 0.34); }
.site-classic .hero .deco-ring::after { border-width: 1px; border-color: rgba(var(--gold-rgb), 0.18); }

.site-classic .hero-copy { color: rgba(240, 244, 248, 0.92); }

.site-classic .stat-strip { border-top-color: rgba(var(--gold-rgb), 0.38); }
.site-classic .stat { padding-left: 0; }
.site-classic .stat::before { display: none; }
.site-classic .stat + .stat { padding-left: 22px; border-left: 1px solid rgba(255, 255, 255, 0.16); }
.site-classic .stat dt {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--gold);
}
.site-classic .stat dd { color: rgba(226, 234, 242, 0.88); letter-spacing: 0.14em; }

/* ---- Quick links --------------------------------------------------------- */
.site-classic .quick-card {
  border-radius: var(--r-lg);
  border-color: var(--hairline);
  box-shadow: 0 14px 38px rgba(var(--navy-800-rgb), 0.09);
}
.site-classic .quick-card::before {
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--gold);
  transform-origin: center;
}
.site-classic .quick-icon {
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold);
  box-shadow: 0 0 0 5px rgba(var(--gold-rgb), 0.16);
}
.site-classic .quick-card:hover .quick-icon { transform: scale(1.06); }

/* ---- About --------------------------------------------------------------- */
/* A gold keyline set off behind the photograph, like a mounted print. */
.site-classic .about-visual--single::before {
  content: "";
  position: absolute;
  inset: 22px -22px -22px 22px;
  border: 1px solid var(--gold);
  border-radius: var(--r-lg);
  pointer-events: none;
}
.site-classic .about .photo { border-radius: var(--r-lg); }
.site-classic .about-badge { border-radius: var(--r-md); }
.site-classic .about-badge strong { font-family: var(--serif); font-weight: 600; }
.site-classic .about-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--gold-600);
}
.site-classic .about-copy .lead { color: var(--ink); font-size: 1.1rem; line-height: 1.75; }

/* ---- Cards --------------------------------------------------------------- */
.site-classic .facility-card,
.site-classic .blog-card { border-radius: var(--r-lg); }
.site-classic .facility-card:hover,
.site-classic .blog-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--gold-rgb), 0.7);
}
.site-classic .facility-icon {
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold);
  box-shadow: 0 0 0 5px #fff, var(--sh-sm);
}
.site-classic .facility-body h3 { font-size: 1.38rem; }
.site-classic .blog-body h3 { font-size: 1.28rem; line-height: 1.28; }
.site-classic .blog-body h3 a:hover { color: var(--gold-600); }
.site-classic main .text-link:hover { color: var(--navy-700); border-color: var(--gold); }
.site-classic .cat-cyan { background: rgba(var(--navy-800-rgb), 0.07); color: var(--navy-700); }

/* ---- Testimonials -------------------------------------------------------- */
.site-classic .tcard {
  background: var(--ivory);
  border-color: var(--hairline);
  border-radius: var(--r-lg);
}
.site-classic .tquote { font-family: var(--serif); }
/* Upright, not italic: these quotes run to a full paragraph. */
.site-classic .tcard > p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.08rem;
  line-height: 1.65;
}
.site-classic .tcard footer {
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
}
.site-classic .tcard footer img { border-color: var(--gold); }

/* ---- Photo bands --------------------------------------------------------- */
/* A hairline frame inset from the edge, as on a printed invitation. */
.site-classic .final-cta::after {
  content: "";
  position: absolute;
  inset: 22px;
  z-index: 2;
  border: 1px solid rgba(var(--gold-rgb), 0.38);
  border-radius: var(--r-sm);
  pointer-events: none;
}

@media (max-width: 680px) {
  .site-classic .stat + .stat { padding-left: 0; border-left: 0; }
  .site-classic .about-visual--single::before { inset: 12px -8px -12px 12px; }
  .site-classic .about-tagline { font-size: 1.15rem; }
  .site-classic .final-cta::after { inset: 12px; }
  .site-classic .tcard > p { font-size: 1.05rem; }
}

/* ==========================================================================
   HOME — polish pass
   Quiet chrome: no glow shadows, no looping motion, hovers that change colour
   instead of lifting, spacing on a 4px grid, radii by size. The photographs
   are the only rich thing on the page; the gold keyline is the one flourish.
   ========================================================================== */

/* ---- Controls ------------------------------------------------------------ */
.site-classic .btn {
  padding: 16px 28px;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: none;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease,
              transform 0.12s ease;
}
.site-classic .btn:hover { transform: none; box-shadow: none; }
.site-classic .btn:active { transform: scale(0.98); }
.site-classic .btn-light { border-color: var(--hairline); }

/* ---- Hero: let the photograph show --------------------------------------- */
.site-classic .hero-media { inset: 0; transform: none; animation: none; }
.site-classic .hero .deco-ring { display: none; }
.site-classic .hero-scrim {
  background:
    linear-gradient(96deg,
      rgba(var(--navy-900-rgb), 0.9) 0%,
      rgba(var(--navy-900-rgb), 0.74) 36%,
      rgba(var(--navy-900-rgb), 0.16) 66%,
      rgba(var(--navy-900-rgb), 0) 100%),
    linear-gradient(to top, rgba(var(--navy-900-rgb), 0.66) 0%, transparent 38%);
}
.site-classic .hero h1 { max-width: 12ch; }
.site-classic .hero-copy { max-width: 540px; margin: 24px 0 32px; }
.site-classic .hero-actions { gap: 12px; }
.site-classic .stat-strip { gap: 24px; max-width: 760px; margin-top: 64px; padding-top: 32px; }
.site-classic .stat + .stat { padding-left: 24px; }
.site-classic .stat dt { font-variant-numeric: tabular-nums; }
.site-classic .stat dd {
  margin-top: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

/* ---- Quick links --------------------------------------------------------- */
.site-classic .quick-grid { gap: 24px; }
.site-classic .quick-card {
  padding: 28px 28px 32px;
  border-radius: var(--r-md);
  box-shadow: 0 8px 24px rgba(var(--navy-900-rgb), 0.08);
  transition: border-color 0.18s ease;
}
.site-classic .quick-card:hover {
  transform: none;
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(var(--navy-900-rgb), 0.08);
}
.site-classic .quick-card::before { display: none; }
.site-classic .quick-icon { box-shadow: none; transition: none; }
.site-classic .quick-card:hover .quick-icon { transform: none; }
.site-classic .quick-card h3 { margin-bottom: 4px; }
.site-classic .quick-arrow {
  right: 24px;
  bottom: 28px;
  width: 32px;
  height: 32px;
  transform: none;
  transition: opacity 0.18s ease;
}

/* ---- About --------------------------------------------------------------- */
.site-classic .about .photo { border-radius: var(--r-md); box-shadow: none; }
.site-classic .photo img,
.site-classic .photo:hover img { transform: none; transition: none; }
.site-classic .about-visual--single::before {
  inset: 20px -20px -20px 20px;
  border-radius: var(--r-md);
}
.site-classic .about-badge {
  gap: 12px;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(var(--navy-900-rgb), 0.16);
  animation: none;
}
.site-classic .about-badge > span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.site-classic .about-copy h2 { margin-bottom: 24px; }

/* ---- Section heads ------------------------------------------------------- */
.site-classic main .section-head { margin-bottom: 56px; }
.site-classic main .eyebrow { gap: 12px; }
.site-classic main .eyebrow::before,
.site-classic .gallery-content .eyebrow::after,
.site-classic .final-content .eyebrow::after { width: 32px; }

/* ---- Facility & blog cards ----------------------------------------------- */
.site-classic .facility-grid,
.site-classic .blog-grid { gap: 24px; }

.site-classic .facility-card,
.site-classic .blog-card {
  border-radius: var(--r-md);
  transition: border-color 0.18s ease;
}
.site-classic .facility-card:hover,
.site-classic .blog-card:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--gold);
}
.site-classic .facility-media img,
.site-classic .blog-media img,
.site-classic .facility-card:hover .facility-media img,
.site-classic .blog-card:hover .blog-media img,
.site-classic .g-tile img,
.site-classic .gallery-cta:hover .g-tile img { transform: none; transition: none; }

.site-classic .facility-card { display: flex; flex-direction: column; }
.site-classic .facility-media { height: 224px; flex: none; }
.site-classic .facility-body { flex: 1; padding: 32px 28px; }
.site-classic .facility-icon {
  top: -28px;
  width: 56px;
  height: 56px;
  box-shadow: 0 0 0 4px #fff;
  transition: none;
}
.site-classic .facility-icon svg { width: 24px; height: 24px; }
.site-classic .facility-card:hover .facility-icon {
  background: var(--navy-800);
  color: var(--gold);
  transform: none;
}
.site-classic .facility-body h3 { margin: 16px 0 8px; }
.site-classic .facility-arrow {
  right: 28px;
  bottom: 32px;
  width: 36px;
  height: 36px;
  transform: none;
  transition: opacity 0.18s ease;
}
.site-classic .facility-arrow svg { width: 16px; height: 16px; }

/* One lead facility, five companions — a row of six equal cards reads as a
   template. Only where the grid is three wide; two-up stays an even 3 x 2. */
@media (min-width: 1101px) {
  .page-home .facility-card:first-child { grid-column: span 2; grid-row: span 2; }
  .page-home .facility-card:first-child .facility-media { flex: 1; height: auto; min-height: 420px; }
  .page-home .facility-card:first-child .facility-body { flex: none; padding: 40px 40px 36px; }
  .page-home .facility-card:first-child .facility-icon { left: 40px; }
  .page-home .facility-card:first-child h3 { font-size: 1.9rem; }
  .page-home .facility-card:first-child p { font-size: 1.02rem; max-width: 46ch; }
  .page-home .facility-card:first-child .facility-arrow { right: 40px; bottom: 36px; }
}

.site-classic .blog-media { height: 216px; }
.site-classic .blog-date {
  left: 16px;
  top: 16px;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 6px;
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-size: 0.75rem;
  font-weight: 500;
  box-shadow: none;
}
.site-classic .blog-date svg { width: 12px; height: 12px; color: var(--gold-600); }
.site-classic .blog-body { padding: 28px; }
.site-classic .blog-cat {
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.site-classic .cat-gold { background: rgba(var(--gold-rgb), 0.2); color: #7a5a06; }
.site-classic .blog-body h3 { margin-bottom: 12px; }
.site-classic .blog-body p { margin-bottom: 24px; }
.site-classic .blogs-foot { margin-top: 48px; }

/* ---- Testimonials -------------------------------------------------------- */
.site-classic .slider-track { gap: 24px; }
.site-classic .tcard {
  flex-basis: calc((100% - 48px) / 3);
  padding: 36px 32px 32px;
  border-radius: var(--r-md);
}
.site-classic .tquote { margin-bottom: 12px; }
.site-classic .tcard > p { margin-bottom: 28px; }
.site-classic .tcard footer { gap: 12px; }
.site-classic .tcard footer img { box-shadow: none; }
.site-classic .slider-btn { width: 48px; height: 48px; border-width: 1px; }
.site-classic .slider-btn svg { width: 18px; height: 18px; }
.site-classic .slider-btn:hover:not(:disabled) { transform: none; }
.site-classic .slider-dots { gap: 8px; margin-top: 40px; }
.site-classic .slider-dots button { width: 8px; height: 8px; transition: background-color 0.18s ease; }
.site-classic .slider-dots button.is-active { width: 28px; }

/* ---- Photo bands --------------------------------------------------------- */
.site-classic .gallery-collage { gap: 4px; }
.site-classic .g-tile img,
.site-classic .g-tile:hover img { filter: none; }
.site-classic .gallery-content > p { margin: 24px auto 32px; }
.site-classic .final-media { transform: none; }
.site-classic .final-content > p { margin: 24px auto 32px; }
.site-classic .final-cta::after { inset: 20px; }

/* ---- Footer & back-to-top: gold, not cyan -------------------------------- */
.site-classic .contact-row svg { color: var(--gold); }
.site-classic .to-top { box-shadow: 0 4px 12px rgba(var(--navy-900-rgb), 0.2); }

/* ---- Scroll reveal: one short fade and rise ------------------------------ */
.js .site-classic .reveal {
  transform: translateY(12px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
.js .site-classic .reveal.is-visible { transform: none; }

@media (min-width: 981px) {
  .site-classic .hero { padding: 96px 0 192px; }
  .site-classic .quick-actions { margin-top: -120px; }
}
@media (max-width: 1100px) {
  .site-classic .tcard { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 680px) {
  .site-classic .hero h1 { max-width: none; }
  .site-classic .hero-copy { margin: 20px 0 28px; }
  .site-classic .stat-strip { gap: 24px 16px; margin-top: 48px; padding-top: 24px; }
  .site-classic .stat + .stat { padding-left: 0; }
  .site-classic .quick-grid { gap: 16px; }
  .site-classic .quick-card { padding: 24px; }
  .site-classic .quick-arrow { top: 28px; bottom: auto; }
  .site-classic .about-visual--single::before { inset: 12px -8px -12px 12px; }
  .site-classic .facility-arrow { margin-top: 20px; }
  .site-classic .tcard { flex-basis: 100%; padding: 28px 24px; }
  .site-classic .final-cta::after { inset: 12px; }
}

/* ==========================================================================
   HOME — stats, collage and motion
   Motion here is small and happens once: things settle into place as they
   arrive, and respond on hover by a few pixels. Nothing loops. The global
   prefers-reduced-motion rule above still switches all of it off.
   ========================================================================== */
.site-classic { --ease-out: cubic-bezier(0.22, 1, 0.36, 1); }

/* ---- Hero stats: a plain row of figures ---------------------------------- */
/* No rule above and no dividers — the figures sit in one compact row, set in
   the sans so the numerals are even and line up. */
.site-classic .stat-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 56px;
  max-width: none;
  margin-top: 56px;
  padding-top: 0;
  border-top: 0;
}
.site-classic .stat,
.site-classic .stat + .stat { padding-left: 0; border-left: 0; }
.site-classic .stat dt {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #fff;
  font-variant-numeric: lining-nums tabular-nums;
}
.site-classic .stat dd {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
}
.site-classic .about-badge strong {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  font-weight: 600;
  font-variant-numeric: lining-nums;
}

/* ---- About collage ------------------------------------------------------- */
/* The keyline sits behind the tall photo only, so it never crosses the gap
   between the frames. */
.site-classic .about-visual::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 20px;
  width: 58%;
  height: 100%;
  border: 1px solid var(--gold);
  border-radius: var(--r-md);
  pointer-events: none;
}
.site-classic .about-visual--single::before { width: auto; height: auto; }
.site-classic .about-visual:not(.about-visual--single) { margin-bottom: 20px; }

/* ---- Arrival ------------------------------------------------------------- */
.js .site-classic .reveal {
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.js .site-classic .reveal.is-visible { transform: none; }

/* The hero photograph eases back into place once, on load. */
.site-classic .hero-media { animation: homeHeroSettle 2.4s var(--ease-out) both; }
@keyframes homeHeroSettle {
  from { transform: scale(1.06); }
  to   { transform: none; }
}

/* Eyebrow rules draw out from the text as their block arrives. */
.js .site-classic .reveal .eyebrow::before,
.js .site-classic .eyebrow.reveal::before,
.js .site-classic .reveal .eyebrow::after {
  transform: scaleX(0);
  transition: transform 0.7s var(--ease-out) 0.25s;
}
.js .site-classic .reveal .eyebrow::before,
.js .site-classic .eyebrow.reveal::before { transform-origin: right; }
.js .site-classic .reveal .eyebrow::after { transform-origin: left; }
.js .site-classic .reveal.is-visible .eyebrow::before,
.js .site-classic .eyebrow.reveal.is-visible::before,
.js .site-classic .reveal.is-visible .eyebrow::after { transform: none; }

/* The keyline slides out from behind the photo. */
.js .site-classic .about-visual.reveal::before {
  opacity: 0;
  transform: translate(-20px, -20px);
  transition: opacity 0.6s ease 0.3s, transform 0.9s var(--ease-out) 0.3s;
}
.js .site-classic .about-visual.reveal.is-visible::before { opacity: 1; transform: none; }

/* The two inset photos follow the tall one in. */
.js .site-classic .about-visual.reveal .photo-top,
.js .site-classic .about-visual.reveal .photo-bottom,
.js .site-classic .about-visual.reveal .about-badge {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.js .site-classic .about-visual.reveal .photo-top { transition-delay: 0.2s; }
.js .site-classic .about-visual.reveal .photo-bottom { transition-delay: 0.35s; }
.js .site-classic .about-visual.reveal .about-badge { transition-delay: 0.5s; }
.js .site-classic .about-visual.reveal.is-visible .photo-top,
.js .site-classic .about-visual.reveal.is-visible .photo-bottom,
.js .site-classic .about-visual.reveal.is-visible .about-badge { opacity: 1; transform: none; }

/* ---- Hover --------------------------------------------------------------- */
/* Arrows lean a few pixels toward where they point. */
.site-classic .btn .icon-arrow,
.site-classic .text-link .icon-arrow { transition: transform 0.3s var(--ease-out); }
.site-classic .btn:hover .icon-arrow,
.site-classic .text-link:hover .icon-arrow { transform: translateX(4px); }

/* Cards rise slightly and their photo eases in a touch. */
.site-classic .quick-card,
.site-classic .facility-card,
.site-classic .blog-card {
  transition: transform 0.4s var(--ease-out), border-color 0.25s ease, box-shadow 0.4s var(--ease-out);
}
.site-classic .quick-card:hover { transform: translateY(-4px); }
.site-classic .facility-card:hover,
.site-classic .blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(var(--navy-900-rgb), 0.08);
}
.site-classic .facility-media img,
.site-classic .blog-media img,
.site-classic .photo img,
.site-classic .g-tile img { transition: transform 1.2s var(--ease-out); }
.site-classic .facility-card:hover .facility-media img,
.site-classic .blog-card:hover .blog-media img,
.site-classic .photo:hover img,
.site-classic .g-tile:hover img { transform: scale(1.04); }
.site-classic .gallery-cta:hover .g-tile:not(:hover) img { transform: none; }

/* A gold rule draws along the top of a quick link. */
.site-classic .quick-card::before {
  display: block;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.site-classic .quick-card:hover::before { transform: scaleX(1); }
.site-classic .quick-card:hover { border-color: var(--hairline); }
.site-classic .quick-icon { transition: box-shadow 0.3s ease; }
.site-classic .quick-card:hover .quick-icon { box-shadow: 0 0 0 6px rgba(var(--gold-rgb), 0.22); }
.site-classic .quick-arrow,
.site-classic .facility-arrow {
  transform: translateX(-6px);
  transition: opacity 0.3s ease, transform 0.4s var(--ease-out), background-color 0.25s ease;
}
.site-classic .quick-card:hover .quick-arrow,
.site-classic .facility-card:hover .facility-arrow { transform: none; }

/* The facility icon swaps to gold. */
.site-classic .facility-icon { transition: background-color 0.3s ease, color 0.3s ease; }
.site-classic .facility-card:hover .facility-icon { background: var(--gold); color: var(--navy-900); }

/* Testimonials and slider controls. */
.site-classic .tcard { transition: border-color 0.25s ease; }
.site-classic .tcard:hover { border-color: var(--gold); }
.site-classic .slider-btn:active:not(:disabled) { transform: scale(0.94); }
.site-classic .slider-dots button { transition: width 0.4s var(--ease-out), background-color 0.25s ease; }

@media (max-width: 680px) {
  .site-classic .stat-strip { gap: 24px 40px; margin-top: 44px; padding-top: 0; }
  .site-classic .stat dt { font-size: 2rem; }
  .site-classic .about-visual::before { left: 12px; top: 12px; }
  .site-classic .about-visual--single::before { inset: 12px -8px -12px 12px; }
  .site-classic .quick-arrow,
  .site-classic .facility-arrow { transform: none; }
}

/* ---- About collage: landscape frames ------------------------------------- */
/* The school's photos are landscape, so the collage is one wide frame over two
   smaller ones instead of a tall frame that would crop them to a sliver. */
.site-classic .about-visual:not(.about-visual--single) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  aspect-ratio: auto;
  margin-bottom: 0;
  container-type: inline-size;
}
.site-classic .about-visual:not(.about-visual--single) .photo {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
}
.site-classic .about-visual:not(.about-visual--single) .photo-main { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.site-classic .about-visual:not(.about-visual--single) .photo-top,
.site-classic .about-visual:not(.about-visual--single) .photo-bottom { aspect-ratio: 4 / 3; }
.site-classic .about-visual:not(.about-visual--single)::before {
  left: 20px;
  top: 20px;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
}
/* The badge straddles the join between the wide frame and the pair below. */
.site-classic .about-visual:not(.about-visual--single) .about-badge {
  left: auto;
  right: 24px;
  bottom: auto;
  top: calc(66.667cqw - 28px);
}

@media (max-width: 680px) {
  .site-classic .about-visual:not(.about-visual--single) { gap: 12px; aspect-ratio: auto; }
  .site-classic .about-visual:not(.about-visual--single)::before { left: 8px; top: 12px; }
  .site-classic .about-visual:not(.about-visual--single) .about-badge { right: 16px; top: calc(66.667cqw - 24px); }
}

/* ==========================================================================
   HOME — lighter scrolling, plainer figures
   ========================================================================== */

/* Hero figures in the body face, proportional lining numerals, so "12" and
   "20" sit like ordinary numbers instead of spaced-out table digits. */
.site-classic .stat dt {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 2.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: lining-nums proportional-nums;
  font-feature-settings: "lnum" 1, "pnum" 1;
}
.site-classic .about-badge strong {
  font-family: "Inter", system-ui, sans-serif;
  font-feature-settings: "lnum" 1, "pnum" 1;
}
@media (max-width: 680px) {
  .site-classic .stat dt { font-size: 1.9rem; }
}

/* The header no longer blurs the page behind it on every scrolled frame. */
.site-classic .navbar {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Hover: a border colour and a small lift, nothing repainted. Photos stay
   still and the shadow is fixed rather than animated. */
.site-classic .quick-card,
.site-classic .facility-card,
.site-classic .blog-card { transition: transform 0.3s var(--ease-out), border-color 0.2s ease; }
.site-classic .facility-card:hover,
.site-classic .blog-card:hover { box-shadow: none; }
.site-classic .facility-media img,
.site-classic .blog-media img,
.site-classic .photo img,
.site-classic .g-tile img,
.site-classic .facility-card:hover .facility-media img,
.site-classic .blog-card:hover .blog-media img,
.site-classic .photo:hover img,
.site-classic .g-tile:hover img { transform: none; transition: none; }
.site-classic .quick-icon { transition: none; }
.site-classic .quick-card:hover .quick-icon { box-shadow: none; }

/* Reveals: quicker, so content is in place by the time you reach it. */
.js .site-classic .reveal {
  transform: translateY(12px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.js .site-classic .about-visual.reveal .photo-top,
.js .site-classic .about-visual.reveal .photo-bottom,
.js .site-classic .about-visual.reveal .about-badge {
  transform: translateY(12px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.js .site-classic .about-visual.reveal .photo-top { transition-delay: 0.1s; }
.js .site-classic .about-visual.reveal .photo-bottom { transition-delay: 0.18s; }
.js .site-classic .about-visual.reveal .about-badge { transition-delay: 0.26s; }

/* ==========================================================================
   ABOUT SPLIT — classic treatment, shared
   The home page's welcome block and about-the-school.html's welcome block are
   the same section type with the same story, so they share one look. This
   block is the source of truth for both; it restates the home values so the
   About page (body.page-about, which loads Fraunces) gets them without the
   rest of the home layer. Only the .about section is touched on that page.
   ========================================================================== */
.site-classic .about {
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --hairline: #e9e1d0;
  --line: var(--hairline);
  background: #fbf8f1;
}

/* ---- Type ---------------------------------------------------------------- */
.site-classic .about h2 {
  font-family: var(--serif);
  font-optical-sizing: auto;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin-bottom: 24px;
}
.site-classic .about h2 em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-600);
}
.site-classic .about .eyebrow {
  color: var(--navy-700);
  letter-spacing: 0.22em;
  font-weight: 600;
  gap: 12px;
}
.site-classic .about .eyebrow::before { width: 32px; height: 1px; }
.site-classic .about-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
  color: var(--gold-600);
}
.site-classic .about-copy .lead { color: var(--ink); font-size: 1.1rem; line-height: 1.75; }

/* ---- Photos -------------------------------------------------------------- */
.site-classic .about .photo { border-radius: var(--r-md); box-shadow: none; }
.site-classic .about .photo img,
.site-classic .about .photo:hover img { transform: none; transition: none; }

/* The gold keyline set off behind the photograph, like a mounted print. */
.site-classic .about-visual--single::before {
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  width: auto;
  height: auto;
  border: 1px solid var(--gold);
  border-radius: var(--r-md);
  pointer-events: none;
}

/* ---- Badge --------------------------------------------------------------- */
.site-classic .about-badge {
  gap: 12px;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(var(--navy-900-rgb), 0.16);
  animation: none;
}
.site-classic .about-badge strong {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 600;
  font-feature-settings: "lnum" 1, "pnum" 1;
}
.site-classic .about-badge > span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

/* ---- Arrival ------------------------------------------------------------- */
.js .site-classic .about .reveal {
  transform: translateY(12px);
  transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out);
}
.js .site-classic .about .reveal.is-visible { transform: none; }

/* The eyebrow rule draws out as the label arrives. */
.js .site-classic .about .eyebrow.reveal::before {
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.7s var(--ease-out) 0.25s;
}
.js .site-classic .about .eyebrow.reveal.is-visible::before { transform: none; }

/* The keyline slides out from behind the photo. */
.js .site-classic .about-visual.reveal::before {
  opacity: 0;
  transform: translate(-20px, -20px);
  transition: opacity 0.6s ease 0.3s, transform 0.9s var(--ease-out) 0.3s;
}
.js .site-classic .about-visual.reveal.is-visible::before { opacity: 1; transform: none; }

.js .site-classic .about-visual.reveal .about-badge {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s var(--ease-out) 0.26s, transform 0.45s var(--ease-out) 0.26s;
}
.js .site-classic .about-visual.reveal.is-visible .about-badge { opacity: 1; transform: none; }

@media (max-width: 680px) {
  .site-classic .about-visual--single::before { inset: 12px -8px -12px 12px; }
  .site-classic .about-tagline { font-size: 1.15rem; }
}

/* ---- About collage: landscape frames (shared) ---------------------------- */
/* The school's photos are landscape, so the collage is one wide frame over two
   smaller ones instead of a tall frame that would crop them to a sliver. */
.site-classic .about-visual:not(.about-visual--single) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  aspect-ratio: auto;
  margin-bottom: 0;
  container-type: inline-size;
}
.site-classic .about-visual:not(.about-visual--single) .photo {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
}
.site-classic .about-visual:not(.about-visual--single) .photo-main { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.site-classic .about-visual:not(.about-visual--single) .photo-top,
.site-classic .about-visual:not(.about-visual--single) .photo-bottom { aspect-ratio: 4 / 3; }
.site-classic .about-visual:not(.about-visual--single)::before {
  left: 20px;
  top: 20px;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
}
/* The badge straddles the join between the wide frame and the pair below. */
.site-classic .about-visual:not(.about-visual--single) .about-badge {
  left: auto;
  right: 24px;
  bottom: auto;
  top: calc(66.667cqw - 28px);
}

@media (max-width: 680px) {
  .site-classic .about-visual:not(.about-visual--single) { gap: 12px; aspect-ratio: auto; }
  .site-classic .about-visual:not(.about-visual--single)::before { left: 8px; top: 12px; }
  .site-classic .about-visual:not(.about-visual--single) .about-badge { right: 16px; top: calc(66.667cqw - 24px); }
}

.site-classic .about-visual:not(.about-visual--single)::before {
  content: "";
  position: absolute;
  border: 1px solid var(--gold);
  border-radius: var(--r-md);
  pointer-events: none;
}

/* ==========================================================================
   SITE — classic layer for the inner-page furniture
   Every page carries body.site-classic. The layers above give all pages the
   serif display type, ivory neutrals, quiet buttons and cards; this one does
   the same for the components only inner pages use. Cyan retires: the
   secondary accent now follows the theme's gold and navy, so a campus colour
   change still flows through.
   ========================================================================== */
.site-classic {
  --cyan: var(--gold-600);
  --cyan-600: var(--navy-700);
  --cyan-rgb: var(--gold-rgb);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Keyboard focus: a navy ring reads on ivory, white and photo bands alike. */
.site-classic :focus-visible { outline: 2px solid var(--navy-800); outline-offset: 3px; }
.site-classic :is(.hero, .page-hero, .cta-band, .final-cta, .gallery-cta, .site-footer, .utility-strip, .form-aside) :focus-visible {
  outline-color: var(--gold);
}

/* ---- Header & dropdowns -------------------------------------------------- */
.site-classic .nav-menu a.is-active {
  background: rgba(var(--gold-rgb), 0.16);
  color: var(--navy-800);
  font-weight: 600;
}

/* ---- Bands --------------------------------------------------------------- */
.site-classic .section-alt { background: #fff; }
.site-classic .section-tint { background: var(--ivory-2); }
.site-classic .section-head-center { gap: 16px; }
.site-classic .section-head-center .eyebrow::after {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--gold);
  flex: none;
}

/* ---- Page hero ----------------------------------------------------------- */
.site-classic .page-hero { padding: 88px 0 80px; }
.site-classic .page-hero-media { inset: 0; transform: none; animation: homeHeroSettle 2.4s var(--ease-out) both; }
.site-classic .page-hero-scrim {
  background:
    linear-gradient(100deg,
      rgba(var(--navy-900-rgb), 0.92) 0%,
      rgba(var(--navy-900-rgb), 0.78) 42%,
      rgba(var(--navy-900-rgb), 0.4) 100%),
    linear-gradient(to top, rgba(var(--navy-900-rgb), 0.5), transparent 55%);
}
.site-classic .page-hero .deco { display: none; }
.site-classic .page-hero h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
.site-classic .page-hero .eyebrow { margin-bottom: 16px; }
.site-classic .page-lead { margin-top: 24px; color: rgba(240, 244, 248, 0.9); }
.site-classic .breadcrumb { margin-bottom: 24px; }
.site-classic .breadcrumb ol { font-size: 0.8rem; color: rgba(226, 234, 242, 0.7); }
.site-classic .breadcrumb [aria-current="page"] { font-weight: 500; }

/* Facts under the hero: a quiet row with gold icons, not frosted pills. */
.site-classic .hero-facts { gap: 12px 28px; margin-top: 32px; }
.site-classic .hero-facts li {
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: rgba(240, 244, 248, 0.9);
  font-size: 0.875rem;
  font-weight: 500;
}
.site-classic .hero-facts svg { width: 16px; height: 16px; }

/* ---- Statement panels ---------------------------------------------------- */
.site-classic .panel-grid { gap: 24px; }
.site-classic .panel {
  padding: 40px 36px 36px;
  border-radius: var(--r-md);
  box-shadow: none;
  transition: transform 0.3s var(--ease-out), border-color 0.2s ease;
}
.site-classic .panel::before {
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.site-classic .panel:hover { transform: translateY(-4px); box-shadow: none; border-color: var(--hairline); }
.site-classic .panel:hover::before { transform: none; }
.site-classic .panel-icon,
.site-classic .panel-gold .panel-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold);
  box-shadow: 0 0 0 5px rgba(var(--gold-rgb), 0.16);
}
.site-classic .panel-icon svg { width: 24px; height: 24px; }
.site-classic .panel h2,
.site-classic .panel h3 { font-size: 1.6rem; margin-bottom: 16px; }
.site-classic .panel-statement {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.6;
}

.site-classic .check-list svg { color: var(--gold-600); }

/* ---- Tiles --------------------------------------------------------------- */
.site-classic .tile-grid { gap: 24px; }
.site-classic .tile {
  padding: 28px;
  border-radius: var(--r-md);
  transition: transform 0.3s var(--ease-out), border-color 0.2s ease;
}
.site-classic .tile:hover { transform: translateY(-4px); box-shadow: none; border-color: var(--gold); }
.site-classic .tile-no {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0;
  margin-bottom: 12px;
}
.site-classic .tile h3 { font-size: 1.2rem; margin-bottom: 8px; }
.site-classic .tile-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold);
}
.site-classic .tile-icon svg { width: 22px; height: 22px; }
.site-classic .tile:hover .tile-icon { background: var(--gold); color: var(--navy-900); }

/* ---- Feature split ------------------------------------------------------- */
.site-classic .split { gap: 72px; }
.site-classic .split + .split { margin-top: 96px; }
.site-classic .split-media {
  overflow: visible;
  border-radius: var(--r-md);
  box-shadow: none;
}
.site-classic .split-media img { border-radius: var(--r-md); transition: none; }
.site-classic .split-media:hover img { transform: none; }
/* The same gold keyline as the welcome photo, set off behind the picture. */
.site-classic .split-media::before {
  content: "";
  position: absolute;
  inset: 20px -20px -20px 20px;
  z-index: -1;
  border: 1px solid var(--gold);
  border-radius: var(--r-md);
  pointer-events: none;
}
.site-classic .split-flip .split-media::before { inset: 20px 20px -20px -20px; }
.site-classic .split { isolation: isolate; }
.site-classic .split-badge {
  left: 20px;
  bottom: 20px;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  background: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(var(--navy-900-rgb), 0.12);
}
.site-classic .split-badge svg { color: var(--gold-600); }
.site-classic .split-copy h3 { margin-bottom: 16px; }
.site-classic .split-copy > p { margin-bottom: 24px; }

/* ---- Tables -------------------------------------------------------------- */
.site-classic .table-card {
  border-radius: var(--r-md);
  box-shadow: none;
}
.site-classic .table-card + .table-card { margin-top: 24px; }
.site-classic .table-head {
  gap: 12px;
  padding: 24px 28px;
  background: #fff;
}
.site-classic .table-head h3 { font-size: 1.25rem; }
.site-classic .data-table thead th {
  padding: 12px 28px;
  background: var(--ivory-2);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--navy-800);
}
.site-classic .data-table td,
.site-classic .data-table tbody th { padding: 16px 28px; }
.site-classic .data-table tbody tr:hover { background: rgba(var(--gold-rgb), 0.08); }
.site-classic .data-table .cell-key { font-weight: 500; }
.site-classic .data-table .cell-time { font-weight: 500; }
.site-classic .data-table .row-group td {
  padding: 12px 28px;
  background: var(--ivory);
  font-family: var(--serif);
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gold-600);
}

/* Tags: small sentence-case labels on a soft tint, not shouting pills. */
.site-classic .tag {
  gap: 6px;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
.site-classic .tag-cyan { background: rgba(var(--navy-800-rgb), 0.07); color: var(--navy-700); }
.site-classic .tag-gold { background: rgba(var(--gold-rgb), 0.2); color: #7a5a06; }
.site-classic .legend { gap: 12px 20px; margin-bottom: 32px; }

/* ---- Notes --------------------------------------------------------------- */
.site-classic .note {
  padding: 24px 28px;
  border-radius: 12px;
  border-left-width: 3px;
  box-shadow: none;
}
.site-classic .note-cyan { border-left-color: var(--navy-700); }
.site-classic .note-cyan svg { color: var(--navy-700); }
.site-classic .note h4 { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; }

/* ---- Stat band: the hero's figures, on a flat navy plate ----------------- */
.site-classic .stat-band {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px 48px;
  padding: 40px 48px;
  border-radius: var(--r-md);
  background: var(--navy-800);
  box-shadow: none;
  position: relative;
}
.site-classic .stat-band::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(var(--gold-rgb), 0.3);
  border-radius: 10px;
  pointer-events: none;
}
.site-classic .stat-band .stat { padding-left: 0; border: 0; }
.site-classic .stat-band .stat::before { display: none; }
.site-classic .stat-band dt {
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.8rem, 2.6vw, 2.25rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--gold);
  font-feature-settings: "lnum" 1, "pnum" 1;
}
.site-classic .stat-band dd {
  margin-top: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: rgba(240, 244, 248, 0.82);
}

/* ---- CTA band ------------------------------------------------------------ */
.site-classic .cta-band { padding: 72px 0; background: var(--navy-900); }
.site-classic .cta-band::after {
  right: auto;
  top: auto;
  width: auto;
  height: auto;
  inset: 16px;
  z-index: 0;
  border: 1px solid rgba(var(--gold-rgb), 0.34);
  border-radius: var(--r-sm);
  background: none;
  filter: none;
}
.site-classic .cta-inner { gap: 32px; }
.site-classic .cta-inner p { margin-top: 12px; color: rgba(240, 244, 248, 0.86); }
.site-classic .cta-actions { gap: 12px; }

/* ---- Quote band ---------------------------------------------------------- */
.site-classic .principal-quote {
  padding: 36px 40px;
  border-radius: var(--r-md);
  background: var(--navy-800);
  box-shadow: none;
}
.site-classic .principal-quote::after { display: none; }
.site-classic .principal-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.25rem;
  line-height: 1.6;
}
.site-classic .principal-quote footer img { border-color: var(--gold); }

/* ---- Rich text ----------------------------------------------------------- */
.site-classic .rich-list li::before { background: var(--gold); width: 6px; height: 6px; top: 12px; }

/* ---- Forms --------------------------------------------------------------- */
.site-classic .form-grid { gap: 32px; }
.site-classic .form-card { padding: 40px; border-radius: var(--r-md); box-shadow: none; }
.site-classic .form-fields { gap: 20px 24px; }
.site-classic .field label { font-weight: 500; }
.site-classic .field input,
.site-classic .field select,
.site-classic .field textarea {
  padding: 12px 16px;
  border-color: var(--hairline);
  background: #fff;
}
.site-classic .field input:focus,
.site-classic .field select:focus,
.site-classic .field textarea:focus,
.site-classic .field select:open {
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.3);
}
.site-classic .select-wrap::before { background-color: var(--ivory-2); }
.site-classic .select-wrap:focus-within::before { background-color: rgba(var(--gold-rgb), 0.24); }
.site-classic .select-wrap:focus-within::after { background-color: var(--navy-800); }
.site-classic .select-wrap:has(select:open)::before { background-color: rgba(var(--gold-rgb), 0.24); }
.site-classic .select-wrap:has(select:open)::after { background-color: var(--navy-800); }
@supports (appearance: base-select) {
  .site-classic .field select option:checked { background-color: rgba(var(--gold-rgb), 0.18); font-weight: 500; }
  .site-classic .field select option:checked:hover,
  .site-classic .field select option:checked:focus-visible { background-color: rgba(var(--gold-rgb), 0.26); }
  .site-classic .field select option::checkmark { color: var(--navy-800); }
}
.site-classic .field-check input { accent-color: var(--navy-800); }
.site-classic .form-actions { gap: 16px 24px; margin-top: 28px; padding-top: 28px; }
.site-classic .form-done {
  padding: 32px;
  border-radius: 12px;
  background: var(--ivory);
  border: 1px solid var(--gold);
}
.site-classic .form-done svg { color: var(--gold-600); }
.site-classic .form-done h3 { font-family: var(--serif); font-weight: 600; }
.site-classic .form-aside {
  position: relative;
  padding: 36px 32px;
  border-radius: var(--r-md);
  background: var(--navy-800);
  box-shadow: none;
}
.site-classic .form-aside .check-list svg,
.site-classic .form-contact svg { color: var(--gold); }

/* ---- Campus picker & enquiry popup --------------------------------------- */
.site-classic .branch-card h2,
.site-classic .popup-head h2,
.site-classic .popup-head h3,
.site-classic .popup-ad-heading {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.015em;
}
.site-classic .branch-option { transition: border-color 0.2s ease, transform 0.3s var(--ease-out); }
.site-classic .branch-option:hover {
  border-color: var(--gold);
  box-shadow: none;
  transform: translateY(-2px);
}
.site-classic .popup-head .eyebrow,
.site-classic .branch-eyebrow { color: var(--navy-700); }

/* ---- Photo gallery ------------------------------------------------------- */
.site-classic .gallery-filters { gap: 8px; margin-bottom: 36px; }
.site-classic .gallery-filter {
  padding: 8px 18px;
  border-width: 1px;
  border-color: var(--hairline);
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.site-classic .gallery-filter:hover { border-color: var(--gold); color: var(--navy-800); }
.site-classic .photo-item {
  border-radius: 12px;
  box-shadow: none;
  transition: transform 0.3s var(--ease-out);
}
.site-classic .photo-item img { transition: none; }
.site-classic .photo-item:hover { transform: translateY(-4px); box-shadow: none; }
.site-classic .photo-item:hover img { transform: none; filter: none; }
.site-classic .photo-item-zoom {
  inset: auto 12px 12px auto;
  width: 36px;
  height: 36px;
  background: var(--navy-800);
  backdrop-filter: none;
  transition: opacity 0.2s ease;
  transform: none;
}
.site-classic .lightbox-nav:hover { transform: translateY(-50%); }

/* ---- Preview badge ------------------------------------------------------- */
.aps-preview .site-classic::after { border-radius: 8px; font-weight: 600; }

@media (max-width: 980px) {
  .site-classic .split { gap: 48px; }
  .site-classic .split + .split { margin-top: 72px; }
}
@media (max-width: 680px) {
  .site-classic .page-hero { padding: 56px 0 56px; }
  .site-classic .hero-facts { gap: 8px 20px; margin-top: 24px; }
  .site-classic .hero-facts li { font-size: 0.8rem; }
  .site-classic .panel { padding: 28px 24px; }
  .site-classic .panel h2,
  .site-classic .panel h3 { font-size: 1.35rem; }
  .site-classic .split-media::before,
  .site-classic .split-flip .split-media::before { inset: 12px -8px -12px 12px; }
  .site-classic .table-head { padding: 20px; }
  .site-classic .data-table thead th { padding: 12px 20px; }
  .site-classic .data-table td,
  .site-classic .data-table tbody th { padding: 12px 20px; }
  .site-classic .data-table .row-group td { padding: 12px 20px; }
  .site-classic .stat-band { padding: 32px 28px; gap: 24px 32px; }
  .site-classic .cta-band { padding: 56px 0; }
  .site-classic .cta-band::after { inset: 8px; }
  .site-classic .note { padding: 20px; }
  .site-classic .form-card { padding: 28px 20px; }
  .site-classic .form-aside { padding: 28px 24px; }
  .site-classic .principal-quote { padding: 28px 24px; }
  .site-classic .principal-quote p { font-size: 1.1rem; }
}

/* ---- Contrast & rhythm fixes -------------------------------------------- */
/* Bright gold is for navy and photo bands; on ivory and white the emphasised
   words take the deeper gold so they read. */
.site-classic .section h2 em,
.site-classic .section h3 em { color: var(--gold-600); }

/* The aside sits on navy, so its paragraphs need light ink, not body grey. */
.site-classic .form-aside p { color: rgba(240, 244, 248, 0.82); }

/* Six tiles fill two rows of three instead of four plus an orphan pair. */
@media (min-width: 981px) {
  .site-classic .tile-grid:has(> :nth-child(6):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ==========================================================================
   SITE — refinements: plain ampersand, cleaner ivory, richer inner pages
   ========================================================================== */

/* ---- A plain ampersand ---------------------------------------------------
   The display serif's "&" is a swash, and in italic a loop. These faces cover
   only U+0026 and point at a classic installed serif, so every heading gets
   an upright, conventional ampersand — in roman and italic alike (the italic
   faces deliberately use the roman file, so the glyph is never slanted). */
@font-face { font-family: "Plain Amp"; src: local("Georgia"), local("Noto Serif"), local("Droid Serif"), local("Times New Roman"); unicode-range: U+0026; font-weight: 100 550; font-style: normal; }
@font-face { font-family: "Plain Amp"; src: local("Georgia Bold"), local("Georgia-Bold"), local("NotoSerif-Bold"), local("Noto Serif Bold"), local("Times New Roman Bold"); unicode-range: U+0026; font-weight: 551 900; font-style: normal; }
@font-face { font-family: "Plain Amp"; src: local("Georgia"), local("Noto Serif"), local("Droid Serif"), local("Times New Roman"); unicode-range: U+0026; font-weight: 100 550; font-style: italic; }
@font-face { font-family: "Plain Amp"; src: local("Georgia Bold"), local("Georgia-Bold"), local("NotoSerif-Bold"), local("Noto Serif Bold"), local("Times New Roman Bold"); unicode-range: U+0026; font-weight: 551 900; font-style: italic; }

.site-classic {
  --serif: "Plain Amp", "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  /* Lighter, less yellow neutrals — ivory paper rather than beige. */
  --ivory: #fbfaf6;
  --ivory-2: #f3f0e8;
  --hairline: #e6e1d6;
  background: var(--ivory);
}
.site-classic .about { --serif: "Plain Amp", "Fraunces", Georgia, serif; --hairline: #e6e1d6; background: var(--ivory); }
/* Tint bands are white: plain bands are ivory, alt bands navy. */
.site-classic .section-tint { background: #fff; }

/* Cards on ivory rest on a soft shadow, so they lift off the page instead of
   reading as flat outlines. */
.site-classic:not(.page-home) :is(.tile, .panel, .table-card, .note, .form-card, .facility-card, .blog-card) {
  box-shadow: 0 1px 2px rgba(var(--navy-900-rgb), 0.04), 0 8px 24px rgba(var(--navy-900-rgb), 0.05);
}

/* ---- Page hero: more photograph, more presence -------------------------- */
.site-classic .page-hero {
  display: flex;
  align-items: center;
  min-height: 460px;
  padding: 104px 0 96px;
}
.site-classic .page-hero > .container { position: relative; z-index: 3; }
.site-classic .page-hero-scrim {
  background:
    linear-gradient(100deg,
      rgba(var(--navy-900-rgb), 0.92) 0%,
      rgba(var(--navy-900-rgb), 0.72) 40%,
      rgba(var(--navy-900-rgb), 0.22) 78%,
      rgba(var(--navy-900-rgb), 0.12) 100%),
    linear-gradient(to top, rgba(var(--navy-900-rgb), 0.55), transparent 50%);
}
/* The same hairline frame as the home page's closing band. */
.site-classic .page-hero::after {
  content: "";
  position: absolute;
  inset: 20px;
  z-index: 2;
  border: 1px solid rgba(var(--gold-rgb), 0.38);
  border-radius: var(--r-sm);
  pointer-events: none;
}
.site-classic .page-hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.06; }
.site-classic .page-lead { font-size: 1.12rem; max-width: 600px; }

/* ---- Navy bands ----------------------------------------------------------
   On inner pages the "alt" band becomes deep navy with white cards on it, so
   pages alternate ivory and navy the way the home page alternates ivory and
   photography. Only copy that sits directly on the band changes colour;
   everything inside a white card keeps its light-surface colours. A band
   that directly follows the page hero stays light, so navy never meets navy. */
.site-classic:not(.page-home) .section-alt:not(.page-hero + .section-alt) {
  --line: rgba(255, 255, 255, 0.14);
  position: relative;
  background: var(--navy-900);
  isolation: isolate;
}
.site-classic:not(.page-home) .section-alt:not(.page-hero + .section-alt) :is(.tile, .panel, .table-card, .note, .form-card, .facility-card, .blog-card) {
  --line: var(--hairline);
  border-color: transparent;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}
.site-classic:not(.page-home) .section-alt:not(.page-hero + .section-alt) :is(.tile, .panel, .facility-card, .blog-card):hover { border-color: var(--gold); }

/* Headings and copy on the band. */
.site-classic:not(.page-home) .section-alt:not(.page-hero + .section-alt) .section-head h2,
.site-classic:not(.page-home) .section-alt:not(.page-hero + .section-alt) .split-copy h3 { color: #fff; }
.site-classic:not(.page-home) .section-alt:not(.page-hero + .section-alt) .section-head h2 em,
.site-classic:not(.page-home) .section-alt:not(.page-hero + .section-alt) .split-copy h3 em { color: var(--gold); }
.site-classic:not(.page-home) .section-alt:not(.page-hero + .section-alt) .section-head .eyebrow { color: var(--gold); }
.site-classic:not(.page-home) .section-alt:not(.page-hero + .section-alt) .section-sub,
.site-classic:not(.page-home) .section-alt:not(.page-hero + .section-alt) .split-copy > p,
.site-classic:not(.page-home) .section-alt:not(.page-hero + .section-alt) .rich-copy p,
.site-classic:not(.page-home) .section-alt:not(.page-hero + .section-alt) .rich-list li,
.site-classic:not(.page-home) .section-alt:not(.page-hero + .section-alt) .split-copy .check-list li,
.site-classic:not(.page-home) .section-alt:not(.page-hero + .section-alt) .legend li { color: rgba(240, 244, 248, 0.8); }
.site-classic:not(.page-home) .section-alt:not(.page-hero + .section-alt) .split-copy .check-list li strong { color: #fff; }
.site-classic:not(.page-home) .section-alt:not(.page-hero + .section-alt) .split-copy .check-list svg { color: var(--gold); }
.site-classic:not(.page-home) .section-alt:not(.page-hero + .section-alt) .section-head .text-link,
.site-classic:not(.page-home) .section-alt:not(.page-hero + .section-alt) .split-copy .text-link { color: var(--gold); }
.site-classic:not(.page-home) .section-alt:not(.page-hero + .section-alt) .split-copy .text-link:hover { color: #fff; border-color: var(--gold); }
.site-classic:not(.page-home) .section-alt:not(.page-hero + .section-alt) .split-badge { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); }

/* Outline buttons on the band turn light. */
.site-classic:not(.page-home) .section-alt:not(.page-hero + .section-alt) .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.site-classic:not(.page-home) .section-alt:not(.page-hero + .section-alt) .btn-outline:hover { background: #fff; color: var(--navy-800); border-color: #fff; }

/* Navy-on-navy pieces get a gold hairline to stay distinct. */
.site-classic:not(.page-home) .section-alt:not(.page-hero + .section-alt) .form-aside,
.site-classic:not(.page-home) .section-alt:not(.page-hero + .section-alt) .principal-quote {
  background: var(--navy-800);
  border: 1px solid rgba(var(--gold-rgb), 0.4);
}
.site-classic:not(.page-home) .section-alt:not(.page-hero + .section-alt) .stat-band { background: var(--navy-800); box-shadow: none; }

/* Gallery filters, legends and tags sitting straight on the band. */
.site-classic:not(.page-home) .section-alt:not(.page-hero + .section-alt) .gallery-filter { background: transparent; color: rgba(240, 244, 248, 0.85); border-color: rgba(255, 255, 255, 0.24); }
.site-classic:not(.page-home) .section-alt:not(.page-hero + .section-alt) .gallery-filter.is-active { background: var(--gold); border-color: var(--gold); color: var(--navy-900); }

/* Where two inner bands meet, a fine gold rule marks the join. */
.site-classic:not(.page-home) .section-alt:not(.page-hero + .section-alt):not(.is-continued)::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 64px;
  height: 2px;
  margin-left: -32px;
  background: var(--gold);
}

@media (max-width: 680px) {
  .site-classic .page-hero { min-height: 0; padding: 64px 0 60px; }
  .site-classic .page-hero::after { inset: 10px; }
  .site-classic .page-hero h1 { font-size: clamp(2.2rem, 9vw, 2.8rem); }
  .site-classic .page-lead { font-size: 1rem; }
}

/* ==========================================================================
   Page loader
   An ivory cover with the crest and a gold hairline that sweeps beneath it,
   shown while <html> has .js but not yet .is-ready (main.js adds that once
   the page, fonts and hero photo are in). Drawn on the body's pseudo-
   elements, so no page shell carries extra markup. If the script never runs,
   the cover fades out on its own after 4s. Admin screens do not load this
   stylesheet, and without JavaScript there is no cover at all.
   ========================================================================== */
html.js body::before,
html.js body::after {
  content: "";
  position: fixed;
  z-index: 1000;
  pointer-events: none;
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}

/* The cover and the crest. */
html.js body::before {
  inset: 0;
  background: #fbfaf6 url("../images/logo.png") center calc(50% - 16px) / auto 88px no-repeat;
  animation: apsLoaderGiveUp 0.4s ease 4s forwards;
}

/* The gold hairline under the crest. */
html.js body::after {
  left: 50%;
  top: calc(50% + 48px);
  width: 120px;
  height: 2px;
  margin-left: -60px;
  border-radius: 2px;
  background:
    linear-gradient(90deg, transparent, #d9a417 40%, #d9a417 60%, transparent) -120px 0 / 120px 2px no-repeat,
    rgba(217, 164, 23, 0.18);
  animation:
    apsLoaderSweep 1.1s cubic-bezier(0.45, 0, 0.55, 1) infinite,
    apsLoaderGiveUp 0.4s ease 4s forwards;
}

html.js.is-ready body::before,
html.js.is-ready body::after {
  opacity: 0;
  visibility: hidden;
  animation: none;
}

@keyframes apsLoaderSweep {
  to { background-position: 120px 0, 0 0; }
}
@keyframes apsLoaderGiveUp {
  to { opacity: 0; visibility: hidden; }
}

/* Under the cover nothing makes its entrance yet: the hero photo holds its
   first frame and revealed blocks stay hidden, so their arrival plays when
   the cover lifts rather than unseen behind it. */
html.js:not(.is-ready) :is(.hero-media, .page-hero-media) { animation-play-state: paused; }
html.js:not(.is-ready) .reveal.is-visible { opacity: 0; transform: translateY(12px); }

/* The preview badge in the dashboard uses body::after; keep it there. */
html.aps-preview body::before { display: none; }
html.js.aps-preview body::after {
  content: "Preview — unpublished draft";
  inset: auto auto 18px 50%;
  top: auto;
  width: auto;
  height: auto;
  margin: 0;
  transform: translateX(-50%);
  padding: 8px 18px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--navy-900);
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 1;
  visibility: visible;
  animation: none;
  box-shadow: var(--sh-md);
}

@media (prefers-reduced-motion: reduce) {
  html.js body::after { animation: apsLoaderGiveUp 0.4s ease 4s forwards; background: rgba(217, 164, 23, 0.5); }
}

/* ---- Smoother pop-ups and dialogs ---------------------------------------
   Locking the page behind a pop-up or the campus picker hides the scrollbar;
   reserving its space means the page does not widen, re-lay-out and repaint
   in the frame the dialog opens. The picker's backdrop and the see-through
   buttons lose their blur for the same reason the pop-up did. */
html { scrollbar-gutter: stable; }
.site-classic .branch-gate { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(0, 11, 26, 0.84); }
.site-classic .btn-glass { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255, 255, 255, 0.1); }

/* ==========================================================================
   Legend (the colour key above a table)
   A white card in an even grid, like the table it explains, so its tags read
   exactly as they do in the rows below — on a navy band as well as a light
   one. "Navy" tags are solid so they no longer match the pale "cyan" ones.
   ========================================================================== */
.site-classic .legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  align-items: stretch;
  margin: 0 0 24px;
  padding: 0;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  overflow: hidden;
}
.site-classic .legend li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px 24px;
  border-left: 1px solid var(--hairline);
  margin-left: -1px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}
.site-classic:not(.page-home) .section-alt:not(.page-hero + .section-alt) .legend {
  border-color: transparent;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}
.site-classic:not(.page-home) .section-alt:not(.page-hero + .section-alt) .legend li { color: var(--muted); }

.site-classic .tag-navy { background: var(--navy-800); color: #fff; }

/* A band that runs on into the next one keeps its last margin inside, so no
   strip of the page background shows between the two halves. */
.site-classic .section.has-continuation { display: flow-root; }
.site-classic .section.has-continuation > .container > :last-child { margin-bottom: 0; }

@media (max-width: 560px) {
  .site-classic .legend li { flex-direction: row; align-items: baseline; padding: 14px 18px; border-left: 0; margin-left: 0; border-top: 1px solid var(--hairline); margin-top: -1px; }
  .site-classic .legend .tag { flex: none; min-width: 84px; justify-content: center; }
}
