/* Christ The King Convent School — "Rooted in care"
   Bootstrap 5.3.3 supplies the grid + utilities only; everything visible is restyled here. */

:root {
  --sand: #F4EDE1;
  --cream: #FBF8F2;
  --sand-deep: #EADFCC;
  --ink: #3B1E1A;
  --ink-2: #66463E;
  --teal: #1E5B5C;
  --teal-deep: #154344;
  --teal-tint: #DCE7E3;
  --gold: #C9A45C;
  --gold-ink: #8A6A2A;
  --line: rgba(59, 30, 26, .16);
  --error: #9B2C1F;

  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --deva: "Tiro Devanagari Hindi", "Noto Serif Devanagari", serif;

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.45rem, 1.2rem + .9vw, 1.75rem);
  --step-3: clamp(1.75rem, 1.35rem + 1.6vw, 2.4rem);
  --step-4: clamp(2.2rem, 1.55rem + 2.8vw, 3.6rem);
  --step-5: clamp(2.6rem, 1.7rem + 3.9vw, 4.6rem);

  --gutter: clamp(1rem, .6rem + 2vw, 2rem);
  --section: clamp(4rem, 3rem + 4vw, 7.5rem);
  --radius-s: 6px;
  --radius-m: 14px;
  --shadow: 0 1px 2px rgba(59, 30, 26, .06), 0 10px 28px -12px rgba(59, 30, 26, .28);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --stitch: repeating-linear-gradient(90deg, var(--gold) 0 11px, transparent 11px 19px);
  --stitch-v: repeating-linear-gradient(180deg, var(--gold) 0 11px, transparent 11px 19px);
}

/* ---------- base ---------- */
/* Critical subset of Bootstrap reboot/utilities, so the page renders correctly before the
   async Bootstrap stylesheet arrives (no layout shift when it does). */
*, *::before, *::after { box-sizing: border-box; }
.container { width: 100%; margin-inline: auto; }
.m-0 { margin: 0 !important; } .mb-0 { margin-bottom: 0 !important; } .mb-4 { margin-bottom: 1.5rem !important; }
.mt-3 { margin-top: 1rem !important; } .mt-4 { margin-top: 1.5rem !important; } .me-2 { margin-right: .5rem !important; }
.pt-0 { padding-top: 0 !important; } .pt-2 { padding-top: .5rem !important; } .d-inline-block { display: inline-block !important; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; margin: 0; }
table { border-collapse: collapse; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--sand);
  /* paper grain: two offset dot fields, CSS only */
  background-image:
    radial-gradient(rgba(59, 30, 26, .045) .6px, transparent .9px),
    radial-gradient(rgba(201, 164, 92, .08) .7px, transparent 1px);
  background-size: 4px 4px, 9px 9px;
  background-position: 0 0, 2px 5px;
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--teal); color: var(--cream); }
input, textarea, select { caret-color: var(--teal); }
html { scrollbar-color: #B9A588 var(--sand); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.012em;
  text-wrap: balance;
  margin: 0 0 .5em;
}
h1 { font-size: var(--step-5); font-weight: 500; letter-spacing: -.02em; }
h2 { font-size: var(--step-4); font-weight: 500; letter-spacing: -.018em; }
h3 { font-size: var(--step-2); }
p { margin: 0 0 1em; text-wrap: pretty; }
.lede { font-family: var(--serif); font-size: var(--step-1); line-height: 1.6; color: var(--ink-2); max-width: 36em; }
[lang="hi"] { font-family: var(--deva); font-style: normal; letter-spacing: 0; }

a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { color: var(--teal-deep); text-decoration-thickness: 2px; }
img { max-width: 100%; height: auto; display: block; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .noticeboard :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }

.container { max-width: 1240px; padding-inline: var(--gutter); }
.measure { max-width: 40rem; }
.section { padding-block: var(--section); }
.section--cream { background: var(--cream); }
.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.section-head p { color: var(--ink-2); font-size: var(--step-1); font-family: var(--serif); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 2000;
  background: var(--ink); color: var(--cream); padding: .75rem 1.1rem; border-radius: var(--radius-s);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--cream); }

