/* Daily Mirror Public Hr. Sec. School — "The centre fold"
   Everything balances on an axis: the crest in the middle of the nav, the photo and its reflection,
   questions facing answers. Tokens first; Bootstrap grid rules we use are repeated below so the layout
   does not shift while bootstrap-grid.min.css loads without blocking. */

:root {
  --mist: #F2F4F3;
  --white: #FFFFFF;
  --ink: #16232E;
  --ink-2: #3D4B56;          /* secondary text, 8:1 on mist */
  --aqua: #138A8A;           /* the crease: axis lines, large type, decoration */
  --aqua-ink: #0E6F6F;       /* aqua for text and filled buttons, 6:1 on white */
  --aqua-tint: #DDEFEE;
  --aqua-light: #7FD6D0;     /* aqua on ink */
  --coral: #FF6F59;          /* small highlights only, never small text on light */
  --coral-tint: #FFE6E1;
  --error: #B0362A;
  --line: #CDD5D3;
  --line-dash: #7E8D8A;
  --night-text: #E4ECEA;
  --night-soft: #A9BAB6;
  --radius: 14px;
  --radius-lg: 20px;
  --axis: 3px;
  --font-display: "Urbanist", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Public Sans", "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(.16, .84, .24, 1);
  --header-h: 72px;
  --fs-hero: clamp(2rem, 4.4vw + 1rem, 4.25rem);
  --fs-page: clamp(2.4rem, 6vw, 4rem);
  --fs-headline: clamp(1.75rem, 3.2vw, 2.6rem);
  --fs-xs: .8125rem;
  --fs-sm: .875rem;
  --fs-label: .9375rem;
  --fs-ui: 1rem;
  --fs-base: 1.0625rem;
  --fs-lead: 1.125rem;
  --fs-title: 1.3rem;
  --fs-subhead: 1.6rem;
  --fs-step: 2rem;
}

/* ---------- Bootstrap grid subset (same values as bootstrap-grid 5.3.3) ---------- */
.container { 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-4 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 1.5rem; }
.align-items-start { align-items: flex-start; }
.align-items-center { align-items: center; }
@media (min-width: 992px) {
  .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%; }
  .order-lg-2 { order: 2; }
  .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(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--mist); color: var(--ink);
  font-family: var(--font-body); font-size: var(--fs-base); line-height: 1.6;
  font-variant-numeric: lining-nums; overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.1; letter-spacing: -0.015em; margin: 0 0 .5em; text-wrap: balance; }
