/* The Smart Steps International School — "Hop into learning" (hopscotch).
   Asphalt band for the hero only, pale concrete everywhere else, numbered squares as the component language. */
:root {
  --asphalt: #3A3D42;
  --ground: #F5F4F0;
  --ground-2: #E9E7E0;
  --ink: #1E2022;
  --ink-2: #4A4E55;
  --line: #D9D6CD;
  --field: #6B6A66;
  --red: #D6452A;
  --red-deep: #B33A20;
  --blue: #2F6FE0;
  --blue-deep: #2459C4;
  --yellow: #FFBE0B;
  --yellow-tint: #FFF6DB;
  --chalk: #F5F4F0;
  --chalk-2: #D9D7D0;
  --chalk-y: #FFE08A;
  --chalk-b: #A9C6FF;
  --chalk-r: #FFAE9C;
  --display: "Chewy", "Chewy Fallback", "Comic Sans MS", cursive;
  --body: "Rubik", "Rubik Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 10px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --head-h: 76px;
}
@font-face { font-family: "Rubik Fallback"; src: local("Arial"); size-adjust: 104%; ascent-override: 90%; descent-override: 24%; }
@font-face { font-family: "Chewy Fallback"; src: local("Arial"); size-adjust: 92%; ascent-override: 102%; descent-override: 26%; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--head-h) + 12px); -webkit-text-size-adjust: 100%; scrollbar-color: var(--ink-2) var(--ground-2); }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body); font-variant-numeric: lining-nums;
  caret-color: var(--blue);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--yellow); color: var(--ink); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-deep); text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
