/* ═══════════════════════════════════════════════════════════════════════
   SAIDS — BRAND REFINEMENT (Navy + Teal)
   Sampled from the official SAIDS emblem: deep NAVY wordmark + TEAL ribbon.
   Bright, clean, professional · soft corners · mixed-case · NO animation.
   ═══════════════════════════════════════════════════════════════════════ */

:root {
  /* ── Brand core (sampled from logo) ── */
  --navy:        #1c3c70;   /* primary — SAIDS wordmark navy */
  --navy-deep:   #15315e;   /* deeper navy — bands / headings */
  --navy-ink:    #0e2342;   /* darkest navy — footer */
  --teal:        #2fb5ad;   /* accent — ribbon / MMC banner teal */
  --teal-dark:   #178078;   /* AA teal for text/links on white */
  --teal-mid:    #239c94;   /* mid teal for borders / strokes */
  --teal-light:  #7fd6ce;   /* light teal — highlights on navy */

  /* ── Tints & neutrals ── */
  --paper:       #ffffff;
  --mist:        #f6f8fc;   /* airy off-white */
  --pale-navy:   #eef2f8;   /* pale navy tint section */
  --pale-teal:   #e6f7f5;   /* pale teal tint */
  --keyline:     #e3e9f2;   /* light border on white */
  --keyline-2:   #d5deec;   /* slightly stronger keyline */
  --ink-keyline: rgba(255,255,255,.14);
  --text:        #1a2740;   /* primary text (navy-tinted ink) */
  --text-soft:   #5a6680;   /* secondary text */

  --header-h:    76px;

  /* ── Soft-corner radius scale ── */
  --r-sm: 6px;
  --r:    10px;
  --r-lg: 14px;
  --r-xl: 20px;

  /* Uniform section icon size (services, departments, vision/mission, stats, accreditation, contact, footer CTA) */
  --icon-tile-size: 44px;

  /* ── Refined shadows ── */
  --shadow-sm: 0 1px 2px rgba(15,35,66,.05), 0 2px 8px rgba(15,35,66,.05);
  --shadow-md: 0 8px 22px rgba(15,35,66,.08), 0 18px 44px rgba(15,35,66,.06);
  --shadow-lg: 0 14px 34px rgba(15,35,66,.10), 0 30px 64px rgba(28,60,112,.08);
}

/* ── Base ──────────────────────────────────────────────────────────── */
/* Paint the root white so the viewport canvas is never the dark UA default.
   The body carries `overflow-x: clip`, which stops some browsers from
   propagating the body background to the canvas; without this, a thin dark
   strip can show through the scrollbar gutter / sub-pixel right edge. */
html { scroll-behavior: auto; background: #fff; }
svg { display: block; flex-shrink: 0; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; padding: 0; margin: 0; }
body { color: var(--text); }

/* ── Container & layout rhythm ─────────────────────────────────────── */
.container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.section   { padding: 100px 0; }
.section-sm{ padding: 72px 0; }
@media (max-width: 768px){ .section{ padding: 40px 0; } .section-sm{ padding: 32px 0; } .container{ padding: 0 20px; } }
/* Homepage sticky-split mobile rhythm — fine-tuned below; see also 900px block. */
@media (max-width: 768px){
  body:not(.is-inner) .sticky-split .scroll-stack > * { padding-top: 24px !important; padding-bottom: 24px !important; }
  body:not(.is-inner) .sticky-split .scroll-stack > *:first-child { padding-top: 0 !important; }
  body:not(.is-inner) .sticky-split .scroll-stack > *.pb-9,
  body:not(.is-inner) .sticky-split .scroll-stack > *.py-9 { padding-top: 24px !important; padding-bottom: 24px !important; }
}

/* ── SVG Icon system ───────────────────────────────────────────────── */
.icon { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 14px; height: 14px; }
.icon-lg { width: 22px; height: 22px; }
.icon-xl { width: 26px; height: 26px; }
/* Card icons loaded as <img src="…svg">.
   Never use width/height:auto here — that overrides HTML attrs, and viewBox-only
   SVGs then inflate to the UA default (~300×150), breaking pills/tiles. */
.icon-img {
  display: block;
  flex-shrink: 0;
  object-fit: contain;
  /* Safe fallback when no context rule applies */
  width: 18px;
  height: 18px;
}
.itile .icon-img,
.itile-soft .icon-img,
.svc-card .itile-soft .icon-img,
.dept-cell .itile-soft .icon-img,
.treatment-card .itile-soft .icon-img {
  width: var(--icon-tile-size);
  height: var(--icon-tile-size);
  max-width: var(--icon-tile-size);
  max-height: var(--icon-tile-size);
}
.stem-tile-icon .icon-img { width: 26px; height: 26px; }
.stem-tile-cta .icon-img { width: 14px; height: 14px; flex-shrink: 0; }
.core-values .icon-img { width: 22px; height: 22px; max-width: 22px; max-height: 22px; }
.ncard-date .icon-img { width: 13px; height: 13px; display: inline-block; vertical-align: -2px; }
.ov-lc-chev.icon-img { width: 14px; height: 14px; }
.svc-more .icon-img,
.ncard-more .icon-img,
.more-link .icon-img {
  width: 14px;
  height: 14px;
  max-width: 14px;
  max-height: 14px;
  display: inline-block;
}
/* ── Eyebrow label + section headers ───────────────────────────────── */
/* small uppercase eyebrow is kept (used sparingly) */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .68rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--teal-dark);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--teal); display: inline-block; border-radius: 2px; }
.eyebrow.on-dark { color: var(--teal-light); }
.eyebrow.on-dark::before { background: var(--teal); }
.eyebrow.no-bar::before { display: none; }

/* section headings — mixed case, refined weight */
.h-section {
  font-weight: 800; letter-spacing: -0.015em;
  line-height: 1.08; color: var(--navy-deep);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}
.h-section.on-dark { color: #fff; }
.accent { color: var(--teal-dark); }
.accent-bright { color: var(--teal); }
.on-dark .accent, .accent.on-dark { color: var(--teal-light); }

/* ── Buttons (soft corners, mixed case) ────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px;
  font-weight: 700; font-size: .86rem; letter-spacing: .005em;
  cursor: pointer; border-radius: var(--r);
  border: 1.5px solid transparent; white-space: nowrap;
}
.btn-blue   { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-blue:hover   { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn-bright { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-bright:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-white:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--keyline-2); }
.btn-outline:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-white { background: #fff; color: var(--navy); border-color: #fff; }
.btn-white:hover { background: var(--pale-teal); color: var(--navy-deep); border-color: var(--pale-teal); }
.btn-sm { padding: 9px 18px; font-size: .8rem; }

/* ── Surfaces & keylines ───────────────────────────────────────────── */
.box      { background: var(--paper); border: 1px solid var(--keyline); border-radius: var(--r-lg); }
.box-mist { background: var(--mist); border: 1px solid var(--keyline); border-radius: var(--r-lg); }
.keyline-t{ border-top: 1px solid var(--keyline); }
.keyline-b{ border-bottom: 1px solid var(--keyline); }
.box-dark { background: var(--navy-deep); border: 1px solid var(--ink-keyline); border-radius: var(--r-lg); }

/* Icon tiles — clean, borderless, no background fill (icon only).
   The explicit w-/h- utility sizes on .itile are intentionally kept so the
   icon stays in exactly the same position as the previous filled tile;
   only the box/border is removed and the icon grows to fill it. */
.itile { display:flex; align-items:center; justify-content:center; background: transparent; color: var(--teal-dark); border:0; border-radius:0; }
.itile .icon { width: var(--icon-tile-size); height: var(--icon-tile-size); }
/* on dark bands (e.g. contact) keep the icon light/legible */
#contact .itile { color: var(--teal-light); }
.itile-soft {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--icon-tile-size);
  height: var(--icon-tile-size);
  flex-shrink: 0;
  background: transparent;
  color: var(--teal-dark);
  border: 0;
  border-radius: 0;
  transition: color .2s ease;
}
.itile-soft .icon { width: var(--icon-tile-size); height: var(--icon-tile-size); }
/* img icons: subtle hover lift via opacity (cannot inherit currentColor) */
.svc-card:hover .itile-soft .icon-img,
.dept-cell:hover .itile-soft .icon-img,
.treatment-card:hover .itile-soft .icon-img { opacity: .85; }