/* running stitch: the one structural line of the site */
.stitch { height: 2px; background: var(--stitch); border: 0; margin: 0; opacity: 1; }
.stitch-top { position: relative; }
.stitch-top::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--stitch); }

/* ---------- buttons ---------- */
.btn-ctk {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.35rem;
  font: 600 1rem/1.2 var(--sans);
  border-radius: 999px; border: 2px solid var(--teal);
  background: var(--teal); color: #fff; text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn-ctk:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; text-decoration: none; }
.btn-ctk:active { transform: translateY(1px); }
.btn-ctk--ghost { background: transparent; color: var(--teal); }
.btn-ctk--ghost:hover { background: var(--teal-tint); color: var(--teal-deep); border-color: var(--teal-deep); }
.btn-ctk--light { background: var(--cream); color: var(--teal-deep); border-color: var(--cream); }
.btn-ctk--light:hover { background: #fff; color: var(--teal-deep); border-color: #fff; }
.btn-ctk svg { width: 1.15em; height: 1.15em; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.text-link { font-weight: 600; text-decoration: underline; }

/* ---------- placeholder: tacked, not yet sewn ---------- */
.tbc {
  position: relative;
  border: 2px dashed #B08F6B;
  border-radius: var(--radius-m);
  background: rgba(251, 248, 242, .78);
  padding: 1rem 1.15rem 1rem 3.1rem;
  color: var(--ink-2);
  font-size: var(--step--1);
  line-height: 1.55;
}
.tbc strong { color: var(--ink); font-weight: 600; }
.tbc::before {
  content: ""; position: absolute; left: 1.05rem; top: 1.05rem; width: 1.3rem; height: 1.3rem;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A6A2A' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M4 20 19 5'/%3E%3Cellipse cx='19.6' cy='4.4' rx='1.6' ry='.9' transform='rotate(-45 19.6 4.4)'/%3E%3Cpath d='M4 20c-1-3 1-5 4-4s5-1 4-4' stroke-dasharray='2 2.5'/%3E%3C/svg%3E");
}
.tbc p:last-child { margin: 0; }
.tbc--block { padding: 1.5rem 1.5rem 1.5rem 3.4rem; font-size: var(--step-0); }
.tbc--block::before { top: 1.55rem; left: 1.2rem; }
.tag-sample {
  display: inline-block; font: 600 .78rem/1 var(--sans); letter-spacing: .02em;
  color: #6E5220; background: #F3E6C8; border-radius: 999px; padding: .35rem .6rem;
}
.source { font-size: var(--step--1); color: var(--ink-2); }

/* ---------- header: split, crest centred ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(251, 248, 242, .96);
  backdrop-filter: saturate(1.2) blur(6px);
  -webkit-backdrop-filter: saturate(1.2) blur(6px);
}
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--stitch); opacity: .7; }
.nav-split {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: clamp(1rem, 2vw, 2.5rem); min-height: 92px;
}
.nav-side { display: flex; align-items: center; gap: clamp(.9rem, 1.6vw, 1.9rem); list-style: none; margin: 0; padding: 0; }
.nav-side--left { justify-content: flex-end; }
.nav-side--right { justify-content: flex-start; }
.nav-side a:not(.btn-ctk) {
  position: relative; color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1rem;
  padding: .5rem 0;
}
.nav-side a:not(.btn-ctk)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .15rem; height: 2px;
  background: var(--stitch); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out);
}
.nav-side a:not(.btn-ctk):hover::after, .nav-side a[aria-current="page"]::after { transform: scaleX(1); }
.nav-side a[aria-current="page"] { color: var(--teal-deep); }
.nav-side .btn-ctk { min-height: 44px; padding: .55rem 1.1rem; font-size: .95rem; }
.crest-link {
  display: flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ink);
  padding-block: .6rem; text-align: center;
}
.crest-link img { width: 52px; height: 52px; }
.crest-name { font-family: var(--serif); font-weight: 600; font-size: 1.02rem; line-height: 1.15; margin-top: .3rem; letter-spacing: .005em; }
.crest-sub { font-size: .76rem; color: var(--ink-2); letter-spacing: .01em; }
.crest-link:hover { color: var(--ink); text-decoration: none; }

.nav-mobile-btn, .nav-call { display: none; }

@media (max-width: 1099.98px) {
  .nav-split { grid-template-columns: 1fr auto 1fr; min-height: 68px; }
  .nav-side { display: none; }
  .crest-link img { width: 40px; height: 40px; }
  .crest-name { font-size: .92rem; }
  .crest-sub { display: none; }
  .nav-mobile-btn, .nav-call {
    display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .45rem .8rem;
    font: 600 .95rem/1 var(--sans); color: var(--teal-deep); background: transparent;
    border: 2px solid var(--line); border-radius: 999px; text-decoration: none; cursor: pointer;
  }
  .nav-call { justify-self: start; }
  .nav-mobile-btn { justify-self: end; }
  .nav-mobile-btn:hover, .nav-call:hover { border-color: var(--teal); color: var(--teal-deep); }
  .nav-call svg { width: 1.05rem; height: 1.05rem; }
}
@media (max-width: 420px) {
  .crest-name { font-size: .8rem; max-width: 9.5rem; }
  .nav-call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nav-call { padding: .45rem .7rem; }
}

/* full-height menu sheet */
.menu-sheet {
  position: fixed; inset: 0; z-index: 1500; background: var(--cream);
  display: flex; flex-direction: column; padding: 1rem var(--gutter) 2rem;
  overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-12px);
  transition: opacity .3s var(--ease-out), transform .4s var(--ease-out), visibility 0s linear .4s;
}
.menu-sheet.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--ease-out), transform .4s var(--ease-out); }
.menu-sheet__top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 52px; }
.menu-sheet__top img { width: 40px; height: 40px; grid-column: 2; }
.menu-close {
  grid-column: 3; justify-self: end; min-height: 44px; padding: .45rem .9rem; cursor: pointer;
  font: 600 .95rem/1 var(--sans); color: var(--teal-deep); background: transparent; border: 2px solid var(--line); border-radius: 999px;
}
.menu-sheet nav { margin-top: 1.5rem; }
.menu-sheet ul { list-style: none; margin: 0; padding: 0; }
.menu-sheet li { border-bottom: 2px solid transparent; background: var(--stitch) bottom / 100% 2px no-repeat; }
.menu-sheet nav a {
  display: flex; justify-content: space-between; align-items: baseline; padding: 1rem .2rem;
  font: 500 clamp(1.6rem, 1.2rem + 2vw, 2.2rem)/1.15 var(--serif); color: var(--ink); text-decoration: none;
}
.menu-sheet nav a[aria-current="page"] { color: var(--teal); }
.menu-sheet nav a small { font: 400 .9rem/1 var(--sans); color: var(--ink-2); }
.menu-sheet__actions { margin-top: auto; padding-top: 2rem; display: grid; gap: .7rem; }
.menu-sheet__actions .btn-ctk { width: 100%; }
.menu-sheet__addr { font-size: var(--step--1); color: var(--ink-2); margin-top: 1rem; }
body.menu-open { overflow: hidden; }

