/* ===========================================================================
   Louis & Lois Academy — public website
   Rebuilt from mockups/Frontend. Colours sampled from the mockups themselves:
   navy #00327B, gold #FDC454 / #F6C04F, pale blue surfaces #F0F7FD / #EBF6FE.
   =========================================================================== */

:root {
  --navy: #00327B;
  --navy-700: #0A3F92;
  --navy-900: #012A66;
  --blue: #1F6FD0;
  --blue-500: #3E7CCD;
  --blue-300: #8FC3F3;
  --blue-100: #D6E8FA;
  --blue-50: #EBF6FE;
  --pale: #F0F7FD;
  --pale-2: #F6FAFE;

  --gold: #FDC454;
  --gold-600: #F0B13A;
  --gold-text: #F6C04F;
  --gold-rule: #FABD2D;

  --ink: #1C2B46;
  --body: #4A5C7A;
  --muted: #7C8BA5;
  --line: #DCE8F6;
  --white: #FFFFFF;

  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  --shadow-sm: 0 1px 3px rgba(0, 50, 123, .06);
  --shadow: 0 6px 20px rgba(0, 50, 123, .08);
  --shadow-lg: 0 14px 40px rgba(0, 50, 123, .14);

  --container: 1280px;

  /* One type scale for the whole site, each step fluid between a phone and a
     large screen, so nothing has to be resized per breakpoint.

     Item 5: --fs-scale multiplies the lot. Every literal size on the public
     site is written as calc(Npx * var(--fs-scale)) too, so the whole of the
     frontend moves together and a future change is this one number. */
  --fs-scale: 1.15;

  --fs-xs: calc(clamp(11.5px, .72vw + 9.5px, 13px) * var(--fs-scale));
  --fs-sm: calc(clamp(13px, .5vw + 11.6px, 14.5px) * var(--fs-scale));
  --fs-base: calc(clamp(15px, .45vw + 13.6px, 16.5px) * var(--fs-scale));
  --fs-md: calc(clamp(16px, .6vw + 14.3px, 18px) * var(--fs-scale));
  --fs-lg: calc(clamp(18px, 1vw + 15.2px, 22px) * var(--fs-scale));
  --fs-h3: calc(clamp(18px, 1.1vw + 15px, 23px) * var(--fs-scale));
  --fs-h2: calc(clamp(25px, 2.1vw + 18px, 38px) * var(--fs-scale));
  --fs-h1: calc(clamp(32px, 3.4vw + 16px, 58px) * var(--fs-scale));
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --script: 'Caveat', 'Segoe Script', cursive;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.site {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* Base typography is written with :where() so it carries no specificity of
   its own. Section rules below (hero colours, card headings, link states)
   would otherwise lose to it and silently render the wrong colour. */
:where(body.site) h1,
:where(body.site) h2,
:where(body.site) h3,
:where(body.site) h4,
:where(body.site) h5 {
  margin: 0 0 .5em;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.012em;
}

:where(body.site) p { margin: 0 0 1rem; }
:where(body.site) a { color: var(--blue); text-decoration: none; }
:where(body.site) a:hover { color: var(--navy); }
:where(body.site) img { max-width: 100%; display: block; }
:where(body.site) ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section-sm { padding: 44px 0; }
.section-pale { background: var(--pale); }
.section-blue { background: var(--blue-50); }

/* ---------------------------------------------------------------- headings */
.eyebrow {
  display: block;
  font-size: calc(12.5px * var(--fs-scale));
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: 10px;
}
.eyebrow-light { color: var(--blue-300); }

.section-title { font-size: var(--fs-h2); margin-bottom: 14px; }
.section-title .accent { color: var(--gold-text); }
.section-title.on-navy { color: #fff; }

.rule {
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 3px;
  background: var(--gold-rule);
  margin: 0 0 20px;
}
.rule-center { margin-left: auto; margin-right: auto; }

.title-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.title-row .rule { margin: 0; width: 46px; }

.lede { font-size: var(--fs-md); color: var(--body); max-width: 60ch; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 9px;
  border: 1.5px solid transparent;
  font-size: calc(14.5px * var(--fs-scale));
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background .16s, color .16s, border-color .16s, transform .16s, box-shadow .16s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); color: #fff; box-shadow: 0 6px 18px rgba(0, 50, 123, .28); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-600); color: var(--navy); box-shadow: 0 6px 18px rgba(240, 177, 58, .4); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--blue-100); }
.btn-outline:hover { background: var(--blue-50); color: var(--navy); border-color: var(--blue); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--blue-50); color: var(--navy); }
.btn-sm { padding: 9px 16px; font-size: calc(13px * var(--fs-scale)); }
.btn-lg { padding: 14px 28px; font-size: calc(15.5px * var(--fs-scale)); }
.btn-block { width: 100%; }

/* ---------------------------------------------------------------- top bar */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, .92);
  font-size: var(--fs-xs);
}
.topbar .container { display: flex; align-items: center; gap: 18px; min-height: 38px; flex-wrap: wrap; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar-right { margin-left: auto; }
.topbar a { color: rgba(255, 255, 255, .92); }
.topbar a:hover { color: var(--gold); }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar-item i { font-size: 1.05em; opacity: .85; }
.topbar-sep { width: 1px; height: 14px; background: rgba(255, 255, 255, .28); }
.topbar-social { display: inline-flex; align-items: center; gap: 14px; font-size: calc(18px * var(--fs-scale)); }
.topbar-social a { display: inline-flex; line-height: 1; transition: transform .14s, color .14s; }
.topbar-social a:hover { transform: translateY(-1px); }

/* ---------------------------------------------------------------- header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 60;
}
.site-header .container { display: flex; align-items: center; gap: 14px; min-height: 86px; flex-wrap: nowrap; }

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand:hover { text-decoration: none; }
.brand img { width: 62px; height: 62px; object-fit: contain; }
.brand-name { font-size: calc(21px * var(--fs-scale)); font-weight: 800; color: var(--navy); line-height: 1.05; letter-spacing: -.01em; }
.brand-name span { display: block; }
.brand-tag { font-family: var(--script); font-size: calc(15px * var(--fs-scale)); color: var(--blue-500); line-height: 1.2; margin-top: 1px; }

.main-nav { margin-left: auto; display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  font-size: calc(15.5px * var(--fs-scale));
  font-weight: 600;
  color: var(--ink);
  border-radius: 8px;
  white-space: nowrap;
}
.main-nav > li > a:hover { color: var(--navy); background: var(--pale); }
.main-nav > li > a i { font-size: calc(11px * var(--fs-scale)); opacity: .7; transition: transform .16s; }
.main-nav > li.is-active > a { color: var(--navy); }
.main-nav > li.is-active > a::after {
  content: ''; position: absolute; left: 13px; right: 13px; bottom: 2px;
  height: 2.5px; border-radius: 2px; background: var(--navy);
}

.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 246px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .16s, transform .16s, visibility .16s;
}
.main-nav > li:hover > .dropdown,
.main-nav > li:focus-within > .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav > li:hover > a i { transform: rotate(180deg); }
.dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px;
  font-size: calc(15px * var(--fs-scale)); font-weight: 500; color: var(--body);
}
.dropdown a:hover { background: var(--pale); color: var(--navy); }
.dropdown a i { font-size: calc(14px * var(--fs-scale)); color: var(--blue); width: 17px; }

.nav-cta { flex-shrink: 0; }
.nav-toggle {
  display: none; margin-left: auto;
  background: none; border: 0; font-size: calc(24px * var(--fs-scale)); color: var(--navy); cursor: pointer; padding: 6px;
}

/* ---------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 28px; }
.hero-copy { padding: 54px 0; position: relative; z-index: 2; }
.hero h1 { font-size: clamp(32px, 4.6vw, 52px); margin-bottom: 16px; }
.hero h1 .line-2, .page-hero h1 .line-2 { display: block; }
.hero p { font-size: calc(16.5px * var(--fs-scale)); max-width: 46ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.hero-media { position: relative; align-self: stretch; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* Home hero — pale blue with the photo bleeding to the right edge */
.hero-home { background: linear-gradient(135deg, #EAF3FE 0%, #DCEBFC 55%, #CFE3FA 100%); }
.hero-home::before {
  content: ''; position: absolute; left: -90px; top: -60px; width: 320px; height: 320px;
  border-radius: 50%; background: radial-gradient(circle, rgba(31,111,208,.1), transparent 68%);
}
/* min() keeps the bleed at 0 once the viewport is narrower than the container,
   otherwise the negative margin flips positive and pushes the page sideways. */
.hero-home .hero-media { margin-right: min(0px, calc((100vw - var(--container)) / -2)); }
.hero-home .hero-media img { border-radius: 0 0 0 42px; max-height: 470px; }
.hero-home h1 .line-1 { color: var(--navy); }
.hero-home h1 .line-2 { color: var(--blue); }

/* Interior page heroes — navy or pale, with breadcrumbs */
/* Interior page hero — the same device as the homepage banner, at about 80%
   of its height. One banner, no rotation. */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  /* 80% of the homepage's clamp(420px, 46vw, 560px). */
  min-height: clamp(336px, 36.8vw, 448px);
}

.page-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 32%;
  z-index: -2;
}

.page-hero-wash {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg,
      rgba(0, 26, 62, .97) 0%,
      rgba(0, 31, 76, .93) 18%,
      rgba(0, 37, 90, .71) 34%,
      rgba(0, 44, 108, .29) 46%,
      rgba(0, 50, 123, 0) 60%),
    linear-gradient(180deg, rgba(0, 20, 50, .4) 0%, rgba(0, 20, 50, 0) 34%);
}

