/* Brilliant Minds International Pre School — "Little stars, bright minds"
   Midnight bands carry the sky; day sections carry reading. Yellow and lavender live only on midnight.
   Depth by overlap, never by glow or gradient. */

:root {
  --midnight: #141B34;
  --midnight-2: #1C2445;
  --midnight-3: #0F1429;
  --day: #F7F6FB;
  --day-2: #EDEBF6;
  --ink: #1B1F3A;
  --ink-2: #474C6E;
  --line: #D9D6EA;
  --star: #FFD45C;
  --lav: #A99BFF;
  --lav-deep: #4B3FB0;
  --night-text: #EEEDF8;
  --night-2: #BEBBDD;
  --night-line: rgba(169, 155, 255, .45);
  --r-s: 10px;
  --r-m: 18px;
  --display: "Unbounded", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --head-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--head-h) + 16px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--day);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  font-variant-numeric: lining-nums;
  text-rendering: optimizeLegibility;
}
main { overflow-x: clip; display: block; }
main:focus { outline: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
::selection { background: var(--star); color: var(--midnight); }
:focus-visible { outline: 3px solid var(--lav-deep); outline-offset: 3px; border-radius: 4px; }
.night :focus-visible, .site-head :focus-visible, .sky-menu :focus-visible, .site-foot :focus-visible { outline-color: var(--star); }
input, select, textarea, button { font: inherit; color: inherit; }
button { cursor: pointer; }
p { margin: 0 0 1rem; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
h1, h2, h3, h4 { margin: 0 0 .75rem; text-wrap: balance; }
html { scrollbar-color: var(--lav) var(--midnight); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--midnight); }
::-webkit-scrollbar-thumb { background: var(--lav); border-radius: 8px; border: 3px solid var(--midnight); }

/* ---------- type scale (Unbounded is wide: keep it measured) */
.h1 { font: 600 clamp(2rem, 1.3rem + 2.9vw, 3.6rem)/1.08 var(--display); letter-spacing: -.02em; }
.h2 { font: 600 clamp(1.5rem, 1.15rem + 1.4vw, 2.3rem)/1.15 var(--display); letter-spacing: -.015em; margin-bottom: 1rem; }
.h3 { font: 600 clamp(1.15rem, 1rem + .6vw, 1.45rem)/1.25 var(--display); letter-spacing: -.01em; }
.h4 { font: 600 1.0625rem/1.35 var(--body); margin-bottom: .35rem; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.lead-s, .lead-n { font-size: 1.15rem; max-width: 56ch; }
.lead-s { color: var(--ink-2); }
.lead-n { color: var(--night-2); }
.small { font-size: .9rem; color: var(--ink-2); }
.hi-line { font-size: 1.125rem; font-weight: 600; color: var(--star); margin: -.25rem 0 1rem; }
.hi-d { color: var(--lav-deep); }
.mt { margin-top: 2rem; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- sections */
.day, .night { position: relative; padding: clamp(3.5rem, 2rem + 5vw, 6.5rem) 0; }
.day + .day { padding-top: 0; }
.night { background: var(--midnight); color: var(--night-text); isolation: isolate; }
.night .small { color: var(--night-2); }
.sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.note-n { font-size: .875rem; color: var(--night-2); margin-top: 1rem; max-width: 34rem; }
.note-n.center { margin-left: auto; margin-right: auto; }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .7rem 1.25rem; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 1rem/1.2 var(--body); text-decoration: none; white-space: nowrap;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s;
}
.btn .ic { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-star { background: var(--star); color: var(--midnight); }
.btn-star:hover { background: #FFE08A; }
.btn-ghost { border-color: rgba(238, 237, 248, .55); color: var(--night-text); }
.btn-ghost:hover { border-color: var(--star); color: var(--star); }
.btn-ink { background: var(--ink); color: var(--day); }
.btn-ink:hover { background: var(--lav-deep); }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--day); }
.btns { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0; }
.tlink { font-weight: 600; color: var(--lav-deep); }
.night .tlink { color: var(--star); }
.ic { width: 22px; height: 22px; flex: none; }

/* ---------- skip link */
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--star); color: var(--midnight); padding: .75rem 1rem; border-radius: var(--r-s); font-weight: 600; }
.skip:focus { top: 1rem; }

