/* =========================================================
   Little Learners Nursery Centre — styles
   Warm, playful and clean. Colours are soft versions of the
   teddy-bear logo; change them in :root to restyle the site.
   ========================================================= */

:root {
  --cream: #FFF9F0;
  --paper: #FFFFFF;
  --ink: #2B3550;            /* text + headings (from the logo's navy, softened) */
  --ink-soft: #586079;
  --muted: #5F667C;          /* small print: dark enough to read easily (WCAG AA) */
  --navy: #24386B;           /* logo ring */
  --honey: #F6B93B;          /* teddy fur highlight — main buttons */
  --honey-deep: #D99A1E;
  --honey-soft: #FFF1D2;
  --coral: #EF7D5B;          /* decoration and icons */
  --coral-text: #AD4527;     /* coral words: the same warmth, with enough contrast to read */
  --coral-soft: #FFE5DB;
  --sky: #6FB1E4;            /* dungarees */
  --sky-soft: #E6F3FD;
  --meadow: #6DB36F;
  --meadow-soft: #E8F5E3;
  --brown: #9A5B2C;
  --line: #F0E4D2;

  --font-head: "Fredoka", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Caveat", "Comic Sans MS", cursive;

  --radius: 28px;
  --radius-sm: 18px;
  --shadow-sm: 0 3px 10px rgba(43, 53, 80, .06);
  --shadow: 0 14px 34px -16px rgba(43, 53, 80, .25);
  --shadow-lg: 0 30px 60px -26px rgba(43, 53, 80, .35);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7; color: var(--ink-soft); background: var(--cream); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--navy); text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2.7rem, 5.6vw, 4.6rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.05; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* a strong, dark focus ring for keyboard users (WCAG: at least 3:1 against the page) */
:focus-visible { outline: 3px solid #245E8C; outline-offset: 3px; border-radius: 8px; }

.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; position: relative; }
.section { position: relative; padding: clamp(3rem, 5vw, 4.5rem) 0; background: var(--sec, var(--cream)); }
.center { text-align: center; }
.skip-link { position: absolute; left: 1rem; top: -100px; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 10px; z-index: 300; }
.skip-link:focus { top: 1rem; }

/* Wavy top edge on each section, in the section's own colour */
.wavy::before {
  content: ""; position: absolute; left: 0; right: 0; top: -34px; height: 36px; background: var(--sec);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 36' preserveAspectRatio='none'%3E%3Cpath d='M0 20C120 6 240 6 360 18s240 14 360 0 240-14 360-2 240 16 360 2v18H0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 36' preserveAspectRatio='none'%3E%3Cpath d='M0 20C120 6 240 6 360 18s240 14 360 0 240-14 360-2 240 16 360 2v18H0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  pointer-events: none;
}

/* Handwritten little headings */
.kicker { font-family: var(--font-hand); font-size: 1.65rem; font-weight: 700; color: var(--coral-text); line-height: 1; margin-bottom: .6rem; }
.section-head { max-width: 720px; margin-bottom: clamp(2.2rem, 4.5vw, 3.2rem); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head > p:last-child { font-size: 1.12rem; margin-bottom: 0; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; flex-wrap: wrap; }
.section-head.split h2 { margin: 0; max-width: 640px; }
.section-head.split > p, .head-side p { max-width: 380px; margin: 0; }
.head-side { display: flex; align-items: end; gap: 1.4rem; }

/* Doodles */
.doodle { position: absolute; pointer-events: none; stroke-width: 3; animation: bob 7s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px) rotate(4deg); } }
.doodle.doodle-off { visibility: hidden; } /* main.js: it would sit on top of words at this screen size */

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--paper); --fg: var(--ink); --edge: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: 999px; border: 2px solid var(--edge);
  background: var(--bg); color: var(--fg); font-family: var(--font-head); font-weight: 600; font-size: 1.02rem;
  text-decoration: none; white-space: nowrap; box-shadow: 0 4px 0 var(--edge);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--edge); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--edge); }
.btn-lg { padding: .95rem 1.7rem; font-size: 1.1rem; }
.btn-block { width: 100%; }
.btn-primary { --bg: var(--honey); --fg: var(--ink); --edge: var(--honey-deep); }
.btn-primary:hover { --bg: #F9C352; }
.btn-soft { --bg: var(--paper); --fg: var(--ink); --edge: #E8D9C2; }

.link-arrow { font-family: var(--font-head); font-weight: 600; color: var(--navy); text-decoration: none; display: inline-flex; align-items: center; gap: .35rem; background: linear-gradient(var(--honey), var(--honey)) 0 100% / 100% 3px no-repeat; padding-bottom: 2px; }
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

.age { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .85rem; padding: .3rem .8rem; border-radius: 999px; background: var(--c-soft, var(--honey-soft)); color: var(--ink); margin-bottom: .7rem; }

.ticks { display: flex; flex-direction: column; gap: .55rem; }
.ticks li, .checks li { position: relative; padding-left: 2rem; }
.ticks li::before, .checks li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.35rem; height: 1.35rem; border-radius: 50%;
  background: var(--meadow-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233F8A44' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 68% no-repeat;
}

/* Polaroid-style photos */
.snap { margin: 0; background: #fff; padding: .6rem .6rem 0; border-radius: 10px; box-shadow: var(--shadow); transition: transform .5s var(--bounce); }
.snap img { width: 100%; object-fit: cover; border-radius: 6px; }
.snap figcaption { font-family: var(--font-hand); font-size: 1.45rem; color: var(--ink); text-align: center; padding: .25rem 0 .45rem; line-height: 1.2; }
.snap:hover { transform: rotate(0deg) scale(1.03) !important; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h); display: flex; align-items: center; transition: background-color .35s, box-shadow .35s, height .35s var(--ease); }
.site-header.scrolled { --header-h: 70px; background: rgba(255, 249, 240, .92); backdrop-filter: saturate(1.3) blur(12px); -webkit-backdrop-filter: saturate(1.3) blur(12px); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; position: relative; z-index: 120; flex: none; }
.brand-text { white-space: nowrap; } /* the name never squashes: menu links move into "More" instead (main.js) */
.nav-more[hidden] { display: none; }
.brand img { width: 58px; height: 58px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: width .35s var(--ease), height .35s var(--ease); }
.scrolled .brand img { width: 50px; height: 50px; }
.brand-text { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: 1.25rem; line-height: 1.05; display: flex; flex-direction: column; }
.brand-text small { font-family: var(--font-body); font-size: .74rem; font-weight: 700; color: var(--muted); margin-top: .2rem; }
.main-nav { display: flex; align-items: center; gap: 1rem; }
.main-nav ul { display: flex; gap: .15rem; }
.main-nav ul a { display: block; padding: .45rem .75rem; border-radius: 999px; color: var(--ink); text-decoration: none; font-family: var(--font-head); font-weight: 500; font-size: 1rem; transition: background-color .25s, color .25s; }
.main-nav ul a:hover { background: var(--honey-soft); }
.main-nav ul a.active { background: var(--honey-soft); color: var(--navy); }
.nav-phone { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 600; color: var(--navy); text-decoration: none; white-space: nowrap; }
.nav-phone svg { width: 17px; height: 17px; color: var(--coral); }
.nav-cta { padding: .65rem 1.2rem; }

/* phones and tablets: a home button beside the menu button, in the same rounded style */
.nav-home { display: none; width: 48px; height: 48px; margin-left: auto; place-items: center; border: 2px solid var(--line); border-radius: 16px; background: var(--paper); color: var(--ink); position: relative; z-index: 120; transition: border-color .2s; }
.nav-home svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.nav-home:hover, .nav-home:focus-visible { border-color: var(--honey); }
.nav-toggle { display: none; width: 48px; height: 48px; border: 2px solid var(--line); border-radius: 16px; background: var(--paper); position: relative; z-index: 120; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 15px; } .nav-toggle span:nth-child(2) { top: 21px; } .nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: calc(var(--header-h) + 1.5rem) 0 2.2rem;
  background: radial-gradient(45% 55% at 100% 0%, rgba(246,185,59,.22), transparent 65%), radial-gradient(40% 50% at 0% 100%, rgba(111,177,228,.18), transparent 60%), var(--cream);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hello { display: inline-flex; align-items: center; gap: .4rem; font-family: var(--font-hand); font-size: 1.8rem; font-weight: 700; color: var(--coral-text); margin-bottom: .4rem; line-height: 1; }
.mini-heart { width: 26px; height: 26px; fill: var(--coral); stroke: none; animation: beat 1.8s ease-in-out infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.2); } 30% { transform: scale(1); } }
.hero h1 { margin-bottom: 1.2rem; }
.hl { position: relative; color: var(--navy); white-space: nowrap; }
.hl::after {
  content: ""; position: absolute; left: -2%; right: -2%; bottom: -.18em; height: .32em; background: var(--honey);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 12c16-9 28-9 44 0s28 9 44 0 28-9 44 0 28 9 44 0 14-6 18-5' fill='none' stroke='%23000' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 12c16-9 28-9 44 0s28 9 44 0 28-9 44 0 28 9 44 0 14-6 18-5' fill='none' stroke='%23000' stroke-width='6' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  clip-path: inset(0 100% 0 0); transition: clip-path 1.2s 1s var(--ease);
}
.hero-loaded .hl::after { clip-path: inset(0 0 0 0); }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.25rem); max-width: 33rem; margin-bottom: 1.9rem; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.8rem; }
.hero-trust { display: flex; flex-wrap: wrap; gap: .5rem; }
.hero-trust li { font-size: .92rem; background: var(--paper); border: 2px solid var(--line); padding: .35rem .85rem; border-radius: 999px; color: var(--ink-soft); }
.hero-trust b { color: var(--ink); font-family: var(--font-head); font-weight: 600; }
.hero-trust a { color: inherit; text-decoration: none; }
.hero-trust a:hover b { color: var(--navy); text-decoration: underline; }