/* small label chip (soft) */
.chip {
  display:inline-flex; align-items:center; gap:6px;
  font-size:.66rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase;
  padding:5px 11px; border:1px solid var(--keyline-2); color: var(--navy); background:#fff; border-radius: 999px;
}
.chip-solid { background: var(--navy); color:#fff; border-color: var(--navy); }
.chip-bright{ background: var(--teal); color:#fff; border-color: var(--teal); }

/* ── Header scrolled shadow ────────────────────────────────────────── */
#siteHeader.scrolled { box-shadow: 0 1px 0 var(--keyline), 0 6px 18px rgba(15,35,66,.08); }

/* ═══════════════════════════════════════════════════════════════════════
   HEADER · solid white bar + navy utility strip (always visible, clean)
   ═══════════════════════════════════════════════════════════════════════ */
.site-header { position: sticky; top: 0; left: 0; right: 0; z-index: 60; background: #fff; }

/* utility strip (navy) */
.util-strip { overflow: hidden; max-height: 44px; background: var(--navy-deep); border-bottom: 1px solid var(--navy-ink); }
.util-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 38px; }
.util-links { display: flex; align-items: center; }
.util-links a { font-size: .68rem; font-weight: 600; letter-spacing: .05em; padding: 4px 10px; white-space: nowrap; color: rgba(255,255,255,.8); }
.util-links a:hover { color: #fff; }
.util-portal { display: inline-flex; align-items: center; gap: 6px; color: var(--teal-light) !important; font-weight: 700; }
@media (max-width: 1024px) { .util-strip { display: none; } }

/* main bar */
.header-bar { background: #fff; }
.header-bar-inner { display: flex; align-items: center; gap: 24px; height: 92px; }
.header-logo-link { flex-shrink: 0; display: flex; align-items: center; }
.header-logo { height: 74px; width: auto; }
@media (max-width: 560px){ .header-logo { height: 50px; } }
.header-tabs { display: flex; align-items: center; gap: 0; margin: 0 auto; flex-wrap: nowrap; }
.header-tab { background: none; border: 0; cursor: pointer; font-family: inherit;
  font-size: .84rem; font-weight: 600; letter-spacing: .005em; padding: 10px 10px;
  color: var(--navy-deep); position: relative; border-radius: var(--r-sm); white-space: nowrap;
  text-decoration: none; display: inline-flex; align-items: center; }
.header-tab::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 8px; height: 2px;
  background: var(--teal); border-radius: 2px; opacity: 0; }
@media (min-width: 1280px) {
  .header-tab { font-size: .9rem; padding: 10px 14px; }
  .header-tab::after { left: 14px; right: 14px; }
}
.header-tab:hover { color: var(--teal-dark); }
.header-tab:hover::after, .header-tab.is-active::after { opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
@media (max-width: 1024px) {
  .header-tabs { display: none; }
  /* with the center tabs gone, anchor the logo to the LEFT and push the
     search + menu controls to the RIGHT edge of the bar */
  .header-bar-inner { justify-content: space-between; gap: 16px; }
  .header-logo-link { margin-right: auto; }
  /* group the controls into one right-aligned cluster, hard against the edge */
  .header-actions { margin-left: auto; }
}

/* pill buttons */
.btn-pill { display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 18px 7px 8px; font-weight: 700; font-size: .82rem; letter-spacing: .01em;
  cursor: pointer; border: 1.5px solid transparent; border-radius: 999px; white-space: nowrap; }
.pill-plus { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 999px; flex-shrink: 0; }
.pill-plus .icon { width: 13px; height: 13px; }
.btn-pill-blue { background: var(--teal); color: #fff; border-color: var(--teal); }
.btn-pill-blue .pill-plus { background: rgba(255,255,255,.26); color: #fff; }
.btn-pill-blue:hover { background: var(--teal-dark); border-color: var(--teal-dark); }
.btn-pill-white { background: #fff; color: var(--navy); border-color: #fff; }
.btn-pill-white .pill-plus { background: var(--teal); color: #fff; }
.btn-pill-white:hover { background: var(--pale-teal); color: var(--navy-deep); border-color: var(--pale-teal); }
.btn-pill-lg { padding: 10px 24px 10px 10px; font-size: .9rem; }
.btn-pill-lg .pill-plus { width: 30px; height: 30px; }
.btn-pill-lg .pill-plus .icon { width: 15px; height: 15px; }

/* icon buttons (search / menu / close) — SOLID filled, clearly visible */
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
  border-radius: 999px; border: 1.5px solid var(--navy); background: var(--navy); color: #fff; cursor: pointer; }
.icon-btn .icon { width: 20px; height: 20px; }
.icon-btn:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.menu-toggle { background: var(--teal); border-color: var(--teal); }
.menu-toggle:hover { background: var(--navy); border-color: var(--navy); }
.icon-btn-ghost { background: var(--pale-navy); border-color: var(--keyline-2); color: var(--navy); }
.icon-btn-ghost:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* inline search panel */
.header-search { background: #fff; border-top: 1px solid var(--keyline); border-bottom: 1px solid var(--keyline); }
.header-search[hidden] { display: none; }
.header-search-form { display: flex; align-items: center; gap: 14px; padding: 16px 0; }
.header-search-icon { color: var(--teal-dark); }
.header-search-form input { flex: 1; border: 0; outline: 0; background: transparent; font-family: inherit; font-size: 1.05rem; color: var(--text); }
.header-search-close { background: none; border: 0; cursor: pointer; color: var(--text-soft); }
.header-search-close:hover { color: var(--navy); }

/* ═══════════════════════════════════════════════════════════════════════
   FULL-SCREEN OVERLAY MEGA-MENU (functional — instant show/hide)
   ═══════════════════════════════════════════════════════════════════════ */
.nav-overlay { position: fixed; inset: 0; z-index: 90; background: #fff;
  display: flex; flex-direction: column; opacity: 0; visibility: hidden; }
.nav-overlay.is-open { opacity: 1; visibility: visible; }
body.menu-open { overflow: hidden; }

.nav-overlay-top { border-bottom: 1px solid var(--keyline); flex-shrink: 0; }
.nav-overlay-top-inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.nav-overlay-logo { flex-shrink: 0; display: flex; align-items: center; }
.nav-overlay-logo img { height: 52px; width: auto; }
.nav-overlay-tabs { display: flex; align-items: center; gap: 2px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.ov-tab { background: none; border: 0; cursor: pointer; font-family: inherit;
  font-size: 1rem; font-weight: 600; color: #8794a8; padding: 8px 14px; position: relative; border-radius: var(--r-sm);
  text-decoration: none; display: inline-flex; align-items: center; }
.ov-tab:hover { color: var(--navy-deep); }
.ov-tab.is-active { color: var(--teal-dark); }
.ov-tab.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px; background: var(--teal); border-radius: 2px; }
.nav-overlay-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.nav-overlay-scroll { flex: 1; overflow-y: auto; padding: 44px 0 64px; }

.ov-panel { display: none; }
.ov-panel.is-active { display: block; }

/* shared intro + link columns (About / Research) */
.ov-split { display: grid; grid-template-columns: 320px 1fr; gap: 52px; align-items: start; }
.ov-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .68rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; color: var(--teal-dark); }
.ov-eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--teal); border-radius: 2px; }
.ov-intro-title { font-size: clamp(1.5rem, 2.3vw, 2.1rem); font-weight: 800; line-height: 1.12;
  letter-spacing: -.01em; color: var(--navy-deep); margin: 16px 0 14px; }
.ov-intro-text { font-size: .92rem; line-height: 1.7; color: var(--text-soft); margin-bottom: 22px; }
.ov-knowmore { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700;
  letter-spacing: .01em; color: var(--teal-dark); padding-bottom: 3px; border-bottom: 2px solid var(--teal); }
.ov-knowmore:hover { color: var(--teal); }

/* Treatments mega-menu: specialties + separate care-pathways box */
.ov-split-treatments { grid-template-columns: 280px 1fr; gap: 40px; }
.ov-treat-main {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 300px);
  gap: 28px;
  align-items: start;
  min-width: 0;
}
.ov-care-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 14px 14px;
  border: 1px solid var(--keyline);
  border-radius: var(--r);
  background: var(--mist);
  box-sizing: border-box;
}
.ov-care-label {
  display: block;
  margin: 0 10px 10px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal-dark);
}
.ov-care-box a {
  display: block;
  padding: 11px 12px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--navy-deep);
  line-height: 1.35;
  border-radius: calc(var(--r) - 2px);
  transition: color .15s ease, background .15s ease;
}
.ov-care-box a:hover {
  color: var(--teal-dark);
  background: #fff;
}

.ov-linkcols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 18px; }
.ov-linkcols-2 { grid-template-columns: repeat(2, 1fr); }
.ov-linkcols-3 { grid-template-columns: repeat(3, 1fr); }
.ov-linkcard { display: block; padding: 13px 15px; border-left: 2px solid transparent; border-radius: var(--r-sm); }
.ov-linkcard:hover { background: var(--pale-teal); border-left-color: var(--teal); }
.ov-lc-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ov-lc-h { font-weight: 700; font-size: .92rem; color: var(--navy-deep); }
.ov-lc-chev { color: var(--teal); opacity: 0; }
.ov-linkcard:hover .ov-lc-chev { opacity: 1; }
.ov-lc-d { display: block; font-size: .79rem; color: var(--text-soft); margin-top: 3px; line-height: 1.45; }

/* master / detail (Academics) */
.ov-md { display: grid; grid-template-columns: 300px 1fr; gap: 44px; align-items: start; }
.ov-md-list { display: flex; flex-direction: column; gap: 4px; border-right: 1px solid var(--keyline); padding-right: 22px; }
.ov-md-item { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: none; border: 0; border-left: 3px solid transparent; cursor: pointer; font-family: inherit;
  text-align: left; padding: 14px 18px; font-size: 1rem; font-weight: 600; color: var(--text-soft);
  border-radius: var(--r-sm); text-decoration: none; width: 100%; box-sizing: border-box; }
.ov-md-item .icon { color: var(--teal); opacity: .5; }
.ov-md-item:hover { background: var(--mist); color: var(--navy-deep); }
.ov-md-item.is-active { background: var(--pale-teal); color: var(--teal-dark); border-left-color: var(--teal); }
.ov-md-item.is-active .icon { opacity: 1; }
/* Standalone CTA under Academics sidebar (not a tab item) */
.ov-md-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: calc(100% - 16px);
  margin: 14px 8px 4px;
  padding: 12px 16px;
  box-sizing: border-box;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  border: 1px solid transparent;
  box-shadow: 0 6px 16px rgba(23, 128, 120, .28);
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}
.ov-md-cta .icon { color: #fff; flex-shrink: 0; }
.ov-md-cta:hover {
  background: var(--teal-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(23, 128, 120, .34);
}
.ov-md-pane { display: none; }
.ov-md-pane.is-active { display: block; }
.ov-md-h { font-size: 1.25rem; font-weight: 800; color: var(--navy-deep); margin-bottom: 18px; }
.ov-md-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.ov-md-link { display: block; padding: 16px 18px; border: 1px solid var(--keyline); background: #fff; border-radius: var(--r); }
.ov-md-link:hover { border-color: var(--teal); background: var(--pale-teal); }
.ov-md-link-h { display: block; font-weight: 700; font-size: .92rem; color: var(--navy-deep); }
.ov-md-link-d { display: block; font-size: .8rem; color: var(--text-soft); margin-top: 4px; }

/* department image-card grid */
.ov-deptgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.ov-deptcard { display: flex; flex-direction: column; border: 1px solid var(--keyline); background: #fff; overflow: hidden; border-radius: var(--r-lg); }
.ov-deptcard:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); }
.ov-dept-img { display: block; aspect-ratio: 16 / 11; overflow: hidden; }
.ov-dept-img img { width: 100%; height: 100%; object-fit: cover; }
.ov-dept-body { padding: 13px 14px 16px; }
.ov-dept-name { display: block; font-weight: 700; font-size: .85rem; line-height: 1.3; color: var(--navy-deep); }
.ov-dept-d { display: block; font-size: .75rem; color: var(--text-soft); margin-top: 5px; line-height: 1.45; }

/* campus-life image cards */
.ov-campusgrid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 188px; gap: 16px; }
.ov-campuscard { position: relative; display: block; overflow: hidden; border: 1px solid var(--keyline); border-radius: var(--r-lg); }
.ov-campus-lg { grid-column: span 2; grid-row: span 2; }
.ov-campus-img { position: absolute; inset: 0; }
.ov-campus-img img { width: 100%; height: 100%; object-fit: cover; }
.ov-campuscard::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,35,66,.88) 0%, rgba(14,35,66,.25) 48%, rgba(14,35,66,0) 78%); }
.ov-campus-body { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 18px; }
.ov-campus-name { color: #fff; font-weight: 700; font-size: 1rem; }
.ov-campus-lg .ov-campus-name { font-size: 1.3rem; }
.ov-campus-d { color: rgba(255,255,255,.85); font-size: .8rem; margin-top: 5px; line-height: 1.5; }

/* More panel — util-strip links surfaced for mobile / overlay */
.ov-more { display: grid; gap: 32px; max-width: 960px; }
.ov-more-h {
  font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  color: var(--teal-dark); margin: 0 0 14px;
}
.ov-more-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.ov-more-link {
  display: flex; flex-direction: column; gap: 4px;
  padding: 16px 16px 15px; border: 1px solid var(--keyline); border-radius: var(--r-lg);
  background: #fff; text-decoration: none; color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.ov-more-link:hover {
  border-color: var(--teal); background: var(--pale-teal); box-shadow: var(--shadow-sm); text-decoration: none;
}
.ov-more-link-h {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .92rem; font-weight: 700; color: var(--navy-deep); line-height: 1.3;
}
.ov-more-link-d { font-size: .76rem; color: var(--text-soft); line-height: 1.4; }

@media (max-width: 1080px) { .ov-deptgrid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 880px) {
  .nav-overlay-top-inner { height: auto; gap: 10px 12px; flex-wrap: wrap; padding: 12px 0; }
  .nav-overlay-logo img { height: 44px; }
  .nav-overlay-tabs {
    order: 3; width: 100%; margin: 8px 0 0; justify-content: flex-start;
    flex-wrap: nowrap; overflow-x: auto; gap: 6px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }
  .nav-overlay-tabs::-webkit-scrollbar { display: none; }
  .ov-tab {
    flex-shrink: 0; font-size: .78rem; font-weight: 700; letter-spacing: .02em;
    padding: 9px 14px; border-radius: 999px; background: var(--mist); color: var(--text-soft);
  }
  .ov-tab::after { display: none; }
  .ov-tab.is-active {
    color: #fff; background: var(--navy); box-shadow: inset 0 0 0 1px var(--navy);
  }
  .ov-tab:hover { color: var(--navy-deep); }
  .ov-tab.is-active:hover { color: #fff; }
  .nav-overlay-actions { margin-left: auto; }
  .nav-overlay-scroll { padding: 20px 0 56px; }
  .ov-split, .ov-split-treatments, .ov-md { grid-template-columns: 1fr; gap: 28px; }
  .ov-treat-main { grid-template-columns: 1fr minmax(240px, 280px); gap: 22px; }
  .ov-md-list { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; border-right: 0; padding-right: 0;
    border-bottom: 1px solid var(--keyline); padding-bottom: 12px; gap: 8px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .ov-md-list::-webkit-scrollbar { display: none; }
  .ov-md-item { border-left: 0; border-bottom: 3px solid transparent; padding: 10px 14px; flex-shrink: 0; }
  .ov-md-item.is-active { border-left-color: transparent; border-bottom-color: var(--teal); }
  .ov-md-cta {
    width: auto;
    margin: 0 0 0 4px;
    padding: 10px 16px;
    flex-shrink: 0;
    white-space: nowrap;
  }
  .ov-linkcols, .ov-linkcols-2, .ov-linkcols-3 { grid-template-columns: repeat(2, 1fr); }
  .ov-md-grid { grid-template-columns: 1fr; }
  .ov-campusgrid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .ov-more-grid { grid-template-columns: repeat(2, 1fr); }
  .ov-deptcard-featured { grid-column: 1 / -1; }
  .ov-deptcard-featured .ov-dept-img { aspect-ratio: 21 / 9; }
}
@media (max-width: 560px) {
  .ov-deptgrid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .ov-linkcols, .ov-linkcols-2, .ov-linkcols-3 { grid-template-columns: 1fr; }
  .ov-treat-main { grid-template-columns: 1fr; }
  .ov-campusgrid { grid-template-columns: 1fr; grid-auto-rows: 150px; }
  .ov-campus-lg { grid-column: auto; grid-row: auto; }
  .ov-more-grid { grid-template-columns: 1fr; gap: 8px; }
  .ov-more-link { padding: 14px 14px 13px; }
  .ov-deptcard-featured .ov-dept-img { aspect-ratio: 16 / 9; }
  /* Keep Admissions reachable inside the overlay on small phones */
  .nav-overlay-actions .btn-pill .pill-label { max-width: 9ch; overflow: hidden; text-overflow: ellipsis; }
}

/* ═══════════════════════════════════════════════════════════════════════
   HERO · static single image + navy scrim (no slider, no motion)
   ═══════════════════════════════════════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  min-height: 70vh;
  display: flex; align-items: center;
  padding: 56px 0 160px;
  border-bottom: 4px solid var(--teal);
  background: var(--navy-ink);
}
.hero-bg { position: absolute; inset: 0; z-index: 1; }
/* "Live" Ken-Burns image: starts zoomed in, eases out, then loops with
   subtle varied pan/scale drift. Extra size gives headroom so panning never
   reveals empty edges. overflow:hidden on .hero keeps it from scrolling.
   Stops once the looping hero video is ready (see .is-video-ready). */
.hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  transform-origin: center;
  will-change: transform;
  animation: hero-kenburns 45s cubic-bezier(.45,.05,.55,.95) infinite;
}
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transition: opacity .7s ease;
}
.hero-bg-video.is-ready { opacity: 1; }
.hero-bg.is-video-ready img {
  animation: none;
  transform: none;
  will-change: auto;
}
@keyframes hero-kenburns {
  0%   { transform: scale(1.16) translate(0%, 0%); }
  14%  { transform: scale(1.12) translate(-2.6%, 1.6%); }
  28%  { transform: scale(1.10) translate(2.4%, -1.2%); }
  42%  { transform: scale(1.13) translate(2.8%, 2.2%); }
  56%  { transform: scale(1.09) translate(-2.2%, -2.4%); }
  70%  { transform: scale(1.14) translate(-2.8%, -1%); }
  84%  { transform: scale(1.11) translate(1.8%, -2.6%); }
  100% { transform: scale(1.16) translate(0%, 0%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; transform: none; will-change: auto; }
  .hero-bg-video { display: none; }
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(100deg, rgba(14,35,66,.92) 0%, rgba(21,49,94,.74) 38%, rgba(14,35,66,.34) 66%, rgba(47,181,173,.10) 100%),
    linear-gradient(to top, rgba(14,35,66,.6) 0%, rgba(14,35,66,0) 36%);
}
.hero-overlay { position: relative; z-index: 3; width: 100%; }
.hero-overlay-inner { max-width: 720px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(47,181,173,.18); border: 1px solid rgba(127,214,206,.5);
  padding: 7px 15px; color: #eafaf8; border-radius: 999px;
  font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.hero-title {
  font-size: clamp(1.9rem, 5.2vw, 4rem); font-weight: 800;
  line-height: 1.04; letter-spacing: -0.02em; color: #fff;
  white-space: nowrap;
  text-shadow: 0 2px 24px rgba(14,35,66,.4);
  white-space: nowrap;       /* keep "Excellence in Dental Education" on ONE line */
}
.hero-title .accent-bright { color: var(--teal-light); white-space: nowrap; }
@media (max-width: 768px) {
  .hero-title { white-space: normal; font-size: clamp(1.85rem, 8.4vw, 2.6rem); }
  .hero-title .accent-bright { white-space: nowrap; }  /* keep "Dental Education" intact */
}
.hero-sub { color: rgba(255,255,255,.92); max-width: 540px; }
.hero-meta {
  display: inline-flex; align-items: stretch;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.24);
  border-radius: var(--r-lg); overflow: hidden;
}
.hero-meta > div { padding: 12px 18px; }
.hero-meta > div + div { border-left: 1px solid rgba(255,255,255,.18); }

@media (max-width: 900px) {
  .hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    min-height: 100svh;
    min-height: 100dvh;
    padding: 0 0 28px;
  }
  .hero-scrim {
    background:
      /* bottom-up navy so titles/CTAs at the base stay readable */
      linear-gradient(
        to top,
        rgba(14, 35, 66, 0.94) 0%,
        rgba(14, 35, 66, 0.82) 22%,
        rgba(21, 49, 94, 0.58) 42%,
        rgba(14, 35, 66, 0.28) 62%,
        rgba(14, 35, 66, 0.08) 78%,
        rgba(14, 35, 66, 0) 100%
      ),
      /* soft full-frame wash like desktop for mid-banner contrast */
      linear-gradient(
        165deg,
        rgba(14, 35, 66, 0.55) 0%,
        rgba(14, 35, 66, 0.28) 38%,
        rgba(14, 35, 66, 0.12) 100%
      );
  }
  .hero-overlay {
    margin-top: auto;
    padding-top: clamp(72px, 16vh, 140px);
  }
  .hero-overlay-inner { max-width: 100%; }
}
@media (max-width: 560px) {
  .hero { padding: 0 0 22px; min-height: 80svh; min-height: 80dvh; }
  .hero-overlay { padding-top: clamp(56px, 12vh, 110px); }
  /* meta bar: equal-width cells, full row, no overflow on small phones */
  .hero-meta { display: flex; width: 100%; }
  .hero-meta > div { flex: 1 1 0; min-width: 0; padding: 11px 12px; }
}

/* ── Admissions callout (original SAIDS panel — no thumbnail / arrows) ── */
.ad-callout {
  position: absolute; right: 30px; bottom: 46px; z-index: 4;
  width: 340px; max-width: calc(100% - 60px);
  background: #fff; border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--keyline);
  overflow: hidden;
}
.ad-callout-accent { height: 6px; background: linear-gradient(90deg, var(--navy) 0%, var(--teal) 100%); }
.ad-callout-body { padding: 22px 24px 24px; }
.ad-callout-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--pale-teal); color: var(--teal-dark);
  font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
}
.ad-callout-title { font-size: 1.35rem; font-weight: 800; color: var(--navy-deep); line-height: 1.1; margin: 14px 0 8px; letter-spacing: -.01em; }
.ad-callout-text { font-size: .85rem; line-height: 1.6; color: var(--text-soft); margin-bottom: 16px; }
.ad-callout .btn { width: 100%; justify-content: center; }
@media (max-width: 900px) {
  .ad-callout { position: relative; right: auto; bottom: auto; width: auto; max-width: none; margin: 28px 0 0; }
}

/* ═══════════════════════════════════════════════════════════════════════
   FLASH NEWS · vertical auto-scroll (desktop) · horizontal scroll (mobile)
   ═══════════════════════════════════════════════════════════════════════ */
