/* Royal Heights Public School — "Rise, floor by floor"
   Palette (pinned): ground #FBF7F2, royal purple ink #2E1A47, rose-gold #B9785A (decorative #D49A7A), lavender #E7DDF3.
   Type (pinned): Marcellus display, Hanken Grotesk body. Grid: Bootstrap 5.3.3 bootstrap-grid (critical rules repeated below). */

/* metric-matched fallbacks (computed from the font files with fontTools) to keep the font swap from shifting layout */
@font-face { font-family: "Hanken Fallback"; src: local("Arial"), local("ArialMT"), local("Roboto"); size-adjust: 99.9%; ascent-override: 100.1%; descent-override: 30.3%; line-gap-override: 0%; }
@font-face { font-family: "Marcellus Fallback"; src: local("Georgia"), local("Noto Serif"); size-adjust: 101.5%; ascent-override: 95.9%; descent-override: 27.6%; line-gap-override: 0%; }

:root {
  --ground: #FBF7F2;
  --ink: #2E1A47;
  --rose: #B9785A;
  --rose-deco: #D49A7A;
  --rose-ink: #8E5236;      /* rose-gold for text on light: 5.8:1 */
  --lav: #E7DDF3;
  --muted: #5E4A78;         /* secondary text on light: 7.2:1 */
  --mist: #C9B8DD;          /* secondary text on purple: 8.4:1 */
  --line: rgba(46, 26, 71, .16);
  --error: #B23A2C;
  --display: "Marcellus", "Marcellus Fallback", Georgia, serif;
  --body: "Hanken Grotesk", "Hanken Fallback", "Noto Sans Devanagari", system-ui, -apple-system, "Segoe UI", sans-serif;
  --head-h: 76px;
  --r-lg: 18px;
  --r-sm: 10px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* ---- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 1.0625rem; line-height: 1.65; font-variant-numeric: lining-nums; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-color: var(--rose); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--rose-ink); }
::selection { background: var(--lav); color: var(--ink); }
input, select, textarea, button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.band-purple :focus-visible, .site-foot :focus-visible { outline-color: var(--rose-deco); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; max-width: 68ch; }
address { font-style: normal; }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--ground); padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
.skip:hover { color: var(--ground); }
.lead { font-size: 1.2rem; color: var(--muted); }
.hi-line { font-size: 1.15rem; color: var(--rose-ink); margin-top: -.2em; }
.band-purple .hi-line { color: var(--rose-deco); }
.narrow { max-width: 820px; }
.center { text-align: center; }
.center p { margin-left: auto; margin-right: auto; }
.ic { flex: none; }