/* ---------- header with constellation nav */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--midnight); color: var(--night-text); border-bottom: 1px solid rgba(169, 155, 255, .18); }
.head-in { max-width: 1320px; margin: 0 auto; padding: 0 1.25rem; height: var(--head-h); display: flex; align-items: center; gap: 1.5rem; }
.brand { flex: none; display: block; }
.brand img { width: 196px; height: auto; }
.cnav { position: relative; flex: 1; display: none; justify-content: center; }
.cnav ul { display: flex; gap: clamp(.5rem, 1.2vw, 1.5rem); position: relative; z-index: 1; }
.cnav li { padding-top: 0; }
.cnav a { position: relative; display: flex; flex-direction: column; align-items: center; gap: .3rem; min-height: 44px; padding: 0 .35rem; font-weight: 600; font-size: .95rem; text-decoration: none; color: var(--night-2); transition: color .2s; }
.cnav .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lav); margin-top: var(--y); margin-bottom: calc(14px - var(--y)); transition: transform .3s cubic-bezier(.2, .8, .2, 1), background-color .3s; }
.cnav a:hover, .cnav a:focus-visible { color: var(--night-text); }
.cnav a:hover .dot, .cnav a:focus-visible .dot { background: var(--star); transform: scale(1.7); }
.cnav a[aria-current="page"] { color: var(--night-text); }
.cnav a[aria-current="page"] .dot { background: var(--star); transform: scale(1.35); }
.cnav-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.cnav-lines line { stroke: var(--lav); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .8; transition: stroke-dashoffset .5s cubic-bezier(.2, .8, .2, 1); }
.cnav:hover .cnav-lines line, .cnav:focus-within .cnav-lines line { stroke-dashoffset: 0; }
.head-act { display: flex; align-items: center; gap: .6rem; margin-left: auto; }
.head-call span { font-variant-numeric: tabular-nums; }
.head-call, .head-enq { min-height: 44px; padding: .5rem 1rem; font-size: .95rem; }
.menu-btn { min-height: 44px; padding: .5rem 1.1rem; border-radius: 999px; border: 1.5px solid var(--star); background: transparent; color: var(--star); font-weight: 600; }
.menu-btn:hover { background: var(--star); color: var(--midnight); }
@media (max-width: 1199.98px) { .head-call { display: none; } }
@media (max-width: 575.98px) { .head-enq { display: none; } .brand img { width: 168px; } }
@media (min-width: 1200px) { .cnav { display: flex; } .menu-btn { display: none; } }

/* ---------- full-screen starfield menu */
.sky-menu { position: fixed; inset: 0; z-index: 80; background: var(--midnight); color: var(--night-text); overflow-y: auto; isolation: isolate; }
.sky-menu[hidden] { display: none; }
.sky-in { min-height: 100%; padding: 1rem 1.25rem 2rem; display: flex; flex-direction: column; max-width: 640px; margin: 0 auto; }
.sky-top { display: flex; justify-content: space-between; align-items: center; height: 60px; }
.menu-close { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .5rem 1rem; border-radius: 999px; border: 1.5px solid rgba(238, 237, 248, .55); background: transparent; font-weight: 600; }
.sky-links { margin: 2rem 0; }
.sky-links a { display: flex; align-items: center; gap: .9rem; padding: .7rem 0; font: 600 clamp(1.5rem, 1rem + 3vw, 2.1rem)/1.2 var(--display); text-decoration: none; border-bottom: 1px solid rgba(169, 155, 255, .2); }
.sky-links .mstar { width: 22px; height: 22px; color: var(--lav); }
.sky-links a[aria-current="page"] .mstar { color: var(--star); fill: var(--star); }
.sky-links a:hover .mstar { color: var(--star); }
.sky-act { display: grid; gap: .75rem; }
.sky-addr { margin-top: 1.5rem; color: var(--night-2); font-size: .95rem; }
@media (prefers-reduced-motion: no-preference) {
  .sky-menu.open .sky-links li { animation: rise .45s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--n, 0) * 40ms); }
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }

/* ---------- hero */
.hero { padding-top: clamp(2.5rem, 1rem + 4vw, 4.5rem); }
.hero .h1 { max-width: 15ch; }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; font-size: .95rem; margin: 0 0 .75rem; }
.st5 { display: inline-flex; gap: 2px; color: var(--star); }
.st5 .st { width: 17px; height: 17px; fill: currentColor; stroke: none; }
.day .st5 { color: #B07A00; }
.rating a { font-weight: 600; }
.status { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .8rem; border-radius: 999px; border: 1px solid var(--night-line); color: var(--night-2); font-size: .9rem; margin: 0; }
.status .ic { width: 18px; height: 18px; }
.status.is-open { color: var(--night-text); border-color: var(--star); }
.status.is-open .ic { color: var(--star); }

/* constellation of photos */
.cs { position: relative; aspect-ratio: 1; width: 100%; max-width: 560px; margin: 0 auto; }
.cs-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.cs-line { fill: none; stroke: var(--lav); stroke-width: 1.4; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.cs-spk .spk, .spk { fill: var(--night-text); opacity: .85; }
.cs-core { fill: var(--star); }
.cs-star { position: absolute; left: var(--x); top: var(--y); width: 25%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; padding: 5px; background: var(--midnight); box-shadow: 0 0 0 1.5px var(--star); }
.cs-star img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.cs-star:nth-of-type(1) { width: 29%; }
.cs-note { text-align: center; margin-left: auto; margin-right: auto; }
@media (prefers-reduced-motion: no-preference) {
  .cs-line { stroke-dashoffset: 1; animation: draw 2.4s .3s cubic-bezier(.45, 0, .2, 1) forwards; }
  .cs-core { animation: pop .5s 2.5s cubic-bezier(.16, 1, .3, 1) both; transform-origin: 280px 280px; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(0); } }
@media (max-width: 991.98px) { .cs { max-width: 420px; margin-top: 1rem; } }

/* ---------- visit strip */
.visit .h4 { display: flex; align-items: center; gap: .5rem; font: 600 1.1rem/1.3 var(--display); }
.visit .h4 .ic { color: var(--lav-deep); }
.visit-row { margin-top: .5rem; }
.visit-col { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.big-tel { font: 600 1.6rem/1.2 var(--display); text-decoration: none; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours caption { caption-side: bottom; text-align: left; font-size: .85rem; color: var(--ink-2); padding-top: .6rem; }
.hours th, .hours td { padding: .4rem .6rem; text-align: left; font-weight: 400; border-bottom: 1px solid var(--line); }
.hours td { text-align: right; }
.hours tr.today th, .hours tr.today td { background: var(--midnight); color: var(--night-text); font-weight: 600; }
.hours tr.today th { border-radius: 8px 0 0 8px; }
.hours tr.today td { border-radius: 0 8px 8px 0; color: var(--star); }
.hours-s th, .hours-s td { padding: .3rem .5rem; font-size: .95rem; }

/* ---------- learning constellation */
.lc-map { position: relative; aspect-ratio: 580 / 430; margin-top: 1.5rem; }
.lc-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lc-svg line { stroke: var(--night-line); stroke-width: 1.2; transition: stroke .3s; }
.lc-svg line.on { stroke: var(--star); stroke-width: 1.6; }
.lc-star { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: .45rem; padding: .3rem; min-width: 44px; min-height: 44px; border: 0; background: none; color: var(--night-2); font-weight: 600; font-size: .9rem; line-height: 1.2; text-align: center; }
.lc-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--midnight); box-shadow: 0 0 0 2px var(--lav); transition: transform .3s cubic-bezier(.16, 1, .3, 1), background-color .3s, box-shadow .3s; }
.lc-label { max-width: 9.5em; padding: .1rem .35rem; border-radius: 6px; background: var(--midnight); }
.lc-star:hover .lc-dot { background: var(--lav); }
.lc-star[aria-selected="true"] { color: var(--night-text); }
.lc-star[aria-selected="true"] .lc-dot { background: var(--star); box-shadow: 0 0 0 2px var(--star), 0 0 0 7px rgba(255, 212, 92, .18); transform: scale(1.25); }
.lc-panel img { border-radius: var(--r-m); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-bottom: 1.25rem; }
.lc-panel .hi { display: block; font: 600 1rem/1.4 var(--body); color: var(--star); margin-top: .3rem; }
.lc-panel p { color: var(--night-2); }
@media (prefers-reduced-motion: no-preference) { .lc-panel:not([hidden]) { animation: rise .4s cubic-bezier(.2, .8, .2, 1); } }
@media (max-width: 575.98px) {
  .lc-star { font-size: .78rem; }
  .lc-label { max-width: 7em; }
}

/* ---------- voices */
.voice-list { display: grid; gap: 2rem; }
.voice blockquote { margin: 0; }
.voice blockquote p { font: 600 clamp(1.2rem, 1rem + .9vw, 1.6rem)/1.35 var(--display); letter-spacing: -.01em; margin-bottom: .5rem; }
.voice figcaption { color: var(--ink-2); font-size: .95rem; }
.voice + .voice { border-top: 1px solid var(--line); padding-top: 2rem; }
.voice-l { margin: 1.5rem 0; }

/* ---------- admission teaser: orbit steps */
.orbit-steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin: 1.5rem 0 2rem; position: relative; }
.orbit-steps::before { content: ""; position: absolute; left: 24px; right: 24px; top: 23px; border-top: 1.5px dashed var(--lav-deep); opacity: .45; }
.orbit-steps li { position: relative; }
.orbit-steps .n, .ob-n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: var(--star); font: 600 1.1rem/1 var(--display); margin-bottom: .9rem; position: relative; }
.orbit-steps p { color: var(--ink-2); font-size: .975rem; }
@media (max-width: 767.98px) {
  .orbit-steps { grid-template-columns: 1fr; gap: .5rem; }
  .orbit-steps::before { left: 23px; right: auto; top: 24px; bottom: 24px; border-top: 0; border-left: 1.5px dashed var(--lav-deep); }
  .orbit-steps li { padding-left: 64px; min-height: 64px; }
  .orbit-steps .n { position: absolute; left: 0; top: 0; }
}
.notice { background: var(--day-2); border-radius: var(--r-m); padding: 1.5rem; }
.sample-tag { display: inline-block; font-size: .8rem; font-weight: 600; padding: .15rem .6rem; border-radius: 999px; border: 1px dashed var(--lav-deep); color: var(--lav-deep); margin-bottom: .75rem; }
.sample-n { border-color: var(--lav); color: var(--lav); }