.flash-bar { background: #fff; border-bottom: 1px solid var(--keyline); }
.flash-inner { display: flex; align-items: center; gap: 18px; height: 54px; }
.flash-label { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  background: var(--navy); color: #fff; font-size: .64rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; padding: 7px 13px; border-radius: 999px; }
.flash-viewport { position: relative; flex: 1; min-width: 0; height: 54px; overflow: hidden; }
.flash-track { display: block; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.flash-item { display: flex; align-items: center; gap: .6rem; height: 54px; font-size: .85rem;
  color: var(--text); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flash-item .dot { width: 6px; height: 6px; background: var(--teal); border-radius: 999px; flex-shrink: 0; }
.flash-all { flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; font-size: .74rem;
  font-weight: 700; letter-spacing: .01em; color: var(--teal-dark); }
.flash-all:hover { color: var(--teal); }
@media (max-width: 768px) {
  .flash-inner { height: auto; flex-wrap: wrap; padding: 10px 0; gap: 10px 14px; }
  /* Full-bleed horizontal scroller (consistent with .m-hscroll rows). The
     +40px width with -20px left margin makes the track span the viewport
     using the page gutter, while inner padding keeps the first item aligned
     to the page content. */
  .flash-viewport { order: 3; flex: 0 0 auto; width: calc(100% + 40px); height: auto;
    margin-left: -20px; margin-right: -20px; padding: 2px 20px 0;
    overflow-x: auto; overflow-y: visible; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; scroll-snap-type: x proximity;
    scroll-padding-left: 20px; scroll-padding-right: 20px; }
  .flash-viewport::-webkit-scrollbar { display: none; }
  .flash-track { display: flex; gap: 12px; transform: none !important; }
  /* Items must NOT shrink to zero: the base rule clips with overflow:hidden,
     which would collapse the flex min-size. Reset to fixed-width readable
     cards that scroll horizontally one-by-one. */
  .flash-item { flex: 0 0 78%; height: auto; white-space: normal; overflow: visible;
    align-items: flex-start; gap: .5rem; line-height: 1.45; padding: 9px 13px;
    border: 1px solid var(--keyline); border-radius: var(--r); background: #fff;
    font-size: .8rem; scroll-snap-align: start; }
  .flash-item .dot { margin-top: .42rem; }
  .flash-all { margin-left: auto; }
}

/* ═══════════════════════════════════════════════════════════════════════
   LAYERED HELPERS / GRIDS
   ═══════════════════════════════════════════════════════════════════════ */
.layer { position: relative; }
.offset-panel { position: absolute; z-index: 0; border-radius: var(--r); }
.offset-blue   { background: var(--teal); }
.offset-deep   { background: var(--navy-deep); }
.front { position: relative; z-index: 2; }

.grid-keylines { display: grid; gap: 1px; background: var(--keyline); border: 1px solid var(--keyline); border-radius: var(--r-lg); overflow: hidden; }
.grid-keylines > * { background: #fff; }
.grid-keylines.on-dark { background: var(--ink-keyline); border-color: var(--ink-keyline); }
.grid-keylines.on-dark > * { background: transparent; }

.dept-grid { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 560px){ .dept-grid { grid-template-columns: 1fr; } }
.dept-cell .itile-soft { justify-content: flex-start; }
.dept-cell:hover { background: var(--pale-navy) !important; }
.dept-cell:hover .itile-soft { color: var(--teal); }
.dept-cell:hover h4 { color: var(--teal-dark); }

/* ── News & Events (section 06) — modern editorial cards + headlines rail ── */
.news-layout { display: grid; grid-template-columns: 1fr 340px; gap: 26px; align-items: start; }
.news-cards  { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.ncard {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--keyline); border-radius: var(--r-lg); overflow: hidden;
}
.ncard:hover { border-color: var(--teal); box-shadow: var(--shadow-md); }
.ncard-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.ncard-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,35,66,.32) 0%, rgba(14,35,66,0) 52%); }
.ncard-date {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.96); color: var(--navy); border-radius: 999px;
  padding: 5px 11px; font-size: .66rem; font-weight: 800; letter-spacing: .02em;
  box-shadow: var(--shadow-sm);
}
.ncard-date .icon { width: 13px; height: 13px; color: var(--teal-dark); }
.ncard-date .icon-img { width: 13px; height: 13px; }
.ncard-body { display: flex; flex-direction: column; flex: 1; padding: 18px; }
.ncard-cat { font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 9px; }
.ncard-title { font-size: .95rem; font-weight: 800; letter-spacing: -.01em; color: var(--text); line-height: 1.3; margin-bottom: 8px; }
.ncard:hover .ncard-title { color: var(--navy); }
.ncard-ex { font-size: .8rem; color: var(--text-soft); line-height: 1.6; }
.ncard-more { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .02em; color: var(--navy); }
.ncard:hover .ncard-more { color: var(--teal-dark); }

/* headlines rail */
.news-rail { background: var(--mist); border: 1px solid var(--keyline); border-radius: var(--r-lg); padding: 20px 22px; }
.news-rail-h { display: flex; align-items: center; gap: 9px; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); padding-bottom: 14px; border-bottom: 2px solid var(--teal); }
.news-rail-h .icon { width: 18px; height: 18px; color: var(--teal-dark); }
.nh-item { display: flex; gap: 13px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--keyline); }
.nh-item:last-of-type { border-bottom: 0; }
.nh-date { flex-shrink: 0; width: 48px; background: #fff; border: 1px solid var(--keyline); border-radius: var(--r); padding: 7px 0; text-align: center;
  transition: border-color .2s ease, background-color .2s ease; }
.nh-date .d { font-size: 1.05rem; font-weight: 900; color: var(--navy); line-height: 1; }
.nh-date .m { font-size: .55rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-dark); margin-top: 3px; }
.nh-item:hover .nh-date { border-color: var(--teal); background: var(--pale-teal); }
.nh-title { font-size: .8rem; font-weight: 600; color: var(--text); line-height: 1.45; }
.nh-item:hover .nh-title { color: var(--navy); }
.news-rail-btn { margin-top: 18px; }
@media (max-width: 980px) { .news-layout { grid-template-columns: 1fr; gap: 22px; } }
@media (max-width: 768px) {
  .news-cards.m-hscroll { grid-template-columns: none; }
  .news-cards.m-hscroll > * { border-top: 1px solid var(--keyline) !important; }
}

/* ── Treatments & Services (section 03) — highlighted spotlight + grid ── */
.svc-spotlight {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 0;
  border: 1px solid var(--ink-keyline); border-radius: var(--r-xl); overflow: hidden;
  background: var(--navy-deep);
  margin-bottom: 28px;
}
.svc-spotlight-body { padding: clamp(28px, 4vw, 48px); }
.svc-spotlight-media { position: relative; min-height: 280px; }
.svc-spotlight-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-spotlight-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,35,66,.6) 0%, rgba(14,35,66,0) 45%);
}
.svc-stats { display: flex; gap: 30px; flex-wrap: wrap; margin-top: 26px; }
.svc-stat-n { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; color: #fff; line-height: 1; letter-spacing: -.02em; }
.svc-stat-l { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--teal-light); margin-top: 7px; font-weight: 700; }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.svc-card {
  background: #fff; border: 1px solid var(--keyline); border-radius: var(--r-lg);
  padding: 22px 22px 20px; display: flex; flex-direction: column;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.svc-card:hover { border-color: var(--teal); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.svc-card .itile-soft { justify-content: flex-start; margin-bottom: 14px; transition: color .2s ease; }
.svc-card:hover .itile-soft { color: var(--teal); }
.svc-card-h { font-size: .98rem; font-weight: 800; letter-spacing: -.01em; color: var(--text); line-height: 1.25; margin-bottom: 11px; }
.svc-list { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.svc-list li { position: relative; padding-left: 16px; font-size: .8rem; color: var(--text-soft); line-height: 1.5; }
.svc-list li::before { content: ""; position: absolute; left: 0; top: .52em; width: 6px; height: 6px; border-radius: 999px; background: var(--teal); }
.svc-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .02em; color: var(--navy); }
.svc-card:hover .svc-more { color: var(--teal-dark); }
@media (max-width: 980px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .svc-spotlight { grid-template-columns: 1fr; }
  .svc-spotlight-media { order: -1; min-height: 200px; }
  .svc-spotlight-media::after { background: linear-gradient(0deg, rgba(14,35,66,.55) 0%, rgba(14,35,66,0) 55%); }
  /* keep the full card border when the grid becomes a horizontal scroller */
  .svc-grid.m-hscroll > * { border-top: 1px solid var(--keyline) !important; }
}

/* ── Campus gallery — fully-tiled mosaic (no blank tiles) ──────────── */
.campus-gallery {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 200px);
  gap: 12px; margin-top: 36px;
}
.gal-item { position: relative; overflow: hidden; border: 1px solid var(--keyline); border-radius: var(--r-lg); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; }
.gal-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1 / 3; }
.gal-item:nth-child(2) { grid-column: 3 / 5; grid-row: 1 / 2; }
.gal-item:nth-child(3) { grid-column: 3 / 4; grid-row: 2 / 3; }
.gal-item:nth-child(4) { grid-column: 4 / 5; grid-row: 2 / 3; }
.gal-item:nth-child(5) { grid-column: 1 / 3; grid-row: 3 / 4; }
.gal-item:nth-child(6) { grid-column: 3 / 5; grid-row: 3 / 4; }
@media (max-width: 760px) {
  .campus-gallery { display: flex; grid-template: none; overflow-x: auto; gap: 14px;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 6px; }
  .campus-gallery::-webkit-scrollbar { display: none; }
  .gal-item, .gal-item:nth-child(n) { grid-column: auto !important; grid-row: auto !important;
    flex: 0 0 78%; height: 230px; scroll-snap-align: start; }
}

/* ── Collaborations — partner logo strip ───────────────────────────── */
.collab-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 28px); margin-top: 36px;
}
.collab-strip > * { min-width: 0; }
.collab-logo {
  display: flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--keyline); border-radius: var(--r-lg);
  padding: clamp(20px, 3.5vw, 38px);
  transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
.collab-logo img {
  max-width: 100%; width: auto; height: auto; max-height: 60px; object-fit: contain;
  filter: grayscale(1); opacity: .72; transition: filter .3s ease, opacity .3s ease;
}
.collab-logo:hover {
  box-shadow: 0 14px 34px -16px rgba(28,60,112,.32); transform: translateY(-3px); border-color: var(--keyline-2);
}
.collab-logo:hover img { filter: grayscale(0); opacity: 1; }
@media (max-width: 640px) {
  .collab-strip { grid-template-columns: 1fr; }
  .collab-logo img { max-height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  .collab-logo, .collab-logo img { transition: none; }
}

/* ── Oversized index numbers / vertical labels ─────────────────────── */
.bleed-num {
  font-weight: 900; line-height: .8; letter-spacing: -0.04em;
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  color: var(--pale-navy); margin-left: -0.04em;
}
.bleed-num.ghost { color: transparent; -webkit-text-stroke: 1.5px var(--keyline-2); }
.vlabel {
  writing-mode: vertical-rl; text-orientation: mixed;
  font-size: .64rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--teal-dark);
}
.vlabel.on-dark { color: var(--teal-light); }

/* ── Sticky two-pane ───────────────────────────────────────────────── */
.sticky-split { display: grid; gap: 0; }
/* allow panes to shrink below content min-size so nested horizontal
   scrollers (.m-hscroll) stay contained instead of widening the page */
.sticky-split > * { min-width: 0; }
.split-5-7 { grid-template-columns: 5fr 7fr; }
.split-4-8 { grid-template-columns: 4fr 8fr; }
.split-7-5 { grid-template-columns: 7fr 5fr; }
.sticky-pane { position: sticky; top: calc(var(--header-h) + 26px); align-self: start; }
.split-rule { border-left: 1px solid var(--keyline); }
.scroll-stack > * { border-top: 1px solid var(--keyline); }
.scroll-stack > *:first-child { border-top: 0; }
@media (max-width: 900px) {
  .sticky-split { grid-template-columns: 1fr !important; }
  .sticky-pane { position: static; top: auto; }
  .split-rule { border-left: 0; border-top: 1px solid var(--keyline); }
}
/* Cover tablet+phone when grid stacks: Tailwind py-[96px] otherwise leaves huge gaps */
@media (max-width: 900px) {
  body:not(.is-inner) .sticky-split > .sticky-pane { padding-top: 32px !important; padding-bottom: 10px !important; }
  body:not(.is-inner) .sticky-split > .split-rule  { padding-top: 18px !important; padding-bottom: 32px !important; }
  body:not(.is-inner) .sticky-split .eyebrow { margin-bottom: 12px !important; }
  body:not(.is-inner) .sticky-split .bleed-num { display: none; }
}

/* ── Fixed side rail ───────────────────────────────────────────────── */
.side-rail { position: fixed; left: 0; top: 50%; transform: translateY(-50%); z-index: 40; display: none;
  flex-direction: column; align-items: center; gap: 0; padding: 14px 6px; width: 44px; }
.side-rail .rail-mark { margin-bottom: 16px; }
.side-rail .rail-line { width: 1px; flex: 1; background: var(--keyline); margin: 6px 0; min-height: 18px; }
.rail-tick { position: relative; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; }
.rail-tick .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--keyline-2); border: 1px solid var(--keyline-2); }
.rail-tick:hover .dot, .rail-tick:focus-visible .dot { background: var(--teal); border-color: var(--teal); }
/* active (scroll-spy) — brand teal tick + teal indicator bar */
.rail-tick.is-active .dot { background: var(--teal); border-color: var(--teal); transform: scale(1.35); box-shadow: 0 0 0 4px rgba(47, 181, 173, .18); }
.rail-tick .rail-label { position: absolute; left: 34px; white-space: nowrap; background: var(--navy-ink); color: #fff;
  padding: 4px 9px; border-radius: var(--r-sm); font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  opacity: 0; pointer-events: none; }
.rail-tick:hover .rail-label, .rail-tick:focus-visible .rail-label { opacity: 1; }
.rail-tick.is-active .rail-label { color: var(--teal-light); }
section[id]:target { scroll-margin-top: calc(var(--header-h) + 20px); }
@media (min-width: 1360px) { .side-rail { display: flex; } }

/* ── Bento mosaic ──────────────────────────────────────────────────── */
.bento { display: grid; gap: 1px; background: var(--keyline); border: 1px solid var(--keyline); grid-auto-flow: dense; border-radius: var(--r-lg); overflow: hidden; }
.bento > * { background: #fff; }
.bento-stats { grid-template-columns: repeat(4, 1fr); }
.bento-accred { grid-template-columns: repeat(4, 1fr); }
.b-2x2 { grid-column: span 2; grid-row: span 2; }
.b-2x1 { grid-column: span 2; }
.b-1x2 { grid-row: span 2; }
.bento-tile { padding: 34px; display: flex; flex-direction: column; justify-content: center; }
.bento.is-light > * { background: #fff; }
.bento-tile.feature-bright {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%) !important; color: #fff;
  box-shadow: inset 0 4px 0 var(--teal);
}
.bento-tile.tint { background: var(--pale-teal) !important; }

/* Stem Cell Centre — navy research accent within the stats mosaic */
.bento-tile.stem-tile {
  position: relative;
  overflow: hidden;
  justify-content: center;
  background:
    radial-gradient(ellipse at 92% 18%, rgba(47, 181, 173, 0.28), transparent 48%),
    linear-gradient(130deg, #15315e 0%, #1c3c70 48%, #0e2342 100%) !important;
  color: #fff;
  box-shadow: inset 0 4px 0 var(--teal);
}
.stem-tile-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "icon copy cta";
  align-items: center;
  gap: 16px 20px;
  width: 100%;
}
.stem-tile-body {
  display: contents;
}
.stem-tile-icon {
  grid-area: icon;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(47, 181, 173, 0.16);
  border: 1px solid rgba(127, 214, 206, 0.35);
  color: var(--teal-light);
}
.stem-tile-icon .icon,
.stem-tile-icon .icon-img { width: 26px; height: 26px; }
.stem-tile-copy {
  grid-area: copy;
  min-width: 0;
}
.stem-tile-eyebrow {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 6px;
}
.stem-tile-title {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: #fff;
}
.stem-tile-sub {
  margin: 8px 0 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  max-width: 340px;
}
.stem-tile-cta {
  grid-area: cta;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  justify-self: end;
  align-self: center;
  box-sizing: border-box;
  width: max-content;
  max-width: 100%;
  height: auto;
  padding: 11px 18px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--navy-deep);
  background: #fff;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, transform .15s ease;
}
.stem-tile-cta:hover {
  background: var(--pale-teal);
  color: var(--navy-deep);
  text-decoration: none;
  transform: translateY(-1px);
}
.stem-tile-cta .icon { color: var(--teal-dark); width: 14px; height: 14px; flex-shrink: 0; }
.stem-tile-cta .icon-img { width: 14px; height: 14px; flex-shrink: 0; }
@media (max-width: 768px) {
  .stem-tile-inner {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "icon copy"
      ".    cta";
    align-items: start;
    gap: 12px 16px;
  }
  .stem-tile-icon { width: 46px; height: 46px; }
  .stem-tile-icon .icon,
  .stem-tile-icon .icon-img { width: 22px; height: 22px; }
  .stem-tile-cta {
    justify-self: start;
    margin-top: 2px;
  }
}
@media (max-width: 900px) {
  .bento-stats, .bento-accred { grid-template-columns: repeat(2, 1fr); }
  .b-2x2 { grid-column: span 2; grid-row: span 1; }
  .bento-tile { padding: 26px; }
}
@media (max-width: 520px) {
  /* compact 2-up grid of small cards on phones; intro + wide tiles stay full width */
  .bento-stats, .bento-accred { grid-template-columns: repeat(2, 1fr); }
  .b-2x2 { grid-column: span 2; grid-row: span 1; }
  .b-2x1 { grid-column: span 2; }
  .bento-tile { padding: 18px 16px; }
  .bento-tile.feature-bright { padding: 24px 20px; }
}