.page-hero .container { position: relative; width: 100%; }
.page-hero-copy { max-width: 620px; padding: 36px 0 38px; color: #fff; }
.page-hero-copy h1 { color: #fff; font-size: var(--fs-h2); margin-bottom: 14px; }
.page-hero-copy h1 .line-1 { display: block; }
.page-hero-copy h1 .line-2 { display: block; color: var(--gold-text); }
.page-hero-copy .rule { background: var(--gold-rule); }
.page-hero-copy p { font-size: var(--fs-md); color: rgba(255, 255, 255, .9); max-width: 48ch; margin-bottom: 16px; }


.breadcrumbs { display: flex; align-items: center; gap: 9px; font-size: calc(13.5px * var(--fs-scale)); flex-wrap: wrap; }
.breadcrumbs .sep { opacity: .5; }
.breadcrumbs-on-dark { color: rgba(255, 255, 255, .8); }
.breadcrumbs-on-dark a { color: rgba(255, 255, 255, .94); }
.breadcrumbs-on-dark a:hover { color: var(--gold); }

@media (max-width: 980px) {
  .page-hero-copy { max-width: none; }
  .page-hero-wash {
    background:
      linear-gradient(90deg, rgba(0, 32, 76, .93) 0%, rgba(0, 40, 96, .8) 55%, rgba(0, 50, 123, .5) 100%),
      linear-gradient(180deg, rgba(0, 24, 60, .3) 0%, rgba(0, 24, 60, .1) 40%);
  }
}

/* Hand-lettered script flourish sitting over the hero art */
.hero-script {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  max-width: 44%;
  font-family: var(--script);
  font-size: calc(27px * var(--fs-scale));
  line-height: 1.12;
  text-align: left;
  pointer-events: none;
}
.page-hero-navy .hero-script { color: #fff; }
.page-hero-light .hero-script, .hero-home .hero-script { color: var(--navy); }
.hero-script::after {
  content: ''; display: block; width: 92px; height: 3px; border-radius: 3px;
  background: var(--gold-rule); margin-top: 10px;
}

/* ---------------------------------------------------------------- stat bar */
.stat-bar {
  background: var(--navy);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  /* auto-fit lets a four- or five-item bar sit on one row on desktop and
     wrap by itself on narrow screens, without a per-count class. */
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
}
.stat-bar-float { margin-top: -46px; position: relative; z-index: 5; }
.stat-bar-item {
  display: flex; align-items: center; gap: 14px;
  padding: 22px 20px;
  border-right: 1px solid rgba(255, 255, 255, .16);
}
.stat-bar-item:last-child { border-right: 0; }
.stat-bar-item i { font-size: calc(30px * var(--fs-scale)); color: rgba(255, 255, 255, .92); flex-shrink: 0; }
.stat-bar-value { font-size: calc(23px * var(--fs-scale)); font-weight: 800; color: #fff; line-height: 1.1; }
.stat-bar-label { font-size: calc(12.5px * var(--fs-scale)); color: rgba(255, 255, 255, .78); line-height: 1.35; }

/* A paler variant used on interior pages */
.stat-strip {
  background: var(--pale);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
}
.stat-strip .stat-bar-item { border-right-color: var(--line); }
.stat-strip .stat-bar-item i { color: var(--navy); }
.stat-strip .stat-bar-value { color: var(--navy); }
.stat-strip .stat-bar-label { color: var(--body); }

/* ---------------------------------------------------------------- cards */
.card-s {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow .18s, transform .18s;
}
.card-s-hover:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card-s-body { padding: 20px; }
.card-pale { background: var(--pale); border-color: transparent; }

.icon-circle {
  width: 54px; height: 54px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--blue-100); color: var(--navy);
  font-size: calc(22px * var(--fs-scale)); flex-shrink: 0;
}
.icon-circle-sm { width: 42px; height: 42px; font-size: calc(17px * var(--fs-scale)); }
.icon-circle-navy { background: var(--navy); color: #fff; }
.icon-circle-blue { background: var(--blue); color: #fff; }
.icon-circle-gold { background: var(--gold); color: var(--navy); }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
/* These three carry their own display, because they are only ever used to
   make a two-column layout. Relying on a separate .grid alongside them meant
   four places laid out as plain blocks instead, which is why the Why Choose
   values spread across the full width and over the photo beside them. */
.grid-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.grid-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; align-items: center; }
.grid-split-wide { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 36px; align-items: center; }

/* Feature tile: pale card, centred icon, title, copy */
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
.feature:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--blue-100); }
.feature .icon-circle { margin: 0 auto 14px; }
.feature h3 { font-size: calc(15.5px * var(--fs-scale)); margin-bottom: 8px; }
.feature p { font-size: calc(13.5px * var(--fs-scale)); margin: 0; color: var(--body); line-height: 1.6; }

/* Compact icon + label used on the home "why choose" and activities rows */
.mini-feature { display: flex; flex-direction: column; gap: 10px; }
.mini-feature .icon-circle { width: 46px; height: 46px; font-size: calc(19px * var(--fs-scale)); }
.mini-feature span { font-size: calc(13.5px * var(--fs-scale)); font-weight: 600; color: var(--ink); line-height: 1.4; }
.mini-feature-center { align-items: center; text-align: center; }

/* ---------------------------------------------------------------- media cards */
.media-card { display: block; }
.media-card:hover { text-decoration: none; }
.media-card .thumb { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--blue-50); }
.media-card .thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .35s; }
.media-card:hover .thumb img { transform: scale(1.05); }
.media-card .caption { font-size: calc(13.5px * var(--fs-scale)); font-weight: 700; color: var(--navy); text-align: center; margin-top: 10px; }

.date-badge {
  position: absolute; left: 12px; bottom: 12px;
  background: var(--navy); color: #fff;
  border-radius: 9px; padding: 7px 11px; text-align: center; line-height: 1.05;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}
.date-badge strong { display: block; font-size: calc(19px * var(--fs-scale)); font-weight: 800; }
.date-badge span { font-size: calc(9.5px * var(--fs-scale)); letter-spacing: .08em; text-transform: uppercase; opacity: .85; }

.pill {
  display: inline-block; padding: 4px 11px; border-radius: 999px;
  font-size: calc(11.5px * var(--fs-scale)); font-weight: 700; letter-spacing: .02em;
}
.pill-blue { background: var(--blue-100); color: var(--navy); }
.pill-green { background: #DCF5EA; color: #0A7A4E; }
.pill-gold { background: #FDEFD0; color: #9A6A04; }
.pill-pink { background: #FBE2EC; color: #B03060; }
.pill-grey { background: #EDF1F7; color: var(--body); }

/* ---------------------------------------------------------------- filter tabs */
.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-tab {
  padding: 10px 18px; border-radius: 8px;
  background: var(--pale); color: var(--navy);
  font-size: calc(13.5px * var(--fs-scale)); font-weight: 600; border: 1px solid transparent;
}
.filter-tab:hover { background: var(--blue-100); color: var(--navy); }
.filter-tab.is-active { background: var(--navy); color: #fff; }

/* ---------------------------------------------------------------- CTA band */
.cta-band { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; font-size: clamp(22px, 2.8vw, 32px); margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, .85); margin-bottom: 0; }
.cta-band .eyebrow { color: var(--gold-text); }
.cta-band-inner { display: grid; grid-template-columns: 300px 1fr auto; gap: 34px; align-items: center; min-height: 190px; }
.cta-band-media { align-self: stretch; position: relative; margin-left: min(0px, calc((100vw - var(--container)) / -2)); }
.cta-band-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 40%, var(--navy) 100%);
}
.cta-band-copy { padding: 34px 0; }
/* The second line of the heading, in the gold accent — the same two-part
   heading the heroes use, so a block that carries one reads whole. */
.cta-band-copy h2 .line-2 { display: block; color: var(--gold-text); }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; padding: 34px 0; }
.cta-band-list { display: flex; flex-direction: column; gap: 11px; padding: 34px 0; }
.cta-band-list li { display: flex; align-items: center; gap: 10px; font-size: calc(14px * var(--fs-scale)); color: rgba(255, 255, 255, .92); }
.cta-band-list i { color: var(--gold); font-size: calc(15px * var(--fs-scale)); }

/* Home's two-up admission strip */
.cta-strip { background: var(--navy); color: #fff; }
.cta-strip .container { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; padding-top: 34px; padding-bottom: 34px; }
.cta-strip-item { display: flex; align-items: center; gap: 15px; flex: 1 1 320px; }
.cta-strip-item > i { font-size: calc(32px * var(--fs-scale)); color: rgba(255, 255, 255, .9); }
.cta-strip-title { font-size: calc(14.5px * var(--fs-scale)); font-weight: 800; color: var(--gold-text); letter-spacing: .04em; text-transform: uppercase; }
.cta-strip-sub { font-size: calc(13.5px * var(--fs-scale)); color: rgba(255, 255, 255, .85); }
.cta-strip .divider { width: 1px; align-self: stretch; background: rgba(255, 255, 255, .22); }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--pale); padding: 48px 0 34px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.25fr; gap: 34px; }
.footer-brand .brand { margin-bottom: 14px; }
.footer-about { font-size: calc(13.5px * var(--fs-scale)); color: var(--body); margin-bottom: 16px; max-width: 32ch; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy); color: #fff; font-size: calc(15px * var(--fs-scale));
}
.footer-social a:hover { background: var(--blue); color: #fff; }
.footer-col h4 { font-size: calc(15px * var(--fs-scale)); margin-bottom: 14px; color: var(--navy); }
.footer-col li { margin-bottom: 9px; }
.footer-col li a { font-size: calc(13.5px * var(--fs-scale)); color: var(--body); }
.footer-col li a:hover { color: var(--navy); }
.footer-contact li { display: flex; gap: 10px; font-size: calc(13.5px * var(--fs-scale)); color: var(--body); margin-bottom: 11px; }
.footer-contact i { color: var(--navy); font-size: calc(14px * var(--fs-scale)); margin-top: 3px; }

.footer-bar { background: var(--navy); color: rgba(255, 255, 255, .85); font-size: calc(13px * var(--fs-scale)); }
.footer-bar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; flex-wrap: wrap; }
.footer-motto { display: inline-flex; align-items: center; gap: 10px; }
.footer-motto .dot { opacity: .6; }
.footer-motto::after { content: ''; width: 42px; height: 3px; border-radius: 3px; background: var(--gold-rule); }