/* ---- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .7rem 1.35rem; border-radius: 999px; font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease); }
.btn-lg { min-height: 56px; padding: .9rem 1.7rem; font-size: 1.0625rem; }
.btn-royal { background: var(--ink); color: var(--ground); }
.btn-royal:hover { background: #45296a; color: var(--ground); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--lav); color: var(--ink); }
.btn-quiet { color: var(--ink); padding-inline: .8rem; }
.btn-quiet:hover { background: var(--lav); color: var(--ink); }
.band-purple .btn-royal, .on-dark .btn-royal { background: var(--rose-deco); color: var(--ink); }
.band-purple .btn-royal:hover, .on-dark .btn-royal:hover { background: #e3b398; color: var(--ink); }
.band-purple .btn-line { border-color: var(--rose-deco); color: var(--ground); }
.band-purple .btn-line:hover { background: rgba(212, 154, 122, .14); color: var(--ground); }
.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; }

/* ---- header */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(251, 247, 242, .96); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .site-head { background: rgba(251, 247, 242, .86); backdrop-filter: blur(10px); } }
.head-row { display: flex; align-items: center; gap: 1.5rem; height: var(--head-h); }
.brand img { height: 52px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { position: relative; display: block; padding: .55rem .8rem; text-decoration: none; font-weight: 500; border-radius: 8px; }
.main-nav a::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .3rem; height: 1.5px; background: var(--rose); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav a[aria-current="page"] { color: var(--rose-ink); }
.head-actions { display: flex; align-items: center; gap: .5rem; }
.menu-btn { display: none; align-items: center; gap: .45rem; min-height: 46px; padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid var(--ink); background: transparent; font-weight: 600; cursor: pointer; }
.menu-btn:hover { background: var(--lav); }
@media (max-width: 1099.98px) {
  .main-nav, .head-enquire { display: none; }
  .menu-btn { display: inline-flex; }
  .head-actions { margin-left: auto; }
}
@media (max-width: 575.98px) {
  :root { --head-h: 64px; }
  .brand img { height: 42px; }
  .head-call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .head-call { width: 46px; min-height: 46px; padding: 0; border: 1.5px solid var(--line); }
  .head-row { gap: .5rem; }
}

/* ---- sheet menu */
.sheet-scrim { position: fixed; inset: 0; background: rgba(46, 26, 71, .45); z-index: 60; }
.sheet { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--ground); z-index: 61; padding: 1rem 1.5rem 2rem; overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 1.25rem; box-shadow: -18px 0 40px rgba(46, 26, 71, .18); }
.sheet[hidden], .sheet-scrim[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .sheet.is-open { animation: sheet-in .32s var(--ease); }
  @keyframes sheet-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
}
.sheet-top { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
.sheet-title { font-family: var(--display); font-size: 1.5rem; margin: 0; }
.sheet-close { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); background: transparent; display: grid; place-items: center; cursor: pointer; }
.sheet-links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.sheet-links a { display: flex; align-items: center; min-height: 56px; padding: .5rem .25rem; font-family: var(--display); font-size: 1.6rem; text-decoration: none; border-bottom: 1px solid var(--line); }
.sheet-links a[aria-current="page"] { color: var(--rose-ink); }
.sheet-actions { display: grid; gap: .6rem; }
.sheet-addr { color: var(--muted); font-size: .95rem; }