/* stable tabular figures for stats */
.counter { font-variant-numeric: tabular-nums; }

/* ═══════════════════════════════════════════════════════════════════════
   FOOTER · navy, airy
   ═══════════════════════════════════════════════════════════════════════ */
.ft-cta { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%); color: #fff; }
.ft-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; flex-wrap: wrap; padding: 64px 0 32px; }
.ft-cta-eyebrow { display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.9); }
.ft-cta-title { font-size: clamp(1.7rem, 2.8vw, 2.5rem); font-weight: 800; line-height: 1.1; letter-spacing: -.01em; margin: 14px 0 10px; max-width: 660px; }
.ft-cta-text { font-size: .96rem; line-height: 1.6; color: rgba(255,255,255,.92); max-width: 560px; }
.ft-cta-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* bulky highlights strip inside the CTA band */
.ft-cta-highlights { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 40px;
  padding-bottom: 56px; border-top: 1px solid rgba(255,255,255,.28); }
.ft-cta-hl { display: flex; align-items: center; gap: 13px; padding: 26px 24px 26px 0; }
.ft-cta-hl + .ft-cta-hl { border-left: 1px solid rgba(255,255,255,.2); padding-left: 24px; }
.ft-cta-hl .icon { color: #fff; width: var(--icon-tile-size); height: var(--icon-tile-size); flex-shrink: 0; }
.ft-cta-hl-h { font-size: .98rem; font-weight: 800; color: #fff; letter-spacing: -.01em; }
.ft-cta-hl-d { font-size: .75rem; color: rgba(255,255,255,.85); margin-top: 2px; }
/* Mobile + tablet (below the lg/desktop breakpoint). Tailwind's responsive
   .container utility caps width to 768px and centres it from ~768–1023px,
   which left teal "dark" gaps on BOTH sides of the band and made the content
   look indented. Break the band's container out to full width and left-align
   the whole thing (heading, text, buttons, stat rows) onto one left edge. */
@media (max-width: 1023px) {
  .ft-cta .container { max-width: 100%; }
  .ft-cta-inner { flex-direction: column; align-items: stretch; text-align: left; gap: 18px; padding: 40px 0 24px; }
  .ft-cta-actions { width: 100%; }
  .ft-cta-actions > a { flex: 1 1 auto; justify-content: center; }
  .ft-cta-highlights { grid-template-columns: repeat(2, 1fr); margin-top: 24px; padding-bottom: 36px; }
  .ft-cta-hl { padding: 16px 16px 16px 0; }
  .ft-cta-hl + .ft-cta-hl { border-left: 0; padding-left: 0; }
  .ft-cta-hl:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.2); }
  .ft-cta-title { margin: 10px 0 8px; }
}
@media (max-width: 480px) {
  /* single clean left edge for the stat rows on small phones */
  .ft-cta-highlights { grid-template-columns: 1fr; padding-bottom: 40px; }
  .ft-cta-hl { border-left: 0 !important; padding: 16px 0; }
  .ft-cta-hl + .ft-cta-hl { border-top: 1px solid rgba(255,255,255,.2); }
}

