/* The Kingston School — "Built for what's next"
   Porcelain ground, navy bands, amber used thinly (one action per view).
   Bricolage Grotesque (display) + Instrument Sans (body). Bootstrap 5.3.3 grid only. */

:root {
  --porcelain: #F4F6F9;
  --white: #FFFFFF;
  --navy: #0F1E3D;
  --navy-2: #1A2D55;
  --ink: #121826;
  --amber: #E8A33D;
  --amber-ink: #8A5A12;
  --slate: #5B6B86;
  --slate-ink: #4A5873;
  --line: #D3DAE5;
  --line-navy: #2E4370;
  --mist: #C9D2E3;
  --err: #B3261E;
  --ok: #1F6B45;
  --r: 12px;
  --r-lg: 20px;
  --bar-h: 76px;
  --display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}

/* ---- Bootstrap grid rules repeated (same values) so layout doesn't shift while the CDN file loads ---- */
.container, .container-fluid { width: 100%; padding-right: calc(var(--bs-gutter-x, 1.5rem) * .5); padding-left: calc(var(--bs-gutter-x, 1.5rem) * .5); margin-right: auto; margin-left: auto; }
@media (min-width: 576px) { .container { max-width: 540px; } }
@media (min-width: 768px) { .container { max-width: 720px; } }
@media (min-width: 992px) { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }
.row { --bs-gutter-x: 1.5rem; --bs-gutter-y: 0; display: flex; flex-wrap: wrap; margin-top: calc(-1 * var(--bs-gutter-y)); margin-right: calc(-.5 * var(--bs-gutter-x)); margin-left: calc(-.5 * var(--bs-gutter-x)); }
.row > * { flex-shrink: 0; width: 100%; max-width: 100%; padding-right: calc(var(--bs-gutter-x) * .5); padding-left: calc(var(--bs-gutter-x) * .5); margin-top: var(--bs-gutter-y); }
.g-0 { --bs-gutter-x: 0; --bs-gutter-y: 0; }
.g-3 { --bs-gutter-x: 1rem; --bs-gutter-y: 1rem; }
.g-4 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 1.5rem; }
.col-12 { flex: 0 0 auto; width: 100%; }
.col-6 { flex: 0 0 auto; width: 50%; }
.align-items-center { align-items: center; }
@media (min-width: 768px) {
  .col-md-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-md-6 { flex: 0 0 auto; width: 50%; }
  .col-md-7 { flex: 0 0 auto; width: 58.33333333%; }
  .order-md-1 { order: 1; } .order-md-2 { order: 2; }
}
@media (min-width: 992px) {
  .col-lg-2 { flex: 0 0 auto; width: 16.66666667%; }
  .col-lg-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-lg-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-lg-6 { flex: 0 0 auto; width: 50%; }
  .col-lg-7 { flex: 0 0 auto; width: 58.33333333%; }
  .col-lg-8 { flex: 0 0 auto; width: 66.66666667%; }
  .g-lg-5 { --bs-gutter-x: 3rem; --bs-gutter-y: 3rem; }
}