/* ---------- hero: arched windows ---------- */
.hero { padding-block: clamp(2.2rem, 1.5rem + 3vw, 5rem) clamp(3.5rem, 2.5rem + 4vw, 6.5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: center; }
.hero h1 { margin-bottom: .35em; max-width: 13ch; }
.hero-hi { font-family: var(--deva); font-size: clamp(1.25rem, 1.1rem + .7vw, 1.6rem); color: var(--teal-deep); margin-bottom: 1.1rem; line-height: 1.5; }
.hero .lede { margin-bottom: 1.6rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: 1.6rem; padding-top: 1.1rem; font-size: var(--step--1); color: var(--ink-2); background: var(--stitch) top / 100% 2px no-repeat; max-width: 34rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-meta svg { width: 1rem; height: 1rem; color: var(--teal); flex: none; }
.status-dot { width: .6rem; height: .6rem; border-radius: 50%; background: #9C8B7A; flex: none; }
.status-dot.is-open { background: #2E8B57; box-shadow: 0 0 0 3px rgba(46, 139, 87, .18); }

.arches { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(.8rem, 1.5vw, 1.4rem); align-items: end; }
.arch { position: relative; margin: 0; }
.arch img, .arch-frame { border-radius: 999px 999px var(--radius-s) var(--radius-s); width: 100%; object-fit: cover; background: var(--sand-deep); }
.arch--main img { aspect-ratio: 5 / 7; }
.arch--main::before {
  content: ""; position: absolute; inset: -12px; border: 2px dashed var(--gold); border-radius: 999px 999px 12px 12px; pointer-events: none;
}
.arch-stack { display: grid; gap: clamp(.8rem, 1.5vw, 1.4rem); align-self: end; }
.arch-stack img { aspect-ratio: 5 / 6; }
.arch figcaption, .photo-note { font-size: .8rem; color: var(--ink-2); margin-top: .6rem; }
.hero .photo-note { margin-top: 1.2rem; text-align: right; }

@media (prefers-reduced-motion: no-preference) {
  .arch-rise { animation: arch-rise 1.1s var(--ease-out) both; }
  .arch-rise--2 { animation-delay: .12s; }
  .arch-rise--3 { animation-delay: .24s; }
  @keyframes arch-rise { from { clip-path: inset(22% 0 0 0 round 999px 999px 6px 6px); transform: translateY(14px); } to { clip-path: inset(0 0 0 0 round 0); transform: none; } }
}

@media (max-width: 991.98px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 14ch; }
  .arches { max-width: 560px; }
}
@media (max-width: 575.98px) {
  .hero { padding-top: 1.6rem; }
  .hero .lede { font-size: 1.08rem; }
  .hero .btn-row .btn-ctk { flex: 1 1 100%; }
}

/* ---------- welcome facts row (sampler line) ---------- */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fact { padding: 1.6rem clamp(1rem, 2vw, 2rem); position: relative; }
.fact + .fact::before { content: ""; position: absolute; left: 0; top: 1.4rem; bottom: 1.4rem; width: 2px; background: var(--stitch-v); }
.fact h3 { font-size: 1.15rem; margin-bottom: .45rem; display: flex; gap: .55rem; align-items: center; }
.fact h3 svg { width: 1.25rem; height: 1.25rem; color: var(--teal); flex: none; }
.fact p { margin: 0 0 .5rem; color: var(--ink-2); }
.fact a { font-weight: 600; }
@media (max-width: 767.98px) {
  .facts { grid-template-columns: 1fr; }
  .fact { padding-inline: 0; }
  .fact + .fact::before { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 2px; background: var(--stitch); }
}

/* ---------- values as arch stories ---------- */
.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 5vw, 5.5rem); align-items: center; }
.story + .story { margin-top: clamp(3rem, 2rem + 4vw, 6rem); }
.story--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.story--flip .story-photo { order: 2; }
.story-photo { max-width: 380px; width: 100%; justify-self: center; }
.story-photo img { aspect-ratio: 4 / 5; }
.story-text { max-width: 34rem; }
.story-text h3 { font-size: var(--step-3); font-weight: 500; }
.story-text p { font-family: var(--serif); font-size: 1.16rem; line-height: 1.7; color: var(--ink-2); }
.story-text .hi-line { font-family: var(--deva); color: var(--teal-deep); font-size: 1.15rem; }
@media (max-width: 767.98px) {
  .story, .story--flip { grid-template-columns: 1fr; }
  .story--flip .story-photo { order: 0; }
  .story-photo { max-width: 300px; justify-self: start; }
}

/* ---------- first day: step guide ---------- */
.firstday { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.firstday-photo img { border-radius: var(--radius-m); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 1.2rem; top: 1.4rem; bottom: 1.4rem; width: 2px; background: var(--stitch-v); }
.step { position: relative; counter-increment: step; }
.step-btn {
  display: grid; grid-template-columns: 2.4rem 1fr; gap: 1rem; align-items: center; width: 100%;
  text-align: left; background: transparent; border: 0; padding: .7rem 0; cursor: pointer; color: var(--ink);
  font: 600 1.12rem/1.3 var(--serif);
}
.step-btn::before {
  content: counter(step); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--cream); border: 2px solid var(--gold); color: var(--gold-ink); font: 600 1rem/1 var(--sans);
  position: relative; z-index: 1; transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.step-btn[aria-expanded="true"]::before { background: var(--teal); border-color: var(--teal); color: #fff; }
.step-btn:hover { color: var(--teal-deep); }
.step-body { padding: 0 0 1rem 3.4rem; color: var(--ink-2); }
.step-body p { margin: 0 0 .5rem; }
.step-body[hidden] { display: none; }
.firstday .tbc { margin-top: 1.5rem; }
@media (max-width: 991.98px) { .firstday { grid-template-columns: 1fr; } .firstday-photo { max-width: 620px; } }

/* ---------- parents' voices ---------- */
.voices { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.voices-quote { font-family: var(--serif); font-size: var(--step-3); line-height: 1.25; font-weight: 400; font-style: italic; color: var(--ink); margin: 0; }
.rating-line { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; margin-bottom: 1rem; font-weight: 600; }
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars svg { width: 1.1rem; height: 1.1rem; }
@media (max-width: 767.98px) { .voices { grid-template-columns: 1fr; } }

/* ---------- parish noticeboard band ---------- */
.noticeboard {
  background-color: var(--teal-deep);
  background-image:
    radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1.2px),
    radial-gradient(rgba(0, 0, 0, .12) 1px, transparent 1.4px);
  background-size: 5px 5px, 7px 7px;
  color: var(--cream);
  padding-block: var(--section);
  position: relative;
}
.noticeboard::before, .noticeboard::after { content: ""; position: absolute; left: 0; right: 0; height: 10px; background: #5B3A2C; box-shadow: inset 0 -2px 0 rgba(0,0,0,.18); }
.noticeboard::before { top: 0; }
.noticeboard::after { bottom: 0; }
.noticeboard h2, .noticeboard h3 { color: var(--cream); }
.noticeboard .section-head p { color: #D9E4E0; }
.notices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2.6rem); list-style: none; padding: 0; margin: 0; }
.notice {
  position: relative; background: var(--cream); color: var(--ink); padding: 2rem 1.4rem 1.4rem;
  border-radius: 3px; box-shadow: 0 2px 3px rgba(0,0,0,.18), 0 14px 26px -14px rgba(0,0,0,.55);
}
.notice:nth-child(1) { transform: rotate(-1.2deg); }
.notice:nth-child(2) { transform: rotate(.8deg) translateY(10px); background: #FFF6DE; }
.notice:nth-child(3) { transform: rotate(-.5deg); }
.notice::before {
  content: ""; position: absolute; top: .7rem; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #EBD39C, var(--gold) 55%, #8A6A2A);
  box-shadow: 0 2px 2px rgba(0,0,0,.35);
}
.notice h3 { font-size: 1.28rem; color: var(--ink); margin: .6rem 0 .5rem; }
.notice p { font-size: .98rem; color: var(--ink-2); margin: 0; }
.notice .tag-sample { position: absolute; top: .55rem; right: .7rem; }
.noticeboard .fine { color: #D9E4E0; font-size: var(--step--1); margin-top: 2.2rem; }
@media (max-width: 991.98px) { .notices { grid-template-columns: 1fr; max-width: 34rem; } .notice:nth-child(n) { transform: none; } }

/* ---------- visit band ---------- */
.visit { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.visit address { font-style: normal; font-family: var(--serif); font-size: var(--step-1); line-height: 1.55; margin-bottom: 1.2rem; }
.visit-arch { max-width: 420px; justify-self: center; width: 100%; }
@media (max-width: 767.98px) { .visit { grid-template-columns: 1fr; } .visit-arch { justify-self: start; max-width: 300px; } }

/* ---------- page header (inner pages) ---------- */
.page-head { padding-block: clamp(2.5rem, 2rem + 3vw, 5rem) clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.crumbs { font-size: var(--step--1); margin-bottom: 1.2rem; color: var(--ink-2); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: .3rem; color: #A88C70; }
.crumbs a { color: var(--ink-2); }
.page-head h1 { font-size: var(--step-5); max-width: 16ch; }
.page-head .lede { margin-top: .5rem; }
.page-head--arch { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.page-head--arch .arch { max-width: 300px; justify-self: end; width: 100%; }
@media (max-width: 767.98px) { .page-head--arch { grid-template-columns: 1fr; } .page-head--arch .arch { justify-self: start; max-width: 220px; } }

/* about: reading column + verified panel */
.read-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.read-col > * + * { margin-top: 2.6rem; }
.read-col h2 { font-size: var(--step-3); }
.verified { background: var(--cream); border-radius: var(--radius-m); padding: 1.6rem 1.5rem; box-shadow: var(--shadow); position: sticky; top: 120px; }
.verified h2 { font-size: 1.4rem; }
.verified dl { margin: 0; }
.verified dt { font-weight: 600; font-size: .92rem; margin-top: 1rem; }
.verified dd { margin: .15rem 0 0; color: var(--ink-2); font-size: .95rem; }
.verified .source { margin-top: 1.2rem; }
@media (max-width: 991.98px) { .read-grid { grid-template-columns: 1fr; } .verified { position: static; } }
.wide-photo img { border-radius: var(--radius-m); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }

/* academics: growing line */
.stages { list-style: none; margin: 0; padding: 0; position: relative; }
.stages::before { content: ""; position: absolute; left: calc(50% - 1px); top: 0; bottom: 0; width: 2px; background: var(--stitch-v); }
.stage { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; position: relative; }
.stage + .stage { margin-top: clamp(3rem, 2rem + 3vw, 5rem); }
.stage::after { content: ""; position: absolute; left: calc(50% - 9px); top: 50%; width: 18px; height: 18px; border-radius: 50%; background: var(--cream); border: 3px solid var(--teal); }
.stage:nth-child(even) .stage-photo { order: 2; }
.stage-photo img { border-radius: 999px 999px var(--radius-s) var(--radius-s); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.stage h2 { font-size: var(--step-3); }
.stage .status { display: inline-block; margin-bottom: .8rem; font-size: .85rem; font-weight: 600; padding: .35rem .7rem; border-radius: 999px; }
.status--listed { background: var(--teal-tint); color: var(--teal-deep); }
.status--tbc { background: #F3E6C8; color: #6E5220; }
@media (max-width: 767.98px) {
  .stages::before, .stage::after { display: none; }
  .stage { grid-template-columns: 1fr; }
  .stage:nth-child(even) .stage-photo { order: 0; }
}
.approach { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 4rem); }
.approach > div { padding-block: 1.4rem; background: var(--stitch) top / 100% 2px no-repeat; }
.approach h3 { font-size: 1.3rem; }
.approach p { color: var(--ink-2); margin: 0; }
@media (max-width: 767.98px) { .approach { grid-template-columns: 1fr; } }

/* admissions */
.journey { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; counter-reset: j; }
.journey li { counter-increment: j; padding-top: 3.4rem; position: relative; }
.journey li::before {
  content: counter(j); position: absolute; top: 0; left: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--teal); color: #fff; font: 600 1rem/1 var(--sans);
}
.journey li::after { content: ""; position: absolute; top: 1.15rem; left: 3rem; right: -1rem; height: 2px; background: var(--stitch); }
.journey li:last-child::after { display: none; }
.journey h3 { font-size: 1.25rem; }
.journey p { color: var(--ink-2); font-size: .98rem; margin: 0; }
@media (max-width: 991.98px) { .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); } .journey li:nth-child(2)::after { display: none; } }
@media (max-width: 575.98px) { .journey { grid-template-columns: 1fr; } .journey li::after { display: none; } }

.age-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; background: var(--cream); border-radius: var(--radius-m); overflow: hidden; box-shadow: var(--shadow); }
.age-table caption { caption-side: bottom; font-size: var(--step--1); color: var(--ink-2); padding-top: .8rem; }
.age-table th, .age-table td { text-align: left; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line); }
.age-table thead th { font-family: var(--serif); font-size: 1.05rem; background: var(--sand-deep); }
.age-table tr:last-child td { border-bottom: 0; }
.doc-list { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 2.5rem; }
.doc-list li { break-inside: avoid; padding: .6rem 0 .6rem 2rem; position: relative; }
.doc-list li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 1.1rem; height: 2px; background: var(--stitch); }
@media (max-width: 575.98px) { .doc-list { columns: 1; } }
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 991.98px) { .two-col { grid-template-columns: 1fr; } }

/* FAQ */
.faq details { background: var(--stitch) bottom / 100% 2px no-repeat; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  padding: 1.15rem 0; font: 600 1.15rem/1.35 var(--serif); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--sans); color: var(--teal); transition: transform .25s var(--ease-out); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 1.2rem; color: var(--ink-2); max-width: 46rem; }

/* campus life gallery */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(.6rem, 1.2vw, 1rem); list-style: none; padding: 0; margin: 0; }
.gallery li { grid-column: span 4; }
.gallery li:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.gallery li:nth-child(2), .gallery li:nth-child(3) { grid-column: span 7; }
.gallery li:nth-child(2) { grid-column: 6 / span 4; }
.gallery li:nth-child(3) { grid-column: 10 / span 3; }
.gallery li:nth-child(4) { grid-column: 6 / span 7; }
.gallery button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius-m); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .6s var(--ease-out); }
.gallery li:nth-child(1) img { aspect-ratio: auto; border-radius: 999px 999px 0 0; }
.gallery li:nth-child(1) button { border-radius: 999px 999px var(--radius-m) var(--radius-m); }
.gallery button:hover img { transform: scale(1.035); }
@media (max-width: 767.98px) {
  .gallery li:nth-child(n) { grid-column: span 6; grid-row: auto; }
  .gallery li:nth-child(1) { grid-column: span 12; }
  .gallery li:nth-child(1) img { aspect-ratio: 4 / 5; }
}
.lightbox { position: fixed; inset: 0; z-index: 1800; background: rgba(30, 15, 12, .97); display: grid; grid-template-rows: auto minmax(0, 1fr) auto; align-items: center; padding: 1rem; color: var(--cream); }
.lightbox[hidden] { display: none; }
.lightbox-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.lightbox figure { margin: 0; display: grid; place-items: center; min-height: 0; }
.lightbox img { max-height: calc(100vh - 9rem); max-width: 100%; width: auto; border-radius: var(--radius-s); object-fit: contain; }
.lightbox figcaption { text-align: center; font-size: .95rem; color: #E8DCCB; padding-top: .6rem; }
.lb-btn { min-height: 44px; min-width: 44px; padding: .5rem .9rem; border-radius: 999px; border: 2px solid rgba(251,248,242,.5); background: transparent; color: var(--cream); font: 600 .95rem/1 var(--sans); cursor: pointer; }
.lb-btn:hover { border-color: var(--cream); background: rgba(251,248,242,.08); }
.lightbox-nav { display: flex; justify-content: center; gap: .8rem; padding-top: .6rem; }
.expect { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.expect .tbc { font-size: .98rem; }
.expect h3 { font-size: 1.15rem; margin-bottom: .35rem; font-family: var(--serif); }
@media (max-width: 767.98px) { .expect { grid-template-columns: 1fr; } }

/* contact */
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: .6rem .2rem; text-align: left; background: var(--stitch) bottom / 100% 1px no-repeat; }
.hours th { font-weight: 500; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--teal-deep); font-weight: 600; }
.hours tr.is-today th::after { content: " (today)"; font-weight: 400; color: var(--ink-2); }
.map-wrap { border-radius: 999px 999px var(--radius-m) var(--radius-m); overflow: hidden; background: var(--sand-deep); aspect-ratio: 4 / 3.4; position: relative; box-shadow: var(--shadow); }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-fallback { background: var(--cream); border-radius: var(--radius-m); padding: 1.3rem 1.4rem; margin-top: 1rem; }
.map-fallback p { margin: 0 0 .7rem; }