.ft { background: var(--navy-ink); color: #93a4bd; }
.ft .container { padding-top: 72px; padding-bottom: 0; }
.ft-main { display: grid; grid-template-columns: 1.6fr 2.4fr; column-gap: 56px; row-gap: 28px; padding-bottom: 52px; }
.ft-brand { max-width: 380px; }
/* multicolor logo sits in a white rounded chip (no inversion) */
.ft-logo { height: 76px; width: auto; background: #fff; padding: 12px 16px; border-radius: var(--r-lg); margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.ft-about { font-size: .86rem; line-height: 1.75; color: #93a4bd; margin-bottom: 22px; }
.ft-contact { display: flex; flex-direction: column; gap: 13px; margin-bottom: 0; }
.ft-contact li { display: flex; align-items: flex-start; gap: 11px; font-size: .86rem; line-height: 1.55; }
.ft-contact-ic { color: var(--teal-light); width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; }
.ft-contact-ic.wa-glyph { fill: currentColor; stroke: none; }
.ft-contact a { color: #b4c1d4; }
.ft-contact a:hover { color: var(--teal-light); }
/* Full-width row under brand + link columns: social left, college code right */
.ft-social-row {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.ft-social { display: flex; gap: 10px; }
.ft-social a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.16); border-radius: var(--r); color: #93a4bd; }
.ft-social a:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.ft-social-disabled { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.1); border-radius: var(--r); color: #5d6b82; cursor: default; }

.ft-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.ft-col-h { color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,.12); }
.ft-col-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%;
  padding: 0; margin: 0; background: none; border: 0; color: inherit; font: inherit;
  letter-spacing: inherit; text-transform: inherit; text-align: left; cursor: default; }
.ft-chevron { display: none; flex: none; transition: transform .25s ease; }
.ft-col ul { display: flex; flex-direction: column; gap: 11px; }
.ft-col a { font-size: .86rem; color: #aab8cb; }
.ft-col a:hover { color: var(--teal-light); }

/* College code — plain muted footer text (right of social row) */
.ft-code {
  margin: 0;
  flex-shrink: 0;
  font-size: .86rem;
  line-height: 1.55;
  color: #93a4bd;
}
.ft-code-value {
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--teal-light);
}

.ft-sister { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.12); }
.ft-sister-label { font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #7d90a8; }
.ft-sister-links { display: flex; gap: 26px; flex-wrap: wrap; }
.ft-sister-links a { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; color: #aab8cb; }
.ft-sister-links a:hover { color: var(--teal-light); }
.ft-sister-links .icon { color: var(--teal-light); }

.ft-bottom { background: #081a33; }
.ft-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 0; }
.ft-copy { font-size: .78rem; color: rgba(255,255,255,.5); line-height: 1.45; }
.ft-copy strong { color: rgba(255,255,255,.75); }
.ft-powered-sep { color: rgba(255,255,255,.22); }
.ft-powered {
  font-size: inherit;
  font-weight: 500;
  color: rgba(255,255,255,.32);
  white-space: nowrap;
}
.ft-powered a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
}
.ft-powered a:hover { color: var(--teal-light); }
.ft-powered .icon { color: var(--teal); }
.ft-powered a:hover .icon { color: var(--teal-light); }
.ft-legal { display: flex; gap: 22px; flex-wrap: wrap; }
.ft-legal a { font-size: .78rem; color: rgba(255,255,255,.5); }
.ft-legal a:hover { color: var(--teal-light); }

@media (max-width: 900px) {
  .ft-main { grid-template-columns: 1fr; column-gap: 40px; row-gap: 28px; }
  .ft-cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (max-width: 768px) {
  /* roomier tap targets for stacked footer / legal / sister links */
  .ft-col a, .ft-legal a, .ft-sister-links a { display: inline-flex; padding: 5px 0; }
  .ft-col ul { gap: 6px; }

  /* collapsible footer columns (accordion) — only when JS has armed it */
  .ft-cols.ft-accordion { grid-template-columns: 1fr; gap: 0; }
  .ft-accordion .ft-col { border-bottom: 1px solid rgba(255,255,255,.12); }
  .ft-accordion .ft-col-h { margin: 0; padding: 0; border-bottom: 0; }
  .ft-accordion .ft-col-toggle { cursor: pointer; padding: 16px 0; }
  .ft-accordion .ft-chevron { display: block; }
  .ft-accordion .ft-col.is-open .ft-chevron { transform: rotate(180deg); }
  .ft-accordion .ft-col-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .ft-accordion .ft-col-body ul { padding-bottom: 14px; }
}
@media (max-width: 480px) {
  .ft-cols { grid-template-columns: 1fr; }
  .ft-cta-inner { padding: 36px 0; }
  .ft-bottom-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ── header: small screens — show SEARCH control, hide Admissions pill ── */
@media (max-width: 768px) { .header-admit { display: none; } }
@media (max-width: 560px) {
  :root { --header-h: 70px; }
  .header-bar-inner { gap: 12px; height: 70px; }
  .header-actions { gap: 8px; }
  .btn-pill { padding: 7px 14px 7px 7px; font-size: .76rem; }
  .nav-overlay-top-inner .btn-pill { padding: 7px 14px 7px 7px; font-size: .76rem; }
  .icon-btn { width: 42px; height: 42px; }
}
@media (max-width: 400px) {
  .header-logo { height: 44px; }
  .header-actions { gap: 7px; }
  .icon-btn { width: 40px; height: 40px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   MOBILE HORIZONTAL CARD ROWS (scroll-snap) — desktop keeps its grid
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .m-hscroll {
    display: flex !important; flex-wrap: nowrap; overflow-x: auto; gap: 14px; min-width: 0;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    /* Full-bleed break-out: extend across the 20px page gutter so the row
       spans edge-to-edge, while inner padding keeps the first/last card
       aligned to the page content. Gutter-based (not 100vw) so no scrollbar
       overflow is ever introduced. */
    margin-left: -20px; margin-right: -20px;
    padding: 0 20px 10px; scroll-padding-left: 20px; scroll-padding-right: 20px;
    border: 0 !important; background: transparent !important; border-radius: 0 !important;
  }
  .m-hscroll::-webkit-scrollbar { display: none; }
  .m-hscroll > * { flex: 0 0 80%; scroll-snap-align: start; border-top: 0 !important; }
  .grid-keylines.m-hscroll > * { border: 1px solid var(--keyline); border-radius: var(--r-lg); background: #fff; }
}

/* ═══════════════════════════════════════════════════════════════════════
   GOOGLE REVIEWS
   ═══════════════════════════════════════════════════════════════════════ */
.g-logo { display: block; flex-shrink: 0; }
.rev-summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  background: #fff; border: 1px solid var(--keyline); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); padding: 22px 28px; margin-bottom: 24px;
}
.rev-summary-score { display: flex; align-items: center; gap: 16px; }
.rev-score-num { font-size: 2.5rem; font-weight: 900; color: var(--navy-deep); line-height: 1; letter-spacing: -.02em; }
.rev-score-meta { font-size: .8rem; color: var(--text-soft); margin-top: 5px; }
.rev-stars { display: inline-flex; gap: 2px; color: #f5b400; }
.rev-stars svg { width: 18px; height: 18px; }
.rev-stars.sm svg { width: 15px; height: 15px; }
.rev-summary-actions { display: flex; gap: 10px; flex-wrap: wrap; }
/* Reviews slider — single-row horizontal carousel (scroll-snap) */
.rev-slider { position: relative; }
.rev-viewport {
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; scroll-behavior: smooth;
}
.rev-viewport::-webkit-scrollbar { display: none; }
.rev-track { display: flex; align-items: stretch; gap: 16px; }
.rev-track .rev-card {
  flex: 0 0 calc((100% - 32px) / 3); /* 3 per view on desktop */
  scroll-snap-align: start;
}
.rev-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; }
.rev-arrow {
  width: 44px; height: 44px; flex-shrink: 0; border-radius: 999px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: var(--navy); border: 1px solid var(--keyline-2);
  box-shadow: var(--shadow-sm); transition: background .2s, color .2s, border-color .2s, opacity .2s;
}
.rev-arrow:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.rev-arrow .icon { width: 20px; height: 20px; }
.rev-arrow:disabled { opacity: .35; cursor: default; }
.rev-arrow:disabled:hover { background: #fff; color: var(--navy); border-color: var(--keyline-2); }
.rev-dots { display: inline-flex; align-items: center; gap: 8px; }
.rev-dot {
  width: 9px; height: 9px; border-radius: 999px; cursor: pointer; padding: 0;
  background: var(--keyline-2); border: 0; transition: background .2s, width .2s;
}
.rev-dot.is-active { background: var(--teal); width: 24px; }
.rev-card { background: #fff; border: 1px solid var(--keyline); border-radius: var(--r-lg);
  padding: 22px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.rev-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rev-avatar { width: 42px; height: 42px; border-radius: 999px; color: #fff; display: flex; align-items: center;
  justify-content: center; font-weight: 800; font-size: .82rem; flex-shrink: 0; }
.rev-id { min-width: 0; }
.rev-name { font-size: .9rem; font-weight: 700; color: var(--navy-deep); }
.rev-when { font-size: .72rem; color: var(--text-soft); margin-top: 1px; }
.rev-g { margin-left: auto; }
.rev-card .rev-stars { margin-bottom: 11px; }
.rev-text { font-size: .86rem; color: var(--text); line-height: 1.65; }
@media (max-width: 1024px) { .rev-track .rev-card { flex-basis: calc((100% - 16px) / 2); } } /* 2 per view */
@media (max-width: 768px)  { .rev-track .rev-card { flex-basis: 85%; } }              /* 1 per view, peek next */

/* ═══════════════════════════════════════════════════════════════════════
   HERO ADMISSIONS CTA + META — shared bottom row, aligned baseline
   ═══════════════════════════════════════════════════════════════════════ */
.hero-bottom {
  position: absolute; left: 0; right: 0; bottom: 70px; z-index: 4;
  pointer-events: none;
}
.hero-bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.hero-bottom .hero-meta,
.hero-bottom .hero-anbar { pointer-events: auto; }

/* Compact pill: label + filled Apply button */
.hero-anbar {
  display: inline-flex; align-items: center; gap: 0;
  max-width: 100%; margin-left: auto;
  padding: 6px 6px 6px 18px;
  background: #fff;
  border: 1px solid var(--keyline);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
}
.hero-anbar-msg { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.hero-anbar-dot {
  width: 7px; height: 7px; border-radius: 999px; flex-shrink: 0;
  background: var(--teal); box-shadow: 0 0 0 0 rgba(47,181,173,.55);
}
.hero-anbar-eyebrow {
  flex-shrink: 0; white-space: nowrap;
  font-size: .62rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal-dark);
}
.hero-anbar-sep { width: 1px; height: 14px; flex-shrink: 0; background: var(--keyline-2); }
.hero-anbar-text {
  min-width: 0; white-space: nowrap;
  font-size: .86rem; font-weight: 600; color: var(--navy-deep); letter-spacing: -.01em;
}
.hero-anbar-link {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  margin-left: 14px;
  padding: 10px 18px;
  font-size: .82rem; font-weight: 700; letter-spacing: .01em;
  color: #fff; text-decoration: none; cursor: pointer;
  background: var(--navy); border: 1.5px solid var(--navy);
  border-radius: 999px;
}
.hero-anbar-link .icon { flex-shrink: 0; }
.hero-anbar-link:hover {
  background: var(--navy-deep); border-color: var(--navy-deep);
  color: #fff; text-decoration: none;
}
.hero-anbar-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--teal);
}
@media (max-width: 900px) {
  .hero-bottom { position: static; margin-top: 20px; margin-bottom: 0; bottom: auto; }
  .hero-bottom-inner { flex-direction: column; align-items: stretch; }
  .hero-bottom .hero-anbar { display: none; }
}
@media (max-width: 560px) {
  .hero-bottom { margin-top: 16px; margin-bottom: 0; }
  .hero-anbar {
    flex-wrap: wrap; gap: 10px;
    padding: 10px 10px 10px 16px;
    border-radius: var(--r-lg);
  }
  .hero-anbar-msg { flex-wrap: wrap; }
  .hero-anbar-text { white-space: normal; }
  .hero-anbar-link { margin-left: 0; width: 100%; justify-content: center; border-radius: var(--r); }
}

/* ═══════════════════════════════════════════════════════════════════════
   ADMISSIONS ENQUIRY MODAL
   ═══════════════════════════════════════════════════════════════════════ */
.modal {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: center; justify-content: center;
  padding: clamp(20px, 5vh, 48px);
  overflow-y: auto;
  --modal-gutter: clamp(20px, 5vh, 48px);
}
.modal.is-open { display: flex; }
.modal-overlay { position: fixed; inset: 0; background: rgba(14,35,66,.55); backdrop-filter: blur(2px); }
.modal-dialog {
  position: relative; z-index: 2; width: 100%; max-width: 580px; background: #fff;
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg); margin: auto;
  max-height: calc(100vh - (var(--modal-gutter) * 2));
  max-height: calc(100dvh - (var(--modal-gutter) * 2));
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid var(--keyline); background: var(--mist); color: var(--navy); cursor: pointer;
  display: flex; align-items: center; justify-content: center; }
.modal-close:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.modal-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 34px 22px 34px 34px;
  scrollbar-width: thin;
  scrollbar-color: rgba(47, 181, 173, 0.55) var(--mist);
}
.modal-scroll::-webkit-scrollbar { width: 6px; }
.modal-scroll::-webkit-scrollbar-track {
  background: var(--mist);
  border-radius: 999px;
  margin: 10px 2px 10px 0;
}
.modal-scroll::-webkit-scrollbar-thumb {
  background: rgba(47, 181, 173, 0.45);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
.modal-scroll::-webkit-scrollbar-thumb:hover { background: var(--teal-dark); }
.modal-head { margin-bottom: 22px; padding-right: 40px; }
.modal-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: .64rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase; color: var(--teal-dark); background: var(--pale-teal);
  padding: 6px 12px; border-radius: 999px; }
.modal-title { font-size: 1.55rem; font-weight: 800; color: var(--navy-deep); letter-spacing: -.01em; margin: 14px 0 6px; }
.modal-sub { font-size: .9rem; color: var(--text-soft); line-height: 1.6; }
.admit-form { display: flex; flex-direction: column; gap: 16px; }
.af-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.af-field { display: flex; flex-direction: column; gap: 6px; }
.af-field label { font-size: .76rem; font-weight: 700; color: var(--navy-deep); }
.af-req { color: var(--teal-dark); }
.af-field input, .af-field select, .af-field textarea { font-family: inherit; font-size: .9rem; color: var(--text);
  background: #fff; border: 1.5px solid var(--keyline-2); border-radius: var(--r); padding: 11px 13px; outline: none; }
.af-field input:focus, .af-field select:focus, .af-field textarea:focus {
  border-color: var(--teal); box-shadow: 0 0 0 3px rgba(47,181,173,.16); }
.af-field textarea { resize: vertical; min-height: 70px; }
.af-error { display: none; font-size: .72rem; color: #c0392b; font-weight: 600; }
.af-field.has-error input, .af-field.has-error select, .af-field.has-error textarea { border-color: #e07a6f; }
.af-field.has-error .af-error { display: block; }
.af-error-block { margin-top: -8px; }
.af-error-block.show { display: block; }
.af-consent { display: flex; align-items: flex-start; gap: 10px; font-size: .8rem; color: var(--text-soft);
  line-height: 1.5; cursor: pointer; }
.af-consent input { width: 18px; height: 18px; margin-top: 1px; flex-shrink: 0; accent-color: var(--teal-dark); }
.af-submit { justify-content: center; margin-top: 4px; }
.modal-thanks { text-align: center; padding: 20px 0; }
.modal-thanks-ic { width: 64px; height: 64px; border-radius: 999px; background: var(--pale-teal); color: var(--teal-dark);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.modal-thanks-ic .icon { width: 32px; height: 32px; }
.modal-thanks-h { font-size: 1.4rem; font-weight: 800; color: var(--navy-deep); margin-bottom: 8px; }
.modal-thanks-p { font-size: .9rem; color: var(--text-soft); line-height: 1.6; margin: 0 auto 18px; max-width: 360px; }
body.modal-open { overflow: hidden; }
@media (max-width: 560px) {
  .modal {
    --modal-gutter: 16px;
    padding: var(--modal-gutter);
  }
  .modal-dialog {
    border-radius: var(--r-lg);
    max-height: calc(100vh - (var(--modal-gutter) * 2));
    max-height: calc(100dvh - (var(--modal-gutter) * 2));
    min-height: 0;
  }
  .modal-scroll { padding: 26px 16px 26px 20px; }
  .af-row { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════════
   GLASSMORPHISM · frosted-glass enhancement layer (navy + teal system)
   Reusable utilities + targeted application to floating / over-image UI.
   Conservative blur radii; reduced on mobile; opaque @supports fallback so
   unsupported browsers stay readable. Brand palette is unchanged.
   ═══════════════════════════════════════════════════════════════════════ */
:root {
  --glass-blur:    14px;   /* default frosted radius (desktop) */
  --glass-blur-lg: 22px;   /* large surfaces — overlay menu / modal */
  --glass-sat:     140%;
  --glass-edge:    inset 0 1px 0 rgba(255,255,255,.55);   /* top/edge highlight */
}

/* ── Reusable glass utilities ──────────────────────────────────────── */
.glass {
  background: rgba(255,255,255,.62);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 10px 30px rgba(15,35,66,.14), var(--glass-edge);
  border-radius: var(--r-lg);
}
.glass-dark {
  background: rgba(15,35,66,.42);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 10px 30px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.22);
  border-radius: var(--r-lg);
}
.glass-strong {
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(var(--glass-blur-lg)) saturate(150%);
  backdrop-filter: blur(var(--glass-blur-lg)) saturate(150%);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: var(--shadow-lg), var(--glass-edge);
  border-radius: var(--r-xl);
}

/* ── Floating header → frosted white (content blurs beneath when scrolled) */
.site-header { background: transparent; }
.header-bar {
  background: rgba(255,255,255,.72);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  border-bottom: 1px solid rgba(227,233,242,.7);
}
#siteHeader.scrolled .header-bar { background: rgba(255,255,255,.82); }
.header-search {
  background: rgba(255,255,255,.78);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
  backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
}

/* ── Overlay mega-menu → bulky solid navy modal (glass layer kept subtle
   via the inner depth shadow; a translucent backdrop-filter would wash out
   the heavy modal surface, so the solid navy gradient stays opaque). ──── */

/* ── Hero over-image chips → frosted glass ─────────────────────────── */
.hero-eyebrow {
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
}
.hero-meta {
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
}

/* ── Admissions modal → frosted dialog + deeper backdrop blur ──────── */
.modal-overlay {
  background: rgba(14,35,66,.5);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  backdrop-filter: blur(8px) saturate(120%);
}
.modal-dialog {
  background: rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(var(--glass-blur-lg)) saturate(150%);
  backdrop-filter: blur(var(--glass-blur-lg)) saturate(150%);
  border: 1px solid rgba(255,255,255,.7);
}

/* ── Gallery captions → small frosted glass bar over imagery ───────── */
.campus-gallery .gal-overlay > span {
  display: inline-block;
  padding: 7px 12px;
  background: rgba(15,35,66,.4);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  backdrop-filter: blur(8px) saturate(140%);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-sm);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
}

/* ── Mobile: reduce blur radius (backdrop-filter is GPU-expensive) ─── */
@media (max-width: 768px) {
  :root { --glass-blur: 10px; --glass-blur-lg: 14px; }
  .hero-eyebrow, .hero-meta {
    -webkit-backdrop-filter: blur(8px) saturate(140%);
    backdrop-filter: blur(8px) saturate(140%);
  }
}

/* ── Fallback: no backdrop-filter → more opaque solids stay readable ─ */
@supports not ((-webkit-backdrop-filter: blur(2px)) or (backdrop-filter: blur(2px))) {
  .glass        { background: rgba(255,255,255,.94); }
  .glass-dark   { background: rgba(15,35,66,.9); }
  .glass-strong { background: #fff; }
  .header-bar,
  #siteHeader.scrolled .header-bar,
  .header-search { background: #fff; }
  .modal-overlay { background: rgba(14,35,66,.62); }
  .modal-dialog  { background: #fff; }
  .campus-gallery .gal-overlay > span { background: rgba(15,35,66,.82); }
}

/* ═══════════════════════════════════════════════════════════════════════
   MOTION & ANIMATION ENHANCEMENT LAYER
   Subtle, quick, professional motion. Only transform/opacity are animated
   (GPU-friendly). All non-essential motion is wrapped in
   `prefers-reduced-motion: no-preference`, so reduced-motion users get a
   static page. Reveal hidden-states apply ONLY when JS is active
   (html.js-anim) — with no JS the content is fully visible (no FOUC).
   ═══════════════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: no-preference) {

  /* ── Scroll-reveal: hidden until the observer adds .in-view (once) ──── */
  .js-anim .reveal,
  .js-anim .reveal-group > * {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .6s cubic-bezier(.22,.61,.36,1),
                transform .6s cubic-bezier(.22,.61,.36,1);
  }
  /* directional / zoom variants (single reveals) */
  .js-anim .reveal-zoom  { transform: scale(.965); }
  .js-anim .reveal-left  { transform: translateX(-20px); }
  .js-anim .reveal-right { transform: translateX(20px); }

  /* a group container itself never animates — only its children stagger,
     which avoids a doubled fade when an element is both reveal + group */
  .js-anim .reveal-group {
    opacity: 1;
    transform: none;
    transition: none;
  }

  /* revealed state */
  .js-anim .reveal.in-view,
  .js-anim .reveal-group > .in-view {
    opacity: 1;
    transform: none;
  }

  /* ── Overlay mega-menu — fade panel + gentle rise of its content ───── */
  .nav-overlay { transition: opacity .28s ease, visibility .28s ease; }
  .nav-overlay .nav-overlay-scroll {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .32s ease .03s, transform .32s ease .03s;
  }
  .nav-overlay.is-open .nav-overlay-scroll { opacity: 1; transform: none; }

  /* ── Inline search panel — slide/fade in on open ───────────────────── */
  .header-search:not([hidden]) { animation: saids-search-in .22s ease both; }

  /* ── Admissions modal — backdrop fade + dialog rise/scale ──────────── */
  .modal.is-open .modal-overlay { animation: saids-fade-in .25s ease both; }
  .modal.is-open .modal-dialog  { animation: saids-modal-in .3s cubic-bezier(.22,.61,.36,1) both; }
  .card-modal.is-open .modal-overlay { animation: saids-fade-in .25s ease both; }
  .card-modal.is-open .modal-dialog  { animation: saids-modal-in .3s cubic-bezier(.22,.61,.36,1) both; }

  /* ── Hero admissions CTA — gentle entrance + live dot pulse ────────── */
  .hero-anbar { animation: saids-badge-in .55s cubic-bezier(.22,.61,.36,1) .25s both; }
  .hero-anbar-link:hover .icon { transform: translateX(3px); }
  .hero-anbar-link:hover { transform: translateY(-2px); }
  .hero-anbar-dot { animation: saids-badge-pulse 2.2s ease-out infinite; }

  /* ── Interactive lift micro-interactions ───────────────────────────── */
  .btn:hover, .btn-pill:hover { transform: translateY(-2px); }
  .btn:active, .btn-pill:active { transform: translateY(0); }
  .ncard:hover, .ov-deptcard:hover, .rev-card:hover { transform: translateY(-4px); }

  /* gentle image zoom inside overflow-hidden frames */
  .gal-item:hover img,
  .ncard:hover .ncard-img,
  .ov-deptcard:hover .ov-dept-img img,
  .ov-campuscard:hover .ov-campus-img img { transform: scale(1.05); }
}

/* ── Transitions (color/shadow are kept light; safe under reduced motion) */
.btn, .btn-pill, .icon-btn, .icon-btn-ghost, .menu-toggle {
  transition: background-color .18s ease, border-color .18s ease,
              color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.ncard, .dept-cell, .ov-deptcard, .rev-card, .ov-md-item, .ov-md-link,
.ov-linkcard, .ft-social a {
  transition: background-color .2s ease, border-color .2s ease,
              color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.header-tab, .ov-tab, .util-links a, .util-portal, .ft-col a, .ft-legal a,
.ft-sister-links a, .ov-knowmore, .flash-all, .ov-lc-h,
  .ad-callout .btn, .rev-score-num {
  transition: color .18s ease, opacity .18s ease;
}
.header-tab::after, .ov-tab::after, .ov-lc-chev { transition: opacity .2s ease; }
.hero-anbar-link {
  transition: background-color .18s ease, border-color .18s ease, color .18s ease,
              box-shadow .18s ease, transform .18s ease;
}
.hero-anbar-link .icon { transition: transform .2s ease; }
.rail-tick .dot { transition: background-color .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.rail-tick .rail-label { transition: opacity .2s ease; }

/* image zoom frames need the transition declared outside the motion query so
   the property is ready; the hover transform itself is gated above */
.gal-item img, .ncard-img, .ov-dept-img img, .ov-campus-img img {
  transition: transform .45s cubic-bezier(.22,.61,.36,1);
}

/* ── Reveal keyframes ──────────────────────────────────────────────── */
@keyframes saids-search-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes saids-fade-in   { from { opacity: 0; } to { opacity: 1; } }
@keyframes saids-modal-in  { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes saids-badge-in  { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes saids-badge-pulse { 0% { box-shadow: 0 0 0 0 rgba(47,181,173,.55); } 70%, 100% { box-shadow: 0 0 0 6px rgba(47,181,173,0); } }

/* ── Reduced motion: neutralise our transforms / image zoom instantly ── */
@media (prefers-reduced-motion: reduce) {
  .gal-item img, .ncard-img, .ov-dept-img img, .ov-campus-img img { transition: none; }
  .gal-item:hover img, .ncard:hover .ncard-img,
  .ov-deptcard:hover .ov-dept-img img, .ov-campuscard:hover .ov-campus-img img { transform: none; }
  /* hero: no autoplaying motion — freeze the Ken-Burns image to a static frame */
  .hero-bg img { animation: none; transform: none; }
}

/* ═══════════════════════════════════════════════════════════════════════
   INNER PAGES — compact hero, breadcrumbs, content layouts
   ═══════════════════════════════════════════════════════════════════════ */
body.is-inner #siteHeader { position: sticky; }
body.is-inner #siteHeader .header-bar {
  background: #fff;
  border-bottom: 1px solid var(--keyline);
  box-shadow: var(--shadow-sm);
}
body.is-inner .util-strip { border-bottom: 1px solid var(--keyline); }

/* Inner-page gutters — match homepage .container (override Tailwind CDN container) */
body.is-inner .page-hero .container,
body.is-inner main.page-body .container {
  max-width: 1240px !important;
  width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
}
@media (max-width: 768px) {
  body.is-inner .page-hero .container,
  body.is-inner main.page-body .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

/* Inner-page vertical rhythm — match homepage section spacing between blocks */
body.is-inner main.page-body > .container {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 4.5vw, 56px);
}
@media (max-width: 768px) {
  body.is-inner main.page-body > .container { gap: 22px; }
}

.page-lead { margin: 0; }
.page-lead .eyebrow { margin: 0; }

/* Section counts (01, 02…) — homepage only */
body.is-inner .bleed-num { display: none; }

/* Standalone intro copy (profiles, listings, etc.) */
body.is-inner main.page-body .container > p,
.page-intro {
  font-size: clamp(.92rem, 1vw, .95rem);
  line-height: 1.75;
  color: var(--text-soft);
  max-width: 720px;
  margin: 0;
}
.page-intro p { margin: 0 0 1.1em; }
.page-intro p:last-child { margin-bottom: 0; }

.page-prose-block { max-width: 720px; }
.page-prose-block p {
  font-size: .94rem;
  line-height: 1.85;
  color: var(--text-soft);
  margin: 0 0 1.1em;
}
.page-prose-block p:last-child { margin-bottom: 0; }

body.is-inner main.page-body .container > .h-section {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-deep);
  letter-spacing: -.01em;
}

.page-hero {
  position: relative; min-height: 240px; display: block;
  overflow: hidden; background: var(--navy-deep);
}
@media (min-width: 768px) { .page-hero { min-height: 320px; } }
@media (max-width: 768px) { .page-hero { min-height: 180px; } }
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.page-hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(14,35,66,.94) 0%, rgba(14,35,66,.62) 50%, rgba(14,35,66,.38) 100%);
}
.page-hero-inner {
  position: relative; z-index: 2; width: 100%;
  padding: calc(var(--header-h) + 36px) 0 48px;
}
@media (min-width: 768px) { .page-hero-inner { padding: calc(var(--header-h) + 48px) 0 56px; } }
.page-hero-title {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem); font-weight: 800; line-height: 1.1;
  letter-spacing: -.02em; color: #fff; margin: 10px 0 0;
}
.page-hero-sub { font-size: clamp(.92rem, 1.2vw, 1.05rem); color: rgba(255,255,255,.88); margin-top: 10px; max-width: 640px; }
@media (max-width: 768px) {
  .page-hero-inner { padding: 28px 0 28px; }
  .page-hero-title { margin-top: 6px; font-size: clamp(1.5rem, 7vw, 2rem); }
  .page-hero-sub { margin-top: 8px; }
  .page-hero .eyebrow { margin-top: 0; }
}

/* Breadcrumb sits below the banner on inner pages */
.page-breadcrumb {
  background: #fff;
  border-bottom: 1px solid var(--keyline);
  padding: 12px 0;
}
.page-breadcrumb .breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: .72rem;
  font-weight: 600;
}
.page-breadcrumb .breadcrumb a {
  color: var(--teal-dark);
  text-decoration: none;
}
.page-breadcrumb .breadcrumb a:hover { color: var(--navy); }
.page-breadcrumb .breadcrumb-sep {
  color: var(--text-soft);
  user-select: none;
}
.page-breadcrumb .breadcrumb [aria-current="page"] { color: var(--navy-deep); }
@media (max-width: 768px) {
  .page-breadcrumb { padding: 10px 0; }
}

/* page-body padding comes from .section when combined */
main.page-body { padding: 0; }
main.page-body.section { padding: 100px 0; }
@media (max-width: 768px) { main.page-body.section { padding: 32px 0; } }
main.page-body.section-sm { padding: 72px 0; }
@media (max-width: 768px) { main.page-body.section-sm { padding: 28px 0; } }

.page-shell {
  border: 1px solid var(--keyline); border-radius: var(--r-lg);
  background: #fff; padding: clamp(28px, 4vw, 44px);
}
@media (max-width: 768px) {
  .page-shell { padding: 20px 16px; border-radius: var(--r); }
}
.page-shell + .page-cta-band,
.page-prose + .page-cta-band,
.sticky-split + .page-cta-band { margin-top: 48px; }
body.is-inner .page-shell + .page-cta-band,
body.is-inner .page-prose + .page-cta-band,
body.is-inner .sticky-split + .page-cta-band { margin-top: 0; }

.page-prose { max-width: 780px; }
.page-prose p { font-size: .94rem; line-height: 1.85; color: var(--text-soft); margin-bottom: 1.1em; }
.page-prose h2 { font-size: 1.35rem; font-weight: 800; color: var(--navy-deep); margin: 2em 0 .75em; letter-spacing: -.01em; }
.page-prose h3 { font-size: 1.1rem; font-weight: 800; color: var(--navy-deep); margin: 1.5em 0 .5em; }
.page-prose ul, .page-prose ol { margin: 0 0 1.25em 1.25em; color: var(--text-soft); font-size: .92rem; line-height: 1.75; }
.page-prose li { margin-bottom: .4em; }
.page-prose a:not(.btn) { color: var(--teal-dark); font-weight: 600; }
.page-prose a:not(.btn):hover { color: var(--navy-deep); }
.page-prose .btn-blue,
.page-cta-band .btn-blue { color: #fff; }
.page-prose .btn-blue:hover,
.page-cta-band .btn-blue:hover { color: #fff; }
@media (max-width: 768px) {
  .page-prose p { margin-bottom: .85em; line-height: 1.7; }
  .page-prose h2 { margin: 1.35em 0 .55em; font-size: 1.2rem; }
  .page-prose h3 { margin: 1.15em 0 .4em; }
}

.page-section { margin-bottom: 48px; }
.page-section:last-child { margin-bottom: 0; }
@media (max-width: 768px) {
  .page-section { margin-bottom: 28px; }
}

.page-split { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: start; }
@media (min-width: 900px) { .page-split { grid-template-columns: 340px 1fr; gap: 56px; } }
@media (max-width: 768px) { .page-split { gap: 20px; } }
.page-split-img { border: 1px solid var(--keyline); border-radius: var(--r-lg); overflow: hidden; }
.page-split-img img { width: 100%; display: block; aspect-ratio: 4/3; object-fit: cover; }

/* Inner sticky-split sits inside main.section — lighter pane rhythm */
body.is-inner .sticky-split .sticky-pane,
body.is-inner .sticky-split .split-rule { padding-top: 4px; padding-bottom: 4px; }
body.is-inner .sticky-split .sticky-pane .eyebrow { margin-bottom: 20px; }
@media (max-width: 900px) {
  body.is-inner .sticky-split .split-rule { border-top: 1px solid var(--keyline); padding-top: 20px; margin-top: 0; }
  body.is-inner .sticky-split .sticky-pane { padding-bottom: 12px; }
  body.is-inner .sticky-split .sticky-pane .eyebrow { margin-bottom: 12px; }
}

/* Quotes / testimonials — shared language with .box / faculty cards */
.page-quote,
.page-quote-card {
  position: relative;
  margin: 0;
  padding: 28px 28px 24px;
  background: #fff;
  border: 1px solid var(--keyline);
  border-radius: var(--r-lg);
}
.page-quote { margin: 24px 0; background: var(--mist); }
.page-quote::before,
.page-quote-card::before {
  content: "“";
  display: block;
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 1;
  color: var(--teal);
  opacity: .55;
}
.page-quote p,
.page-quote-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--navy-deep);
  font-style: italic;
}
.page-quote cite,
.page-quote-card cite {
  display: block;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--keyline);
  font-size: .8rem;
  font-weight: 700;
  font-style: normal;
  letter-spacing: .02em;
  color: var(--navy);
}

/* Faculty hub — multi-quote testimonial grid ("Real Voices That Matter") */
.page-quote-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 0;
}
@media (min-width: 700px) {
  .page-quote-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
}
@media (min-width: 1024px) {
  .page-quote-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
.page-quote-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.page-quote-card p {
  flex: 1;
  font-size: .95rem;
  line-height: 1.75;
}
@media (max-width: 768px) {
  .page-quote,
  .page-quote-card { padding: 20px 18px 18px; }
  .page-quote-grid { gap: 14px; }
  .page-quote p,
  .page-quote-card p { font-size: .9rem; line-height: 1.7; }
  .page-quote cite,
  .page-quote-card cite { margin-top: 12px; padding-top: 12px; }
}

.page-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.page-card {
  display: flex; flex-direction: column; border: 1px solid var(--keyline); border-radius: var(--r-lg);
  overflow: hidden; background: #fff; text-decoration: none; color: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.page-card:hover { border-color: var(--teal); box-shadow: var(--shadow-md); }
.page-card-img { aspect-ratio: 16/10; overflow: hidden; }
.page-card-img img { width: 100%; height: 100%; object-fit: cover; }
.page-card-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.page-card-date { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 6px; }
.page-card-title { font-size: 1rem; font-weight: 800; color: var(--navy-deep); line-height: 1.35; margin-bottom: 8px; }
.page-card-desc { font-size: .84rem; color: var(--text-soft); line-height: 1.55; flex: 1; }
.page-card-link { font-size: .78rem; font-weight: 700; color: var(--teal-dark); margin-top: 12px; display: inline-flex; align-items: center; gap: 4px; }

.page-fact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin: 28px 0; }
.page-fact { padding: 20px; border: 1px solid var(--keyline); border-radius: var(--r); background: var(--mist); }
.page-fact-label { font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 6px; }
.page-fact-value { font-size: .92rem; font-weight: 700; color: var(--navy-deep); line-height: 1.4; }

.page-cta-band {
  padding: 32px 36px; border: 1px solid var(--keyline); border-radius: var(--r-lg);
  background: var(--pale-navy); display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 20px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 768px) {
  .page-cta-band { padding: 20px 18px; gap: 14px; border-radius: var(--r); }
  .page-card-grid { gap: 16px; }
  .page-fact-grid { gap: 12px; margin: 18px 0; }
  .page-member-grid { gap: 14px; }
  .page-member-card { padding: 18px 12px; }
}
.page-cta-band h3 { font-size: 1.15rem; font-weight: 800; color: var(--navy-deep); margin: 0 0 6px; }
.page-cta-band p { font-size: .88rem; color: var(--text-soft); margin: 0; max-width: 480px; }

.page-sitemap { columns: 2; column-gap: 40px; }
@media (min-width: 768px) { .page-sitemap { columns: 3; } }
.page-sitemap-group { break-inside: avoid; margin-bottom: 28px; }
.page-sitemap-group h3 { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-dark); margin: 0 0 10px; }
.page-sitemap-group ul { list-style: none; margin: 0; padding: 0; }
.page-sitemap-group li { margin-bottom: 6px; }
.page-sitemap-group a { font-size: .88rem; font-weight: 600; color: var(--navy-deep); text-decoration: none; }
.page-sitemap-group a:hover { color: var(--teal-dark); }

.page-contact-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .page-contact-grid { grid-template-columns: repeat(3, 1fr); } }
.page-contact-card { padding: 24px; border: 1px solid var(--keyline); border-radius: var(--r-lg); background: #fff; }
.page-contact-card .icon { color: var(--teal-dark); margin-bottom: 12px; }
.page-contact-card h3 { font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-dark); margin: 0 0 8px; }
.page-contact-card p, .page-contact-card a { font-size: .9rem; color: var(--navy-deep); line-height: 1.6; margin: 0; }
.page-contact-card a { font-weight: 600; color: var(--teal-dark); }

/* Treatment hub + detail */
.treatment-services-h {
  margin: 28px 0 16px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-deep);
  letter-spacing: -.01em;
}
.treatment-service-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 8px;
}
.page-prose .treatment-service-list {
  margin-left: 0;
  margin-bottom: 24px;
}
.treatment-service-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--keyline);
  border-radius: var(--r);
  background: var(--mist);
  font-size: .9rem;
  color: var(--navy-deep);
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}
.treatment-service-list li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--teal);
}
.treatment-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: stretch;
  margin-top: 4px;
}
.treatment-detail-actions .btn {
  min-height: 42px;
  padding: 10px 18px;
  font-size: .8rem;
  justify-content: center;
}
.treatment-detail-actions .btn .icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.treatment-detail-actions .btn-outline {
  background: #fff;
  border-color: var(--keyline-2);
}
.treatment-detail-actions .btn-outline:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
@media (max-width: 560px) {
  .treatment-detail-actions { gap: 10px; }
  .treatment-detail-actions .btn { width: 100%; }
}
.treatment-related {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--keyline);
}
.treatment-related-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-deep);
  margin: 0 0 22px;
}
.treatment-faculty-roster { margin-top: 48px; }
.treatment-faculty-head-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
a.treatment-card:hover { text-decoration: none; }