h2 { font-size: var(--fs-headline); }
h3 { font-size: var(--fs-title); font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--aqua-ink); text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
main a:not(.btn):hover { color: var(--ink); }
address { font-style: normal; }
::selection { background: var(--aqua); color: var(--white); }
input, textarea, select { caret-color: var(--aqua-ink); }
:focus-visible { outline: 3px solid var(--aqua); outline-offset: 3px; border-radius: 6px; }
html { scrollbar-color: var(--aqua) var(--mist); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.small { font-size: var(--fs-sm); color: var(--ink-2); }
.center { text-align: center; }
.photo-note { font-size: var(--fs-xs); color: var(--ink-2); margin: .75rem 0 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }
.i { width: 1.25em; height: 1.25em; flex: none; }
section { padding: clamp(64px, 8vw, 112px) 0; }
.center-h { text-align: center; }
.center-p { text-align: center; max-width: 62ch; margin: 0 auto 2.5rem; color: var(--ink-2); }
.center-link { text-align: center; margin-top: 2.5rem; }
.link { font-weight: 600; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .6rem 1.25rem; border-radius: 999px;
  font: 600 var(--fs-ui)/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn-primary { background: var(--aqua-ink); color: var(--white); }
.btn-primary:hover { background: var(--ink); color: var(--white); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: .625rem; justify-content: center; }
.actions-dark .btn-primary { background: var(--coral); color: var(--ink); }
.actions-dark .btn-primary:hover { background: var(--white); color: var(--ink); }
.actions-dark .btn-line { border-color: var(--night-soft); color: var(--white); }
.actions-dark .btn-line:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.actions-dark a:focus-visible, .site-footer a:focus-visible { outline-color: var(--coral); }

/* ---------- header: symmetric bar, crest on the axis ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(242, 244, 243, .94); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .site-header { backdrop-filter: blur(8px); } }
.bar {
  max-width: 1320px; margin: 0 auto; height: var(--header-h); padding: 0 16px;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); justify-self: center; }
.crest { width: 44px; height: 44px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font: 800 var(--fs-title)/1 var(--font-display); letter-spacing: -.01em; }
.brand-sub { font-size: var(--fs-xs); font-weight: 600; color: var(--ink-2); margin-top: 3px; }
.nav-half, .bar-cta { display: none; }
.bar-call, .bar-menu {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px;
  font: 600 var(--fs-label)/1 var(--font-body); color: var(--ink); background: transparent; border: 1.5px solid var(--ink);
  text-decoration: none; cursor: pointer;
}
.bar-call { justify-self: start; }
.bar-menu { justify-self: end; }
.bar-call:hover, .bar-menu:hover { background: var(--ink); color: var(--white); }
.lg-only { display: none; }
@media (max-width: 400px) {
  .brand-sub { display: none; }
  .bar-call, .bar-menu { padding: 0 12px; }
}
@media (min-width: 1200px) {
  :root { --header-h: 84px; }
  .bar { grid-template-columns: auto 1fr auto 1fr auto; gap: 20px; }
  .nav-half { display: block; }
  .nav-half ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
  .nav-left ul { justify-content: flex-end; }
  .nav-right ul { justify-content: flex-start; }
  .nav-half a {
    display: block; padding: 10px 12px; font-weight: 600; font-size: var(--fs-ui); color: var(--ink); text-decoration: none;
    border-radius: 999px; position: relative;
  }
  .nav-half a::after {
    content: ""; position: absolute; left: 50%; bottom: 3px; width: 0; height: 2px; background: var(--aqua);
    transform: translateX(-50%); transition: width .25s var(--ease);
  }
  .nav-half a:hover::after, .nav-half a[aria-current="page"]::after { width: calc(100% - 24px); }
  .nav-half a[aria-current="page"] { color: var(--aqua-ink); }
  .bar-cta {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px;
    background: var(--aqua-ink); color: var(--white); font-weight: 600; text-decoration: none;
  }
  .bar-cta:hover { background: var(--ink); color: var(--white); }
  .bar-menu { display: none; }
  .bar-call .sm-only { display: none; }
  .lg-only { display: inline; }
  .crest { width: 50px; height: 50px; }
  .brand-name { font-size: var(--fs-title); }
}

/* ---------- phone menu: opens from the centre line outwards ---------- */
.menu {
  position: fixed; inset: 0; z-index: 80; background: var(--mist); overflow-y: auto; overscroll-behavior: contain;
  clip-path: inset(50% 0 50% 0); transition: clip-path .5s var(--ease);
}
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu-inner { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 72px 16px 32px; }
.menu-close { position: absolute; top: 14px; right: 16px; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; color: var(--ink); font: 600 var(--fs-label) var(--font-body); cursor: pointer; }
.menu-links { list-style: none; margin: 0; padding: 0; text-align: center; }
.menu-links a { display: block; padding: 8px 16px; font: 800 var(--fs-headline)/1.15 var(--font-display); color: var(--ink); text-decoration: none; }
.menu-links a[aria-current="page"] { color: var(--aqua-ink); }
.menu-axis { position: relative; width: min(100%, 420px); height: 56px; display: grid; place-items: center; }
.menu-axis::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: var(--axis); background: var(--aqua); transform: translateY(-50%); }
.menu-axis .crest { position: relative; width: 48px; height: 48px; background: var(--mist); padding: 0 6px; box-sizing: content-box; }
.menu-actions { display: flex; flex-direction: column; gap: 10px; width: min(100%, 340px); margin-top: 8px; }
@media (prefers-reduced-motion: reduce) {
  .menu { clip-path: none; opacity: 0; transition: opacity .2s linear; }
  .menu.is-open { opacity: 1; }
}

/* ---------- hero: the photo meets its reflection on the axis ---------- */
.hero { padding: 16px 0 0; background: var(--white); overflow: clip; }
.hero-fold { position: relative; max-width: 1320px; margin: 0 auto; padding: 0 16px; --ph: 230px; --rh: 96px; }
.hero-photo { margin: 0; height: var(--ph); border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.hero-photo img, .hero-reflection img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }
.hero-axis { position: relative; height: var(--axis); background: var(--aqua); margin: 0 -50vw; z-index: 2; }
.hero-reflection {
  position: relative; height: var(--rh); overflow: hidden; border-radius: 0 0 var(--radius) var(--radius);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.6), rgba(0,0,0,0) 92%); mask-image: linear-gradient(to bottom, rgba(0,0,0,.6), rgba(0,0,0,0) 92%);
}
.hero-reflection img { height: var(--ph); transform: scaleY(-1); filter: blur(2px) saturate(.45); }
.hero-reflection::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.85) 50%, transparent 65%) no-repeat;
  background-size: 300% 100%; background-position: 120% 0; opacity: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-reflection::after { animation: shimmer 2.8s var(--ease) .5s 1 both; }
}
@keyframes shimmer { 0% { background-position: 120% 0; opacity: .9; } 100% { background-position: -20% 0; opacity: 0; } }
.hero-plate {
  position: relative; z-index: 3; margin: calc(-1 * var(--rh) + 28px) 0 0; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 18px 20px; text-align: center;
}
.hero-plate h1 { font-size: var(--fs-hero); letter-spacing: -.025em; line-height: 1.02; margin-bottom: .35em; }
.hero-lede { max-width: 56ch; margin: 0 auto .5rem; color: var(--ink-2); font-size: var(--fs-ui); }
.hero-hi { font-size: var(--fs-ui); color: var(--aqua-ink); font-weight: 600; margin-bottom: 1rem; }
.hero-actions .btn-wa { display: none; }
.hero-note { text-align: center; padding: 10px 0 22px; margin: 0; }
@media (min-width: 576px) { .hero-actions .btn-wa { display: inline-flex; } }
@media (min-width: 768px) {
  .hero-fold { --ph: 340px; --rh: 200px; }
  .hero-plate { position: absolute; left: 50%; top: var(--ph); transform: translate(-50%, -50%); width: min(820px, calc(100% - 64px)); margin: 0; padding: 30px 40px 28px; }
  .hero-note { position: absolute; right: 28px; bottom: 6px; padding: 0; }
  .hero { padding-bottom: 30px; }
}
@media (min-width: 1200px) {
  .hero-fold { --ph: clamp(340px, calc(100vh - 430px), 470px); --rh: 230px; }
  .hero-lede { font-size: var(--fs-base); }
}