/* ---------------------------------------------------------------- newsletter */
.newsletter-form { display: flex; gap: 0; max-width: 320px; }
.newsletter-form input {
  flex: 1 1 auto; min-width: 0;
  padding: 11px 14px; font-size: calc(13.5px * var(--fs-scale)); font-family: inherit;
  border: 1px solid var(--line); border-right: 0;
  border-radius: 8px 0 0 8px; background: #fff; color: var(--ink);
}
.newsletter-form input:focus { outline: none; border-color: var(--blue); }
.newsletter-form button {
  border: 0; border-radius: 0 8px 8px 0; padding: 0 16px;
  background: var(--gold); color: var(--navy); font-size: calc(15px * var(--fs-scale)); cursor: pointer;
}
.newsletter-form button:hover { background: var(--gold-600); }

/* ---------------------------------------------------------------- forms */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: calc(13.5px * var(--fs-scale)); font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field .req { color: #D93F4C; }
.input, .site select, .site textarea {
  width: 100%; padding: 11px 14px;
  font-size: calc(14.5px * var(--fs-scale)); font-family: inherit; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 9px;
}
.input:focus, .site select:focus, .site textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 111, 208, .12); }
.search-field { position: relative; }
.search-field .input { padding-right: 42px; }
.search-field button {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  border: 0; background: none; color: var(--navy); font-size: calc(16px * var(--fs-scale)); cursor: pointer; padding: 6px;
}

/* ---------------------------------------------------------------- quote */
.quote-card {
  background: var(--pale); border-radius: var(--radius-lg); padding: 26px 28px;
  position: relative;
}
.quote-mark { font-size: calc(34px * var(--fs-scale)); color: var(--blue-300); line-height: 1; margin-bottom: 6px; display: block; }
.quote-card p { font-size: calc(15.5px * var(--fs-scale)); color: var(--ink); }
.quote-author { font-weight: 700; color: var(--navy); font-size: calc(14px * var(--fs-scale)); }
.quote-role { font-size: calc(12.5px * var(--fs-scale)); color: var(--muted); }

.stars { color: var(--gold-600); font-size: calc(13px * var(--fs-scale)); letter-spacing: 1px; }

.avatar-round { width: 66px; height: 66px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.avatar-lg { width: 86px; height: 86px; }

/* ---------------------------------------------------------------- video */
.video-card .thumb::after {
  content: '\f4f4';
  font-family: 'bootstrap-icons';
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: calc(22px * var(--fs-scale)); padding-left: 4px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .28);
  transition: transform .2s, background .2s;
}
.video-card:hover .thumb::after { transform: translate(-50%, -50%) scale(1.09); background: #fff; }
.video-duration {
  position: absolute; right: 10px; bottom: 10px;
  background: rgba(0, 0, 0, .72); color: #fff;
  font-size: calc(11.5px * var(--fs-scale)); font-weight: 600; padding: 3px 8px; border-radius: 5px;
}
.video-card h3 { font-size: calc(15px * var(--fs-scale)); margin: 12px 0 4px; }
.video-card p { font-size: calc(13px * var(--fs-scale)); margin: 0; color: var(--body); }

/* ---------------------------------------------------------------- gallery */
.album-tile { position: relative; border-radius: var(--radius-lg); overflow: hidden; display: block; }
.album-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.album-tile:hover img { transform: scale(1.06); }
.album-tile::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0, 27, 66, .88) 0%, rgba(0, 27, 66, .35) 42%, transparent 68%);
}
.album-meta {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; align-items: center; gap: 12px; padding: 18px;
  color: #fff;
}
.album-meta i.lead-icon { font-size: calc(21px * var(--fs-scale)); opacity: .95; }
.album-meta h3 { color: #fff; font-size: calc(16px * var(--fs-scale)); margin: 0 0 2px; }
.album-meta p { margin: 0; font-size: calc(12.5px * var(--fs-scale)); color: rgba(255, 255, 255, .82); line-height: 1.4; }
.album-go {
  margin-left: auto; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255, 255, 255, .9); color: var(--navy);
  display: inline-flex; align-items: center; justify-content: center; font-size: calc(14px * var(--fs-scale)); flex-shrink: 0;
}
.album-tall { grid-row: span 2; }

/* ---------------------------------------------------------------- misc */
.check-list li { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 11px; font-size: calc(14px * var(--fs-scale)); }
.check-list i { color: var(--blue); font-size: calc(17px * var(--fs-scale)); margin-top: 1px; flex-shrink: 0; }

.numbered-list li { display: flex; gap: 14px; margin-bottom: 18px; }
.numbered-list .icon-circle { flex-shrink: 0; }
.numbered-list h4 { font-size: calc(15px * var(--fs-scale)); margin: 0 0 3px; }
.numbered-list p { font-size: calc(13.5px * var(--fs-scale)); margin: 0; }

