/* Purple Crayon Preschool: wax crayon on kraft paper.
   Tokens: kraft ground, ink text, one writing crayon (purple), three drawing crayons (orange, sky, grass). */
/* metric-matched fallbacks, so the swap to the web fonts does not shift the layout */
@font-face { font-family: "Sarabun Fallback"; src: local("Arial"), local("ArialMT"), local("Roboto"); size-adjust: 96.3%; ascent-override: 110.9%; descent-override: 24.1%; line-gap-override: 0%; }
@font-face { font-family: "Fredoka Fallback"; src: local("Arial Bold"), local("Arial-BoldMT"), local("Roboto"); size-adjust: 100.8%; ascent-override: 96.6%; descent-override: 23.4%; line-gap-override: 0%; }
:root {
  --kraft: #F3EBDD;
  --kraft-deep: #E6D8BF;
  --sheet: #FBF7EF;
  --ink: #2A2238;
  --ink-soft: #4B4359;
  --purple: #6A3FA0;
  --purple-deep: #4E2C7A;
  --orange: #F28C28;
  --sky: #3C9BD6;
  --grass: #58A846;
  --line: #CDBB9C;
  --display: "Fredoka", "Fredoka Fallback", system-ui, sans-serif;
  --body: "Sarabun", "Sarabun Fallback", system-ui, sans-serif;
  --wobble: 255px 18px 225px 16px / 16px 225px 18px 255px;
  --wobble-2: 18px 220px 20px 240px / 230px 18px 250px 16px;
  --shadow: 0 1px 0 var(--line), 0 14px 30px -18px rgba(42, 34, 56, .35);
  --ease: cubic-bezier(.22, .8, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--kraft);
  /* kraft fibre: a tiny noise tile, darker flecks only */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .33 0 0 0 0 .18 0 0 0 -1.6 1.05'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.33'/%3E%3C/svg%3E");
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--purple); text-underline-offset: .18em; text-decoration-thickness: 2px; }
a:hover { color: var(--purple-deep); }
:focus-visible { outline: 3px solid var(--purple); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; font-weight: 500; }
p { margin: 0 0 1em; max-width: 68ch; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.muted { color: var(--ink-soft); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus, .skip:hover { top: 12px; color: #fff; }
.ic { width: 1.25em; height: 1.25em; flex: none; }
.hp { position: absolute; left: -9999px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- buttons: wax-edged, never pill-perfect ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em; min-height: 48px; padding: .7em 1.3em;
  font: 600 1.02rem/1.2 var(--body); text-decoration: none; cursor: pointer;
  border: 2.5px solid var(--purple); border-radius: var(--wobble); transition: transform .15s var(--ease), background-color .15s;
}
.btn-purple { background: var(--purple); color: #fff; }
.btn-purple:hover { background: var(--purple-deep); border-color: var(--purple-deep); color: #fff; transform: rotate(-1deg); }
.btn-line { background: var(--sheet); color: var(--purple); }
.btn-line:hover { background: #fff; color: var(--purple-deep); transform: rotate(1deg); }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }

/* crayon underline used on nav links and inline links */
.under { position: absolute; left: -4px; right: -4px; bottom: -2px; width: calc(100% + 8px); height: 10px; overflow: visible; }
.under path { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; transition: stroke-dashoffset .45s var(--ease), opacity .1s; }
.link-crayon .under path, .nav-a:hover .under path, .nav-a:focus-visible .under path, .nav-a[aria-current="page"] .under path, .sheet-a[aria-current="page"] .under path, .sheet-a:hover .under path { opacity: 1; }
.link-crayon { position: relative; display: inline-block; font-weight: 600; text-decoration: none; padding-bottom: 4px; }
.link-crayon .under path { stroke-dashoffset: 0; }
.link-crayon:hover .under path { stroke: var(--orange); }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(243, 235, 221, .96); backdrop-filter: blur(6px); border-bottom: 1.5px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.brand { flex: none; display: block; }
.brand img { width: 215px; height: 50px; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-a { position: relative; display: inline-block; padding: .55rem .1rem; color: var(--ink); text-decoration: none; font-weight: 500; }
.nav-a:hover .under path, .nav-a:focus-visible .under path { stroke-dashoffset: 0; stroke: var(--orange); }
.nav-a[aria-current="page"] .under path { stroke-dashoffset: 0; }
.nav-a[aria-current="page"] { color: var(--purple-deep); font-weight: 600; }
.head-call { display: inline-flex; align-items: center; gap: .4em; padding: .55em 1em; border-radius: var(--wobble); background: var(--purple); color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; }
.head-call:hover { background: var(--purple-deep); color: #fff; }
.menu-btn { display: none; margin-left: auto; align-items: center; gap: .4em; min-height: 46px; padding: .5em .95em; font: 600 1rem var(--body); color: var(--ink); background: var(--sheet); border: 2px solid var(--ink); border-radius: var(--wobble-2); cursor: pointer; }
@media (max-width: 1199.98px) { .main-nav ul { gap: 1.05rem; } .brand img { width: 190px; height: 44px; } }
@media (max-width: 991.98px) {
  .main-nav, .head-call { display: none; }
  .menu-btn { display: inline-flex; }
  .head-row { min-height: 66px; }
}

/* phone sheet: a page torn from a spiral sketch pad */
.sheet-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(42, 34, 56, .45); }
.sheet {
  position: fixed; z-index: 61; top: 0; left: 10px; right: 10px; max-width: 460px; margin: 0 auto;
  max-height: calc(100dvh - 24px); overflow-y: auto; padding: 2.6rem 1.4rem 2.6rem;
  background: var(--sheet);
  box-shadow: 0 24px 50px -20px rgba(42, 34, 56, .6);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), 96% 100%, 91% calc(100% - 9px), 85% 100%, 79% calc(100% - 12px), 72% 100%, 66% calc(100% - 7px), 59% 100%, 52% calc(100% - 13px), 46% 100%, 39% calc(100% - 8px), 32% 100%, 26% calc(100% - 12px), 19% 100%, 12% calc(100% - 9px), 6% 100%, 0 calc(100% - 12px));
  animation: sheet-in .32s var(--ease);
}
.sheet-rings { position: absolute; top: 10px; left: 18px; right: 18px; height: 16px;
  background: radial-gradient(circle at 8px 8px, var(--kraft-deep) 0 6px, var(--ink-soft) 6px 7.5px, transparent 8px) 0 0 / 26px 16px repeat-x; }
@keyframes sheet-in { from { transform: translateY(-40px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; }
.sheet-title { font: 600 1.35rem var(--display); color: var(--purple-deep); }
.sheet-close { display: inline-flex; align-items: center; gap: .3em; min-height: 44px; padding: .4em .8em; font: 600 1rem var(--body); background: none; border: 2px solid var(--ink); border-radius: var(--wobble); color: var(--ink); cursor: pointer; }
.sheet-list { list-style: none; margin: 0 0 1.2rem; padding: 0; }
.sheet-a { position: relative; display: inline-block; padding: .35rem 0; font: 500 1.6rem/1.3 var(--display); color: var(--ink); text-decoration: none; }
.sheet-a[aria-current="page"] { color: var(--purple-deep); }
.sheet-a[aria-current="page"] .under path, .sheet-a:hover .under path { stroke-dashoffset: 0; }
.sheet-acts { display: grid; gap: .7rem; }
.sheet-foot { margin: 1.2rem 0 0; font-size: .95rem; color: var(--ink-soft); }

/* ---------- hero ---------- */
.hero { padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(2.5rem, 6vw, 5rem); }
.hero h1 { margin-bottom: .35em; color: var(--ink); }
.hero-lead { font-size: clamp(1.1rem, 1.6vw, 1.28rem); max-width: 34em; }
.hero-hi { font-size: 1.15rem; color: var(--purple-deep); font-weight: 600; }
.hero-acts { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.4rem 0 1.5rem; }
.hero-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.hero-facts li { display: flex; gap: .55rem; align-items: flex-start; }
.hero-facts .ic { color: var(--purple); margin-top: .2em; }
.hero-art { position: relative; padding: 7% 7% 6%; }
.hero-photo { position: relative; overflow: hidden; border-radius: 6px 14px 8px 12px; }
.hero-photo img { width: 100%; aspect-ratio: 1000 / 794; object-fit: cover; }
.hero-draw, .hero-doodles { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.hero-draw .line { stroke-dasharray: 1; stroke-dashoffset: 0; animation: draw 1.7s .25s var(--ease) both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.hero-doodles { transform: scale(.94); transform-origin: center; }
.dd { animation: pop .5s var(--ease) both; }
.dd-sun { animation-delay: 1.6s; } .dd-house { animation-delay: 1.8s; } .dd-stars { animation-delay: 2s; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.photo-note { font-size: .9rem; color: var(--ink-soft); margin: .4rem 0 0; }
@media (max-width: 991.98px) { .hero-art { max-width: 560px; margin: 2.6rem auto 0; } .hero { padding-top: 1.6rem; } }
@media (max-width: 575.98px) {
  .hero-acts .btn { flex: 1 1 auto; justify-content: center; }
  .hero-acts .btn-call { display: none; }
}

/* ---------- sections ---------- */
.sec { padding: clamp(3rem, 7vw, 5.5rem) 0; position: relative; }
.sec + .sec { padding-top: clamp(1rem, 3vw, 2rem); }
.small-print { font-size: .93rem; color: var(--ink-soft); margin-top: 1.2rem; }
.paper { background: var(--sheet); border-radius: 4px 6px 3px 5px; padding: clamp(1.3rem, 3vw, 2.3rem); box-shadow: var(--shadow); position: relative; }
.paper-long h2 { font-size: 1.6rem; margin-top: 1.4em; }
.paper-long h2:first-child { margin-top: 0; }

/* honest placeholder notes */
.tbc { border: 2px dashed var(--purple); border-radius: 10px; padding: .75rem 1rem; background: rgba(251, 247, 239, .75); color: var(--ink); font-size: .98rem; }
span.tbc { display: inline-block; }
.tbc-k { font-weight: 600; color: var(--purple-deep); }
.tbc-mini { font-size: .92rem; color: var(--purple-deep); border-top: 2px dashed var(--purple); padding-top: .4rem; margin: .5rem 0 0; }
.note-general { font-size: .95rem; color: var(--ink-soft); font-style: italic; }

/* parents' words: three torn drawing-paper notes */
.rating-line { display: flex; align-items: center; gap: 1rem; margin: 0; }
.rating-num { font: 600 3.4rem/1 var(--display); color: var(--purple); }
.rating-txt { color: var(--ink-soft); max-width: 36ch; }
.notes { display: grid; gap: 1.6rem; margin-top: 2rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.note { margin: 0; background: var(--sheet); padding: 1.6rem 1.4rem 1.3rem; box-shadow: var(--shadow); position: relative;
  clip-path: polygon(0 4px, 8% 0, 18% 5px, 31% 1px, 44% 6px, 57% 0, 70% 4px, 84% 1px, 100% 5px, 100% 100%, 0 100%); }
.note:nth-child(1) { transform: rotate(-1.2deg); } .note:nth-child(2) { transform: rotate(.8deg) translateY(10px); } .note:nth-child(3) { transform: rotate(-.5deg); }
.note blockquote { margin: 0; }
.note blockquote p { font-size: 1.08rem; margin: 0 0 .8rem; }
.note::before { content: "“"; position: absolute; top: .1rem; right: 1rem; font: 600 4rem/1 var(--display); color: var(--orange); opacity: .55; }
.note figcaption { font-size: .92rem; font-weight: 600; color: var(--purple-deep); }
@media (max-width: 991.98px) { .notes { grid-template-columns: 1fr; } .note:nth-child(2) { transform: rotate(.6deg); } }

/* ---------- crayon box ---------- */
.box-wrap { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 2rem; align-items: end; }
.box { position: relative; height: 330px; padding: 0 16px; }
.box-crayons { position: absolute; left: 22px; right: 22px; bottom: 26px; display: flex; gap: 8px; align-items: flex-end; height: 300px; }
.crayon { position: relative; flex: 1 1 0; min-width: 0; height: 250px; padding: 0; border: 0; background: none; cursor: pointer; transition: transform .35s var(--ease); --c: var(--purple); --t: #fff; }
.crayon[aria-selected="true"] { transform: translateY(-46px); }
.crayon:hover:not([aria-selected="true"]) { transform: translateY(-10px); }
.crayon-tip { position: absolute; top: 0; left: 0; right: 0; height: 40px; background: var(--c); clip-path: polygon(32% 0, 68% 0, 100% 100%, 0 100%); filter: brightness(.92); }
.crayon-body { position: absolute; top: 38px; left: 0; right: 0; bottom: 0; background: var(--c); border-radius: 2px 2px 6px 6px;
  display: flex; justify-content: center; padding-top: 22px;
  box-shadow: inset 0 14px 0 -8px rgba(0, 0, 0, .14), inset 0 -60px 0 -52px rgba(0, 0, 0, .14), inset 6px 0 0 rgba(255, 255, 255, .18); }
.crayon-name { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); writing-mode: vertical-rl; font: 600 1.1rem/1 var(--display); color: var(--t); white-space: nowrap; }
.c-purple { --c: var(--purple); --t: #fff; } .c-ink { --c: var(--ink); --t: #fff; }
.c-orange { --c: var(--orange); --t: var(--ink); } .c-grass { --c: var(--grass); --t: var(--ink); } .c-sky { --c: var(--sky); --t: var(--ink); }
.crayon:focus-visible { outline-offset: 4px; }
.box-front { position: absolute; left: 0; right: 0; bottom: 0; height: 112px; z-index: 2; pointer-events: none;
  background: var(--purple-deep); border-radius: 6px 6px 10px 10px; color: #fff; padding: 1rem 1.1rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  box-shadow: inset 0 10px 0 rgba(255, 255, 255, .08), 0 12px 24px -14px rgba(42, 34, 56, .6); }
.box-front::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 18px; background: var(--purple); clip-path: polygon(0 100%, 6% 0, 94% 0, 100% 100%); }
.box-brand { font: 600 1.15rem/1.1 var(--display); }
.box-count { font-size: .9rem; opacity: .9; }
.box-panel { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 12' preserveAspectRatio='none'%3E%3Cpath d='M3 7C60 2 110 11 160 6S250 3 297 7' fill='none' stroke='%236A3FA0' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") top 6px left 1.2rem / calc(100% - 2.4rem) 12px no-repeat, var(--sheet); padding: 1.8rem 1.5rem 1.4rem; box-shadow: var(--shadow); border-radius: 4px; }
.box-panel h3 { margin-bottom: .2em; }
.box-short { font-weight: 600; color: var(--purple-deep); }
.box-panels .note-general { margin-top: 1rem; }
@media (max-width: 767.98px) {
  .box-wrap { grid-template-columns: 1fr; }
  .box { max-width: 340px; width: 100%; margin: 0 auto; }
}

/* ---------- fridge door ---------- */
.fridge { position: relative; margin-top: 2rem; background: #F7F6F1; border-radius: 28px; padding: clamp(1.4rem, 4vw, 2.8rem) clamp(1rem, 4vw, 3rem) clamp(1.4rem, 4vw, 2.8rem) clamp(2.6rem, 6vw, 4.4rem);
  box-shadow: inset 0 0 0 1px #E2DED3, inset 0 -18px 30px -24px rgba(42, 34, 56, .35), 0 24px 40px -30px rgba(42, 34, 56, .55); }
.fridge-handle { position: absolute; left: clamp(.8rem, 2vw, 1.4rem); top: 18%; bottom: 18%; width: 12px; border-radius: 8px; background: linear-gradient(90deg, #D9D6CC, #F2F0EA 45%, #C9C5BA); }
.fridge-door { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 42%), 1fr)); gap: 1.6rem 1.2rem; align-items: start; }
.fd { position: relative; margin: 0; background: #fff; padding: 1.2rem .8rem .6rem; box-shadow: 0 6px 14px -8px rgba(42, 34, 56, .4); }
.fd:nth-child(odd) { transform: rotate(-2deg); } .fd:nth-child(even) { transform: rotate(1.6deg) translateY(8px); }
.fd svg { width: 100%; height: auto; overflow: visible; }
.fd figcaption { font: 500 1rem var(--display); color: var(--ink-soft); text-align: center; }
.magnet { position: absolute; top: -10px; left: 50%; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff8 0 3px, transparent 4px), var(--m, var(--orange)); box-shadow: 0 3px 5px rgba(42, 34, 56, .35); }
.fd-1 .magnet { --m: var(--sky); } .fd-2 .magnet { --m: var(--purple); } .fd-3 .magnet { --m: var(--grass); } .fd-4 .magnet { --m: var(--purple); }

/* ---------- visit + form ---------- */
.visit-addr { font: 500 1.35rem/1.35 var(--display); }
.visit-small { font-size: .95rem; color: var(--ink-soft); }
.visit-hours { display: flex; gap: .6rem; align-items: flex-start; }
.visit-hours .ic { color: var(--purple); margin-top: .25em; }
.visit-acts { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.open-state.is-open { font-weight: 600; color: #2E6B23; }
.map-box { margin-top: 1.4rem; }
.map-card { border: 2px dashed var(--line); border-radius: 10px; padding: 1rem; }
.map-pin { display: flex; gap: .5rem; font-size: .95rem; color: var(--ink-soft); }
.map-box iframe { width: 100%; height: 340px; border: 0; border-radius: 8px; display: block; }

.enq-h { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: .1em; }
.enq-hi { color: var(--purple-deep); font-weight: 600; }
.field label { display: block; font-weight: 600; margin-bottom: .3rem; }
.opt { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .65rem .8rem; font: 400 1.02rem var(--body); color: var(--ink);
  background: #fff; border: 2px solid #8E8299; border-radius: 6px 10px 7px 9px; }
.field textarea { min-height: 48px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--purple); outline-offset: 1px; border-color: var(--purple); }
.field [aria-invalid="true"] { border-color: #B3261E; background: #FFF6F5; }
.hint { font-size: .88rem; color: var(--ink-soft); margin: .25rem 0 0; }
.err { font-size: .92rem; color: #B3261E; font-weight: 600; margin: .3rem 0 0; }
.enq-summary { border: 2px solid #B3261E; background: #FFF6F5; border-radius: 8px; padding: .7rem 1rem; margin-bottom: 1rem; color: #8C1D18; }
.enq-summary ul { margin: .3rem 0 0; padding-left: 1.2rem; }
.enq-summary a { color: #8C1D18; }
.enq-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.3rem; }
.enq-or { margin: 0; }
.enq-status { margin: 1rem 0 0; font-weight: 600; }
.enq-status.ok { color: #2E6B23; background: #EEF7EA; border-radius: 8px; padding: .6rem .9rem; }
.enq-status.bad { color: #8C1D18; background: #FFF6F5; border-radius: 8px; padding: .6rem .9rem; }

/* ---------- scribble-tab FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem; margin-top: 1.5rem; align-items: start; }
.ftabs { display: grid; gap: .3rem; justify-items: start; }
.ftab { position: relative; text-align: left; padding: .8rem 1rem; min-height: 48px; font: 500 1.05rem/1.35 var(--body); color: var(--ink); background: none; border: 0; cursor: pointer; border-radius: 6px; }
.ftab span { position: relative; }
.ftab .scribble { position: absolute; left: .6rem; right: .6rem; bottom: .1rem; width: calc(100% - 1.2rem); height: 30%; opacity: .6; }
.ftab .scribble path { stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 0; transition: stroke-dashoffset .5s var(--ease); }
.ftab[aria-selected="true"] .scribble path { opacity: 1; }
.ftab[aria-selected="true"] { font-weight: 600; color: var(--purple-deep); }
.ftab[aria-selected="true"] .scribble path { stroke-dashoffset: 0; }
.ftab:hover { background: rgba(251, 247, 239, .7); }
.fpanel { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 12' preserveAspectRatio='none'%3E%3Cpath d='M3 7C60 2 110 11 160 6S250 3 297 7' fill='none' stroke='%23F28C28' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") top 6px left 1.2rem / calc(100% - 2.4rem) 12px no-repeat, var(--sheet); padding: 1.9rem 1.7rem 1.6rem; box-shadow: var(--shadow); border-radius: 4px; }
.fq { font: 600 1.3rem/1.3 var(--display); color: var(--ink); }
@media (max-width: 767.98px) {
  .faq { grid-template-columns: 1fr; gap: 1rem; }
  .ftabs { display: flex; overflow-x: auto; gap: .4rem; padding-bottom: .4rem; scroll-snap-type: x mandatory; }
  .ftab { flex: 0 0 auto; max-width: 74vw; scroll-snap-align: start; background: rgba(251, 247, 239, .6); }
}

/* ---------- inner page band ---------- */
.band { position: relative; padding: clamp(2rem, 5vw, 3.8rem) 0 clamp(1.6rem, 4vw, 2.6rem); overflow: hidden; }
.band h1 { max-width: 15ch; }
.band-lead { font-size: 1.2rem; max-width: 38em; }
.band-hi { color: var(--purple-deep); font-weight: 600; font-size: 1.1rem; }
.band-doodle { position: absolute; right: max(2vw, calc((100vw - 1320px) / 2)); top: 24%; width: clamp(140px, 18vw, 240px); height: auto; overflow: visible; }
.band-solo { padding: 4rem 0 5rem; min-height: 48vh; }
.band + .sec { padding-top: clamp(1.5rem, 4vw, 3rem); }
.visit-doodle { display: block; width: min(260px, 70%); height: auto; margin-top: 2.5rem; overflow: visible; }
@media (max-width: 991.98px) { .visit-doodle { display: none; } }
.crumbs ol { display: flex; gap: .5rem; list-style: none; padding: 0; margin: 0 0 1rem; font-size: .95rem; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--ink-soft); }
@media (max-width: 767.98px) { .band-doodle { display: none; } }

/* taped photos */
.taped { position: relative; margin: 0 0 2rem; padding: 10px 10px 0; background: #fff; box-shadow: var(--shadow); transform: rotate(-1deg); }
.taped-r { transform: rotate(1.2deg); }
.taped::before, .taped::after { content: ""; position: absolute; width: 86px; height: 24px; background: rgba(242, 140, 40, .42); top: -10px; }
.taped::before { left: 14px; transform: rotate(-6deg); } .taped::after { right: 14px; transform: rotate(5deg); background: rgba(60, 155, 214, .38); }
.taped figcaption { font-size: .88rem; color: var(--ink-soft); padding: .5rem .2rem .6rem; }
.said h2 { font-size: 1.5rem; }
.crayon-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.crayon-list li { position: relative; padding: .3rem 0 .3rem 1.8rem; }
.crayon-list li::before { content: ""; position: absolute; left: 0; top: .85em; width: 1.1rem; height: 6px; border-radius: 3px; background: var(--purple); transform: rotate(-8deg); }
.crayon-list li:nth-child(4n+2)::before { background: var(--orange); } .crayon-list li:nth-child(4n+3)::before { background: var(--sky); } .crayon-list li:nth-child(4n+4)::before { background: var(--grass); }

/* classes page */
.table-paper { background: var(--sheet); box-shadow: var(--shadow); padding: 1rem; overflow-x: auto; border-radius: 4px; }
.ages { width: 100%; border-collapse: collapse; }
.ages caption { caption-side: bottom; text-align: left; font-size: .9rem; color: var(--ink-soft); padding-top: .6rem; }
.ages th, .ages td { text-align: left; padding: .7rem .6rem; border-bottom: 1.5px solid var(--kraft-deep); }
.ages thead th { font-family: var(--display); font-weight: 500; color: var(--purple-deep); }
.tbc-cell { color: var(--purple-deep); font-weight: 600; }
.area { padding: 2rem 0; border-top: 2px dashed var(--line); }
.area:first-of-type { border-top: 0; }
.area h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.7rem; font-weight: 600; }
.area-swatch { width: 48px; height: 14px; border-radius: 3px 8px 8px 3px; background: var(--c); clip-path: polygon(0 0, 78% 0, 100% 50%, 78% 100%, 0 100%); }
.a-purple { --c: var(--purple); } .a-orange { --c: var(--orange); } .a-grass { --c: var(--grass); } .a-sky { --c: var(--sky); } .a-ink { --c: var(--ink); }
.area-short { font-weight: 600; color: var(--purple-deep); }
.area-photo { margin: 0; border: 8px solid #fff; box-shadow: var(--shadow); }
.area-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* admissions */
.steps { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.4rem; counter-reset: s; }
.step { background: var(--sheet); padding: 1.3rem 1.2rem; box-shadow: var(--shadow); border-radius: 4px; }
.step-n { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: .6rem; font: 600 1.4rem var(--display); color: #fff; background: var(--purple); border-radius: 48% 52% 46% 54% / 55% 45% 55% 45%; }
.step:nth-child(2) .step-n { background: var(--ink); } .step:nth-child(3) .step-n { background: var(--purple-deep); }
.steps-line { display: block; width: 100%; height: 30px; margin-top: .4rem; }
@media (max-width: 991.98px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps-line { display: none; } }
@media (max-width: 575.98px) { .steps { grid-template-columns: 1fr; } }

/* campus life */
.gallery { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1.6rem; }
.g-item { position: relative; }
.g-item:nth-child(odd) { transform: rotate(-1deg); } .g-item:nth-child(even) { transform: rotate(1deg) translateY(16px); }
.g-open { position: relative; display: block; width: 100%; padding: 10px; border: 0; background: #fff; box-shadow: var(--shadow); cursor: zoom-in; }
.g-open img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.g-zoom { position: absolute; right: 18px; bottom: 18px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sheet); color: var(--purple); }
.g-cap { margin: .5rem 0 0; font: 500 1.05rem var(--display); }
@media (max-width: 575.98px) { .gallery { grid-template-columns: 1fr; } .g-item:nth-child(even) { transform: rotate(1deg); } }
.fac { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.fac li { border: 2px dashed var(--purple); border-radius: 12px; padding: 1rem 1.1rem; background: rgba(251, 247, 239, .55); }
.fac h3 { font-size: 1.2rem; margin: 0; }
@media (max-width: 767.98px) { .fac { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .fac { grid-template-columns: 1fr; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(94vw, 1000px); width: 100%; overflow: visible; }
.lightbox::backdrop { background: rgba(42, 34, 56, .82); }
.lightbox figure { margin: 0; background: #fff; padding: 10px; }
.lightbox img { width: 100%; height: auto; max-height: 76vh; object-fit: contain; }
.lightbox figcaption { padding: .5rem .2rem 0; font: 500 1.05rem var(--display); color: var(--ink); }
.lightbox button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--sheet); color: var(--ink); cursor: pointer; }
.lb-close { top: -58px; right: 0; } .lb-prev { left: 10px; top: 45%; } .lb-next { right: 10px; top: 45%; }

/* contact */
.reach { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .7rem; }
.reach a { display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; min-height: 52px; background: var(--sheet); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); border-radius: 4px; }
.reach a .ic { color: var(--purple); }
.reach a:hover { color: var(--purple-deep); }

/* ---------- footer + phone action bar ---------- */
.site-foot { position: relative; margin-top: 3rem; padding: 3.5rem 0 2.5rem; background: var(--ink); color: #EDE6F3; }
.site-foot a { color: #fff; }
.site-foot a:hover { color: #FFD3A6; }
.foot-edge { position: absolute; top: -12px; left: 0; width: 100%; height: 24px; }
.foot-logo { width: 215px; height: 50px; margin-bottom: .6rem; }
.foot-note, .foot-small { font-size: .92rem; color: #D6CCE2; }
.foot-line { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .6rem; }
.foot-line .ic { margin-top: .2em; color: var(--orange); }
.foot-h { font: 600 1.75rem var(--display); color: #fff; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.act-bar { display: none; }
@media (max-width: 991.98px) {
  body { padding-bottom: 64px; }
  .act-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--purple-deep); box-shadow: 0 -6px 18px -8px rgba(42, 34, 56, .5); }
  .act-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 60px; color: #fff; text-decoration: none; font-size: .9rem; font-weight: 600; }
  .act-bar a + a { border-left: 1px solid rgba(255, 255, 255, .2); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-draw .line { stroke-dashoffset: 0; }
  .dd { opacity: 1; }
}