.hero-media { position: relative; height: clamp(420px, 66vh, 620px); }
.hero-blob { position: absolute; inset: 6% -4% -5% 8%; background: var(--honey-soft); border-radius: 58% 42% 52% 48% / 46% 54% 46% 54%; transform: rotate(-6deg); }
.slides { position: absolute; inset: 0; border-radius: 40px 40px 40px 140px; overflow: hidden; box-shadow: var(--shadow-lg); border: 8px solid #fff; background: var(--line); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fx, 50%) var(--fy, 50%); transform-origin: var(--fx, 50%) var(--fy, 50%); transform: scale(1.08); }
.slide.is-active { opacity: 1; }
.slide.is-active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.slide-nav { position: absolute; right: 1.6rem; bottom: 1.4rem; z-index: 2; display: flex; gap: .35rem; background: rgba(255,255,255,.85); padding: .45rem .6rem; border-radius: 999px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.slide-nav button { width: 30px; height: 18px; padding: 0; border: 0; background: transparent; display: grid; align-items: center; }
.slide-nav button span { display: block; height: 6px; border-radius: 6px; background: #E6D8C4; overflow: hidden; position: relative; }
.slide-nav button span::after { content: ""; position: absolute; inset: 0; background: var(--coral); transform: scaleX(0); transform-origin: left; }
.slide-nav button[aria-selected="true"] span::after { animation: fill var(--slide-ms, 6500ms) linear forwards; }
.slide-nav.paused button[aria-selected="true"] span::after { animation: none; transform: scaleX(1); }
@keyframes fill { to { transform: scaleX(1); } }
.slide-note { position: absolute; top: -1.4rem; right: 2rem; z-index: 6; /* above holiday bunting, snow and stickers */ margin: 0; font-family: var(--font-hand); font-size: 1.6rem; font-weight: 700; color: var(--ink); background: #fff; padding: .2rem 1rem; border-radius: 12px; box-shadow: var(--shadow); rotate: 3deg; }
.seal { position: absolute; left: -46px; bottom: 2.5rem; width: 120px; height: 120px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-lg); display: grid; place-items: center; z-index: 2; }
.seal svg { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 26s linear infinite; }
.seal text { font-family: var(--font-head); font-size: 9px; font-weight: 600; fill: var(--navy); stroke: none; }
.seal img { width: 58px; height: 58px; border-radius: 50%; }
/* during a theme with a charity link (e.g. the Poppy Appeal), the badge shows the theme's picture and links to it;
   on phones the usual logo badge stays, and the link is a round button in the Call / Book a visit bar instead */
a.seal { text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
a.seal:hover { transform: scale(1.05); }
a.seal:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
.seal-art { display: grid; width: 60px; height: 60px; }
.seal-art img, .qb-art img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; display: block; }
.preview-hidden-note { position: relative; z-index: 120; margin: calc(var(--header-h) + .6rem) auto -.6rem; width: fit-content; max-width: calc(100% - 2rem); padding: .55rem 1rem; border-radius: 14px; background: #FFF4D6; border: 2px dashed #E6C46A; color: #6B4E0A; font-weight: 700; font-size: .92rem; text-align: center; }
.seal .seal-art svg, .qb-art svg { position: static; inset: auto; width: 100%; height: 100%; display: block; animation: none; }
.seal-art svg *, .qb-art svg * { stroke: none; }
.seal-home { display: none; }
.qb-badge { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.hd-sun { width: 74px; height: 74px; color: var(--honey); top: calc(var(--header-h) + .5rem); right: 4%; }
.hd-cloud { width: 96px; height: 58px; color: var(--sky); top: calc(var(--header-h) + 1.2rem); left: 40%; animation-delay: -2s; }
.hd-star { width: 34px; height: 34px; color: var(--coral); bottom: 18%; left: 44%; animation-delay: -4s; }

/* sits below the banner content (not pinned to the bottom), so it can never cover the pills above it */
.scroll-hint { position: relative; width: max-content; margin: 1.8rem auto 0; display: flex; flex-direction: column; align-items: center; gap: .1rem; text-decoration: none; color: var(--ink-soft); font-family: var(--font-hand); font-size: 1.35rem; font-weight: 700; z-index: 3; }
.scroll-hint svg { width: 26px; height: 26px; color: var(--coral); animation: nudge 1.8s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(6px); } }

/* Entrance animation for hero content */
.js .hero-in { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.hero-loaded .hero-in { opacity: 1; transform: none; }

/* ---------- Welcome & promises ---------- */
.welcome-intro { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.welcome-copy p { font-size: 1.1rem; }
.snapshots { position: relative; height: 440px; }
.snapshots .snap { position: absolute; }
.s-1 { width: 50%; left: 4%; top: 0; rotate: -5deg; }
.s-1 img { aspect-ratio: 3 / 4; }
.s-2 { width: 54%; right: 0; top: 16%; rotate: 4deg; }
.s-2 img { aspect-ratio: 4 / 3; }
.sticker { position: absolute; z-index: 2; display: grid; place-items: center; align-content: center; text-align: center; width: 104px; height: 104px; border-radius: 50%; font-family: var(--font-head); font-weight: 500; font-size: .88rem; line-height: 1.1; box-shadow: var(--shadow); }
.sticker b { display: block; font-size: 1.7rem; font-weight: 600; }
.st-1 { background: var(--coral); color: #fff; left: 40%; top: -1.2rem; rotate: 10deg; }
.st-2 { background: var(--sky); color: #fff; right: 6%; bottom: -.5rem; rotate: -8deg; }
.promise-lead { text-align: center; font-family: var(--font-hand); font-size: 2rem; font-weight: 700; color: var(--ink); margin-bottom: 1.6rem; }
.promises { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.promise { --c: var(--sky); --c-soft: var(--sky-soft); background: var(--c-soft); border-radius: var(--radius); padding: 1.8rem 1.6rem; transition: transform .45s var(--bounce), box-shadow .3s; }
.promise:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow); }
.promise p { margin: 0; font-size: .98rem; }
.p-icon { width: 60px; height: 60px; border-radius: 20px; background: #fff; display: grid; place-items: center; margin-bottom: 1.1rem; color: var(--c); box-shadow: var(--shadow-sm); }
.p-icon svg { width: 30px; height: 30px; stroke-width: 2.6; }
.p-sky { --c: #3E8BC7; --c-soft: var(--sky-soft); }
.p-coral { --c: #E0603B; --c-soft: var(--coral-soft); }
.p-meadow { --c: #3F8A44; --c-soft: var(--meadow-soft); }
.p-honey { --c: #C9870F; --c-soft: var(--honey-soft); }

/* ---------- Rooms carousel ---------- */
.rd-cloud { width: 110px; height: 66px; color: #fff; stroke: var(--sky); right: 6%; top: 1.5rem; }
/* the cards stay inside the page width: four at a time on wide screens, fewer on smaller ones */
.car-wrap { position: relative; }
.carousel {
  --gap: 1.3rem;
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * var(--gap)) / 4); gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  padding: .6rem .2rem 1.6rem; margin: -.6rem -.2rem 0;
  scrollbar-width: none; cursor: grab;
}
/* soft fades at the edges show there's more to see */
.car-wrap.more-right .carousel { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
.car-wrap.more-left .carousel { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%); mask-image: linear-gradient(90deg, transparent, #000 12%); }
.car-wrap.more-left.more-right .carousel { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.car-wrap .car-btn { position: absolute; top: calc(50% - 46px); z-index: 2; }
.car-prev { left: -.4rem; } .car-next { right: -.4rem; }
.car-btn[hidden] { display: none; }
.car-dots { display: flex; justify-content: center; gap: .5rem; margin-top: .4rem; }
.car-dots[hidden] { display: none; }
.car-dots button { width: 12px; height: 12px; padding: 0; border-radius: 999px; border: 0; background: #C5DCEF; cursor: pointer; transition: width .3s var(--ease), background-color .3s; }
.car-dots button[aria-current="true"] { width: 30px; background: var(--sky); }
.room-more { display: inline-block; margin-top: .7rem; font-size: .95rem; }
@media (max-width: 1100px) { .carousel { grid-auto-columns: calc((100% - 2 * var(--gap)) / 3); } }
@media (max-width: 820px) { .carousel { grid-auto-columns: calc((100% - var(--gap)) / 2); } }
.carousel::-webkit-scrollbar { display: none; }
.carousel.dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.carousel.dragging img { pointer-events: none; }
.room-card { --c-soft: var(--coral-soft); scroll-snap-align: start; background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .45s var(--bounce), box-shadow .3s; user-select: none; }
.room-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.c-coral { --c-soft: var(--coral-soft); } .c-honey { --c-soft: var(--honey-soft); } .c-meadow { --c-soft: var(--meadow-soft); } .c-sky { --c-soft: var(--sky-soft); }
.room-img { aspect-ratio: 1 / 1; overflow: hidden; margin: .6rem .6rem 0; border-radius: 22px; }
.room-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); -webkit-user-drag: none; }
.room-card:hover .room-img img { transform: scale(1.06); }
.room-body { padding: 1.2rem 1.4rem 1.6rem; }
.room-body h3 { font-size: 1.6rem; margin-bottom: .35rem; }
.room-body p { margin: 0; font-size: .97rem; }
.car-btn { width: 52px; height: 52px; border-radius: 50%; border: 2px solid #CFE3F3; background: #fff; color: var(--ink); display: grid; place-items: center; box-shadow: 0 4px 0 #CFE3F3; transition: transform .2s, box-shadow .2s, opacity .25s; }
.car-btn svg { width: 22px; height: 22px; stroke-width: 2.6; }
.car-btn:hover:not(:disabled) { transform: translateY(-2px); }
.car-btn:disabled { opacity: .4; cursor: default; }

/* ---------- Outdoors ---------- */
.od-sun { width: 80px; height: 80px; color: var(--honey); right: 4%; top: 2.5rem; }
.od-leaf { width: 50px; height: 50px; color: var(--meadow); left: 3%; bottom: 3rem; animation-delay: -3s; }
.outdoors-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.outdoors-intro p:last-child { font-size: 1.12rem; }
.outdoor-snaps { position: relative; height: 470px; }
.outdoor-snaps .snap { position: absolute; }
.o-1 { width: 56%; right: 4%; top: 0; rotate: 3deg; }
.o-1 img { aspect-ratio: 4 / 5; }
.o-2 { width: 46%; left: 0; bottom: 0; rotate: -6deg; }
.o-2 img { aspect-ratio: 3 / 4; }
.spaces-title { font-family: var(--font-hand); font-size: 2rem; font-weight: 700; text-align: center; margin-bottom: 1.4rem; }
.spaces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.space { background: #fff; border-radius: var(--radius); overflow: hidden; padding: .6rem; box-shadow: var(--shadow-sm); transition: transform .45s var(--bounce), box-shadow .3s; }
.space:hover { transform: translateY(-6px) rotate(1deg); box-shadow: var(--shadow); }
.space img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 22px; }
.space > div { padding: 1rem .8rem .8rem; }
.space h4 { font-size: 1.25rem; margin-bottom: .3rem; }
.space p { margin: 0; font-size: .95rem; }

/* ---------- Peace of mind ---------- */
.peace-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.peace-media { position: relative; padding: 0 2rem 2rem 0; max-width: 440px; }
.pm-1 { rotate: -3deg; }
.pm-1 img { aspect-ratio: 4 / 5; }
.ofsted-sticker { position: absolute; right: -.5rem; bottom: 0; width: 132px; height: 132px; border-radius: 50%; background: var(--navy); color: rgba(255,255,255,.85); display: grid; place-items: center; align-content: center; text-align: center; text-decoration: none; font-family: var(--font-head); font-weight: 500; font-size: .85rem; line-height: 1.05; box-shadow: var(--shadow-lg); rotate: 8deg; border: 5px solid #fff; transition: transform .4s var(--bounce); }
.ofsted-sticker b { font-size: 2.2rem; color: var(--honey); font-weight: 600; }
.ofsted-sticker small { font-size: .72rem; opacity: .8; }
.ofsted-sticker:hover { transform: scale(1.06) rotate(-4deg); }
.ofsted-quote { margin: 0 0 1.6rem; padding: 1.3rem 1.5rem; background: var(--honey-soft); border-radius: var(--radius-sm); position: relative; }
.ofsted-quote p { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.2rem, 2vw, 1.45rem); color: var(--ink); line-height: 1.35; margin: 0 0 .5rem; }
.ofsted-quote footer { font-size: .92rem; }
.checks { display: flex; flex-direction: column; gap: .8rem; margin-bottom: 1.8rem; }
.checks b { color: var(--ink); }
.badges { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.badges img { height: 56px; width: auto; object-fit: contain; }

/* ---------- Parents say (sticky notes) ---------- */
.pd-heart { width: 54px; height: 54px; color: var(--coral); left: 5%; top: 3rem; }
.pd-star { width: 40px; height: 40px; color: var(--honey-deep); right: 7%; top: 5rem; animation-delay: -3s; }
.parents h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.notes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; margin-bottom: 2.4rem; align-items: start; }
.note { margin: 0; background: #fff; border-radius: 6px 6px 22px 6px; padding: 1.7rem 1.5rem 1.4rem; box-shadow: var(--shadow); position: relative; transition: transform .45s var(--bounce); }
.note::before { content: ""; position: absolute; top: -12px; left: 50%; translate: -50% 0; width: 76px; height: 22px; background: rgba(111,177,228,.45); border-radius: 3px; rotate: -3deg; }
.note blockquote { margin: 0 0 1rem; font-size: 1rem; color: var(--ink); }
.note figcaption { font-family: var(--font-hand); font-size: 1.6rem; font-weight: 700; color: var(--coral-text); line-height: 1; }
.note figcaption span { font-family: var(--font-body); font-size: .85rem; font-weight: 600; color: var(--muted); margin-left: .3rem; }
.n-1 { rotate: -2deg; } .n-2 { rotate: 1.5deg; margin-top: 1.6rem; } .n-3 { rotate: -1deg; } .n-4 { rotate: 2deg; margin-top: 1.2rem; }
.n-2::before { background: rgba(239,125,91,.4); } .n-3::before { background: rgba(109,179,111,.45); } .n-4::before { background: rgba(246,185,59,.6); }
.note:hover { transform: rotate(0deg) scale(1.03); z-index: 2; }

/* ---------- Team ---------- */
.role { font-family: var(--font-head); color: var(--coral-text); font-weight: 600; font-size: .9rem !important; margin: 0 0 .3rem !important; }
.leaders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; max-width: 1040px; margin: 0 auto 3rem; }
.leader { background: var(--cream); border-radius: var(--radius); padding: .6rem; transition: transform .45s var(--bounce), box-shadow .3s; }
.leader:nth-child(1) { background: var(--sky-soft); } .leader:nth-child(2) { background: var(--coral-soft); } .leader:nth-child(3) { background: var(--meadow-soft); }
.leader:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.leader img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 22px; } /* already cropped around the face */
.leader > div { padding: 1.1rem 1rem .9rem; }
.leader h3 { font-size: 1.6rem; margin-bottom: .3rem; }
.leader p:last-child { margin: 0; font-size: .96rem; }
.team-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 1.8rem; }
.team-filter button { border: 2px solid var(--line); background: #fff; color: var(--ink); font-family: var(--font-head); font-weight: 500; font-size: .98rem; padding: .5rem 1.15rem; border-radius: 999px; transition: background-color .25s, border-color .25s; }
.team-filter button:hover { border-color: var(--honey); }
.team-filter button[aria-selected="true"] { background: var(--honey); border-color: var(--honey); }
.staff-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1.2rem; }
.staff { background: var(--cream); border-radius: var(--radius-sm); padding: .5rem; transition: transform .4s var(--bounce), box-shadow .3s; animation: pop .45s var(--ease) both; }
.staff:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.staff img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; } /* already cropped around the face */
.staff > div { padding: .8rem .6rem .6rem; }
.staff h3 { font-size: 1.25rem; margin-bottom: .1rem; }
.staff p:last-child { margin: 0; font-size: .9rem; line-height: 1.5; }
.room-tag { float: right; font-size: .74rem; font-weight: 800; color: var(--navy); background: var(--sky-soft); padding: .15rem .6rem; border-radius: 999px; margin-top: .3rem; }
@keyframes pop { from { opacity: 0; transform: scale(.94); } }

/* ---------- Clubs ---------- */
.club-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.club { background: #fff; border-radius: var(--radius); padding: .6rem; display: grid; grid-template-columns: .8fr 1fr; gap: .4rem; box-shadow: var(--shadow-sm); transition: transform .45s var(--bounce), box-shadow .3s; }
.club:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.club img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; border-radius: 22px; }
.club > div { padding: 1.3rem 1.2rem 1.2rem; }
.club .age { --c-soft: var(--sky-soft); }
.club h3 { font-size: 1.45rem; }
.club .ticks { font-size: .95rem; }

/* ---------- Fees & food ---------- */
.fees-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.fees-copy > p { font-size: 1.08rem; }
.fee-card { background: var(--cream); border-radius: var(--radius); padding: 1rem 1.6rem 1.3rem; border: 2px dashed #EADBC3; }
.fee-row { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; border-bottom: 2px dashed #EADBC3; }
.fee-row span { display: flex; flex-direction: column; line-height: 1.3; color: var(--muted); font-size: .92rem; }
.fee-row b { font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; color: var(--ink); }
.fee-row strong { font-family: var(--font-head); font-size: 2.1rem; font-weight: 600; color: var(--navy); }
.fee-note { margin: 1rem 0 0; font-size: .92rem; }
.funding-card { position: relative; background: var(--sky-soft); border-radius: var(--radius); padding: 2rem 1.8rem; }
.fd-star { width: 42px; height: 42px; color: var(--honey-deep); right: 1.4rem; top: -1.2rem; }
.funding-card h3 { font-size: 1.6rem; }
.fund-opts { display: grid; gap: .7rem; margin: 1rem 0 1.2rem; }
.fund-opts div { background: #fff; border-radius: var(--radius-sm); padding: .9rem 1.1rem; font-size: .95rem; line-height: 1.45; }
.fund-opts b { display: block; font-family: var(--font-head); font-weight: 600; color: var(--ink); font-size: 1.08rem; }
.meals { background: #fff; border-radius: var(--radius-sm); margin-bottom: 1.2rem; }
.meals summary { list-style: none; cursor: pointer; padding: .9rem 1.1rem; font-family: var(--font-head); font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.meals summary::-webkit-details-marker { display: none; }
.meals summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--honey-soft); font-size: 1.3rem; transition: transform .4s var(--bounce), background-color .3s; }
.meals[open] summary::after { transform: rotate(45deg); background: var(--honey); }
.meals ul { padding: 0 1.1rem .9rem; overflow: hidden; }
.meals li { display: flex; justify-content: space-between; padding: .45rem 0; border-top: 2px dashed var(--line); font-size: .95rem; }
.meals li span:last-child { font-weight: 800; color: var(--ink); }
.fund-links { display: flex; flex-wrap: wrap; gap: 1.2rem; margin: 0; }
/* the right-hand column: the funding box, with the food panel underneath it */
.fees-side { display: grid; gap: 1.5rem; }
.food { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: 1.1rem; background: var(--meadow-soft); border-radius: var(--radius); padding: .7rem; }
.food img { width: 100%; height: 100%; min-height: 170px; object-fit: cover; border-radius: 22px; }
.food > div { padding: .7rem .9rem .7rem 0; align-self: center; }
.food h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.food p { font-size: .96rem; }
@media (max-width: 560px) { .food { grid-template-columns: 1fr; padding-bottom: 1.4rem; } .food img { aspect-ratio: 16 / 9; height: auto; min-height: 0; } .food > div { padding: 0 1rem; } }
.food p { margin: 0; }

/* ---------- How to join ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 34px; left: 12%; right: 12%; border-top: 3px dashed rgba(239,125,91,.45); }
.steps li { position: relative; text-align: center; padding: 0 .5rem; }
.step-n { display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 1rem; border-radius: 50%; background: #fff; color: var(--coral); font-family: var(--font-head); font-size: 1.8rem; font-weight: 600; box-shadow: 0 5px 0 rgba(239,125,91,.35); border: 3px solid var(--coral); position: relative; }
.steps li:nth-child(2) .step-n { color: #C9870F; border-color: var(--honey); box-shadow: 0 5px 0 rgba(246,185,59,.45); }
.steps li:nth-child(3) .step-n { color: #3F8A44; border-color: var(--meadow); box-shadow: 0 5px 0 rgba(109,179,111,.4); }
.steps li:nth-child(4) .step-n { color: #3E8BC7; border-color: var(--sky); box-shadow: 0 5px 0 rgba(111,177,228,.45); }
.steps h3 { font-size: 1.3rem; margin-bottom: .3rem; }
.steps p { margin: 0; font-size: .96rem; }

/* ---------- Gallery ---------- */
.masonry { columns: 4 230px; column-gap: 1rem; }
.g-item { display: block; width: 100%; margin: 0 0 1rem; padding: .45rem; border: 0; border-radius: var(--radius-sm); background: #fff; break-inside: avoid; box-shadow: var(--shadow-sm); transition: transform .45s var(--bounce), box-shadow .3s; }
.g-item img { width: 100%; border-radius: 12px; }
.g-item:nth-child(3n+1) { rotate: -1deg; } .g-item:nth-child(3n+2) { rotate: 1deg; }
.g-item:hover, .g-item:focus-visible { transform: scale(1.03) rotate(0deg); box-shadow: var(--shadow); rotate: 0deg; }

.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: rgba(32, 38, 58, .92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 4rem 1rem; opacity: 0; transition: opacity .35s ease; }
.lightbox.open { opacity: 1; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); transform: scale(.96); transition: transform .45s var(--ease); }
.lightbox.open figure { transform: none; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border-radius: 16px; border: 6px solid #fff; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: .8rem; font-family: var(--font-hand); font-size: 1.8rem; }
.lightbox button { position: absolute; border: 0; width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; font-size: 2rem; line-height: 1; transition: background-color .25s; }
.lightbox button:hover { background: rgba(255,255,255,.3); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lb-next { right: 1rem; top: 50%; translate: 0 -50%; }

/* ---------- Visit ---------- */
.vd-sun { width: 80px; height: 80px; color: var(--honey-deep); left: 42%; top: 1.5rem; }
.visit-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2.5rem, 5vw, 4.5rem); }
.visit-info > p { font-size: 1.1rem; }
.contact-list { display: flex; flex-direction: column; gap: 1rem; margin: 1.8rem 0; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list b { display: block; color: var(--ink); font-family: var(--font-head); font-weight: 600; }
.contact-list a { word-break: break-word; }
.ci { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 16px; background: #fff; color: var(--coral); box-shadow: var(--shadow-sm); }
.ci svg { width: 21px; height: 21px; }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: #fff; border: 6px solid #fff; box-shadow: var(--shadow-sm); }
.map iframe { width: 100%; height: 100%; border: 0; border-radius: 20px; }
.map-cover { height: 100%; display: grid; place-items: center; align-content: center; gap: .6rem; padding: 1rem 1.4rem; text-align: center; border-radius: 20px; background: linear-gradient(135deg, var(--sky-soft), var(--meadow-soft)); }
.map-cover svg { width: 40px; height: 40px; fill: none; stroke: var(--coral); stroke-width: 2; }
.map-cover small { max-width: 30rem; font-size: .82rem; color: var(--ink-soft); }

.visit-form { background: #fff; border-radius: 32px; padding: clamp(1.6rem, 4vw, 2.5rem); box-shadow: var(--shadow-lg); position: relative; align-self: start; }
.form-hello { display: flex; align-items: center; gap: .3rem; font-family: var(--font-hand); font-size: 1.8rem; font-weight: 700; color: var(--coral-text); margin: 0 0 .2rem; line-height: 1; }
.form-hello svg { width: 54px; height: 40px; stroke-width: 3; rotate: 20deg; translate: 0 8px; }
.visit-form h3 { font-size: 1.6rem; }
.form-note { color: var(--muted); font-size: .97rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
/* Book a visit: more than one child */
.visit-kid + .visit-kid { border-top: 2px dashed var(--line); padding-top: .9rem; }
.visit-kid-remove, .visit-add-kid { grid-column: 1 / -1; justify-self: start; border: 0; background: none; padding: .2rem 0; font: inherit; font-weight: 700; cursor: pointer; }
.visit-kid-remove { color: var(--muted); text-decoration: underline; font-size: .9rem; margin: -.6rem 0 .8rem; }
.visit-add-kid { color: var(--coral-text); margin: -.4rem 0 1rem; }
.visit-add-kid:hover { text-decoration: underline; }
.field { display: flex; flex-direction: column; margin: 0 0 1.05rem; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-family: var(--font-head); font-weight: 500; color: var(--ink); font-size: .98rem; margin-bottom: .35rem; padding: 0; }
.opt { font-family: var(--font-body); font-weight: 600; color: var(--muted); font-size: .85rem; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); width: 100%; padding: .8rem 1rem; min-height: 50px; border-radius: 14px; border: 2px solid var(--line); background: var(--cream); transition: border-color .25s, background-color .25s, box-shadow .25s; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #245E8C; background: #fff; box-shadow: 0 0 0 4px var(--honey-soft); }
.days { flex-direction: row; flex-wrap: wrap; gap: .45rem; }
.days legend { width: 100%; }
.days label { margin: 0; cursor: pointer; }
.days input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.days span { display: inline-block; padding: .45rem .9rem; border-radius: 999px; border: 2px solid var(--line); background: var(--cream); font-family: var(--font-head); font-weight: 500; transition: background-color .2s, border-color .2s; }
.days input:checked + span { background: var(--honey); border-color: var(--honey); }
.days input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.err { display: none; color: #B3261E; font-size: .86rem; font-weight: 700; margin-top: .3rem; }
.field.invalid input { border-color: #B3261E; }
.field.invalid .err { display: block; }
.form-success { position: absolute; inset: 0; background: #fff; border-radius: 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem; animation: pop .5s var(--ease); }
.tick { width: 84px; height: 84px; border-radius: 50%; background: var(--coral-soft); display: grid; place-items: center; margin-bottom: 1rem; animation: pop .6s .1s var(--bounce) both; }
.tick svg { width: 44px; height: 44px; fill: var(--coral); stroke: none; }
.form-again { margin-top: .6rem; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--ink); color: rgba(255,255,255,.72); padding: 4rem 0 1.5rem; font-size: .97rem; --sec: var(--ink); }
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -34px; height: 36px; background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 36' preserveAspectRatio='none'%3E%3Cpath d='M0 20C120 6 240 6 360 18s240 14 360 0 240-14 360-2 240 16 360 2v18H0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 36' preserveAspectRatio='none'%3E%3Cpath d='M0 20C120 6 240 6 360 18s240 14 360 0 240-14 360-2 240 16 360 2v18H0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.1fr 1.2fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand img { width: 92px; height: 92px; border-radius: 50%; background: #fff; margin-bottom: 1rem; }
.footer-brand p { max-width: 300px; }
.social { display: inline-flex; align-items: center; gap: .5rem; }
.social svg { width: 18px; height: 18px; }
.site-footer h4, .site-footer .footer-h { color: #fff; font-size: 1.15rem; margin-bottom: .9rem; }
.site-footer ul { display: flex; flex-direction: column; gap: .5rem; }
.site-footer a { color: rgba(255,255,255,.82); text-decoration: none; word-break: break-word; transition: color .2s; }
.site-footer a:hover { color: var(--honey); }
.footer-base { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; font-size: .88rem; }
.footer-base p { margin: 0; }
.footer-company { display: block; font-size: .8rem; opacity: .85; margin-top: .15rem; }
.footer-company a { text-decoration: underline; }
.footer-base ul { flex-direction: row; gap: 1.3rem; }

.to-top { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 90; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--honey); color: var(--ink); box-shadow: 0 4px 0 var(--honey-deep); opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .35s, transform .35s var(--ease); }
.to-top svg { width: 22px; height: 22px; stroke-width: 2.6; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.quickbar { display: none; }

/* ---------- Notices (set in the admin area) ---------- */
.notices { display: grid; gap: .6rem; margin-bottom: 1.6rem; z-index: 2; }
.notice { display: flex; align-items: flex-start; gap: .8rem; background: #fff; border: 2px solid #CFE3F3; border-radius: 20px; padding: .8rem 1rem .8rem .9rem; box-shadow: var(--shadow-sm); animation: notice-in .6s var(--bounce) both; }
.notice-important { border-color: #F6C2B1; background: var(--coral-soft); }
.notice-celebration { border-color: #F3D58E; background: var(--honey-soft); }
.notice-icon { font-size: 1.4rem; line-height: 1.3; }
.notice > div { flex: 1; font-size: .98rem; color: var(--ink); }
.notice b { font-family: var(--font-head); font-weight: 600; margin-right: .3rem; }
.notice a { font-weight: 800; margin-left: .3rem; }
.notice-close { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(43,53,80,.07); color: var(--ink); font-size: 1.3rem; line-height: 1; }
.notice-close:hover { background: rgba(43,53,80,.14); }
@keyframes notice-in { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Files to download ---------- */
.files { display: grid; gap: .5rem; margin: 1rem 0; }
.files a { display: flex; align-items: center; gap: .7rem; padding: .6rem .9rem; border-radius: 14px; background: var(--cream); border: 2px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s var(--ease); }
.files a:hover { border-color: var(--honey); transform: translateY(-2px); }
.files svg { width: 24px; height: 24px; flex: none; color: var(--coral); }
.files b { display: block; font-family: var(--font-head); font-weight: 600; line-height: 1.2; }
.files small { color: var(--muted); font-size: .8rem; font-weight: 700; }
.files-inline { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0 0; }
.files-inline a { padding: .3rem .7rem; background: #fff; }
.files-inline svg { width: 18px; height: 18px; }

/* ---------- Announcements ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.4rem; }
.news-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; display: flex; flex-direction: column; transition: transform .45s var(--bounce), box-shadow .3s; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.news-card.pinned { border: 3px solid var(--honey); }
.news-img { margin: .6rem .6rem 0; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; }
.news-img img { width: 100%; height: 100%; object-fit: cover; }
.news-body { padding: 1.3rem 1.5rem 1.5rem; }
.news-body h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.news-body p { font-size: .98rem; }
.news-meta { display: flex; gap: .6rem; align-items: center; margin: 0 0 .4rem; font-size: .85rem; font-weight: 800; color: var(--coral-text); }
.news-pin { background: var(--honey-soft); color: #8A5A0E; padding: .1rem .6rem; border-radius: 999px; }

/* ---------- Social links ---------- */
.social-row { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; margin: -.6rem 0 1.6rem; }
.social-row b { font-family: var(--font-head); font-weight: 600; color: var(--ink); margin-right: .3rem; }
.social-row a, .footer-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); transition: transform .3s var(--bounce), background-color .2s; }
.social-row a:hover { transform: translateY(-3px) rotate(-6deg); background: var(--honey); }
.social-row svg, .footer-social svg { width: 22px; height: 22px; }
.footer-social { display: flex; gap: .5rem; flex-wrap: wrap; }
.footer-social a { background: rgba(255,255,255,.1); color: #fff; box-shadow: none; }
.footer-social a:hover { background: var(--honey); color: var(--ink); }

/* ---------- Pop-up message ---------- */
.popup { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 1.2rem; background: rgba(43, 53, 80, .55); backdrop-filter: blur(5px) saturate(.8); -webkit-backdrop-filter: blur(5px) saturate(.8); opacity: 0; transition: opacity .4s ease; }
.popup.open { opacity: 1; }
.popup-card { position: relative; width: min(520px, 100%); max-height: calc(100vh - 2.4rem); overflow-y: auto; background: #fff; border-radius: 32px; box-shadow: var(--shadow-lg); transform: translateY(24px) scale(.95); transition: transform .5s var(--bounce); text-align: center; }
.popup.open .popup-card { transform: none; }
.popup-img { width: 100%; max-height: 60vh; object-fit: cover; display: block; }
.popup-card.image-only .popup-img { max-height: calc(100vh - 9rem); object-fit: contain; background: var(--cream); }
.popup-body { padding: 1.6rem 1.8rem 1.8rem; }
.popup-card.has-img:not(.image-only) .popup-body { padding-top: 1.3rem; }
.popup-body h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); margin-bottom: .3rem; }
.popup-sub { font-family: var(--font-hand); font-size: 1.6rem; font-weight: 700; color: var(--coral-text); line-height: 1.1; margin-bottom: .8rem; }
.popup-body > p { font-size: 1.05rem; }
.popup-body .files { text-align: left; }
.popup-btn { margin-top: .6rem; min-width: 200px; }
.popup-x { position: absolute; top: .7rem; right: .7rem; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); font-size: 1.5rem; line-height: 1; box-shadow: var(--shadow-sm); }
.popup-x:hover { background: var(--honey); }
body.popup-open { overflow: hidden; }

/* ---------- Holiday theme extras ---------- */
/* falling snow/leaves sit behind the words (but over the photo) so reading is never affected */
.fx-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.theme .hero-copy, .theme .hero .notices { position: relative; z-index: 3; }
.theme .theme-sprinkles span { pointer-events: auto; cursor: pointer; transition: scale .3s var(--bounce); }
.theme .theme-sprinkles span:hover { scale: 1.25; }
.fx-toggle { position: absolute; left: max(1rem, calc((100% - 1200px) / 2)); bottom: 1.1rem; z-index: 7; display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .8rem; border: 0; border-radius: 999px; background: rgba(255,255,255,.85); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: var(--shadow-sm); color: var(--ink-soft); font: 700 .8rem var(--font-body, inherit); cursor: pointer; }
.fx-toggle:hover, .fx-toggle:focus-visible { background: #fff; }
.fx-state { background: var(--meadow-soft); color: #2F6E33; border-radius: 999px; padding: 0 .45rem; }
.fx-toggle[aria-pressed="false"] .fx-state { background: #EFEAE2; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .fx-toggle { display: none; } }

/* ---------- "Parents' info" drop-down in the menu ---------- */
.has-sub { position: relative; }
.sub-toggle { display: flex; align-items: center; gap: .25rem; padding: .45rem .75rem; border: 0; border-radius: 999px; background: none; color: var(--ink); font-family: var(--font-head); font-weight: 500; font-size: 1rem; cursor: pointer; transition: background-color .25s; }
.sub-toggle svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transition: rotate .3s var(--ease); }
.sub-toggle:hover, .has-sub.on > .sub-toggle, .has-sub.open > .sub-toggle { background: var(--honey-soft); }
.has-sub.open .sub-toggle svg { rotate: 180deg; }
.main-nav .sub { position: absolute; top: calc(100% + .4rem); left: 50%; translate: -50% 6px; z-index: 5; display: grid; gap: .1rem; min-width: 250px; padding: .5rem; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transition: opacity .25s, translate .3s var(--ease), visibility .25s; }
.main-nav .sub::before { content: ""; position: absolute; inset: -.6rem 0 auto; height: .6rem; } /* keeps hover alive across the gap */
.has-sub.open .sub { opacity: 1; visibility: visible; translate: -50% 0; }
.main-nav .sub a { border-radius: 14px; padding: .6rem .9rem; white-space: nowrap; }

/* ---------- Pages of their own (term dates, menus) ---------- */
.page-head { position: relative; overflow: hidden; padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(2.5rem, 5vw, 3.5rem); background: radial-gradient(ellipse at 50% 120%, var(--honey-soft), transparent 65%), var(--cream); }
.page-head .hd-sun { top: calc(var(--header-h) + 1rem); }
.page-head .hd-star { bottom: 22%; left: 8%; }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.page-head .lead { margin: 1rem auto 0; max-width: 40rem; }
.container.narrow { max-width: 860px; }
.center { text-align: center; }
.page-body { padding-top: clamp(2rem, 4vw, 3rem); background: var(--paper); }
.page-sub { font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 2.6rem 0 1.1rem; }
.page-body .container > .page-sub:first-child, .menu-week > .page-sub:first-child { margin-top: 0; }
.page-note { color: var(--ink-soft); max-width: 46rem; }
.page-source { font-size: .88rem; color: var(--muted); margin-top: 1rem; max-width: 46rem; }
.page-empty { background: var(--cream); border: 2px dashed var(--line); border-radius: var(--radius); padding: 1.6rem; text-align: center; color: var(--ink-soft); }
.page-files { max-width: 560px; margin-top: 2.4rem; }
.c-sky { --c-soft: var(--sky-soft); } .c-coral { --c-soft: var(--coral-soft); } .c-meadow { --c-soft: var(--meadow-soft); } .c-honey { --c-soft: var(--honey-soft); }

.term-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.2rem; }
.term-card { background: var(--c-soft); border-radius: var(--radius); padding: 1.5rem 1.6rem; transition: transform .45s var(--bounce); }
.term-card:hover { transform: translateY(-4px) rotate(-.5deg); }
.term-card h3 { font-size: 1.45rem; margin-bottom: .7rem; }
.term-range { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 .35rem; padding-bottom: .35rem; border-bottom: 2px dotted rgba(43, 53, 80, .12); }
.term-range span { color: var(--ink-soft); }
.term-range b { color: var(--ink); text-align: right; }
.term-half { margin: .7rem 0 0; font-weight: 800; color: var(--navy); }
.term-note { margin: .4rem 0 0; font-size: .92rem; color: var(--ink-soft); }

.date-month { margin-bottom: 1.6rem; }
.date-month h3 { font-family: var(--font-hand); font-size: 1.7rem; color: var(--coral-text); font-weight: 700; margin: 0 0 .5rem; }
.date-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.date-item { display: flex; align-items: center; gap: 1rem; background: var(--cream); border-radius: 20px; padding: .7rem 1rem .7rem .7rem; }
.date-item.is-next { background: var(--honey-soft); box-shadow: inset 0 0 0 2px var(--honey); }
.date-chip { flex: none; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-sm); font-size: .76rem; font-weight: 800; text-transform: uppercase; color: var(--muted); line-height: 1; }
.date-chip b { font-family: var(--font-head); font-size: 1.6rem; font-weight: 600; color: var(--ink); }
.date-text { flex: 1; display: grid; min-width: 0; }
.date-text b { font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; color: var(--ink); }
.date-text small { color: var(--ink-soft); font-size: .92rem; }
.date-tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .3rem; }
.date-kind, .date-next { font-size: .78rem; font-weight: 800; padding: .2rem .65rem; border-radius: 999px; background: #fff; color: var(--ink-soft); white-space: nowrap; }
.date-next { background: var(--honey); color: var(--ink); }
.kind-closed .date-kind { background: var(--coral-soft); color: #9E321F; }
.kind-event .date-kind { background: var(--meadow-soft); color: #2F6E33; }
.kind-club .date-kind { background: var(--sky-soft); color: #245E8C; }

.info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.2rem; }
.info-card { background: var(--cream); border-radius: var(--radius); padding: 1.5rem 1.6rem; }
.info-card h3 { font-size: 1.3rem; }
.info-card p { font-size: .98rem; }
.info-ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 18px; background: var(--honey-soft); color: var(--coral); margin-bottom: .8rem; }
.info-ico svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.week-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.4rem; }
.week-tabs button { border: 2px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: .5rem 1.1rem; font-family: var(--font-head); font-weight: 500; font-size: 1rem; cursor: pointer; }
.week-tabs button[aria-selected="true"] { background: var(--honey); border-color: var(--honey); }
.menu-days { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.menu-day { background: var(--c-soft); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.menu-day h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.menu-day ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.menu-day li { line-height: 1.35; color: var(--ink); }
.menu-day li > span:not([class]) { display: block; font-size: .76rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
/* ---------- Terms & conditions page ---------- */
.terms-tools { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.6rem; }
.terms-tools .btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.terms-updated { color: var(--muted); font-weight: 700; font-size: .92rem; }
.terms-toc { background: var(--cream); border-radius: var(--radius); padding: 1.2rem 1.5rem; margin-bottom: 2rem; }
.terms-toc ol { columns: 2 220px; margin: .5rem 0 0; padding-left: 1.3rem; font-size: .95rem; }
.terms-toc a { color: var(--navy); }
.terms-a { display: grid; gap: .5rem; margin: 1rem 0 0; }
.terms-a div { display: grid; grid-template-columns: minmax(150px, 230px) 1fr; gap: 1rem; background: var(--cream); border-radius: 16px; padding: .8rem 1.1rem; }
.terms-a dt { font-weight: 800; color: var(--ink); }
.terms-a dd { margin: 0; }
.terms-clauses { padding-left: 1.4rem; }
.terms-clauses > li { margin-bottom: 1.6rem; scroll-margin-top: 110px; }
.terms-clauses > li::marker { font-family: var(--font-head); font-weight: 600; color: var(--coral-text); font-size: 1.15rem; }
.terms-clauses h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.terms-clauses ul { padding-left: 1.2rem; margin: 0 0 .8rem; }
.terms-clauses li li { margin-bottom: .3rem; }
.terms-next { margin-top: 2rem; }
@media (max-width: 600px) { .terms-a div { grid-template-columns: 1fr; gap: .2rem; } }

/* ---------- Information & policies ---------- */
/* Questions & answers */
.faq { display: grid; gap: .7rem; }
.faq-item { background: var(--cream); border-radius: 18px; padding: 0 1.2rem; }
.faq-item summary { cursor: pointer; list-style: none; padding: 1rem 2rem 1rem 0; position: relative; font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: .85rem; width: 26px; height: 26px; border-radius: 50%; background: var(--honey); display: grid; place-items: center; font-size: 1.1rem; line-height: 26px; text-align: center; }
.faq-item[open] summary::after { content: "–"; }
.faq-a { padding: 0 0 1rem; color: var(--ink-soft); }
.faq-a p:last-child { margin-bottom: 0; }
.faq-more { margin-top: 1.6rem; color: var(--ink-soft); }

/* Leave a review */
.review-form { display: grid; gap: 1.1rem; }
.review-form .field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.review-form select { width: 100%; padding: .75rem .95rem; border-radius: 14px; border: 2px solid var(--line); background: #fff; font: inherit; color: var(--ink); }
.stars { display: inline-flex; flex-direction: row-reverse; gap: .2rem; justify-self: start; }
.stars input { position: absolute; opacity: 0; }
.stars label { font-size: 2.2rem; line-height: 1; color: #E3D8C6; cursor: pointer; transition: color .15s, transform .2s var(--bounce); }
.stars label:hover, .stars label:hover ~ label, .stars input:checked ~ label { color: var(--honey); }
.stars input:focus-visible + label { outline: 3px solid var(--sky); border-radius: 6px; }
.review-form[data-closed] { opacity: .5; pointer-events: none; }
.parents-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .8rem 1.4rem; }
@media (max-width: 600px) { .review-form .field-pair { grid-template-columns: 1fr; } }

/* calendar links on the dates page */
.cal-links { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin: 0 0 1.4rem; }
.cal-links .btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.cal-links small { color: var(--muted); font-size: .88rem; }
.date-cal { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--navy); }
.date-cal:hover { background: var(--honey); }
.date-cal svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.date-tags { align-items: center; }

/* "Today's lunch" in the welcome banner */
.today-lunch { display: inline-flex; align-items: center; gap: .7rem; margin-top: 1rem; padding: .55rem 1rem .55rem .6rem; background: var(--paper); border: 2px solid var(--line); border-radius: 18px; text-decoration: none; color: var(--ink); max-width: 100%; }
.today-lunch:hover { border-color: var(--honey); }
.tl-ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--honey-soft); font-size: 1.3rem; flex: none; }
.today-lunch small { display: block; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--coral-text); }
.today-lunch b { font-family: var(--font-head); font-weight: 600; }
.today-lunch em { display: block; font-style: normal; font-size: .8rem; color: var(--muted); }

/* A room's own page */
.room-head-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; }
.room-head h1 { text-align: left; }
.room-head .lead { margin: 1rem 0 1.2rem; max-width: 34rem; }
.room-head-img { border-radius: 32px 32px 32px 100px; overflow: hidden; border: 8px solid #fff; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.4; }
.room-head-img img { width: 100%; height: 100%; object-fit: cover; }
.room-more-text { max-width: 46rem; font-size: 1.05rem; }
.routine { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; max-width: 40rem; }
.routine li { display: flex; gap: 1rem; align-items: baseline; background: var(--cream); border-radius: 14px; padding: .65rem 1rem; }
.routine time { flex: none; min-width: 4.2rem; font-family: var(--font-head); font-weight: 600; color: var(--coral-text); }
.room-team { margin-top: .6rem; }
.room-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.room-photos .snap img { aspect-ratio: 4 / 3; }
.other-rooms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .8rem; }
.other-rooms a { display: flex; align-items: center; gap: .7rem; background: var(--cream); border-radius: 18px; padding: .5rem; text-decoration: none; color: var(--ink); }
.other-rooms a:hover { box-shadow: var(--shadow-sm); }
.other-rooms img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: none; }
.other-rooms small { display: block; color: var(--muted); font-size: .82rem; }
@media (max-width: 860px) { .room-head-grid { grid-template-columns: 1fr; } .room-head-img { order: -1; } }

.charges { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--cream); border-radius: var(--radius); overflow: hidden; margin-top: .6rem; }
.charges th, .charges td { padding: .8rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: .97rem; }
.charges thead th { background: var(--honey-soft); color: var(--ink); font-weight: 800; font-size: .9rem; }
.charges tbody th { color: var(--ink); font-weight: 700; }
.charges tr:last-child > * { border-bottom: 0; }
.pill-voluntary { display: inline-block; margin-left: .3rem; font-size: .72rem; font-weight: 800; background: var(--meadow-soft); color: #2F6E33; padding: .1rem .5rem; border-radius: 999px; vertical-align: 1px; }
.policy-list { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .6rem; }
.policy { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--cream); border-radius: 18px; padding: .9rem 1.1rem; }
.policy b { color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.policy p { margin: .15rem 0 0; font-size: .92rem; color: var(--ink-soft); }
.policy .btn { flex: none; }
.policy-ask { flex: none; font-size: .85rem; font-weight: 700; color: var(--muted); }
.ofsted-box { margin-top: 2.4rem; background: var(--sky-soft); border-radius: var(--radius); padding: 1.4rem 1.6rem; }
.ofsted-box .page-sub { margin-top: 0; }
@media (max-width: 600px) {
  .policy { flex-direction: column; align-items: flex-start; }
  .charges thead { display: none; }
  .charges tr { display: grid; padding: .6rem 0; border-bottom: 1px solid var(--line); }
  .charges th, .charges td { border: 0; padding: .15rem 1rem; }
}

/* ---------- Family support & wellbeing ---------- */
.help-urgent { display: flex; gap: .8rem; align-items: flex-start; background: var(--coral-soft); border-radius: var(--radius); padding: 1.1rem 1.3rem; margin-bottom: 1.6rem; }
.help-urgent svg { width: 26px; height: 26px; flex: none; fill: none; stroke: #B23A22; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-top: .1rem; }
.help-urgent p { margin: 0; color: var(--ink); }
.help-group { margin-top: 2.2rem; scroll-margin-top: 100px; }
.help-group .page-sub { display: flex; align-items: center; gap: .7rem; }
.help-group .info-ico { margin: 0; width: 46px; height: 46px; border-radius: 14px; }
.help-grid { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.help-card { background: var(--cream); border-radius: 20px; padding: 1.1rem 1.25rem; display: flex; flex-direction: column; gap: .45rem; transition: transform .35s var(--bounce), box-shadow .3s; }
.help-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.help-name { font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; color: var(--navy); text-decoration: none; line-height: 1.25; }
.help-name:hover { text-decoration: underline; }
.help-name svg { width: 15px; height: 15px; margin-left: .3rem; vertical-align: -1px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.help-card p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.help-phone { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; width: max-content; font-weight: 800; color: var(--ink); text-decoration: none; background: #fff; border-radius: 999px; padding: .3rem .8rem; }
.help-phone svg { width: 16px; height: 16px; fill: none; stroke: var(--coral); stroke-width: 2.2; }

/* ---------- Online registration form ---------- */
.reg-wrap { max-width: 880px; }
.reg-steps { margin-bottom: 1.6rem; }
.reg-steps ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; padding: 0; margin: 0; }
.reg-steps a { display: block; padding: .3rem .8rem; border-radius: 999px; background: var(--cream); border: 2px solid var(--line); color: var(--ink-soft); font-size: .84rem; font-weight: 700; text-decoration: none; }
.reg-steps a:hover { border-color: var(--honey); color: var(--ink); }
.reg-privacy { display: flex; gap: .6rem; align-items: flex-start; background: var(--sky-soft); border-radius: 16px; padding: .9rem 1.1rem; font-size: .95rem; }
.reg-privacy svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--navy); stroke-width: 2; }
.reg-required { font-size: .88rem; color: var(--muted); }
/* places depend on availability: a gentle note at the top of the form */
.reg-place { display: flex; gap: .6rem; align-items: flex-start; background: var(--honey-soft); border-left: 5px solid var(--honey); border-radius: 16px; padding: .9rem 1.1rem; font-size: .97rem; color: var(--ink); margin-bottom: 1rem; }
.reg-place p { margin: 0; }
.reg-place svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; margin-top: .15rem; }
/* sections asked for each child: one part per child, headed with their name once there's more than one */
.reg-kid + .reg-kid { border-top: 3px solid var(--line); margin-top: 1.2rem; padding-top: .4rem; }
.reg-kid-name { font-size: 1.25rem; margin: .8rem 0 0; color: var(--navy); }
.reg-kid-name span { color: var(--coral-text); }
.reg-kid.has-error > .reg-kid-error { display: block; }
.req { color: var(--coral-text); font-weight: 800; }
.reg-section { border: 0; margin: 0 0 1.4rem; padding: 1.6rem clamp(1.1rem, 3vw, 2rem); background: var(--cream); border-radius: var(--radius); min-width: 0; scroll-margin-top: 100px; }
.reg-section > legend { float: left; width: 100%; padding: 0; margin-bottom: .4rem; }
.reg-section > legend h2 { font-size: clamp(1.4rem, 3vw, 1.75rem); margin: 0; }
.reg-section > legend + * { clear: both; }
.reg-intro { color: var(--ink-soft); font-size: .97rem; }
.reg-entry { display: grid; gap: 1.1rem; padding: 1.1rem 0 .4rem; }
.reg-entry + .reg-entry { border-top: 2px dashed var(--line); margin-top: .6rem; }
.reg-entry-head { display: flex; align-items: center; justify-content: space-between; }
.reg-entry-head h3 { font-size: 1.15rem; margin: 0; color: var(--coral-text); }
.reg-remove { border: 0; background: none; color: var(--muted); font-weight: 700; text-decoration: underline; cursor: pointer; }
.reg-add { margin-top: .8rem; }
.q { display: grid; gap: .35rem; }
.q > label, .q legend, .q-label { font-family: var(--font-head); font-weight: 500; color: var(--ink); font-size: 1.04rem; line-height: 1.35; padding: 0; }
.q fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: .45rem; }
.q-help { font-size: .86rem; color: var(--muted); margin-top: -.2rem; }
.q input[type=text], .q input[type=email], .q input[type=tel], .q input[type=date], .q textarea { width: 100%; padding: .75rem .95rem; border-radius: 14px; border: 2px solid var(--line); background: #fff; font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.q input[type=date] { max-width: 240px; }
.q input:focus, .q textarea:focus { outline: none; border-color: #245E8C; box-shadow: 0 0 0 4px var(--honey-soft); }
.q-choices { display: flex; flex-wrap: wrap; gap: .45rem; }
.pill-choice { position: relative; }
.pill-choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill-choice span { display: inline-block; padding: .5rem 1.1rem; border-radius: 999px; background: #fff; border: 2px solid var(--line); font-weight: 700; color: var(--ink-soft); transition: background-color .2s, border-color .2s; }
.pill-choice input:checked + span { background: var(--honey); border-color: var(--honey); color: var(--ink); }
.pill-choice input:focus-visible + span { outline: 3px solid var(--sky); outline-offset: 2px; }
.gp-box { position: relative; }
.q .gp-box input { width: 100%; padding: .75rem .95rem; border-radius: 14px; border: 2px solid var(--line); background: #fff; font: inherit; font-size: 1rem; color: var(--ink); }
.q .gp-box input:focus { outline: none; border-color: #245E8C; box-shadow: 0 0 0 4px var(--honey-soft); }
.gp-list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: .35rem; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); max-height: 320px; overflow-y: auto; }
.gp-list li { display: grid; gap: .1rem; padding: .55rem .75rem; border-radius: 12px; cursor: pointer; }
.gp-list li:hover, .gp-list li[aria-selected="true"] { background: var(--honey-soft); }
.gp-list b { color: var(--ink); font-weight: 800; }
.gp-list small { color: var(--ink-soft); font-size: .84rem; }
.q-details { display: grid; gap: .3rem; margin-top: .2rem; }
.q-details label { font-weight: 700; font-size: .92rem; color: var(--ink-soft); }
.q-grid-wrap { overflow-x: auto; }
.q-grid { border-collapse: separate; border-spacing: 0; background: #fff; border-radius: 14px; overflow: hidden; border: 2px solid var(--line); min-width: 460px; }
.q-grid th, .q-grid td { padding: .45rem .55rem; text-align: center; font-size: .88rem; border-bottom: 1px solid var(--line); }
.q-grid thead th { background: var(--honey-soft); color: var(--ink); font-weight: 800; }
.q-grid tbody th { text-align: left; font-weight: 700; color: var(--ink); white-space: nowrap; }
.q-grid tr:last-child > * { border-bottom: 0; }
.q-grid input { width: 22px; height: 22px; accent-color: var(--honey); cursor: pointer; }
.q-grid label { display: grid; place-items: center; min-height: 32px; cursor: pointer; }
.q-error { display: none; color: #B23A22; font-weight: 700; font-size: .9rem; }
.has-error > .q-error, .has-error .reg-section-error { display: block; }
.q.has-error input, .q.has-error textarea, .q.has-error .pill-choice span, .q.has-error .q-grid { border-color: #E5806A; }
.reg-tick { display: flex; gap: .7rem; align-items: flex-start; font-family: var(--font-body) !important; font-size: 1rem !important; font-weight: 600 !important; cursor: pointer; }
.reg-tick input { width: 22px; height: 22px; flex: none; margin-top: .15rem; accent-color: var(--honey); }
.reg-tick span { flex: 1; }
/* while online registration is closed, the form is shown but can't be used */
.reg-form[data-closed] { opacity: .5; filter: grayscale(.4); pointer-events: none; user-select: none; }
.sig-pad { position: relative; background: #fff; border: 2px dashed var(--line); border-radius: 16px; max-width: 560px; }
.sig-pad canvas { display: block; width: 100%; height: auto; aspect-ratio: 560 / 160; touch-action: none; cursor: crosshair; }
.reg-sig-clear { position: absolute; top: .4rem; right: .5rem; border: 0; background: var(--cream); border-radius: 999px; padding: .2rem .7rem; font-weight: 700; color: var(--ink-soft); cursor: pointer; }
.reg-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.reg-sign { display: grid; gap: 1.1rem; }
.reg-submit { justify-self: start; }
.reg-status { margin: 0; font-weight: 700; color: var(--ink-soft); }
/* visit form: sending, errors, closed */
.visit-fields { display: contents; border: 0; margin: 0; padding: 0; }
.visit-fields:disabled .field, .visit-fields:disabled .btn { opacity: .45; }
.form-closed { background: var(--coral-soft); border-radius: 14px; padding: .8rem 1rem; color: var(--ink); font-size: .95rem; }
.form-error { margin: .6rem 0 0; color: #B23A22; font-weight: 700; }
.form-privacy { margin: .7rem 0 0; font-size: .82rem; color: var(--muted); }
.form-privacy a { color: inherit; }
.reg-paper { margin: -.6rem 0 1.2rem; font-size: .95rem; color: var(--ink-soft); }
.reg-closed { background: var(--coral-soft); border-radius: 16px; padding: 1rem 1.2rem; margin-bottom: 1.4rem; color: var(--ink); }
.reg-done { text-align: center; background: var(--meadow-soft); border-radius: var(--radius); padding: 2.4rem 1.6rem; outline: none; }
.reg-done svg { width: 64px; height: 64px; fill: none; stroke: #2F6E33; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.reg-done h2 { margin: .6rem 0 .4rem; }
.reg-done-note { max-width: 560px; margin: .8rem auto 0; font-size: .95rem; color: var(--ink); }
.reg-done p { max-width: 36rem; margin: 0 auto; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* detailed menus: each meal with its allergens, and ingredients/nutrition to open */
.menu-days.detailed { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); align-items: start; }
.menu-days.detailed ul { gap: .7rem; }
.meal { background: rgba(255,255,255,.75); border-radius: 16px; padding: .7rem .85rem; display: grid; gap: .25rem; }
.meal-kind { font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); display: flex; align-items: center; gap: .35rem; }
.veg { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--meadow); color: #fff; font-size: .68rem; letter-spacing: 0; }
.meal-name { font-family: var(--font-head); font-weight: 500; font-size: 1.05rem; color: var(--ink); line-height: 1.25; }
.meal-allergens { display: flex; flex-wrap: wrap; gap: .25rem; }
.meal-allergens .al { font-size: .74rem; font-weight: 800; background: var(--coral-soft); color: #9E321F; padding: .1rem .5rem; border-radius: 999px; }
.meal-allergens.none { font-size: .78rem; color: var(--muted); }
.meal-more summary { cursor: pointer; font-size: .85rem; font-weight: 800; color: var(--navy); width: max-content; }
.meal-more[open] summary { margin-bottom: .4rem; }
.meal-ingredients { font-size: .88rem; margin: 0 0 .5rem; color: var(--ink-soft); }
.meal-ingredients b { color: var(--ink); }
.nutrition { width: 100%; border-collapse: collapse; font-size: .84rem; }
.nutrition th, .nutrition td { padding: .2rem 0; border-bottom: 1px dotted rgba(43,53,80,.15); text-align: left; font-weight: 600; color: var(--ink-soft); }
.nutrition td { text-align: right; color: var(--ink); font-weight: 800; }
.meal-per { font-size: .74rem; color: var(--muted); margin: .3rem 0 0; }
.allergen-note { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1.4rem; background: var(--cream); border-radius: 16px; padding: .9rem 1.1rem; font-size: .92rem; color: var(--ink-soft); max-width: 52rem; }
.allergen-note svg { width: 22px; height: 22px; flex: none; color: var(--coral); }
.allergy-box { margin-top: 2.6rem; background: var(--sky-soft); border-radius: var(--radius); padding: 1.6rem 1.8rem; }
.allergy-box .page-sub { margin-top: 0; }
@media (max-width: 600px) {
  .date-item { flex-wrap: wrap; }
  .date-tags { width: 100%; justify-content: flex-start; padding-left: calc(62px + 1rem); }
}

/* Staff without a photo */
.staff img.ph, .leader img.ph { object-position: center; }

/* Opening hours list in the visit section */
.hours-list { display: grid; gap: .1rem; }
.hours-special { background: var(--coral-soft); border-radius: 10px; padding: .2rem .55rem; margin: .1rem 0 .3rem; color: var(--ink); justify-self: start; }
.hours-soon { font-size: .92rem; color: var(--ink); margin-top: .3rem; }
.hours-note { font-size: .92rem; color: var(--muted); }

/* Sections added in the admin area ("Your own section") */
.custom-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.custom-grid.has-img { grid-template-columns: 1.1fr .9fr; }
.custom-grid.img-left .custom-snap { order: -1; }
.custom-copy { max-width: 680px; }
.custom-copy > p { font-size: 1.08rem; }
.custom-snap { rotate: 2deg; max-width: 460px; justify-self: center; }
.custom-snap img { aspect-ratio: 4 / 3; }
.custom-grid.img-left .custom-snap { rotate: -2deg; }
.custom-cards { margin-top: 2.4rem; }
@media (max-width: 899px) { .custom-grid.has-img { grid-template-columns: 1fr; } .custom-grid.img-left .custom-snap { order: 0; } }

/* Inside the admin preview: show everything straight away */
.is-preview .reveal, .is-preview .hero-in { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1400px) { .nav-phone { display: none; } }
@media (max-width: 1320px) { .main-nav ul a, .sub-toggle { padding-inline: .55rem; font-size: .96rem; } }
@media (max-width: 1220px) { .main-nav ul a, .sub-toggle { padding-inline: .42rem; font-size: .92rem; } .main-nav { gap: .6rem; } }
.main-nav ul a, .sub-toggle { white-space: nowrap; }

@media (max-width: 1100px) {
  :root { --header-h: 74px; }
  .nav-toggle { display: block; }
  .nav-home { display: grid; }
  .header-inner { gap: .6rem; }
  .main-nav { position: fixed; inset: 0; z-index: 110; flex-direction: column; justify-content: center; gap: 1.5rem; background: var(--cream); padding: 6rem 2rem 2rem; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s; }
  .main-nav ul { flex-direction: column; align-items: center; gap: .3rem; }
  .main-nav ul li { opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .5s var(--ease); }
  .main-nav ul a { font-size: 1.6rem; padding: .35rem 1.2rem; }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .nav-open .main-nav ul li { opacity: 1; transform: none; }
  .nav-open .main-nav ul li:nth-child(2) { transition-delay: .04s; } .nav-open .main-nav ul li:nth-child(3) { transition-delay: .08s; }
  .nav-open .main-nav ul li:nth-child(4) { transition-delay: .12s; } .nav-open .main-nav ul li:nth-child(5) { transition-delay: .16s; }
  .nav-open .main-nav ul li:nth-child(6) { transition-delay: .2s; }
  .nav-phone { display: inline-flex; font-size: 1.15rem; }
  .nav-cta { padding: .9rem 2rem; font-size: 1.1rem; }
  body.nav-open { overflow: hidden; }
  /* the frosted top bar (once scrolled) would otherwise trap the full-screen menu inside the bar's own height */
  body.nav-open .site-header, body.nav-open .site-header.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--cream); }
  .main-nav { overflow-y: auto; justify-content: flex-start; height: 100vh; height: 100dvh; overscroll-behavior: contain; }
  .main-nav > ul { margin-top: auto; } .nav-cta { margin-bottom: auto; }
  /* phone menu: the parents' pages are listed straight away under a small heading */
  .has-sub { display: flex; flex-direction: column; align-items: center; margin-top: .4rem; }
  .sub-toggle { font-family: var(--font-hand); font-size: 1.5rem; font-weight: 700; color: var(--coral-text); pointer-events: none; padding: .2rem 1rem; }
  .sub-toggle:hover, .has-sub.on > .sub-toggle { background: none; }
  .sub-toggle svg { display: none; }
  /* (the sub-menu follows the menu's own visibility: "visible" here made its links tappable, unseen, over the page
     while the menu was closed) */
  .main-nav .sub { position: static; translate: none; opacity: 1; visibility: inherit; background: none; box-shadow: none; min-width: 0; padding: 0; text-align: center; }
  body:not(.nav-open) .main-nav { pointer-events: none; }
  .main-nav .sub a { font-size: 1.3rem; white-space: normal; }
  .nav-open .main-nav ul li:nth-child(n+7) { transition-delay: .24s; }
  .promises, .spaces, .notes { grid-template-columns: 1fr 1fr; }
  .n-2, .n-4 { margin-top: 0; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.2rem; }
  .steps::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 899px) {
  .hero { padding-bottom: 4rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero-media { order: -1; height: auto; aspect-ratio: 4 / 4.2; max-height: 62vh; width: 100%; max-width: 560px; margin: 0 auto; }
  .slide img { object-position: var(--tx, 50%) var(--ty, 30%); transform-origin: var(--tx, 50%) var(--ty, 30%); }
  .slides { border-radius: 32px 32px 32px 100px; border-width: 6px; }
  .seal { width: 92px; height: 92px; left: -10px; bottom: -1.2rem; }
  .seal img { width: 44px; height: 44px; }
  .slide-note { font-size: 1.35rem; right: 1rem; top: -1rem; }
  .slide-nav { right: 1rem; bottom: 1rem; }
  .hero-copy { text-align: center; }
  .lead { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hd-cloud, .hd-star { display: none; }
  .scroll-hint { display: none; }
  .welcome-intro, .outdoors-intro, .peace-grid, .fees-grid, .visit-grid { grid-template-columns: 1fr; }
  .snapshots { height: 380px; max-width: 520px; width: 100%; margin: 0 auto; }
  .outdoor-snaps { height: 440px; max-width: 500px; width: 100%; margin: 0 auto; }
  .peace-media { margin: 0 auto; }
  .club-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .container { width: min(1200px, 100% - 2rem); }
  .brand-text { font-size: 1.1rem; }
  .brand img { width: 50px; height: 50px; }
  .hello { font-size: 1.55rem; }
  .hero h1 { font-size: clamp(2.4rem, 10.5vw, 3rem); }
  .lead .more { display: none; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-trust li { font-size: .84rem; }
  .hd-sun { width: 54px; height: 54px; }
  .snapshots { height: 330px; }
  .sticker { width: 86px; height: 86px; font-size: .78rem; }
  .sticker b { font-size: 1.4rem; }
  .promises, .spaces, .notes, .leaders, .steps { grid-template-columns: 1fr; }
  .leaders { max-width: 400px; }
  .head-side { flex-direction: column; align-items: flex-start; }
  /* rooms on phones: smaller cards (the next one peeks in, so it's clear you can swipe), no faded edges, a shorter
     description, and arrows either side of the dots underneath */
  .carousel { grid-auto-columns: 66%; --gap: .8rem; }
  .car-wrap.more-left .carousel, .car-wrap.more-right .carousel, .car-wrap.more-left.more-right .carousel { -webkit-mask-image: none; mask-image: none; }
  .car-wrap { padding-bottom: 60px; }
  .car-wrap .car-btn { display: grid; top: auto; bottom: 0; width: 44px; height: 44px; }
  .car-wrap .car-btn[hidden] { display: grid; visibility: hidden; }
  .car-prev { left: calc(50% - 130px); } .car-next { right: calc(50% - 130px); }
  .car-dots { position: relative; margin-top: -50px; height: 44px; align-items: center; pointer-events: none; }
  .car-dots button { pointer-events: auto; }
  .room-img { aspect-ratio: 4 / 3; }
  .room-body { padding: .9rem 1rem 1.1rem; }
  .room-body h3 { font-size: 1.3rem; }
  .room-body p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: .92rem; }
  .room-card .room-peek { padding: 0 1rem 1rem; }
  .room-card .room-peek > :not(.peek-btn) { display: none; }
  .room-card .peek-btn { padding: .55rem 1rem; font-size: .9rem; }
  .outdoor-snaps { height: 380px; }
  .club { grid-template-columns: 1fr; }
  .club img { min-height: 0; aspect-ratio: 16 / 10; }
  .staff-grid { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .staff h3 { font-size: 1.1rem; }
  .room-tag { float: none; display: inline-block; margin: 0 0 .35rem; }
  .fee-row strong { font-size: 1.8rem; }
  .masonry { columns: 2; column-gap: .6rem; }
  .g-item { margin-bottom: .6rem; padding: .3rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; align-items: flex-start; }
  /* room enough under the footer for the call / book bar (and the iPhone's home bar), so it never covers anything */
  .site-footer { padding-bottom: calc(7rem + env(safe-area-inset-bottom, 0px)); }
  /* the bar is always there on room pages, so their own Book a visit / Call buttons would only repeat it */
  :root:has(.quickbar) .room-head-btns .btn, :root:has(.quickbar) .room-cta-btns { display: none; }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; translate: none; }
  /* sticky call / book bar on phones */
  .quickbar { display: flex; gap: .6rem; position: fixed; left: .8rem; right: .8rem; bottom: calc(.8rem + env(safe-area-inset-bottom, 0px)); z-index: 95; padding: .55rem; background: rgba(255,255,255,.95); border-radius: 999px; box-shadow: var(--shadow-lg); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transform: translateY(140%); transition: transform .45s var(--ease); }
  .quickbar.show { transform: none; }
  .quickbar .btn { flex: 1; padding: .75rem 1rem; }
  .quickbar .btn-soft { flex: .6; }
  .seal-theme { display: none; } .seal-home { display: grid; }
  .qb-badge { flex: none; align-self: center; position: relative; display: grid; place-items: center; width: 60px; height: 60px; margin: -4px 0; border-radius: 50%; background: var(--paper); border: 2px solid #E8D9C2; box-shadow: 0 4px 0 #E8D9C2; text-decoration: none; }
  .qb-badge:active { transform: translateY(3px); box-shadow: 0 1px 0 #E8D9C2; }
  .qb-ring { position: absolute; inset: 2px; width: calc(100% - 4px); height: calc(100% - 4px); }
  .qb-ring text { font-family: var(--font-head); font-weight: 600; font-size: 13.5px; fill: var(--navy); stroke: none; }
  .qb-art { width: 28px; height: 28px; margin-top: 12px; }
  /* the back arrow (every page but the home page): grows in from the left once the page opens, and shrinks away
     when it's taking you back to the home page (main.js adds .leaving) */
  .qb-back { flex: none; align-self: stretch; display: grid; place-items: center; width: 50px; min-height: 44px; border-radius: 999px; background: var(--paper); border: 2px solid var(--line); color: var(--ink); overflow: hidden; animation: qb-back-in .5s var(--ease) .2s both; }
  .qb-back svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
  .quickbar.leaving .qb-back { animation: qb-back-out .26s var(--ease) forwards; }
  @keyframes qb-back-in { from { width: 0; margin-right: -.6rem; opacity: 0; border-width: 0; } }
  @keyframes qb-back-out { to { width: 0; margin-right: -.6rem; opacity: 0; border-width: 0; } }
  .to-top { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .hero-in { opacity: 1; transform: none; }
  .slide img { transform: none; }
}

/* ---------- Spaces in each room (optional) ---------- */
.spaces-pill { display: inline-block; vertical-align: top; margin: 0 0 .7rem .3rem; padding: .3rem .75rem; border-radius: 999px; font-size: .8rem; font-weight: 800; background: var(--meadow-soft); color: #2E6B31; }
.spaces-pill::before { content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: currentColor; margin-right: .4rem; vertical-align: .05rem; }
.sp-limited { background: var(--honey-soft); color: #8A5A00; }
.sp-waiting { background: var(--sky-soft); color: #245E8C; }
.sp-full { background: var(--coral-soft); color: #A2391B; }
.spaces-updated { text-align: center; margin-top: .4rem; font-size: .9rem; color: var(--ink-soft); }
.room-head .spaces-pill { margin-left: 0; }

/* ---------- Video tour ---------- */
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }
.video-grid.one { max-width: 860px; margin: 0 auto; grid-template-columns: 1fr; }
.video-card { margin: 0; background: #fff; border-radius: var(--radius); padding: .6rem; box-shadow: var(--shadow-sm); }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: calc(var(--radius) - 8px); overflow: hidden; background: var(--sky-soft); }
.video-frame video, .video-frame iframe, .vid-load img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; background: #000; }
.video-frame video { object-fit: contain; }
.vid-load { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; cursor: pointer; background: linear-gradient(135deg, var(--sky-soft), var(--honey-soft)); display: grid; place-items: center; }
.vid-load svg { position: relative; width: 74px; height: 74px; fill: var(--honey); stroke: none; filter: drop-shadow(0 6px 14px rgba(43,53,80,.3)); transition: transform .35s var(--bounce); }
.vid-load svg path { fill: var(--ink); }
.vid-load:hover svg, .vid-load:focus-visible svg { transform: scale(1.1); }
.vid-load small { position: absolute; bottom: .7rem; left: 50%; translate: -50% 0; background: rgba(255,255,255,.92); padding: .2rem .7rem; border-radius: 999px; font-size: .75rem; font-weight: 700; color: var(--ink-soft); white-space: nowrap; }
.video-card figcaption { padding: .9rem .6rem .5rem; display: grid; gap: .2rem; }
.video-card figcaption b { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.video-card figcaption span { color: var(--ink-soft); font-size: .93rem; }

/* ---------- Signing corner (square, rounded cards) ---------- */
.sign-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 1.1rem; }
.sign-card { --c-soft: var(--sky-soft); background: var(--c-soft); border-radius: var(--radius); padding: .6rem .6rem 1rem; text-align: center; transition: transform .45s var(--bounce); }
.sign-card:hover { transform: translateY(-4px) rotate(-.6deg); }
.sign-card.featured { grid-column: span 2; grid-row: span 2; }
.sign-media { position: relative; aspect-ratio: 1; border-radius: calc(var(--radius) - 8px); overflow: hidden; background: #fff; }
.sign-media video, .sign-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sign-play { position: absolute; inset: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; transition: opacity .3s; }
.sign-play svg { width: 58px; height: 58px; fill: rgba(255,255,255,.92); filter: drop-shadow(0 4px 10px rgba(43,53,80,.3)); }
.sign-play svg path { fill: var(--ink); }
.sign-card.playing .sign-play { opacity: 0; }
.sign-card.playing .sign-play:focus-visible { opacity: 1; }
.sign-week { position: absolute; top: .6rem; left: .6rem; background: var(--honey); color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: .85rem; padding: .25rem .75rem; border-radius: 999px; box-shadow: var(--shadow-sm); }
/* the word, laid over the top-left of the clip (above the signing), in a soft white label */
.sign-word { position: absolute; top: .6rem; left: .6rem; z-index: 2; max-width: calc(100% - 1.2rem); margin: 0; padding: .3rem .85rem .4rem; border-radius: 14px; background: rgba(255,255,255,.93); box-shadow: 0 4px 14px rgba(43,53,80,.14); text-align: left; pointer-events: none; font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; color: var(--ink); line-height: 1.1; }
.sign-word small { display: block; font-family: var(--font-body); font-size: .64rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--coral-text); margin-bottom: .1rem; }
.sign-card.featured .sign-word small { color: #8A5A0E; }
/* sound on/off: sits above the tap-to-play layer, bottom right of the clip */
.sign-sound { position: absolute; right: .55rem; bottom: .55rem; z-index: 2; height: 40px; padding: 0 .85rem 0 .65rem; border-radius: 999px; border: 0; background: rgba(255,255,255,.94); box-shadow: 0 4px 12px rgba(43,53,80,.2); display: inline-flex; align-items: center; gap: .35rem; cursor: pointer; transition: transform .2s; font: 700 .85rem var(--font-body); color: var(--ink); }
.sign-sound[hidden] { display: none; }
.sign-sound:hover { transform: scale(1.08); }
.sign-sound:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.sign-sound svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sign-sound svg path:first-child { fill: var(--ink); }
.sign-sound .snd-on, .sign-sound[aria-pressed="true"] .snd-off { display: none; }
.sign-sound[aria-pressed="true"] .snd-on { display: block; }
.sign-sound[aria-pressed="true"] { background: var(--honey); }
.sign-card.featured .sign-word { font-size: 1.8rem; }
.sign-tip { margin: .25rem .4rem 0; font-size: .88rem; color: var(--ink-soft); }
.sign-note { max-width: 720px; margin: 1.6rem auto 0; text-align: center; font-size: .85rem; color: var(--ink-soft); }
@media (max-width: 560px) { .sign-grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; } .sign-word { font-size: 1.1rem; } .sign-card.featured .sign-word { font-size: 1.45rem; } }

/* ---------- Fee calculator ---------- */
/* questions on the left, the estimate on the right (it stays in view while you choose) */
.fee-calc { margin-top: clamp(2rem, 5vw, 3.5rem); display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(1.4rem, 4vw, 3rem); align-items: start; }
.calc-form { background: var(--cream); border: 2px dashed #EADBC3; border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2rem); }
.fee-calc h3 { font-size: 1.6rem; margin-bottom: .3rem; }
.calc-lead { color: var(--ink-soft); margin: 0; }
.calc-hint { margin: 0; font-size: .86rem; color: var(--muted); }
.calc-subq { margin: .4rem 0 0; font-weight: 700; }
.calc-why summary { display: inline-block; cursor: pointer; font-size: .88rem; font-weight: 700; color: #245E8C; }
.calc-why p { margin: .4rem 0 0; font-size: .88rem; color: var(--ink-soft); }
.calc-days { display: grid; gap: .45rem; }
.calc-day { display: grid; grid-template-columns: 3rem 1fr; align-items: center; gap: .6rem; }
.calc-day > b { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 3px; }
.seg .pill-choice span { display: block; text-align: center; padding: .4rem .3rem; border: 0; background: none; font-size: .9rem; white-space: nowrap; }
.seg .pill-choice:first-child input:not(:checked) + span { color: var(--muted); font-weight: 600; }
.seg .pill-choice input:checked + span { background: var(--honey); }
.seg .pill-choice:first-child input:checked + span { background: var(--cream); color: var(--muted); }
.calc-how .pill-choice span { display: grid; text-align: left; border-radius: 18px; line-height: 1.25; }
.calc-how small { font-weight: 600; font-size: .8rem; color: var(--ink-soft); }
.calc-opts { gap: .8rem; }
.calc-form > .calc-tfc { margin-top: 1rem; }
.calc-form .reg-tick span { display: grid; gap: .1rem; }
.calc-form .reg-tick small { color: var(--ink-soft); font-size: .84rem; font-weight: 400; }
.calc-result { position: sticky; top: calc(var(--header-h) + 1rem); display: grid; gap: .7rem; background: var(--honey-soft); border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 1.8rem); box-shadow: var(--shadow-sm); }
.calc-entitle { justify-self: start; margin: 0; padding: .35rem .85rem; border-radius: 14px; line-height: 1.35; background: #E3F2DA; color: #2E6B31; font-weight: 700; font-size: .9rem; }
.calc-entitle.none { background: #fff; color: var(--ink-soft); font-weight: 600; }
.calc-q { margin: 0; }
.calc-dob { justify-self: start; max-width: 15rem; font: inherit; padding: .55rem .8rem; border: 2px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); }
.calc-later { margin: 0; padding: .6rem .8rem; border-radius: 14px; background: #fff; font-size: .95rem; color: var(--ink-soft); }
.calc-later b { color: var(--ink); }
.calc-later[hidden] { display: none; }
.calc-month { margin: 0; font-size: 1.05rem; font-weight: 700; color: var(--ink-soft); }
.calc-month small { display: block; font-size: .9rem; }
.calc-month b { font-family: var(--font-head); font-weight: 600; font-size: clamp(2.6rem, 6vw, 3.4rem); line-height: 1; color: var(--ink); margin-right: .3rem; }
.calc-weeks { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; font-size: .95rem; color: var(--ink-soft); }
.calc-weeks b { color: var(--ink); }
.calc-weeks .calc-small { font-size: .84rem; color: var(--muted); }
.calc-weeks .calc-tip { margin-top: .4rem; padding: .5rem .7rem; border-radius: 12px; background: #fff; font-size: .86rem; }
.calc-detail { background: #fff; border-radius: 16px; padding: .6rem .9rem; font-size: .9rem; color: var(--ink-soft); }
.calc-detail summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.calc-ask { justify-self: start; }
.calc-note { margin: 0; font-size: .8rem; line-height: 1.45; color: var(--muted); }
@media (max-width: 900px) { .fee-calc { grid-template-columns: 1fr; } .calc-result { position: static; } }
@media (max-width: 480px) { .calc-day { grid-template-columns: 1fr; gap: .25rem; } .seg .pill-choice span { font-size: .82rem; padding: .4rem .15rem; } }

/* ---------- Parent hub, vacancies, outdoor learning ---------- */
.hub-privacy { display: flex; gap: .6rem; align-items: flex-start; background: var(--meadow-soft); border-radius: 18px; padding: .9rem 1.1rem; font-weight: 600; color: #2E5A30; }
.hub-privacy svg { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: .1rem; }
.hub-return { margin-top: 2.4rem; }
.job-list { display: grid; gap: 1.2rem; }
.job-card { background: var(--c-soft); border-radius: var(--radius); padding: 1.6rem 1.8rem; }
.job-card h3 { font-size: 1.6rem; margin-bottom: .5rem; }
.job-card h4 { margin: 1rem 0 .5rem; }
.job-facts { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .6rem; }
.job-facts span { background: #fff; padding: .25rem .8rem; border-radius: 999px; font-weight: 700; font-size: .88rem; }
.job-closing { font-size: .95rem; color: var(--ink-soft); }
.job-benefits { columns: 2; display: block; } .job-benefits li { margin-bottom: .55rem; break-inside: avoid; }
.outdoor-acts { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); margin-bottom: 1rem; }
.outdoor-info { margin-top: 1.6rem; }
.outdoor-info .ticks { margin: .4rem 0 0; padding: 0; list-style: none; }
@media (max-width: 640px) { .job-benefits { columns: 1; } .job-card { padding: 1.3rem; } }

/* ---------- Read in another language (footer) ---------- */
.footer-lang { padding-top: 1.2rem; }
.translate summary { cursor: pointer; display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; color: #fff; list-style: none; }
.translate summary::-webkit-details-marker { display: none; }
.translate summary svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.translate ul { list-style: none; padding: 0; margin: .8rem 0 .4rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.translate li a { display: block; padding: .3rem .8rem; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; text-decoration: none; font-size: .9rem; }
.translate li a:hover { background: rgba(255,255,255,.2); }
.translate small { color: rgba(255,255,255,.6); }

/* ---------- News pages ---------- */
.news-body h3 a { color: inherit; text-decoration: none; }
.news-body h3 a:hover { text-decoration: underline; text-decoration-color: var(--honey); text-decoration-thickness: 3px; }
.news-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: .6rem; }
.news-all { margin-top: 1.8rem; }
.news-story { font-size: 1.06rem; }
.news-story-img { margin: 0 0 1.6rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.news-story-img img { width: 100%; }
.news-back { margin-top: 2rem; }
.news-more { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.news-more a { display: flex; gap: .9rem; align-items: center; background: var(--cream); border-radius: 20px; padding: .7rem; text-decoration: none; color: var(--ink); height: 100%; transition: transform .35s var(--bounce); }
.news-more a:hover { transform: translateY(-3px); }
.news-more img { width: 84px; height: 84px; object-fit: cover; border-radius: 14px; flex: none; }
.news-more span { display: grid; gap: .15rem; }
.news-more small { color: var(--coral-text); font-weight: 700; font-size: .8rem; }
.news-more b { font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; }
.news-more em { font-style: normal; color: var(--ink-soft); font-size: .9rem; }
.news-list { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; }
.news-list img { width: 120px; height: 100px; }

/* ---------- Meet the team: safeguarding, spotlight, qualifications (each optional) ---------- */
.leader, .staff { position: relative; }
.key-roles { display: flex; flex-wrap: wrap; gap: .3rem; margin: .1rem 0 .5rem !important; }
.key-role { display: inline-flex; align-items: center; gap: .3rem; background: var(--sky-soft); color: #245E8C; font-size: .76rem; font-weight: 800; padding: .2rem .6rem .2rem .45rem; border-radius: 999px; line-height: 1.3; }
.key-role svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.is-star { background: var(--honey-soft); box-shadow: 0 0 0 4px var(--honey), var(--shadow); }
.star-ribbon { position: absolute; top: .9rem; left: .9rem; z-index: 2; background: var(--honey); color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: .85rem; padding: .3rem .8rem; border-radius: 999px; box-shadow: var(--shadow-sm); }
.star-why { font-style: italic; color: var(--ink) !important; border-left: 3px solid var(--honey); padding-left: .6rem; }
.star-banner { display: flex; align-items: center; gap: .9rem; max-width: 820px; margin: 0 auto 2rem; background: var(--honey-soft); border: 2px dashed var(--honey); border-radius: var(--radius); padding: .9rem 1.3rem; }
.star-banner p { margin: 0; }
.star-banner p span { display: block; color: var(--ink-soft); font-size: .92rem; margin-top: .15rem; }
.star-ico { font-size: 2rem; color: var(--honey-deep); line-height: 1; }
.quals { margin-top: .5rem; font-size: .88rem; }
.quals summary { cursor: pointer; font-weight: 800; color: var(--ink-soft); }
.quals ul { margin: .4rem 0 0; padding-left: 1.1rem; }
.quals li { margin-bottom: .2rem; }
.safe-panel { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.5rem; align-items: center; margin-top: 2.6rem; background: var(--sky-soft); border-radius: var(--radius); padding: 1.6rem 1.8rem; }
.safe-copy h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.45rem; margin-bottom: .5rem; }
.safe-copy h3 svg { width: 30px; height: 30px; fill: none; stroke: #3E8BC7; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.safe-people { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.safe-people li { display: flex; align-items: center; gap: .8rem; background: #fff; border-radius: 18px; padding: .5rem; }
.safe-people img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; }
.safe-people span { display: grid; font-size: .88rem; color: var(--ink-soft); }
.safe-people b { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--ink); }
@media (max-width: 760px) { .safe-panel { grid-template-columns: 1fr; padding: 1.3rem; } .star-banner { padding: .8rem 1rem; } }

/* Who's signing, and taking the signs away */
/* who signs it: a short caption under the clip */
.sign-by { display: flex; align-items: center; justify-content: center; gap: .55rem; margin: .75rem auto 0; text-align: left; max-width: 100%; }
.sign-by img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid #fff; box-shadow: var(--shadow-sm); }
.sign-by .sign-by-label { color: var(--ink-soft); font-weight: 600; font-size: inherit; }
.sign-card.featured .sign-by img { width: 54px; height: 54px; }
.sign-by span { display: grid; line-height: 1.2; min-width: 0; }
.sign-by b { font-size: .92rem; color: var(--ink); font-weight: 800; }
.sign-by small { font-size: .74rem; color: var(--coral-text); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sign-by:not(:has(img)) { padding-left: .75rem; }
.sign-downloads { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.6rem; }
.sign-downloads svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Makaton: the short mention on the home page (the full set is on its own page) */
.teaser-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 2.5rem; align-items: center; }
.teaser-copy h2 { margin-bottom: .6rem; }
.teaser-copy p { color: var(--ink-soft); }
.teaser-signs { grid-template-columns: repeat(2, 1fr); }
.teaser-signs .sign-card.featured { grid-column: auto; grid-row: auto; }
.teaser-signs .sign-card.featured .sign-word { font-size: 1.35rem; }
/* only one or two signs so far: show them big, centred, rather than small in a wide empty grid */
.sign-grid.few-1 { grid-template-columns: minmax(0, 440px); justify-content: center; }
.sign-grid.few-2 { grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; }
.sign-grid.few-1 .sign-word, .sign-grid.few-2 .sign-word { font-size: 1.7rem; top: .8rem; left: .8rem; }
.sign-grid.few-1 .sign-word small, .sign-grid.few-2 .sign-word small { font-size: .7rem; }
.sign-grid.few-1 .sign-sound, .sign-grid.few-2 .sign-sound { height: 46px; font-size: .95rem; }
@media (max-width: 560px) { .sign-grid.few-1 { grid-template-columns: minmax(0, 340px); } .sign-grid.few-2 .sign-word { font-size: 1.25rem; } }

/* Slim Makaton banner: one calm line (text, small round sign pictures, a link) between the nursery's sections */
.signs-mini { background: var(--sec, var(--sky-soft)); padding: 1.1rem 0; position: relative; }
main > .signs-mini:last-child { padding-bottom: calc(1.6rem + 34px); } /* the footer's wavy top (34px) overlaps the strip above it */
.mini-inner { display: flex; align-items: center; gap: .8rem 1.6rem; flex-wrap: wrap; }
.mini-text { margin: 0; display: grid; line-height: 1.25; flex: 0 1 15rem; }
.mini-text b { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--navy); }
.mini-kicker { font-family: var(--font-hand); color: var(--coral-text); font-size: 1.05rem; }
.mini-text small { color: var(--ink-soft); font-size: .8rem; }
/* room around each circle for its hover zoom and yellow ring (the row scrolls sideways, which would otherwise clip them) */
.mini-signs { list-style: none; margin: -.75rem -.6rem; padding: .75rem .6rem; display: flex; gap: .9rem; overflow-x: auto; flex: 1 1 0; min-width: 0; scrollbar-width: none; }
.mini-sign { border: 0; background: none; padding: 0; display: grid; justify-items: center; gap: .3rem; cursor: pointer; font: inherit; }
.mini-thumb { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 3px #fff, var(--shadow-sm); transition: transform .25s var(--bounce), box-shadow .25s; }
.mini-thumb img, .mini-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.mini-sign:hover .mini-thumb, .mini-sign:focus-visible .mini-thumb { transform: scale(1.08); box-shadow: 0 0 0 3px var(--honey), var(--shadow-sm); }
.mini-sign:focus-visible { outline: none; } .mini-sign:focus-visible .mini-thumb { box-shadow: 0 0 0 3px #245E8C, var(--shadow-sm); }
.mini-word { font-weight: 700; font-size: .82rem; color: var(--ink); }
.mini-link { flex: none; display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; color: var(--navy); text-decoration: none; white-space: nowrap; }
.mini-link:hover { text-decoration: underline; }
.mini-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px) { .mini-text { flex-basis: 100%; } .mini-signs { flex-basis: 100%; } }
/* the pop-up player */
.sign-dialog { border: 0; padding: 0; background: transparent; width: min(420px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); overflow: visible; }
.sign-dialog::backdrop { background: rgba(43,53,80,.55); backdrop-filter: blur(3px); }
.sign-dialog-inner { position: relative; background: var(--sky-soft); border-radius: var(--radius); padding: .7rem .7rem 1.1rem; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.sign-dialog .sign-media video, .sign-dialog .sign-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sign-dialog .sign-media video[hidden], .sign-dialog .sign-media img[hidden] { display: none; }
.sign-dialog-close { position: absolute; top: -.8rem; right: -.8rem; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow-sm); }
.sign-dialog .sign-by { display: block; margin: .8rem 0 0; text-align: center; font-weight: 700; color: var(--ink); font-size: .92rem; }
.sign-dialog .sign-tip { margin: .25rem .4rem 0; }
.sign-dialog [hidden] { display: none; }

/* Home page strip: a slim section with a row of small signs that scrolls sideways, so it doesn't break the page's flow */
.signs-strip { padding: clamp(2.6rem, 5vw, 3.8rem) 0; }
.strip-head { display: flex; align-items: flex-end; justify-content: space-between; gap: .6rem 1.5rem; flex-wrap: wrap; margin-bottom: 1.3rem; }
.strip-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0; }
.strip-head p { margin: .35rem 0 0; color: var(--ink-soft); max-width: 52ch; }
.strip-head .btn { flex: none; }
.strip-head .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-left: .2rem; }
.sign-strip { list-style: none; margin: 0; padding: .3rem .2rem 1rem; display: grid; grid-auto-flow: column; grid-auto-columns: clamp(150px, 21vw, 210px); gap: .9rem; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.sign-strip .sign-card { scroll-snap-align: start; padding: .45rem .45rem .75rem; }
.sign-card.small .sign-word { font-size: 1.05rem; top: .45rem; left: .45rem; padding: .22rem .6rem .28rem; border-radius: 11px; }
.sign-card.small .sign-word small { font-size: .56rem; }
.sign-card.small .sign-sound { width: 36px; height: 36px; padding: 0; justify-content: center; right: .4rem; bottom: .4rem; }
.sign-card.small .sign-sound span { display: none; }
.sign-card.small .sign-play svg { width: 42px; height: 42px; }
.sign-card.small .sign-by { margin-top: .55rem; gap: .4rem; }
.sign-card.small .sign-by img { width: 28px; height: 28px; }
.sign-card.small .sign-by b { font-size: .8rem; }
@media (min-width: 900px) {
  /* heading on the left, the signs beside it: about half the height */
  .signs-strip .container { display: grid; grid-template-columns: minmax(260px, 360px) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
  .strip-head { flex-direction: column; align-items: flex-start; margin: 0; }
}
@media (max-width: 560px) { .strip-head .btn { width: 100%; justify-content: center; } .strip-head p { display: none; } }
.signs-more { max-width: 760px; margin: 0 auto 2rem; text-align: center; }
@media (max-width: 860px) { .teaser-grid { grid-template-columns: 1fr; gap: 1.5rem; } .teaser-copy { text-align: center; } }

/* ---------- Room cards: a closer look on hover (or when tabbing in) ---------- */
.room-card { position: relative; }
.room-peek { display: grid; gap: .55rem; padding: 0 1.4rem 1.4rem; }
.peek-name { display: none; }
.room-peek .ticks { margin: 0; padding: 0; list-style: none; gap: .35rem; font-size: .92rem; }
.peek-ratio { display: flex; align-items: center; gap: .45rem; margin: 0; font-size: .88rem; font-weight: 700; color: var(--ink-soft); }
.peek-ratio svg { width: 20px; height: 20px; fill: none; stroke: var(--coral); stroke-width: 2; flex: none; }
.peek-team { display: flex; align-items: center; margin: 0; }
.peek-team img, .peek-team > span { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; margin-left: -8px; background: var(--c-soft); display: inline-grid; place-items: center; font-weight: 800; font-size: .85rem; }
.peek-team img:first-child, .peek-team > span:first-child { margin-left: 0; }
.peek-team small { margin-left: .5rem; font-size: .8rem; color: var(--ink-soft); line-height: 1.2; }
.peek-btn { justify-self: start; }
@media (hover: hover) and (min-width: 700px) {
  /* the card lifts and glows, and a panel rises over the photo with more detail */
  .room-card.has-peek .room-peek { position: absolute; left: .6rem; right: .6rem; bottom: .6rem; max-height: calc(100% - 1.2rem); z-index: 2; padding: 1rem 1.1rem; gap: .45rem; border-radius: 22px; background: #fff; box-shadow: 0 -10px 30px -12px rgba(43,53,80,.25); align-content: start;
    opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s var(--ease), transform .45s var(--bounce); border-top: 5px solid var(--c, var(--honey)); overflow: auto; }
  .room-card.has-peek:hover, .room-card.has-peek:focus-within { transform: translateY(-8px) scale(1.02); box-shadow: 0 0 0 4px var(--honey), var(--shadow-lg); z-index: 3; }
  .room-card.has-peek:hover .room-peek, .room-card.has-peek:focus-within .room-peek { opacity: 1; transform: none; pointer-events: auto; }
  .room-card.has-peek .peek-name { display: block; margin: 0; font-family: var(--font-head); font-weight: 600; font-size: 1.4rem; color: var(--ink); line-height: 1.15; }
  .peek-name small { display: block; font-family: var(--font-body); font-size: .8rem; font-weight: 700; color: var(--coral-text); margin-top: .1rem; }
}
.c-coral { --c: var(--coral); } .c-honey { --c: var(--honey); } .c-meadow { --c: var(--meadow); } .c-sky { --c: var(--sky); }
/* room enough around the cards for the hover lift, zoom and ring, so nothing gets clipped at the top or sides */
.carousel { padding: 28px 10px 18px; margin: -28px -10px 0; }
/* on a desktop, four or five rooms all fit across the page; more than that and it becomes a carousel */
@media (min-width: 1101px) {
  .carousel.fit { grid-auto-columns: calc((100% - (var(--n) - 1) * var(--gap)) / var(--n)); cursor: auto; }
  /* narrower cards: the hover panel keeps to the card's width */
  .carousel.fit .room-card.has-peek .room-peek { overflow-x: hidden; padding: .85rem .85rem .9rem; gap: .4rem; }
  .carousel.fit .room-peek .peek-name { font-size: 1.2rem; }
  .carousel.fit .room-peek .ticks { font-size: .8rem; gap: .2rem; }
  .carousel.fit .room-peek .ticks li { line-height: 1.3; }
  .carousel.fit .peek-ratio { font-size: .78rem; align-items: flex-start; }
  .carousel.fit .peek-team img, .carousel.fit .peek-team > span { width: 30px; height: 30px; }
  .carousel.fit .peek-team small { font-size: .72rem; }
  .carousel.fit .room-card.has-peek .peek-btn { padding: .5rem .8rem; font-size: .84rem; white-space: normal; text-align: center; }
}

/* ---------- A room's own page, part by part ---------- */
.room-chips { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.room-chips li { background: #fff; border-radius: 999px; padding: .3rem .85rem; font-weight: 700; font-size: .88rem; box-shadow: var(--shadow-sm); }
.room-head-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; margin-top: 1.4rem; }
.room-part { --sec: var(--paper); padding-block: clamp(2rem, 4.5vw, 3.2rem); } /* parts alternate white and cream */
.room-part.alt { --sec: var(--cream); }
.room-part .page-sub { margin-top: 0; }
.part-lead { max-width: 46rem; color: var(--ink-soft); font-size: 1.04rem; }
.part-lead + .routine, .part-lead + .staff-grid, .part-lead + .room-photos, .part-lead + .video-grid { margin-top: 1.2rem; }
.part-cards { margin-top: .4rem; }
.part-cards .info-card { background: #fff; box-shadow: var(--shadow-sm); }
.room-part:not(.alt) .part-cards .info-card { background: var(--cream); box-shadow: none; }
.room-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: .7rem; margin: 1.6rem 0 0; }
.room-facts div { background: var(--sky-soft); border-radius: 18px; padding: .9rem 1.1rem; }
.room-facts dt { font-weight: 800; font-size: .82rem; color: #245E8C; text-transform: uppercase; letter-spacing: .03em; }
.room-facts dd { margin: .2rem 0 0; font-weight: 600; }
.week-lunch { margin-top: 1.4rem; background: var(--honey-soft); border-radius: var(--radius); padding: 1.3rem 1.5rem; max-width: 760px; }
.week-lunch h3 { font-size: 1.25rem; margin-bottom: .6rem; }
.week-lunch ul { list-style: none; padding: 0; margin: 0 0 .8rem; display: grid; gap: .45rem; }
.week-lunch li { display: grid; grid-template-columns: 3.2rem 1fr; gap: .6rem; align-items: baseline; }
.week-lunch li b { font-family: var(--font-head); font-weight: 600; color: var(--coral-text); }
.week-lunch li small { display: block; color: var(--ink-soft); font-size: .8rem; }
.week-lunch li.today { background: #fff; border-radius: 12px; padding: .35rem .5rem; margin: 0 -.5rem; }
.room-notes { margin-top: 1rem; }
.room-cta { text-align: center; max-width: 720px; margin: 0 auto; }
.room-cta .part-lead { margin-inline: auto; }
.room-cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 1.2rem; }
@media (hover: hover) and (min-width: 700px) { .room-card.has-peek .room-peek .ticks { font-size: .86rem; gap: .25rem; } .room-card.has-peek .room-peek .ticks li { line-height: 1.35; } .room-card.has-peek .peek-btn { padding: .6rem 1.1rem; font-size: .92rem; } }

/* ---------- Room colours: two more to choose from, and each room's colour on its staff ---------- */
.c-lilac { --c-soft: #F0EAFB; --c: #9B7FD4; } .c-teal { --c-soft: #DFF3F0; --c: #3BA99C; }
.p-lilac { --c: #7A5CC0; --c-soft: #F0EAFB; } .p-teal { --c: #2A8C80; --c-soft: #DFF3F0; }
.staff.in-room { background: color-mix(in srgb, var(--c-soft) 45%, #fff); } /* a light wash of the room's colour */
.staff.in-room .room-tag { background: var(--c-soft); color: var(--ink); font-family: var(--font-head); font-weight: 600; } /* the same bubble as the ages on the room cards */
.staff.in-room.is-star { background: var(--honey-soft); box-shadow: 0 0 0 4px var(--honey), var(--shadow); }
.team-filter .room-dot { display: inline-block; width: .7rem; height: .7rem; border-radius: 50%; background: var(--c); margin-right: .45rem; vertical-align: .05rem; }
.team-filter button[class*="c-"][aria-selected="true"] { background: var(--c-soft); border-color: var(--c); }

/* "Read more reviews" and "Leave us a review": two separate cards, so they don't look like one link pointing at the other */
.parents-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 300px)); justify-content: center; gap: 1rem; margin-top: 2.2rem; }
.pl-card { display: flex; align-items: center; gap: .8rem; padding: .9rem 1.1rem; border-radius: 22px; background: #fff; box-shadow: var(--shadow-sm); text-decoration: none; color: var(--ink); transition: transform .35s var(--bounce), box-shadow .3s; }
.pl-card:hover, .pl-card:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow); }
.pl-card span:last-child { display: grid; gap: .1rem; }
.pl-card b { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; line-height: 1.2; }
.pl-card small { color: var(--ink-soft); font-size: .82rem; }
.pl-ico { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-soft); }
.pl-ico svg { width: 22px; height: 22px; fill: none; stroke: #3E8BC7; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pl-write .pl-ico { background: var(--honey); }
.pl-write .pl-ico svg { stroke: var(--ink); fill: #fff; }
.preview-empty { margin-block: 1.5rem; padding: 1rem 1.3rem; border: 2px dashed var(--coral); border-radius: 18px; background: var(--coral-soft); color: var(--ink); font-size: .95rem; } .preview-empty i { color: var(--ink-soft); }
.fee-label { margin: .5rem 0 0; font-size: .78rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--coral-text); } .meals-note { margin: .2rem 0 .8rem; font-size: .9rem; color: var(--ink-soft); }
.main-nav .sub .sub-head { padding: .55rem .9rem .15rem; font-size: .72rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--coral-text); } .main-nav .sub .sub-head:first-child { padding-top: .2rem; } .main-nav .sub.grouped a { padding: .45rem .9rem; } .main-nav .sub.grouped { max-height: calc(100vh - 7rem); overflow-y: auto; } @media (max-width: 1100px) { .main-nav .sub .sub-head { padding-top: .9rem; font-size: .8rem; } }

/* ---------- Menus: dated weeks, menus for particular dates and one-day changes ---------- */
.week-tabs button small { display: block; font-family: var(--font-body); font-size: .74rem; font-weight: 700; color: var(--ink-soft); }
.week-tabs button[aria-selected="true"] small { color: var(--ink); }
.menu-news { background: var(--honey-soft); border-radius: var(--radius); padding: 1rem 1.4rem; margin-bottom: 1.6rem; }
.menu-news h2 { font-size: 1.2rem; margin: 0 0 .4rem; }
.menu-news ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .25rem; }
.menu-day.is-today { box-shadow: 0 0 0 4px var(--honey); }
.menu-today { display: inline-block; vertical-align: middle; margin-left: .3rem; background: var(--honey); border-radius: 999px; padding: .1rem .6rem; font-family: var(--font-body); font-size: .72rem; font-weight: 800; }
.meal-change { display: inline-block; margin-bottom: .2rem; background: var(--coral-soft); color: #A2391B; border-radius: 999px; padding: .1rem .6rem; font-size: .75rem; font-weight: 800; }
.meal-off .meal-name { font-style: italic; color: var(--ink-soft); }

/* Fee calculator: steps, funding and the working-out */
.calc-step { border: 0; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .55rem; }
.calc-step legend, .calc-q { display: flex; align-items: center; gap: .5rem; font-weight: 800; margin-bottom: .5rem; }
.calc-step legend span, .calc-q > span { width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--honey); display: inline-grid; place-items: center; font-size: .85rem; }
.calc-step .q-choices { display: flex; flex-wrap: wrap; gap: .4rem; }
.calc-step[hidden], .calc-support[hidden], .reg-tick[hidden], .calc-detail[hidden] { display: none; }
.calc-table { width: 100%; border-collapse: collapse; margin-top: .6rem; font-size: .92rem; }
.calc-table td { padding: .3rem 0; border-bottom: 1px dashed #EADBC3; }
.calc-table td:last-child { text-align: right; white-space: nowrap; font-weight: 700; }
.calc-table tr.total td { border-bottom: 0; font-weight: 800; padding-top: .5rem; }
.calc-cta { margin: 1rem 0 .4rem; }
.calc-cta .btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; margin-right: .4rem; vertical-align: -4px; }
.calc-page .fee-calc { margin-top: 0; }
/* Family days out */
.outing-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 0 auto 1.6rem; }
.outing-jump a { padding: .45rem 1.1rem; border-radius: 999px; background: var(--cream); border: 2px solid var(--line); color: var(--ink); font-weight: 800; text-decoration: none; }
.outing-jump a:hover { border-color: var(--honey); }
.outings { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin-bottom: 2.4rem; }
.outing { display: flex; flex-direction: column; background: var(--cream); border-radius: var(--radius-sm); overflow: hidden; scroll-margin-top: calc(var(--header-h) + 1rem); }
.outing-pic { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.outing-pic img, .outing-art { width: 100%; height: 100%; object-fit: cover; display: block; }
/* photos that aren't ours carry a small credit, as their licence asks */
.outing-credit { position: absolute; right: .4rem; bottom: .4rem; max-width: calc(100% - .8rem); padding: .1rem .45rem; border-radius: 6px; background: rgba(43, 53, 80, .75); color: #fff; font-size: .62rem; line-height: 1.35; text-decoration: none; text-align: right; opacity: .85; }
a.outing-credit:hover { opacity: 1; text-decoration: underline; }
.outing > div:not(.outing-pic) { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; padding: 1.1rem 1.2rem 1.2rem; flex: 1; }
.outing > div > .link-arrow { margin-top: auto; } /* the website link sits at the bottom of every card */
.outing > div:not(.outing-pic) > p:nth-last-child(2) { margin-bottom: .5rem; }
.outing h3 { font-size: 1.2rem; margin: 0; }
.outing p { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.outing .outing-where { display: flex; align-items: center; gap: .3rem; font-size: .8rem; font-weight: 800; color: var(--coral-text); text-transform: none; }
.outing-where svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.2; flex: none; }
.outing .outing-tip { justify-self: start; padding: .15rem .65rem; border-radius: 999px; background: #fff; font-size: .8rem; font-weight: 700; color: var(--ink); }
.outing .link-arrow { font-size: .92rem; }
[id="free"], [id="places"] { scroll-margin-top: calc(var(--header-h) + 1rem); }
.outing-note { display: grid; gap: .3rem; max-width: 820px; margin: 0 auto 1.4rem; padding: 1.1rem 1.4rem; border-radius: var(--radius-sm); background: var(--sky-soft); font-size: .93rem; color: var(--ink-soft); }
.outing-note b { color: var(--ink); } .outing-note p { margin: 0; }
.outing-checked { font-size: .84rem; color: var(--muted); }
.outing-suggest { text-align: center; color: var(--ink-soft); }
.missing-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 1.6rem; }
.missing-pages { list-style: none; padding: 0; margin: 0 0 1.6rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.missing-pages a { display: inline-block; padding: .45rem 1rem; border-radius: 999px; background: var(--cream); border: 2px solid var(--line); color: var(--ink); font-weight: 700; text-decoration: none; }
.missing-pages a:hover { border-color: var(--honey); }
.calc-more { margin-top: 1.6rem; color: var(--ink-soft); }

/* ---------- Meet the team: a short glimpse on the home page ---------- */
.team-glimpse .section-head { margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.glimpse-label { font-family: var(--font-hand); font-size: 1.35rem; color: var(--coral-text); text-align: center; margin: 0 0 1rem; }
.glimpse-leaders { margin-bottom: clamp(2rem, 4vw, 3rem); }
.faces { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }
.faces-lead { gap: clamp(1.4rem, 4vw, 3rem); }
.face { position: relative; }
.face:hover, .face:focus-within { z-index: 30; }
.face-link { display: grid; justify-items: center; color: inherit; text-decoration: none; outline: none; border-radius: 18px; }
.face-img { display: block; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--c, var(--honey)), var(--shadow-sm); transition: transform .35s var(--bounce), box-shadow .3s; }
.face-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.face-lead .face-img { width: clamp(104px, 14vw, 132px); height: clamp(104px, 14vw, 132px); box-shadow: 0 0 0 4px #fff, 0 0 0 8px var(--honey), var(--shadow-sm); }
.face-name { display: grid; gap: .1rem; margin-top: .9rem; text-align: center; line-height: 1.2; }
.face-name b { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--navy); }
.face-name small { font-size: .85rem; font-weight: 700; color: var(--coral-text); }
.face.is-star .face-img { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--honey), 0 0 22px rgba(246, 185, 59, .8); }
/* hovering a face: a rounded card grows out of the photo, with the photo at its top sitting where the face was.
   --img is the face's size; the card's photo is centred on the face, and --shift/--vshift (main.js) keep it on screen */
.face { --img: 64px; --ph: 168px; }
.face-lead { --img: clamp(104px, 14vw, 132px); }
.face-card { position: absolute; left: 50%; top: calc(var(--img) / 2 - var(--ph) / 2 - 8px); z-index: 2; width: 236px; padding: 8px 8px 0; background: #fff; border-radius: 24px; box-shadow: 0 22px 50px -10px rgba(43, 53, 80, .35), 0 0 0 1px rgba(43, 53, 80, .04); text-align: left; display: grid;
  opacity: 0; pointer-events: none; transform-origin: calc(50% - var(--shift, 0px)) calc(var(--ph) / 2 + 8px - var(--vshift, 0px));
  transform: translate(calc(-50% + var(--shift, 0px)), var(--vshift, 0px)) scale(calc(var(--img) / var(--ph))); transition: opacity .18s, transform .38s var(--bounce); }
.fc-photo { display: block; height: var(--ph); border-radius: 50%; overflow: hidden; background: var(--c-soft, var(--honey-soft)); transition: border-radius .38s var(--ease); }
.fc-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fc-body { display: grid; gap: .2rem; padding: .7rem .6rem .9rem; }
.face-card b { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; line-height: 1.15; color: var(--navy); }
.face-card small { font-size: .78rem; font-weight: 800; color: var(--coral-text); }
.face-card .fc-bio { font-size: .84rem; color: var(--ink-soft); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.face-card .face-more { font-style: normal; justify-self: start; margin-top: .45rem; padding: .35rem .8rem; border-radius: 999px; background: var(--honey); color: var(--ink); font-size: .8rem; font-weight: 800; transition: background-color .2s; }
.face-card:hover .face-more { background: var(--navy); color: #fff; }
.glimpse-hint { text-align: center; margin: -.6rem 0 1.1rem; font-size: .88rem; font-weight: 700; color: var(--ink-soft); }
@media (hover: hover) {
  .face-link:hover .face-card, .face-link:focus-visible .face-card { opacity: 1; transform: translate(calc(-50% + var(--shift, 0px)), var(--vshift, 0px)); pointer-events: auto; cursor: pointer; }
  .face-link:hover .fc-photo, .face-link:focus-visible .fc-photo { border-radius: 18px; }
}
.face-link:focus-visible .face-img { box-shadow: 0 0 0 3px #fff, 0 0 0 6px #245E8C, var(--shadow-sm); }
@media (hover: none) { .face-card { display: none; } }
@media (max-width: 560px) {
  /* the three leaders side by side on a phone */
  .faces-lead { gap: .6rem; flex-wrap: nowrap; }
  .face-lead { flex: 1 1 0; min-width: 0; max-width: 118px; }
  .face-lead .face-img { width: 84px; height: 84px; } .face-lead { --img: 84px; }
  .face-name b { font-size: .95rem; } .face-name small { font-size: .72rem; }
  .faces, .room-cluster .faces { gap: .8rem; }
  .room-cluster { padding: .8rem .9rem 1rem; width: 100%; }
  .face-img { width: 56px; height: 56px; } .face { --img: 56px; }
}
.room-clusters { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
/* each room's team in its own soft panel, in the room's colour */
.room-cluster { display: grid; justify-items: center; align-content: start; gap: .85rem; padding: .9rem 1.2rem 1.15rem; background: var(--c-soft); border-radius: 24px; }
.room-cluster .faces { gap: 1rem; }
.cluster-name { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; font-size: .88rem; color: var(--ink); background: #fff; padding: .25rem .75rem; border-radius: 999px; box-shadow: var(--shadow-sm); }
.room-dot { display: inline-block; width: .7rem; height: .7rem; border-radius: 50%; background: var(--c, var(--honey)); flex: none; }
.glimpse-cta { text-align: center; margin: clamp(2rem, 4vw, 2.8rem) 0 0; }
.glimpse-cta .btn svg, .team-cta .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-left: .3rem; }

/* ---------- The Our team page ---------- */
.team-page { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.team-jump { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem; width: fit-content; max-width: 100%; margin: 0 auto 2.4rem; padding: .35rem; background: #fff; border-radius: 999px; box-shadow: var(--shadow-sm); }
/* the same links as a bar joined to the top bar: same background, slides out from underneath it */
.team-jump-bar { position: fixed; left: 0; right: 0; top: 70px; z-index: 90; display: flex; justify-content: center; gap: .3rem; padding: .4rem 1rem .5rem; background: rgba(255, 249, 240, .94); backdrop-filter: saturate(1.3) blur(12px); -webkit-backdrop-filter: saturate(1.3) blur(12px); box-shadow: 0 1px 0 var(--line), 0 10px 20px rgba(43, 53, 80, .06); overflow-x: auto; scrollbar-width: none; transform: translateY(-100%); opacity: 0; visibility: hidden; transition: transform .4s var(--ease), opacity .3s, visibility 0s .4s; }
.team-jump-bar::-webkit-scrollbar { display: none; }
.team-jump-bar.show { transform: none; opacity: 1; visibility: visible; transition: transform .4s var(--ease), opacity .3s, visibility 0s; }
.team-jump-bar a { flex: none; display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .85rem; border-radius: 999px; font-weight: 800; font-size: .86rem; color: var(--ink); text-decoration: none; transition: background-color .25s; }
.team-jump-bar a:hover, .team-jump-bar a.on { background: var(--c-soft, var(--honey-soft)); }
.team-jump-bar a.on { box-shadow: inset 0 0 0 2px var(--c, var(--honey)); }
@media (max-width: 860px) { .team-jump-bar { justify-content: flex-start; } }
@media (prefers-reduced-motion: reduce) { .team-jump-bar, .team-jump-bar.show { transition: none; } }
.team-jump a { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .9rem; border-radius: 999px; font-weight: 800; font-size: .88rem; color: var(--ink); text-decoration: none; transition: background-color .2s; }
.team-jump a:hover, .team-jump a:focus-visible { background: var(--c-soft, var(--honey-soft)); }
.key-person { display: flex; gap: 1.2rem; align-items: flex-start; max-width: 860px; margin: 0 auto clamp(2.4rem, 5vw, 3.4rem); padding: 1.5rem 1.7rem; background: var(--honey-soft); border-radius: var(--radius); }
.key-person h2 { font-size: clamp(1.25rem, 2.4vw, 1.55rem); margin: 0 0 .35rem; }
.key-person p { margin: 0 0 .5rem; color: var(--ink-soft); } .key-person p:last-child { margin-bottom: 0; }
.kp-ico { flex: none; width: 48px; height: 48px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.kp-ico svg, .profile-since svg { width: 22px; height: 22px; fill: var(--coral); }
.team-block { margin: 0 0 clamp(2.4rem, 5vw, 3.6rem); scroll-margin-top: calc(var(--header-h) + 5rem); }
.team-block-head { text-align: center; margin-bottom: 1.6rem; }
.team-block-head h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 .3rem; display: inline-flex; align-items: center; gap: .55rem; }
.team-block-head h2 .room-dot { width: 1rem; height: 1rem; }
.team-block-head p { margin: 0 auto .4rem; color: var(--ink-soft); max-width: 60ch; }
.team-room { background: var(--c-soft); border-radius: calc(var(--radius) + 8px); padding: clamp(1.4rem, 3vw, 2.4rem); }
.profiles-lead { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1.6rem; }
/* room teams: cards share the row evenly and sit centred, however many people are in the room */
.profiles { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.2rem; }
.profiles > .profile { flex: 1 1 230px; max-width: 290px; }
.profile { position: relative; display: grid; align-content: start; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); scroll-margin-top: calc(var(--header-h) + 5.5rem); transition: transform .35s var(--bounce), box-shadow .3s; }
.profile:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(43, 53, 80, .12); }
.profile-photo { position: relative; }
.profile-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.profile-body { padding: 1.1rem 1.25rem 1.35rem; }
.profile-body h3 { font-size: 1.3rem; margin: 0; }
.profile-role { margin: .1rem 0 .5rem; font-weight: 800; font-size: .9rem; color: var(--coral-text); }
.profile-since { display: flex; align-items: center; gap: .35rem; margin: .2rem 0 .6rem; font-size: .85rem; font-weight: 700; color: var(--ink-soft); }
.profile-since svg { width: 16px; height: 16px; }
.profile-bio { font-weight: 600; color: var(--ink); }
.profile-body p { margin: 0 0 .6rem; font-size: .95rem; color: var(--ink-soft); }
.profile-fav { background: var(--honey-soft); border-radius: 12px; padding: .55rem .75rem; font-size: .9rem !important; }
.profile-fav b { color: var(--ink); }
.profile-lead { box-shadow: 0 0 0 3px var(--honey-soft), var(--shadow-sm); }
.profile-lead .profile-body { padding: 1.3rem 1.5rem 1.5rem; }
.profile-lead h3 { font-size: clamp(1.4rem, 2.6vw, 1.7rem); }
/* arriving from a face on the home page: that person's profile glows */
.profile:target { box-shadow: 0 0 0 4px var(--honey), 0 14px 30px rgba(43, 53, 80, .14); animation: profile-glow 1.4s ease-out 2; }
@keyframes profile-glow { from { box-shadow: 0 0 0 4px var(--honey), 0 0 0 4px rgba(246, 185, 59, .7); } to { box-shadow: 0 0 0 4px var(--honey), 0 0 0 22px rgba(246, 185, 59, 0); } }
.team-cta { text-align: center; max-width: 640px; margin: clamp(2rem, 4vw, 3rem) auto 0; padding: clamp(1.6rem, 4vw, 2.4rem); background: var(--sky-soft); border-radius: var(--radius); }
.team-cta h2 { margin: 0 0 .4rem; } .team-cta p { color: var(--ink-soft); margin: 0 0 1.2rem; }
@media (max-width: 700px) {
  .key-person { flex-direction: column; gap: .8rem; padding: 1.2rem; }
}
@media (max-width: 560px) {
  .team-jump { border-radius: 22px; }
  /* room team cards: a smaller photo beside the words */
  .profiles { gap: .9rem; } .profiles > .profile { flex-basis: 100%; max-width: none; }
  .profiles .profile { grid-template-columns: 112px 1fr; }
  .profiles .profile-photo img { height: 100%; aspect-ratio: auto; min-height: 140px; }
  .profiles .profile-body { padding: .85rem 1rem 1rem; }
  .profiles .profile-body h3 { font-size: 1.12rem; }
  .profiles .profile-body p { font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) { .face-img, .face-card, .profile { transition: none; } .profile:target { animation: none; } }

/* team highlights (little badges) and the team photo */
.team-facts { list-style: none; margin: -.6rem auto clamp(1.6rem, 3vw, 2.2rem); padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; max-width: 900px; }
.team-facts li { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .9rem; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); font-weight: 800; font-size: .9rem; color: var(--navy); }
.team-facts li span { color: #8A5A0E; }
.team-page .team-facts { margin-top: 0; }
.team-photo { margin: 0 auto clamp(1.8rem, 4vw, 2.6rem); max-width: 1000px; }
.team-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-sm); display: block; }
.team-photo figcaption { text-align: center; margin-top: .6rem; font-family: var(--font-hand); font-size: 1.3rem; color: var(--coral-text); }
@media (max-width: 560px) { .team-photo img { aspect-ratio: 4 / 3; } .team-facts li { font-size: .82rem; } }

/* who to talk to: the safeguarding leads and the SENCo, under the leadership team */
.key-people { max-width: 860px; margin: clamp(1.6rem, 3vw, 2.2rem) auto 0; padding: 1rem 1.2rem 1.15rem; background: var(--meadow-soft); border-radius: 24px; text-align: center; }
.key-people-title { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 .8rem; font-weight: 800; font-size: .95rem; color: var(--ink); }
.key-people-title svg { width: 20px; height: 20px; fill: none; stroke: #2E6B31; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.key-people ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.kp-person { display: inline-flex; align-items: center; gap: .6rem; padding: .35rem .95rem .35rem .35rem; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); color: var(--ink); text-decoration: none; text-align: left; transition: transform .25s var(--bounce), box-shadow .25s; }
a.kp-person:hover, a.kp-person:focus-visible { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(43, 53, 80, .12); }
.kp-person img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; flex: none; }
.kp-person > span { display: grid; line-height: 1.2; }
.kp-person b { font-size: .95rem; }
.kp-person small { font-size: .78rem; font-weight: 700; color: #2E6B31; }
@media (max-width: 560px) { .key-people ul { display: grid; } .kp-person { width: 100%; } }

/* ---------- Phones: easier to read and to tap ---------- */
/* long card lists (indoor spaces, parents' reviews) become a swipe row with arrows and dots underneath (main.js adds the controls) */
.swipe-nav { display: none; }
.q-short { display: none; }
@media (max-width: 600px) {
  .swipe { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 4px; scrollbar-width: none; overscroll-behavior-x: contain; padding: 16px 4px 18px; margin: -16px -4px 0; }
  .swipe::-webkit-scrollbar { display: none; }
  .swipe > * { scroll-snap-align: start; }
  .notes.swipe { margin-bottom: 0; }
  .swipe-nav { display: flex; justify-content: center; align-items: center; gap: .9rem; margin: .3rem 0 1.6rem; }
  .swipe-nav .car-btn { width: 44px; height: 44px; }
  .swipe-nav .car-btn:disabled { visibility: hidden; }
  .swipe-nav .car-dots { margin: 0; }
  /* dots: each one a 24px tap target, the visible dot drawn inside it */
  .car-dots { gap: .15rem; }
  .car-dots button, .car-dots button[aria-current="true"] { width: 24px; height: 24px; background: none; display: grid; place-items: center; }
  .car-dots button[aria-current="true"] { width: 36px; }
  .car-dots button::after { content: ""; width: 12px; height: 12px; border-radius: 999px; background: #C5DCEF; transition: width .3s var(--ease), background-color .3s; }
  .car-dots button[aria-current="true"]::after { width: 30px; background: var(--sky); }

  /* doodles: smaller and tucked into the corners, clear of the headings (main.js hides any that still touch words) */
  .pd-heart { width: 36px; height: 36px; left: 3%; top: 1rem; }
  .pd-star { width: 28px; height: 28px; right: 4%; top: 1.3rem; }
  .od-sun { width: 50px; height: 50px; right: 3%; top: .8rem; }
  .rd-cloud { width: 70px; height: 42px; right: 3%; top: .6rem; }
  .vd-sun { width: 50px; height: 50px; left: auto; right: 4%; top: .8rem; }
  .hd-sun, .page-head .hd-sun { width: 40px; height: 40px; right: 2%; top: calc(var(--header-h) + .2rem); }

  /* nothing important below about 13px */
  .brand-text small { font-size: .8rem; }
  .hero-trust li { font-size: .9rem; }
  .age { font-size: .9rem; }
  .face-name small { font-size: .8rem; }
  .key-role { font-size: .82rem; }
  .kp-person small { font-size: .82rem; }
  .team-facts li { font-size: .88rem; }
  .calc-hint { font-size: .92rem; }
  .calc-note, .map-cover small { font-size: .88rem; }
  .form-privacy { font-size: .9rem; }
  .mini-text small, .mini-word { font-size: .9rem; }
  .footer-company { font-size: .85rem; }
  .week-tabs button small, .meal-kind, .meal-allergens .al { font-size: .82rem; }
  .date-kind, .date-next, .pill-voluntary { font-size: .82rem; }
  .sign-word small { font-size: .72rem; }
  .sign-by small { font-size: .82rem; }
  .outing .outing-where, .outing .outing-tip { font-size: .88rem; }
  .outing-credit { font-size: .72rem; padding: .3rem .55rem; }

  /* every link and button at least 44px tall to tap (links inside sentences excepted) */
  .link-arrow, .help-name { position: relative; }
  .link-arrow::before, .help-name::before { content: ""; position: absolute; inset: -8px -6px; }
  .footer-grid ul { gap: 0; }
  .footer-base ul { flex-wrap: wrap; gap: 0 1.5rem; }

  /* promise cards: icon beside the heading, text underneath, so each card is shorter */
  .promises { gap: .9rem; }
  .promise { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: .9rem; padding: 1.1rem 1.2rem 1.2rem; }
  .promise .p-icon { width: 48px; height: 48px; border-radius: 16px; margin: 0; }
  .promise .p-icon svg { width: 26px; height: 26px; }
  .promise h3 { margin: 0; font-size: 1.3rem; line-height: 1.2; }
  .promise p { grid-column: 1 / -1; margin-top: .7rem; }
  .promise:not(:has(.p-icon)) { display: block; }
  /* the same for the icon cards on room pages, menus and outdoor learning */
  .info-grid { gap: .9rem; }
  .info-card { padding: 1.1rem 1.2rem 1.2rem; }
  .info-card:has(> .info-ico) { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: .9rem; }
  .info-card > .info-ico { width: 48px; height: 48px; border-radius: 16px; margin: 0; }
  .info-card > .info-ico svg { width: 26px; height: 26px; }
  .info-card:has(> .info-ico) > h3 { margin: 0; font-size: 1.2rem; line-height: 1.2; }
  .info-card:has(> .info-ico) > :not(.info-ico, h3) { grid-column: 1 / -1; }
  .info-card:has(> .info-ico) > h3 + * { margin-top: .7rem; }
  .info-card > :last-child { margin-bottom: 0; }
  .site-footer li a { display: inline-flex; align-items: center; min-height: 44px; }
  .slide-nav button { width: 34px; height: 28px; }
  .date-cal { width: 44px; height: 44px; }
  .help-phone { padding: .6rem 1rem; }
  .reg-steps a { padding: .6rem .95rem; font-size: .9rem; }
  .team-filter button, .team-jump a { padding: .65rem 1.1rem; }
  .quals summary { padding: .6rem 0; }
  .reg-sig-clear { padding: .6rem 1rem; }
  .calc-why summary { padding: .6rem 0; }
  .reg-tick input { width: 26px; height: 26px; margin-top: 0; }

  /* tick-box tables (e.g. sessions on the registration form) fit the screen: short day names, wrapped row names */
  .q-grid { min-width: 0; width: 100%; }
  .q-grid th, .q-grid td { padding: .35rem .15rem; font-size: .85rem; }
  .q-grid tbody th { white-space: normal; padding-left: .5rem; line-height: 1.25; }
  .q-grid label { min-height: 44px; }
  .q-short { display: inline; }
  .q-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* not enough room above a face (e.g. just under the top bar): its card shows below it instead (main.js) */
/* ---------- Room leaders and the staff spotlight ---------- */
/* room leaders: a gold border round their card and a "Room leader" pill sitting well inside their photo */
.lead-tag { display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .8rem .3rem .6rem; border-radius: 999px; background: var(--honey); color: var(--ink); font-family: var(--font-body); font-weight: 800; font-size: .8rem; line-height: 1.3; white-space: nowrap; box-shadow: 0 2px 8px rgba(43, 53, 80, .18); }
.lead-tag svg { width: 14px; height: 14px; fill: currentColor; flex: none; }
.profile.is-room-lead, .staff.is-room-lead { position: relative; box-shadow: 0 0 0 3px var(--honey-soft), 0 0 0 5px var(--honey), var(--shadow-sm); }
.profile.is-room-lead .lead-tag { position: absolute; top: 1.2rem; left: 1.2rem; z-index: 2; }
.staff.is-room-lead .lead-tag { position: absolute; top: 1.3rem; left: 1.3rem; z-index: 2; }
.profiles-room-leads + .profiles { margin-top: 1.2rem; }
.profile .star-ribbon { top: 1.2rem; left: 1.2rem; }
/* the spotlight always looks the same: navy with a gold star (card ribbon, home page badge, the feature card) */
.star-ribbon { background: var(--navy); color: #fff; }
.star-ribbon > span { color: var(--honey); }
.profile.is-star, .staff.in-room.is-star { background: #fff; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--navy), var(--shadow-sm); }
.star-tag { display: none; }
@media (max-width: 560px) {
  /* the photo beside the words is too small for the ribbon: a label above their name instead (like Room leader) */
  .profiles .profile .star-ribbon { display: none; }
  .profiles .star-tag { display: inline-flex; align-items: center; gap: .3rem; margin: 0 .3rem .4rem 0; padding: .2rem .6rem .2rem .45rem; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 800; font-size: .74rem; line-height: 1.3; }
  .profiles .star-tag span { color: var(--honey); }
}
.is-room-lead .star-ribbon { top: auto; bottom: 1.2rem; } /* a room leader in the spotlight: both, one above the other */
.peek-team .lead { box-shadow: 0 0 0 3px var(--honey); }
@media (max-width: 560px) {
  /* the small photo beside the words: the pill goes under their name instead, where there's room */
  .profiles .profile.is-room-lead .lead-tag { position: static; margin: 0 0 .4rem; font-size: .74rem; padding: .2rem .6rem .2rem .45rem; box-shadow: none; }
}

/* home page faces: a gold ring and an "RL" badge for room leaders, a navy star badge for the spotlight, and a key */
.face-link { position: relative; }
.face.is-star { background: none; box-shadow: none; } /* the card-style highlight (.is-star) is for cards, not round faces */
.face.is-room-lead .face-img { box-shadow: 0 0 0 3px #fff, 0 0 0 7px var(--honey), var(--shadow-sm); }
.face-badge { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 .3rem; border-radius: 999px; font-family: var(--font-body); font-weight: 800; font-size: .72rem; line-height: 1; letter-spacing: .02em; }
.face > .face-link > .face-badge { position: absolute; top: -5px; z-index: 1; box-shadow: 0 0 0 2px #fff; }
.badge-rl { background: var(--honey); color: var(--ink); }
.face > .face-link > .badge-rl { right: -7px; }
.badge-star { background: var(--navy); color: var(--honey); font-size: .85rem; }
.face > .face-link > .badge-star { left: -7px; }
.face-key { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1.3rem; margin: -.5rem 0 1.1rem; font-size: .9rem; font-weight: 700; color: var(--ink-soft); }
.face-key > span { display: inline-flex; align-items: center; gap: .45rem; }

/* the spotlight (e.g. Employee of the month): their photo, who they are and why */
.star-feature { display: grid; gap: 1rem; max-width: 760px; margin: clamp(1.6rem, 3vw, 2.2rem) auto clamp(1.8rem, 3vw, 2.4rem); }
.star-card { display: grid; grid-template-columns: 112px 1fr; gap: 1.2rem; align-items: center; padding: 1rem 1.4rem 1rem 1rem; background: #fff; border-radius: var(--radius); box-shadow: 0 0 0 3px var(--honey-soft), 0 0 0 5px var(--honey), var(--shadow-sm); color: inherit; text-decoration: none; text-align: left; transition: transform .3s var(--bounce); }
a.star-card:hover { transform: translateY(-3px); }
.star-photo { position: relative; width: 112px; height: 112px; }
.star-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--honey); }
.star-body { display: grid; gap: .2rem; justify-items: start; }
.star-pill { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .75rem; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 800; font-size: .8rem; margin-bottom: .2rem; }
.star-pill span { color: var(--honey); }
.star-body b { font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; color: var(--navy); line-height: 1.15; }
.star-body small { font-weight: 700; font-size: .88rem; color: var(--coral-text); }
.star-text { margin-top: .3rem; color: var(--ink); font-size: .95rem; }
.star-about { font-size: .85rem; color: var(--ink-soft); }
@media (max-width: 560px) {
  .star-card { grid-template-columns: 76px 1fr; gap: .9rem; padding: .9rem 1rem .9rem .9rem; }
  .star-photo { width: 76px; height: 76px; align-self: start; }
  .star-body b { font-size: 1.2rem; }
}

/* Editor's preview only: what happened when a form was tried */
.try-note { background: var(--coral-soft); color: var(--ink); border-radius: 12px; padding: .6rem .9rem; margin: 0 0 .8rem; font-size: .95rem; font-weight: 700; }

/* "Find by postcode" above address questions on the registration form */
.pc-find { margin: .2rem 0 .6rem; max-width: 20rem; }
.pc-find > label { display: block; font-size: .92rem; font-weight: 700; color: var(--ink); margin-bottom: .3rem; }
.pc-find > label span { font-weight: 400; color: var(--ink-soft); }
.q .pc-find .gp-box input { text-transform: uppercase; }
.q .pc-find .gp-box input::placeholder { text-transform: none; }
.pc-status { display: block; font-size: .88rem; color: var(--ink-soft); margin-top: .3rem; }
.pc-status:empty { display: none; }

/* Basic website mode: a friendly "more coming soon" line on the welcome banner */
.basic-soon { display: inline-flex; align-items: center; gap: .5rem; margin: 1rem 0 0; padding: .45rem .95rem; border-radius: 999px; background: #fff; border: 2px dashed #EADBC3; color: var(--ink-soft); font-weight: 700; font-size: .95rem; }

/* ---------- Christmas extras (each switched on in the Christmas theme) ---------- */
.xmas-lights { position: absolute; left: 0; right: 0; top: 100%; height: 30px; margin-top: -8px; pointer-events: none; }
.xmas-lights svg { width: 100%; height: 100%; display: block; overflow: visible; }
.xmas-lights .bulb { animation: twinkle 3.2s ease-in-out infinite; }
.xmas-lights .b1 { animation-delay: .8s; } .xmas-lights .b2 { animation-delay: 1.6s; } .xmas-lights .b3 { animation-delay: 2.4s; }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.xmas-count { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: 0 0 .9rem; padding: .35rem 1rem .35rem .4rem; background: #fff; border: 2px solid #F3D9C9; border-radius: 999px; font-weight: 800; color: var(--ink); box-shadow: 0 4px 12px rgba(0,0,0,.05); }
.xmas-count b { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 .4rem; border-radius: 999px; background: #D7263D; color: #fff; font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; }
.xmas-count a { color: #245E8C; font-weight: 800; }
.btn:has(> .xmas-hat) { position: relative; }
.xmas-hat { position: absolute; width: 44px; top: -22px; left: -14px; transform: rotate(-18deg); pointer-events: none; }
.xmas-hat svg { width: 100%; height: auto; display: block; }
.btn-lg .xmas-hat { width: 50px; top: -26px; left: -16px; }
.xmas-tree { position: absolute; z-index: 3; width: 92px; right: -24px; bottom: -14px; pointer-events: none; filter: drop-shadow(0 6px 8px rgba(0,0,0,.12)); }
.xmas-tree svg { width: 100%; height: auto; display: block; }
.xmas-drift { position: absolute; left: 0; right: 0; bottom: -2px; height: 44px; z-index: 2; pointer-events: none; }
.xmas-drift svg { width: 100%; height: 100%; display: block; }
/* Father Christmas flies across the welcome banner every half a minute or so (not for anyone who asks for less motion) */
.xmas-sleigh { position: absolute; z-index: 1; bottom: 54px; left: 0; width: 230px; pointer-events: none; transform: translateX(-260px); animation: sleigh-by 32s linear 4s infinite; filter: drop-shadow(0 4px 6px rgba(43,53,80,.15)); }
.xmas-sleigh svg { width: 100%; height: auto; display: block; }
@keyframes sleigh-by { 0% { transform: translate(100vw, 40px) rotate(-4deg); } 22% { transform: translate(-260px, -10px) rotate(-6deg); } 100% { transform: translate(-260px, -10px) rotate(-6deg); } }
@media (prefers-reduced-motion: reduce) { .xmas-sleigh { display: none; } .xmas-lights .bulb { animation: none; } }
@media (max-width: 600px) {
  .xmas-lights { height: 22px; margin-top: -6px; }
  .xmas-count { font-size: .92rem; }
  .xmas-sleigh { display: none; }
  .xmas-tree { width: 72px; right: -8px; bottom: -10px; }
  .xmas-hat { width: 38px; top: -19px; left: -11px; }
}

/* ---------- Where's Santa? (santa.js draws the map) ---------- */
.santa-chip { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 .9rem; padding: .35rem 1rem .35rem .4rem; background: #fff; border: 2px solid #F3D9C9; border-radius: 999px; color: var(--ink-soft); text-decoration: none; font-size: .95rem; box-shadow: 0 4px 12px rgba(0,0,0,.05); transition: transform .2s var(--ease); }
.santa-chip:hover { transform: translateY(-2px); }
.santa-chip b { color: var(--ink); font-family: var(--font-head); font-weight: 600; margin-right: .2rem; }
.santa-chip-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #FDECEC; flex: none; }
.santa-chip-ico svg { width: 30px; height: 30px; }
.santa-page .container { max-width: 1100px; }
.santa-try { margin: 0 0 1rem; padding: .6rem .9rem; border-radius: 14px; background: var(--sky-soft); font-size: .92rem; }
.santa-try select { max-width: 100%; margin-left: .4rem; font: inherit; padding: .3rem .5rem; border-radius: 10px; border: 2px solid var(--line); background: #fff; }
.santa-card { position: relative; border-radius: 28px; background: linear-gradient(180deg, #1E2A4A 0%, #26365E 70%, #2E4170 100%); padding: 18px; box-shadow: 0 18px 40px rgba(30,42,74,.25); overflow: hidden; }
.santa-map { width: 100%; height: auto; display: block; aspect-ratio: 1000 / 420; }
.santa-map path, .santa-map circle, .santa-map rect { vector-effect: non-scaling-stroke; }
.santa-home-label { font-family: var(--font-body); font-weight: 800; font-size: 13px; fill: #fff; stroke: #1E2A4A; stroke-width: 3px; paint-order: stroke; }
.santa-sleigh { will-change: transform; }
.santa-live-tag { position: absolute; left: 22px; top: 20px; display: inline-flex; align-items: center; gap: .45rem; background: rgba(255,255,255,.14); color: #fff; font-weight: 800; font-size: .85rem; padding: .35rem .8rem; border-radius: 999px; }
.santa-live-tag i { width: 9px; height: 9px; border-radius: 50%; background: #6DD47E; box-shadow: 0 0 0 4px rgba(109,212,126,.25); }
#santa:has(.santa-live[hidden]) .santa-live-tag { display: none; }
.santa-where { position: absolute; right: 22px; top: 18px; max-width: calc(100% - 44px); background: #fff; border-radius: 18px; padding: .6rem .95rem; box-shadow: 0 8px 18px rgba(0,0,0,.18); }
.santa-where small { display: block; color: var(--muted); font-weight: 700; font-size: .8rem; }
.santa-where b { font-family: var(--font-head); font-weight: 600; font-size: 1.35rem; color: var(--ink); }
.santa-noscript { color: #fff; text-align: center; margin: 1rem 0 0; }
.santa-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.santa-stat { background: #fff; border: 2px solid var(--line); border-radius: 20px; padding: .9rem 1rem; }
.santa-stat[hidden] { display: none; }
.santa-stat small { display: block; color: var(--muted); font-weight: 700; font-size: .85rem; }
.santa-stat b { font-family: var(--font-head); font-weight: 600; font-size: 1.6rem; color: var(--ink); line-height: 1.15; font-variant-numeric: tabular-nums; }
.santa-stat.hot { background: #FFF1E6; border-color: #F5C9A8; }
.santa-before, .santa-live, .santa-done { margin-top: 16px; }
.santa-before[hidden], .santa-live[hidden], .santa-done[hidden], .santa-note[hidden] { display: none; }
.santa-before { background: #fff; border: 2px solid var(--line); border-radius: 22px; padding: 1.2rem 1.3rem; }
.santa-before h2 { font-size: 1.35rem; margin: 0 0 .5rem; }
.santa-before p { margin: .5rem 0 0; color: var(--ink-soft); }
.santa-count { display: flex; gap: 10px; }
.santa-count span { min-width: 4.2rem; background: var(--navy); color: #fff; border-radius: 14px; padding: .45rem .7rem; text-align: center; }
.santa-count b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.6rem; line-height: 1.1; }
.santa-count small { font-size: .78rem; font-weight: 700; opacity: .8; }
.santa-note { margin: 0 0 .7rem; background: #FFF8E6; border: 2px dashed #EADBC3; border-radius: 20px; padding: .9rem 1.2rem; color: var(--ink-soft); font-size: 1.02rem; }
.santa-note span { font-size: 1.4rem; margin-right: .3rem; vertical-align: -.15rem; }
.santa-due { background: #fff; border-style: solid; border-color: var(--line); }
.santa-small { margin: 1rem 0 0; font-size: .84rem; color: var(--muted); text-align: center; }
@media (max-width: 760px) {
  .santa-stats { grid-template-columns: 1fr 1fr; }
  .santa-card { padding: 48px 8px 70px; border-radius: 22px; }
  .santa-map { aspect-ratio: 300 / 220; }
  .santa-where { top: auto; bottom: 10px; right: 10px; left: 10px; max-width: none; text-align: center; }
  .santa-live-tag { left: 10px; top: 10px; }
  .santa-stat b { font-size: 1.3rem; }
  .santa-chip { font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) { .santa-chip { transition: none; } }
.hero:has(.xmas-sleigh) { overflow-x: clip; }
/* the sleigh flies behind the welcome words and photo */
.hero:has(.xmas-sleigh) .hero-grid { position: relative; z-index: 2; }