/* ---------- today at school ---------- */
.today { background: var(--mist); padding-top: clamp(48px, 6vw, 80px); }
.today-board { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 20px; display: grid; gap: 28px; }
.today-axis { height: var(--axis); background: var(--aqua); margin: 0 -20px; position: relative; }
.today-axis::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; border-radius: 50%; background: var(--coral); transform: translate(-50%, -50%); }
.today-date { font: 800 var(--fs-headline)/1.1 var(--font-display); font-variant-numeric: tabular-nums; margin-bottom: .75rem; }
.today-status { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--aqua-tint); color: var(--ink); font-weight: 600; font-size: var(--fs-label); margin-bottom: .5rem; }
.today-status.is-closed { background: var(--coral-tint); }
.today-status .i { color: var(--aqua-ink); }
.today-src { font-size: var(--fs-sm); color: var(--ink-2); }
.today-photo { margin: 18px 0 0; border-radius: var(--radius); overflow: hidden; max-width: 300px; aspect-ratio: 4 / 3; }
.today-photo img { width: 100%; height: 100%; object-fit: cover; }
.today-right h3 { font-size: var(--fs-title); }
.sample-tag { display: inline-block; font-size: var(--fs-sm); color: var(--ink-2); border: 1.5px dashed var(--line-dash); border-radius: 999px; padding: 4px 12px; }
.today-list { list-style: none; margin: 1rem 0 0; padding: 0; counter-reset: td; }
.today-list li { display: grid; grid-template-columns: 1fr; padding: 12px 0 12px 22px; border-top: 1px solid var(--line); position: relative; }
.today-list li::before { content: ""; position: absolute; left: 0; top: 21px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--aqua); }
.td-t { font-weight: 600; }
.td-d { color: var(--ink-2); font-size: var(--fs-label); }
@media (min-width: 992px) {
  .today-board { grid-template-columns: 1fr var(--axis) 1fr; gap: 48px; padding: 44px 48px; }
  .today-left { text-align: right; display: flex; flex-direction: column; align-items: flex-end; }
  .today-axis { height: auto; margin: -44px 0; width: var(--axis); }
}

