/* Brilliant Academy School: "Bright ideas start here". Lightbulbs, circuit traces and switch plates.
   Bootstrap 5.3.3 grid supplies layout; everything else is ours. */
:root {
  --ground: #F6F7FB;
  --ink: #121826;
  --ink-2: #3A4458;
  --navy: #1B2A4A;
  --navy-2: #24375E;
  --teal: #17A2A2;
  --teal-ink: #0B6E6E;
  --yellow: #FFD447;
  --orange: #FF8A2B;
  --line: #D7DCE6;
  --plate: #FFFFFF;
  --unlit: #E3E8F0;
  --unlit-2: #A7B1C2;
  --on-navy: #EEF1F7;
  --on-navy-2: #BCC6D8;
  --display: "Krona One", "Arial Narrow", sans-serif;
  --body: "Geologica", "Segoe UI", system-ui, sans-serif;
  --hi: "Noto Sans Devanagari", "Geologica", sans-serif;
  --r-plate: 14px;
  --r-key: 10px;
  --shadow-plate: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 -1px 0 rgba(27, 42, 74, .06) inset, 0 12px 28px -16px rgba(18, 24, 38, .38);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  font-variant-numeric: lining-nums;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--yellow); color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-ink); text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.band--navy :focus-visible, .site-foot :focus-visible { outline-color: var(--yellow); }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.02em; line-height: 1.14; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(1.95rem, 1.2rem + 3.2vw, 3.4rem); }