/* ---- base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--bar-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; padding-top: var(--bar-h);
  background: var(--porcelain); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  font-variant-numeric: lining-nums;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -0.018em; margin: 0 0 .5em; text-wrap: balance; font-optical-sizing: auto; }
h1 { font-size: clamp(2.4rem, 4.2vw + .6rem, 4.1rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 2.4vw + .8rem, 2.9rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.015em; line-height: 1.2; }
p { margin: 0 0 1em; max-width: 68ch; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--amber); color: var(--navy); }
input, textarea, select { caret-color: var(--amber-ink); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
.band-navy :focus-visible, .menu :focus-visible, .is-docked .bar :focus-visible { outline-color: var(--amber); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: var(--navy); padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.muted { color: var(--slate-ink); }
.band-navy .muted { color: var(--mist); }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.icon-xs { width: 1em; height: 1em; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 46px; padding: .7em 1.25em; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1.1 var(--body); text-decoration: none; cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 52px; padding: .85em 1.5em; font-size: 1.0625rem; }
.btn-amber { background: var(--amber); color: var(--navy); }
.btn-amber:hover { background: #F0B45A; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); }
.btn-line { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: var(--white); }
.btn-line-light { border-color: rgba(255,255,255,.55); color: var(--white); background: transparent; }
.btn-line-light:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-quiet { color: var(--navy); background: transparent; padding-inline: .8em; }
.btn-quiet:hover { background: rgba(15,30,61,.06); }

/* ---- header: full-width bar that becomes a centred floating dock ---- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; pointer-events: none; }
.bar {
  pointer-events: auto;
  display: flex; align-items: center; gap: 20px;
  height: var(--bar-h); max-width: 100%; margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px);
  background: var(--white); border-bottom: 1px solid var(--line);
  transition: max-width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), border-radius .45s var(--ease),
              background-color .3s var(--ease), box-shadow .45s var(--ease), padding .45s var(--ease);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); margin-right: auto; min-width: 0; }
.crest { width: 44px; height: 44px; flex: none; transition: width .45s var(--ease), height .45s var(--ease); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name { font: 700 1.125rem/1.1 var(--display); letter-spacing: -0.015em; white-space: nowrap; }
.brand-area { font-size: .8125rem; color: var(--slate-ink); white-space: nowrap; }
.nav-desk { display: none; }
.nav-desk ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.nav-desk a {
  display: block; padding: .55em .8em; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .975rem;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav-desk a:hover { background: rgba(15,30,61,.06); }
.nav-desk a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--amber); border-radius: 0; }
.bar-actions { display: flex; align-items: center; gap: 8px; }
.bar-call, .bar-enquire { display: none; }
.menu-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid var(--navy); background: var(--white); color: var(--navy); font: 600 1rem var(--body); cursor: pointer;
}
@media (min-width: 1024px) {
  .nav-desk { display: block; }
  .bar-call, .bar-enquire { display: inline-flex; }
  .menu-btn { display: none; }
  .is-docked .bar {
    max-width: 900px; height: 60px; margin-top: 12px; border-radius: 999px; padding: 0 10px 0 16px;
    background: var(--navy); border-bottom-color: transparent; box-shadow: 0 14px 34px -12px rgba(15,30,61,.45);
  }
  .is-docked .crest { width: 34px; height: 34px; --crest-shield: #fff; --crest-k: var(--navy); }
  .is-docked .brand { color: var(--white); }
  .is-docked .brand-area { display: none; }
  .is-docked .brand-name { font-size: 1rem; }
  .is-docked .nav-desk a { color: var(--white); font-size: .9375rem; padding: .5em .7em; }
  .is-docked .nav-desk a:hover { background: rgba(255,255,255,.1); }
  .is-docked .bar-call { color: var(--white); }
  .is-docked .bar-call:hover { background: rgba(255,255,255,.1); }
  .is-docked .bar-call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (max-width: 380px) {
  .brand-name { font-size: 1rem; }
  .crest { width: 38px; height: 38px; }
  .menu-btn { padding: 0 12px; }
}

/* ---- phone menu: full-screen with a circular reveal ---- */
.menu {
  position: fixed; inset: 0; z-index: 60; background: var(--navy); color: var(--white); overflow-y: auto; overscroll-behavior: contain;
  clip-path: circle(0 at var(--mx, 90%) var(--my, 38px));
  transition: clip-path .55s var(--ease);
}
.menu.is-open { clip-path: circle(150% at var(--mx, 90%) var(--my, 38px)); }
.menu[hidden] { display: none; }
.menu-inner { min-height: 100%; display: flex; flex-direction: column; padding: 18px 20px 32px; max-width: 640px; margin: 0 auto; }
.menu-top { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
.menu-title { font: 700 1.125rem var(--display); }
.menu-close { width: 48px; height: 48px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.5); background: transparent; color: var(--white); display: grid; place-items: center; cursor: pointer; }
.menu-links { list-style: none; margin: 28px 0 24px; padding: 0; }
.menu-links a { display: block; padding: 10px 0; color: var(--white); text-decoration: none; font: 700 clamp(2rem, 9vw, 2.75rem)/1.1 var(--display); letter-spacing: -0.03em; border-bottom: 1px solid var(--line-navy); }
.menu-links a[aria-current="page"] { color: var(--amber); }
.menu-actions { display: grid; gap: 10px; margin-top: auto; }
.menu-addr { color: var(--mist); font-size: .9375rem; margin-top: 18px; }
@media (prefers-reduced-motion: reduce) {
  .menu { clip-path: none; opacity: 0; transition: opacity .2s linear; }
  .menu.is-open { clip-path: none; opacity: 1; }
}
body.menu-open { overflow: hidden; }