/* ---- elevator: floor indicator (home) */
.lift { position: fixed; z-index: 30; right: max(14px, calc((100vw - 1320px) / 2 - 76px)); top: 50%; transform: translateY(-50%); background: var(--ink); color: var(--ground); border-radius: 30px; padding: 10px 8px 12px; box-shadow: 0 10px 30px rgba(46, 26, 71, .22); border: 1px solid rgba(212, 154, 122, .55); }
.lift-display { margin: 0 0 8px; display: grid; justify-items: center; gap: 0; font-family: var(--display); }
.lift-arrow { color: var(--rose-deco); line-height: 0; transition: transform .3s; }
.lift-arrow.down { transform: rotate(180deg); }
.lift-now { font-size: 1.35rem; line-height: 1.1; color: var(--rose-deco); min-width: 1.6em; text-align: center; }
.lift-now-name { display: none; }
.lift ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.lift a { position: relative; display: grid; place-items: center; text-decoration: none; color: var(--ground); }
.lift-btn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(201, 184, 221, .55); font-family: var(--display); font-size: 1rem; transition: background-color .25s, color .25s, border-color .25s, box-shadow .25s; }
.lift a:hover .lift-btn { border-color: var(--rose-deco); }
.lift a[aria-current="true"] .lift-btn { background: var(--rose-deco); color: var(--ink); border-color: var(--rose-deco); box-shadow: 0 0 0 4px rgba(212, 154, 122, .22); }
.lift-name { position: absolute; right: calc(100% + 14px); top: 50%; transform: translateY(-50%) translateX(6px); white-space: nowrap; background: var(--ink); color: var(--ground); padding: .3rem .7rem; border-radius: 8px; font-size: .9rem; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.lift a:hover .lift-name, .lift a:focus-visible .lift-name { opacity: 1; transform: translateY(-50%); }
.lift a:focus-visible { outline: none; }
.lift a:focus-visible .lift-btn { outline: 3px solid var(--rose-deco); outline-offset: 2px; }
@media (max-width: 1299.98px) {
  /* phones/tablets: the floors become a compact bottom pill */
  .lift { top: auto; bottom: max(12px, env(safe-area-inset-bottom)); right: 50%; transform: translateX(50%); display: flex; align-items: center; gap: 8px; padding: 6px 8px 6px 14px; border-radius: 999px; }
  .lift-display { margin: 0; display: flex; align-items: center; gap: 6px; min-width: 0; }
  .lift-arrow, .lift-now { display: none; }
  .lift-now-name { display: block; font-family: var(--body); font-size: .8rem; font-weight: 600; color: var(--rose-deco); white-space: nowrap; max-width: 6.5rem; overflow: hidden; text-overflow: ellipsis; }
  .lift ol { display: flex; flex-direction: row-reverse; gap: 3px; }
  .lift-btn { width: 34px; height: 34px; font-size: .95rem; }
  .lift-name { display: none; }
  .home .site-foot, body:has(.lift) .site-foot { padding-bottom: 96px; }
}
@media (max-width: 389.98px) { .lift-now-name { display: none; } .lift { padding-left: 8px; } }

@media (min-width: 1300px) { body:has(.lift) .container { max-width: 1160px; } }

/* ---- floors (home sections) */
.floor, .section { padding: clamp(64px, 8vw, 116px) 0; position: relative; }
.band-lav { background: var(--lav); }
.band-purple { background: var(--ink); color: var(--ground); }
.band-purple a { color: var(--ground); text-decoration-color: var(--rose-deco); }
.band-purple a:hover, .site-foot a:hover { color: var(--rose-deco); }
.band-purple .lead, .band-purple p { color: var(--mist); }
.band-purple h2, .band-purple h3 { color: var(--ground); }
.floor-mark { display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; margin-right: .45em; vertical-align: .1em; border-radius: 50%; border: 1.5px solid var(--rose); color: var(--rose-ink); font-size: .62em; line-height: 1; }
.band-purple .floor-mark { color: var(--rose-deco); border-color: var(--rose-deco); }
.floor-kicker { display: flex; align-items: center; font-family: var(--display); font-size: 1.15rem; color: var(--rose-ink); margin-bottom: 1.5rem; }
.floor-kicker .floor-mark { font-size: 1.1rem; width: 2rem; height: 2rem; }

/* ---- hero: the tower */
.hero { padding: clamp(28px, 5vw, 72px) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.hero-place { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; color: var(--rose-ink); margin-bottom: 1.25rem; }
.hero h1 { max-width: 12ch; }
.hero-hi { font-size: 1.3rem; }
.hero .lead { max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1.1rem; }
.hero-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.hero-links a { display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; min-height: 44px; }
.tower { position: relative; aspect-ratio: 520 / 720; width: 100%; max-width: min(520px, calc((100svh - 150px) * .7222)); margin-left: auto; }
.tw { position: absolute; margin: 0; padding: 6px; background: var(--ground); border: 1px solid var(--rose-deco); border-radius: 4px; box-shadow: 0 18px 40px -18px rgba(46, 26, 71, .45); will-change: transform; }
.tw img { width: 100%; height: 100%; object-fit: cover; border-radius: 1px; }
.tw-3 { left: 6%; top: 0; width: 40%; aspect-ratio: 4 / 5; z-index: 3; }
.tw-2 { left: 30%; top: 27.8%; width: 66%; aspect-ratio: 4 / 3; z-index: 2; }
.tw-1 { left: 0; top: 53.5%; width: 86%; aspect-ratio: 4 / 3; z-index: 1; }
.tower-rule { position: absolute; right: 0; top: 2%; bottom: 3%; width: 2px; display: flex; flex-direction: column; justify-content: space-between; }
.tower-rule::before { content: ""; position: absolute; inset: 0; background: var(--rose-deco); }
.tower-rule span { position: relative; left: 10px; font-family: var(--display); color: var(--rose-ink); font-size: .95rem; line-height: 1; }
.tower-rule span::before { content: ""; position: absolute; left: -16px; top: 50%; width: 12px; height: 2px; background: var(--rose-deco); }
.tower-rule span:nth-child(1) { margin-top: 18%; } .tower-rule span:nth-child(3) { margin-bottom: 20%; }
@media (prefers-reduced-motion: no-preference) {
  .tower.is-ready .tw { animation: rise .9s var(--ease) both; }
  .tower.is-ready .tw-2 { animation-delay: .12s; }
  .tower.is-ready .tw-3 { animation-delay: .24s; }
  @keyframes rise { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }
}
.stock-note { font-size: .82rem; color: var(--muted); margin-top: .75rem; }
.band-purple .stock-note { color: var(--mist); }
@media (max-width: 575.98px) { .tower-rule { display: none; } }
@media (max-width: 991.98px) {
  .tower { margin: 1rem auto 0; max-width: 460px; }
  .hero h1 { max-width: 14ch; }
}

/* ---- photo frames */
.photo-frame { margin: 0; padding: 7px; border: 1px solid var(--rose-deco); border-radius: 4px; background: var(--ground); }
.photo-frame img { width: 100%; border-radius: 1px; }
.photo-frame.on-dark { background: transparent; border-color: rgba(212, 154, 122, .7); margin-top: 1.5rem; }
.photo-frame.small { max-width: 320px; margin-top: 1rem; }
.hero-photo { max-width: 420px; margin-left: auto; }

/* ---- directory board */
.directory { background: var(--ink); color: var(--ground); border-radius: var(--r-lg); padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--rose-deco); box-shadow: inset 0 0 0 6px var(--ink), inset 0 0 0 7px rgba(212, 154, 122, .5); }
.dir-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; font-family: var(--display); font-size: 1.35rem; color: var(--rose-deco); margin: .25rem .25rem 1rem; max-width: none; }
.dir-head span { font-family: var(--body); font-size: .85rem; color: var(--mist); align-self: center; }
.dir-list { list-style: none; margin: 0; padding: 0; }
.dir-row { display: grid; grid-template-columns: 28px 6.5rem minmax(0, 1fr); gap: .75rem; align-items: start; padding: .8rem .25rem; border-top: 1px solid rgba(201, 184, 221, .35); }
.dir-row.dir-t { border-top-style: dashed; }
.dir-mark { color: var(--rose-deco); padding-top: 2px; }
.dir-t .dir-mark { color: var(--mist); }
.dir-k { font-family: var(--display); font-size: 1.05rem; color: var(--ground); }
.dir-v { color: var(--ground); overflow-wrap: anywhere; }
.dir-t .dir-v { color: var(--mist); }
.dir-src { display: block; font-size: .85rem; color: var(--mist); margin-top: .15rem; }
.dir-key { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 1rem .25rem 0; font-size: .85rem; color: var(--mist); }
.dir-key span { display: inline-flex; align-items: center; gap: .35rem; }
.key-v .ic { color: var(--rose-deco); }
@media (max-width: 575.98px) { .dir-row { grid-template-columns: 24px minmax(0, 1fr); } .dir-v { grid-column: 2; } }