h2 { font-size: clamp(1.4rem, 1.05rem + 1.5vw, 2.1rem); }
h3 { font: 700 1.15rem/1.3 var(--body); margin: 0 0 .35em; }
p { margin: 0 0 1em; max-width: 68ch; }
[lang="hi"] { font-family: var(--hi); }
.hi { font: 500 1.08rem/1.6 var(--hi); color: var(--teal-ink); margin-bottom: .9em; }
.band--navy .hi { color: var(--yellow); }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.muted { color: var(--ink-2); font-size: .92em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sec-lead { color: var(--ink-2); margin-bottom: 1.6rem; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
main { display: block; }
main:focus { outline: none; }
section { padding: clamp(3.5rem, 2rem + 5vw, 6.5rem) 0; }
.band--white { background: var(--plate); }
.band--navy { background: var(--navy); color: var(--on-navy); }
.band--navy p { color: var(--on-navy-2); }
.band--navy a:not(.key) { color: var(--yellow); }
.ic { flex: none; }

/* ---------- keys: switch-plate push keys ---------- */
.keys { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4rem; }
.key {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 11px 18px 11px 16px;
  font: 600 1rem/1.2 var(--body); color: var(--ink); text-decoration: none;
  background: var(--plate); border: 1px solid var(--line); border-radius: var(--r-key);
  box-shadow: 0 1px 0 #fff inset, 0 -2px 0 rgba(27, 42, 74, .08) inset, 0 6px 14px -10px rgba(18, 24, 38, .45);
  cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s;
}
.key:hover { color: var(--ink); transform: translateY(-1px); box-shadow: 0 1px 0 #fff inset, 0 -2px 0 rgba(27, 42, 74, .1) inset, 0 10px 18px -10px rgba(18, 24, 38, .5); }
.key:active { transform: translateY(1px); box-shadow: 0 2px 4px -2px rgba(18, 24, 38, .4) inset; }
.key--lit { background: var(--yellow); border-color: #E9BC22; }
.key--lit:hover { background: #FFDC66; }
.key--ink { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 6px 14px -10px rgba(18, 24, 38, .6); }
.key--ink:hover { background: var(--navy-2); color: #fff; }
.band--navy .key { border-color: transparent; }
.band--navy .key--ink { background: var(--teal-ink); }
.band--navy .key--ink:hover { background: #0D7F7F; }

/* ---------- rocker switch (the facts, FAQ and menu share it) ---------- */
.rocker {
  position: relative; flex: none; width: 30px; height: 44px; border-radius: 7px;
  background: #EDF0F5; border: 1px solid #C9D0DC;
  box-shadow: 0 1px 0 #fff inset, 0 3px 6px -4px rgba(18, 24, 38, .45);
}
.rocker i {
  position: absolute; left: 3px; right: 3px; top: 3px; height: 22px; border-radius: 5px;
  background: linear-gradient(#fff, #F0F2F6); border: 1px solid #C9D0DC;
  transition: top .25s var(--ease), height .25s var(--ease);
}
.rocker::after { /* indicator LED */
  content: ""; position: absolute; left: 50%; bottom: 5px; width: 7px; height: 7px; margin-left: -3.5px;
  border-radius: 50%; background: var(--unlit-2); transition: background-color .2s;
}
.rocker.is-on i { top: 17px; }
.rocker.is-on::after { background: var(--orange); }
.rocker.is-on::after { top: 6px; bottom: auto; }

/* ---------- header and circuit nav ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(246, 247, 251, .97); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.brand { flex: none; display: block; }
.brand img { width: 196px; height: auto; }
.circuit-nav { margin-left: auto; }
.circuit-nav ul { position: relative; display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.circuit-nav ul::before { /* the trace that joins every bulb */
  content: ""; position: absolute; left: 18px; right: 18px; top: 22px; height: 2px; background: var(--teal); opacity: .55;
}
.circuit-nav li { position: relative; }
.circuit-nav a {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 6px 10px 6px; color: var(--ink); text-decoration: none; font: 600 .9rem/1.2 var(--body);
  border-radius: 8px;
}
.circuit-nav a span { padding-bottom: 2px; border-bottom: 2px solid transparent; }
.circuit-nav a:hover span { border-bottom-color: var(--teal); }
.circuit-nav a[aria-current="page"] span { border-bottom-color: var(--orange); }
.bulb-ic { position: relative; display: block; }
.bulb-ic .g { fill: var(--plate); stroke: var(--unlit-2); stroke-width: 2; transition: fill .25s; }
.bulb-ic .f { fill: none; stroke: var(--unlit-2); stroke-width: 2.5; stroke-linecap: round; transition: stroke .25s; }
.bulb-ic .b { fill: var(--navy); }
.circuit-nav a:hover .g { fill: #FFF2C2; }
.circuit-nav a[aria-current="page"] .g { fill: var(--yellow); stroke: #D9A90F; }
.circuit-nav a[aria-current="page"] .f { stroke: var(--orange); }
.head-call { flex: none; padding: 9px 14px; min-height: 44px; font-size: .95rem; }
.menu-btn {
  display: none; margin-left: auto; align-items: center; gap: 10px; min-height: 48px; padding: 6px 14px 6px 8px;
  font: 700 1rem var(--body); color: var(--ink); background: var(--plate); border: 1px solid var(--line); border-radius: var(--r-key);
  box-shadow: 0 6px 14px -10px rgba(18, 24, 38, .45); cursor: pointer;
}
.menu-rocker { position: relative; width: 22px; height: 32px; border-radius: 5px; background: #EDF0F5; border: 1px solid #C9D0DC; }
.menu-rocker i { position: absolute; left: 2px; right: 2px; top: 2px; height: 15px; border-radius: 3px; background: #fff; border: 1px solid #C9D0DC; transition: top .25s var(--ease); }
.menu-btn[aria-expanded="true"] .menu-rocker i { top: 13px; }

@media (max-width: 1199.98px) {
  .circuit-nav a { padding: 6px 7px; font-size: .86rem; }
  .brand img { width: 172px; }
}
@media (max-width: 991.98px) {
  .circuit-nav, .head-call { display: none; }
  .menu-btn { display: inline-flex; }
  .head-row { min-height: 68px; }
}

/* ---------- switchboard sheet (phones) ---------- */
.board { position: fixed; inset: 0; z-index: 80; background: rgba(18, 24, 38, .55); display: flex; align-items: flex-start; justify-content: center; padding: 14px; overflow-y: auto; }
.board[hidden] { display: none; }
.board-plate {
  position: relative; width: 100%; max-width: 420px; margin-top: 4px;
  background: var(--plate); border-radius: 18px; padding: 22px 18px 18px;
  box-shadow: 0 1px 0 #fff inset, 0 24px 48px -18px rgba(0, 0, 0, .55);
  transform-origin: top center; animation: plate-in .32s var(--ease);
}
@keyframes plate-in { from { opacity: 0; transform: translateY(-10px) scale(.98); } to { opacity: 1; transform: none; } }
.screw { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff, #C3CAD6 70%); border: 1px solid #B4BCCA; }
.screw::after { content: ""; position: absolute; left: 2px; right: 2px; top: 5px; height: 1.5px; background: #8C96A8; transform: rotate(-35deg); }
.screw.s1 { top: 10px; left: 50%; margin-left: -6px; }
.screw.s2 { bottom: 10px; left: 50%; margin-left: -6px; }
.board-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 8px 0 12px; }
.board-t { font: 400 1rem var(--display); margin: 0; }
.board-close { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 12px; font: 600 .95rem var(--body); color: var(--ink); background: var(--ground); border: 1px solid var(--line); border-radius: var(--r-key); cursor: pointer; }
.board-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sw-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 64px; padding: 10px 10px 10px 14px;
  color: var(--ink); text-decoration: none; font: 600 1rem var(--body);
  background: var(--ground); border: 1px solid var(--line); border-radius: 12px;
}
.sw-row[aria-current="page"] { background: #FFF6D6; border-color: #EAC54A; }
.board-keys { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; padding-bottom: 14px; }
.board-keys .key { justify-content: center; }

/* ---------- hero ---------- */
.hero { padding: clamp(1.5rem, .5rem + 3vw, 3.5rem) 0 clamp(3rem, 2rem + 3vw, 5rem); }
.hero h1 { font-size: clamp(2.05rem, 1.1rem + 3.6vw, 3.55rem); max-width: 12ch; }
.hero .lead { max-width: 52ch; }
.hero-art { position: relative; }
.hero-svg { width: 100%; max-width: 580px; height: auto; margin: 0 auto; display: block; overflow: visible; }
.photo-note { font-size: .82rem; color: var(--ink-2); text-align: center; margin: .3rem auto 0; }
.trace { fill: none; stroke: var(--teal); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.pad { fill: var(--teal); }
.sb .g { fill: var(--unlit); stroke: var(--unlit-2); stroke-width: 3; }
.sb .f { stroke: var(--unlit-2); }
.sb .b { fill: var(--navy); }
.sb.on .g, .lit-final .sb .g { fill: var(--yellow); stroke: #D9A90F; }
.sb.on .f, .lit-final .sb .f { stroke: var(--orange); }
.rim { fill: none; stroke: var(--yellow); stroke-width: 12; stroke-linejoin: round; }
.bb { fill: var(--navy); }
/* the one orchestrated moment: current runs, bulbs light one by one, then the big rim */
@media (prefers-reduced-motion: no-preference) {
  .hero-svg .trace { stroke-dasharray: 100; stroke-dashoffset: 100; animation: run .7s var(--ease) forwards; }
  .hero-svg .t1, .hero-svg .t2, .hero-svg .t3, .hero-svg .t4 { animation-delay: .35s; animation-duration: 1s; }
  .hero-svg .sb .g { animation: glass .45s ease-out forwards; }
  .hero-svg .sb .f { animation: fil .45s ease-out forwards; }
  .hero-svg .b2 .g, .hero-svg .b2 .f { animation-delay: 1.05s; }
  .hero-svg .b1 .g, .hero-svg .b1 .f { animation-delay: 1.35s; }
  .hero-svg .b3 .g, .hero-svg .b3 .f { animation-delay: 1.65s; }
  .hero-svg .b4 .g, .hero-svg .b4 .f { animation-delay: 1.95s; }
  .hero-svg .rim { stroke-dasharray: 100; stroke-dashoffset: 100; animation: run 1.1s var(--ease) 2.2s forwards; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-svg .sb .g { fill: var(--yellow); stroke: #D9A90F; }
  .hero-svg .sb .f { stroke: var(--orange); }
}
@keyframes run { to { stroke-dashoffset: 0; } }
@keyframes glass { to { fill: var(--yellow); stroke: #D9A90F; } }
@keyframes fil { to { stroke: var(--orange); } }

/* live open/closed switch */
.now { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 12px; margin: 1.3rem 0 0; }
.now .rocker { width: 24px; height: 36px; }
.now .rocker i { height: 17px; }
.now .rocker.is-on i { top: 14px; }
.now-t { font-weight: 700; }
.now-src { flex-basis: 100%; padding-left: 36px; margin-top: -4px; font-size: .86rem; color: var(--ink-2); }

/* ---------- facts: switch panel ---------- */
.plate {
  position: relative; background: var(--plate); color: var(--ink); border-radius: var(--r-plate);
  padding: 30px clamp(16px, 3vw, 30px); box-shadow: var(--shadow-plate);
}
.facts { list-style: none; margin: 0; padding: 0; }
.fact {
  display: grid; grid-template-columns: 30px minmax(7.5rem, 10rem) 1fr; grid-template-areas: "sw k v" "sw k s";
  column-gap: 16px; row-gap: 2px; align-items: start; padding: 14px 0; border-top: 1px solid var(--line);
}
.fact:first-child { border-top: 0; }
.fact .rocker { grid-area: sw; }
.fact-k { grid-area: k; font-weight: 700; padding-top: 2px; }
.fact-v { grid-area: v; padding-top: 2px; }
.fact-s { grid-area: s; font-size: .86rem; color: var(--ink-2); }
.fact.off .fact-v { color: var(--ink-2); font-style: normal; }
.facts-band h2 { color: #fff; }
@media (max-width: 575.98px) {
  .fact { grid-template-columns: 30px 1fr; grid-template-areas: "sw k" "sw v" "sw s"; }
}

/* ---------- ideas: pendant bulbs on one trace ---------- */
.ideas-note { color: var(--ink-2); font-size: .95rem; margin: 0; }
.idea-row {
  position: relative; list-style: none; margin: 2.4rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
/* the bus: a thin 1.5px trace with a solder pad at each end, drawn in the row's own background (no pseudo-element stripe) */
.idea-row { padding-top: 0; background:
  radial-gradient(circle at 5px 50%, var(--teal) 0 4px, transparent 4.5px) left top / 10px 10px no-repeat,
  radial-gradient(circle at 5px 50%, var(--teal) 0 4px, transparent 4.5px) right top / 10px 10px no-repeat,
  linear-gradient(var(--teal), var(--teal)) left 4.25px / 100% 1.5px no-repeat; }
.idea:nth-child(even) { margin-top: 48px; }
.idea-a { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; }
.drop { display: block; width: 1.5px; height: 36px; margin-left: 31px; margin-top: 5px; background: var(--teal); }
.idea:nth-child(even) .drop { height: 84px; margin-top: -48px; }
.idea-bulb { display: block; margin: -2px 0 12px 9px; }
.idea-bulb .g { fill: var(--plate); }
.idea-a:hover .g, .idea-a:focus-visible .g { fill: var(--yellow); stroke: #D9A90F; }
.idea-a:hover .f, .idea-a:focus-visible .f { stroke: var(--orange); }
.idea-ph { display: block; overflow: hidden; border-radius: 12px; aspect-ratio: 4 / 3; background: var(--unlit); }
.idea-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.idea-a:hover .idea-img { transform: scale(1.03); }
.idea-t { font: 400 1.12rem/1.3 var(--display); margin-top: 16px; }
.idea-ages { font-size: .9rem; font-weight: 600; color: var(--teal-ink); margin-top: 4px; }
.idea-d { font-size: .98rem; color: var(--ink-2); margin-top: 8px; }
@media (max-width: 991.98px) {
  .idea-row { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .idea-row { background: none; }
  .idea:nth-child(even) { margin-top: 0; }
  .drop, .idea:nth-child(even) .drop { height: 20px; margin-top: 0; }
}
@media (max-width: 575.98px) { .idea-row { grid-template-columns: 1fr; } }

/* ---------- admission steps on one live trace ---------- */
.adm-cta { display: flex; justify-content: flex-end; }
.adm-cta .key { margin: 0; }
.steps { position: relative; list-style: none; margin: 2.6rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 3px; background: var(--line); }
.steps::after { content: ""; position: absolute; left: 22px; top: 22px; height: 3px; width: 0; background: var(--teal); transition: width 1.6s var(--ease); }
.steps.run::after { width: calc(100% - 44px); }
.step { position: relative; }
.node {
  position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  font: 400 1rem var(--display); color: var(--ink); background: var(--plate); border: 3px solid var(--line);
  transition: background-color .3s, border-color .3s;
}
.step.on .node { background: var(--yellow); border-color: var(--orange); }
.step-t { margin-top: 16px; }
.step-p { color: var(--ink-2); font-size: .98rem; }
@media (prefers-reduced-motion: reduce) { .steps::after { width: calc(100% - 44px); transition: none; } .step .node { background: var(--yellow); border-color: var(--orange); } }
@media (max-width: 991.98px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before, .steps::after { left: 21px; right: auto; top: 22px; bottom: 22px; width: 3px; height: auto; }
  .steps::after { height: 0; bottom: auto; transition: height 1.6s var(--ease); }
  .steps.run::after { width: 3px; height: calc(100% - 44px); }
  .step { display: grid; grid-template-columns: 46px 1fr; column-gap: 18px; padding-bottom: 24px; }
  .step .node { grid-row: span 2; }
  .step-t { margin-top: 10px; }
  .adm-cta { justify-content: flex-start; }
}
@media (max-width: 991.98px) and (prefers-reduced-motion: reduce) { .steps::after { height: calc(100% - 44px); } }

/* ---------- on/off toggle FAQ ---------- */
.toggles { border-top: 1px solid var(--line); }
.tg { border-bottom: 1px solid var(--line); }
.tg-h { margin: 0; font: inherit; }
.tg-b {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px; width: 100%;
  padding: 16px 4px; background: none; border: 0; text-align: left; cursor: pointer;
  font: 600 1.06rem/1.4 var(--body); color: var(--ink);
}
.tg-b:hover .tg-q { color: var(--teal-ink); }
.tg-state { width: 2.2em; font-size: .78rem; font-weight: 700; color: var(--ink-2); text-align: left; }
.tg-b[aria-expanded="true"] .tg-state { color: #A24D06; }
.tg-a { padding: 0 64px 18px 4px; }
.tg-a p { color: var(--ink-2); margin: 0; }

/* ---------- visit and hours ---------- */
.visit-addr, .reach-addr { display: flex; gap: 12px; align-items: flex-start; font-size: 1.08rem; }
.visit-addr .ic, .reach-addr .ic { margin-top: 4px; color: var(--teal-ink); }
.hours { width: 100%; border-collapse: collapse; background: var(--plate); border-radius: var(--r-plate); overflow: hidden; box-shadow: var(--shadow-plate); }
.hours caption { caption-side: bottom; text-align: left; padding: 10px 2px 0; font-size: .86rem; color: var(--ink-2); }
.hours th, .hours td { padding: 11px 18px; text-align: left; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.hours tr:first-child th, .hours tr:first-child td { border-top: 0; }
.hours th { font-weight: 600; }
.hours tr.today { background: #FFF6D6; }
.hours tr.today th::after { content: " · today"; font-weight: 700; color: #A24D06; }
.band--white .hours { box-shadow: none; border: 1px solid var(--line); }

.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band .keys { justify-content: flex-start; margin-top: 0; }
@media (min-width: 992px) { .cta-band .keys { justify-content: flex-end; } }

/* ---------- placeholders ---------- */
.tbc { height: 100%; padding: 20px 20px 18px; border: 2px dashed #8E9AB0; border-radius: 12px; background: var(--plate); }
.band--white .tbc { background: var(--ground); }
.tbc-t { font-weight: 700; margin: 0 0 .3em; }
.tbc-p { color: var(--ink-2); font-size: .97rem; margin: 0 0 .8em; }
.tbc-tag { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: .82rem; font-weight: 700; color: var(--ink-2); }
.tbc-tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--unlit-2); }

/* ---------- inner page head ---------- */
.page-head { padding: clamp(2.2rem, 1.4rem + 3vw, 4rem) 0 clamp(1.8rem, 1rem + 2vw, 3rem); border-bottom: 1px solid var(--line); }
.page-head .lead { max-width: 60ch; margin-bottom: 0; }
.ph-wire { position: relative; display: flex; gap: 28px; margin-bottom: 18px; padding-top: 6px; }
.ph-wire::before { content: ""; position: absolute; left: 0; top: 0; width: calc(var(--n, 3) * 58px - 14px); height: 3px; background: var(--teal); }
.ph-bulb { position: relative; padding-top: 14px; }
.ph-bulb::before { content: ""; position: absolute; left: 14px; top: -6px; width: 2px; height: 20px; background: var(--teal); }
.ph-bulb.on .g, .lit-all .ph-bulb .g { fill: var(--yellow); stroke: #D9A90F; }
.ph-bulb.on .f, .lit-all .ph-bulb .f { stroke: var(--orange); }
.page-head h1 { max-width: 22ch; }

/* ---------- framed photos ---------- */
.frame-plate { margin: 0; background: var(--plate); padding: 10px; border-radius: var(--r-plate); box-shadow: var(--shadow-plate); }
.fp-img { width: 100%; border-radius: 8px; }
.frame-plate figcaption { font-size: .82rem; color: var(--ink-2); padding: 10px 4px 2px; }
.side-stack { display: grid; gap: 20px; }
.waiting .tbc { min-height: 100%; }

/* ---------- learning lanes (vertical circuit) ---------- */
.lanes { position: relative; list-style: none; margin: 0; padding: 0; }
.lanes::before { content: ""; position: absolute; left: 16px; top: 20px; bottom: 30px; width: 3px; background: var(--teal); }
.lane { position: relative; display: grid; grid-template-columns: 36px 1fr; column-gap: 22px; padding-bottom: 30px; }
.lane-node { position: relative; z-index: 1; background: var(--ground); padding: 2px 0; }
.lane:target .g { fill: var(--yellow); stroke: #D9A90F; }
.lane:target .f { stroke: var(--orange); }
.lane h3 { font: 400 1.2rem/1.3 var(--display); margin-top: 6px; }
.lane-ages { color: var(--teal-ink); font-weight: 600; margin-bottom: .5em; }
.lane-tbc { display: inline-block; font-size: .86rem; font-weight: 600; color: var(--ink-2); border: 1.5px dashed #8E9AB0; border-radius: 6px; padding: 3px 10px; }
.ask-list { padding-left: 1.2em; margin: 0 0 1.2em; }
.ask-list li { margin-bottom: .45em; }
.ask-list li::marker { color: var(--orange); }

/* ---------- admissions extras ---------- */
.age-table { width: 100%; border-collapse: collapse; background: var(--ground); border-radius: 12px; overflow: hidden; }
.age-table th, .age-table td { padding: 10px 16px; text-align: left; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.age-table thead th { border-top: 0; background: var(--navy); color: #fff; font-weight: 600; }
.docs { list-style: none; padding: 0; margin: 0 0 1em; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.docs li { display: flex; gap: 10px; align-items: flex-start; }
.docs .ic { color: var(--teal-ink); margin-top: 3px; }
.docs-tag { display: inline-block; font-size: .84rem; font-weight: 700; border: 1.5px dashed #8E9AB0; border-radius: 6px; padding: 3px 10px; color: var(--ink-2); }
@media (max-width: 575.98px) { .docs { grid-template-columns: 1fr; } }
.enquiry h2 { color: #fff; }
.enq-alt a { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; }

/* ---------- form ---------- */
.enq { padding-top: 34px; padding-bottom: 34px; }
.fld label { display: block; font-weight: 600; margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--ink-2); }
.fld input, .fld select, .fld textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; font: 400 1rem/1.4 var(--body); color: var(--ink);
  background: var(--ground); border: 1.5px solid #B9C2D2; border-radius: 10px; caret-color: var(--orange);
}
.fld textarea { min-height: 96px; resize: vertical; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: 3px solid var(--orange); outline-offset: 1px; border-color: var(--navy); background: #fff; }
.fld [aria-invalid="true"] { border-color: #B42318; background: #FFF5F4; }
.fld-h { font-size: .85rem; color: var(--ink-2); margin: 5px 0 0; }
.fld-e { font-size: .9rem; font-weight: 600; color: #B42318; margin: 5px 0 0; }
.fld-e:empty { display: none; }
.err-sum { margin-bottom: 18px; padding: 12px 16px; border-radius: 10px; background: #FFF5F4; border: 1.5px solid #B42318; color: #8A1C12; font-weight: 600; }
.err-sum a { color: #8A1C12; }
.hp { position: absolute; left: -9999px; }
.enq-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; }
.enq-note { font-size: .9rem; color: var(--ink-2); margin: 0; max-width: 40ch; }
.enq-send .ind { width: 10px; height: 10px; border-radius: 50%; background: var(--navy); }
.enq-send[aria-busy="true"] { opacity: .85; cursor: progress; }
.enq-send[aria-busy="true"] .ind { background: var(--orange); animation: blink .8s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.enq-result:empty { display: none; }
.enq-result { margin-top: 18px; padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.enq-result.ok { background: #E8F6F1; border: 1.5px solid #12795B; color: #0C5A43; }
.enq-result.bad { background: #FFF5F4; border: 1.5px solid #B42318; color: #8A1C12; }

/* ---------- contact ---------- */
.reach h2 { font-size: 1.3rem; margin-top: 6px; }
.reach-list { list-style: none; margin: 0 0 18px; padding: 0; }
.reach-a { display: flex; align-items: center; gap: 16px; padding: 12px 6px; color: var(--ink); text-decoration: none; border-top: 1px solid var(--line); }
.reach-list li:first-child .reach-a { border-top: 0; }
.reach-a:hover strong { color: var(--teal-ink); }
.map-card { background: var(--plate); border-radius: var(--r-plate); overflow: hidden; box-shadow: var(--shadow-plate); margin-bottom: 24px; }
.map-frame { position: relative; aspect-ratio: 16 / 10; display: grid; place-content: center; justify-items: center; gap: 10px; padding: 20px; text-align: center;
  background-color: #EEF2F7;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 32px 32px; }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-p { font-size: .88rem; color: var(--ink-2); margin: 0; }
.map-fallback { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-top: 1px solid var(--line); }
.map-fallback p { margin: 0; }

/* ---------- gallery + lightbox ---------- */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.g { margin: 0; }
.g-wide { grid-column: span 7; }
.g-tall { grid-column: span 5; }
.g-sq { grid-column: span 6; }
.g-a { display: block; height: 100%; border-radius: 12px; overflow: hidden; background: var(--unlit); }
.g-img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; transition: transform .5s var(--ease); }
.g-a:hover .g-img { transform: scale(1.03); }
@media (max-width: 767.98px) { .g-wide, .g-tall, .g-sq { grid-column: span 12; } }
.lb { max-width: min(920px, 94vw); width: 100%; padding: 14px; border: 0; border-radius: var(--r-plate); background: var(--plate); color: var(--ink); }
.lb::backdrop { background: rgba(18, 24, 38, .78); }
.lb figure { margin: 0; }
.lb-img { width: 100%; height: auto; max-height: 70vh; object-fit: contain; border-radius: 8px; background: var(--ground); }
.lb-cap { font-size: .9rem; color: var(--ink-2); padding: 10px 2px; }
.lb-keys { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- notices ---------- */
.notices { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.notice { position: relative; background: var(--plate); border-radius: 12px; padding: 18px 20px 16px 58px; box-shadow: var(--shadow-plate); }
.notice::before { content: ""; position: absolute; left: 22px; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--unlit-2); box-shadow: 0 0 0 4px var(--unlit); }
.notice h3 { margin: 4px 0 4px; }
.notice p { margin: 0; color: var(--ink-2); }
.notice-tag { font-size: .78rem; font-weight: 700; color: #A24D06; }

/* ---------- prose pages ---------- */
.prose h2 { font-size: 1.3rem; margin-top: 1.6em; }
.prose .tbc { margin-top: 1.6rem; height: auto; }
.lost { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.lost a { display: inline-block; padding: 10px 16px; background: var(--plate); border: 1px solid var(--line); border-radius: 10px; font-weight: 600; text-decoration: none; color: var(--ink); }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: var(--on-navy-2); padding: 56px 0 120px; }
.foot-logo { width: 240px; height: auto; margin-bottom: 18px; }
.foot-addr { color: var(--on-navy); }
.foot-hi { color: var(--on-navy-2); }
.foot-h { font: 400 .95rem var(--display); color: #fff; margin-bottom: 12px; letter-spacing: 0; }
.foot-list { list-style: none; margin: 0; padding: 0; }
.foot-list li { margin-bottom: 8px; }
.foot-list a { color: var(--on-navy); text-decoration: none; display: inline-block; padding: 2px 0; }
.foot-list a:hover { color: var(--yellow); text-decoration: underline; }
.foot-p { color: var(--on-navy-2); }
.foot-note { margin-top: 36px; padding-top: 22px; border-top: 1px solid #2B3550; font-size: .84rem; }
.foot-note p { max-width: 90ch; margin: 0; }
@media (min-width: 992px) { .site-foot { padding-bottom: 56px; } }

/* ---------- phone dock ---------- */
.dock { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 30; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px;
  background: var(--navy); border-radius: 14px; box-shadow: 0 14px 30px -12px rgba(18, 24, 38, .6); }
.dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 10px; color: #fff; font-weight: 600; text-decoration: none; }
.dock a:first-child { background: var(--yellow); color: var(--ink); }
.dock a:hover { background: var(--navy-2); }
.dock a:first-child:hover { background: #FFDC66; }
@media (min-width: 992px) { .dock { display: none; } }
@media (max-width: 991.98px) { body { padding-bottom: 76px; } .site-foot { padding-bottom: 48px; } }

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

/* ---------- refinements after the first screenshot round ---------- */
.brand img { width: 216px; }
@media (min-width: 992px) { .facts-band .col-lg-5 > h2 { margin-top: 0; } .facts-band .col-lg-5 { position: sticky; top: 110px; } }
@media (max-width: 991.98px) {
  .hero { padding-top: .75rem; }
  .hero-svg { max-width: 330px; }
  .photo-note { font-size: .76rem; margin-top: 0; }
}
@media (max-width: 575.98px) { .hero-svg { max-width: 272px; } .brand img { width: 180px; } }
.band--navy .plate p, .band--navy .plate .fld-h, .band--navy .plate .opt { color: var(--ink-2); }
.band--navy .plate a:not(.key) { color: var(--teal-ink); }
.band--navy .plate .fld-e { color: #B42318; }