/* ---- sections ---- */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section-white { background: var(--white); }
.band-navy { background: var(--navy); color: var(--white); }
.band-navy a { color: var(--white); }
.band-navy .section-lead, .band-navy .lead { color: var(--mist); }
.sec-head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 760px; }
.section-lead { color: var(--slate-ink); font-size: 1.125rem; max-width: 62ch; }
.lead { font-size: 1.1875rem; line-height: 1.55; }
.h-sub { margin-top: 2rem; font-size: 1.375rem; }
.h-sub-top { font-size: clamp(1.6rem, 2vw + .6rem, 2.2rem); }

/* ---- hero: navy mini-enquiry | photo stack ---- */
.hero-row { min-height: min(calc(100svh - var(--bar-h)), 900px); }
.hero-left { display: flex; align-items: center; }
.hero-copy { width: 100%; max-width: 620px; margin-left: auto; padding: clamp(36px, 5vw, 72px) clamp(20px, 4vw, 64px); }
.hero h1 { color: var(--white); margin-bottom: .3em; }
.hero-hi { font: 600 1.25rem/1.4 var(--body); color: var(--amber); margin-bottom: 1rem; }
.hero-sub { color: var(--mist); font-size: 1.125rem; margin-bottom: 1.6rem; }
.mini { background: var(--navy-2); border: 1px solid var(--line-navy); border-radius: var(--r-lg); padding: 20px; }
.mini-fields { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 576px) { .mini-fields { grid-template-columns: 1fr 1fr; } .mini-field:last-child { grid-column: 1 / -1; } }
@media (min-width: 1200px) { .mini-fields { grid-template-columns: 1fr 1fr 1fr; } .mini-field:last-child { grid-column: auto; } }
.mini label { display: block; font-size: .875rem; font-weight: 600; color: var(--mist); margin-bottom: 6px; }
.mini input, .mini select {
  width: 100%; min-height: 48px; padding: 10px 12px; border-radius: 10px; border: 1.5px solid #3C5384;
  background: var(--navy); color: var(--white); font: 400 1rem var(--body);
}
.mini select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9D2E3' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 18px; padding-right: 34px; }
.mini input:focus, .mini select:focus { border-color: var(--amber); outline: none; box-shadow: 0 0 0 3px rgba(232,163,61,.35); }
.mini [aria-invalid="true"] { border-color: #FF9C8F; }
.mini .err { color: #FFB4A9; font-size: .875rem; margin: 4px 0 0; min-height: 0; }
.mini .err:empty { display: none; }
.mini-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: 16px; }
.mini-note { font-size: .875rem; color: var(--mist); margin: 0; flex: 1 1 100%; }
.hero-alt { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 18px 0 0; }
.hero-alt a { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-weight: 600; min-height: 44px; }

.hero-right { display: flex; flex-direction: column; justify-content: center; padding: 40px clamp(20px, 4vw, 64px) 28px; background: var(--porcelain); }
.stack { position: relative; width: min(100%, 470px); aspect-ratio: 4 / 5; margin: 26px auto 0; }
.stack::before, .stack::after { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); }
.stack::before { background: var(--line); transform: translate(26px, -26px); }
.stack::after { border: 1.5px solid var(--slate); transform: translate(13px, -13px); background: var(--white); }
.stack-item { position: absolute; inset: 0; margin: 0; z-index: 1; opacity: 0; transition: opacity 1.6s ease-in-out; }
.stack-item.is-on { opacity: 1; }
.stack-item img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); box-shadow: 0 24px 48px -24px rgba(15,30,61,.45); }
.stack-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: min(100%, 470px); margin: 14px auto 0; }
.photo-note { font-size: .8125rem; color: var(--slate-ink); margin: 0; }
.stack-pause { flex: none; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); color: var(--navy); font: 500 .8125rem var(--body); cursor: pointer; }
@media (max-width: 991.98px) {
  .hero-copy { max-width: none; margin: 0; }
  .stack { width: min(82%, 400px); }
}
@media (prefers-reduced-motion: reduce) { .stack-item { transition: none; } .stack-pause { display: none; } }