a:hover { color: var(--ink); }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.1; text-wrap: balance; }
h1, h2 { font-family: var(--display); font-weight: 400; letter-spacing: .005em; }
h2 { font-size: clamp(2rem, 3.4vw, 2.75rem); }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
[role="list"], .court, .hop-court, .court-menu { list-style: none; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.hero :focus-visible, .sheet :focus-visible { outline-color: var(--yellow); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: var(--r); }
.skip:focus { top: 12px; color: #fff; }
.skip:hover { color: #fff; }
main:focus { outline: none; }
.muted { color: var(--ink-2); font-size: .92em; }
.hi { font-size: 1.05rem; color: var(--red-deep); font-weight: 500; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.lead-s { color: var(--ink-2); max-width: 62ch; }
.tlink { font-weight: 500; }

/* ---------- chalk lines */
.chalk { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; color: inherit; }
.chalk path { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.chalk-a { stroke-width: 2.6; opacity: .92; }
.chalk-b { stroke-width: 1.1; opacity: .45; transform: translate(.7px, 1px); stroke-dasharray: 30 4 9 3; }

/* ---------- marker stone */
.stone, .hop-stone, .cs-stone, .msq-stone, .ph-stone, .hop-marker {
  display: block; width: 18px; height: 13px; border-radius: 52% 48% 46% 54% / 60% 58% 42% 40%;
  background: radial-gradient(circle at 34% 32%, #fff 0 2px, transparent 2.5px), var(--red);
  box-shadow: 0 2px 3px rgba(0, 0, 0, .28);
}

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: .65rem 1.3rem; border-radius: var(--r); border: 2px solid transparent;
  font: 500 1rem/1.2 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s, color .18s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(30, 32, 34, .18); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-sm { min-height: 44px; padding: .5rem 1rem; font-size: .95rem; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { color: var(--ink); background: #FFC933; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { color: #fff; background: var(--blue-deep); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { color: #fff; background: #000; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: #fff; color: var(--ink); }
.btn-chalk { background: transparent; color: var(--chalk); border: 2px dashed rgba(245, 244, 240, .75); }
.btn-chalk:hover { color: var(--ink); background: var(--chalk); border-style: solid; }

/* ---------- header */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(245, 244, 240, .96); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .site-head { background: rgba(245, 244, 240, .88); backdrop-filter: blur(8px); } }
.head-row { display: flex; align-items: center; gap: 1.25rem; min-height: var(--head-h); }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); margin-right: auto; min-width: 0; }
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--display); font-size: 1.55rem; }
.brand-sub { font-size: .78rem; color: var(--ink-2); font-weight: 500; margin-top: 2px; }
.main-nav { display: none; }
.main-nav ul { display: flex; gap: .2rem; list-style: none; }
.hop { display: flex; align-items: center; gap: .45rem; padding: .4rem .45rem; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; border-radius: 8px; white-space: nowrap; }
.hop-sq { position: relative; display: grid; place-items: center; width: 32px; height: 32px; color: var(--ink); }
.hop-n { font-family: var(--display); font-size: 1.15rem; line-height: 1; position: relative; }
.hop .hop-stone { position: absolute; right: -9px; bottom: -6px; width: 13px; height: 10px; opacity: 0; transform: translateY(-6px) scale(.6); transition: opacity .2s, transform .35s var(--ease); }
.hop:hover { color: var(--ink); }
.hop:hover .hop-sq { background: rgba(255, 190, 11, .35); }
.hop[aria-current="page"] .hop-sq { background: var(--yellow); }
.hop[aria-current="page"] .hop-stone { opacity: 1; transform: none; }
.head-call { display: none; }
.menu-btn {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 46px; padding: .45rem .9rem;
  border: 2px solid var(--ink); background: transparent; border-radius: var(--r); font: 500 1rem var(--body); color: var(--ink); cursor: pointer;
}
@media (min-width: 992px) {
  .main-nav { display: block; }
  .menu-btn { display: none; }
  .brand-sub { display: none; }
}
@media (min-width: 1200px) {
  .head-call { display: inline-flex; }
  .main-nav ul { gap: .35rem; }
}
@media (min-width: 1400px) { .brand-sub { display: block; } }
@media (max-width: 380px) { .brand-sub { display: none; } .brand-name { font-size: 1.4rem; } }

/* ---------- phone menu: a hopscotch grid */
.sheet-scrim { position: fixed; inset: 0; background: rgba(30, 32, 34, .5); z-index: 60; opacity: 0; transition: opacity .25s; }
.sheet-scrim.open { opacity: 1; }
.sheet {
  position: fixed; inset: 0 0 auto 0; max-height: 100dvh; overflow-y: auto; z-index: 61;
  background: var(--asphalt); color: var(--chalk); padding: 1rem 1.25rem 1.75rem;
  transform: translateY(-16px); opacity: 0; transition: transform .3s var(--ease), opacity .25s;
}
.sheet.open { transform: none; opacity: 1; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.sheet-title { font-family: var(--display); font-size: 1.6rem; margin: 0; }
.sheet-close { width: 48px; height: 48px; display: grid; place-items: center; background: transparent; border: 2px solid rgba(245, 244, 240, .6); color: var(--chalk); border-radius: var(--r); cursor: pointer; }
.court-menu {
  --m: min(34vw, 136px);
  display: grid; grid-template-columns: repeat(4, calc(var(--m) / 2)); grid-template-rows: auto repeat(4, calc(var(--m) * .78));
  justify-content: center; margin: 0 auto; padding: 0;
}
.court-menu .mhome { grid-column: 1 / 5; grid-row: 1; }
.court-menu .m5 { grid-column: 1 / 3; grid-row: 2; } .court-menu .m6 { grid-column: 3 / 5; grid-row: 2; }
.court-menu .m4 { grid-column: 2 / 4; grid-row: 3; }
.court-menu .m2 { grid-column: 1 / 3; grid-row: 4; } .court-menu .m3 { grid-column: 3 / 5; grid-row: 4; }
.court-menu .m1 { grid-column: 2 / 4; grid-row: 5; }
.msq { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; text-decoration: none; color: var(--chalk); padding: .25rem; text-align: center; }
.msq .chalk { color: var(--chalk-2); }
.msq-n { font-family: var(--display); font-size: 1.9rem; line-height: 1; color: var(--chalk-y); }
.msq-t { font-size: .92rem; font-weight: 500; }
.msq-stone { position: absolute; top: 10px; right: 12px; opacity: 0; }
.msq[aria-current="page"] .msq-stone { opacity: 1; }
.msq[aria-current="page"] { background: rgba(255, 190, 11, .16); }
.msq:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.mhome-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: calc(var(--m) * .32) .75rem .8rem; color: var(--chalk-2); }
.mhome-wa { display: inline-flex; align-items: center; gap: .4rem; color: var(--chalk); min-height: 44px; padding: 0 .5rem; }
.mhome-wa:hover { color: #fff; }
body.sheet-open { overflow: hidden; }

/* ---------- hero: chalk on asphalt */
.hero {
  position: relative; background-color: var(--asphalt); color: var(--chalk); padding: 2.25rem 0 1.5rem; overflow: hidden;
  background-image:
    radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1.4px),
    radial-gradient(rgba(0, 0, 0, .14) 1px, transparent 1.4px);
  background-size: 7px 7px, 11px 11px; background-position: 0 0, 3px 5px;
}
.hero a:not(.btn) { color: var(--chalk); }
.hero a:not(.btn):hover { color: var(--chalk-y); }
.hero h1 { font-size: clamp(2.9rem, 6.2vw, 5.4rem); line-height: .98; margin-bottom: .35em; color: var(--chalk); }
.hero h1 span { display: block; }
.hero-place { font-size: 1.12rem; color: var(--chalk-2); max-width: 36ch; }
.hero-hi { color: var(--chalk-y); font-size: 1.15rem; font-weight: 500; }
.hero-act { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0 1rem; }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .75rem; margin-bottom: .35rem; }
.hero-meta a { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; }
.hero-meta a .ic { color: var(--yellow); fill: var(--yellow); }
.hero-meta a span { text-decoration: underline; text-underline-offset: .2em; text-decoration-color: rgba(245, 244, 240, .5); }
.hm-sep { color: var(--chalk-2); font-size: .92rem; }
.hero-time { display: flex; align-items: center; gap: .45rem; color: var(--chalk-2); font-size: .95rem; }
.hero-note { font-size: .8rem; color: var(--chalk-2); margin: 1.25rem 0 0; }

.court-wrap { display: flex; justify-content: center; padding: .5rem 0 0; }
.court {
  --sq: clamp(76px, 8.8vw, 128px);
  display: grid; grid-template-columns: repeat(4, calc(var(--sq) / 2)); grid-template-rows: calc(var(--sq) * 1.9) repeat(4, var(--sq));
  padding: 0; margin: 0; transform: rotate(-2.5deg);
}
.court .chome { grid-column: 1 / 5; grid-row: 1; }
.court .c5 { grid-column: 1 / 3; grid-row: 2; } .court .c6 { grid-column: 3 / 5; grid-row: 2; }
.court .c4 { grid-column: 2 / 4; grid-row: 3; }
.court .c2 { grid-column: 1 / 3; grid-row: 4; } .court .c3 { grid-column: 3 / 5; grid-row: 4; }
.court .c1 { grid-column: 2 / 4; grid-row: 5; }
.arch { position: relative; margin: 0; height: 100%; color: var(--chalk); }
.arch img {
  position: absolute; inset: 7px 7px 6px; width: calc(100% - 14px); height: calc(100% - 13px); object-fit: cover;
  border-radius: calc(var(--sq) - 7px) calc(var(--sq) - 7px) 3px 3px / calc(var(--sq) - 7px) calc(var(--sq) - 7px) 3px 3px;
}
.arch figcaption {
  position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%);
  font-family: var(--display); font-size: 1.25rem; line-height: 1; color: var(--chalk); background: rgba(58, 61, 66, .82); padding: .2rem .6rem .3rem; border-radius: 6px;
}
.csq { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; text-decoration: none; color: var(--chalk); text-align: center; padding: .2rem; transition: background-color .2s; }
.csq .chalk { color: var(--c, var(--chalk-2)); }
.court .c1 { --c: var(--chalk-y); } .court .c2 { --c: var(--chalk-b); } .court .c3 { --c: var(--chalk-r); }
.court .c4 { --c: var(--chalk-y); } .court .c5 { --c: var(--chalk-b); } .court .c6 { --c: var(--chalk-r); }
.cs-n { font-family: var(--display); font-size: calc(var(--sq) * .42); line-height: .9; color: var(--c); }
.cs-t { font-size: .82rem; font-weight: 500; line-height: 1.15; }
.cs-stone { position: absolute; right: 9%; top: 11%; }
a.csq:hover { background: rgba(255, 255, 255, .07); color: #fff; }
a.csq:hover .cs-n { transform: translateY(-2px); }
.cs-n { transition: transform .2s var(--ease); }
@media (prefers-reduced-motion: no-preference) {
  .court .chalk-a { stroke-dasharray: 1; stroke-dashoffset: 1; animation: chalk-draw .9s var(--ease) forwards; }
  .court .c1 .chalk-a { animation-delay: .1s; } .court .c2 .chalk-a, .court .c3 .chalk-a { animation-delay: .25s; }
  .court .c4 .chalk-a { animation-delay: .4s; } .court .c5 .chalk-a, .court .c6 .chalk-a { animation-delay: .55s; }
  .court .chome .chalk-a { animation-delay: .7s; }
  .court .cs-stone { animation: stone-land .6s var(--ease) .9s both; }
}
@keyframes chalk-draw { to { stroke-dashoffset: 0; } }
@keyframes stone-land { from { transform: translateY(-40px) scale(.7); opacity: 0; } 60% { transform: translateY(2px); opacity: 1; } to { transform: none; } }
@media (min-width: 992px) {
  .hero { padding: 3.25rem 0 1.75rem; }
  .hero-copy { padding-top: 2.5rem; }
}
@media (max-width: 575px) {
  .hero { padding-top: 1.25rem; }
  .hero h1 { font-size: 2.6rem; }
  .hero-place { font-size: 1.02rem; }
  .hero-act { margin: 1rem 0 .8rem; gap: .6rem; }
  .hero-act .btn { flex: 1 1 auto; }
  .court { --sq: calc((100vw - 4rem) / 2.6); }
}

/* ---------- sections */
.sec { padding: 4rem 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-head { margin-bottom: 2rem; }
@media (min-width: 992px) { .sec { padding: 5.5rem 0; } }

.sec-facts { padding: 2rem 0; background: #fff; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; }
.facts li { display: flex; flex-direction: column; gap: .2rem; padding-left: 1rem; border-left: 1px solid var(--line); }
.f-k { font-family: var(--display); font-size: 1.55rem; line-height: 1.1; }
.f-v { font-size: .92rem; color: var(--ink-2); }
@media (min-width: 992px) { .facts { grid-template-columns: repeat(4, 1fr); } }

/* ---------- admission hopscotch */
.hopper { position: relative; }
.hop-court {
  --hs: clamp(72px, 12vw, 138px);
  display: grid; grid-template-columns: repeat(4, var(--hs)); grid-template-rows: repeat(4, calc(var(--hs) / 2));
  padding: 0; margin: 0 0 1.5rem; max-width: 100%;
}
.hop-court .h1 { grid-column: 1; grid-row: 2 / 4; }
.hop-court .h2 { grid-column: 2; grid-row: 1 / 3; } .hop-court .h3 { grid-column: 2; grid-row: 3 / 5; }
.hop-court .h4 { grid-column: 3; grid-row: 2 / 4; }
.hop-court .h5 { grid-column: 4; grid-row: 2 / 4; }
.hsq {
  position: relative; width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem;
  background: transparent; border: 0; color: var(--ink); font: 500 .85rem/1.15 var(--body); cursor: pointer; padding: .35rem; text-align: center;
  transition: background-color .25s;
}
.hsq .chalk { color: var(--ink); }
.hsq-n { font-family: var(--display); font-size: calc(var(--hs) * .3); line-height: .95; }
.hop-court .h2 .hsq-n, .hop-court .h3 .hsq-n { font-size: calc(var(--hs) * .22); }
.hsq:hover { background: rgba(255, 190, 11, .25); }
.hsq[aria-pressed="true"] { background: var(--yellow); }
.hsq-tick { position: absolute; top: 6px; left: 8px; color: var(--blue-deep); opacity: 0; transform: scale(.6); transition: opacity .2s, transform .3s var(--ease); }
.hsq.visited .hsq-tick { opacity: 1; transform: none; }
.hsq-tick .ic { width: 18px; height: 18px; stroke-width: 3; }
.hop-marker { position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; opacity: 0; }
.hopper.ready .hop-marker { opacity: 1; }
.hop-panel { min-height: 9rem; max-width: 62ch; }
.hop-step h3 { font-size: 1.3rem; }
.hs-n { display: inline-block; font-family: var(--display); font-weight: 400; color: var(--red-deep); margin-right: .25rem; }
.hopper.ready .hop-step:not(.on) { display: none; }
.hopper:not(.ready) .hop-step { margin-bottom: 1.25rem; }
.hopper:not(.ready) .hop-ctrl { display: none; }
.hop-act { display: flex; flex-wrap: wrap; gap: .6rem; }
.hop-ctrl { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .75rem; }
.hop-photo, .tip-photo, .life-photo, .learn-photo, .ph-photo { margin: 1.25rem 0 0; }
.hop-photo img, .tip-photo img, .life-photo img, .learn-photo img, .ph-photo img { border-radius: 14px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
figcaption { font-size: .8rem; color: var(--ink-2); margin-top: .4rem; }
.more { margin-top: 1rem; }
@media (max-width: 575px) {
  .hop-court { --hs: calc((100vw - 2.5rem) / 4.15); }
  .hsq-t { font-size: .74rem; }
}

/* ---------- reviews */
.quotes { padding: 0; }
.quote { margin: 0; height: 100%; display: flex; flex-direction: column; padding-top: .25rem; }
.quote-mark { position: relative; display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1rem; color: var(--ink); }
.quote-mark::after { content: "\201C"; font-family: var(--display); font-size: 2.6rem; line-height: 1; transform: translateY(8px); color: var(--red-deep); }
.quote blockquote { margin: 0 0 1rem; font-size: 1.12rem; line-height: 1.55; }
.quote blockquote p { margin: 0; }
.quote figcaption { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .6rem; font-size: .92rem; color: var(--ink); }
.stars { display: inline-flex; gap: 1px; color: #B57F00; }
.st { width: 16px; height: 16px; fill: var(--yellow); stroke: #8A6400; stroke-width: 1.4; }
.q-name { font-weight: 700; }
.q-meta { color: var(--ink-2); flex-basis: 100%; font-size: .85rem; }

/* ---------- tips */
.sec-tips { background: #fff; }
.tips { display: grid; gap: 0 2.5rem; padding: 0; }
.tip { display: flex; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--line); }
.tip h3 { margin-bottom: .3rem; }
.tip p { margin: 0; color: var(--ink-2); }
.tip-sq { flex: none; width: 22px; height: 22px; margin-top: .15rem; border-radius: 3px; background: var(--yellow); }
.tip.t1 .tip-sq { background: var(--red); } .tip.t2 .tip-sq { background: var(--blue); }
@media (min-width: 768px) { .tips { grid-template-columns: 1fr 1fr; } }

/* ---------- placeholders */
.todo { border: 2px dashed #A9A59A; background: var(--yellow-tint); border-radius: var(--r); padding: .8rem 1rem; color: var(--ink); font-size: .98rem; max-width: 62ch; }
span.todo { display: inline-block; padding: .35rem .7rem; font-size: .92rem; }
.todo-tag { display: block; font-weight: 700; color: var(--red-deep); font-size: .82rem; margin-bottom: .1rem; }
span.todo .todo-tag { display: inline; margin: 0 .3rem 0 0; }
.stock-note { font-size: .8rem; color: var(--ink-2); }

/* ---------- find us + form */
.sec-visit { background: var(--ground-2); }
.findus { position: relative; background: #fff; border: 2px solid var(--ink); border-radius: 16px; padding: 1.5rem 1.4rem; }
.findus-no { position: absolute; top: -18px; right: 18px; width: 54px; height: 54px; display: grid; place-items: center; background: var(--yellow); color: var(--ink); font-family: var(--display); font-size: 1.9rem; }
.findus-h { font-family: var(--display); font-weight: 400; font-size: 1.9rem; margin-right: 3.5rem; }
.findus-list { margin: 0 0 1.25rem; }
.findus-list > div { padding: .7rem 0; border-top: 1px solid var(--line); }
.findus-list dt { display: flex; align-items: center; gap: .45rem; font-weight: 700; font-size: .9rem; color: var(--ink-2); }
.findus-list dd { margin: .2rem 0 0; }
.findus-act { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; }
.map-box { margin-top: 1.25rem; border-radius: 12px; overflow: hidden; background: var(--ground-2); min-height: 260px; display: flex; }
.map-box iframe { width: 100%; min-height: 320px; border: 0; }
.map-fallback { padding: 1.25rem; display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; }
.map-fallback p { margin: 0; }
.map-note { font-size: .82rem; color: var(--ink-2); }
.ic-big { width: 34px; height: 34px; color: var(--red-deep); }
.near { margin-top: 1rem; color: var(--ink-2); font-size: .95rem; }

.enquiry { background: #fff; border-radius: 16px; padding: 1.5rem 1.4rem; border: 1px solid var(--line); }
@media (min-width: 768px) { .enquiry, .findus { padding: 2rem; } }
.form-title { font-size: clamp(1.9rem, 3vw, 2.4rem); }
.form-intro { color: var(--ink-2); }
.field label { display: block; font-weight: 500; margin-bottom: .3rem; }
.opt { color: var(--ink-2); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .65rem .8rem; border: 2px solid var(--field); border-radius: 8px; background: #fff;
  font: 400 1rem var(--body); color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 111, 224, .25); }
.field [aria-invalid="true"] { border-color: var(--red-deep); }
.hint { font-size: .85rem; color: var(--ink-2); margin: .3rem 0 0; }
.err { font-size: .9rem; color: var(--red-deep); font-weight: 500; margin: .3rem 0 0; }
.hp { position: absolute; left: -9999px; }
.form-summary { border: 2px solid var(--red-deep); border-radius: var(--r); padding: .8rem 1rem; margin-bottom: 1rem; color: var(--red-deep); font-weight: 500; }
.form-summary ul { padding-left: 1.2rem; margin-top: .3rem; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.2rem; margin-top: 1.25rem; }
.form-note { margin: 0; font-size: .9rem; color: var(--ink-2); }
.form-ok, .form-fail { margin: 1rem 0 0; padding: .8rem 1rem; border-radius: var(--r); font-weight: 500; }
.form-ok { background: #E7F4EA; color: #1C5A2C; border: 2px solid #2E7D44; }
.form-fail { background: #FBEAE6; color: var(--red-deep); border: 2px solid var(--red-deep); }
.btn[aria-busy="true"] { opacity: .75; cursor: progress; }

/* ---------- inner page heads */
.page-head { padding: 3rem 0 2.5rem; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); line-height: 1; }
.ph-lead { font-size: 1.18rem; max-width: 50ch; }
.ph-sq { position: relative; display: grid; place-items: center; width: 74px; height: 74px; margin: 0 0 1.25rem; color: var(--ink); background: var(--yellow); }
.ph-sq span:not(.ph-stone) { font-family: var(--display); font-size: 2.6rem; line-height: 1; }
.ph-stone { position: absolute; right: -12px; bottom: -8px; }
.page-head-plain h2 { font-size: 1.8rem; margin-top: 1.5rem; }
.ph-photo { margin: 0; }
@media (min-width: 992px) { .page-head { padding: 4rem 0 3.5rem; } }
.mt-h { margin-top: 1.75rem; }

/* ---------- tables */
.tbl-wrap { overflow-x: auto; }
.record { width: 100%; border-collapse: collapse; font-size: .98rem; font-variant-numeric: tabular-nums; }
.record th, .record td { text-align: left; padding: .75rem .6rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.record thead th { font-size: .85rem; color: var(--ink-2); border-bottom: 2px solid var(--ink); }
.record tbody th { font-weight: 700; white-space: nowrap; }
.src { color: var(--ink-2); font-size: .9rem; }
.src-L { color: var(--red-deep); }

/* ---------- classes */
.classes { padding: 0; margin-bottom: 1.5rem; }
.class-row { display: flex; gap: 1.5rem; padding: 1.75rem 0; border-top: 1px solid var(--line); }
.cr-sq { position: relative; flex: none; display: grid; place-items: center; width: 88px; height: 88px; color: var(--ink); font-family: var(--display); font-size: 2.6rem; }
.class-row:nth-child(1) .cr-sq { background: var(--yellow); }
.class-row:nth-child(2) .cr-sq { background: var(--chalk-b); }
.cr-body h3 { font-family: var(--display); font-weight: 400; font-size: 2rem; margin-bottom: .1rem; }
.cr-src { font-size: .88rem; color: var(--red-deep); font-weight: 500; }
.cr-body dl { margin: 0 0 .5rem; }
.cr-body dl > div { margin-bottom: .6rem; }
.cr-body dt { font-weight: 700; }
.cr-body dd { margin: 0; max-width: 62ch; }
@media (max-width: 575px) { .class-row { flex-direction: column; gap: .75rem; } .cr-sq { width: 64px; height: 64px; font-size: 2rem; } }
.sec-learn { background: #fff; }
.learn { display: grid; gap: 0 2rem; padding: 0; }
.learn li { padding: 1rem 0; border-top: 1px solid var(--line); }
.learn h3 { margin-bottom: .25rem; }
.learn p { margin: 0; color: var(--ink-2); }
@media (min-width: 768px) { .learn { grid-template-columns: 1fr 1fr; } }

/* ---------- admissions */
.ages { padding: 0; }
.ages li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.age-c { font-family: var(--display); font-size: 1.7rem; }
.age-a { color: var(--ink-2); }
.docs { padding: 0; }
.chk { display: flex; align-items: flex-start; gap: .75rem; padding: .7rem 0; border-top: 1px solid var(--line); cursor: pointer; }
.chk input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chk-box { flex: none; width: 26px; height: 26px; border: 2px solid var(--ink); border-radius: 4px; display: grid; place-items: center; color: transparent; background: #fff; }
.chk-box .ic { width: 18px; height: 18px; stroke-width: 3; }
.chk input:checked + .chk-box { background: var(--yellow); color: var(--ink); }
.chk input:focus-visible + .chk-box { outline: 3px solid var(--blue); outline-offset: 2px; }
.chk input:checked ~ span:last-child { text-decoration: line-through; text-decoration-color: rgba(30, 32, 34, .45); color: var(--ink-2); }
.faq { border-top: 1px solid var(--line); }
.faq:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; gap: .8rem; min-height: 56px; padding: .6rem 0; font-weight: 500; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq-sq { flex: none; width: 18px; height: 18px; border: 2px solid var(--ink); border-radius: 3px; transition: background-color .2s, transform .3s var(--ease); }
.faq[open] .faq-sq { background: var(--yellow); transform: rotate(45deg); }
.faq p { margin: 0 0 1rem 2.05rem; color: var(--ink-2); max-width: 60ch; }

/* ---------- school life */
.expect { display: grid; gap: 0 2.5rem; padding: 0; }
.expect li { padding: 1.25rem 0; border-top: 1px solid var(--line); }
.expect h3 { margin-bottom: .25rem; }
.expect li > p:not(.todo) { color: var(--ink-2); }
@media (min-width: 768px) { .expect { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .expect { grid-template-columns: 1fr 1fr 1fr; } }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; padding: 0; }
.gallery li:nth-child(3) { grid-row: span 2; }
.g-btn { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 12px; overflow: hidden; }
.g-btn img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; transition: transform .4s var(--ease); }
.gallery li:nth-child(3) .g-btn img { aspect-ratio: auto; }
.g-btn:hover img { transform: scale(1.03); }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); } .gallery li:nth-child(3) { grid-column: 3; grid-row: 1 / 3; } }
.lightbox { border: 0; padding: 0; max-width: min(1000px, 94vw); background: var(--ink); color: #fff; border-radius: 14px; }
.lightbox::backdrop { background: rgba(30, 32, 34, .82); }
.lb-img { width: 100%; height: auto; max-height: 76vh; object-fit: contain; }
.lb-cap { padding: .75rem 1rem 0; margin: 0; font-size: .92rem; }
.lb-ctrl { display: flex; gap: .5rem; justify-content: flex-end; padding: .75rem; }
.lb-ctrl button { width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--r); border: 2px solid rgba(255, 255, 255, .6); background: transparent; color: #fff; cursor: pointer; }
.lb-ctrl button:hover { background: rgba(255, 255, 255, .12); }
.lightbox :focus-visible { outline-color: var(--yellow); }

/* ---------- footer */
.site-foot { background: var(--ground-2); padding: 3.5rem 0 2rem; border-top: 1px solid var(--line); font-size: .98rem; }
.foot-brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); font-family: var(--display); font-size: 1.45rem; line-height: 1.1; margin-bottom: 1rem; }
.foot-addr { margin-bottom: .4rem; }
.foot-phone { font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.foot-small { font-size: .9rem; color: var(--ink-2); }
.foot-h { font-family: var(--display); font-weight: 400; font-size: 1.45rem; color: var(--ink); margin-bottom: .5rem; }
.foot-list { list-style: none; padding: 0; }
.foot-list li { margin-bottom: .1rem; }
.foot-list a { display: inline-flex; align-items: center; gap: .55rem; min-height: 40px; color: var(--ink); }
.fnum { display: grid; place-items: center; width: 24px; height: 24px; border: 1.5px solid var(--ink); border-radius: 3px; font-family: var(--display); font-size: .95rem; line-height: 1; }
.foot-notes { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid #CFCBC0; font-size: .85rem; color: var(--ink-2); }
.foot-notes p { margin-bottom: .4rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; scroll-behavior: auto !important; }
}
.sec-name p, .sec-life p:not(.todo) { max-width: 66ch; }
@media (min-width: 576px) and (max-width: 991px) {
  .court { --sq: min(13vw, 118px); }
  .hop-photo img, .tip-photo img { aspect-ratio: 16 / 9; }
}