/* placeholder notes */
.todo { border: 1.5px dashed var(--lav-deep); border-radius: var(--r-s); padding: .9rem 1rem; color: var(--ink-2); font-size: .975rem; background: rgba(75, 63, 176, .04); max-width: 60ch; }
.todo-tag { display: block; font-size: .8rem; font-weight: 600; color: var(--lav-deep); margin-bottom: .2rem; }
.night .todo { border-color: var(--lav); color: var(--night-2); background: rgba(169, 155, 255, .06); }
.night .todo-tag { color: var(--lav); }

/* mini chart teaser */
.mini-chart { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; position: relative; padding-top: 1rem; }
.mini-chart li { display: flex; flex-direction: column; gap: .35rem; padding: 1rem .75rem; border-radius: var(--r-m); background: var(--midnight); color: var(--night-2); font-size: .9rem; line-height: 1.3; }
.mini-chart li:nth-child(odd) { transform: translateY(-1rem); }
.mini-chart span { font: 600 1.35rem/1 var(--display); color: var(--star); }
@media (max-width: 575.98px) { .mini-chart { grid-template-columns: repeat(2, 1fr); } .mini-chart li:nth-child(odd) { transform: none; } }

/* ---------- bedtime */
.bedtime { background: var(--midnight-3); }
.moon { position: absolute; right: 7%; bottom: 3rem; width: clamp(70px, 9vw, 130px); aspect-ratio: 1; border-radius: 50%; background: var(--star); z-index: -1; overflow: hidden; }
.moon span { position: absolute; width: 100%; height: 100%; border-radius: 50%; background: var(--midnight-3); left: 28%; top: -14%; }
.bt-photo { margin-top: 1.5rem; }
.bt-photo img { border-radius: var(--r-m); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.bt-photo figcaption, .tilt-photo figcaption, .moon-photo figcaption, .sc-photo figcaption { font-size: .8rem; color: var(--night-2); margin-top: .5rem; }
.day .tilt-photo figcaption, .day .moon-photo figcaption { color: var(--ink-2); }
.tips { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem 2rem; }
.tips li { display: flex; gap: .9rem; }
.tips .tip-star { width: 22px; height: 22px; color: var(--star); fill: var(--star); margin-top: .1rem; }
.tips p { color: var(--night-2); font-size: .975rem; margin: 0; }
@media (max-width: 767.98px) { .tips { grid-template-columns: 1fr; } .moon { top: 2rem; bottom: auto; right: 1.25rem; width: 56px; } }

/* ---------- footer */
.site-foot { position: relative; isolation: isolate; background: var(--midnight-3); color: var(--night-2); padding: 4rem 0 2rem; border-top: 1px solid rgba(169, 155, 255, .18); font-size: .975rem; }
.foot-logo { width: 230px; margin-bottom: 1.25rem; }
.foot-addr { color: var(--night-text); }
.foot-hours { display: flex; gap: .5rem; }
.foot-h { font: 600 1rem/1.3 var(--display); color: var(--night-text); margin-bottom: 1rem; }
.foot-list a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; text-decoration: none; }
.foot-list a:hover { color: var(--star); }
.foot-list .ic { width: 18px; height: 18px; }
.foot-base { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(169, 155, 255, .18); font-size: .875rem; }
.foot-base p { margin-bottom: .4rem; }