/* ---------- mirrored two halves ---------- */
.fold-2 { display: grid; gap: 24px; position: relative; }
.fold-half { border-radius: var(--radius-lg); padding: 26px 22px; }
.fold-solid { background: var(--white); border: 1px solid var(--line); }
.fold-dashed { background: transparent; border: 1.5px dashed var(--line-dash); }
.fold-half h3 { display: flex; align-items: center; gap: 8px; }
.fold-half h3 .i { color: var(--aqua-ink); }
.fold-half dl { margin: 0; }
.fold-half dl div { padding: 10px 0; border-top: 1px solid var(--line); }
.fold-dashed dl div { border-top-style: dashed; border-color: var(--line-dash); }
.fold-half dt { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); }
.fold-half dd { margin: 0; }
@media (min-width: 992px) {
  .fold-2 { grid-template-columns: 1fr 1fr; gap: 64px; }
  .fold-2::before { content: ""; position: absolute; left: 50%; top: 8%; bottom: 8%; width: var(--axis); background: var(--aqua); transform: translateX(-50%); border-radius: 4px; }
  .fold-half { padding: 34px 36px; }
}
.glance { background: var(--mist); padding-top: 0; }

/* ---------- stages ---------- */
.stages { background: var(--white); }
.stage figure { margin: 0 0 18px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; }
.stage figure img { width: 100%; height: 100%; object-fit: cover; }
.stage h3 { font-size: var(--fs-subhead); }
.stage h3 span { display: block; font: 600 var(--fs-ui) var(--font-body); color: var(--aqua-ink); margin-top: 6px; letter-spacing: 0; }
.stage p { color: var(--ink-2); }
@media (min-width: 992px) { .stage-fold .stage:first-child { text-align: right; } }