/* ---- photos ---- */
.photo { margin: 0; }
.photo img { width: 100%; border-radius: var(--r-lg); object-fit: cover; aspect-ratio: 4 / 5; }
.photo-tall img { aspect-ratio: 4 / 5; }
.photo-wide img { aspect-ratio: 3 / 2; margin-top: 28px; }

/* ---- voices ---- */
.voices-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin: 8px 0 28px; }
.rating { display: flex; align-items: center; gap: 12px; margin: 0; }
.rating-num { font: 800 clamp(3rem, 5vw, 4rem)/1 var(--display); letter-spacing: -0.04em; color: var(--navy); }
.stars { display: flex; gap: 2px; color: var(--amber-ink); }
.star { width: 22px; height: 22px; fill: var(--amber); stroke: var(--amber-ink); stroke-width: 1.2; }
.rating-txt { margin: 0; font-size: 1.0625rem; }
.voices { display: grid; gap: 0; border-top: 1px solid var(--line); }
.voice { margin: 0; padding: 20px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.voice blockquote { margin: 0; }
.voice blockquote p { font: 600 clamp(1.2rem, 1.2vw + .8rem, 1.5rem)/1.3 var(--display); letter-spacing: -0.015em; color: var(--navy); margin: 0; }
.voice figcaption { color: var(--slate-ink); font-size: .9375rem; }
.voices-foot { margin-top: 18px; font-size: .9375rem; color: var(--slate-ink); }

/* ---- compare stages ---- */
.stage-track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; margin-bottom: 28px; }
.stage-track::before { content: ""; position: absolute; left: 10%; right: 10%; top: 25px; height: 2px; background: var(--line); }
.stage-tab {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  padding: 14px 6px 12px; border: 0; background: transparent; color: var(--ink); cursor: pointer; border-radius: var(--r); font: inherit;
}
.stage-dot { width: 24px; height: 24px; border-radius: 999px; background: var(--white); border: 2px solid var(--slate); position: relative; z-index: 1; transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.stage-name { font: 700 1.0625rem/1.15 var(--display); letter-spacing: -0.01em; }
.stage-age { font-size: .8125rem; color: var(--slate-ink); }
.stage-tab:hover .stage-dot { border-color: var(--navy); }
.stage-tab[aria-selected="true"] .stage-dot { background: var(--amber); border-color: var(--navy); transform: scale(1.15); }
.stage-tab[aria-selected="true"] .stage-name { color: var(--navy); box-shadow: inset 0 -2px 0 var(--amber); }
.stage-panel { border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 36px); background: var(--porcelain); }
.stage-panel[hidden] { display: none; }
.stage-facts { margin: 0 0 22px; display: grid; gap: 18px; }
@media (min-width: 768px) { .stage-facts { grid-template-columns: .8fr 1.4fr 1.3fr; gap: 28px; } }
.stage-facts dt { font-size: .875rem; font-weight: 600; color: var(--slate-ink); margin-bottom: 6px; }
.stage-facts dd { margin: 0; }
@media (max-width: 767.98px) {
  .stage-track { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(118px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-inline: -12px; padding-inline: 12px; scrollbar-width: thin; scrollbar-color: var(--slate) transparent; }
  .stage-tab { scroll-snap-align: start; }
  .stage-track::before { left: 60px; right: 60px; }
}

/* ---- tags ---- */
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 999px; font-size: .8125rem; font-weight: 600; line-height: 1.6; white-space: nowrap; vertical-align: 1px; }
.tag-tbc { border: 1.5px dashed var(--slate); color: var(--slate-ink); background: transparent; }
.tag-ok { border: 1.5px solid var(--ok); color: var(--ok); background: #EAF4EE; white-space: normal; }
.band-navy .tag-tbc { border-color: var(--mist); color: var(--mist); }

/* ---- school year strip ---- */
.year-strip { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; }
.month {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 92px; padding: 12px 10px;
  border: 1px solid var(--line-navy); border-radius: var(--r); background: transparent; color: var(--white); text-align: left; cursor: pointer; font: inherit;
  transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.month:hover { background: var(--navy-2); border-color: #4A6299; }
.month-s { font: 700 1.125rem/1 var(--display); font-variant-numeric: tabular-nums; }
.month-t { font-size: .75rem; line-height: 1.25; color: var(--mist); }
.month[aria-selected="true"] { background: var(--amber); border-color: var(--amber); color: var(--navy); }
.month[aria-selected="true"] .month-t { color: var(--navy); }
.month.is-now { position: relative; }
.month.is-now::after { content: ""; position: absolute; top: 10px; right: 10px; width: 8px; height: 8px; border-radius: 999px; background: var(--amber); }
.month.is-now[aria-selected="true"]::after { background: var(--navy); }
.year-panel { margin-top: 20px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); background: var(--navy-2); border: 1px solid var(--line-navy); min-height: 150px; }
.year-now { display: inline-block; margin: 0 0 8px; padding: 2px 10px; border-radius: 999px; background: var(--amber); color: var(--navy); font-size: .8125rem; font-weight: 600; }
.year-title { color: var(--white); font-size: clamp(1.4rem, 1.5vw + .9rem, 1.9rem); }
.year-desc { color: var(--mist); font-size: 1.0625rem; margin: 0; }
.label-general { margin: 14px 0 0; font-size: .875rem; color: var(--mist); }
@media (max-width: 991.98px) {
  .year-strip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 104px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 8px; scrollbar-width: thin; scrollbar-color: var(--mist) transparent; }
  .month { scroll-snap-align: start; }
}

/* ---- placeholders (blank tiles waiting for the school) ---- */
.placeholder { border: 1.5px dashed var(--slate); border-radius: var(--r); padding: 14px 16px; color: var(--slate-ink); background: rgba(255,255,255,.6); max-width: 68ch; }
.placeholder.ph-dark, .band-navy .placeholder { border-color: var(--mist); color: var(--mist); background: rgba(255,255,255,.04); }
span.placeholder { display: inline-block; padding: 6px 12px; }
.ph-tag { display: block; font-size: .8125rem; font-weight: 600; color: var(--amber-ink); margin-bottom: 2px; }
.band-navy .ph-tag, .ph-dark .ph-tag { color: var(--amber); }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.tile { border: 1.5px dashed #9AA6BB; border-radius: var(--r); padding: 18px; background: rgba(255,255,255,.5); display: flex; flex-direction: column; min-height: 150px; }
.section-white .tile { background: var(--porcelain); }
.tile h3 { font-size: 1.3rem; margin-bottom: .35em; }
.tile p { color: var(--slate-ink); font-size: .9375rem; margin-bottom: 12px; }
.tile-tag { margin-top: auto; font-size: .8125rem; font-weight: 600; color: var(--amber-ink); }

/* ---- visit ---- */
.addr-big { font: 600 clamp(1.35rem, 1.4vw + .8rem, 1.75rem)/1.3 var(--display); letter-spacing: -0.015em; font-style: normal; margin-bottom: 14px; color: var(--navy); }
.hours { display: flex; gap: 10px; align-items: flex-start; }
.hours .icon { margin-top: 3px; color: var(--slate); }
.actions { display: grid; gap: 10px; }
.action {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none; color: var(--ink); background: var(--porcelain); transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.action:hover { border-color: var(--navy); background: var(--white); }
.action .icon { width: 28px; height: 28px; color: var(--navy); }
.action strong { display: block; font: 700 1.125rem/1.2 var(--display); }
.action small { color: var(--slate-ink); font-size: .9375rem; }
.check-note { margin-top: 14px; }

/* ---- enquiry ---- */
.enquire { padding: clamp(64px, 8vw, 112px) 0; }
.enquire h2 { color: var(--white); }
.enquire-small { color: var(--mist); font-size: .875rem; }
.form-panel { background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 36px); }
.form-panel a { color: var(--navy); }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .9375rem; }
.opt { font-weight: 400; color: var(--slate-ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid #9AA6BB; border-radius: 10px; background: var(--white);
  font: 400 1rem var(--body); color: var(--ink);
}
.field textarea { min-height: 96px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6B86' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 18px; padding-right: 34px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(232,163,61,.45); }
.field input::placeholder, .field textarea::placeholder { color: #5C6983; }
.field [aria-invalid="true"] { border-color: var(--err); }
.hint { font-size: .8125rem; color: var(--slate-ink); margin: 4px 0 0; }
.err { color: var(--err); font-size: .875rem; margin: 4px 0 0; font-weight: 500; }
.err:empty { display: none; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 20px; }
.form-status { margin: 0; font-weight: 500; }
.form-status.is-ok { color: var(--ok); }
.form-status.is-err { color: var(--err); }
.form-small { font-size: .8125rem; color: var(--slate-ink); margin: 14px 0 0; }
.form-summary { border: 1.5px solid var(--err); border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; color: var(--err); }
.form-summary ul { margin: 6px 0 0; padding-left: 18px; }
.form-summary a { color: var(--err); }
.handoff-note { border-left: 0; background: #FFF4E0; color: var(--amber-ink); border-radius: 10px; padding: 10px 14px; font-weight: 500; }
.when-busy { display: none; }
.is-busy .when-idle { display: none; }
.is-busy .when-busy { display: inline; }
.is-busy button[type="submit"] { opacity: .75; cursor: progress; }

/* ---- page hero (inner pages) ---- */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 80px); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: clamp(-60px, -2vw, 0px); bottom: -40px; width: clamp(140px, 22vw, 300px); aspect-ratio: 1; background: url("/favicon.svg") center / contain no-repeat; opacity: .07; filter: grayscale(1) brightness(3); pointer-events: none; }
.page-hero h1 { color: var(--white); max-width: 18ch; }
.page-hero .lead { max-width: 60ch; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0 0 18px; font-size: .9375rem; color: var(--mist); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #6F82A8; }
.crumbs a { color: var(--mist); }
.thanks .btn { margin: 6px 8px 0 0; }

/* ---- topics, ledger ---- */
.topics { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.topics li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 8px 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); }
.topic-n { min-width: 28px; text-align: center; padding: 1px 8px; border-radius: 999px; background: var(--navy); color: var(--white); font-size: .8125rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.ledger { margin: 0; border-top: 1px solid var(--line); }
.ledger-row { display: grid; grid-template-columns: 1fr; gap: 4px; padding: 14px 0; border-bottom: 1px dashed #9AA6BB; }
.ledger-row.is-ok { border-bottom-style: solid; border-bottom-color: var(--line); }
@media (min-width: 768px) { .ledger-row { grid-template-columns: 180px 1fr; gap: 24px; } }
.ledger dt { font-weight: 600; color: var(--slate-ink); }
.ledger dd { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }

/* ---- academics table, build rows ---- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); }
.compare { width: 100%; border-collapse: collapse; min-width: 680px; }
.compare th, .compare td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare thead th { font-size: .875rem; color: var(--slate-ink); background: var(--porcelain); font-weight: 600; }
.compare tbody th { font: 700 1.0625rem var(--display); color: var(--navy); white-space: nowrap; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.build-row + .build-row { margin-top: clamp(32px, 5vw, 64px); }

/* ---- admissions ---- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding: 0 20px 28px 0; }
.step-n { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 999px; background: var(--navy); color: var(--white); font: 800 1.375rem var(--display); margin-bottom: 16px; position: relative; z-index: 1; font-variant-numeric: tabular-nums; }
.step:first-child .step-n { background: var(--amber); color: var(--navy); }
@media (min-width: 768px) { .step:not(:last-child)::before { content: ""; position: absolute; left: 52px; right: 0; top: 25px; height: 2px; background: var(--line); } }
.step p { color: var(--slate-ink); }
.age-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.age-table th, .age-table td { padding: 14px 4px; border-bottom: 1px solid var(--line); text-align: left; }
.age-table thead th { font-size: .875rem; color: var(--slate-ink); font-weight: 600; }
.age-table tbody th { font: 700 1.0625rem var(--display); color: var(--navy); }
.age-table td { font-variant-numeric: tabular-nums; }
.docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 576px) { .docs { grid-template-columns: 1fr 1fr; } }
.docs li { display: flex; gap: 10px; align-items: flex-start; }
.docs .icon { color: var(--ok); margin-top: 5px; }
.faqs { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font: 600 1.1875rem/1.3 var(--display); letter-spacing: -0.01em; color: var(--navy); min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq-i { transition: transform .25s var(--ease); flex: none; }
.faq[open] .faq-i { transform: rotate(45deg); }
.faq p { padding: 0 0 18px; margin: 0; }

/* ---- campus ---- */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.g-item { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--r-lg); overflow: hidden; }
.g-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s var(--ease); }
.g-item:hover img { transform: scale(1.03); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); width: 100%; }
.lightbox::backdrop { background: rgba(15,30,61,.88); }
.lb-img { width: 100%; height: auto; max-height: 78vh; object-fit: contain; border-radius: var(--r); background: var(--navy); }
.lb-cap { color: var(--white); margin: 10px 0 0; }
.lb-close, .lb-prev, .lb-next { width: 48px; height: 48px; border-radius: 999px; border: 1.5px solid rgba(255,255,255,.6); background: var(--navy); color: var(--white); display: grid; place-items: center; cursor: pointer; }
.lb-close { margin: 0 0 10px auto; }
.lb-nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 10px; }
.notices { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
@media (min-width: 768px) { .notices { grid-template-columns: repeat(3, 1fr); border-top: 0; gap: 24px; } }
.notice { padding: 18px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 768px) { .notice { border-bottom: 0; border-top: 2px solid var(--navy); } }
.notice h3 { margin-top: 10px; }
.notice p { color: var(--slate-ink); }

/* ---- contact ---- */
.contact-list { margin: 0; }
.contact-list > div { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.contact-list dt { font-size: .875rem; font-weight: 600; color: var(--slate-ink); }
.contact-list dd { margin: 0; }
.contact-list address { font-style: normal; }
.big-link { font: 700 1.6rem var(--display); letter-spacing: -0.02em; display: inline-block; margin-bottom: 6px; }
.map-card { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--white); min-height: 360px; display: grid; }
.map-card iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.map-fallback { padding: clamp(24px, 4vw, 40px); display: flex; flex-direction: column; justify-content: center; gap: 12px;
  background: var(--porcelain); }
.map-i { width: 40px; height: 40px; color: var(--navy); }
.map-addr { font-size: 1.0625rem; }
.map-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.map-small { font-size: .875rem; margin: 0; }

/* ---- prose ---- */
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }

/* ---- footer ---- */
.site-footer { background: var(--ink); color: var(--mist); padding: 64px 0 32px; }
.site-footer a { color: var(--white); }
.foot-logo { width: 260px; height: auto; margin-bottom: 14px; }
.foot-note, .foot-aka { font-size: .875rem; margin: 0 0 6px; }
.foot-h { font: 700 1.375rem/1.2 var(--display); letter-spacing: -0.01em; color: var(--white); margin-bottom: 12px; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot-links a { display: inline-block; padding: 6px 0; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-addr { font-style: normal; margin-bottom: 8px; }
.foot-call a { font: 700 1.375rem var(--display); text-decoration: none; }
.foot-row { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot-row a { display: inline-block; padding: 8px 0; }
.foot-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid #2A3247; font-size: .8125rem; }
.foot-base p { max-width: none; margin-bottom: 6px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
a[href^="tel:"] { white-space: nowrap; }
@media (max-width: 575.98px) {
  .container { padding-left: 16px; padding-right: 16px; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { padding: 14px; min-height: 0; }
  .tile h3 { font-size: 1.0625rem; }
  .hero-copy { padding-left: 16px; padding-right: 16px; }
  .hero-right { padding-left: 16px; padding-right: 16px; }
}
.build-row .photo img { aspect-ratio: 4 / 3; }
.build-row h3 { font-size: clamp(1.5rem, 1.4vw + 1rem, 2.1rem); letter-spacing: -0.02em; }
.build-row p { font-size: 1.125rem; }
@media (max-width: 991.98px) { .photo-tall img { aspect-ratio: 3 / 2; } }
@media (max-width: 767.98px) { .photo img { aspect-ratio: 4 / 3; } }