/* ---- placeholders */
.ph { border: 1.5px dashed var(--rose); border-radius: var(--r-sm); padding: 1rem 1.15rem; background: rgba(231, 221, 243, .35); color: var(--muted); max-width: none; }
.band-lav .ph { background: rgba(251, 247, 242, .6); }
.band-purple .ph { background: rgba(231, 221, 243, .08); border-color: var(--rose-deco); color: var(--mist); }
.ph-tag { display: block; font-weight: 600; font-size: .85rem; color: var(--rose-ink); margin-bottom: .2rem; }
.band-purple .ph-tag { color: var(--rose-deco); }

/* ---- growth chart */
.growth { position: relative; }
.gc-ruler { position: relative; height: 100%; min-height: 520px; padding: 1rem 0 1rem 0; border-radius: var(--r-lg); background: var(--lav); }
.gc-unit { position: absolute; left: 1.1rem; top: .6rem; margin: 0; font-size: .8rem; font-weight: 600; color: var(--muted); }
.gc-list { list-style: none; margin: 1.4rem 0 0; padding: 0 1rem 0 0; display: flex; flex-direction: column-reverse; height: calc(100% - 1.4rem); }
.gc-row { flex: 1; display: flex; }
.gc-hit { flex: 1; display: grid; grid-template-columns: 3rem 1fr auto; align-items: center; gap: .5rem; background: none; border: 0; padding: 0 0 0 .9rem; text-align: left; cursor: pointer; min-height: 30px; border-radius: 8px; }
.gc-hit:hover { background: rgba(46, 26, 71, .06); }
.gc-age { font-family: var(--display); font-size: 1.05rem; color: var(--muted); }
.gc-tick { height: 2px; background: var(--rose); opacity: .6; width: 40%; transition: width .3s var(--ease), opacity .3s; }
.gc-row:nth-child(odd) .gc-tick { width: 25%; }
.gc-cls { font-weight: 500; color: var(--muted); font-size: .95rem; padding-right: .25rem; }
.gc-row.is-on .gc-age, .gc-row.is-on .gc-cls { color: var(--ink); font-weight: 600; }
.gc-row.is-on .gc-tick { width: 100%; opacity: 1; background: var(--ink); }
.gc-row.is-below .gc-tick { opacity: 1; background: var(--rose); }
.gc-marker { position: absolute; left: 0; right: 0; height: 0; pointer-events: none; transition: top .45s var(--ease); }
.gc-flag { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--rose-deco); border: 3px solid var(--ink); }
.gc-panel { height: 100%; display: flex; flex-direction: column; justify-content: center; }
.gc-title { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
.gc-label { display: block; font-weight: 600; margin: 1rem 0 .5rem; }
.gc-control { display: flex; align-items: center; gap: .75rem; max-width: 30rem; }
.gc-step { width: 48px; height: 48px; flex: none; border-radius: 50%; border: 1.5px solid var(--ink); background: transparent; display: grid; place-items: center; cursor: pointer; }
.gc-step:hover { background: var(--lav); }
.gc-control input[type="range"] { flex: 1; min-width: 0; accent-color: var(--ink); height: 44px; }
.gc-readout { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .8rem; margin: 1.25rem 0; font-family: var(--display); }
.gc-r-age { font-size: 1.4rem; color: var(--rose-ink); }
.gc-r-cls { font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.05; }
.gc-ask { align-self: flex-start; }
.gc-note { font-size: .95rem; color: var(--muted); margin-top: 1.25rem; }
@media (max-width: 767.98px) {
  .gc-ruler { min-height: 460px; }
  .growth .row { flex-direction: column-reverse; }
}

/* ---- levels (admissions) */
.levels { position: relative; padding-left: 64px; }
.lv-shaft { position: absolute; left: 18px; top: 8px; bottom: 8px; width: 28px; border-left: 1.5px solid var(--rose-deco); border-right: 1.5px solid var(--rose-deco); opacity: .9; }
.lv-car { position: absolute; left: 1px; width: 23px; height: 30px; border-radius: 5px; background: var(--rose-deco); transition: top .5s var(--ease); top: 0; }
.lv-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column-reverse; gap: .6rem; }
.lv { border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--ground); }
.band-purple .lv { background: rgba(251, 247, 242, .04); border-color: rgba(201, 184, 221, .3); }
.lv.is-open { border-color: var(--rose); }
.band-purple .lv.is-open { border-color: var(--rose-deco); }
.lv-h { margin: 0; font-size: 1.3rem; }
.lv-btn { width: 100%; display: flex; align-items: center; gap: .9rem; padding: .85rem 1rem; min-height: 60px; background: none; border: 0; text-align: left; cursor: pointer; font-family: var(--display); font-size: 1.3rem; color: inherit; border-radius: var(--r-sm); }
.lv-num { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--rose); color: var(--rose-ink); font-size: 1.05rem; }
.band-purple .lv-num { border-color: var(--rose-deco); color: var(--rose-deco); }
.lv.is-open .lv-num { background: var(--ink); color: var(--ground); border-color: var(--ink); }
.band-purple .lv.is-open .lv-num { background: var(--rose-deco); color: var(--ink); border-color: var(--rose-deco); }
.lv-p { padding: 0 1rem 1.1rem calc(1rem + 36px + .9rem); }
.lv-p p { margin-bottom: .75rem; }
.lv-next { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; padding: 0; background: none; border: 0; font-weight: 600; color: inherit; text-decoration: underline; text-decoration-color: var(--rose); text-underline-offset: 3px; cursor: pointer; }
.band-purple .lv-next { text-decoration-color: var(--rose-deco); }
.lv-note { font-size: .92rem; color: var(--muted); margin-top: 1rem; padding-left: 64px; }
.band-purple .lv-note { color: var(--mist); }
@media (max-width: 575.98px) { .levels { padding-left: 44px; } .lv-shaft { left: 6px; } .lv-note { padding-left: 0; } .lv-p { padding-left: 1rem; } }