/* ---------- reflect: questions face answers across the axis ---------- */
.reflect { background: var(--mist); }
.rf-heads { display: none; }
.rf-list { position: relative; max-width: 1040px; margin: 0 auto; }
.rf-list::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--axis); background: var(--aqua); border-radius: 4px; }
.rf-row { display: grid; grid-template-columns: 1fr; gap: 10px; padding: 20px 0 20px 26px; position: relative; }
.rf-q { font: 700 var(--fs-title)/1.3 var(--font-display); margin: 0; }
.rf-dot { position: absolute; left: -6px; top: 24px; width: 15px; height: 15px; border-radius: 50%; background: var(--white); border: 3px solid var(--aqua); }
.rf-a p { margin: .5rem 0 0; }
.rf-a.ghosted { border: 1.5px dashed var(--line-dash); border-radius: var(--radius); padding: 12px 14px; }
.chip { display: inline-block; font-size: var(--fs-xs); font-weight: 600; padding: 3px 10px; border-radius: 999px; line-height: 1.5; }
.chip-maps { background: var(--aqua-tint); color: var(--ink); }
.chip-listed { background: var(--white); color: var(--ink); border: 1px solid var(--line-dash); }
.chip-school { background: transparent; color: var(--ink-2); border: 1.5px dashed var(--line-dash); }
.chip-general { background: var(--ink); color: var(--white); }
@media (min-width: 992px) {
  .rf-heads { display: grid; grid-template-columns: 1fr 64px 1fr; max-width: 1040px; margin: 0 auto 10px; font-weight: 600; color: var(--ink-2); font-size: var(--fs-label); }
  .rf-heads span:first-child { text-align: right; }
  .rf-heads span:last-child { grid-column: 3; }
  .rf-list::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: var(--axis); background: var(--aqua); transform: translateX(-50%); }
  .rf-row { grid-template-columns: 1fr 64px 1fr; gap: 0; padding: 22px 0; border-top: 1px solid var(--line); align-items: start; }
  .rf-q { text-align: right; padding-top: 2px; }
  .rf-dot { position: relative; left: auto; top: 6px; justify-self: center; z-index: 1; }
  .rf-a { grid-column: 3; }
}

/* ---------- daily habits ---------- */
.habits { background: var(--white); }
.habits-head { text-align: center; margin-bottom: 2.5rem; }
.habits-head p { color: var(--ink-2); }
.habits-wrap { display: grid; gap: 28px; }
.habits-photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; }
.habits-photo img { width: 100%; height: 100%; object-fit: cover; }
.habit-strip { list-style: none; margin: 0; padding: 0 0 8px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 72%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; }
.habit { scroll-snap-align: start; border-top: var(--axis) solid var(--aqua); padding: 16px 4px 0; }
.habit .i { width: 28px; height: 28px; color: var(--aqua-ink); }
.habit h3 { font-size: var(--fs-lead); margin: 10px 0 6px; }
.habit p { color: var(--ink-2); font-size: var(--fs-label); margin: 0; }
@media (min-width: 768px) { .habit-strip { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; gap: 28px 24px; } }
@media (min-width: 992px) { .habits-wrap { grid-template-columns: 340px 1fr; gap: 48px; align-items: start; } .habits-photo { aspect-ratio: 3 / 4; } }

/* ---------- ink bands ---------- */
.visit-band { background: var(--ink); color: var(--night-text); text-align: center; position: relative; }
.visit-band h2::after { content: ""; display: block; width: 120px; height: var(--axis); margin: .5em auto 0; background: var(--aqua-light); border-radius: 4px; }
.visit-band .container { position: relative; }
.visit-band h2 { color: var(--white); }
.visit-band p { max-width: 58ch; margin-left: auto; margin-right: auto; }
.visit-hi { color: var(--aqua-light); font-weight: 600; }
.visit-band .photo-note { color: var(--night-soft); margin-top: 2rem; }

/* ---------- inner page hero ---------- */
.page-hero { background: var(--white); text-align: center; padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: var(--fs-page); letter-spacing: -.025em; margin-bottom: .4em; }
.ph-axis { display: block; position: relative; height: var(--axis); width: min(100%, 560px); margin: 0 auto 1.5rem; background: var(--aqua); }
.ph-axis::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; border-radius: 50%; background: var(--coral); transform: translate(-50%, -50%); box-shadow: 0 0 0 5px var(--white); }
.ph-lede { max-width: 60ch; margin: 0 auto; color: var(--ink-2); font-size: var(--fs-lead); }
.ph-hi { margin: .75rem 0 0; color: var(--aqua-ink); font-weight: 600; }
.page-hero.tall { padding: clamp(80px, 12vw, 160px) 0; }

/* ---------- placeholders: ghost cells, designed on purpose ---------- */
.ghost { border: 1.5px dashed var(--line-dash); border-radius: var(--radius); padding: 14px 16px; color: var(--ink-2); background: rgba(255,255,255,.5); margin: 1rem 0 0; font-size: var(--fs-ui); }
.ghost-tag { display: block; font-weight: 600; color: var(--ink); font-size: var(--fs-sm); margin-bottom: 2px; }

