/* Little Starzz A Play School — "Let them fly" (daytime kite festival).
   Layout grid: Bootstrap 5.3.3 bootstrap-grid (async) + inline critical grid rules. Everything else is ours. */

@font-face { font-family: "Grandstander Fallback"; src: local("Arial Rounded MT Bold"), local("Arial"); size-adjust: 96%; ascent-override: 96%; descent-override: 26%; }
@font-face { font-family: "Readex Fallback"; src: local("Arial"); size-adjust: 104%; ascent-override: 92%; descent-override: 26%; line-gap-override: 0%; }

:root {
  --ground: #FFFCF5;
  --paper: #FFF4DF;
  --ink: #1F2547;
  --ink-2: #4A5078;
  --ink-3: #5A607F;
  --magenta: #C2255C;
  --magenta-d: #A81E4E;
  --saffron: #E8890C;
  --saffron-t: #9A5600;
  --teal: #0B8A68;
  --teal-d: #08694F;
  --sky: #74C0FC;
  --sky-wash: #E6F4FF;
  --line: #E7DCC6;
  --err: #B0173F;
  --display: "Grandstander", "Grandstander Fallback", "Arial Rounded MT Bold", sans-serif;
  --body: "Readex Pro", "Readex Fallback", "Noto Sans Devanagari", "Mukta", system-ui, sans-serif;
  --r: 14px;
  --r-lg: 26px;
  --shadow: 0 10px 28px -14px rgba(31, 37, 71, .38);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --sec: clamp(3.5rem, 7vw, 6.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 1.0625rem/1.65 var(--body); font-variant-numeric: lining-nums; overflow-x: hidden; }
::selection { background: var(--sky); color: var(--ink); }
input, textarea, select { caret-color: var(--magenta); }
html { scrollbar-color: var(--ink-2) var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--magenta-d); text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .6em; text-wrap: balance; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lede { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 38em; }
.muted { color: var(--ink-3); }
.small { font-size: .9rem; }
.hi-line { font-size: 1.2rem; font-weight: 600; color: var(--teal-d); margin: -.2em 0 .8em; }
address { font-style: normal; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 10px; font-weight: 600; }
.skip:focus { top: 1rem; color: #fff; }
.skip:hover { color: #fff; }
main:focus { outline: none; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.sec { padding: var(--sec) 0; }
.src-note { font-size: .92rem; color: var(--ink-3); max-width: 40em; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55rem; min-height: 48px; padding: .7rem 1.2rem; border-radius: 999px 999px 999px 10px; border: 2px solid transparent; font: 600 1rem/1.2 var(--body); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background-color .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--magenta); color: #fff; }
.btn-primary:hover { background: var(--magenta-d); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--ground); }
.btn-wa { background: var(--teal-d); color: #fff; }
.btn-wa:hover { background: var(--ink); color: #fff; }
.btn-call { background: var(--ink); color: var(--ground); }
.btn-call:hover { background: var(--magenta-d); color: #fff; }
.btn[disabled] { opacity: .65; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.4rem 0 1.2rem; }
.text-link { font-weight: 600; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(255, 252, 245, .96); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 1rem; min-height: 76px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 44px; height: 44px; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font: 700 1.35rem/1 var(--display); }
.brand-sub { font-size: .8rem; color: var(--ink-3); margin-top: .2rem; }
.main-nav ul { display: flex; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav-link { position: relative; display: flex; flex-direction: column; align-items: center; padding: 1.35rem .65rem .55rem; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; white-space: nowrap; border-radius: 10px; }
.nav-kite { position: absolute; top: .05rem; width: 15px; height: 18px; opacity: 0; transform: translateY(5px) rotate(-8deg); transition: opacity .25s, transform .35s var(--ease); }
.nav-link:hover .nav-kite { opacity: .55; transform: translateY(2px) rotate(-8deg); }
.nav-link[aria-current="page"] { font-weight: 600; }
.nav-link[aria-current="page"] .nav-kite { opacity: 1; transform: none; }
.nav-link[aria-current="page"] span { box-shadow: inset 0 -3px 0 var(--sky); }
.head-call { padding: .55rem 1rem; }
.menu-btn { display: none; align-items: center; gap: .45rem; min-height: 48px; padding: .5rem 1rem; border-radius: 999px; border: 2px solid var(--ink); background: var(--ground); color: var(--ink); font: 600 1rem var(--body); cursor: pointer; }
@media (max-width: 1199.98px) { .nav-link { padding-left: .45rem; padding-right: .45rem; font-size: .94rem; } .brand-sub { display: none; } }
@media (max-width: 991.98px) {
  .main-nav, .head-call { display: none; }
  .menu-btn { display: inline-flex; }
  .head-row { min-height: 66px; }
  .brand-sub { display: block; }
}

/* phone sheet */
.sheet-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(31, 37, 71, .45); opacity: 0; transition: opacity .3s; }
.sheet-scrim.open { opacity: 1; }
.sheet { position: fixed; z-index: 61; left: 0; right: 0; bottom: 0; max-height: 92vh; overflow-y: auto; background: var(--ground); border-radius: 26px 26px 0 0; padding: 1rem 1.25rem calc(1.25rem + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .38s var(--ease); box-shadow: 0 -12px 40px -16px rgba(31, 37, 71, .5); }
.sheet.open { transform: none; }
.sheet::before { content: ""; display: block; width: 46px; height: 5px; border-radius: 3px; background: var(--line); margin: 0 auto .8rem; }
.sheet-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.sheet-title { font: 700 1.4rem var(--display); }
.sheet-close { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; padding: .4rem .9rem; border: 2px solid var(--ink); border-radius: 999px; background: none; color: var(--ink); font: 600 .95rem var(--body); cursor: pointer; }
.sheet-list { list-style: none; margin: 0 0 1rem; padding: 0; }
.sheet-link { display: flex; align-items: center; gap: .9rem; min-height: 56px; padding: .4rem .3rem; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font: 600 1.2rem var(--display); }
.sheet-kite { width: 24px; height: 22px; }
.sheet-link[aria-current="page"] { color: var(--magenta-d); }
.sheet-actions { display: grid; gap: .6rem; }
.sheet-actions .btn { justify-content: center; }
body.sheet-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero { padding: clamp(1.6rem, 4vw, 3.5rem) 0 clamp(2.5rem, 5vw, 4rem); overflow: hidden; }
.hero h1 { font-size: clamp(3.2rem, 8vw, 6rem); letter-spacing: -.02em; margin-bottom: .2em; }
.hero-lede { font-size: clamp(1.08rem, 1.5vw, 1.22rem); color: var(--ink-2); max-width: 31em; }
.rating { margin: 0 0 .6rem; }
.rating a { display: inline-flex; align-items: center; gap: .35rem; color: var(--ink); }
.ic-star { color: var(--saffron); fill: var(--saffron); }
.open-pill { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .45rem; margin: 0; padding: .45rem .9rem; border-radius: 999px; background: var(--paper); font-size: .95rem; }
.open-pill .dot { width: .6rem; height: .6rem; border-radius: 50%; background: var(--ink-3); }
.open-pill.is-open .dot { background: var(--teal); box-shadow: 0 0 0 3px rgba(11, 138, 104, .2); }
.open-pill.is-closed .dot { background: var(--magenta); }
.sky { margin: 0; position: relative; }
.sky-svg { width: 100%; height: auto; overflow: visible; display: block; }
.sky-disc { fill: var(--sky-wash); }
.cloud { fill: #fff; }
.string, .strings path { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; }
.sky figcaption { font-size: .82rem; color: var(--ink-3); text-align: right; margin-top: -.6rem; }
@media (prefers-reduced-motion: no-preference) {
  .k { animation: sway 6s ease-in-out infinite alternate; }
  .k2 { animation-duration: 5s; animation-delay: -2s; }
  .k3 { animation-duration: 7s; animation-delay: -4s; }
  @keyframes sway { from { transform: rotate(-2.5deg) translateY(0); } to { transform: rotate(2.5deg) translateY(-6px); } }
  .hero-copy > * { animation: rise .8s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; } .hero-copy > :nth-child(3) { animation-delay: .12s; }
  .hero-copy > :nth-child(4) { animation-delay: .18s; } .hero-copy > :nth-child(n+5) { animation-delay: .24s; }
  @keyframes rise { from { opacity: .001; transform: translateY(14px); } }
}
@media (max-width: 991.98px) { .sky { max-width: 520px; margin: 0 auto; } }

/* ---------- where / when / ask: tags hanging from one line ---------- */
.line-sec { padding-top: 1rem; }
.line-sec .container { position: relative; }
.line { position: absolute; left: calc(var(--bs-gutter-x) * .5); right: calc(var(--bs-gutter-x) * .5); top: 0; width: calc(100% - var(--bs-gutter-x)); height: 70px; }
.tags { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 2.5rem); }
.tag { position: relative; margin-top: 64px; padding: 1.7rem 1.4rem 1.2rem; background: var(--paper); border-radius: 6px 6px var(--r-lg) var(--r-lg); box-shadow: inset 0 6px 0 var(--c), var(--shadow); }
.tag:nth-child(2) { margin-top: 92px; }
.tag::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 1.5px; height: 46px; background: var(--ink); }
.tag:nth-child(2)::before { height: 50px; }
.tag::after { content: ""; position: absolute; left: calc(50% - 7px); top: -14px; width: 14px; height: 14px; border-radius: 50%; background: var(--c); }
.tag h2 { display: flex; align-items: center; gap: .5rem; font-size: 1.5rem; margin-bottom: .4rem; }
.tag h2 .ic { color: var(--c); }
.tag p { margin-bottom: .35rem; }
.tag .muted { font-size: .92rem; }
.tag a { font-weight: 600; }
.tel-strong { font: 700 1.5rem var(--display); color: var(--ink); text-decoration: none; }
@media (max-width: 767.98px) {
  .line { display: none; }
  .tags { grid-template-columns: 1fr; gap: 1.25rem; padding-left: 1.4rem; border-left: 1.5px solid var(--ink); }
  .tag, .tag:nth-child(2) { margin-top: 0; }
  .tag::before { left: auto; right: 100%; bottom: auto; top: 2rem; width: 1.4rem; height: 1.5px; }
  .tag:nth-child(2)::before { height: 1.5px; }
  .tag::after { left: -2.05rem; top: calc(2rem - 6px); }
}

/* ---------- parents' voices ---------- */
.voices { background: var(--paper); }
.big-rating { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; margin: 0; }
.big-num { font: 700 clamp(3.5rem, 8vw, 5.5rem)/1 var(--display); color: var(--magenta); }
.big-of { font-size: 1.1rem; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2.5rem); margin: 2.5rem 0 1.5rem; }
.quote { margin: 0; position: relative; padding-top: 3.2rem; }
.quote-kite { position: absolute; top: 0; left: 0; }
.q-kite { width: 30px; height: 36px; }
.quote::before { content: ""; position: absolute; left: 15px; top: 36px; width: 1.5px; height: .6rem; background: var(--ink); opacity: .4; }
.quote blockquote { margin: 0 0 .7rem; }
.quote blockquote p { font: 600 clamp(1.3rem, 2.2vw, 1.6rem)/1.3 var(--display); margin: 0; }
.quote figcaption { font-size: .92rem; color: var(--ink-3); }
@media (max-width: 767.98px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- day timeline on a kite string ---------- */
.sample-note { background: var(--paper); border-radius: var(--r); padding: .9rem 1.1rem; font-size: .95rem; margin: 0; }
.string-wrap { position: relative; margin: 2.5rem 0 1.75rem; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; padding: 3.2rem 0 .6rem; }
.stops { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(9, minmax(104px, 1fr)); position: relative; min-width: 940px; }
.stops::before { content: ""; position: absolute; left: 0; right: 0; top: 13px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 18'%3E%3Cpath d='M0 9 C30 0 60 18 120 9' fill='none' stroke='%231F2547' stroke-width='1.6'/%3E%3C/svg%3E") repeat-x 0 0 / 120px 18px; }
.stop { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .25rem; width: 100%; min-height: 104px; padding: 0 .3rem .5rem; border: 0; background: none; color: var(--ink); font: inherit; cursor: pointer; border-radius: 12px; }
.bow { position: relative; width: 44px; height: 44px; flex: none; display: grid; place-items: center; }
.bow::before, .bow::after { content: ""; position: absolute; top: 12px; width: 18px; height: 20px; background: var(--c); transition: transform .25s var(--ease); }
.bow::before { right: 22px; clip-path: polygon(100% 50%, 0 0, 0 100%); }
.bow::after { left: 22px; clip-path: polygon(0 50%, 100% 0, 100% 100%); }
.stop-t { font-size: .82rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.stop-n { font-weight: 600; font-size: .95rem; line-height: 1.25; }
.stop:hover .bow::before { transform: translateX(-3px) rotate(-6deg); }
.stop:hover .bow::after { transform: translateX(3px) rotate(6deg); }
.stop[aria-pressed="true"] .stop-n { color: var(--magenta-d); }
.stop[aria-pressed="true"] .bow::before, .stop[aria-pressed="true"] .bow::after { transform: scale(1.25); }
.runner { position: absolute; top: 0; left: 0; width: 30px; height: 40px; pointer-events: none; transition: transform .6s var(--ease); }
.runner-kite { width: 30px; height: 36px; }
@media (prefers-reduced-motion: reduce) { .runner, .bow::before, .bow::after { transition: none; } }
.day-panels { min-height: 300px; }
.panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.25rem, 4vw, 3rem); align-items: center; }
.panel[hidden] { display: none; }
.panel-media { position: relative; }
.panel-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 6px; box-shadow: var(--shadow); }
.panel-kite { display: grid; place-items: center; aspect-ratio: 4 / 3; border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 6px; background: var(--sky-wash); }
.big-kite { width: 34%; height: auto; }
.panel-time { font-weight: 600; color: var(--teal-d); margin-bottom: .2rem; font-variant-numeric: tabular-nums; }
.panel-txt h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.panel-txt p:last-child { max-width: 32em; font-size: 1.08rem; }
@media (max-width: 767.98px) { .panel { grid-template-columns: 1fr; } .panel-txt { order: -1; } }

/* ---------- classes strip ---------- */
.classes { background: var(--sky-wash); }
.cls-row { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; align-items: end; }
.cls { display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; padding: 1rem .2rem; color: var(--ink); text-decoration: none; border-radius: var(--r); }
.cls-kite { display: block; height: 96px; display: flex; align-items: flex-end; margin-bottom: .4rem; }
.cls-svg { width: var(--s); height: auto; transition: transform .35s var(--ease); }
.cls:hover .cls-svg { transform: translateY(-8px) rotate(-6deg); }
.cls-n { font: 700 1.4rem/1.1 var(--display); }
.cls-a { font-size: .92rem; color: var(--ink-2); }
.cls:hover .cls-n { color: var(--magenta-d); }
@media (max-width: 767.98px) { .cls-row { grid-template-columns: 1fr 1fr; } .cls-kite { height: 64px; } }

/* ---------- peace of mind ---------- */
.review-note { padding-left: 1rem; border-left: 1px solid var(--ink); color: var(--ink-2); }
.peace-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.peace-status { min-height: 1.5em; font-size: .92rem; color: var(--teal-d); margin-top: .6rem; }
.asks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .2rem 1.75rem; }
.ask { display: flex; gap: .85rem; align-items: flex-start; padding: .85rem .2rem; border-bottom: 1px solid var(--line); cursor: pointer; min-height: 56px; }
.ask input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ask-box { flex: none; width: 28px; height: 28px; border: 2px solid var(--ink); border-radius: 8px 8px 8px 3px; display: grid; place-items: center; color: transparent; background: #fff; margin-top: .1rem; transition: background-color .2s, color .2s; }
.ask-box .ic { width: 18px; height: 18px; }
.ask input:checked + .ask-box { background: var(--teal-d); border-color: var(--teal-d); color: #fff; }
.ask input:focus-visible + .ask-box { outline: 3px solid var(--magenta); outline-offset: 3px; }
.ask-txt { display: flex; flex-direction: column; }
.ask-k { font: 700 1.05rem var(--display); }
.ask input:checked ~ .ask-txt { color: var(--ink-3); }
@media (max-width: 767.98px) { .asks { grid-template-columns: 1fr; } }

/* ---------- admission steps ---------- */
.steps-sec { background: var(--paper); }
.steps { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 3vw, 2rem); counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 28px; right: 10%; top: 28px; height: 1.5px; background: var(--ink); opacity: .5; }
.step { position: relative; }
.step-n { position: relative; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1rem; font: 700 1.5rem var(--display); color: #fff; background: var(--magenta); clip-path: polygon(50% 0, 100% 42%, 50% 100%, 0 42%); }
.step:nth-child(2) .step-n { background: var(--saffron-t); }
.step:nth-child(3) .step-n { background: var(--teal-d); }
.step:nth-child(4) .step-n { background: var(--ink); }
.step h3 { margin-bottom: .35rem; }
.step p { color: var(--ink-2); margin: 0; }
@media (max-width: 991.98px) { .steps { grid-template-columns: 1fr 1fr; } .steps::before { display: none; } }
@media (max-width: 575.98px) { .steps { grid-template-columns: 1fr; } }

/* ---------- notices ---------- */
.notice-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.notice-list li { padding: 1.25rem 1.4rem; border: 1.5px dashed var(--ink-3); border-radius: var(--r); }
.notice-list p { margin: .5rem 0 0; }
.flag { display: inline-block; padding: .15rem .6rem; border-radius: 999px; background: var(--sky-wash); font-size: .85rem; font-weight: 600; }
@media (max-width: 767.98px) { .notice-list { grid-template-columns: 1fr; } }

/* ---------- visit ---------- */
.visit { background: var(--paper); }
.addr-big { font: 600 1.3rem/1.45 var(--display); margin-bottom: 1rem; }
.tel-big { display: inline-flex; align-items: center; gap: .5rem; font: 700 1.7rem var(--display); color: var(--ink); text-decoration: none; }
.tel-big:hover { color: var(--magenta-d); }
.hours { width: 100%; max-width: 420px; border-collapse: collapse; margin-top: 1.25rem; font-variant-numeric: tabular-nums; }
.hours caption { text-align: left; font-size: .92rem; padding-bottom: .5rem; color: var(--ink-2); }
.hours th, .hours td { text-align: left; padding: .55rem .6rem; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours tr.today { background: #fff; }
.hours tr.today th { font-weight: 700; color: var(--magenta-d); }
.map-card { position: relative; min-height: 360px; height: 100%; border-radius: var(--r-lg); overflow: hidden; background: var(--sky-wash) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M0 60h200M0 140h200M70 0v200M150 0v200' stroke='%23C9E3F7' stroke-width='10'/%3E%3C/svg%3E") 0 0 / 200px 200px; }
.map-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-fallback { position: absolute; left: 1.25rem; right: 1.25rem; bottom: 1.25rem; background: var(--ground); border-radius: var(--r); padding: 1.25rem; box-shadow: var(--shadow); }
.map-addr { display: flex; gap: .5rem; font-weight: 600; }
.map-fallback .actions { margin: .5rem 0 0; }
.map-card.loaded .map-fallback { display: none; }

/* ---------- closing ---------- */
.closing-in { display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.closing-kite { width: clamp(80px, 12vw, 150px); height: auto; }
@media (prefers-reduced-motion: no-preference) { .closing-kite { animation: sway 6s ease-in-out infinite alternate; transform-origin: 50% 75%; } }
@media (max-width: 575.98px) { .closing-in { grid-template-columns: 1fr; } }

/* ---------- inner page band ---------- */
.page-band { padding: clamp(2.2rem, 5vw, 4rem) 0 clamp(2rem, 4vw, 3rem); background: linear-gradient(var(--sky-wash), var(--sky-wash)) no-repeat 100% 0 / 46% 100%; }
.page-band h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
@media (max-width: 991.98px) { .page-band { background-size: 100% 0; } }
.band-art { display: flex; justify-content: flex-start; }
.bk { position: absolute; height: auto; }
.bk1 { width: 92px; left: 20px; top: 20px; transform: rotate(-10deg); }
.bk2 { width: 64px; left: 140px; top: 0; transform: rotate(6deg); }
.bk3 { width: 76px; left: 168px; top: 96px; transform: rotate(12deg); }
.kite-frame { margin: 0; width: min(100%, 420px); }
.kite-frame img { width: 100%; aspect-ratio: 1; object-fit: cover; clip-path: polygon(50% 0, 100% 38%, 50% 100%, 0 38%); }
.kite-frame figcaption, .stage-photo figcaption { font-size: .82rem; color: var(--ink-3); text-align: center; }
.contact-quick { display: grid; gap: .7rem; width: 100%; max-width: 340px; }
.contact-quick .btn { justify-content: center; }

/* placeholder: visible "to be shared by the school" */
.tbc { border: 2px dashed var(--saffron-t); background: #FFF8EC; border-radius: var(--r); padding: .9rem 1.1rem; color: var(--ink-2); }
.tbc-k { display: block; font-weight: 600; color: var(--saffron-t); font-size: .9rem; margin-bottom: .15rem; }

/* about facts */
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .9rem; }
.lg { width: 14px; height: 14px; border-radius: 3px; display: inline-block; }
.lg-v { background: var(--teal); }
.lg-l { background: var(--paper); border: 2px dashed var(--saffron-t); margin-left: .6rem; }
.facts { list-style: none; margin: 0; padding: 0; }
.fact { display: grid; grid-template-columns: 9.5rem 1fr; gap: .1rem 1rem; padding: .9rem 0 .9rem 1rem; border-bottom: 1px solid var(--line); position: relative; }
.fact::before { content: ""; position: absolute; left: 0; top: 1.15rem; width: 8px; height: 8px; transform: rotate(45deg); background: var(--teal); }
.fact-l::before { background: none; border: 1.5px dashed var(--saffron-t); }
.fact-k { font-weight: 600; }
.fact-s { grid-column: 2; font-size: .88rem; color: var(--ink-3); }
@media (max-width: 575.98px) { .fact { grid-template-columns: 1fr; } .fact-s { grid-column: 1; } }
.story h3 { margin-top: 1.6rem; }

/* academics */
.stages { list-style: none; margin: 2rem 0 0; padding: 0; }
.stage { padding: clamp(2rem, 4vw, 3rem) 0; border-bottom: 1px solid var(--line); }
.stage h2 { color: var(--ink); display: flex; align-items: center; gap: .6rem; }
.stage h2::before { content: ""; width: 18px; height: 22px; background: var(--c); clip-path: polygon(50% 0, 100% 38%, 50% 100%, 0 38%); flex: none; }
.stage-age { font-weight: 600; color: var(--teal-d); }
.stage-photo { margin: 0; }
.stage-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 6px; }
.stage-kite { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--sky-wash); border-radius: var(--r-lg) var(--r-lg) var(--r-lg) 6px; }
.stage-svg { width: 30%; height: auto; }
.how-list { list-style: none; padding: 0; margin: 0 0 2rem; }
.how-list li { padding: .8rem 0; border-bottom: 1px solid var(--line); }

/* admissions */
.age-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.age-table caption { text-align: left; color: var(--ink-2); font-size: .92rem; padding-bottom: .6rem; }
.age-table th, .age-table td { text-align: left; padding: .7rem .5rem; border-bottom: 1px solid var(--line); }
.age-table th { font-family: var(--display); font-size: 1.1rem; }
.doc-list, .expect-list, .lost { list-style: none; margin: 0 0 1rem; padding: 0; }
.doc-list li, .expect-list li { display: flex; gap: .8rem; align-items: flex-start; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.li-kite { width: 18px; height: 17px; flex: none; margin-top: .3rem; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; min-height: 56px; padding: .8rem 0; cursor: pointer; font: 600 1.15rem/1.3 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 18px; background: var(--magenta); clip-path: polygon(50% 0, 100% 38%, 50% 100%, 0 38%); transition: transform .3s var(--ease); }
.faq[open] summary::after { transform: rotate(180deg); background: var(--teal); }
.faq p { color: var(--ink-2); max-width: 40em; }

/* form */
.enquire { background: var(--paper); }
.tag-string { position: relative; height: 120px; margin-top: 1.5rem; }
.tag-string::before { content: ""; position: absolute; left: 38px; top: 40px; width: 1.5px; height: 80px; background: var(--ink); opacity: .5; }
.tag-kite { width: 60px; height: auto; transform: rotate(-12deg); }
.enquiry { background: #fff; border-radius: var(--r-lg); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; }
.opt { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: .7rem .9rem; border: 2px solid #7C819C; border-radius: 12px; background: #fff; color: var(--ink); font: 400 1rem var(--body); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(194, 37, 92, .2); }
.field [aria-invalid="true"] { border-color: var(--err); }
.hint { font-size: .85rem; color: var(--ink-3); margin: .3rem 0 0; }
.err { font-size: .9rem; color: var(--err); font-weight: 600; margin: .3rem 0 0; }
.form-summary { border: 2px solid var(--err); border-radius: 12px; padding: .9rem 1rem; margin-bottom: 1rem; color: var(--err); font-weight: 600; }
.form-summary ul { margin: .4rem 0 0; padding-left: 1.2rem; }
.form-summary a { color: var(--err); }
.btn-send { margin-top: 1.4rem; }
.form-ok { margin-top: 1rem; padding: .9rem 1rem; border-radius: 12px; background: #E3F5EE; color: var(--teal-d); font-weight: 600; }
.form-fail { margin-top: 1rem; padding: .9rem 1rem; border-radius: 12px; background: #FDE8EE; color: var(--err); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* gallery + lightbox */
.g-grid { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 1rem; }
.g0 { grid-row: span 2; }
.g-btn { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--r-lg); overflow: hidden; }
.g-btn img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .5s var(--ease); }
.g0 .g-btn img { aspect-ratio: auto; min-height: 100%; }
.g-btn:hover img { transform: scale(1.04); }
.g-cap { position: absolute; left: .8rem; bottom: .8rem; background: var(--ground); color: var(--ink); padding: .25rem .7rem; border-radius: 999px; font-size: .88rem; font-weight: 600; }
.g3 { grid-column: span 2; }
.g3 .g-btn img { aspect-ratio: 16 / 7; }
@media (max-width: 767.98px) { .g-grid { grid-template-columns: 1fr 1fr; } .g0 { grid-row: auto; grid-column: span 2; } .g3 { grid-column: span 2; } }
.lightbox { border: 0; padding: .75rem; border-radius: var(--r-lg); background: var(--ink); color: #fff; max-width: min(94vw, 1000px); width: 100%; }
.lightbox::backdrop { background: rgba(31, 37, 71, .86); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: 76vh; object-fit: contain; border-radius: var(--r); }
.lightbox figcaption { color: #fff; margin-top: .5rem; text-align: center; }
.lb-bar { display: flex; justify-content: center; gap: .6rem; margin-top: .8rem; }
.lb-bar button { display: inline-flex; align-items: center; gap: .4rem; min-height: 46px; padding: .5rem 1rem; border-radius: 999px; border: 2px solid #fff; background: transparent; color: #fff; font: 600 .95rem var(--body); cursor: pointer; }
.lb-bar button:hover { background: #fff; color: var(--ink); }
.lb-bar button:focus-visible { outline-color: var(--sky); }

/* prose */
.prose-in { max-width: 44rem; }
.prose-in h2 { font-size: 1.6rem; margin-top: 1.6rem; }
.lost li { padding: .4rem 0; }

/* ---------- footer ---------- */
.site-foot { position: relative; background: var(--ink); color: #E8EAF4; padding: 4.5rem 0 2rem; margin-top: 0; }
.foot-string { position: absolute; top: 0; left: 0; width: 100%; height: 40px; }
.site-foot a { color: #fff; }
.site-foot a:hover { color: var(--sky); }
.site-foot :focus-visible { outline-color: var(--sky); }
.foot-brand { display: flex; align-items: center; gap: .8rem; text-decoration: none; font: 700 1.5rem/1.15 var(--display); }
.foot-hi { margin: .6rem 0; color: #C9D2F0; }
.foot-note { font-size: .9rem; color: #C9D2F0; max-width: 28em; }
.foot-h { font-size: 1.25rem; color: #fff; margin-bottom: .6rem; }
.foot-addr, .foot-line { margin: 0 0 .4rem; }
.site-foot .muted { color: #C9D2F0; }
.foot-links { list-style: none; margin: 0; padding: 0; columns: 2; }
.foot-links li { padding: .2rem 0; }
.foot-links a { display: inline-block; padding: .3rem 0; }
.foot-base { margin: 2.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid rgba(201, 210, 240, .25); font-size: .88rem; color: #C9D2F0; }
.map-pin { position: absolute; left: 50%; top: 22%; transform: translateX(-50%); }
.map-kite { width: 64px; height: auto; }
.map-pin::after { content: ""; position: absolute; left: 50%; top: 100%; width: 14px; height: 14px; margin: 4px 0 0 -7px; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 0 6px rgba(194, 37, 92, .2); }
.map-card.loaded .map-pin { display: none; }
@media (max-width: 575.98px) {
  .actions { display: grid; grid-template-columns: 1fr 1fr; }
  .actions .btn { justify-content: center; padding-left: .8rem; padding-right: .8rem; }
  .actions .btn-primary { grid-column: 1 / -1; }
  .peace-actions .btn { flex: 1 1 auto; justify-content: center; }
}

.stage p { max-width: 38em; }
@media (max-width: 991.98px) { .tag-string { display: none; } }
/* review fixes */
.photo-note, .stage-photo figcaption { font-size: .82rem; color: var(--ink-3); margin: .5rem 0 0; text-align: left; }
.wa-note { font-size: .85rem; color: var(--ink-3); margin: -.6rem 0 1rem; }
.peace .wa-note { margin: .6rem 0 0; }
.panel-time { margin: -.3rem 0 .6rem; }
.notice-list .tbc { border-radius: var(--r); }
.notice-list .tbc strong { color: var(--ink); }
/* the string that every section hangs from: a line from the section edge to a bow above the heading */
.hanger { position: relative; display: block; width: 44px; height: 30px; margin: calc(-1 * var(--sec) + 4px) 0 1.2rem; padding-top: calc(var(--sec) - 34px); box-sizing: content-box; }
.hanger::before { content: ""; position: absolute; left: 21px; top: 0; bottom: 18px; width: 1.5px; background: var(--ink); opacity: .55; }
.hanger svg { position: absolute; left: 4px; bottom: 0; fill: var(--magenta); }
.voices .hanger svg, .visit .hanger svg { fill: var(--saffron); }
.classes .hanger svg, .enquire .hanger svg { fill: var(--teal); }
.closing .hanger { margin-top: 0; padding-top: 0; height: 24px; }
.closing .hanger::before { display: none; }
.band-kites { width: 100%; max-width: 420px; height: auto; display: block; }
@media (max-width: 991.98px) { .band-kites { max-width: 260px; height: auto; } }
@media (max-width: 575.98px) { .band-kites { max-width: 200px; } }