/* ---- school life */
.facts-inline { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .6rem; }
.facts-inline li { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .7rem; font-weight: 600; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.facts-inline .ic { color: var(--rose-ink); }
.facts-inline span { font-weight: 400; font-size: .88rem; color: var(--muted); }

/* ---- voices */
.voices-empty { position: relative; padding: 2rem 0 0 4rem; }
.ve-quote { position: absolute; left: 0; top: -.3rem; font-family: var(--display); font-size: 6rem; line-height: 1; color: var(--rose); margin: 0; }

/* ---- roof (visit + form) */
.contact-rows { list-style: none; margin: 1.5rem 0; padding: 0; }
.contact-rows li { display: flex; gap: 1rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.band-purple .contact-rows li { border-color: rgba(201, 184, 221, .3); }
.contact-rows .ic { margin-top: .25rem; color: var(--rose-ink); }
.band-purple .contact-rows .ic { color: var(--rose-deco); }
.cr-k { font-weight: 600; margin: 0 0 .1rem; }
.contact-rows a { display: inline-block; min-height: 32px; font-weight: 500; }
.roof-note { font-size: .95rem; }

@media (min-width: 768px) { .order-md-1 { order: 1; } .order-md-2 { order: 2; } }
/* numerals: Marcellus figures read as letters (1 like I), so numbers use Hanken */
.lift-btn, .lift-now, .floor-mark, .gc-age, .lv-num, .tower-rule span, .stage-level, .gc-r-age { font-family: var(--body); font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }

/* ---- form */
.enquiry { background: var(--ground); color: var(--ink); border-radius: var(--r-lg); padding: clamp(1.25rem, 3.5vw, 2.25rem); border: 1px solid var(--line); }
.enquiry.on-dark { border-color: var(--rose-deco); }
.form-h { font-size: 1.75rem; margin-bottom: .25rem; }
.form-sub { color: var(--muted); font-size: .95rem; }
.enquiry .form-sub, .band-purple .enquiry p.form-sub, .band-purple .enquiry .hint { color: var(--muted); }
.band-purple .enquiry .form-h { color: var(--ink); }
.band-purple .enquiry .err { color: var(--error); }
.band-purple .enquiry .form-status.ok { color: #23613a; }
.band-purple .enquiry .form-status.bad { color: var(--error); }
.field { margin-bottom: 1rem; }
.field-pair { display: grid; grid-template-columns: 1fr; gap: 0 1rem; }
@media (min-width: 576px) { .field-pair { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-weight: 600; margin-bottom: .3rem; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: .7rem .9rem; border: 1.5px solid rgba(46, 26, 71, .35); border-radius: var(--r-sm); background: #fff; color: var(--ink); caret-color: var(--rose-ink); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--lav); outline-offset: 0; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--error); }
.hint { font-size: .85rem; color: var(--muted); margin: .3rem 0 0; }
.err { font-size: .9rem; color: var(--error); margin: .3rem 0 0; font-weight: 500; }
.err:empty { display: none; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.enquiry .btn-send { width: 100%; min-height: 56px; margin-top: .5rem; background: var(--ink); color: var(--ground); }
.enquiry .btn-send:hover { background: #45296a; color: var(--ground); }
.btn-send[aria-busy="true"] { opacity: .75; cursor: progress; }
.form-status { margin: 1rem 0 0; font-weight: 500; }
.form-status.ok { color: #23613a; }
.form-status.bad { color: var(--error); }

/* ---- inner page hero */
.page-hero { padding: clamp(28px, 4vw, 56px) 0 clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); position: relative; }
.page-hero::before { content: ""; position: absolute; left: max(12px, calc((100vw - 1320px) / 2)); top: 0; bottom: 0; width: 2px; background: linear-gradient(var(--rose-deco), var(--rose-deco)) top / 2px 60% no-repeat; opacity: .8; }
.page-hero h1 { max-width: 16ch; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem; margin: 0 0 1.5rem; padding: 0; font-size: .92rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--rose); }
.crumbs a { color: var(--muted); }
.section-lead { color: var(--muted); max-width: 60ch; }
.mt-h { margin-top: 2.5rem; }

/* ---- about */
.principal { border: 1px solid var(--rose-deco); border-radius: var(--r-lg); padding: 1.5rem; background: var(--ground); }
.principal-photo { width: 120px; height: 150px; border: 1.5px dashed var(--rose); border-radius: 60px 60px 8px 8px; display: grid; place-items: center; color: var(--muted); font-size: .85rem; margin-bottom: 1.25rem; }
.principal-h { font-size: 1.6rem; }

/* ---- academics: stages */
.stages { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 0; }
.stage { padding: 2rem 0; border-top: 1px solid rgba(46, 26, 71, .2); }
.stage-level { font-family: var(--display); color: var(--rose-ink); margin: 0 0 .25rem; }
.stage-meta { font-weight: 600; }
.stage-meta span { font-weight: 400; color: var(--muted); margin-left: .5rem; }
.stage-tbc { font-size: .95rem; color: var(--muted); border-left: 2px dashed var(--rose); padding-left: .8rem; }
.stage-blank { aspect-ratio: 4 / 3; border: 1.5px dashed var(--rose); border-radius: 4px; display: grid; place-items: center; color: var(--muted); background: rgba(251, 247, 242, .5); }

/* ---- admissions */
.aside-call { padding: 1rem 1.1rem; background: var(--lav); border-radius: var(--r-sm); }
.docs { list-style: none; margin: 1.25rem 0 1.5rem; padding: 0; columns: 2 260px; column-gap: 2rem; }
.docs li { display: flex; gap: .8rem; padding: .7rem 0; break-inside: avoid; border-bottom: 1px solid rgba(46, 26, 71, .15); }
.docs li > span:last-child span { display: block; font-size: .9rem; color: var(--muted); }
.doc-box { flex: none; width: 20px; height: 20px; margin-top: 3px; border: 1.5px solid var(--ink); border-radius: 4px; }
.age-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; background: var(--ground); border-radius: var(--r-sm); overflow: hidden; }
.age-table th, .age-table td { text-align: left; padding: .5rem 1rem; border-bottom: 1px solid var(--line); }
.age-table th { font-family: var(--display); font-weight: 400; font-size: 1.05rem; background: var(--ink); color: var(--ground); }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 56px; padding: .8rem 0; cursor: pointer; font-weight: 600; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ic { transition: transform .25s; color: var(--rose-ink); }
.faq-item[open] summary .ic { transform: rotate(180deg); }
.faq-item p { color: var(--muted); }

/* ---- campus life */
.facts-stack { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.facts-stack li { display: flex; gap: 1rem; padding: 1.1rem; border: 1px solid var(--rose-deco); border-radius: var(--r-sm); }
.facts-stack .ic { color: var(--rose-ink); }
.facts-stack h3 { font-size: 1.2rem; margin-bottom: .2rem; }
.facts-stack p { margin: 0; color: var(--muted); font-size: .95rem; }
.expect { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 0 2rem; }
.exp { padding: 1rem 0; border-top: 1.5px dashed var(--rose); }
.exp h3 { font-size: 1.2rem; margin-bottom: .25rem; }
.exp p { margin: 0; color: var(--muted); font-size: .95rem; }
.exp .exp-tbc { margin-top: .35rem; font-size: .82rem; font-weight: 600; color: var(--rose-ink); }
.gallery { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(140px, 30vw, 260px); grid-auto-flow: dense; gap: .75rem; }
@media (min-width: 992px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(180px, 17vw, 250px); } }
.g-tall { grid-row: span 2; }
.g-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 4px; 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); }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1000px, 94vw); width: 100%; color: var(--ground); }
.lightbox::backdrop { background: rgba(26, 14, 41, .88); }
.lb-img { width: 100%; height: auto; max-height: 78vh; object-fit: contain; border-radius: 4px; background: #000; }
.lb-cap { margin: .75rem 0 0; color: var(--ground); }
.lb-close { position: absolute; top: 8px; right: 8px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--ground); color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.lb-nav { display: flex; gap: .5rem; justify-content: center; margin-top: .5rem; }
.lb-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--rose-deco); background: transparent; color: var(--ground); display: grid; place-items: center; cursor: pointer; }
.lb-prev .ic { transform: rotate(90deg); } .lb-next .ic { transform: rotate(90deg); }
.notices { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 1rem; }
.notices li { padding: 1.25rem; border: 1.5px dashed var(--rose); border-radius: var(--r-sm); position: relative; }
.nt-tag { display: inline-block; font-size: .8rem; font-weight: 600; background: var(--lav); color: var(--ink); padding: .15rem .6rem; border-radius: 999px; }
.notices h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.notices p:last-child { margin: 0; color: var(--muted); }