/* ---------- about ---------- */
.about-mirror { background: var(--white); padding-top: 0; }
.mirror-pair { display: grid; gap: 16px; position: relative; }
.mirror-pair figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; }
.mirror-pair img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) {
  .mirror-pair { grid-template-columns: 1fr 1fr; gap: 40px; }
  .mirror-pair::before { content: ""; position: absolute; left: 50%; top: -20px; bottom: -20px; width: var(--axis); background: var(--aqua); transform: translateX(-50%); }
  .mirror-pair figure:first-child { border-radius: var(--radius) 4px 4px var(--radius); }
  .mirror-pair figure:last-child { border-radius: 4px var(--radius) var(--radius) 4px; }
}
.about-story { background: var(--mist); }
.leader { background: var(--white); }
.leader-plate { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.leader-plate .ghost { padding: 40px 24px; }

/* ---------- academics ---------- */
.ladder { background: var(--mist); }
.rungs { list-style: none; margin: 0 auto; padding: 0; max-width: 960px; position: relative; }
.rung { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 18px 0 18px 28px; position: relative; }
.rung::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--axis); background: var(--aqua); }
.rung-ghost::before { background: none; width: 0; border-left: var(--axis) dashed var(--line-dash); }
.rung-name { font: 800 var(--fs-subhead)/1.1 var(--font-display); margin: 0; }
.rung-ghost .rung-name { color: var(--ink-2); }
.rung-dot { position: absolute; left: -7px; top: 24px; width: 17px; height: 17px; border-radius: 50%; background: var(--aqua); border: 3px solid var(--mist); }
.rung-ghost .rung-dot { background: var(--mist); border: 2px dashed var(--line-dash); }
.rung-body h3 { margin-bottom: .35rem; }
.rung-body p { margin: .5rem 0 0; color: var(--ink-2); }
@media (min-width: 992px) {
  .rungs::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: var(--axis); background: linear-gradient(var(--aqua) 50%, transparent 50%) 0 0 / 100% 100%; transform: translateX(-50%); }
  .rung { grid-template-columns: 1fr 64px 1fr; gap: 0; padding: 26px 0; align-items: start; }
  .rung::before { display: none; }
  .rung-name { text-align: right; font-size: var(--fs-step); }
  .rung-dot { position: relative; left: auto; top: 8px; justify-self: center; z-index: 1; }
  .rung-body { grid-column: 3; }
}
.approach { background: var(--white); }
.approach-alt { background: var(--mist); }
.framed { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; }
.framed img { width: 100%; height: 100%; object-fit: cover; }
.ticks { list-style: none; margin: 1rem 0 0; padding: 0; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-top: 1px solid var(--line); }
.ticks .i { color: var(--aqua-ink); margin-top: .15em; }
.results { background: var(--white); }
.results .ghost { max-width: 720px; margin: 0 auto; text-align: center; padding: 32px 24px; }

