/* Rising Kids School: "Ready for liftoff". A bright daytime launch: pad, rocket, countdown, smoke.
   Flat colour, no gradients. Tilt Warp for headings only, Inria Sans for everything else.
   Palette: ground #F6F8FC, ink #14213D, navy #1B2A4A, rocket orange #FF6B35, white, flame yellow #FFC93C, sky #A9D6F5. */
:root {
  --ground: #F6F8FC; --ink: #14213D; --navy: #1B2A4A; --white: #FFFFFF;
  --orange: #FF6B35; --orange-deep: #B33C0C; --yellow: #FFC93C; --sky: #A9D6F5;
  --sky-soft: #E3F1FC; --orange-soft: #FFE9DF; --yellow-soft: #FFF3CC; --line: #D3DCEB; --muted: #3F4D6B;
  --display: "Tilt Warp", "Trebuchet MS", system-ui, sans-serif;
  --body: "Inria Sans", "Segoe UI", system-ui, sans-serif;
  --hi: "Noto Sans Devanagari", "Inria Sans", sans-serif;
  --r: 16px;
  --head-h: 68px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--body); font-size: 1.12rem; font-weight: 400; line-height: 1.55; padding-bottom: 76px; }
body.sheet-open { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--orange-deep); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--ink); }
p { margin: 0 0 1rem; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h1, h2, .h2 { font-family: var(--display); line-height: 1.12; color: var(--ink); letter-spacing: -.005em; }
h1 { font-size: clamp(2.2rem, 9.4vw, 4.1rem); }
.h2 { font-size: clamp(1.8rem, 6vw, 2.7rem); margin-bottom: .5rem; }
.h3 { font-family: var(--body); font-weight: 700; font-size: 1.35rem; line-height: 1.25; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible, .foot :focus-visible, .sheet :focus-visible { outline-color: var(--yellow); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 300; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 10px; font-weight: 700; }
.skip:hover { color: #fff; }
.skip:focus { top: 10px; color: #fff; outline-color: var(--yellow); }
[lang="hi"] { font-family: var(--hi); font-weight: 500; }
.lead { font-size: 1.25rem; max-width: 36rem; }
.lead-s { font-size: 1.15rem; max-width: 40rem; }
.note { font-size: 1rem; color: var(--muted); max-width: 42rem; }
.cap { font-size: .92rem; color: var(--muted); margin: .6rem 0 0; }
.hi-line { font-size: 1.2rem; font-weight: 600; color: var(--muted); margin: .35rem 0 .9rem; }
.sec { padding: 56px 0; }
.sec-head { max-width: 44rem; margin-bottom: 1.8rem; }
.kicker { display: inline-flex; align-items: center; gap: .5rem; font: 700 .86rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--orange-deep); margin-bottom: .7rem; }
.kicker::before { content: ""; width: 26px; height: 3px; background: var(--orange); border-radius: 2px; }
.dark .kicker { color: var(--yellow); }
.dark .kicker::before { background: var(--yellow); }

/* ------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 52px; padding: .6rem 1.25rem; border: 2px solid var(--ink); border-radius: 14px; font: 700 1.05rem/1.1 var(--body); text-decoration: none; cursor: pointer; transition: transform .15s ease, background-color .15s ease, color .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.ic { flex: none; width: 1.2rem; height: 1.2rem; }
.btn-go { background: var(--orange); color: var(--ink); }
.btn-go:hover { background: var(--ink); color: var(--yellow); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--ink); color: var(--yellow); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--ink); border-color: #fff; }
.btn-white:hover { background: var(--yellow); color: var(--ink); }
.btn:disabled { opacity: .7; cursor: default; transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.3rem 0; }

/* ------------------------------------------------------------ header: countdown strip */
.top { position: sticky; top: 0; z-index: 100; background: var(--ground); border-bottom: 2px solid transparent; transition: border-color .2s ease; }
.top.is-scrolled { border-bottom-color: var(--ink); }
.top-row { display: flex; align-items: center; gap: 16px; min-height: var(--head-h); }
.brand { display: block; flex: none; }
.brand img { height: 52px; width: auto; }
.strip { display: none; margin-left: auto; }
.strip ul { display: flex; align-items: stretch; background: var(--navy); border-radius: 14px; padding: 5px; gap: 4px; }
.cd { display: flex; align-items: center; gap: .5rem; padding: 6px 12px 6px 7px; border-radius: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1rem; line-height: 1; transition: background-color .15s ease; }
.cd:hover { background: #2C3E66; color: #fff; }
.cd-n { display: inline-grid; place-items: center; width: 30px; height: 34px; border-radius: 7px; background: #0E1830; color: var(--yellow); font: 400 1.25rem/1 var(--display); border: 1px solid #3B4D78; }
.cd[aria-current="page"] { background: #fff; color: var(--ink); }
.cd[aria-current="page"] .cd-n { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.cd-go { background: var(--orange); color: var(--ink); }
.cd-go:hover { background: var(--yellow); color: var(--ink); }
.cd-go .cd-n { background: var(--navy); color: #fff; border-color: var(--navy); font-size: .95rem; width: 38px; }
.cd-go[aria-current="page"] { background: #fff; }
.top-call { display: none; }
.menu-btn { display: inline-flex; align-items: center; gap: .5rem; margin-left: auto; min-height: 48px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 12px; background: var(--yellow); color: var(--ink); font: 700 1.05rem/1 var(--body); cursor: pointer; }
.menu-btn:hover { background: var(--ink); color: var(--yellow); }
@media (min-width: 992px) {
  .strip { display: block; }
  .menu-btn { display: none; }
  .top-call { display: inline-flex; min-height: 48px; padding: .4rem .9rem; }
  .top-row { gap: 12px; }
  .brand img { height: 54px; }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .cd { padding-right: 9px; font-size: .92rem; gap: .35rem; }
  .cd-n { width: 26px; height: 30px; font-size: 1.1rem; }
  .brand img { height: 46px; }
  .top-call span { display: none; }
  .top-call { padding: 0 .8rem; }
}

/* ------------------------------------------------------------ phone sheet: a launch gantry that rises */
.sheet { position: fixed; inset: 0; z-index: 200; background: var(--navy); color: #fff; overflow-y: auto; transform: translateY(100%); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.sheet[hidden] { display: none; }
.sheet.is-open { transform: none; }
.gantry { position: absolute; top: 0; bottom: 0; left: 0; width: 46px; background-color: #22345C; background-image:
  linear-gradient(#5C73A6, #5C73A6),
  linear-gradient(45deg, transparent 47%, #5C73A6 47%, #5C73A6 53%, transparent 53%),
  linear-gradient(-45deg, transparent 47%, #5C73A6 47%, #5C73A6 53%, transparent 53%);
  background-size: 4px 100%, 46px 46px, 46px 46px; background-position: right top, 0 0, 0 0; background-repeat: no-repeat, repeat, repeat; }
.gantry::after { content: ""; position: absolute; top: 118px; left: 100%; width: 46px; height: 12px; background: #5C73A6; border-radius: 0 6px 6px 0; }
.sheet-inner { position: relative; padding: 18px 20px 28px 76px; min-height: 100%; display: flex; flex-direction: column; }
.sheet-close { align-self: flex-end; display: inline-flex; align-items: center; gap: .5rem; min-height: 48px; padding: 0 16px; border: 2px solid #fff; border-radius: 12px; background: transparent; color: #fff; font: 700 1.05rem/1 var(--body); cursor: pointer; }
.sheet-close:hover { background: #fff; color: var(--ink); }
.sheet-t { font: 400 .9rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin: 18px 0 8px; font-weight: 700; }
.sheet-links li { border-top: 1px solid #3B4D78; }
.sheet-links li:last-child { border-bottom: 1px solid #3B4D78; }
.sl { display: flex; align-items: center; gap: 16px; min-height: 60px; color: #fff; text-decoration: none; font: 400 1.6rem/1.1 var(--display); }
.sl-n { display: inline-grid; place-items: center; width: 40px; height: 44px; border-radius: 8px; background: #0E1830; color: var(--yellow); font-size: 1.4rem; border: 1px solid #3B4D78; }
.sl:hover, .sl[aria-current="page"] { color: var(--yellow); }
.sl[aria-current="page"] .sl-n { background: var(--yellow); color: var(--ink); }
.sheet-addr { margin: 20px 0 14px; color: #D4DEF2; font-size: 1rem; }
.sheet-acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
@media (min-width: 992px) { .sheet { display: none !important; } }

/* ------------------------------------------------------------ bottom dock (phones) */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: flex; background: var(--navy); border-top: 2px solid var(--ink); padding-bottom: env(safe-area-inset-bottom); }
.dock a { flex: 1; display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 62px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.05rem; }
.dock a + a { border-left: 1px solid #3B4D78; }
.dock a:last-child { background: var(--orange); color: var(--ink); }
.dock a:hover { background: var(--yellow); color: var(--ink); }
@media (min-width: 992px) { .dock { display: none; } body { padding-bottom: 0; } }

/* ------------------------------------------------------------ hero */
.hero { position: relative; padding: 16px 0 36px; overflow: hidden; }
.hero-row { align-items: center; }
.chip { display: inline-flex; align-items: center; gap: .5rem; background: var(--yellow-soft); border: 2px solid var(--ink); border-radius: 999px; padding: 5px 14px 5px 10px; font-weight: 700; font-size: .95rem; margin-bottom: .9rem; }
.chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.hero h1 .swash { position: relative; display: inline-block; z-index: 0; white-space: nowrap; }
.hero h1 .swash::after { content: ""; position: absolute; left: -.06em; right: -.06em; bottom: .04em; height: .34em; background: var(--yellow); border-radius: .2em; z-index: -1; }
.open-note { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .6rem; font-weight: 700; margin: 0 0 1rem; }
.open-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--muted); flex: none; }
[data-state="open"] .open-dot { background: #1D8A4E; }
[data-state="closed"] .open-dot { background: var(--orange-deep); }
.open-src { font-weight: 400; font-size: .92rem; color: var(--muted); }
.rating { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-top: .4rem; }
.rating:hover { color: var(--ink); }
.rating:hover .rating-txt strong { text-decoration: underline; }
.rating-badge { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--yellow); font: 400 1.35rem/1 var(--display); border: 3px solid var(--sky); }
.rating-txt { display: flex; flex-direction: column; font-size: .95rem; line-height: 1.3; }
.rating-txt strong { font-size: 1.05rem; }
.rating-txt span { color: var(--muted); }

/* the launch scene */
.scene-wrap { position: relative; max-width: 520px; margin-inline: auto; }
.scene { position: relative; aspect-ratio: 520 / 600; border-radius: 28px; overflow: hidden; background: var(--sky); border: 2px solid var(--ink); }
.scene > svg, .rocket, .smoke { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene .cloud { animation: drift 40s linear infinite; }
.scene .cloud-2 { animation-duration: 56s; animation-direction: reverse; }
@keyframes drift { from { transform: translateX(-20px); } 50% { transform: translateX(26px); } to { transform: translateX(-20px); } }
.rocket { transition: transform 1.5s cubic-bezier(.5, 0, .9, .4), opacity 1.5s ease; }
.rocket .flame { opacity: 0; transform-origin: 300px 480px; transform: scaleY(.2); transition: opacity .3s ease, transform .4s ease; }
.rocket-photo { position: absolute; left: 47.6%; top: 35.4%; width: 20.2%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--sky); }
.rocket-photo img { width: 100%; height: 100%; object-fit: cover; }
.smoke circle { fill: #fff; transform-box: fill-box; transform-origin: center bottom; transform: scale(.4); opacity: 0; transition: transform 1.6s ease-out, opacity 1.6s ease-out; }
.smoke circle.sh { fill: #DCE9F7; }
.scene[data-phase="2"] .smoke circle, .scene[data-phase="1"] .smoke circle { transform: scale(.8); opacity: .9; }
.scene[data-phase="go"] .smoke circle { transform: scale(1.5) translateY(-6px); opacity: .9; }
.scene[data-phase="go"] .rocket { transform: translateY(-34%); opacity: 0; }
.scene[data-phase="go"] .flame { opacity: 1; transform: scaleY(1.1); }
.scene[data-phase="reset"] .rocket { transition: none; opacity: 0; }
.scene[data-phase="reset"] .smoke circle { transition: none; }
.scene[data-phase="3"] .flame, .scene[data-phase="2"] .flame, .scene[data-phase="1"] .flame { opacity: 1; transform: scaleY(.45); }
.countdown { position: absolute; left: 14px; top: 14px; z-index: 3; display: flex; align-items: center; gap: 8px; background: var(--navy); color: #fff; border-radius: 12px; padding: 7px 12px 7px 10px; border: 2px solid var(--ink); }
.cd-label { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #C9D5EE; line-height: 1.1; }
.cd-digit { display: grid; place-items: center; min-width: 46px; height: 40px; padding: 0 6px; border-radius: 8px; background: #0E1830; color: var(--yellow); font: 400 1.7rem/1 var(--display); }
.replay { position: absolute; right: 12px; top: 12px; z-index: 3; min-height: 44px; padding: 0 12px; border: 2px solid var(--ink); border-radius: 12px; background: #fff; color: var(--ink); font: 700 .9rem/1 var(--body); cursor: pointer; }
.replay:hover { background: var(--yellow); }
.replay[hidden] { display: none; }
.scene-cap { margin: .7rem 0 0; font-size: .85rem; color: var(--muted); text-align: center; }
@media (max-width: 991.98px) {
  .scene-wrap { max-width: 330px; }
  .hero { padding-top: 10px; }
}
@media (max-width: 575.98px) {
  .scene-wrap { max-width: 240px; }
  .actions .btn { flex: 1 1 auto; }
  .actions .btn-go { flex-basis: 100%; }
  .scene { border-radius: 20px; }
  .countdown { left: 8px; top: 8px; padding: 4px 8px 4px 6px; gap: 5px; }
  .cd-label { display: none; }
  .cd-digit { min-width: 38px; height: 32px; font-size: 1.35rem; }
  .replay { right: 8px; top: 8px; min-height: 44px; padding: 0 10px; font-size: .82rem; }
  .scene-cap { display: none; }
}

/* ------------------------------------------------------------ facts bar */
.facts { background: var(--navy); color: #fff; }
.facts-row { display: grid; grid-template-columns: 1fr; }
.fact { padding: 18px 4px; border-top: 1px solid #3B4D78; display: flex; gap: 14px; align-items: center; }
.fact:first-child { border-top: 0; }
.fact-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); color: var(--ink); }
.fact b { display: block; font-size: 1.05rem; }
.fact span { color: #D4DEF2; font-size: .98rem; }
.fact a { color: #fff; }
.fact a:hover { color: var(--yellow); }
@media (min-width: 768px) { .facts-row { grid-template-columns: repeat(3, 1fr); } .fact { border-top: 0; border-left: 1px solid #3B4D78; padding: 22px 22px; } .fact:first-child { border-left: 0; padding-left: 0; } }

/* ------------------------------------------------------------ dashed placeholders ("to be provided by the school") */
.tbc { border: 2px dashed #6C7BA0; border-radius: 14px; padding: 18px 20px; background: var(--white); }
.tbc-title { font: 700 1.15rem/1.3 var(--body); margin: 0 0 .35rem; }
.tbc p { margin: 0 0 .5rem; }
.tbc-tag { display: inline-block; margin: .2rem 0 0 !important; padding: 3px 10px; border-radius: 999px; background: var(--yellow-soft); border: 1px solid #D9B44A; font-size: .82rem; font-weight: 700; letter-spacing: .02em; }
.dark .tbc { background: transparent; border-color: #8497C4; }
.dark .tbc-tag { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }

/* ------------------------------------------------------------ home: mission stages as a rising staircase */
.stairs { display: grid; gap: 14px; counter-reset: st; }
.stair { position: relative; background: var(--white); border: 2px solid var(--ink); border-radius: 18px; padding: 18px 18px 20px; }
.stair-n { display: inline-grid; place-items: center; min-width: 54px; height: 44px; padding: 0 12px; border-radius: 10px; background: var(--navy); color: var(--yellow); font: 400 1.5rem/1 var(--display); margin-bottom: .6rem; }
.stair h3 { font: 400 1.5rem/1.15 var(--display); margin-bottom: .2rem; }
.stair .age { font-weight: 700; color: var(--orange-deep); font-size: .98rem; margin-bottom: .5rem; }
.stair p { margin: 0; font-size: 1.02rem; }
.stair-1 { background: var(--sky-soft); }
.stair-2 { background: var(--white); }
.stair-3 { background: var(--yellow-soft); }
.stair-4 { background: var(--orange-soft); }
@media (min-width: 992px) {
  .stairs { grid-template-columns: repeat(4, 1fr); align-items: end; gap: 16px; padding-top: 108px; }
  .stair-2 { transform: translateY(-36px); } .stair-3 { transform: translateY(-72px); } .stair-4 { transform: translateY(-108px); }
  .stairs { margin-top: 0; }
}
.stairs-photo { margin-top: 28px; }
.stairs-photo img { border-radius: 22px; border: 2px solid var(--ink); width: 100%; }

/* ------------------------------------------------------------ reviews */
.dark { background: var(--navy); color: #fff; }
.dark .h2, .dark h2, .dark h3 { color: #fff; }
.dark a { color: var(--yellow); }
.quotes { display: grid; gap: 16px; margin-top: 1.4rem; }
.quote { background: #fff; color: var(--ink); border-radius: 18px; padding: 22px 22px 18px; margin: 0; }
.quote p { font-size: 1.12rem; margin-bottom: .8rem; }
.quote cite { font-style: normal; font-weight: 700; display: block; }
.quote .meta { font-size: .92rem; color: var(--muted); }
.stars { display: flex; gap: 3px; margin-bottom: .6rem; color: var(--orange); }
.stars svg { width: 20px; height: 20px; }
.rev-total { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.bars { display: grid; gap: 4px; min-width: 220px; font-size: .9rem; color: #D4DEF2; }
.bar { display: grid; grid-template-columns: 22px 1fr 34px; align-items: center; gap: 8px; }
.bar i { display: block; height: 8px; border-radius: 4px; background: #3B4D78; overflow: hidden; }
.bar i b { display: block; height: 100%; background: var(--yellow); }
@media (min-width: 992px) { .quotes { grid-template-columns: repeat(3, 1fr); } }

/* ------------------------------------------------------------ mission timeline (sample day) */
.mission { position: relative; }
.track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 34px 4px 14px; margin: 0 -4px; position: relative; }
.track::before { content: ""; position: absolute; left: 0; right: 0; top: 28px; border-top: 4px dashed #8497C4; }
.step { flex: 0 0 min(76vw, 260px); scroll-snap-align: start; position: relative; background: var(--white); border: 2px solid var(--ink); border-radius: 16px; padding: 22px 16px 16px; }
.step::before { content: ""; position: absolute; top: -18px; left: 16px; width: 18px; height: 18px; border-radius: 50%; background: var(--orange); border: 3px solid var(--ink); }
.step-t { font: 400 1.05rem/1 var(--display); color: var(--orange-deep); margin-bottom: .45rem; }
.step h3 { font: 700 1.15rem/1.25 var(--body); margin-bottom: .3rem; }
.step p { font-size: .98rem; margin: 0; }
@media (min-width: 1200px) { .track { overflow: visible; display: grid; grid-template-columns: repeat(6, 1fr); } .step { flex: auto; } }
.track:focus-visible { outline-offset: 4px; }

/* ------------------------------------------------------------ countdown FAQ */
.faq { display: grid; gap: 10px; counter-reset: q 6; }
.q { background: var(--white); border: 2px solid var(--ink); border-radius: 14px; }
.q summary { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 8px 16px 8px 10px; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.08rem; }
.q summary::-webkit-details-marker { display: none; }
.q-n { flex: none; display: inline-grid; place-items: center; width: 40px; height: 44px; border-radius: 8px; background: var(--navy); color: var(--yellow); font: 400 1.3rem/1 var(--display); }
.q:last-child .q-n { background: var(--orange); color: var(--ink); width: 52px; font-size: 1rem; }
.q summary::after { content: ""; margin-left: auto; flex: none; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 7l6 6 6-6' fill='none' stroke='%2314213D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; transition: transform .2s ease; }
.q[open] summary::after { transform: rotate(180deg); }
.q[open] { background: var(--yellow-soft); }
.q-a { padding: 0 18px 8px 64px; }
.q-a p { margin: 0 0 .7rem; }
.q summary:focus-visible { outline-offset: -4px; border-radius: 12px; }

/* ------------------------------------------------------------ closing band */
.cta { background: var(--orange); color: var(--ink); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.cta .h2 { color: var(--ink); }
.cta .btn-go { background: var(--ink); color: #fff; border-color: var(--ink); }
.cta .btn-go:hover { background: #fff; color: var(--ink); }
.cta .btn-line { border-color: var(--ink); }
.cta .btn-line:hover { background: var(--ink); color: #fff; }

/* ------------------------------------------------------------ inner page head */
.phead { position: relative; padding: 18px 0 36px; background: var(--sky-soft); border-bottom: 2px solid var(--ink); overflow: hidden; }
.crumb { font-size: .95rem; margin-bottom: 1rem; color: var(--muted); }
.crumb a { color: var(--ink); }
.phead h1 { margin-bottom: .2rem; }
.trail { display: none; }
@media (min-width: 992px) { .trail { display: block; width: 100%; max-width: 340px; margin-left: auto; } }

/* about */
.about-photo { border-radius: 999px 999px 24px 24px; overflow: hidden; border: 2px solid var(--ink); max-width: 420px; background: var(--sky); }
.about-photo img { width: 100%; }
.checklist { display: grid; gap: 8px; }
.ck { display: flex; gap: 12px; align-items: flex-start; background: var(--white); border: 2px solid var(--ink); border-radius: 12px; padding: 12px 14px; }
.ck-box { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; border: 2px solid var(--ink); font-weight: 700; margin-top: 1px; }
.ck-ok .ck-box { background: var(--yellow); }
.ck-q .ck-box { background: var(--white); border-style: dashed; color: var(--muted); }
.ck b { display: block; }
.ck span { font-size: .98rem; color: var(--muted); }
.ck span.ck-src { display: block; font-size: .85rem; }

/* academics: the rocket of stages */
.stageset { display: grid; gap: 28px; align-items: center; }
.rk { display: flex; flex-direction: column-reverse; align-items: center; max-width: 340px; margin-inline: auto; width: 100%; }
.rk-tip { width: 0; height: 0; }
.mb { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 92px; border: 2px solid var(--ink); border-top-width: 0; background: var(--white); color: var(--ink); font: 400 1.35rem/1.1 var(--display); cursor: pointer; padding: 8px; }
.mb small { font: 700 .88rem/1.2 var(--body); opacity: .9; margin-top: 3px; }
.mb:first-child { border-radius: 0 0 22px 22px; border-bottom-width: 2px; }
.mb:last-child { border-top-width: 2px; border-radius: 120px 120px 0 0 / 90px 90px 0 0; min-height: 120px; padding-top: 22px; }
.mb-1 { background: var(--navy); color: #fff; }
.mb-2 { background: var(--white); }
.mb-3 { background: var(--sky); }
.mb-4 { background: var(--orange); }
.mb:hover { filter: brightness(1.06); }
.mb[aria-selected="true"] { outline: 4px solid var(--yellow); outline-offset: -8px; }
.mb[aria-selected="true"]::after { content: "You are here"; position: absolute; right: -4px; top: 50%; transform: translate(100%, -50%); display: none; }
.mb:focus-visible { outline: 4px solid var(--ink); outline-offset: 3px; z-index: 2; }
.mb-1:focus-visible { outline-color: var(--yellow); }
.stage-panel { background: var(--white); border: 2px solid var(--ink); border-radius: 20px; padding: 24px; }
.stage-panel[hidden] { display: none; }
.stage-panel h2 { font-size: clamp(1.7rem, 5vw, 2.3rem); }
.stage-age { display: inline-block; background: var(--yellow); border: 2px solid var(--ink); border-radius: 999px; padding: 3px 14px; font-weight: 700; margin: .5rem 0 1rem; }
.ticks { display: grid; gap: .5rem; margin: 1rem 0; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 3px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%2314213D' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
@media (min-width: 992px) { .stageset { grid-template-columns: 340px 1fr; gap: 56px; align-items: start; } }
.agetable { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 2px solid var(--ink); border-radius: 14px; }
.agetable thead th:first-child { border-top-left-radius: 11px; } .agetable thead th:last-child { border-top-right-radius: 11px; }
.agetable caption { text-align: left; font-size: .95rem; color: var(--muted); padding: 0 0 .6rem; caption-side: top; }
.agetable th, .agetable td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.agetable thead th { background: var(--navy); color: #fff; }
.agetable tr:last-child td, .agetable tr:last-child th { border-bottom: 0; }
.wide-photo { border-radius: 22px; border: 2px solid var(--ink); width: 100%; }

/* admissions: T-minus steps */
.tminus { counter-reset: tm 6; display: grid; gap: 0; position: relative; }
.tm { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding-bottom: 26px; position: relative; }
.tm::before { content: ""; position: absolute; left: 31px; top: 56px; bottom: 0; border-left: 3px dashed #8497C4; }
.tm:last-child::before { display: none; }
.tm-n { display: grid; place-items: center; width: 64px; height: 56px; border-radius: 14px; background: var(--navy); color: var(--yellow); font: 400 1.9rem/1 var(--display); border: 2px solid var(--ink); }
.tm:last-child .tm-n { background: var(--orange); color: var(--ink); font-size: 1.3rem; }
.tm h3 { font: 700 1.25rem/1.25 var(--body); margin: 4px 0 .25rem; }
.tm p { margin: 0; }
.docs { display: grid; gap: 8px; }
.docs li { display: flex; gap: 12px; align-items: flex-start; }
.docs li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 3px; border: 2px solid var(--ink); border-radius: 6px; background: var(--white); }
.panel { background: var(--white); border: 2px solid var(--ink); border-radius: 20px; padding: 24px; }
.panel-sky { background: var(--sky-soft); }

/* school life: gallery + noticeboard */
.gal { display: grid; gap: 14px; grid-template-columns: 1fr; }
.g-btn { display: block; width: 100%; padding: 0; border: 2px solid var(--ink); border-radius: 18px; overflow: hidden; background: var(--sky); cursor: zoom-in; position: relative; }
.g-btn img { width: 100%; transition: transform .35s ease; }
.g-btn:hover img { transform: scale(1.03); }
.g-btn .g-zoom { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); }
@media (min-width: 768px) { .gal { grid-template-columns: 1.4fr 1fr; } .gal .g-wide { grid-row: span 2; } }
.lightbox { border: 0; padding: 12px; border-radius: 18px; background: var(--navy); max-width: min(96vw, 1100px); width: 100%; color: #fff; }
.lightbox::backdrop { background: rgba(10, 18, 36, .88); }
.lb-in { position: relative; display: grid; gap: 10px; }
.lb-img { width: 100%; max-height: 74vh; object-fit: contain; border-radius: 14px; background: #0E1830; }
.lb-cap { margin: 0; text-align: center; font-size: .95rem; }
.lb-bar { display: flex; justify-content: center; gap: 10px; }
.lb-bar button { min-height: 48px; min-width: 48px; padding: 0 16px; border: 2px solid #fff; border-radius: 12px; background: transparent; color: #fff; font: 700 1rem/1 var(--body); cursor: pointer; }
.lb-bar button:hover { background: #fff; color: var(--ink); }
.board { display: grid; gap: 12px; }
.notice { background: var(--white); border: 2px solid var(--ink); border-radius: 12px; padding: 14px 16px; position: relative; }
.notice b { display: block; }
.notice .sample { display: inline-block; margin-top: .4rem; padding: 2px 10px; border-radius: 999px; background: var(--yellow); border: 1px solid #C9A12E; font-size: .8rem; font-weight: 700; }
.pad { height: 16px; background: repeating-linear-gradient(-45deg, var(--yellow) 0 18px, var(--navy) 18px 36px); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }

/* contact */
.cblock { border: 2px solid var(--ink); border-radius: 18px; padding: 20px; background: var(--white); }
.cblock h2, .cblock .h3 { margin-bottom: .4rem; }
.cblock-y { background: var(--yellow-soft); } .cblock-s { background: var(--sky-soft); }
.hours { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--white); border: 2px solid var(--ink); border-radius: 14px; }
.hours caption { text-align: left; font-size: .92rem; color: var(--muted); padding-bottom: .5rem; caption-side: top; }
.hours th, .hours td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours th { font-weight: 700; width: 40%; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours tr:last-child th { border-bottom-left-radius: 11px; } .hours tr:last-child td { border-bottom-right-radius: 11px; }
.hours tr.today { background: var(--yellow); }
.hours tr.today th::after { content: " (today)"; font-weight: 400; }
.map-card { background: var(--sky-soft); border: 2px solid var(--ink); border-radius: 18px; padding: 18px; }
.map-card iframe { display: block; width: 100%; height: 340px; border: 0; border-radius: 12px; margin-top: 14px; }
.map-addr { margin: 0 0 12px; }

/* form */
.enquiry-box { background: var(--white); border: 2px solid var(--ink); border-radius: 22px; padding: 26px 22px; }
.enq-title { font: 400 clamp(1.5rem, 5vw, 2rem)/1.15 var(--display); margin-bottom: .3rem; }
.enq-intro { color: var(--muted); }
.field label { display: block; font-weight: 700; margin-bottom: 5px; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 10px 14px; border: 2px solid #5A6A8C; border-radius: 12px; background: #fff; color: var(--ink); font: 400 1.08rem/1.3 var(--body); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--yellow); outline-offset: 0; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: #B3261E; background: #FFF1F0; }
.hint { font-size: .9rem; color: var(--muted); margin: 4px 0 0; }
.err { font-size: .95rem; font-weight: 700; color: #A31F18; margin: 4px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-summary { margin: 12px 0; padding: 10px 14px; border-radius: 12px; background: #FFF1F0; border: 2px solid #B3261E; font-weight: 700; color: #7E1812; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 18px; }
.form-foot .small { margin: 0; font-size: .92rem; color: var(--muted); }
.form-result:empty { display: none; }
.form-result { margin-top: 14px; padding: 12px 16px; border-radius: 12px; font-weight: 700; }
.form-result.ok { background: #E3F6EA; border: 2px solid #1D8A4E; color: #0F4A28; }
.form-result.bad { background: #FFF1F0; border: 2px solid #B3261E; color: #7E1812; }
.btn.is-loading { opacity: .8; }

/* ------------------------------------------------------------ footer */
.foot { background: var(--navy); color: #D4DEF2; padding: 0 0 20px; margin-top: 0; }
.foot .pad { margin-bottom: 36px; }
.foot-logo { width: 240px; height: auto; margin-bottom: 1rem; }
.foot-addr { color: #fff; font-size: 1.08rem; }
.foot-tel { font: 400 1.6rem/1 var(--display); color: var(--yellow); text-decoration: none; }
.foot-tel:hover { color: #fff; }
.foot a { color: #fff; }
.foot a:hover { color: var(--yellow); }
.foot-h { font: 700 .86rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); margin-bottom: .8rem; }
.foot-list li { margin-bottom: .45rem; }
.foot-small { font-size: .95rem; margin-bottom: .6rem; }

/* legal + 404 */
.prose { max-width: 46rem; }
.prose h2 { font: 400 1.6rem/1.2 var(--display); margin: 1.8rem 0 .5rem; }
.prose ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1rem; }
.center-page { min-height: 56vh; display: grid; align-items: center; }

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

.stairs-photo .wide-photo { max-height: 440px; object-fit: cover; object-position: center 40%; }
@media (min-width: 768px) { .gal .g-wide, .gal .g-wide .g-btn { height: 100%; } .gal .g-wide .g-btn img { height: 100%; object-fit: cover; } }
@media (min-width: 992px) { .hero-row { min-height: 700px; } }
@media (min-width: 992px) { .hero-row { align-items: flex-start; } .hero h1 { min-height: 2.3em; } }