/* ---------- breadcrumbs */
.crumb { font-size: .9rem; color: var(--ink-2); margin-bottom: 1.25rem; }
.crumb a { color: var(--lav-deep); font-weight: 600; }
.crumb-n { color: var(--night-2); }
.crumb-n a { color: var(--star); }

/* ---------- about */
.about-head { padding-top: clamp(2.5rem, 1rem + 4vw, 4.5rem); }
.moon-photo { position: relative; max-width: 420px; margin: 0 auto; }
.moon-photo img, .day .moon-photo img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; width: 100%; }
.moon-bite { position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--midnight); right: -4%; top: -2%; box-shadow: 0 0 0 8px var(--day); }
.moon-bite::after { content: ""; position: absolute; width: 18%; aspect-ratio: 1; border-radius: 50%; background: var(--star); left: 30%; top: 34%; }
.facts { border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 8rem 1fr; gap: .2rem 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.f-k { font-weight: 600; }
.f-s { grid-column: 2; font-size: .85rem; color: var(--lav-deep); }
.pending { display: grid; gap: .5rem; margin-bottom: 1.25rem; }
.pending li { border: 1.5px dashed var(--lav-deep); border-radius: var(--r-s); padding: .55rem .9rem; color: var(--ink-2); }
@media (max-width: 575.98px) { .facts li { grid-template-columns: 1fr; } .f-s { grid-column: 1; } }
.tilt-photo { max-width: 380px; margin: 0 auto; transform: rotate(-2deg); }
.tilt-photo img { border-radius: var(--r-m); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.tilt-r { transform: rotate(2deg); }
.fig-r img { border-radius: var(--r-m); }
.day figure .small { margin-top: .5rem; }

/* ---------- academics */
.acad-head .h1 { max-width: 22ch; }
.acad-head .lead-n { margin-bottom: 2.5rem; }
.arc { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; max-width: 900px; margin: 0 auto; position: relative; }
.arc { gap: 0; }
.arc-line { position: absolute; left: 0; top: 0; width: 100%; height: 66px; overflow: visible; }
.arc-line path { fill: none; stroke: var(--night-line); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.arc li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .25rem; position: relative; padding-top: calc(var(--i) * 0px); }
.arc li:first-of-type, .arc li:last-of-type { padding-top: 44px; }
.arc-star { width: 22px; height: 22px; border-radius: 50%; background: var(--star); box-shadow: 0 0 0 6px var(--midnight); margin-bottom: .5rem; }
.arc b { font: 600 1rem/1.25 var(--display); }
.arc span:last-child { color: var(--night-2); font-size: .9rem; }
@media (max-width: 767.98px) { .arc { grid-template-columns: 1fr 1fr; row-gap: 1.5rem; } .arc-line { display: none; } .arc li:first-of-type, .arc li:last-of-type { padding-top: 0; } }
.plain-list { display: grid; gap: 1.5rem; }
.plain-list li { border-top: 1px solid var(--line); padding-top: 1rem; }
.plain-list p { color: var(--ink-2); margin: 0; }

/* star chart */
.sc-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin: 1.5rem 0; }
.sc-tabs button { display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .75rem .25rem; min-height: 64px; border-radius: var(--r-s); border: 1.5px solid var(--night-line); background: transparent; color: var(--night-2); }
.sc-age { font: 600 1.15rem/1 var(--display); color: var(--night-text); }
.sc-yr { font-size: .8rem; }
.sc-tabs button[aria-selected="true"] { background: var(--star); border-color: var(--star); color: var(--midnight); }
.sc-tabs button[aria-selected="true"] .sc-age { color: var(--midnight); }
.sc-tabs button:hover { border-color: var(--star); }
.sc-photo { max-width: 300px; }
.sc-photo img { border-radius: var(--r-m); aspect-ratio: 4 / 5; object-fit: cover; }
.sc-list { display: grid; gap: 0; border-top: 1px solid rgba(169, 155, 255, .25); }
.sc-list li { display: grid; grid-template-columns: 28px 9rem 1fr; gap: 1rem; align-items: baseline; padding: 1.1rem 0; border-bottom: 1px solid rgba(169, 155, 255, .25); }
.sc-star { width: 22px; height: 22px; color: var(--star); fill: var(--star); transform: translateY(4px) scale(calc(.75 + var(--c) * .08)); }
.sc-area { font-weight: 600; color: var(--lav); }
.sc-text { color: var(--night-text); }
@media (max-width: 575.98px) { .sc-list li { grid-template-columns: 28px 1fr; } .sc-text { grid-column: 2; } }
@media (prefers-reduced-motion: no-preference) { .sc-panel:not([hidden]) li { animation: rise .4s cubic-bezier(.2, .8, .2, 1) both; } .sc-panel li:nth-child(2) { animation-delay: 40ms; } .sc-panel li:nth-child(3) { animation-delay: 80ms; } .sc-panel li:nth-child(4) { animation-delay: 120ms; } .sc-panel li:nth-child(5) { animation-delay: 160ms; } }

/* ---------- admissions: orbit header */
.adm-head-act { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: flex-start; }
@media (min-width: 992px) { .adm-head-act { justify-content: flex-end; } }
.orbit { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; position: relative; }
.orbit::before { content: ""; position: absolute; left: 0; right: 0; top: 24px; border-top: 1.5px solid var(--night-line); }
.orbit li { position: relative; }
.orbit .ob-n { background: var(--star); color: var(--midnight); box-shadow: 0 0 0 8px var(--midnight); }
.orbit .h4 { font: 600 1.05rem/1.3 var(--display); color: var(--night-text); }
.orbit p { color: var(--night-2); font-size: .95rem; }
@media (max-width: 991.98px) { .orbit { grid-template-columns: 1fr 1fr; } .orbit::before { display: none; } .orbit li { padding-top: 0; } }
@media (max-width: 575.98px) { .orbit { grid-template-columns: 1fr; gap: 1rem; } .orbit li { padding-left: 64px; } .orbit .ob-n { position: absolute; left: 0; top: 0; box-shadow: none; } }
.age-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.age-table th, .age-table td { padding: .9rem .5rem; border-bottom: 1px solid var(--line); text-align: left; }
.age-table thead th { font-size: .85rem; color: var(--ink-2); font-weight: 600; }
.age-table tbody th { font-weight: 600; }
.age-table a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; color: var(--lav-deep); }
@media (max-width: 575.98px) { .age-table td:last-child a { font-size: .9rem; } }
.docs { display: grid; gap: .5rem; }
.docs label { display: flex; align-items: center; gap: .9rem; min-height: 52px; padding: .6rem 1rem; border-radius: var(--r-s); background: var(--day-2); cursor: pointer; }
.docs input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.docs .box { width: 26px; height: 26px; border-radius: 7px; border: 2px solid var(--ink); display: grid; place-items: center; flex: none; }
.docs .box .ic { width: 18px; height: 18px; opacity: 0; color: var(--star); }
.docs input:checked + .box { background: var(--midnight); border-color: var(--midnight); }
.docs input:checked + .box .ic { opacity: 1; }
.docs input:checked ~ * { }
.docs input:focus-visible + .box { outline: 3px solid var(--lav-deep); outline-offset: 2px; }
.doc-act { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0 .5rem; }
.faq { border-bottom: 1px solid var(--line); }
.faq:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 0; cursor: pointer; list-style: none; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .h4 { margin: 0; font-size: 1.075rem; }
.faq .chev { transition: transform .25s; color: var(--lav-deep); }
.faq[open] .chev { transform: rotate(90deg); }
.faq p { color: var(--ink-2); max-width: 62ch; }