/* ---------- admissions: zig-zag across the axis ---------- */
.journey { background: var(--mist); }
.zigzag { list-style: none; margin: 0 auto; padding: 0; max-width: 960px; position: relative; }
.zigzag::before { content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: var(--axis); background: var(--aqua); }
.zz-step { display: grid; grid-template-columns: 46px 1fr; gap: 18px; padding: 14px 0; position: relative; }
.zz-num { width: 46px; height: 46px; border-radius: 50%; background: var(--white); border: var(--axis) solid var(--aqua); display: grid; place-items: center; font: 800 var(--fs-title) var(--font-display); font-variant-numeric: tabular-nums; position: relative; z-index: 1; }
.zz-body { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.zz-body h3 { margin-bottom: .3rem; }
.zz-body p { margin: 0; color: var(--ink-2); }
.zz-step:target .zz-body { border-color: var(--aqua); }
@media (min-width: 992px) {
  .zigzag::before { left: 50%; transform: translateX(-50%); }
  .zz-step { grid-template-columns: 1fr 72px 1fr; gap: 0; padding: 10px 0; }
  .zz-num { grid-column: 2; justify-self: center; grid-row: 1; margin-top: 12px; }
  .zz-step:nth-child(odd) .zz-body { grid-column: 1; grid-row: 1; text-align: right; }
  .zz-step:nth-child(even) .zz-body { grid-column: 3; grid-row: 1; }
}
.docs-age { background: var(--white); }
.age-table { width: 100%; border-collapse: collapse; margin-top: .75rem; font-variant-numeric: tabular-nums; }
.age-table th, .age-table td { text-align: left; padding: 10px 8px; border-top: 1px dashed var(--line-dash); }
.age-table tbody th { white-space: nowrap; }
.age-table thead th { border-top: 0; font-size: var(--fs-sm); color: var(--ink-2); }
.journey-photo { margin: 56px auto 0; max-width: 420px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.journey-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- campus life ---------- */
.facilities { background: var(--mist); }
.fac-list { list-style: none; margin: 0; padding: 0; }
.fac-list li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.fac-list .i { width: 28px; height: 28px; color: var(--aqua-ink); }
.fac-list strong { display: block; margin-bottom: 6px; }
.ghost-list { list-style: none; margin: 0; padding: 0; }
.ghost-item { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1.5px dashed var(--line-dash); color: var(--ink-2); }
.ghost-item span { font-size: var(--fs-sm); }
.gallery { background: var(--white); }
.g-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.g-item { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; }
.g-2 { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 3 / 2; }
.g-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: var(--mist); cursor: zoom-in; border-radius: var(--radius); overflow: hidden; }
.g-open img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.g-open:hover img { transform: scale(1.03); }
@media (min-width: 992px) {
  .g-grid { grid-template-columns: 1fr 1.6fr 1fr; grid-template-rows: auto auto; gap: 18px; }
  .g-0 { grid-column: 1; grid-row: 1; } .g-1 { grid-column: 1; grid-row: 2; }
  .g-2 { grid-column: 2; grid-row: 1 / span 2; aspect-ratio: auto; }
  .g-3 { grid-column: 3; grid-row: 1; } .g-4 { grid-column: 3; grid-row: 2; }
}
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); width: 100%; }
.lightbox::backdrop { background: rgba(22, 35, 46, .92); }
.lb-inner { position: relative; }
.lb-img { width: 100%; height: auto; max-height: 80vh; object-fit: contain; border-radius: var(--radius); background: var(--ink); }
.lb-cap { color: var(--night-text); text-align: center; margin: 12px 48px 0; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--white); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.lb-btn:focus-visible { outline-color: var(--coral); }
.lb-prev { left: 10px; top: 40%; } .lb-next { right: 10px; top: 40%; } .lb-close { right: 10px; top: 10px; }
.notices { background: var(--mist); }
.nt-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.nt-list li { border-top: 1.5px dashed var(--line-dash); padding-top: 14px; }
.nt-list p { margin: 0; font: 700 var(--fs-title)/1.3 var(--font-display); }
.nt-list p.small { font: 400 var(--fs-sm)/1.5 var(--font-body); margin-top: 4px; }
.nt-tag { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-xs); font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.nt-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
@media (min-width: 768px) { .nt-list { grid-template-columns: repeat(3, 1fr); gap: 32px; } }