/* ---------- enquiry form ---------- */
.enquire { background: var(--cream); border-radius: clamp(18px, 3vw, 28px); padding: clamp(1.5rem, 1rem + 3vw, 3rem); box-shadow: var(--shadow); position: relative; }
.enquire::before { content: ""; position: absolute; inset: 10px; border: 2px dashed rgba(201, 164, 92, .55); border-radius: clamp(12px, 2.4vw, 20px); pointer-events: none; }
.enquire h2 { font-size: var(--step-3); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.3rem; position: relative; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 575.98px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.field .opt { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .7rem .85rem; font: 400 1rem/1.4 var(--sans); color: var(--ink);
  background: #fff; border: 1.5px solid #CDBBA4; border-radius: 10px; transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #7A5F55; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(30, 91, 92, .22); }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 3px rgba(155, 44, 31, .14); }
.field .hint { font-size: .85rem; color: var(--ink-2); margin-top: .3rem; }
.field .err { font-size: .88rem; color: var(--error); margin-top: .3rem; font-weight: 500; }
.field .err:empty { display: none; }
.prefix-wrap { display: flex; }
.prefix-wrap span { display: grid; place-items: center; padding: 0 .75rem; border: 1.5px solid #CDBBA4; border-right: 0; border-radius: 10px 0 0 10px; background: var(--sand); font-weight: 500; color: var(--ink-2); }
.prefix-wrap input { border-radius: 0 10px 10px 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: .4rem; }
.form-note { font-size: .85rem; color: var(--ink-2); margin: 0; }
.form-status { position: relative; margin-top: 1.2rem; padding: 1rem 1.1rem; border-radius: 10px; font-weight: 500; }
.form-status[hidden] { display: none; }
.form-status.is-success { background: var(--teal-tint); color: var(--teal-deep); }
.form-status.is-error { background: #F6E1DC; color: var(--error); }
.btn-ctk[aria-busy="true"] { opacity: .8; cursor: progress; }
.btn-ctk[aria-busy="true"]::after { content: ""; width: 1rem; height: 1rem; border: 2px solid rgba(255,255,255,.5); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #EBDDD0; padding-block: clamp(3rem, 2rem + 3vw, 5rem) 2rem; position: relative; }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 2px; background: var(--stitch); opacity: .55; }
.site-footer a { color: #F4E3C6; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: clamp(2rem, 4vw, 4rem); }
.footer-brand { display: flex; gap: 1rem; align-items: flex-start; }
.footer-brand img { width: 56px; height: 56px; background: var(--cream); border-radius: 999px 999px 8px 8px; padding: 6px; }
.footer-brand p { margin: 0; }
.footer-name { font-family: var(--serif); font-size: 1.3rem; color: var(--cream); font-weight: 600; line-height: 1.2; margin-bottom: .4rem !important; }
.site-footer h2 { font-size: 1.3rem; color: var(--cream); font-weight: 500; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: .25rem 0; }
.site-footer address { font-style: normal; }
.footer-fine { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid rgba(235, 221, 208, .2); font-size: .86rem; color: #CDBBAE; display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; }
@media (max-width: 767.98px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- phone action dock ---------- */
.dock { display: none; }
@media (max-width: 767.98px) {
  .dock {
    display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    background: var(--cream); border-top: 1px solid var(--line); padding: .45rem .6rem calc(.45rem + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 24px -16px rgba(59, 30, 26, .5);
  }
  .dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; min-height: 48px; font: 600 .8rem/1.1 var(--sans); color: var(--teal-deep); text-decoration: none; border-radius: 10px; }
  .dock a:hover { background: var(--teal-tint); }
  .dock a.dock-main { background: var(--teal); color: #fff; }
  .dock svg { width: 1.3rem; height: 1.3rem; }
  body { padding-bottom: 68px; }
}

/* utility */
.mt-l { margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.center-text { text-align: center; }
.no-js-hide { }

/* refinements after first screenshot round */
.page-head--arch .arch img { aspect-ratio: 4 / 5; object-fit: cover; }
.enquire { container-type: inline-size; }
@container (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
