/* Navodaya Convent School — "Planned with care": an architect's blueprint drawing set.
   Blueprint blue bands with a white grid, paper reading sheets, ink lines, one drafting yellow. */
:root {
  --bp: #163A6B;
  --bp-deep: #102C54;
  --paper: #F5F7FA;
  --white: #FFFFFF;
  --ink: #0F1B2D;
  --ink-2: #364559;
  --rule: #C3CEDC;
  --grid: #E3E9F1;
  --yellow: #FFC93C;
  --on-bp: #FFFFFF;
  --on-bp-2: #CFDDF0;
  --line-bp: rgba(255, 255, 255, .55);
  --err: #B3261E;
  --ok: #1B7A45;
  --mono: "Martian Mono", ui-monospace, Menlo, monospace;
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --head-h: 68px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: calc(var(--head-h) + 16px); -webkit-text-size-adjust: 100%; scrollbar-color: var(--bp) var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); font-variant-numeric: lining-nums; }
::selection { background: var(--yellow); color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--bp); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .6em; text-wrap: balance; letter-spacing: -.015em; }
p { margin: 0 0 1em; text-wrap: pretty; }
input, select, textarea, button { font: inherit; color: inherit; caret-color: var(--bp); }
:focus-visible { outline: 3px solid var(--bp); outline-offset: 3px; }
.bp :focus-visible, .ft :focus-visible, .panel :focus-visible { outline-color: var(--yellow); }
.vh { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--ink); padding: .7rem 1rem; font-weight: 700; }
.skip:focus { top: 12px; }
main:focus { outline: none; }
.ic { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- surfaces */
.bp {
  background-color: var(--bp);
  background-image:
    linear-gradient(rgba(255,255,255,.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.11) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  background-position: -1px -1px;
  color: var(--on-bp);
}
.bp a:not(.btn) { color: var(--on-bp); }
.paper { background: var(--paper); }
.grid-paper {
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
}
.sec { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
.mt { margin-top: 2.5rem; }
.lead-s { font-size: 1.125rem; color: var(--ink-2); max-width: 60ch; }
.bp .lead-s { color: var(--on-bp-2); }
.narrow { max-width: 56ch; }
.small-note { font-size: .9375rem; color: var(--ink-2); max-width: 62ch; }
.bp .small-note { color: var(--on-bp-2); }
.stock { font-family: var(--mono); font-size: .75rem; color: var(--ink-2); margin: 0 0 1rem; }

/* ---------- buttons */
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0; }
.btn {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 50px; padding: .6rem 1.15rem;
  border: 1.5px solid currentColor; border-radius: 2px; font-weight: 500; text-decoration: none; line-height: 1.2;
  cursor: pointer; background: transparent; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-yellow { background: var(--yellow); border-color: var(--yellow); color: var(--ink) !important; }
.btn-yellow:hover { background: #FFD666; border-color: #FFD666; }
.paper .btn-yellow, .enq .btn-yellow { border-color: var(--ink); }
.btn-blue { background: var(--bp); border-color: var(--bp); color: var(--white) !important; }
.btn-blue:hover { background: var(--bp-deep); border-color: var(--bp-deep); }
.btn-line { color: var(--ink) !important; border-color: var(--ink); }
.btn-line:hover { background: var(--white); }
.btn-ghost { color: var(--on-bp) !important; border-color: var(--line-bp); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.tlink { font-weight: 500; }

/* ---------- title block header */
.tb { position: sticky; top: 0; z-index: 50; background: var(--paper); border-bottom: 1px solid var(--ink); }
.tb-row { display: flex; align-items: stretch; min-height: var(--head-h); max-width: 1440px; margin: 0 auto; }
.tb-row > * { border-left: 1px solid var(--ink); }
.tb-row > :first-child { border-left: 0; }
.tb-brand { display: flex; align-items: center; gap: .7rem; padding: .5rem 1rem; text-decoration: none; color: var(--ink); min-width: 0; flex: 0 1 auto; }
.tb-brand img { width: 40px; height: 40px; flex: none; }
.tb-name { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.tb-school { font-weight: 700; font-size: 1rem; letter-spacing: -.01em; }
.tb-sub { font-size: .8125rem; color: var(--ink-2); }
.tb-sheet { display: none; flex-direction: column; justify-content: center; padding: .4rem 1rem; min-width: 8.5rem; }
.tb-k { font-family: var(--mono); font-size: .75rem; color: var(--ink-2); }
.tb-v { font-weight: 700; font-size: .95rem; }
.tb-nav { display: none; flex: 1 1 auto; }
.tb-nav ul { display: flex; height: 100%; margin: 0; padding: 0; list-style: none; }
.tb-nav li { display: flex; flex: 1 1 auto; }
.tb-nav li + li { border-left: 1px solid var(--rule); }
.tb-nav a { display: flex; align-items: center; justify-content: center; width: 100%; padding: 0 .9rem; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .9375rem; position: relative; white-space: nowrap; }
.tb-nav a::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: 12px; height: 2px; background: var(--bp); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.tb-nav a:hover::after { transform: scaleX(1); }
.tb-nav a[aria-current="page"] { background: var(--bp); color: var(--white); }
.tb-nav a[aria-current="page"]::after { display: none; }
.tb-call { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: 0 1rem; color: var(--ink); text-decoration: none; font-family: var(--mono); font-size: .8125rem; margin-left: auto; min-width: 56px; }
.tb-call-n { display: none; }
.tb-enq { display: none; align-items: center; padding: 0 1.25rem; background: var(--yellow); color: var(--ink); text-decoration: none; font-weight: 700; }
.tb-enq:hover { background: #FFD666; }
.tb-menu { display: flex; align-items: center; gap: .45rem; padding: 0 1rem; border: 0; border-left: 1px solid var(--ink); background: var(--bp); color: var(--white); font-weight: 500; cursor: pointer; min-width: 56px; }
@media (max-width: 400px) {
  .tb-brand { padding: .5rem .7rem; gap: .5rem; }
  .tb-brand img { width: 34px; height: 34px; }
  .tb-school { font-size: .875rem; }
  .tb-sub { font-size: .75rem; }
  .tb-menu { padding: 0 .75rem; }
  .tb-call { padding: 0 .75rem; min-width: 48px; }
}
@media (min-width: 560px) { .tb-call-n { display: inline; } }
@media (min-width: 768px) { .tb-sheet { display: flex; } }
@media (min-width: 1200px) {
  .tb-nav { display: block; }
  .tb-menu { display: none; }
  .tb-enq { display: flex; }
  .tb-call { margin-left: 0; }
  .tb-sheet { display: none; }
}
@media (min-width: 1360px) { .tb-sheet { display: flex; } }

/* slide-in panel (phones and tablets) */
.panel { position: fixed; inset: 0; z-index: 80; background: rgba(15,27,45,.45); }
.panel[hidden] { display: none; }
.panel-in {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); overflow-y: auto; padding: 1rem 1.25rem 2rem;
  background-color: var(--bp); color: var(--on-bp);
  background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 24px 24px; animation: slide-in .35s var(--ease);
}
@keyframes slide-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.panel-top { display: flex; align-items: center; justify-content: space-between; padding-bottom: .75rem; border-bottom: 1px solid var(--line-bp); }
.panel-k { font-family: var(--mono); font-size: .75rem; color: var(--on-bp-2); }
.panel-close { display: inline-flex; align-items: center; gap: .4rem; min-height: 48px; padding: 0 .9rem; background: transparent; border: 1.5px solid var(--line-bp); color: var(--white); border-radius: 2px; cursor: pointer; }
.panel-list { list-style: none; margin: 0; padding: 0; }
.panel-list li { border-bottom: 1px solid var(--line-bp); }
.panel-list a { display: flex; align-items: center; gap: 1rem; min-height: 60px; color: var(--white); text-decoration: none; font-size: 1.375rem; font-weight: 500; }
.panel-list a[aria-current="page"] { font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .3em; }
.panel-list a[aria-current="page"] .pl-n { background: var(--white); color: var(--bp); }
.pl-n { font-family: var(--mono); font-size: .8125rem; width: 2rem; height: 2rem; display: inline-grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; flex: none; }
.panel-act { display: grid; gap: .75rem; margin-top: 1.5rem; }
.panel-act .btn { justify-content: center; }
.panel-note { margin-top: 1.25rem; font-family: var(--mono); font-size: .75rem; color: var(--on-bp-2); }

/* ---------- hero */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero-h { font-size: clamp(2.2rem, 5.2vw, 4rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.04; margin-bottom: .45em; max-width: 14ch; }
.hero-hi { font-size: 1.1875rem; color: var(--on-bp-2); margin-bottom: .9rem; }
.hero-lead { font-size: 1.125rem; color: var(--on-bp-2); max-width: 46ch; }
.status { display: block; font-size: .9375rem; margin: .25rem 0 0; }
.status-dot { display: inline-block; width: 10px; height: 10px; margin-right: .5rem; vertical-align: .02em; border-radius: 50%; background: var(--ink-2); }
.status.is-open .status-dot { background: #2FBF71; box-shadow: 0 0 0 4px rgba(47,191,113,.22); }
.status-src { margin-left: .35rem; white-space: nowrap; font-family: var(--mono); font-size: .75rem; color: var(--ink-2); }
.status.on-bp .status-src { color: var(--on-bp-2); }
.status.on-bp .status-dot { background: var(--on-bp-2); }
.status.on-bp.is-open .status-dot { background: #46D98A; }

.hero-draw { position: relative; }
.elev { width: 100%; height: auto; overflow: visible; }
.elev .ln path, .elev .ln circle { fill: none; stroke: var(--white); stroke-width: 1.6; stroke-linecap: square; }
.elev .ln .thin, .elev .thin { stroke-width: 1; opacity: .7; }
.elev .part path, .elev .part circle { transition: stroke .25s var(--ease), stroke-width .25s var(--ease); }
.elev .part.is-on path, .elev .part.is-on circle { stroke: var(--yellow); stroke-width: 3; }
.elev .dim path { fill: none; stroke: var(--white); stroke-width: 1.2; }
.elev .ah { fill: var(--white); }
.elev .hl { stroke: rgba(255,255,255,.5); stroke-width: 1.5; }
.elev .ln .hatch-f { fill: url(#roofhatch); }
.elev .lead path { fill: none; stroke: var(--on-bp-2); stroke-width: 1; }
.elev .lead circle { fill: var(--bp); stroke: var(--white); stroke-width: 1.5; }
.elev .lead text { fill: var(--white); font: 500 16px var(--mono); }
.elev .lbl text { fill: var(--on-bp-2); font: 400 13px var(--mono); }
.elev .draw { stroke-dasharray: 420; stroke-dashoffset: 0; animation: draw 1.4s .25s var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: 420; } to { stroke-dashoffset: 0; } }
.print { position: absolute; left: 0; top: 0; width: 30%; margin: 0; background: var(--white); padding: 6px 6px 22px; transform: rotate(-3deg); box-shadow: 0 10px 24px rgba(5,15,35,.35); }
.print::before { content: ""; position: absolute; top: -10px; left: 50%; width: 46%; height: 20px; transform: translateX(-50%) rotate(2deg); background: rgba(255,201,60,.82); }
.print img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.print figcaption { position: absolute; left: 8px; bottom: 4px; white-space: nowrap; font: 400 .75rem var(--mono); color: var(--ink-2); }
.callouts { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-bp); }
.co + .co { border-left: 1px solid var(--line-bp); }
.co-b { display: flex; align-items: flex-start; gap: .6rem; width: 100%; height: 100%; padding: .7rem .8rem; background: transparent; border: 0; color: var(--white); text-align: left; cursor: pointer; transition: background-color .2s var(--ease); }
.co-b:hover, .co-b[aria-pressed="true"] { background: rgba(255,201,60,.14); }
.co-t { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.co-n { flex: none; width: 1.6rem; height: 1.6rem; display: grid; place-items: center; border: 1.5px solid var(--white); border-radius: 50%; font: 500 .75rem var(--mono); }
.co-b[aria-pressed="true"] .co-n { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.co-k { font: 400 .75rem var(--mono); color: var(--on-bp-2); }
.co-v { font-weight: 700; font-size: .975rem; line-height: 1.25; }
.co-s { font: 400 .75rem var(--mono); color: var(--on-bp-2); }
.co.is-tbc .co-b { outline: 1px dashed var(--yellow); outline-offset: -5px; }
.co.is-tbc .co-v { color: var(--yellow); }
@media (max-width: 575.98px) {
  .callouts { grid-template-columns: 1fr; }
  .co + .co { border-left: 0; border-top: 1px solid var(--line-bp); }
  .print { width: 34%; }
  .elev .lbl { display: none; }
}

.tband { margin-top: 1rem; max-width: 420px; font: 400 .75rem var(--mono); color: var(--on-bp-2); }
.tband-r { display: grid; grid-template-columns: 4.5rem 1fr; align-items: center; gap: .5rem; height: 22px; }
.tband-t { position: relative; height: 10px; border-left: 1px solid var(--line-bp); border-right: 1px solid var(--line-bp); background: linear-gradient(var(--line-bp), var(--line-bp)) 0 50% / 100% 1px no-repeat; }
.tband-bar { position: absolute; top: 1px; bottom: 1px; background: var(--on-bp-2); }
.tband-r.is-today .tband-bar { background: var(--yellow); }
.tband-r.is-today .tband-l { color: var(--white); font-weight: 500; }
.tband-now { position: absolute; top: -5px; bottom: -5px; width: 2px; background: var(--white); }
.tband-ticks { border: 0; background: none; height: 14px; }
.tband-ticks span { position: absolute; transform: translateX(-50%); top: 0; line-height: 1; }

/* ---------- dimension facts */
.key { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; font-family: var(--mono); font-size: .75rem; color: var(--ink-2); }
.key-solid, .key-dash { display: inline-block; width: 32px; height: 0; border-top: 1.5px solid var(--ink); }
.key-dash { border-top-style: dashed; }
.key-i { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; margin-right: 1rem; }
.dims { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.dm { display: grid; grid-template-columns: 1fr; gap: .2rem; padding: 1rem 0 1.1rem; border-bottom: 1px solid var(--rule); }
.dm-k { font-family: var(--mono); font-size: .75rem; color: var(--ink-2); }
.dm-v { font-size: 1.0625rem; font-weight: 500; order: 3; }
.dm-s { font-family: var(--mono); font-size: .75rem; color: var(--ink-2); order: 4; }
.dm-line { order: 2; position: relative; height: 10px; margin: .2rem 0 .25rem; }
.dm-line::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; border-top: 1.5px solid var(--ink); }
.dm-line::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; border-left: 1.5px solid var(--ink); border-right: 1.5px solid var(--ink); }
.dm.is-tbc .dm-line::before { border-top-style: dashed; border-top-color: var(--ink-2); }
.dm.is-tbc .dm-v { color: var(--ink-2); font-weight: 400; }
.dm-tag { display: inline-block; margin-right: .5rem; padding: .1rem .4rem; font: 500 .75rem/1.4 var(--mono); background: var(--yellow); color: var(--ink); border: 1px dashed var(--ink); vertical-align: .1em; }
@media (min-width: 768px) {
  .dm { grid-template-columns: 11rem 1fr; column-gap: 1.5rem; }
  .dm-k { grid-row: 1 / span 3; padding-top: .3rem; }
  .dm-line, .dm-v, .dm-s { grid-column: 2; }
}

/* ---------- TBC placeholders */
.tbc { margin: 0 0 1.5rem; padding: 1rem 1.1rem; border: 1.5px dashed var(--ink-2); background: var(--white); color: var(--ink-2); max-width: 62ch; }
.tbc-tag { display: block; font: 500 .75rem var(--mono); color: var(--ink); margin-bottom: .3rem; }
.tbc-tag::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: .45rem; background: var(--yellow); border: 1px solid var(--ink); vertical-align: 0; }
.bp .tbc { background: transparent; border-color: var(--line-bp); color: var(--on-bp-2); }

/* ---------- drawing notes (admission sequence) */
.notes-h { font: 500 .8125rem var(--mono); margin-bottom: .5rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line-bp); color: var(--on-bp-2); }
.notes-h.on-paper { color: var(--ink-2); border-bottom-color: var(--ink); }
.notes { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.notes li { display: grid; grid-template-columns: 2.75rem 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line-bp); }
.notes.on-paper li { border-bottom-color: var(--rule); }
.nt-n { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border: 1.5px solid var(--white); border-radius: 50%; font: 500 .9375rem var(--mono); color: var(--white); }
.notes.on-paper .nt-n { border-color: var(--bp); color: var(--bp); }
.notes h3 { font-size: 1.1875rem; margin: .35rem 0 .3rem; }
.notes p { margin: 0; color: var(--on-bp-2); max-width: 60ch; }
.notes.on-paper p { color: var(--ink-2); }

/* ---------- stages table */
.stages { width: 100%; border-collapse: collapse; margin: 1rem 0 1.25rem; font-size: 1rem; background: var(--white); border: 1px solid var(--ink); }
.stages th, .stages td { text-align: left; padding: .75rem .9rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.stages thead th { font: 500 .75rem var(--mono); color: var(--ink-2); border-bottom: 1px solid var(--ink); background: var(--paper); }
.stages tbody th { font-weight: 700; }
.ages td { font-family: var(--mono); font-size: .875rem; font-variant-numeric: tabular-nums; }

.framed { margin: 0; padding: 8px; background: var(--white); border: 1px solid var(--ink); position: relative; }
.framed img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.framed figcaption { font: 400 .75rem var(--mono); color: var(--ink-2); padding-top: .5rem; }
.framed + .tbc { margin-top: 1.5rem; }
.framed-tall { margin-top: 2rem; max-width: 300px; }
.framed-tall img { aspect-ratio: 3 / 4; }
@media (max-width: 991.98px) { .d-none-sm { display: none; } }

/* ---------- plan your visit */
.plan { margin-top: 2rem; }
.plan-fig { margin: 0; height: 100%; display: flex; flex-direction: column; }
.plan-draw { position: relative; background: var(--white); border: 1px solid var(--ink); padding: 12px; }
.plan-svg { width: 100%; height: auto; display: block; }
.plan-svg .road { fill: none; stroke: var(--ink); stroke-width: 18; opacity: .1; }
.plan-svg .plot { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 10 5 2 5; }
.plan-svg .bldg { fill: url(#hatch); }
.plan-svg .hatch { stroke: var(--rule); stroke-width: 2; }
.plan-svg .bldg-f { fill: none; stroke: var(--ink); stroke-width: 2; }
.plan-svg .yard { fill: none; stroke: var(--ink-2); stroke-width: 1; stroke-dasharray: 4 4; }
.plan-svg .gate { stroke: var(--ink); stroke-width: 3; }
.plan-svg .route { fill: none; stroke: var(--bp); stroke-width: 2; stroke-dasharray: 2 6; stroke-linecap: round; }
.plan-svg .pl-lbl { font: 400 12px var(--mono); fill: var(--ink-2); }
.north-ar { position: absolute; right: 14px; bottom: 14px; width: 26px; }
.north-ar path { fill: var(--ink); }
.north-ar text { font: 500 11px var(--mono); fill: var(--ink); }
.pin { position: absolute; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--white); color: var(--ink); cursor: pointer; display: grid; place-items: center; padding: 0; transition: background-color .2s var(--ease), transform .2s var(--ease); }
.pin:hover { transform: translate(-50%, -50%) scale(1.06); }
.pin[aria-pressed="true"] { background: var(--yellow); }
.pin-n { font: 500 .875rem var(--mono); }
.plan-fig figcaption { font: 400 .75rem/1.5 var(--mono); color: var(--ink-2); padding-top: .6rem; }
.plan-stops { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.plan-stops li { border-bottom: 1px solid var(--rule); }
.plan-stops button { display: flex; align-items: center; gap: .9rem; width: 100%; min-height: 52px; padding: .4rem .25rem; background: transparent; border: 0; text-align: left; font-weight: 500; cursor: pointer; }
.plan-stops button:hover { background: var(--white); }
.plan-stops button[aria-pressed="true"] { background: var(--white); }
.plan-stops button[aria-pressed="true"] .pl-n { background: var(--yellow); border-color: var(--ink); }
.plan-panel { margin-top: 1.25rem; min-height: 9rem; padding: 1rem 1.1rem; background: var(--white); border: 1px solid var(--ink); }
.plan-panel h3 { font-size: 1.125rem; margin-bottom: .4rem; }
.plan-panel p { margin: 0; color: var(--ink-2); }

/* ---------- notices, voices */
.notices { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.notices li { padding: 1rem 1.1rem; border: 1.5px dashed var(--ink-2); background: var(--white); }
.notices h3 { font-size: 1.125rem; margin: .4rem 0 .25rem; }
.notices p { margin: 0; color: var(--ink-2); }
.nc-tag { font: 500 .75rem var(--mono); color: var(--ink); background: var(--yellow); padding: .1rem .4rem; }
.notices.on-bp { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.notices.on-bp li { background: transparent; border-color: var(--line-bp); }
.notices.on-bp p { color: var(--on-bp-2); }

/* ---------- inner page heads */
.ph { padding: clamp(2.5rem, 6vw, 4.5rem) 0 2.25rem; }
.ph-h { font-size: clamp(2.2rem, 5vw, 3.75rem); font-weight: 700; letter-spacing: -.03em; margin-bottom: .25em; }
.ph-hi { color: var(--on-bp-2); font-size: 1.1875rem; margin-bottom: .5rem; }
.ph-sub { color: var(--on-bp-2); font-size: 1.125rem; max-width: 56ch; }
.scalebar { display: flex; align-items: center; margin-top: 1.5rem; }
.scalebar span { width: 48px; height: 8px; border: 1px solid var(--white); }
.scalebar span:nth-child(odd) { background: var(--white); }
.scalebar em { font: normal 400 .75rem var(--mono); color: var(--on-bp-2); margin-left: .75rem; }

.ph-crest { margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.ph-crest img { width: clamp(110px, 16vw, 180px); }
.ph-crest figcaption, .print-ph figcaption { font: 400 .75rem var(--mono); color: var(--on-bp-2); }
.print-ph { position: relative; left: auto; top: auto; width: 100%; max-width: 440px; margin-left: auto; transform: rotate(2deg); }
.print-ph figcaption { color: var(--ink-2); }
.ladder { list-style: none; margin: 0; padding: 0; border-left: 1.5px solid var(--white); }
.ladder li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0 .7rem 1rem; border-bottom: 1px solid var(--line-bp); font-weight: 700; position: relative; }
.ladder li::before { content: ""; position: absolute; left: -1.5px; top: 50%; width: 12px; border-top: 1.5px solid var(--white); }
.ld-s { font: 400 .75rem var(--mono); color: var(--on-bp-2); align-self: center; }
.ld-s.is-tbc { color: var(--yellow); }
.ph-call { padding: 1.25rem; border: 1px solid var(--line-bp); }
.ph-num { display: inline-block; font: 500 clamp(1.8rem, 4vw, 2.6rem)/1.1 var(--mono); color: var(--white) !important; text-decoration: none; letter-spacing: -.03em; border-bottom: 3px solid var(--yellow); margin-bottom: 1rem; }

/* ---------- classes page */
.stack { list-style: none; margin: 1.5rem 0 0; padding: 0; border-top: 1px solid var(--ink); }
.st { display: grid; gap: .5rem 2rem; padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
.st-h h3 { font-size: 1.375rem; margin: 0; }
.st-c { font: 400 .8125rem var(--mono); color: var(--bp); }
.st-d p { margin: 0 0 .35rem; color: var(--ink-2); }
.st-k { font: 400 .75rem var(--mono); margin-right: .6rem; color: var(--ink); }
.st-here { font-size: .9375rem; }
@media (min-width: 768px) { .st { grid-template-columns: 13rem 1fr; } }
.q { height: 100%; padding: 1.1rem 0 0; border-top: 2px solid var(--ink); }
.q h3 { font-size: 1.125rem; margin-bottom: .3rem; }
.q p { color: var(--ink-2); margin: 0; }

/* ---------- admissions extras */
.checks { list-style: none; margin: 1rem 0; padding: 0; border-top: 1px solid var(--ink); background: var(--white); }
.checks li { border-bottom: 1px solid var(--rule); }
.checks label { display: flex; align-items: center; gap: .85rem; min-height: 52px; padding: .4rem .8rem; cursor: pointer; }
.checks input { width: 22px; height: 22px; accent-color: var(--bp); flex: none; }
.checks input:checked + span { text-decoration: line-through; text-decoration-color: var(--bp); color: var(--ink-2); }
.faq { border-top: 1px solid var(--ink); }
.fq { border-bottom: 1px solid var(--rule); }
.fq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.05rem 0; font-weight: 500; font-size: 1.0625rem; }
.fq summary::-webkit-details-marker { display: none; }
.fq summary::after { content: ""; flex: none; width: 14px; height: 14px; margin-top: .35em; background: linear-gradient(var(--bp), var(--bp)) 50% 50% / 14px 2px no-repeat, linear-gradient(var(--bp), var(--bp)) 50% 50% / 2px 14px no-repeat; transition: transform .2s var(--ease); }
.fq[open] summary::after { background: linear-gradient(var(--bp), var(--bp)) 50% 50% / 14px 2px no-repeat; }
.fq p { margin: 0 0 1.1rem; color: var(--ink-2); max-width: 64ch; }

/* ---------- school life */
.asks { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); background: var(--white); }
.asks li { padding: 1.25rem; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.asks h3 { font-size: 1.125rem; margin-bottom: .35rem; }
.asks p { color: var(--ink-2); margin-bottom: .75rem; }
@media (min-width: 768px) { .asks { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .asks { grid-template-columns: repeat(3, 1fr); } }
.gallery { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 992px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.g-tile { display: block; width: 100%; padding: 6px; border: 1px solid var(--ink); background: var(--white); cursor: zoom-in; }
.g-tile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .35s var(--ease); }
.g-tile:hover img { transform: scale(1.02); }
.lb { border: 0; padding: 0; max-width: min(1100px, 94vw); background: transparent; }
.lb::backdrop { background: rgba(10,24,46,.88); }
.lb-in { background: var(--paper); border: 1px solid var(--ink); padding: 10px; }
.lb-in img { width: 100%; max-height: 72vh; object-fit: contain; background: var(--white); }
.lb-cap { margin: .6rem 0; font-size: .9375rem; color: var(--ink-2); }
.lb-ctl { display: flex; flex-wrap: wrap; gap: .5rem; }
.lb-b { display: inline-flex; align-items: center; gap: .4rem; min-height: 48px; padding: 0 1rem; background: var(--white); border: 1.5px solid var(--ink); border-radius: 2px; cursor: pointer; }
.lb-b:last-child { margin-left: auto; background: var(--bp); color: var(--white); border-color: var(--bp); }

/* ---------- contact */
.ct-big { display: inline-block; font: 500 clamp(1.8rem, 4.5vw, 2.75rem)/1.1 var(--mono); color: var(--ink); text-decoration: none; letter-spacing: -.03em; margin: .25rem 0 .75rem; border-bottom: 3px solid var(--yellow); }
.ct-addr { font-style: normal; font-size: 1.1875rem; line-height: 1.5; margin-bottom: .75rem; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: .55rem .75rem; border-bottom: 1px solid var(--rule); font-weight: 400; }
.hours td { font-family: var(--mono); font-size: .875rem; }
.hours tr.is-today th, .hours tr.is-today td { background: var(--yellow); color: var(--ink); font-weight: 500; }
.hours-lg { background: var(--white); border: 1px solid var(--ink); margin-bottom: 1.5rem; }
.map { position: relative; border: 1px solid var(--ink); background: var(--white); min-height: 220px; }
.map-card { padding: 1.25rem; }
.map iframe { display: block; width: 100%; height: 340px; border: 0; }

/* ---------- enquiry form */
.enq { padding: clamp(3.5rem, 7vw, 6rem) 0; background: var(--paper); border-top: 1px solid var(--ink); }
.enq-alt { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); color: var(--ink-2); }
.sheet-form { position: relative; background: var(--white); border: 1px solid var(--ink); padding: 0 1.25rem 1.25rem; }
.sf-title { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin: 0 -1.25rem 1.25rem; padding: .65rem 1.25rem; border-bottom: 1px solid var(--ink); font: 500 .75rem var(--mono); color: var(--ink-2); }
.fld label { display: block; font-weight: 500; margin-bottom: .35rem; }
.opt { font: 400 .75rem var(--mono); color: var(--ink-2); margin-left: .35rem; }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 50px; padding: .6rem .8rem; border: 1.5px solid var(--ink-2); border-radius: 2px; background: var(--white); }
.fld textarea { min-height: 96px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 3px solid var(--yellow); outline-offset: 0; border-color: var(--ink); }
.fld [aria-invalid="true"] { border-color: var(--err); background: #FFF6F5; }
.hint { font-size: .8125rem; color: var(--ink-2); margin: .3rem 0 0; }
.err { font-size: .875rem; color: var(--err); margin: .3rem 0 0; font-weight: 500; }
.err:empty { display: none; }
.hp { position: absolute; left: -9999px; }
.sf-summary { margin-bottom: 1rem; padding: .9rem 1rem; border: 1.5px solid var(--err); color: var(--err); background: #FFF6F5; }
.sf-summary ul { margin: .3rem 0 0; padding-left: 1.2rem; }
.sf-summary a { color: var(--err); }
.sf-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: 1.25rem; }
.sf-foot .btn-yellow { border-color: var(--ink); }
.sf-foot .btn[disabled] { opacity: .7; cursor: progress; }
.sf-note { font-size: .875rem; color: var(--ink-2); margin: 0; }
.sf-done, .sf-fail { margin-top: 1.25rem; padding: 1.1rem; border: 1.5px solid var(--ok); background: #F0FAF4; }
.sf-fail { border-color: var(--err); background: #FFF6F5; }
.sf-done h3, .sf-fail h3 { font-size: 1.1875rem; margin-bottom: .35rem; }

/* ---------- prose */
.prose { max-width: 68ch; }
.prose .h2 { font-size: 1.5rem; margin-top: 2rem; }

/* ---------- footer (drawing title block) */
.ft { padding: 3.5rem 0 2rem; border-top: 1px solid var(--ink); }
.ft-brand { display: flex; align-items: center; gap: .9rem; text-decoration: none; font-weight: 700; font-size: 1.125rem; margin-bottom: 1rem; }
.ft-brand span span { display: block; font-weight: 400; font-size: .9375rem; color: var(--on-bp-2); }
.ft-addr { color: var(--on-bp-2); }
.ft-big { font: 500 1.5rem var(--mono); text-decoration: none; border-bottom: 2px solid var(--yellow); }
.ft-small { font-size: .8125rem; color: var(--on-bp-2); }
.ft-h { font: 500 .75rem var(--mono); color: var(--on-bp-2); margin-bottom: .75rem; }
.ft-src { display: block; margin-top: .2rem; }
.ft-list { list-style: none; margin: 0; padding: 0; }
.ft-list a { display: inline-block; padding: .35rem 0; min-height: 36px; }
.hours-ft th, .hours-ft td { border-bottom-color: rgba(255,255,255,.25); color: var(--on-bp); padding: .4rem .5rem; }
.hours-ft tr.is-today th, .hours-ft tr.is-today td { color: var(--ink); }
.ft-block { display: grid; grid-template-columns: 1fr; margin-top: 2.5rem; border: 1px solid var(--line-bp); }
.ft-block > div { padding: .75rem 1rem; border-bottom: 1px solid var(--line-bp); font-size: .875rem; color: var(--on-bp-2); }
.ft-block > div:last-child { border-bottom: 0; }
.ft-k { display: block; font: 500 .75rem var(--mono); color: var(--white); margin-bottom: .15rem; }
@media (min-width: 768px) {
  .ft-block { grid-template-columns: repeat(2, 1fr); }
  .ft-block > div { border-right: 1px solid var(--line-bp); }
  .ft-block > div:nth-child(2n) { border-right: 0; }
  .ft-block > div:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (min-width: 1200px) {
  .ft-block { grid-template-columns: 1.4fr 1.4fr 1fr 1fr; }
  .ft-block > div { border-bottom: 0; border-right: 1px solid var(--line-bp); }
  .ft-block > div:last-child { border-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  .tb, .panel, .ft, .enq, .hero-draw { display: none !important; }
  .bp { background: none; color: var(--ink); }
}