/* ---------- contact ---------- */
.contact-fold { background: var(--mist); }
.contact-rows { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.contact-rows li { display: flex; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.contact-rows .i { width: 26px; height: 26px; color: var(--aqua-ink); margin-top: 2px; }
.contact-rows strong { display: block; }
.hours-h { font-size: var(--fs-title); }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 8px 10px; border-top: 1px solid var(--line); font-weight: 400; }
.hours th { font-weight: 600; }
.hours tr.is-today { background: var(--aqua-tint); }
.hours tr.is-today th::after { content: " (today)"; font-weight: 400; color: var(--ink-2); }
.map-half { padding: 0; }
.map-box { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--white); border: 1.5px dashed var(--line-dash); }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; gap: 6px; }
.map-fallback > .i { width: 34px; height: 34px; color: var(--aqua-ink); }
.map-box.is-loaded { border-style: solid; border-color: var(--line); }
.contact-photo { margin: 20px 0 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- enquiry ---------- */
.enquire-band { background: var(--white); border-top: 1px solid var(--line); }
.contact-list { list-style: none; margin: 1.25rem 0 0; padding: 0; }
.contact-list li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.contact-list .i { color: var(--aqua-ink); }
.enquiry { display: grid; grid-template-columns: 1fr; gap: 16px 18px; background: var(--mist); border-radius: var(--radius-lg); padding: 24px 20px; }
@media (min-width: 768px) { .enquiry { grid-template-columns: 1fr 1fr; padding: 32px; } .field-wide, .form-status, .btn-submit, .form-note { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; font: 400 var(--fs-ui) var(--font-body); color: var(--ink);
  background: var(--white); border: 1.5px solid var(--line-dash); border-radius: 10px;
}
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--aqua); outline-offset: 1px; border-color: var(--aqua-ink); }
.field [aria-invalid="true"] { border-color: var(--error); background: var(--coral-tint); }
.hint { font-size: var(--fs-sm); color: var(--ink-2); margin: 6px 0 0; }
.err { font-size: var(--fs-sm); color: var(--error); font-weight: 600; margin: 6px 0 0; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit { justify-self: start; min-width: 200px; }
.btn-submit[aria-busy="true"] { opacity: .7; cursor: progress; }
.form-status { margin: 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-ok { background: var(--aqua-tint); padding: 12px 14px; border-radius: 10px; }
.form-status.is-err { background: var(--coral-tint); color: var(--error); padding: 12px 14px; border-radius: 10px; }
.form-note { font-size: var(--fs-sm); color: var(--ink-2); margin: 0; }

/* ---------- prose ---------- */
.prose-sec { background: var(--mist); }
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--fs-subhead); margin-top: 1.5em; }

/* ---------- footer: mirrored around the crest ---------- */
.site-footer { background: var(--ink); color: var(--night-text); padding: 64px 0 28px; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: var(--aqua-light); }
.foot-fold { display: grid; gap: 32px; text-align: center; }
.foot-h { font-size: var(--fs-title); color: var(--white); }
.foot-centre img { margin: 0 auto 10px; }
.foot-name { font: 700 var(--fs-lead) var(--font-display); color: var(--white); margin-bottom: 4px; }
.foot-note, .foot-small { font-size: var(--fs-xs); color: var(--night-soft); }
.foot-hours { list-style: none; margin: 0 0 8px; padding: 0; font-variant-numeric: tabular-nums; }
.foot-hours li { display: grid; grid-template-columns: 110px 100px; justify-content: center; gap: 12px; padding: 2px 0; text-align: left; }
.foot-links ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; padding: 28px 0 0; margin: 32px 0 0; border-top: 1px solid rgba(169, 186, 182, .3); }
.foot-links a { display: inline-block; padding: 8px 10px; text-decoration: none; font-weight: 600; }
.foot-legal { text-align: center; max-width: 72ch; margin: 18px auto 0; }
@media (min-width: 992px) {
  .foot-fold { grid-template-columns: 1fr auto 1fr; gap: 56px; align-items: start; }
  .foot-left { text-align: right; }
  .foot-right { text-align: left; }
  .foot-right .foot-hours li { justify-content: start; }
  .foot-centre { padding: 0 32px; position: relative; }
  .foot-centre::before, .foot-centre::after { content: ""; position: absolute; top: 0; bottom: 0; width: var(--axis); background: var(--aqua); }
  .foot-centre::before { left: 0; } .foot-centre::after { right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
}