.ratio-wide { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.ratio-photo { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.rounded { border-radius: var(--radius); }
.rounded-lg { border-radius: var(--radius-lg); }
.shadowed { box-shadow: var(--shadow); }

.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-3 { margin-top: 18px; }
.mt-4 { margin-top: 26px; }
.u-flex { display: flex; }
.u-between { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.u-gap { gap: 14px; }

.empty-note {
  text-align: center; padding: 48px 20px; color: var(--muted);
  background: var(--pale); border-radius: var(--radius-lg);
}
.empty-note i { font-size: calc(32px * var(--fs-scale)); display: block; margin-bottom: 10px; color: var(--blue-300); }

.alert-site {
  display: flex; gap: 12px; padding: 14px 18px; border-radius: 10px;
  font-size: calc(14px * var(--fs-scale)); margin-bottom: 20px;
}
.alert-site i { font-size: calc(18px * var(--fs-scale)); flex-shrink: 0; }
.alert-ok { background: #DCF5EA; color: #0A7A4E; }
.alert-err { background: #FDE6EA; color: #B3273A; }

/* ---------------------------------------------------------------- pagination */
.pager { display: flex; gap: 7px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 38px; height: 38px; padding: 0 11px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; border: 1px solid var(--line);
  font-size: calc(14px * var(--fs-scale)); font-weight: 600; color: var(--navy); background: #fff;
}
.pager a:hover { background: var(--pale); border-color: var(--blue-100); }
.pager .is-current { background: var(--navy); border-color: var(--navy); color: #fff; }
.pager .is-disabled { opacity: .45; pointer-events: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1240px) {
  .main-nav > li > a { padding: 9px 8px; font-size: calc(13px * var(--fs-scale)); }
  .brand-name { font-size: calc(17px * var(--fs-scale)); }
  .nav-cta { padding: 11px 16px; font-size: calc(13px * var(--fs-scale)); }
}

@media (max-width: 1100px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: var(--shadow-lg); padding: 10px;
    max-height: calc(100vh - 120px); overflow-y: auto;
    display: none;
  }
  .site-header { position: relative; }
  .site-header.nav-open .main-nav { display: flex; }
  .main-nav > li > a { padding: 12px 14px; justify-content: space-between; font-size: calc(14.5px * var(--fs-scale)); }
  .main-nav > li.is-active > a::after { display: none; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; border-left: 2px solid var(--blue-100);
    border-radius: 0; margin: 0 0 6px 16px; padding: 0 0 0 6px; display: none;
  }
  .main-nav > li.open > .dropdown { display: block; }
  /* Brand, burger and the gold CTA must share one narrow row, so each one
     shrinks rather than pushing the page sideways. */
  .site-header .container { gap: 10px; }
  .brand { min-width: 0; gap: 9px; }
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: calc(14.5px * var(--fs-scale)); }
  .brand-tag { font-size: calc(11.5px * var(--fs-scale)); }
  .nav-toggle { margin-left: auto; order: 3; flex-shrink: 0; }
  .nav-cta { order: 2; padding: 9px 13px; font-size: calc(12.5px * var(--fs-scale)); flex-shrink: 0; }

  .hero-inner, .page-hero .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; margin-right: 0 !important; }
  .hero-home .hero-media img, .page-hero .hero-media img { border-radius: 0; max-height: 300px; }
  .page-hero .hero-media::after { display: none; }
  .hero-script { display: none; }
  .hero-copy { padding: 34px 0 !important; }

  .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-sidebar, .grid-split, .grid-split-wide { grid-template-columns: 1fr; }
  .stat-bar-item:nth-child(2n) { border-right: 0; }
  .stat-bar-float { margin-top: 0; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-band-inner { grid-template-columns: 1fr; }
  .cta-band-media { margin-left: 0; height: 190px; }
  .cta-band-media::after { background: linear-gradient(180deg, transparent 30%, var(--navy) 100%); }
  .cta-band-copy, .cta-band-actions, .cta-band-list { padding: 0 0 22px; }
  .cta-band-inner { padding-top: 0; }
  .album-tall { grid-row: span 1; }
}

@media (max-width: 620px) {
  .section { padding: 44px 0; }
  .grid-2, .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: minmax(0, 1fr); }
  .stat-bar-item { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
  .stat-strip .stat-bar-item { border-bottom-color: var(--line); }
  .stat-bar-item:last-child { border-bottom: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-left { display: none; }
  .topbar .container { justify-content: center; }
  .topbar-right { margin-left: 0; }
  .brand-name { font-size: calc(13px * var(--fs-scale)); }
  .brand-tag { display: none; }
  .brand img { width: 36px; height: 36px; }
  .nav-cta { padding: 8px 11px; font-size: calc(11.5px * var(--fs-scale)); }
  .nav-cta i { display: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .newsletter-form { max-width: none; }
}

/* ---------------------------------------------------------------- lightbox */


.carousel-dot {
  width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0;
  background: var(--blue-100); cursor: pointer; transition: background .16s, width .16s;
}
.carousel-dot.is-active { background: var(--blue); width: 20px; border-radius: 4px; }

.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  background: #fff; color: var(--navy); font-size: calc(15px * var(--fs-scale)); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); z-index: 3;
}
.carousel-arrow:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------------------------------------------------------------- mini calendar */
.mini-cal { width: 100%; border-collapse: collapse; }
.mini-cal th {
  font-size: calc(10.5px * var(--fs-scale)); font-weight: 700; color: var(--muted);
  text-transform: uppercase; letter-spacing: .04em; padding-bottom: 6px;
}
.mini-cal td { text-align: center; padding: 2px; }
.mini-cal td span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%;
  font-size: calc(12px * var(--fs-scale)); color: var(--ink); position: relative;
}
.mini-cal td span.is-out { color: var(--muted); opacity: .5; }
.mini-cal td span.is-today { background: var(--navy); color: #fff; font-weight: 700; }
.mini-cal td span.has-event:not(.is-today) { background: var(--blue-100); color: var(--navy); font-weight: 700; }
.mini-cal td span.has-event::after {
  content: ''; position: absolute; bottom: 1px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: var(--blue);
}
.mini-cal td span.is-today.has-event::after { background: var(--gold); }

.cal-nav {
  width: 26px; height: 26px; border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--line); color: var(--navy); font-size: calc(12px * var(--fs-scale));
}
.cal-nav:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

.share-dot {
  width: 26px; height: 26px; border-radius: 50%; color: #fff; font-size: calc(12px * var(--fs-scale));
  display: inline-flex; align-items: center; justify-content: center;
}
.share-dot:hover { color: #fff; opacity: .85; }

.schedule-table { width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; }
.schedule-table td { padding: 12px 16px; font-size: calc(13.5px * var(--fs-scale)); color: var(--body); }
.schedule-table tr:nth-child(odd) td { background: var(--pale); }

.cat-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 2px; font-size: calc(13.5px * var(--fs-scale)); color: var(--body);
  border-bottom: 1px solid var(--line);
}
.cat-row:last-child { border-bottom: 0; }
.cat-row:hover { color: var(--navy); }
.cat-row.is-active { color: var(--navy); font-weight: 700; }
.cat-count {
  min-width: 24px; text-align: center; border-radius: 999px;
  background: var(--blue-100); color: var(--navy);
  font-size: calc(11.5px * var(--fs-scale)); font-weight: 700; padding: 2px 7px;
}
.cat-row.is-active .cat-count { background: var(--navy); color: #fff; }

.article-body { font-size: calc(15.5px * var(--fs-scale)); color: var(--body); line-height: 1.8; }
.article-body p { margin-bottom: 1.1rem; }
.article-body h2, .article-body h3 { margin-top: 1.6rem; }
.article-body img { border-radius: var(--radius); margin: 1.2rem 0; }
.article-body ul { list-style: disc; padding-left: 20px; margin-bottom: 1.1rem; }
.article-body li { margin-bottom: .4rem; }

.faq-item { border-bottom: 1px solid var(--line); padding: 10px 0; }
.faq-item:last-of-type { border-bottom: 0; }
.faq-item summary {
  cursor: pointer; font-size: calc(13.5px * var(--fs-scale)); font-weight: 600; color: var(--navy);
  list-style: none; display: flex; align-items: flex-start; gap: 8px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before { content: '\F4FE'; font-family: 'bootstrap-icons'; font-size: calc(12px * var(--fs-scale)); color: var(--blue); margin-top: 2px; transition: transform .16s; }
.faq-item[open] summary::before { transform: rotate(90deg); }
.faq-item p { font-size: calc(13px * var(--fs-scale)); margin: 8px 0 0 20px; }


/* ---------------------------------------------------------------- layout utilities
   Page layouts declare their desktop columns through these classes rather than
   inline styles, so the breakpoints below can actually collapse them. */
.cols { display: grid; gap: 22px; }
.cols-main-side   { grid-template-columns: minmax(0, 1fr) 300px; gap: 26px; align-items: start; }
.cols-main-side-sm { grid-template-columns: minmax(0, 1fr) 270px; gap: 26px; align-items: start; }
.cols-story       { grid-template-columns: minmax(0, 1fr) 250px 230px; gap: 26px; align-items: start; }
.cols-quote       { grid-template-columns: minmax(0, 1fr) 250px 170px; gap: 0; align-items: center; }
.cols-welcome     { grid-template-columns: 270px minmax(0, 1fr) 300px; gap: 30px; align-items: start; }
.cols-commit      { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) 190px; gap: 0; align-items: center; }
.cols-feature     { grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr) 180px; gap: 0; align-items: center; }
.cols-video       { grid-template-columns: minmax(0, .95fr) minmax(0, 1.1fr) 250px; gap: 22px; align-items: center; }
.cols-cta-photo   { grid-template-columns: 320px minmax(0, 1fr) auto; gap: 28px; align-items: center; }
.cols-3up         { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; align-items: stretch; }
.cols-7-3         { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 20px; }
.cols-65-35       { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 24px; align-items: center; }
.cols-60-40       { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 26px; align-items: end; }
.cols-55-45       { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 26px; align-items: start; }
.cols-45-55       { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 22px; }
.cols-40-60       { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 28px; align-items: center; }
.cols-30-70       { grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 28px; align-items: start; }

@media (max-width: 1080px) {
  .cols-story, .cols-welcome, .cols-commit, .cols-feature, .cols-video,
  .cols-quote, .cols-cta-photo, .cols-3up { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .cols-cta-photo > :last-child { padding: 0 0 26px !important; }
}

@media (max-width: 1100px) {
  .cols-main-side, .cols-main-side-sm, .cols-7-3, .cols-65-35, .cols-60-40,
  .cols-55-45, .cols-45-55, .cols-40-60, .cols-30-70 { grid-template-columns: minmax(0, 1fr); }
}

/* Tables and calendars keep their own minimum width; let them scroll instead
   of stretching the page. */
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ================================================================
   Frontend adjustment round — hero banner, patterns, marquee
   ================================================================ */

/* ---------------------------------------------------------------- hero banner
   Items 3, 4 and 5: the photograph fills the width of the screen and the
   wording sits on top of it, darkened from the left so the text stays readable
   whatever the picture behind it is doing. */
.hero-banner {
  position: relative;
  isolation: isolate;
  /* Item 3: a fifth taller than the 452px the old split hero came out at. */
  min-height: clamp(420px, 46vw, 560px);
  display: grid;
}
.hero-banner > .hero-slide { grid-area: 1 / 1; }
.hero-slide { position: relative; display: flex; align-items: center; min-height: inherit; }
.hero-slide[hidden] { display: none; }

.hero-slide-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%;
  z-index: -2;
}

/* Item 4: solid navy at the left edge, gone by about 40% across — so the
   copy reads against colour and the picture is still itself on the right. */
.hero-slide-wash {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg,
      rgba(0, 26, 62, .97) 0%,
      rgba(0, 31, 76, .93) 18%,
      rgba(0, 37, 90, .71) 34%,
      rgba(0, 44, 108, .29) 46%,
      rgba(0, 50, 123, 0) 60%),
    linear-gradient(180deg, rgba(0, 20, 50, .4) 0%, rgba(0, 20, 50, 0) 34%);
}

.hero-slide .container { position: relative; width: 100%; }
.hero-slide-copy { max-width: 620px; padding: 56px 0 72px; color: #fff; }
.hero-slide-copy h1 { color: #fff; font-size: var(--fs-h1); margin-bottom: 16px; }
.hero-slide-copy h1 .line-1 { display: block; }
.hero-slide-copy h1 .line-2 { display: block; color: var(--gold-text); }
.hero-slide-copy p { font-size: var(--fs-md); color: rgba(255, 255, 255, .9); max-width: 48ch; }
.hero-slide-copy .rule { background: var(--gold-rule); }
.hero-slide-copy .hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }

.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px 7px 13px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .3);
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: #fff;
}
.hero-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

.hero-controls {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 78px; z-index: 3;
  display: flex; align-items: center; justify-content: flex-end; gap: 16px;
  pointer-events: none;
}
.hero-dots { display: flex; gap: 9px; pointer-events: auto; }
/* They sit over the photograph now rather than the dark foot of the banner,
   so they carry a shadow to stay visible against a pale picture. */
.hero-dots .carousel-dot {
  background: rgba(255, 255, 255, .55); width: 26px; height: 5px; border-radius: 3px;
  box-shadow: 0 1px 4px rgba(0, 24, 60, .45); border: 0; cursor: pointer; padding: 0;
  transition: width .18s, background .18s;
}
.hero-dots .carousel-dot.is-active { background: var(--gold); width: 40px; }
/* Item 19: one at each side of the banner, level with the middle of it,
   clear of the counter bar that overlaps the foot. */
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .45);
  color: #fff; font-size: calc(19px * var(--fs-scale)); cursor: pointer;
  transition: background .16s, transform .16s;
}
.hero-arrow:hover { background: rgba(255, 255, 255, .34); transform: translateY(-50%) scale(1.08); }
.hero-arrow-prev { left: clamp(10px, 2.2vw, 26px); }
.hero-arrow-next { right: clamp(10px, 2.2vw, 26px); }

/* ---------------------------------------------------------------- patterns
   Item 16: the geometric artwork sits behind a section at low opacity, never
   over the text, and is decorative only. */
.section-pattern-diagonal,
.section-pattern-bloom,
.section-pattern-corners { position: relative; isolation: isolate; overflow: hidden; }

