/* The LearnFiesta Play School & Day Care: a carousel and a string of bunting.
   Flat cut-paper layers, no gradients on the carousel. Sigmar One for headings only, Dosis for reading. */
:root {
  --ground: #FFF7EE;
  --cream: #FFF0D6;
  --paper: #FFFFFF;
  --ink: #2C1B2E;
  --ink-soft: #5B4560;
  --red: #E0453F;
  --red-d: #B5302B;
  --teal: #1FA6A0;
  --teal-d: #0E716D;
  --gold: #F4B63A;
  --pink: #F27DA8;
  --line: #D9BFA8;
  --ok: #1F7A54;
  --display: "Sigmar One", "Sigmar Fallback", "Arial Rounded MT Bold", system-ui, sans-serif;
  --body: "Dosis", "Dosis Fallback", "Trebuchet MS", system-ui, sans-serif;
  --hindi: "Noto Sans Devanagari", "Dosis", system-ui, sans-serif;
  --sec: clamp(3rem, 2.3rem + 3vw, 5rem);
  --ring: 0 0 0 3px var(--ground), 0 0 0 6px var(--ink);
}
@font-face { font-family: "Sigmar Fallback"; src: local("Arial Black"), local("Arial"); size-adjust: 98%; ascent-override: 92%; }
@font-face { font-family: "Dosis Fallback"; src: local("Trebuchet MS"), local("Arial"); size-adjust: 94%; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--ink);
  font-family: var(--body); font-weight: 500; font-size: 1.1875rem; line-height: 1.6;
  font-variant-numeric: lining-nums;
}
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--teal-d); text-underline-offset: 3px; text-decoration-thickness: 2px; }
a:hover { color: var(--ink); text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .foot :focus-visible, .close-band :focus-visible, .dock :focus-visible { outline-color: var(--gold); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(1.9rem, 1.15rem + 2.9vw, 3.15rem); }
.h2, h2 { font-size: clamp(1.8rem, 1.25rem + 2.2vw, 2.9rem); }
.h3, h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 10px; }
.hp { position: absolute; left: -9999px; }
.lead { font-size: 1.3rem; max-width: 40rem; }
.lead-s { font-size: 1.2rem; max-width: 36rem; color: var(--ink-soft); }
.note { font-size: 1rem; color: var(--ink-soft); }
.cap { font-size: .9rem; color: var(--ink-soft); margin: 8px 0 0; }
.hi-line { font-family: var(--hindi); font-weight: 600; color: var(--teal-d); margin: 0 0 .6em; font-size: 1.3rem; }
.hi-big { font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); }
.text-link { font-weight: 700; }
.container { position: relative; }