.page-faculty-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.page-faculty-card {
  text-align: center;
  padding: 28px 22px 24px;
  border: 1px solid var(--keyline);
  border-radius: var(--r-xl);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.page-faculty-card:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
a.page-faculty-card {
  display: flex;
  text-decoration: none;
  color: inherit;
}
a.page-faculty-card:hover { text-decoration: none; color: inherit; }
.page-faculty-card-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-decoration: none;
  color: inherit;
  flex: 1 1 auto;
}
.page-faculty-card-main:hover { text-decoration: none; color: inherit; }
.page-faculty-card-main:hover .page-faculty-more { color: var(--teal-dark); }
.page-faculty-card img {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 2px solid var(--keyline);
  flex-shrink: 0;
  background: var(--mist);
}
.page-faculty-name {
  margin: 0;
  font-size: .9rem;
  font-weight: 800;
  color: var(--navy-deep);
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.page-faculty-role {
  display: inline-flex;
  margin: 10px 0 0;
  padding: 4px 10px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--navy);
  background: var(--mist);
  border-radius: 999px;
  line-height: 1.35;
  max-width: 100%;
}
.page-faculty-dept {
  margin: 8px 0 0;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-soft);
  line-height: 1.35;
  max-width: 100%;
}
.page-faculty-grid.is-dept-filtered .page-faculty-dept { display: none; }
.page-faculty-more {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 14px;
  font-size: .78rem; font-weight: 700; color: var(--teal-dark); letter-spacing: .01em;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 1px;
  transition: color .15s ease, border-color .15s ease;
}
.page-faculty-card-main:hover .page-faculty-more {
  border-bottom-color: var(--teal);
}
.page-faculty-card.is-hidden { display: none; }

/* Hub toolbar — search + department dropdown + result count */
.page-faculty-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
  margin: 28px 0 16px;
}
.page-faculty-search {
  position: relative;
  display: block;
  flex: 1 1 260px;
  max-width: 420px;
}
.page-faculty-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-soft);
  pointer-events: none;
}
.page-faculty-search input {
  width: 100%;
  appearance: none;
  border: 1px solid var(--keyline);
  background: #fff;
  color: var(--navy-deep);
  font: inherit;
  font-size: .9rem;
  font-weight: 500;
  padding: 12px 14px 12px 42px;
  border-radius: 999px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.page-faculty-search input::placeholder { color: var(--text-soft); }
.page-faculty-search input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(47, 181, 173, 0.18);
}
.page-faculty-deptsel {
  position: relative;
  display: block;
  flex: 1 1 240px;
  max-width: 340px;
}
.page-faculty-deptsel select {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--keyline);
  background: #fff;
  color: var(--navy-deep);
  font: inherit;
  font-size: .88rem;
  font-weight: 600;
  padding: 12px 42px 12px 16px;
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.page-faculty-deptsel select:hover { border-color: var(--teal); }
.page-faculty-deptsel select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(47, 181, 173, 0.18);
}
.page-faculty-deptsel-chev {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  color: var(--teal-dark);
  pointer-events: none;
}
.page-faculty-count {
  margin: 0;
  flex: 0 0 auto;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-soft);
}
@media (max-width: 640px) {
  .page-faculty-search,
  .page-faculty-deptsel { flex: 1 1 100%; max-width: none; }
  .page-faculty-count { width: 100%; }
}
.page-faculty-empty {
  margin: 8px 0 20px;
  padding: 18px 20px;
  border: 1px dashed var(--keyline);
  border-radius: var(--r-lg);
  background: var(--mist);
  color: var(--text-soft);
  font-size: .9rem;
  text-align: center;
}
.page-faculty-empty[hidden] { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* FAQ accordion — faculty hub + department detail pages */
.page-faq {
  margin: 40px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#facultyGrid + .page-faq,
.page-faculty-empty + .page-faq,
[id="facultyEmpty"] ~ .page-faq,
.faculty-browse-depts + .page-faq { margin-top: 40px; }
.dept-faculty-roster + .page-faq,
[id="deptFaq"] { margin-top: 48px; }
.page-faq-head { margin: 0 0 8px; }
.page-faq-head .eyebrow { margin-bottom: 10px; }
.page-faq-title {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 800;
  color: var(--navy-deep);
  letter-spacing: -.01em;
  line-height: 1.2;
}
.page-faq-item {
  border: 1px solid var(--keyline);
  border-radius: var(--r-lg);
  background: #fff;
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.page-faq-item[open] {
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
}
.page-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.35;
  user-select: none;
}
.page-faq-item summary::-webkit-details-marker { display: none; }
.page-faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--teal-dark);
  border-bottom: 2px solid var(--teal-dark);
  transform: rotate(45deg);
  transition: transform .2s ease;
  margin-top: -4px;
}
.page-faq-item[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}
.page-faq-item summary:hover { color: var(--teal-dark); }
.page-faq-answer {
  padding: 0 18px 18px;
}
.page-faq-item[open] .page-faq-answer {
  border-top: 1px solid var(--keyline);
  padding-top: 14px;
}
.page-faq-answer p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--text-soft);
}
.page-faq-answer p + p { margin-top: 10px; }
.page-faq-answer a { color: var(--teal-dark); font-weight: 600; }
.page-faq + .page-cta-band,
.why-check-list + .page-cta-band { margin-top: 28px; }