.section-pattern-diagonal::before,
.section-pattern-bloom::before,
.section-pattern-corners::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-repeat: no-repeat;
  pointer-events: none;
}
.section-pattern-diagonal::before {
  background-image: url("../images/patterns/geo-diagonal.png");
  background-position: right -60px top -40px;
  background-size: 54% auto;
  opacity: .5;
}
.section-pattern-bloom::before {
  background-image: url("../images/patterns/geo-bloom.png");
  background-position: center bottom -70px;
  background-size: 70% auto;
  opacity: .32;
}
.section-pattern-corners::before {
  background-image: url("../images/patterns/geo-corners.png");
  background-position: center;
  background-size: cover;
  opacity: .3;
}

/* Item 8: the Vision and Mission cards carry the pattern themselves. */
.card-pattern {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(140deg, var(--blue-50) 0%, #F7FBFF 60%);
  border: 1px solid var(--line);
}
/* The artwork is kept faint, and a white wash sits over it behind the copy.
   At full strength the darker shapes in the pattern dropped the heading to
   2.3:1 against its own text, which is well below what is readable. */
.card-pattern::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(118deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .8) 55%, rgba(255, 255, 255, .55) 100%),
    url("../images/patterns/geo-corners.png") center / cover no-repeat;
}

/* ---------------------------------------------------------------- why choose
   Item 10: six values in two rows on the left, the campus photo on the right.
   They used to overflow their column and land across the picture. */
.why-split { align-items: center; gap: 40px; }
.why-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 20px;
  margin-top: 26px;
}
.why-value { display: flex; flex-direction: column; gap: 10px; }
.why-value-text { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); line-height: 1.4; }
.why-photo { width: 100%; aspect-ratio: 4 / 3.1; object-fit: cover; }

/* ---------------------------------------------------------------- facilities
   Item 12: a pale band the full width of the screen, with the cards sliding
   through it four at a time and stopping when the pointer is over them. */
.facilities-band { background: var(--blue-50); }

.marquee {
  overflow: hidden;
  width: 100%;
  padding: 4px 0 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.marquee-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: marquee-scroll var(--marquee-duration, 48s) linear infinite;
}
.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }

/* Four across the container, with the three gaps between them taken off. */
.marquee-item { flex: 0 0 calc((min(100vw, var(--container)) - 40px - 66px) / 4); }

@keyframes marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  /* Half the track is the duplicate pass, so stopping there loops seamlessly. */
  to   { transform: translate3d(calc(-50% - 11px), 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
}

/* ---------------------------------------------------------------- news rows
   Item 15: each post with its own picture to the left, stacked. */
.news-stack { margin: 0 0 18px; display: grid; gap: 12px; }
.news-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 10px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  transition: box-shadow .18s, transform .18s;
}
.news-row:hover { text-decoration: none; box-shadow: var(--shadow); transform: translateY(-2px); }
.news-row img { width: 92px; height: 68px; object-fit: cover; border-radius: 8px; }
.news-row strong { display: block; font-size: var(--fs-sm); color: var(--ink); font-weight: 600; line-height: 1.4; margin-bottom: 5px; }
.news-row-date { display: inline-flex; align-items: center; gap: 6px; font-size: calc(12.5px * var(--fs-scale)); color: var(--muted); }

/* ---------------------------------------------------------------- whatsapp
   Item 9: a floating button that opens a short panel, then hands the
   conversation to WhatsApp itself. */