/* ---- contact */
.hours-h { margin-top: 1.5rem; font-size: 1.3rem; }
.map-box { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
.map-frame { aspect-ratio: 4 / 3; border-radius: var(--r-lg); background: var(--lav); display: grid; place-items: center; overflow: hidden; border: 1px solid var(--rose-deco); }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.map-card { padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--r-sm); }
.map-name { font-family: var(--display); font-size: 1.3rem; margin-bottom: .2rem; }
.map-plus { color: var(--muted); font-size: .92rem; }

/* ---- prose / simple pages */
.prose h2 { font-size: 1.6rem; margin-top: 2rem; }
.list-404 { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; padding: 0; list-style: none; }
.list-404 a { font-weight: 600; }

/* ---- footer */
.site-foot { background: #24133A; color: var(--mist); padding: 64px 0 36px; }
.site-foot a { color: var(--ground); text-decoration-color: var(--rose-deco); }
.foot-logo { height: 64px; width: auto; }
.foot-hi { margin: .75rem 0 .25rem; color: var(--rose-deco); }
.foot-addr { max-width: 30ch; }
.foot-h { font-family: var(--display); color: var(--ground); font-size: 1.2rem; margin-bottom: .5rem; }
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links a { display: inline-block; padding: .3rem 0; min-height: 36px; }
.foot-notes { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(201, 184, 221, .25); font-size: .88rem; }
.foot-notes p { max-width: none; margin-bottom: .4rem; }

/* ---- print: the documents checklist */
@media print {
  .site-head, .sheet, .sheet-scrim, .lift, .site-foot, .page-hero, .section:not(#documents), .print-btn, .skip { display: none !important; }
  body { background: #fff; color: #000; }
  #documents { background: #fff; padding: 0; }
  #documents .col-lg-5 { display: none; }
  #documents .col-lg-7 { width: 100%; }
  .docs { columns: 1; }
  #documents::before { content: "Royal Heights Public School: documents commonly asked for (confirm with the school). Phone 98276 36114"; display: block; font-weight: 600; margin-bottom: 1rem; }
}

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