/* NDC statutory reports — accordion panels with download lists */
.ndc-intro-head { margin-bottom: 12px; }
.page-prose .ndc-panels { margin-top: 28px; }
.ndc-panel-body .ndc-group-title {
  margin: 16px 0 10px;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy-deep);
}
.ndc-panel-body .ndc-group-title:first-child { margin-top: 0; }
.ndc-panel-body .ndc-download-list { margin: 0 0 4px; }
.ndc-panel-body .page-download-link { background: var(--pale-teal); }
@media (max-width: 640px) {
  .page-faq { margin-top: 28px; gap: 8px; }
  .dept-faculty-roster + .page-faq,
  [id="deptFaq"] { margin-top: 32px; }
  .page-faq-item summary { padding: 14px; font-size: .9rem; }
  .page-faq-answer { padding: 0 14px 14px; }
  .page-faq-item[open] .page-faq-answer { padding-top: 12px; }
}

.page-stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--keyline); border: 1px solid var(--keyline); border-radius: var(--r-lg); overflow: hidden;
  margin: 28px 0 8px;
}
.page-stat {
  background: #fff; padding: 22px 18px; text-align: center;
  font-size: .78rem; color: var(--text-soft); font-weight: 600;
}
.page-stat strong {
  display: block; font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 900;
  color: var(--navy-deep); letter-spacing: -.02em; line-height: 1.1; margin-bottom: 6px;
}
@media (max-width: 640px) {
  .page-stats-row { grid-template-columns: 1fr; }
}

/* Faculty profile detail */
.faculty-profile-photo img { border-radius: var(--r-lg); }
.faculty-profile-dept {
  font-size: .92rem; color: var(--text-soft); margin: 0 0 22px;
}
.faculty-profile-dept a { color: var(--teal-dark); font-weight: 700; text-decoration: none; }
.faculty-profile-dept a:hover { text-decoration: underline; }
.faculty-profile-body { margin-bottom: 28px; }
.faculty-profile-actions {
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}
.faculty-related { margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--keyline); }
.faculty-related-title {
  font-size: 1.15rem; font-weight: 800; color: var(--navy-deep); margin: 0 0 22px;
}

/* Department page faculty roster */
.dept-faculty-roster {
  margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--keyline);
}
.dept-faculty-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
  flex-wrap: wrap; margin-bottom: 28px;
}
.dept-faculty-grid { margin-top: 8px; }

body.is-inner .news-cards { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.page-values { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; margin: 24px 0; }
.page-value { padding: 16px; border: 1px solid var(--keyline); border-radius: var(--r); text-align: center; }
.page-value span { font-size: .78rem; font-weight: 700; color: var(--navy-deep); }

/* Contact page — map + form (matches live contact-us layout) */
.page-contact-layout { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 960px) { .page-contact-layout { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; } }
.page-map-wrap { border: 1px solid var(--keyline); border-radius: var(--r-lg); overflow: hidden; background: var(--mist); }
.page-map-wrap iframe { display: block; width: 100%; min-height: 360px; }
.page-quick-list { list-style: none; margin: 0 0 20px; padding: 0; }
.page-quick-list li { padding: 10px 0; border-bottom: 1px solid var(--keyline); font-size: .92rem; color: var(--navy-deep); font-weight: 600; }
.page-quick-list li:last-child { border-bottom: 0; }
.page-quick-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  color: inherit; text-decoration: none;
}
.page-quick-list a:hover { color: var(--teal-dark); }
.faculty-browse-depts { margin: 28px 0 8px; }
.faculty-browse-list { margin-top: 4px; max-width: 640px; }
.faculty-browse-count {
  flex-shrink: 0; font-size: .78rem; font-weight: 700; color: var(--text-soft);
  letter-spacing: .02em;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 4px;
}
.contact-form .af-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) {
  .contact-form .af-row { grid-template-columns: 1fr 1fr; gap: 20px 18px; }
}
.contact-form .af-field { gap: 8px; }
.contact-form .af-field label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--teal-dark);
}
.contact-form .af-field input,
.contact-form .af-field select,
.contact-form .af-field textarea {
  padding: 13px 15px;
  border-radius: var(--r-lg);
}
.contact-form .af-field select {
  appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%231a2740' d='M1.4.6L6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.contact-form .af-field textarea {
  min-height: 140px;
  line-height: 1.55;
}
.contact-form .af-submit {
  align-self: flex-start;
  margin-top: 4px;
}
.contact-form-note {
  font-size: .82rem;
  color: var(--text-soft);
  margin: 4px 0 0;
  line-height: 1.65;
}
.page-contact-col .page-ext-links { margin-top: 36px; }
.page-ext-links { display: flex; flex-direction: column; gap: 10px; }
.page-ext-link { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 700; color: var(--teal-dark); text-decoration: none; }
.page-ext-link:hover { color: var(--navy-deep); }
.page-contact-thanks { padding: 28px; border: 1px solid var(--keyline); border-radius: var(--r-lg); background: var(--pale-teal); text-align: center; margin-top: 16px; }

/* Data tables (committees, etc.) */
.page-table-wrap { overflow-x: auto; margin: 0 0 32px; border: 1px solid var(--keyline); border-radius: var(--r-lg); }
body.is-inner .page-table-wrap { margin-bottom: 0; }
.page-table { width: 100%; border-collapse: collapse; font-size: .84rem; }
.page-table th, .page-table td { padding: 12px 14px; border-bottom: 1px solid var(--keyline); text-align: left; vertical-align: top; }
.page-table th { background: var(--pale-navy); font-weight: 800; color: var(--navy-deep); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.page-table tr:last-child td { border-bottom: 0; }
.page-table tbody tr:hover td { background: var(--mist); }
.page-table-kv th[scope="row"] {
  width: 34%;
  background: var(--pale-navy);
  font-size: .78rem;
  letter-spacing: .02em;
  text-transform: none;
  white-space: nowrap;
}
.page-table tbody tr.is-total td {
  font-weight: 800;
  color: var(--navy-deep);
  background: rgba(47, 181, 173, .08);
}

/* Why SAIDS — full-width section page (not narrow page-prose) */
.why-saids-page { background: #fff; }
.why-saids-page .why-section-head { margin-bottom: clamp(28px, 4vw, 40px); max-width: none; }
.why-saids-page .why-intro-inner { max-width: none; }
.why-lead {
  margin: 0 0 28px;
  max-width: 52rem;
  font-size: clamp(1.02rem, 1.35vw, 1.15rem);
  line-height: 1.75;
  color: var(--text-soft);
}
.why-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.why-badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--keyline-2);
  background: var(--pale-teal);
  color: var(--navy-deep);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .01em;
}
.why-campus-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.why-campus-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--keyline);
  box-shadow: var(--shadow-sm);
  min-height: 280px;
  background: var(--navy-ink);
}
.why-campus-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}
.why-campus-copy p {
  margin: 0 0 18px;
  font-size: .95rem;
  line-height: 1.75;
  color: var(--text-soft);
}
.why-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--keyline);
  border: 1px solid var(--keyline);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.why-pillars-4 { grid-template-columns: repeat(4, 1fr); }