.wa-launcher {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff; font-size: calc(30px * var(--fs-scale));
  border: 0; cursor: pointer;
  box-shadow: 0 8px 26px rgba(37, 211, 102, .45);
  transition: transform .18s, box-shadow .18s;
}
.wa-launcher:hover { transform: scale(1.07); box-shadow: 0 10px 30px rgba(37, 211, 102, .6); }
.wa-launcher::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, .6);
  animation: wa-ping 2.4s ease-out infinite;
}
@keyframes wa-ping {
  0%   { transform: scale(1); opacity: .7; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .wa-launcher::after { animation: none; }
}

.wa-panel {
  position: fixed; right: 20px; bottom: 90px; z-index: 91;
  width: min(330px, calc(100vw - 40px));
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 32, 76, .3);
  transform-origin: bottom right;
  transition: opacity .18s, transform .18s, visibility .18s;
}
.wa-panel[hidden] { display: block; opacity: 0; visibility: hidden; transform: scale(.94) translateY(8px); pointer-events: none; }
.wa-head { background: #075E54; color: #fff; padding: 15px 16px; display: flex; align-items: center; gap: 11px; }
.wa-head img { width: 40px; height: 40px; border-radius: 50%; background: #fff; object-fit: contain; padding: 3px; }
.wa-head-name { font-weight: 700; font-size: calc(14.5px * var(--fs-scale)); line-height: 1.2; }
.wa-head-status { font-size: calc(12px * var(--fs-scale)); opacity: .85; display: flex; align-items: center; gap: 5px; }
.wa-head-status::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #4ADE80; }
.wa-close { margin-left: auto; background: none; border: 0; color: #fff; font-size: calc(19px * var(--fs-scale)); cursor: pointer; opacity: .8; line-height: 1; }
.wa-close:hover { opacity: 1; }
.wa-body { padding: 18px 16px; background: #ECE5DD; }
.wa-bubble {
  background: #fff; border-radius: 0 10px 10px 10px; padding: 11px 13px;
  font-size: calc(13.5px * var(--fs-scale)); line-height: 1.55; color: var(--ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .14); max-width: 94%;
}
.wa-bubble + .wa-bubble { margin-top: 8px; }
.wa-foot { padding: 12px 16px 16px; background: #fff; }
.wa-foot .btn { width: 100%; justify-content: center; background: #25D366; color: #fff; border: 0; }
.wa-foot .btn:hover { background: #1EBE5B; color: #fff; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .why-values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .marquee-item { flex-basis: calc((100vw - 40px - 44px) / 3); }
  .hero-slide-copy { max-width: none; padding: 48px 0 76px; }
  .hero-slide-wash {
    background:
      linear-gradient(90deg, rgba(0, 32, 76, .93) 0%, rgba(0, 40, 96, .8) 55%, rgba(0, 50, 123, .5) 100%),
      linear-gradient(180deg, rgba(0, 24, 60, .3) 0%, rgba(0, 24, 60, .1) 40%);
  }
}

@media (max-width: 680px) {
  .why-values { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  /* Item 21: Beyond the Classroom keeps two per row on a phone. */
  .grid-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .marquee-item { flex-basis: calc((100vw - 40px - 22px) / 2); }
  .hero-banner { min-height: 430px; }
  /* Room at the foot for the controls row, so the buttons above it are
     never sitting under an arrow. */
  .hero-slide-copy { padding: 40px 0 124px; }
  /* On a phone the copy runs the full width, so arrows at mid-height would
     sit on top of the words. They drop to the bottom-left corner, with the
     dots at the bottom-right; both still clear the counter bar that
     overlaps the foot of the banner. */
  .hero-controls { bottom: 70px; }
  .hero-arrow {
    top: auto; bottom: 64px; transform: none;
    width: 40px; height: 40px; font-size: calc(16px * var(--fs-scale));
  }
  .hero-arrow:hover { transform: scale(1.06); }
  .hero-arrow-prev { left: 20px; }
  .hero-arrow-next { left: 68px; right: auto; }
  .news-row { grid-template-columns: 74px minmax(0, 1fr); }
  .news-row img { width: 74px; height: 58px; }
  .wa-launcher { right: 14px; bottom: 14px; width: 54px; height: 54px; font-size: calc(27px * var(--fs-scale)); }
  .wa-panel { right: 14px; bottom: 80px; }
}

/* Item 22: the link through to every testimonial sits under the carousel. */
.testimonial-more { margin-top: 18px; }

/* ================================================================
   Item 18 — touch
   The layout already holds at every width; what a phone was missing is
   something to actually hit. These enlarge the hit area of the small
   icon-only controls without changing how any of them look, and only
   where the pointer is coarse, so a mouse is unaffected.
   ================================================================ */
@media (hover: none) and (pointer: coarse) {

  /* Social and search icons in the information bar were 18px and 12px
     squares — reliably missable with a thumb. */
  .topbar-social a,
  .topbar-right > a[aria-label] {
    position: relative;
  }
  .topbar-social a::after,
  .topbar-right > a[aria-label]::after {
    content: '';
    position: absolute;
    left: 50%; top: 50%;
    width: 44px; height: 44px;
    transform: translate(-50%, -50%);
  }

  /* Carousel dots are deliberately slim bars; the bar stays the size it
     is and the tappable area around it grows to a finger's width. */
  .carousel-dot { position: relative; }
  .carousel-dot::after {
    content: '';
    position: absolute;
    left: 50%; top: 50%;
    min-width: 44px; width: 100%; height: 44px;
    transform: translate(-50%, -50%);
  }

  /* Small buttons sit at 35px; a touch target wants 44. */
  .btn-sm { min-height: 44px; }

  /* Menu rows in the open drawer deserve the same. */
  .main-nav > li > a,
  .dropdown a { min-height: 44px; }

  /* The footer social buttons are real squares, so they simply grow. At
     34px they were under the size a thumb lands on reliably. */
  .footer-social a { width: 44px; height: 44px; font-size: calc(18px * var(--fs-scale)); }
}

/* ---------------------------------------------------------------- phones
   Item 18: the remaining phone-specific adjustments, all additive. */
@media (max-width: 560px) {
  /* The information bar wraps to two rows on a narrow phone; centring it
     stops the second row looking like a mistake. */
  .topbar .container { justify-content: center; row-gap: 6px; }
  .topbar-left, .topbar-right { justify-content: center; }
  .topbar-right { margin-left: 0; }

  /* The hero's two buttons stack rather than squeezing side by side. */
  .hero-slide-copy .hero-actions { gap: 10px; }
  .hero-slide-copy .hero-actions .btn { flex: 1 1 100%; justify-content: center; }

  /* The admission strip reads as two stacked notices, each full width. */
  .cta-strip .container { gap: 18px; }
  .cta-strip-item { flex: 1 1 100%; flex-wrap: wrap; }
  .cta-strip-item .btn { margin-left: 0 !important; width: 100%; justify-content: center; }
  .cta-strip .divider { display: none; }

  /* A testimonial and its photograph stack instead of competing for width. */
  .quote-author, .quote-role { text-align: left; }
}

/* ================================================================
   About Us page — items 2, 3 and 4
   ================================================================ */

/* Item 2: a pale band behind the whole section, each objective on white so
   the cards lift off it instead of blending in. */
.objectives-band { background: var(--blue-50); }

.objective-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.objective-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }

/* Item 3: pattern down the right of the commitment panel, behind the Learn /
   Grow / Shine column, fading out before it reaches the words. */
.commitment-panel { position: relative; isolation: isolate; }
.commitment-panel::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: url("../images/patterns/geo-bloom.png") right center / auto 150% no-repeat;
  opacity: .45;
  -webkit-mask-image: linear-gradient(90deg, transparent 42%, #000 78%);
  mask-image: linear-gradient(90deg, transparent 42%, #000 78%);
  pointer-events: none;
}

/* Item 4: the core value cards lift off the page. */
.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 18px;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.value-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

/* Item 3: the three achievement areas sit on raised cards. */
.achievement-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 20px;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.achievement-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

/* ---------------------------------------------------------------- pagination
   Items 7, 15 and 19: testimonials, videos and events all page at fifteen. */
.site-pager {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; flex-wrap: wrap;
  margin-top: 34px;
}
.site-pager-step {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 16px; min-height: 44px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; color: var(--navy);
  font-size: var(--fs-sm); font-weight: 600;
}
.site-pager-step:hover { background: var(--pale); color: var(--navy); text-decoration: none; }
.site-pager-step.is-disabled { opacity: .4; pointer-events: none; }

.site-pager-pages { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.site-pager-pages a,
.site-pager-pages .is-current {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px; padding: 0 10px;
  border-radius: var(--radius);
  font-size: var(--fs-sm); font-weight: 600;
}
.site-pager-pages a { color: var(--navy); border: 1px solid var(--line); background: #fff; }
.site-pager-pages a:hover { background: var(--pale); text-decoration: none; }
.site-pager-pages .is-current { background: var(--navy); color: #fff; border: 1px solid var(--navy); }
.site-pager-gap { color: var(--muted); padding: 0 2px; }

@media (max-width: 560px) {
  .site-pager-step span { display: none; }
  .site-pager { gap: 7px; }
}

/* ---------------------------------------------------------------- viewer
   Item 10: pictures step with the arrows or the keyboard and can run as a
   slideshow; item 12 plays a video in the same shell. */
.site-lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(2, 18, 44, .94);
  display: none; align-items: center; justify-content: center;
  padding: 72px 20px 40px;
}
.site-lightbox.open { display: flex; }

.lightbox-bar {
  position: absolute; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 16px 22px;
}
.lightbox-count { color: rgba(255, 255, 255, .8); font-size: calc(14px * var(--fs-scale)); font-variant-numeric: tabular-nums; }
.lightbox-tools { display: flex; gap: 10px; margin-left: auto; }
.lightbox-btn {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .34);
  color: #fff; font-size: calc(18px * var(--fs-scale)); cursor: pointer;
  transition: background .16s, transform .16s;
}
.lightbox-btn:hover { background: rgba(255, 255, 255, .28); transform: scale(1.06); }

.lightbox-stage { margin: 0; max-width: 1040px; width: 100%; text-align: center; }
.site-lightbox img { max-width: 100%; max-height: 74vh; border-radius: var(--radius); margin: 0 auto; }
.site-lightbox figcaption { color: rgba(255, 255, 255, .88); font-size: calc(14px * var(--fs-scale)); margin-top: 14px; }

.lightbox-video { width: 100%; max-width: 980px; margin: 0 auto; aspect-ratio: 16 / 9; background: #000; border-radius: var(--radius); overflow: hidden; }
.lightbox-video iframe,
.lightbox-video video { width: 100%; height: 100%; border: 0; display: block; }

.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .34);
  color: #fff; font-size: calc(22px * var(--fs-scale)); cursor: pointer;
  transition: background .16s, transform .16s;
}
.lightbox-nav:hover { background: rgba(255, 255, 255, .28); transform: translateY(-50%) scale(1.07); }
.lightbox-prev { left: clamp(10px, 3vw, 34px); }
.lightbox-next { right: clamp(10px, 3vw, 34px); }

/* One picture has nowhere to step to, and nothing to play. */
.site-lightbox.is-single .lightbox-nav,
.site-lightbox.is-single [data-lightbox-play],
.site-lightbox.is-single .lightbox-count { display: none; }

@media (max-width: 680px) {
  .site-lightbox { padding: 64px 12px 28px; }
  .lightbox-nav { width: 42px; height: 42px; }
  .site-lightbox img { max-height: 62vh; }
}

/* Item 11: the points that used to sit beside the featured video now run as a
   row of their own above the list. */
.video-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-bottom: 28px;
  padding: 18px;
  background: var(--blue-50);
  border-radius: var(--radius-lg);
}
.video-point { display: flex; align-items: center; gap: 12px; }
.video-point i { color: var(--blue); font-size: calc(20px * var(--fs-scale)); }
.video-point strong { font-size: calc(13px * var(--fs-scale)); color: var(--navy); }

/* ---------------------------------------------------------------- events
   Items 17 and 18: one list with a scope filter above it, and a past date
   marked differently from one still to come. */
.event-scope { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 22px; }
.event-scope-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; min-height: 44px;
  border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--body);
  font-size: var(--fs-sm); font-weight: 600;
}
.event-scope-tab span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 22px; padding: 1px 6px; border-radius: 999px;
  background: var(--blue-50); color: var(--navy);
  font-size: calc(11.5px * var(--fs-scale)); font-weight: 700;
}
.event-scope-tab:hover { background: var(--pale); color: var(--navy); text-decoration: none; }
.event-scope-tab.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.event-scope-tab.is-active span { background: rgba(255, 255, 255, .22); color: #fff; }

/* The date on a past event reads as grey rather than gold, so the two kinds
   are told apart at a glance while sitting in the same list. */
.date-badge-past { background: var(--muted) !important; color: #fff !important; }
.date-badge-past strong,
.date-badge-past span { color: #fff !important; }
.is-past-event img { filter: saturate(.82); }

/* Item 20: the grid dims while the next month is on its way. */
[data-event-calendar] { transition: opacity .15s; }
[data-event-calendar].is-loading { opacity: .45; pointer-events: none; }
.cal-nav { cursor: pointer; }

/* ---------------------------------------------------------------- errors
   Item 28, from mockups/Frontend/Error Pages: oversized numerals in navy with
   one digit picked out in gold, the explanation and two ways onward, and a
   photograph to the right. */
.error-shell { background: linear-gradient(135deg, #F4F9FE 0%, #E8F2FD 60%, #DEECFB 100%); padding: 56px 0; }
.error-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 32px;
  align-items: center;
}
.error-copy h1 { font-size: var(--fs-h2); margin-bottom: 14px; }
.error-copy p { font-size: var(--fs-md); color: var(--body); max-width: 46ch; }

.error-code {
  display: flex; align-items: center; gap: 2px;
  font-size: clamp(76px, 11vw, 150px);
  font-weight: 800; line-height: .95; letter-spacing: -.03em;
  color: var(--navy); margin-bottom: 10px;
}
.error-code .is-accent { color: var(--gold); }
.error-code-icon { font-size: clamp(60px, 8vw, 104px); color: var(--navy); }
.error-code-icon .bi { color: var(--navy); }

.error-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.error-art img { width: 100%; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; object-fit: cover; }

@media (max-width: 860px) {
  .error-grid { grid-template-columns: minmax(0, 1fr); }
  .error-art { order: -1; }
  .error-art img { aspect-ratio: 16 / 9; }
  .error-actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* ---------------------------------------------------------------- pages
   The generic Website Page, and item 30's way through to the form. */
.page-body { max-width: 860px; margin: 0 auto; }
.page-body .rich-content { font-size: var(--fs-base); color: var(--body); line-height: 1.75; }
.page-body .rich-content h2 { font-size: calc(24px * var(--fs-scale)); margin: 32px 0 12px; }
.page-body .rich-content h3 { font-size: calc(19px * var(--fs-scale)); margin: 26px 0 10px; }
.page-body .rich-content ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; }
.page-body .rich-content li { margin-bottom: 8px; }

.admission-next {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  margin-top: 36px; padding: 26px 28px;
  background: linear-gradient(120deg, var(--navy) 0%, #0A4396 100%);
  border-radius: var(--radius-lg);
  color: #fff;
}
.admission-next h3 { color: #fff; font-size: calc(20px * var(--fs-scale)); margin-bottom: 6px; }
.admission-next p { color: rgba(255, 255, 255, .86); font-size: calc(13.5px * var(--fs-scale)); margin: 0; max-width: 54ch; }
.admission-next .btn { margin-left: auto; flex-shrink: 0; min-height: 50px; padding: 0 28px; }
.admission-aside { margin-top: 16px; font-size: calc(13.5px * var(--fs-scale)); color: var(--muted); text-align: center; }

/* ---------------------------------------------------------------- faq
   Item 31: a real accordion, one answer open at a time. */
.faq-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; }
.faq-group + .faq-group { margin-top: 34px; }
.faq-group-title { font-size: calc(19px * var(--fs-scale)); color: var(--navy); margin-bottom: 14px; }

.faq-accordion { display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: box-shadow .18s, border-color .18s;
}
.faq-item.is-open { border-color: var(--blue-300); box-shadow: var(--shadow); }
.faq-item h3 { margin: 0; }

.faq-question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 20px; min-height: 60px;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-size: calc(15px * var(--fs-scale)); font-weight: 600; color: var(--navy);
  font-family: inherit;
}
.faq-question:hover { background: var(--pale); }
.faq-question i {
  flex: 0 0 auto;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--blue-50); color: var(--navy);
  font-size: calc(13px * var(--fs-scale));
  transition: transform .2s, background .2s, color .2s;
}
.faq-item.is-open .faq-question i { transform: rotate(45deg); background: var(--navy); color: #fff; }

.faq-answer { padding: 0 20px 20px; }
.faq-answer > div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: calc(14px * var(--fs-scale));
  color: var(--body);
  line-height: 1.7;
}

.faq-aside { display: grid; gap: 18px; position: sticky; top: 100px; }
.faq-aside-card {
  background: var(--blue-50);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  text-align: center;
}
.faq-aside-card .icon-circle { margin: 0 auto 12px; }
.faq-aside-card h3 { font-size: calc(16px * var(--fs-scale)); margin-bottom: 6px; }
.faq-aside-card p { font-size: calc(13px * var(--fs-scale)); margin-bottom: 14px; }
.faq-aside-card .btn-block { width: 100%; justify-content: center; }

@media (max-width: 920px) {
  .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .faq-aside { position: static; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}
@media (max-width: 620px) {
  .admission-next { flex-direction: column; align-items: flex-start; }
  .admission-next .btn { margin-left: 0; width: 100%; justify-content: center; }
}

/* ================================================================
   Item 33 — the admission form
   Six numbered blocks rather than one long column, so a parent can see how
   much is left. Shared by the public form and the staff one.
   ================================================================ */
.admission-form-shell { max-width: 980px; margin: 0 auto; }
.admission-form-intro {
  font-size: calc(14px * var(--fs-scale));
  color: var(--body);
  margin-bottom: 26px;
}

.form-block {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  padding: 0;
  margin: 0 0 22px;
}
.form-block legend {
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  margin: 0;
  padding: 16px 22px;
  background: var(--blue-50);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border-bottom: 1px solid var(--line);
  font-size: calc(16px * var(--fs-scale));
  font-weight: 700;
  color: var(--navy);
}
.form-block-step {
  flex: 0 0 auto;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: #fff;
  font-size: calc(13px * var(--fs-scale)); font-weight: 700;
}
.form-block-body { padding: 22px; }
.form-block-note {
  font-size: calc(13px * var(--fs-scale));
  color: var(--muted);
  margin: -4px 0 16px;
}

/* The passport sits on its own line above the name fields. */
.passport-field { max-width: 440px; }

/* ---- the declaration ---- */
.form-block-consent legend { background: #FFF8E8; border-bottom-color: var(--gold); }
.form-block-consent .form-block-step { background: var(--gold); color: var(--navy); }

.consent-lead {
  font-size: calc(15px * var(--fs-scale));
  color: var(--ink);
  margin-bottom: 12px;
}
.consent-name {
  border: 0;
  border-bottom: 2px dotted var(--navy);
  background: transparent;
  font: inherit;
  color: var(--navy);
  font-weight: 600;
  padding: 2px 8px;
  min-width: 260px;
  max-width: 100%;
}
.consent-name:focus { outline: none; border-bottom-style: solid; background: #FFF8E8; }

.consent-list {
  list-style: decimal;
  padding-left: 22px;
  margin: 0 0 18px;
  font-size: calc(14px * var(--fs-scale));
  color: var(--body);
  line-height: 1.7;
}
.consent-list li { margin-bottom: 6px; }

.consent-agree {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  background: var(--pale);
  border-radius: var(--radius);
  font-size: calc(14px * var(--fs-scale));
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
}
.consent-agree input { width: 18px; height: 18px; flex: 0 0 auto; }

.admission-form-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  margin-top: 26px;
}
.admission-form-actions .btn { min-height: 50px; padding: 0 28px; }

@media (max-width: 560px) {
  .form-block-body { padding: 18px 16px; }
  .form-block legend { padding: 14px 16px; font-size: calc(15px * var(--fs-scale)); }
  .consent-name { min-width: 100%; display: block; margin-top: 6px; }
  .admission-form-actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* ================================================================
   Notice modal — a success or a problem, over the page
   ================================================================ */
.notice-modal {
  position: fixed; inset: 0; z-index: 220;
  display: grid; place-items: center;
  padding: 24px;
}
.notice-modal[hidden] { display: none; }

.notice-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(2, 18, 44, .62);
  opacity: 0;
  transition: opacity .2s;
}
.notice-modal.is-open .notice-modal-backdrop { opacity: 1; }

.notice-modal-card {
  position: relative;
  width: 100%; max-width: 460px;
  background: #fff;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 60px rgba(0, 32, 76, .34);
  padding: 38px 30px 28px;
  text-align: center;
  opacity: 0;
  transform: translateY(14px) scale(.97);
  transition: opacity .2s, transform .2s;
}
.notice-modal.is-open .notice-modal-card { opacity: 1; transform: none; }

.notice-modal-close {
  position: absolute; top: 12px; right: 14px;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: none; border: 0; cursor: pointer;
  color: var(--muted); font-size: calc(15px * var(--fs-scale));
}
.notice-modal-close:hover { background: var(--pale); color: var(--navy); }

.notice-modal-icon {
  width: 76px; height: 76px; border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 18px;
  font-size: calc(34px * var(--fs-scale));
  color: #fff;
}
.notice-modal.tone-success .notice-modal-icon { background: #0E9F63; box-shadow: 0 0 0 8px rgba(14, 159, 99, .14); }
.notice-modal.tone-error .notice-modal-icon { background: var(--red-600); box-shadow: 0 0 0 8px rgba(220, 38, 38, .13); }

.notice-modal-card h2 {
  font-size: calc(21px * var(--fs-scale));
  color: var(--navy);
  margin-bottom: 10px;
}
.notice-modal-card p {
  font-size: calc(14.5px * var(--fs-scale));
  color: var(--body);
  line-height: 1.65;
  margin: 0 auto 6px;
  max-width: 38ch;
}

.notice-modal-reference {
  display: inline-block;
  margin-top: 10px !important;
  padding: 8px 16px;
  background: var(--blue-50);
  border-radius: 999px;
  font-weight: 700;
  color: var(--navy) !important;
  letter-spacing: .04em;
}

.notice-modal-actions {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-top: 24px;
}
.notice-modal-actions .btn { min-height: 46px; }

/* The submit button's spinner while the application is on its way. */
.spin { display: inline-block; animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .spin { animation: none; }
  .notice-modal-card, .notice-modal-backdrop { transition: none; }
}

@media (max-width: 520px) {
  .notice-modal { padding: 16px; }
  .notice-modal-card { padding: 32px 20px 22px; }
  .notice-modal-actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* ================================================================
   Our Team — mockups/Frontend/Our Team.png
   ================================================================ */

/* ---- the search and department bar ---- */
.team-toolbar {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: 30px;
}
.team-search {
  position: relative;
  flex: 1 1 340px;
  min-width: 0;
}
.team-search i {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  color: var(--muted); font-size: calc(15px * var(--fs-scale));
  pointer-events: none;
}
.team-search input {
  width: 100%;
  min-height: 52px;
  padding: 0 18px 0 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font: inherit;
  font-size: var(--fs-sm);
  color: var(--ink);
}
.team-search input::placeholder { color: var(--muted); }
.team-search input:focus { outline: none; border-color: var(--blue-300); box-shadow: 0 0 0 4px var(--blue-50); }

.team-filter { flex: 0 1 240px; min-width: 0; }
.team-filter select {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  font-size: var(--fs-sm);
  color: var(--ink);
  cursor: pointer;
}
.team-filter select:focus { outline: none; border-color: var(--blue-300); box-shadow: 0 0 0 4px var(--blue-50); }
.team-toolbar .btn { min-height: 52px; }

/* ---- the cards ---- */
.team-grid { gap: 24px; }

.team-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.team-photo-wrap { padding: 16px 16px 0; }
.team-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  background: var(--blue-50);
}
/* No photograph yet: the school's own badge, sat inside the frame rather
   than cropped to fill it. */
.team-photo-logo { object-fit: contain; padding: 22%; background: var(--blue-50); }

.team-card-body { padding: 14px 18px 18px; display: flex; flex-direction: column; flex: 1 1 auto; }

.team-badge {
  align-self: flex-start;
  display: inline-block;
  padding: 4px 12px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--navy);
  font-size: calc(11.5px * var(--fs-scale));
  font-weight: 700;
}
.team-badge.is-lead { background: var(--gold); color: var(--navy); }

.team-card h3 {
  font-size: calc(16.5px * var(--fs-scale));
  color: var(--navy);
  margin-bottom: 4px;
}
.team-role {
  font-size: calc(13.5px * var(--fs-scale));
  color: var(--body);
  margin: 0;
}
.team-role.is-lead { color: var(--navy); font-weight: 700; }


/* ---- one person's own page ---- */
.member-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.member-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 24px 20px;
  text-align: center;
  position: sticky;
  top: 100px;
}
.member-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 16px;
  background: var(--blue-50);
}
.member-photo-fallback {
  display: grid; place-items: center;
  color: var(--navy); font-size: calc(44px * var(--fs-scale)); font-weight: 800;
}
.member-card h2 { font-size: calc(19px * var(--fs-scale)); margin-bottom: 4px; }
.member-role { font-size: calc(14px * var(--fs-scale)); color: var(--blue); font-weight: 600; margin-bottom: 8px; }
.member-meta { font-size: calc(13px * var(--fs-scale)); color: var(--muted); margin-bottom: 16px; }
.member-meta i { color: var(--blue); }
.member-card .btn-block { width: 100%; justify-content: center; }
.member-card .btn-block + .btn-block { margin-top: 10px; }

.member-body h3 { font-size: calc(19px * var(--fs-scale)); margin-bottom: 12px; }
.member-body p { font-size: var(--fs-base); color: var(--body); line-height: 1.75; }

.member-subjects { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.member-subjects li {
  display: flex; align-items: center; gap: 9px;
  font-size: calc(13.5px * var(--fs-scale));
  color: var(--ink);
}
.member-subjects i { color: #0E9F63; }

@media (max-width: 860px) {
  .member-layout { grid-template-columns: minmax(0, 1fr); }
  .member-card { position: static; max-width: 360px; margin: 0 auto; }
}

@media (max-width: 560px) {
  .team-toolbar { gap: 10px; }
  .team-search, .team-filter { flex: 1 1 100%; }
  .team-toolbar .btn { flex: 1 1 100%; justify-content: center; }
}

/* ------------------------------------------------------- floating notices */
/* Flash feedback on the public site. Fixed, so it never moves the page, and
   above the sticky header (z-index 60) so it is not tucked behind it. */
.site-toasts {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(390px, calc(100vw - 36px));
  pointer-events: none;
}
.site-toast {
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 14px 14px 16px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--navy);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(16, 32, 61, .18);
  /* No fill mode: outside the animation the notice uses its own styles, so
     a browser that never runs the animation still shows it. */
  animation: site-toast-in .26s ease;
}
.site-toast-icon { font-size: calc(19px * var(--fs-scale)); line-height: 1.25; flex-shrink: 0; }
.site-toast-body { flex: 1; min-width: 0; }
.site-toast-body strong {
  display: block;
  font-size: calc(14px * var(--fs-scale));
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 2px;
}
.site-toast-body p {
  margin: 0;
  font-size: calc(13.5px * var(--fs-scale));
  line-height: 1.5;
  color: var(--body);
}
.site-toast-close {
  flex-shrink: 0;
  border: none;
  background: none;
  padding: 2px 2px 0;
  cursor: pointer;
  color: var(--muted);
  font-size: calc(13px * var(--fs-scale));
  line-height: 1;
}
.site-toast-close:hover { color: var(--navy); }

.site-toast-success { border-left-color: #1C9A62; }
.site-toast-success .site-toast-icon { color: #1C9A62; }
.site-toast-error { border-left-color: #C3203C; }
.site-toast-error .site-toast-icon { color: #C3203C; }
.site-toast-warning { border-left-color: #C78100; }
.site-toast-warning .site-toast-icon { color: #C78100; }
.site-toast-info { border-left-color: var(--navy); }
.site-toast-info .site-toast-icon { color: var(--navy); }

.site-toast.is-leaving { opacity: 0; transform: translateY(-8px); transition: opacity .24s ease, transform .24s ease; }

@keyframes site-toast-in { from { opacity: 0; transform: translateY(-10px); } }

@media (prefers-reduced-motion: reduce) {
  .site-toast { animation: none; }
  .site-toast.is-leaving { transition: none; }
}

/* On a phone it spans the width, clear of the header, where it cannot be
   mistaken for part of the page. */
@media (max-width: 640px) {
  .site-toasts { top: 12px; left: 12px; right: 12px; width: auto; }
}

/* ------------------------------------------------------------- site map */
/* Home at the top with a branch down to each section. The lines are drawn
   with borders on pseudo-elements rather than an image, so they follow the
   cards when the grid reflows, and they are dropped below 860px where a tree
   two cards wide stops reading as one. */
.sitemap-root { display: flex; justify-content: center; }
.sitemap-home {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; border-radius: 12px;
  background: var(--navy); color: #fff;
  font-size: calc(17px * var(--fs-scale)); font-weight: 800;
  box-shadow: 0 10px 24px rgba(0, 50, 123, .22);
}
.sitemap-home:hover { background: #002A66; color: #fff; text-decoration: none; }
.sitemap-home i { font-size: 1.05em; }

.sitemap-branches {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px; margin-top: 46px; position: relative;
}
/* The horizontal rail the branches hang from. */
.sitemap-branches::before {
  content: ''; position: absolute; top: -24px; left: 12%; right: 12%;
  border-top: 2px solid var(--line);
}
/* The stem from Home down to the rail. */
.sitemap-root::after {
  content: ''; display: block; position: absolute;
  width: 0; height: 22px; border-left: 2px solid var(--line);
}
.sitemap-root { position: relative; padding-bottom: 22px; }
.sitemap-root::after { bottom: 0; left: 50%; }

.sitemap-card {
  position: relative; background: #fff;
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
/* Each card's own drop from the rail. */
.sitemap-card::before {
  content: ''; position: absolute; top: -24px; left: 50%;
  width: 0; height: 24px; border-left: 2px solid var(--line);
}
.sitemap-card-head {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 18px; border-bottom: 1px solid var(--line);
}
.sitemap-card-head i { font-size: calc(20px * var(--fs-scale)); }
.sitemap-card-head h2 {
  margin: 0; font-size: calc(15.5px * var(--fs-scale));
  font-weight: 800; color: var(--navy);
}
.sitemap-card ul { list-style: none; margin: 0; padding: 6px 0; }
.sitemap-card li + li { border-top: 1px solid var(--line); }
.sitemap-card li a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 11px 18px;
  font-size: calc(13.8px * var(--fs-scale)); color: var(--body);
}
.sitemap-card li a:hover { background: var(--pale); color: var(--navy); text-decoration: none; }
.sitemap-card li a i { font-size: calc(11px * var(--fs-scale)); color: var(--muted); flex-shrink: 0; }

/* One tint per section, so the eye can tell them apart at a glance. */
.sitemap-blue   .sitemap-card-head { background: #EAF2FD; }
.sitemap-blue   .sitemap-card-head i { color: #2F6FD0; }
.sitemap-amber  .sitemap-card-head { background: #FDF3E2; }
.sitemap-amber  .sitemap-card-head i { color: #C78100; }
.sitemap-green  .sitemap-card-head { background: #E6F6EE; }
.sitemap-green  .sitemap-card-head i { color: #1C9A62; }
.sitemap-violet .sitemap-card-head { background: #EFEBFB; }
.sitemap-violet .sitemap-card-head i { color: #6A4FC4; }
.sitemap-pink   .sitemap-card-head { background: #FCEBF1; }
.sitemap-pink   .sitemap-card-head i { color: #C3205C; }
.sitemap-navy   .sitemap-card-head { background: #E8EFF9; }
.sitemap-navy   .sitemap-card-head i { color: var(--navy); }

.sitemap-quick {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px;
  margin-top: 34px; padding: 18px 22px;
  background: var(--pale); border-radius: 14px;
}
.sitemap-quick-label {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 800; color: var(--navy);
  font-size: calc(14.5px * var(--fs-scale));
}
.sitemap-quick ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
}
.sitemap-quick li { display: flex; align-items: center; gap: 16px; }
.sitemap-quick li + li::before { content: '|'; color: var(--line); }
.sitemap-quick a { font-size: calc(13.8px * var(--fs-scale)); color: var(--body); }
.sitemap-quick a:hover { color: var(--navy); }

.sitemap-count {
  margin: 16px 0 0; text-align: center;
  font-size: calc(13px * var(--fs-scale)); color: var(--muted);
}

@media (max-width: 860px) {
  /* Stacked, so no line is left pointing at nothing. */
  .sitemap-branches { margin-top: 26px; }
  .sitemap-branches::before,
  .sitemap-card::before,
  .sitemap-root::after { display: none; }
  .sitemap-root { padding-bottom: 0; }
}

/* ------------------------------------------------- admissions, on one page */
/* The notice at the top comes and goes with the admission window, so it is
   built to be the first thing on the page or absent entirely, with nothing
   else depending on it being there. */
.admission-notice {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 22px 26px; border-radius: 16px;
  background: linear-gradient(100deg, #FFF8E7, #FDF1D6);
  border: 1px solid #F2DFB0;
}
.admission-notice > i {
  font-size: calc(26px * var(--fs-scale)); color: #C78100; flex-shrink: 0;
}
.admission-notice > div { flex: 1 1 300px; min-width: 0; }
.admission-notice-eyebrow {
  display: block; font-size: calc(12px * var(--fs-scale));
  font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  color: #9A6500; margin-bottom: 4px;
}
.admission-notice h2 {
  margin: 0; font-size: calc(20px * var(--fs-scale));
  font-weight: 800; color: var(--navy);
}
.admission-notice p {
  margin: 6px 0 0; font-size: calc(13.8px * var(--fs-scale)); color: var(--body);
}
.admission-notice .btn { flex-shrink: 0; }

.admission-steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px;
  counter-reset: step;
}
.admission-steps li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 20px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px;
}
.admission-step-no {
  flex-shrink: 0;
  width: 34px; height: 34px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy); color: #fff;
  font-weight: 800; font-size: calc(14.5px * var(--fs-scale));
}
.admission-steps h3 {
  margin: 0 0 4px; font-size: calc(15.5px * var(--fs-scale));
  font-weight: 800; color: var(--navy);
}
.admission-steps p {
  margin: 0; font-size: calc(13.4px * var(--fs-scale)); color: var(--body); line-height: 1.6;
}

.admission-requirements {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 28px;
  padding: 28px; border-radius: 16px; background: var(--pale);
}
.admission-requirements-head p {
  margin: 10px 0 0; font-size: calc(13.8px * var(--fs-scale)); color: var(--body);
}
.admission-requirements ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.admission-requirements li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px;
}
.admission-requirements li i {
  font-size: calc(17px * var(--fs-scale)); color: #1C9A62; flex-shrink: 0; line-height: 1.3;
}
.admission-requirements li strong {
  display: block; font-size: calc(14px * var(--fs-scale)); color: var(--navy); font-weight: 700;
}
.admission-requirements li span {
  display: block; margin-top: 2px;
  font-size: calc(13px * var(--fs-scale)); color: var(--body);
}

@media (max-width: 860px) {
  .admission-requirements { grid-template-columns: 1fr; gap: 20px; padding: 22px; }
}
@media (max-width: 560px) {
  .admission-notice { padding: 18px; }
  .admission-notice .btn { width: 100%; justify-content: center; }
}