/* ---------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 10px 22px;
  border: 2px solid transparent; border-radius: 999px; font: 700 1.08rem/1.1 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .15s, background-color .15s, color .15s;
}
.btn .ic { flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red-d); color: #fff; }
.btn-red:hover { background: #8F2420; color: #fff; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #E7A620; color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn[disabled] { opacity: .65; cursor: default; transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.2em 0; }

/* ---------- header: bunting nav */
.top { position: sticky; top: 0; z-index: 50; background: var(--ground); }
.top-row { display: flex; align-items: center; gap: 16px; min-height: 76px; padding-top: 6px; padding-bottom: 6px; }
.brand { display: block; flex: none; line-height: 0; }
.brand img { width: auto; height: 56px; }
.pennants { display: none; flex: 1; position: relative; align-self: flex-start; padding-top: 0; }
.pennants::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 3px; background: var(--ink); border-radius: 2px; }
.pn-list { display: flex; justify-content: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.pn-list li { transform-origin: 50% 0; }
.pn-list li:nth-child(odd) { transform: rotate(1.6deg); }
.pn-list li:nth-child(even) { transform: rotate(-1.6deg); }
.pn {
  display: flex; align-items: flex-start; justify-content: center; width: 92px; height: 66px; padding-top: 12px;
  clip-path: polygon(0 0, 100% 0, 100% 58%, 50% 100%, 0 58%);
  font: 700 1.02rem/1.1 var(--body); text-decoration: none; transition: transform .15s;
}
.pn:hover { transform: translateY(3px); }
.pn-redd { background: var(--red-d); color: #fff; }
.pn-teald { background: var(--teal-d); color: #fff; }
.pn-gold { background: var(--gold); color: var(--ink); }
.pn-pink { background: var(--pink); color: var(--ink); }
.pn[aria-current="page"] { background: var(--ink); color: var(--cream); height: 74px; }
.pn-list li:has(.pn:focus-visible) { outline: 3px solid var(--ink); outline-offset: 2px; }
.pn:focus-visible { outline: none; background: var(--ink); color: var(--cream); text-decoration: underline; text-decoration-thickness: 3px; }
.top-call { display: none; flex: none; }
.menu-btn {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 8px 18px;
  background: var(--red-d); color: #fff; border: 0; border-radius: 999px; font: 700 1.05rem var(--body); cursor: pointer;
}
@media (min-width: 992px) {
  .pennants, .top-call { display: block; }
  .top-call { display: inline-flex; }
  .menu-btn { display: none; }
  .top-row { min-height: 84px; }
}
@media (min-width: 1200px) { .pn { width: 100px; } .pn-list { gap: 8px; } }

/* ---------- phone sheet: spins open like a canopy */
.sheet { position: fixed; inset: 0; z-index: 100; background: var(--ground); overflow-y: auto; transform-origin: 50% 0; }
.sheet:not([hidden]) { animation: spin-in .6s cubic-bezier(.2, .8, .2, 1); }
@keyframes spin-in {
  from { transform: rotate(-12deg) scale(.7); clip-path: circle(0% at 50% 0); opacity: .4; }
  to { transform: none; clip-path: circle(150% at 50% 0); opacity: 1; }
}
.sheet-canopy {
  position: absolute; left: 0; right: 0; top: 0; height: 128px;
  background: repeating-conic-gradient(from 0deg at 50% 0, var(--red-d) 0 9deg, var(--gold) 9deg 18deg);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% 104px no-repeat, radial-gradient(circle 12px at 12px 0, #000 98%, #0000) 0 100% / 24px 24px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% 104px no-repeat, radial-gradient(circle 12px at 12px 0, #000 98%, #0000) 0 100% / 24px 24px repeat-x;
}
.sheet-inner { position: relative; padding: 24px 20px 40px; min-height: 100%; }
.sheet-close {
  display: flex; align-items: center; gap: 8px; margin-left: auto; min-height: 48px; padding: 8px 16px;
  background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: 999px; font: 700 1.05rem var(--body); cursor: pointer;
}
.sheet-links { list-style: none; margin: 56px 0 24px; padding: 0; display: grid; gap: 10px; }
.pn-s {
  display: flex; align-items: center; min-height: 60px; padding: 8px 48px 8px 22px; text-decoration: none;
  font: 700 1.5rem/1.1 var(--body); clip-path: polygon(0 0, 100% 0, calc(100% - 26px) 50%, 100% 100%, 0 100%);
}
.pn-s[aria-current="page"] { background: var(--ink); color: var(--cream); }
.pn-s:focus-visible { outline: 3px solid var(--cream); outline-offset: -8px; }
.sheet-acts { display: flex; gap: 12px; flex-wrap: wrap; }
body.sheet-open { overflow: hidden; }

/* ---------- sections */
.sec { position: relative; padding: var(--sec) 0; }
.sec-cream { background: var(--cream); }
.dark { background: var(--ink); color: var(--cream); padding-top: calc(var(--sec) + 20px); }
.dark .lead-s, .dark .note { color: #E5D3D0; }
.dark a { color: var(--gold); }
.awning {
  position: absolute; left: 0; right: 0; top: 0; height: 28px;
  background: repeating-linear-gradient(90deg, var(--red-d) 0 24px, var(--cream) 24px 48px);
  -webkit-mask: linear-gradient(#000 0 0) top / 100% 14px no-repeat, radial-gradient(circle 12px at 12px 0, #000 98%, #0000) 0 100% / 24px 14px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% 14px no-repeat, radial-gradient(circle 12px at 12px 0, #000 98%, #0000) 0 100% / 24px 14px repeat-x;
}
.dark .h2, .dark h2, .dark h3 { color: #fff; }

/* ---------- hero: the carousel */
.hero { padding: 12px 0 44px; background: var(--ground); overflow: hidden; }
.hero-copy h1 { margin-bottom: .3em; }
.hero-lead { font-size: 1.12rem; max-width: 33rem; margin-bottom: .5em; }
@media (min-width: 576px) { .hero-lead { font-size: 1.3rem; } }
.cv { margin: 0 auto; max-width: 216px; }
.cv-stage { position: relative; aspect-ratio: 1 / 1; isolation: isolate; }
.cv-svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.cv-photo { position: absolute; left: 50%; top: 54.6%; width: 38.6%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; overflow: hidden; z-index: 2; background: var(--cream); }
.cv-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.horses { position: absolute; left: 0; right: 0; bottom: 5%; height: 26%; pointer-events: none; }
.horse { position: absolute; left: 38%; bottom: 0; width: 24%; animation: orbit 24s linear infinite; animation-delay: var(--d, 0s); }
.bob { display: block; animation: bob 3.2s ease-in-out infinite alternate; animation-delay: var(--b, 0s); }
.horse-svg { display: block; width: 100%; height: auto; overflow: visible; }
@keyframes orbit {
  0% { transform: translate(-165%, -4%) scale(.84); z-index: 2; opacity: .9; }
  25% { transform: translate(0, 0) scale(1); z-index: 3; opacity: 1; }
  50% { transform: translate(165%, -4%) scale(.84); z-index: 2; opacity: .9; }
  75% { transform: translate(0, -22%) scale(.62); z-index: 1; opacity: .75; }
  100% { transform: translate(-165%, -4%) scale(.84); z-index: 2; opacity: .9; }
}
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-10%); } }
.cv-cap { text-align: center; font-size: .8rem; margin-top: 2px; }
@media (min-width: 576px) { .cv { max-width: 420px; } }
@media (min-width: 992px) { .cv { max-width: 540px; } .hero { padding: 20px 0 64px; } }
@media (prefers-reduced-motion: reduce) {
  .horse, .bob { animation-play-state: paused; }
  .sheet:not([hidden]) { animation: fade-in .2s; }
  .btn, .pn { transition: none; }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

.open-note { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; margin: 1em 0; font-weight: 700; }
.open-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--ink-soft); flex: none; }
.open-note[data-state="open"] .open-dot { background: var(--ok); }
.open-note[data-state="closed"] .open-dot { background: var(--red-d); }
.open-src { display: none; font-weight: 500; font-size: .95rem; color: var(--ink-soft); }
@media (min-width: 576px) { .open-src { display: inline; } }
.rating { display: inline-flex; align-items: center; gap: 12px; margin-top: .6em; color: var(--ink); text-decoration: none; }
.rating:hover { color: var(--ink); }
.rating:hover .rating-txt strong { text-decoration: underline; }
.rating-num { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--gold); font: 400 1.35rem var(--display); flex: none; }
.rating-txt { display: flex; flex-direction: column; line-height: 1.25; }
.rating-txt span { font-size: .95rem; color: var(--ink-soft); }

/* ---------- ride the day (programmes as seats) */
.ride { height: 100%; background: var(--cream); color: var(--ink); padding: 28px; border-radius: 28px 28px 10px 10px; }
.ride-top { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; }
.ride-top svg { width: 64px; height: 59px; flex: none; }
.dark .ride h3, .ride h3 { color: var(--ink); margin: 0; font-size: 1.8rem; }
.ride-q { font-weight: 700; margin: 1.2em 0 .4em; }
.dark .ride .gems li, .ride .gems li { color: var(--ink); }
.dark .ride .note { color: var(--ink-soft); }

/* ---------- lists, placeholders */
.gems { list-style: none; padding: 0; margin: 0 0 1em; }
.gems li { position: relative; padding: 4px 0 4px 28px; }
.gems li::before {
  content: ""; position: absolute; left: 0; top: .6em; width: 16px; height: 16px; background: var(--gold);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.tbc { padding: 20px 22px; border: 2px dashed #8A6F88; border-radius: 16px; background: rgba(255, 255, 255, .6); height: 100%; }
.ride .tbc { height: auto; }
.tbc-title { font: 700 1.2rem/1.2 var(--body); margin: 0 0 6px; color: var(--ink); }
.tbc p { margin: 0 0 6px; }
.tbc-tag { font-size: .95rem; font-weight: 700; color: var(--red-d); text-transform: uppercase; letter-spacing: .05em; }
.dark .tbc { border-color: rgba(255, 240, 214, .6); background: rgba(255, 255, 255, .06); color: var(--cream); }
.dark .tbc .tbc-title { color: #fff; }
.dark .tbc .tbc-tag { color: var(--gold); }
.dark .ride .tbc { border-color: #8A6F88; background: rgba(255, 255, 255, .6); color: var(--ink); }
.dark .ride .tbc .tbc-title { color: var(--ink); }
.dark .ride .tbc .tbc-tag { color: var(--red-d); }

/* ---------- a day, as tickets */
.day { background: var(--cream); }
.day-head { margin-bottom: 28px; }
.sample-tag { display: inline-block; margin: 0; padding: 6px 14px; background: #fff; border: 2px dashed #8A6F88; border-radius: 999px; font-weight: 700; font-size: 1rem; }
.tickets { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: 1fr; filter: drop-shadow(0 3px 0 rgba(44, 27, 46, .16)); }
.ticket {
  position: relative; display: grid; grid-template-columns: 108px 1fr; min-height: 96px; background: #fff;
  -webkit-mask: radial-gradient(circle 10px at 0 50%, #0000 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle 10px at 100% 50%, #0000 96%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 10px at 0 50%, #0000 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle 10px at 100% 50%, #0000 96%, #000) right / 51% 100% no-repeat;
}
.t-stub { display: grid; place-items: center; padding: 8px; text-align: center; }
.t-time { font: 400 1.2rem/1.1 var(--display); }
.t-main { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 12px 22px 12px 18px; border-left: 2px dashed rgba(44, 27, 46, .35); position: relative; }
.t-main strong { font-size: 1.2rem; line-height: 1.2; }
.t-main span { color: var(--ink-soft); line-height: 1.3; }
.stub-red .t-stub { background: var(--red-d); color: #fff; }
.stub-teal .t-stub { background: var(--teal-d); color: #fff; }
.stub-gold .t-stub { background: var(--gold); color: var(--ink); }
.stub-pink .t-stub { background: var(--pink); color: var(--ink); }
.stub-ink .t-stub { background: var(--ink); color: var(--cream); }
.stamp {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%) rotate(-10deg); padding: 2px 12px; border: 3px solid var(--red-d);
  border-radius: 8px; color: var(--red-d); font: 400 1.3rem var(--display); letter-spacing: .06em;
}
@media (min-width: 576px) { .tickets { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .tickets { grid-template-columns: repeat(3, 1fr); } }

/* ---------- reviews */
.voices-sec { background: var(--ground); }
.voices { display: grid; gap: 20px; margin-top: 28px; }
.voice { margin: 0; padding: 28px 28px 24px; background: var(--cream); border-radius: 10px 28px 10px 28px; }
.voice blockquote { margin: 0 0 12px; font-size: 1.3rem; line-height: 1.45; }
.voice blockquote p::before { content: "\201C"; display: block; font: 400 3.4rem/.6 var(--display); color: var(--red-d); margin-bottom: 8px; }
.voice figcaption { font-size: 1rem; color: var(--ink-soft); }
.topics-h { margin: 28px 0 8px; font-weight: 700; }
.topics { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0 0 1em; }
.topics li { padding: 6px 16px; border: 2px solid var(--ink); border-radius: 999px; font-weight: 700; background: #fff; }
.topics li span { display: inline-grid; place-items: center; min-width: 26px; height: 26px; margin-left: 6px; border-radius: 50%; background: var(--teal-d); color: #fff; font-size: .95rem; }
.topics-big li { font-size: 1.25rem; padding: 10px 20px; }
@media (min-width: 768px) { .voices { grid-template-columns: 1fr 1fr; } }

/* ---------- photos in a scalloped frame */
.scal-frame { margin: 0; }
.scal-frame img {
  display: block; width: 100%; height: auto; border-radius: 28px 28px 0 0; margin-bottom: 6px;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 14px) no-repeat, radial-gradient(circle 14px at 14px 0, #000 98%, #0000) 0 100% / 28px 14px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 14px) no-repeat, radial-gradient(circle 14px at 14px 0, #000 98%, #0000) 0 100% / 28px 14px repeat-x;
}
.paint-sec { background: var(--cream); }

/* ---------- visit */
.visit { background: var(--ground); }
.hours { width: 100%; border-collapse: collapse; margin-top: 12px; }
.hours caption { caption-side: bottom; text-align: left; padding-top: 10px; font-size: .95rem; color: var(--ink-soft); }
.hours th, .hours td { padding: 9px 0; text-align: left; font-weight: 500; border-bottom: 2px dashed var(--line); }
.hours th { font-weight: 700; width: 45%; }
.hours tr.today th, .hours tr.today td { background: var(--cream); font-weight: 700; }
.hours tr.today th::after { content: " (today)"; font-weight: 500; }
.addr-card, .map-card { background: var(--cream); padding: 28px; border-radius: 28px 28px 10px 10px; }
.map-addr { font-size: 1.3rem; line-height: 1.4; }
.map-plus { color: var(--ink-soft); }
.map-acts { display: flex; flex-wrap: wrap; gap: 12px; }
.map-card iframe { display: block; width: 100%; height: 340px; border: 0; margin-top: 18px; border-radius: 16px; }

/* ---------- pennant FAQ */
.faq-sec { background: var(--cream); }
.pennants-faq { display: grid; gap: 12px; }
.pennant summary { list-style: none; cursor: pointer; display: block; border-radius: 4px; }
.pennant summary::-webkit-details-marker { display: none; }
.pn-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 44px 16px 22px; font-weight: 700; font-size: 1.2rem; line-height: 1.25; min-height: 58px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 50%, 100% 100%, 0 100%);
}
.pennant summary:focus-visible { outline: none; }
.pennant summary:focus-visible .pn-bar { box-shadow: inset 0 0 0 4px var(--ground), inset 0 0 0 7px var(--ink); }
.fq-redd .pn-bar { background: var(--red-d); color: #fff; }
.fq-teald .pn-bar { background: var(--teal-d); color: #fff; }
.fq-gold .pn-bar { background: var(--gold); color: var(--ink); }
.fq-pink .pn-bar { background: var(--pink); color: var(--ink); }
.pn-chev { width: 12px; height: 12px; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(45deg); margin-bottom: 4px; flex: none; transition: transform .2s; }
.pennant[open] .pn-chev { transform: rotate(-135deg); margin-bottom: -4px; }
.pn-a { background: #fff; padding: 16px 22px 8px; margin-top: 4px; border-radius: 4px 4px 18px 18px; }
.pn-a p { margin: 0 0 .6em; }

/* ---------- close band, footer, dock */
.close-band { background: var(--teal-d); color: #fff; text-align: center; padding-top: calc(var(--sec) + 14px); }
.close-band::before, .foot::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 16px;
  background: radial-gradient(circle 12px at 12px 0, var(--bg-above, var(--cream)) 98%, #0000) 0 0 / 24px 16px repeat-x;
}
.close-band::before { --bg-above: var(--cream); }
.close-band .h2, .close-band h2 { color: #fff; }
.close-band .lead-s { color: #E8F6F5; margin-left: auto; margin-right: auto; }
.close-band .actions { justify-content: center; }
.close-band .btn-red { background: #fff; color: var(--red-d); }
.close-band .btn-line { color: #fff; border-color: #fff; }
.close-band .btn-line:hover { background: #fff; color: var(--teal-d); }
.foot { position: relative; background: var(--ink); color: var(--cream); padding: calc(3.2rem + 16px) 0 110px; margin-top: 0; }
.foot::before { --bg-above: var(--teal-d); }
.foot a { color: var(--gold); }
.foot-logo { height: 56px; width: auto; margin-bottom: 14px; }
.foot-addr { font-size: 1.15rem; margin-bottom: .4em; }
.foot-tel { font: 400 1.6rem var(--display); text-decoration: none; color: #fff !important; }
.foot-small { font-size: 1rem; color: #E5D3D0; margin-bottom: .5em; }
.foot-h { font: 700 1.1rem var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--gold); margin-bottom: .6em; }
.foot-list { list-style: none; margin: 0; padding: 0; }
.foot-list li { margin-bottom: .35em; }
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(3, 1fr); background: var(--ink); border-top: 3px solid var(--gold); }
.dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 58px; color: #fff; text-decoration: none; font-weight: 700; font-size: .98rem; }
.dock a:hover { color: var(--gold); }
@media (min-width: 992px) { .dock { display: none; } .foot { padding-bottom: 56px; } }

/* ---------- inner page heads */
.phead { position: relative; background: var(--cream); padding: 36px 0 70px; }
.crumb { font-size: 1rem; margin-bottom: 14px; color: var(--ink-soft); }
.crumb a { color: var(--teal-d); }
.phead h1 { margin-bottom: .25em; }
.phead-string { position: absolute; left: 0; right: 0; bottom: -22px; height: 40px; pointer-events: none; }
.bunting { display: block; }

/* ---------- about */
.known { margin: 0 0 1em; }
.known-row { display: grid; gap: 2px; padding: 12px 0; border-bottom: 2px dashed var(--line); }
.known dt { font-weight: 700; color: var(--teal-d); text-transform: uppercase; letter-spacing: .07em; font-size: .95rem; }
.known dd { margin: 0; font-size: 1.2rem; }
@media (min-width: 576px) { .known-row { grid-template-columns: 160px 1fr; align-items: baseline; gap: 16px; } }

/* ---------- learning: seats */
.seat-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.seat-tab { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 88px; padding: 10px 4px 8px; background: transparent; border: 2px solid transparent; border-radius: 18px; cursor: pointer; font: 700 1.05rem var(--body); color: var(--ink); }
.seat-tab:hover { background: var(--cream); }
.seat-tab[aria-selected="true"] { background: var(--cream); border-color: var(--ink); }
.seat-ico svg { width: 52px; height: 48px; display: block; }
.seat-panel { background: var(--cream); padding: 28px; border-radius: 28px 28px 10px 10px; }
.seat-h { margin-bottom: .4em; }
.seat-age { display: block; font: 700 1.1rem var(--body); color: var(--teal-d); margin-top: 4px; }
.ages { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
.ages caption { caption-side: bottom; text-align: left; padding-top: 10px; font-size: .95rem; color: var(--ink-soft); background: var(--cream); }
.ages th, .ages td { padding: 12px 18px; text-align: left; border-bottom: 2px dashed var(--line); }
.ages thead th { background: var(--ink); color: var(--cream); border: 0; }
.close-actions { margin-top: 24px; }

/* ---------- admissions: stops */
.stops { position: relative; list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 28px; }
.stops::before { content: ""; position: absolute; left: 29px; top: 30px; bottom: 30px; border-left: 3px dotted var(--ink-soft); }
.stop { position: relative; padding-left: 84px; }
.stop h3 { margin: 4px 0 4px; font-size: 1.5rem; }
.stop p { margin: 0; }
.stop-no { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; font: 400 1.7rem var(--display); background: var(--red-d); color: #fff; }
.stop:nth-child(2) .stop-no { background: var(--teal-d); }
.stop:nth-child(3) .stop-no { background: var(--gold); color: var(--ink); }
.stop:nth-child(4) .stop-no { background: var(--pink); color: var(--ink); }
@media (min-width: 992px) {
  .stops { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .stops::before { left: 30px; right: 30px; top: 29px; bottom: auto; border-left: 0; border-top: 3px dotted var(--ink-soft); }
  .stop { padding: 76px 0 0; }
}
.checks li::before { background: var(--teal-d); }

/* ---------- enquiry ticket */
.enquiry-box {
  position: relative; background: #fff; padding: 30px 28px 26px; border-radius: 22px; filter: none;
  -webkit-mask: radial-gradient(circle 14px at 0 50%, #0000 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle 14px at 100% 50%, #0000 96%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 14px at 0 50%, #0000 96%, #000) left / 51% 100% no-repeat, radial-gradient(circle 14px at 100% 50%, #0000 96%, #000) right / 51% 100% no-repeat;
  outline: 0;
}
.sec-cream .enquiry-box, .sec .enquiry-box { box-shadow: inset 0 0 0 2px var(--ink); }
.enq-title { font-size: 1.8rem; margin-bottom: .2em; }
.enq-intro { color: var(--ink-soft); }
.field label { display: block; font-weight: 700; margin-bottom: 4px; }
.opt { font-weight: 500; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; font: 500 1.1rem var(--body); color: var(--ink); background: var(--ground);
  border: 2px solid var(--ink); border-radius: 12px;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--teal-d); outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: var(--red-d); background: #FFF0EE; }
.hint { margin: 4px 0 0; font-size: .95rem; color: var(--ink-soft); }
.err { margin: 4px 0 0; font-size: .98rem; font-weight: 700; color: var(--red-d); }
.form-summary { margin: 0 0 14px; padding: 12px 16px; background: #FFE3DF; border-radius: 12px; font-weight: 700; color: #7A1D19; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 18px; }
.form-foot .small { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.form-result { margin-top: 14px; font-weight: 700; }
.form-result.ok { padding: 12px 16px; background: #DDF3E8; color: #135238; border-radius: 12px; }
.form-result.bad { padding: 12px 16px; background: #FFE3DF; color: #7A1D19; border-radius: 12px; }
.btn.is-loading { opacity: .8; }

/* ---------- school life: gallery */
.stock-note { display: inline-block; padding: 6px 14px; background: var(--cream); border-radius: 999px; font-weight: 700; font-size: 1rem; }
.gallery { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; grid-template-columns: 1fr; }
.g-btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; line-height: 0; }
.g-img {
  width: 100%; height: auto; border-radius: 28px 28px 0 0; margin-bottom: 6px;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 14px) no-repeat, radial-gradient(circle 14px at 14px 0, #000 98%, #0000) 0 100% / 28px 14px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 14px) no-repeat, radial-gradient(circle 14px at 14px 0, #000 98%, #0000) 0 100% / 28px 14px repeat-x;
}
.g-view { position: absolute; left: 14px; bottom: 28px; padding: 6px 16px; background: #fff; color: var(--ink); border-radius: 999px; font: 700 1rem/1.2 var(--body); }
.g-btn:hover .g-view { background: var(--gold); }
@media (min-width: 576px) { .gallery { grid-template-columns: 1fr 1fr; } .g-2, .g-4 { margin-top: 36px; } }
.lightbox { border: 0; padding: 16px; border-radius: 22px; width: min(94vw, 900px); background: var(--ink); color: var(--cream); }
.lightbox::backdrop { background: rgba(44, 27, 46, .82); }
.lb-img { display: block; width: 100%; height: auto; border-radius: 12px; background: #000; }
.lb-cap { margin: 10px 0; font-size: 1rem; color: #E5D3D0; }
.lb-close { position: absolute; right: 22px; top: 22px; width: 46px; height: 46px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
.lb-nav { display: flex; justify-content: space-between; gap: 10px; }
.lb-nav button { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 18px; border: 2px solid var(--cream); border-radius: 999px; background: transparent; color: var(--cream); font: 700 1.05rem var(--body); cursor: pointer; }
.lb-nav button:hover { background: var(--cream); color: var(--ink); }
.flags { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; padding: 0; margin: 20px 0 0; }
.note-flag { display: flex; flex-direction: column; gap: 4px; width: min(100%, 250px); padding: 22px 22px 52px; clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 82%, 0 100%); }
.note-flag strong { font-size: 1.2rem; line-height: 1.2; }
.nf-redd { background: var(--red-d); color: #fff; }
.nf-teald { background: var(--teal-d); color: #fff; }
.nf-gold { background: var(--gold); color: var(--ink); }
.nf-pink { background: var(--pink); color: var(--ink); }

/* ---------- contact */
.reach { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 26px; background: #fff; border: 2px solid var(--ink); border-radius: 22px; color: var(--ink); text-decoration: none; transition: background-color .15s; }
.reach:hover { background: var(--gold); color: var(--ink); }
.reach .ic { width: 34px; height: 34px; color: var(--red-d); }
.reach strong { font: 400 1.5rem var(--display); }
.prose { max-width: 46rem; }
.prose h2 { margin-top: 1.4em; }

@media print { .top, .dock, .sheet, .foot { display: none; } }

@media (max-width: 991.98px) { .hero .actions .btn-gold, .hero .actions .btn-line { display: none; } .hero .actions { margin: .8em 0; } }

.phead + .dark .awning { display: none; }
.phead + .dark { padding-top: calc(var(--sec) + 24px); }
.stops + .note { margin-top: 28px; }

@media (min-width: 992px) { .hero-copy { padding-top: 56px; } }
.dark a:hover, .foot a:hover, .close-band a:hover:not(.btn) { color: #fff; }
.dock a:hover { color: var(--gold); }
.skip:hover { color: #fff; }