.why-pillar {
  background: #fff;
  padding: 28px 24px 26px;
}
.why-pillar-title {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-deep);
  letter-spacing: -.01em;
}
.why-pillar p {
  margin: 0 0 14px;
  font-size: .9rem;
  color: var(--text-soft);
  line-height: 1.65;
}
.why-pillar ul,
.why-check-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.why-pillar ul li,
.why-check-list li {
  position: relative;
  padding-left: 22px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy-deep);
  line-height: 1.45;
}
.why-pillar ul li::before,
.why-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
}
.why-check-list { margin: 18px 0 0; }
.page-prose .why-check-list {
  margin: 0 0 1.25em;
  color: inherit;
}
.page-prose .why-check-list li { margin-bottom: 0; }
.why-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  padding: clamp(24px, 3vw, 36px);
  background: #fff;
  border: 1px solid var(--keyline);
  border-radius: var(--r-lg);
}
.why-split .why-check-list { margin: 0; }
.why-closing {
  padding: clamp(32px, 4vw, 48px);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  text-align: center;
}
.why-closing .h-section { color: #fff; margin: 0 0 14px; }
.why-closing .accent { color: var(--teal-light); }
.why-closing p {
  margin: 0 auto;
  color: rgba(255,255,255,.92);
  max-width: 48rem;
  font-size: 1.02rem;
  line-height: 1.7;
}
.why-cta-section .page-cta-band { margin: 0; }
@media (max-width: 1100px) {
  .why-pillars-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .why-campus-grid { grid-template-columns: 1fr; }
  .why-campus-media img { min-height: 240px; }
}
@media (max-width: 768px) {
  .why-pillars,
  .why-pillars-4,
  .why-split { grid-template-columns: 1fr; }
  .why-pillar { padding: 22px 18px; }
  .why-split { padding: 20px 18px; gap: 20px; }
  .why-closing { padding: 26px 18px; text-align: left; }
}

/* PDF download lists */
.page-downloads { margin: 28px 0; }
.page-downloads-title { font-size: 1rem; font-weight: 800; color: var(--navy-deep); margin: 0 0 14px; }
.page-download-list { display: grid; gap: 10px; }
.page-download-link { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid var(--keyline); border-radius: var(--r); background: #fff; color: var(--navy-deep); font-weight: 600; font-size: .88rem; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.page-download-link:hover { border-color: var(--teal); box-shadow: var(--shadow-sm); color: var(--teal-dark); }
.page-download-link .icon { color: var(--teal-dark); flex-shrink: 0; }

/* Profile / member grids */
.page-member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
@media (min-width: 1100px) {
  .page-member-grid { grid-template-columns: repeat(4, 1fr); }
}
.page-member-card {
  text-align: center;
  padding: 28px 22px 24px;
  border: 1px solid var(--keyline);
  border-radius: var(--r-xl);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
a.page-member-card:hover {
  text-decoration: none;
  color: inherit;
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
a.page-member-card:hover .page-faculty-more {
  color: var(--teal-dark);
  border-bottom-color: var(--teal);
}
.page-member-card.is-card-popup:hover {
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.page-member-card img {
  width: 104px;
  height: 104px;
  border-radius: 999px;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 2px solid var(--keyline);
  display: block;
}
.page-member-card .page-faculty-name {
  margin: 0;
  font-size: .9rem;
  font-weight: 800;
  color: var(--navy-deep);
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.page-member-card .page-faculty-role {
  margin: 5px 0 0;
  font-size: .78rem;
  color: var(--text-soft);
  line-height: 1.35;
}
.page-member-bio { font-size: .8rem; color: var(--text-soft); line-height: 1.55; margin-top: 10px; text-align: left; }
.page-gallery-album { margin-bottom: 48px; }
.page-gallery-album:last-child { margin-bottom: 0; }

/* Gallery — album cover grid (matches live foogallery piles) */
.page-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}
.page-gallery-card {
  border: 1px solid var(--keyline);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.page-gallery-card:hover { border-color: var(--teal); box-shadow: var(--shadow-md); }
.page-gallery-thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--mist); }
.page-gallery-thumb--empty { min-height: 160px; }
.page-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.page-gallery-card-title {
  padding: 14px 16px 16px; margin: 0;
  font-size: .88rem; font-weight: 800; color: var(--navy-deep); line-height: 1.35;
}
.page-gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.page-gallery-item {
  aspect-ratio: 1; overflow: hidden;
  border: 1px solid var(--keyline); border-radius: var(--r-lg); background: #fff;
}
.page-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Inner-page layout guardrails — prevent Tailwind / prose from breaking grids */
body.is-inner .page-shell .page-prose,
body.is-inner .sticky-split .page-prose { max-width: none; width: 100%; }
body.is-inner .sticky-split.split-5-7 {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(36px, 4.5vw, 56px);
}
body.is-inner .page-shell .bento,
body.is-inner .page-card-grid,
body.is-inner .page-gallery-grid,
body.is-inner .page-gallery-mosaic,
body.is-inner .page-member-grid,
body.is-inner .page-faculty-grid,
body.is-inner .stem-fac-grid,
body.is-inner .stem-goal-grid,
body.is-inner .stem-fact-strip,
body.is-inner .stem-projects-grid,
body.is-inner .stem-contact-panel,
body.is-inner .news-cards,
body.is-inner .page-contact-layout,
body.is-inner .grid-keylines.dept-grid { display: grid; }
body.is-inner .page-contact-layout { grid-template-columns: 1fr; }
@media (min-width: 960px) {
  body.is-inner .page-contact-layout { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  body.is-inner .sticky-split.split-5-7 { grid-template-columns: 1fr; }
}
body.is-inner .page-cta-band { width: 100%; }
body.is-inner .page-table-wrap { max-width: 100%; }
body.is-inner .page-table { min-width: 520px; }
body.is-inner .page-download-list { display: grid; gap: 10px; }
body.is-inner .page-member-card img { display: block; margin-left: auto; margin-right: auto; }

/* Card detail popup */
.card-modal {
  --modal-gutter: clamp(12px, 2.5vh, 32px);
  padding: var(--modal-gutter);
}
.card-modal-dialog.is-photo-view .modal-scroll {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.is-card-popup { cursor: pointer; }
.is-card-popup:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--teal);
}
.page-gallery-thumb.is-card-popup,
.page-gallery-item.is-card-popup,
.gal-item.is-card-popup { cursor: zoom-in; }
.page-gallery-card .page-gallery-thumb.is-card-popup:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 3px var(--teal);
}
.card-modal-dialog {
  max-width: 640px;
  display: flex;
  flex-direction: column;
}
.card-modal-dialog.is-photo-view {
  max-width: min(960px, calc(100vw - (var(--modal-gutter) * 2) - 96px));
  overflow: hidden;
}
.card-modal-dialog.is-photo-view .modal-head,
.card-modal-dialog.is-photo-view .card-modal-actions { flex-shrink: 0; }
.card-modal-dialog.is-photo-view .card-modal-media.is-photo {
  flex: 1 1 auto;
  min-height: min(420px, calc(100dvh - (var(--modal-gutter) * 2) - 11rem));
  width: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  margin-bottom: 12px;
  padding: 0;
  overflow: hidden;
}
.card-modal-media.is-photo img {
  display: block;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  background: var(--mist);
}
.card-modal-nav {
  position: fixed;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border-radius: 999px;
  border: 1px solid var(--keyline);
  background: #fff;
  color: var(--navy);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.card-modal-nav:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.card-modal-nav--prev { left: max(8px, calc(var(--modal-gutter) - 4px)); }
.card-modal-nav--next { right: max(8px, calc(var(--modal-gutter) - 4px)); }
.card-modal-counter {
  margin: 10px 0 0;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-soft);
}
@media (max-width: 640px) {
  .card-modal-nav { width: 40px; height: 40px; margin-top: -20px; }
  .card-modal-dialog.is-photo-view {
    max-width: calc(100vw - (var(--modal-gutter) * 2));
  }
  .card-modal-dialog.is-photo-view .card-modal-media.is-photo {
    min-height: min(280px, calc(100dvh - (var(--modal-gutter) * 2) - 9rem));
  }
}
.card-modal.is-photo-view .modal-title { font-size: 1.15rem; }
.card-modal-media {
  margin-bottom: 22px;
  border: 1px solid var(--keyline);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--mist);
  flex-shrink: 0;
}
.card-modal-media img {
  display: block;
  width: 100%;
  max-height: min(420px, calc(100dvh - (var(--modal-gutter) * 2) - 10rem));
  object-fit: cover;
}
.card-modal-media.is-portrait {
  max-width: 220px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 999px;
}
.card-modal-media.is-portrait img {
  max-height: min(280px, calc(100dvh - (var(--modal-gutter) * 2) - 10rem));
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 999px;
}
.card-modal-actions { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 12px; }
.card-modal .modal-sub:empty { display: none; }
.card-modal .modal-sub { margin-bottom: 0; }
.card-modal .modal-head { margin-bottom: 0; }
.card-modal .modal-eyebrow:not([hidden]) { display: inline-flex; }

/* ── Floating Help Centre ──────────────────────────────────────────── */
/* True bottom-right. Vertical tooltip above green FAB. */
:root {
  --float-edge: max(16px, env(safe-area-inset-bottom, 0px));
  --float-right: max(16px, env(safe-area-inset-right, 0px));
  --float-gap: 10px;
  --help-panel-w: min(340px, calc(100vw - 32px));
  --help-fab: 56px;
}
.help-float.float-ctas {
  position: fixed;
  z-index: 55;
  top: auto;
  left: auto;
  right: var(--float-right);
  bottom: var(--float-edge);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 14px;
  pointer-events: none;
  /* Shrink-wrap — never stretch / center across the viewport */
  width: max-content;
  max-width: calc(100vw - var(--float-right) - 8px);
  margin: 0;
  inset-inline-start: auto;
  inset-inline-end: var(--float-right);
}
.help-float.float-ctas > * { pointer-events: auto; }

/* Column stack: white tooltip ABOVE eye-catchy green FAB */
.help-trigger-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  align-self: flex-end;
  gap: 10px;
  width: max-content;
  margin: 0;
  position: relative;
}
/* White tooltip: pill + real CSS triangle sibling (no diamond/transform join) */
.help-trigger-label {
  appearance: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  margin: 0 0 10px;
  padding: 0;
  font: inherit;
  color: inherit;
  /* Shadow on untransformed wrapper → wraps pill + arrow as one silhouette */
  filter:
    drop-shadow(0 0 0.6px rgba(28, 60, 112, .22))
    drop-shadow(0 2px 3px rgba(14, 35, 66, .08))
    drop-shadow(0 8px 16px rgba(14, 35, 66, .16));
  transition: filter .2s ease;
}
.help-trigger-label-bubble {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0;
}
.help-trigger-label-text {
  display: block;
  padding: 14px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--navy-ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.15;
  white-space: nowrap;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  transition: color .15s ease;
}
/* Solid triangle tip — pulled into the pill curve so the join is seamless */
.help-trigger-label-arrow {
  display: block;
  width: 0;
  height: 0;
  margin-top: -5px;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 11px solid #fff;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.help-trigger-label:hover {
  filter:
    drop-shadow(0 0 0.6px rgba(47, 181, 173, .55))
    drop-shadow(0 3px 4px rgba(14, 35, 66, .1))
    drop-shadow(0 10px 20px rgba(14, 35, 66, .2));
}
.help-trigger-label:hover .help-trigger-label-text {
  color: var(--navy);
}
/* Eye-catching primary green FAB */
.help-trigger {
  appearance: none;
  border: 3px solid #c8f3ee;
  cursor: pointer;
  margin: 0;
  width: var(--help-fab);
  height: var(--help-fab);
  flex-shrink: 0;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--teal);
  position: relative;
  z-index: 2;
  box-shadow:
    0 0 0 0 rgba(47, 181, 173, .45),
    0 12px 28px rgba(23, 128, 120, .5),
    0 4px 10px rgba(14, 35, 66, .18);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  animation: help-fab-pulse 2.2s ease-out infinite;
}
.help-trigger::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 20px;
  border: 2px solid rgba(47, 181, 173, .55);
  opacity: .85;
  animation: help-fab-ring 2.2s ease-out infinite;
  pointer-events: none;
}
.help-trigger:hover {
  transform: translateY(-2px) scale(1.04);
  background: var(--teal-dark);
  border-color: #e0faf7;
  animation: none;
  box-shadow:
    0 16px 32px rgba(23, 128, 120, .55),
    0 6px 14px rgba(14, 35, 66, .22);
}
.help-trigger:hover::before { opacity: 0; animation: none; }
.help-trigger:focus-visible,
.help-trigger-label:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}
.help-trigger-ic { display: none; line-height: 0; position: relative; z-index: 1; }
.help-float:not(.is-open) .help-trigger-ic-chat { display: block; }
.help-float.is-open .help-trigger-ic-close { display: block; }
/* Hide tooltip while open — avoids colliding with the panel */
.help-float.is-open .help-trigger-label {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
  filter: none;
}
.help-float.is-open .help-trigger {
  background: var(--teal-dark);
  border-color: var(--teal-light);
  animation: none;
}
.help-float.is-open .help-trigger::before { display: none; }
@keyframes help-fab-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 0 rgba(47, 181, 173, .45),
      0 12px 28px rgba(23, 128, 120, .5),
      0 4px 10px rgba(14, 35, 66, .18);
  }
  55% {
    box-shadow:
      0 0 0 12px rgba(47, 181, 173, 0),
      0 12px 28px rgba(23, 128, 120, .5),
      0 4px 10px rgba(14, 35, 66, .18);
  }
}
@keyframes help-fab-ring {
  0% { transform: scale(.92); opacity: .9; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

.help-panel {
  width: var(--help-panel-w);
  max-width: min(var(--help-panel-w), calc(100vw - var(--float-right) - 8px));
  max-height: min(560px, calc(100dvh - var(--header-h, 76px) - 96px));
  display: flex;
  flex-direction: column;
  align-self: flex-end;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 22px 50px rgba(14, 35, 66, .28), 0 4px 14px rgba(14, 35, 66, .12);
  border: 1px solid rgba(28, 60, 112, .08);
  transform-origin: bottom right;
  animation: help-panel-in .22s ease;
  margin: 0;
  margin-inline-start: auto;
}
.help-panel[hidden] { display: none !important; }
@keyframes help-panel-in {
  from { opacity: 0; transform: translateY(10px) scale(.97); }
  to { opacity: 1; transform: none; }
}
.help-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 14px;
  /* Solid primary green — no navy/teal gradient */
  background: var(--teal);
  background-image: none;
  color: #fff;
  flex-shrink: 0;
}
.help-panel-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}
.help-panel-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 255, 255, .22);
  box-shadow: none;
  border: 1px solid rgba(255, 255, 255, .35);
}
.help-panel-title {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.25;
  color: #fff;
}
.help-panel-sub {
  margin: 4px 0 0;
  font-size: .84rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, .9);
}
.help-panel-close {
  appearance: none;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .88);
  cursor: pointer;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .15s ease, color .15s ease;
}
.help-panel-close:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}
.help-panel-body {
  padding: 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #f7f9fc;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
}
.help-item {
  display: grid;
  grid-template-columns: 42px 1fr 18px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(28, 60, 112, .1);
  text-decoration: none;
  color: inherit;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease, background .15s ease;
}
.help-item:hover {
  border-color: rgba(47, 181, 173, .45);
  box-shadow: 0 6px 16px rgba(28, 60, 112, .08);
  transform: translateY(-1px);
}
.help-item:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
.help-item-ic {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  background: var(--navy);
}
.help-item.is-wa {
  background: #edfaf2;
  border-color: rgba(37, 211, 102, .45);
}
.help-item.is-wa .help-item-title { color: #128c4a; }
.help-item.is-wa .help-item-desc { color: #2f9e5f; }
.help-item.is-wa .help-item-ic { background: #25D366; }
.help-item-ic.is-call { background: var(--teal); }
.help-item-ic.is-counsel { background: var(--navy-deep); }
.help-item-ic.is-admit { background: #9bb4d4; color: var(--navy-ink); }
.help-item-ic.is-dental { background: #b7e4de; color: var(--teal-dark); }
.help-item-ic.is-brochure { background: #f3e3b5; color: #8a6a1f; }
.help-item.is-ai {
  background: linear-gradient(135deg, var(--navy-ink) 0%, var(--navy) 100%);
  border-color: transparent;
  color: #fff;
}
.help-item.is-ai .help-item-title { color: #fff; }
.help-item.is-ai .help-item-desc { color: rgba(202, 242, 238, .9); }
.help-item.is-ai .help-item-chev { color: rgba(255, 255, 255, .7); }
.help-item-ic.is-ai-ic {
  background: rgba(127, 214, 206, .22);
  color: var(--teal-light);
  border: 1px solid rgba(127, 214, 206, .35);
}
.help-item-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.help-item-title {
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy-ink);
}
.help-item-desc {
  font-size: .78rem;
  line-height: 1.35;
  color: #5b6b82;
}
.help-item-chev {
  color: #9aa8bc;
  display: inline-flex;
  line-height: 0;
}

@media (max-width: 768px) {
  :root {
    --float-edge: max(12px, env(safe-area-inset-bottom, 0px));
    --float-right: max(12px, env(safe-area-inset-right, 0px));
    --help-panel-w: min(320px, calc(100vw - 24px));
    --help-fab: 52px;
  }
  .help-trigger { border-radius: 15px; border-width: 3px; }
  .help-trigger-label-text {
    font-size: 11px;
    padding: 12px 8px;
    letter-spacing: .05em;
  }
  .help-float.float-ctas { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .help-float.float-ctas,
  .help-trigger,
  .help-trigger-label,
  .help-item { transition: none; }
  .help-panel { animation: none; }
  .help-trigger,
  .help-trigger::before { animation: none !important; }
  .help-trigger:hover,
  .help-item:hover { transform: none; }
  .help-trigger-label-text { transform: rotate(180deg); }
}
/* Keep clear of open overlays */
.menu-open .help-float.float-ctas,
.modal-open .help-float.float-ctas { visibility: hidden; pointer-events: none; }

/* ── Stem Cell Centre page ─────────────────────────────────────────── */
.stem-fact-strip {
  margin: 0;
}
body.is-inner .stem-fact-strip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
.stem-fact-strip .page-fact {
  margin: 0;
  padding: 18px 20px;
  background: var(--mist);
  border: 1px solid var(--keyline);
  border-radius: var(--r);
  box-shadow: none;
}
.stem-fact-strip .page-fact-label {
  color: var(--teal-dark);
}
.stem-fact-strip .page-fact-value {
  font-size: .9rem;
}

.stem-band {
  margin: 0;
  padding: clamp(28px, 3.5vw, 40px);
  border: 1px solid var(--keyline);
  border-radius: var(--r-lg);
  background: #fff;
}
.stem-band-mist {
  background: var(--mist);
}
.stem-sec-head {
  margin: 0 0 clamp(22px, 3vw, 32px);
}
.stem-sec-head .eyebrow { margin: 0 0 10px; display: block; }
.stem-sec-head .h-section { margin: 0; }
.stem-sec-head-center {
  text-align: center;
}

/* Goals — numbered cards, not a dense wall of text */
.stem-goal-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 700px) {
  .stem-goal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
body.is-inner .stem-goal-grid { display: grid; }
.stem-goal-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 0;
  padding: 20px 20px 18px;
  background: #fff;
  border: 1px solid var(--keyline);
  border-radius: var(--r);
}
.stem-band-mist .stem-goal-card {
  background: #fff;
}
.stem-goal-num {
  flex-shrink: 0;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  color: var(--teal-dark);
  line-height: 1.4;
  padding-top: 2px;
}
.stem-goal-text {
  margin: 0;
  font-size: .9rem;
  line-height: 1.65;
  color: var(--text-soft);
}

/* Projects — two clean columns with counts */
.stem-projects-grid {
  display: grid;
  gap: 20px;
  margin: 0;
}
@media (min-width: 960px) {
  .stem-projects-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
  }
}
body.is-inner .stem-projects-grid { display: grid; }
.stem-project-col {
  margin: 0;
  padding: 22px 22px 8px;
  background: var(--mist);
  border: 1px solid var(--keyline);
  border-radius: var(--r);
}
.stem-band-mist .stem-project-col,
.stem-band .stem-project-col {
  background: var(--mist);
}
.stem-project-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--keyline);
}
.stem-project-title {
  margin: 0;
  font-size: .95rem;
  font-weight: 800;
  color: var(--navy-deep);
  letter-spacing: -.01em;
}
.stem-project-count {
  flex-shrink: 0;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 800;
  color: var(--teal-dark);
  background: var(--pale-teal);
  border-radius: 999px;
}
.stem-num-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: stem-n;
}
.stem-num-list li {
  position: relative;
  counter-increment: stem-n;
  padding: 14px 0 14px 40px;
  border-bottom: 1px solid var(--keyline);
  font-size: .88rem;
  line-height: 1.65;
  color: var(--text-soft);
}
.stem-num-list li:last-child { border-bottom: 0; }
.stem-num-list li::before {
  content: counter(stem-n, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 14px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--teal-dark);
}

/* Faculties — role → photo → name */
.stem-fac-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px 48px;
  max-width: 520px;
  margin: 0 auto;
}
@media (min-width: 700px) {
  .stem-fac-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.stem-fac-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
a.stem-fac-card:hover { text-decoration: none; color: inherit; }
a.stem-fac-card:hover .stem-fac-name { color: var(--teal-dark); }
a.stem-fac-card:hover .stem-fac-photo { border-color: var(--teal); }
.stem-fac-role {
  display: block;
  margin: 0 0 14px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-dark);
}
.stem-fac-photo {
  display: block;
  width: 100%;
  max-width: 200px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--keyline);
  background: #fff;
  transition: border-color .15s ease;
}
.stem-fac-name {
  display: block;
  margin-top: 14px;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--navy-deep);
  transition: color .15s ease;
}

/* Contact — split premium panel */
.stem-contact-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin: 0;
  padding: clamp(28px, 3.5vw, 40px);
  background:
    linear-gradient(135deg, rgba(47, 181, 173, 0.08) 0%, transparent 42%),
    var(--pale-navy);
  border: 1px solid var(--keyline);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 860px) {
  .stem-contact-panel {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
  }
}
body.is-inner .stem-contact-panel { display: grid; }
.stem-contact-copy .eyebrow { margin: 0 0 10px; display: block; }
.stem-contact-copy .h-section { margin: 0 0 18px; }
.stem-contact-person {
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--navy-deep);
}
.stem-contact-person strong { font-weight: 800; }
.stem-contact-role {
  display: block;
  margin-top: 4px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--text-soft);
}
.stem-contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--text-soft);
}
.stem-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 8px;
}
.stem-contact-list li:last-child { margin-bottom: 0; }
.stem-contact-list .icon {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--teal-dark);
}
.stem-contact-list a {
  color: var(--teal-dark);
  font-weight: 600;
}
.stem-contact-actions {
  padding: 24px 22px;
  background: #fff;
  border: 1px solid var(--keyline);
  border-radius: var(--r);
}
.stem-contact-prompt {
  margin: 0 0 18px;
  font-size: .9rem;
  line-height: 1.55;
  color: var(--text-soft);
}
.stem-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}
a.bento-tile.stem-tile {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
a.bento-tile.stem-tile:hover .stem-tile-cta {
  background: #fff;
  color: var(--navy-deep);
}
@media (max-width: 768px) {
  .stem-band { padding: 22px 18px; border-radius: var(--r); }
  .stem-goal-card { padding: 16px 14px; gap: 12px; }
  .stem-project-col { padding: 16px 16px 4px; }
  .stem-num-list li { padding-left: 36px; font-size: .86rem; }
  .stem-fac-grid { gap: 28px; }
  .stem-contact-panel { padding: 22px 18px; border-radius: var(--r); }
  .stem-contact-actions { padding: 18px 16px; }
}