/* ---------- form */
.form-sec { background: var(--day); }
.enquiry { background: #fff; border-radius: 24px; padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(27, 31, 58, .35); }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; }
.opt { font-weight: 400; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: .7rem .9rem; border-radius: var(--r-s); border: 1.5px solid #B9B5D3; background: var(--day); caret-color: var(--lav-deep); transition: border-color .2s; }
.field textarea { min-height: 100px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink-2); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--lav-deep); outline: 3px solid rgba(75, 63, 176, .25); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: #B3261E; background: #FFF6F5; }
.field input::placeholder, .field textarea::placeholder { color: #6B6F8C; }
.hint { font-size: .85rem; color: var(--ink-2); margin: .35rem 0 0; }
.err { font-size: .9rem; color: #B3261E; font-weight: 600; margin: .35rem 0 0; }
.err:empty { display: none; }
.form-err { border: 1.5px solid #B3261E; border-radius: var(--r-s); padding: .9rem 1rem; margin-bottom: 1.25rem; color: #B3261E; background: #FFF6F5; }
.form-err ul { list-style: disc; padding-left: 1.25rem; margin-top: .3rem; }
.form-err a { color: #B3261E; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }
.form-foot .small { margin: 0; }
.form .btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.form-ok, .form-fail { margin-top: 1.5rem; border-radius: var(--r-m); padding: 1.25rem 1.5rem; }
.form-ok { background: var(--midnight); color: var(--night-text); }
.form-ok h3, .form-fail h3 { font: 600 1.15rem/1.3 var(--display); }
.form-ok a { color: var(--star); }
.form-fail { border: 1.5px solid #B3261E; background: #FFF6F5; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form.sent .row, .form.sent .form-foot { display: none; }

/* ---------- campus */
.campus-head { padding-top: clamp(2.5rem, 1rem + 4vw, 4.5rem); }
.wide-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.timeline { position: relative; display: grid; gap: 0; }
.timeline::before { content: ""; position: absolute; left: 4.6rem; top: .6rem; bottom: .6rem; border-left: 1.5px solid var(--night-line); }
.timeline li { display: grid; grid-template-columns: 4rem 1fr; gap: 1.5rem; padding: .9rem 0; position: relative; }
.timeline li::before { content: ""; position: absolute; left: calc(4.6rem - 6px); top: 1.35rem; width: 12px; height: 12px; border-radius: 50%; background: var(--star); box-shadow: 0 0 0 5px var(--midnight); }
.timeline .t { font: 600 1rem/1.6 var(--display); color: var(--star); font-variant-numeric: tabular-nums; }
.timeline .h4 { color: var(--night-text); }
.timeline p { color: var(--night-2); margin: 0; }
.timeline li > div { padding-left: .75rem; }
.expect { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.expect li { display: flex; gap: .7rem; align-items: flex-start; padding: 1rem; border-radius: var(--r-s); border: 1.5px dashed #B9B5D3; color: var(--ink-2); }
.expect .ic { color: var(--lav-deep); width: 20px; height: 20px; margin-top: .15rem; }
@media (max-width: 575.98px) { .expect { grid-template-columns: 1fr; } }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 1.5rem; }
.g-btn { display: block; width: 100%; padding: 0; border: 0; background: none; border-radius: var(--r-m); overflow: hidden; }
.g-btn img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.g-btn:hover img { transform: scale(1.04); }
.gallery li:nth-child(4n+2) { transform: translateY(1.25rem); }
.gallery li:nth-child(4n+4) { transform: translateY(.6rem); }
@media (max-width: 767.98px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery li { transform: none !important; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1000px, 94vw); width: 100%; color: var(--night-text); }
.lightbox::backdrop { background: rgba(15, 20, 41, .92); }
.lightbox img { width: 100%; height: auto; border-radius: var(--r-m); }
.lightbox figcaption { padding: .75rem 0; font-size: .95rem; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--star); color: var(--midnight); }
.lb-close { top: .75rem; right: .75rem; }
.lb-prev { left: .75rem; top: 40%; }
.lb-next { right: .75rem; top: 40%; }

/* ---------- contact */
.mega-tel { display: inline-flex; align-items: center; gap: .9rem; margin: .5rem 0 1.25rem; font: 600 clamp(2rem, 1.2rem + 3.5vw, 3.6rem)/1.1 var(--display); color: var(--star); text-decoration: none; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.mega-tel .ic { width: .8em; height: .8em; }
.mega-tel:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.c-acts { display: grid; gap: .75rem; }
.c-acts a { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; border-radius: var(--r-m); border: 1.5px solid var(--night-line); text-decoration: none; transition: border-color .2s; }
.c-acts a:hover { border-color: var(--star); }
.c-acts .ic { color: var(--star); }
.c-acts b { display: block; color: var(--night-text); }
.c-acts span { color: var(--night-2); font-size: .95rem; }
.map-box { position: relative; border-radius: var(--r-m); overflow: hidden; background: var(--midnight); color: var(--night-text); min-height: 360px; display: flex; align-items: flex-end; isolation: isolate; }
.map-box::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .6;
  background-image: radial-gradient(circle at 50% 56px, var(--star) 0 8px, rgba(255, 212, 92, .25) 9px 16px, transparent 17px); }
.map-card { padding: 108px 1.5rem 1.5rem; width: 100%; }
.map-card .small { color: var(--night-2); }
.map-name { font: 600 1.15rem/1.3 var(--display); }
.map-card .btn-ink { background: var(--star); color: var(--midnight); }
.map-card .btn-line { border-color: rgba(238, 237, 248, .55); color: var(--night-text); }
.map-card .btn-line:hover { background: transparent; border-color: var(--star); color: var(--star); }
.map-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-box.loaded { min-height: 420px; }

/* simple pages */
.simple { min-height: 60vh; }
.simple .h3 { margin-top: 2rem; }
.simple-n { display: flex; align-items: center; }

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

@media (max-width: 575.98px) { .container { padding-left: 1.25rem; padding-right: 1.25rem; } }
.next-box { border-top: 1px solid var(--line); padding-top: 1.25rem; }
.next-box ol { list-style: decimal; padding-left: 1.25rem; color: var(--ink-2); }
.next-box li { margin-bottom: .6rem; }
.f-s a { color: var(--lav-deep); }
.big-tel, .head-call { white-space: nowrap; }
.age-table td:nth-child(2) { white-space: nowrap; }
.notice .todo { border: 0; border-top: 1.5px dashed var(--lav-deep); border-radius: 0; background: none; padding: .9rem 0 0; margin: 0; }
.map-box .sky { opacity: .9; }
.simple p { max-width: 36rem; }
