/* Hallmark · shape: doorway, the nursery's classrooms drawn as a row of arched doors named after Abu Dhabi places · genre: playful · theme: Little Founders brand pack (pinned) · redesign: full · job: book · idea: "Every room is a place in Abu Dhabi, every day is in Arabic and English" · vibe: "warm, proud, bilingual, calm, rounded, local"
 * paper: #fbf7f2 · accent: #397676 · display: Baloo Bhaijaan 2 · body: Readex Pro · hero: split, words on one side and the row of doors on the other · nav: logo, six links, language switch, one pill action · footer: a Sadu strip, the tagline as a mast, then address, contact and page links · imagery: none (no child photos until written consent; arches, the Sadu strip and brand-colour fills carry the page) · signature: the doors, classrooms named after Abu Dhabi places in Arabic and English
 * axes: cream/rounded-sans/teal · surface: absolute (white cards, from the brand pack) · posture: restrained · motion: polish, one load reveal on the doors · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: E, every claim is the owner's, so sections lean on structure (arches, the age track, the price) rather than proof */
/* Hallmark · waive 65 · brand/tokens.json pins surface #fbf7f2 · cream is the brand pack's own page colour; display is a rounded sans and the accent teal, not clay */
/* Hallmark · waive 7b · brand/tokens.json pins surface-raised #ffffff and white on teal-deep · the brand pack defines white cards and white button labels (5.21:1) */
@import url("./tokens.css?v=c5f659e0");
@import url("./base.css?v=c5f659e0");

/* ---------- Base ---------- */
figure { margin: 0; }
body { font-size: 1.0625rem; line-height: 1.65; }
html[lang="ar"] body { line-height: 1.8; }
/* Brand rule: Arabic text is never smaller than 16px */
html[lang="ar"] { --text-xs: 1rem; --text-sm: 1rem; }
h1, h2, h3 { color: var(--color-ink); letter-spacing: var(--tracking-display); line-height: 1.15; font-weight: 600; text-wrap: balance; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.35; }
h1 { font-size: var(--text-display); font-weight: 600; }
h2 { font-size: var(--text-section); }
h3 { font-size: var(--text-title); font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }
a { color: var(--color-accent); }
a:hover { color: var(--color-accent-hover); }
.lead { font-size: var(--text-lead); color: var(--color-ink-2); max-width: 46ch; }
.muted { color: var(--color-muted); }
.small { font-size: var(--text-sm); }
.stack > * + * { margin-top: var(--space-md); }
.stack-lg > * + * { margin-top: var(--space-lg); }
section { padding-block: var(--section-gap-s); }
section.flush-top { padding-top: 0; }
.section-head { max-width: 40rem; margin-bottom: var(--space-xl); }
.section-head p { margin-top: var(--space-md); }
.more { margin-top: var(--space-xl); font-weight: 600; }
@media (min-width: 60.01rem) { .split > .section-head { position: sticky; top: 120px; } }

/* Placeholder for facts the owner has not confirmed yet */
.tbc { background: var(--color-terracotta-tint); color: var(--color-ink); border-bottom: 2px dashed var(--color-terracotta); padding: 0 0.3em; border-radius: 4px; font-style: normal; white-space: normal; }

/* ---------- Sadu strip: a woven band of triangles, decoration only ---------- */
.sadu { height: calc(var(--sadu-size) * 2); background:
  conic-gradient(from 135deg at 50% 0, var(--color-teal) 90deg, transparent 0) 0 0 / calc(var(--sadu-size) * 2) var(--sadu-size) repeat-x,
  conic-gradient(from -45deg at 50% 100%, var(--color-rose) 90deg, transparent 0) var(--sadu-size) 100% / calc(var(--sadu-size) * 2) var(--sadu-size) repeat-x,
  var(--color-terracotta-tint); }
.sadu-wide { margin-block: 0; }

/* ---------- Prototype notice ---------- */

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: var(--z-sticky-nav); background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule); }
.site-header .container { display: flex; align-items: center; gap: var(--space-lg); min-height: 76px; }
.brand { display: inline-flex; flex: none; border-radius: var(--radius-sm); }
.brand img { width: 74px; height: auto; }
.nav { display: flex; align-items: center; gap: var(--space-lg); margin-inline-start: auto; }
.nav ul { display: flex; gap: var(--space-lg); list-style: none; margin: 0; padding: 0; }
.nav ul a { position: relative; color: var(--color-ink); text-decoration: none; font-size: var(--text-sm); font-weight: 500; padding-block: var(--space-xs); }
.nav ul a::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: var(--origin, left); transition: transform var(--dur-short) var(--ease-out); }
html[dir="rtl"] .nav ul a::after { --origin: right; }
.nav ul a:hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); }
.nav ul a:hover { color: var(--color-ink); }
.lang { font-size: var(--text-sm); color: var(--color-ink); text-decoration: none; border: 1.5px solid var(--color-rule); border-radius: var(--radius-pill); padding: var(--space-2xs) var(--space-md); transition: border-color var(--dur-micro) var(--ease-out); }
.lang:hover { border-color: var(--color-ink); color: var(--color-ink); }
.menu { display: none; margin-inline-start: auto; }
.menu > summary { list-style: none; cursor: pointer; border: 1.5px solid var(--color-ink); border-radius: var(--radius-pill); padding: var(--space-xs) var(--space-md); font-size: var(--text-sm); font-weight: 600; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.menu[open] > summary { background: var(--color-ink); color: var(--color-paper); }
.menu[open] .menu-panel { display: block; }
.menu-panel { display: none; position: absolute; inset-inline: 0; top: 100%; background: var(--color-paper); border-bottom: var(--rule-hair) solid var(--color-rule); padding: var(--space-md) var(--gutter) var(--space-lg); }
.menu-panel ul { list-style: none; margin: 0; padding: 0; }
.menu-panel li a { display: block; padding: var(--space-sm) 0; color: var(--color-ink); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); border-bottom: var(--rule-hair) solid var(--color-rule); }
.menu-panel .lang { display: inline-block; margin-top: var(--space-md); }
@media (max-width: 68rem) { .nav { display: none; } .menu { display: block; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 52px; padding: var(--space-sm) var(--space-lg); border-radius: var(--radius-pill); font-weight: 600; font-size: var(--text-md); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color var(--dur-micro) var(--ease-out), border-color var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn-primary:hover { background: var(--color-accent-hover); color: var(--color-accent-ink); }
.btn-secondary { background: transparent; color: var(--color-ink); border-color: var(--color-ink); }
.btn-secondary:hover { background: var(--color-ink); color: var(--color-paper); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { opacity: 0.8; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); }
.btn-sm { min-height: 44px; padding: var(--space-xs) var(--space-lg); font-size: var(--text-sm); }

/* ---------- Hero ---------- */
.hero { padding-block: var(--space-xl) var(--section-gap-s); }
.hero .container { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: var(--space-xl) var(--gap-columns); align-items: center; }
.hero h1 { max-width: 16ch; }
.hero .lead { margin-top: var(--space-lg); }
.hero .actions { margin-top: var(--space-xl); }
.hero-sub .container:has(> :only-child) { grid-template-columns: minmax(0, 1fr); }
.hero-sub h1 { font-size: var(--text-display-s); max-width: 18ch; }
@media (max-width: 60rem) { .hero .container { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } .hero { padding-top: var(--space-xl); } }

/* ---------- Signature: the doors ---------- */
.doors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-sm); align-items: end; }
.door { position: relative; height: var(--h, 340px); border-radius: var(--radius-arch); padding: var(--space-lg) var(--space-md); display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-3xs); color: var(--color-ink); animation: door-in var(--dur-long) var(--ease-out) both; }
.door::before { content: ""; position: absolute; inset: var(--space-xs); border: 2px solid var(--color-paper); border-radius: var(--radius-arch); opacity: 0.55; pointer-events: none; }
.door b { position: relative; font-family: var(--font-display); font-size: var(--text-xl); line-height: 1.15; font-weight: 600; }
.door span, .door small { position: relative; font-size: var(--text-sm); }
.room-1 { --h: 420px; background: var(--color-rose); }
.room-1 b { font-size: var(--text-2xl); }
.room-2 { --h: 340px; background: var(--color-sage); animation-delay: 80ms; }
.room-3 { --h: 380px; background: var(--color-teal); animation-delay: 160ms; }
.room-4 { --h: 300px; background: var(--color-terracotta); animation-delay: 240ms; }
.door small { font-weight: 600; margin-top: var(--space-2xs); }
.rooms-caption { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--color-muted); }
@keyframes door-in { from { transform: translateY(24px); } to { transform: none; } }
@media (max-width: 60rem) { .room-1 { --h: 320px; } .room-2 { --h: 260px; } .room-3 { --h: 290px; } .room-4 { --h: 220px; } }

/* ---------- Bands and grids ---------- */
.band { background: var(--color-paper-2); }
.band-teal, .band-sage, .band-rose { background: var(--color-paper-2); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--space-xl) var(--gap-columns); align-items: start; }
@media (max-width: 60rem) { .split { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } }

/* Points: a small arch carries the number, words beside; points-row lays them side by side */
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xl); }
.points li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: var(--space-lg); align-items: start; }
.points .dot { width: 56px; height: 68px; border-radius: var(--radius-arch-sm); display: grid; place-items: end center; padding-bottom: var(--space-xs); font-family: var(--font-display); font-size: var(--text-xl); font-weight: 700; font-variant-numeric: tabular-nums; color: var(--color-ink); }
.points h3 { margin-bottom: var(--space-xs); }
.points-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.points-row li { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
@media (max-width: 60rem) { .points-row { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } }
.c-rose { background: var(--color-rose); } .c-sage { background: var(--color-sage); } .c-teal { background: var(--color-teal); } .c-terracotta { background: var(--color-terracotta); } .c-mint { background: var(--color-mint); }

/* The age track: three groups on one scale, 45 days to 4 years */
.agetrack-bar { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: var(--a) var(--b) var(--c); gap: var(--space-xs); }
.seg { display: flex; flex-direction: column; gap: var(--space-xs); height: 100%; padding: var(--space-lg); background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-lg) var(--radius-lg) var(--radius-sm) var(--radius-sm); border-top: 8px solid; text-decoration: none; color: var(--color-ink); }
.seg:hover { color: var(--color-ink); }
.seg .go, .tile .go { transition: color var(--dur-micro) var(--ease-out); }
.seg:hover .go, .tile:hover .go { color: var(--color-accent); }
.seg:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.seg-babies { border-top-color: var(--color-rose); }
.seg-toddlers { border-top-color: var(--color-sage); }
.seg-preschool { border-top-color: var(--color-teal); }
.seg:hover { border-color: var(--color-ink-2); }
.seg:hover .seg-name { color: var(--color-accent); }
.seg-band { font-size: var(--text-sm); font-weight: 600; color: var(--color-ink-2); }
.seg-name { font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1.15; font-weight: 600; }
.seg-lead { max-width: 34ch; }
.seg .go { margin-top: auto; font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; }
.agetrack-scale { position: relative; height: 2.5rem; margin-top: var(--space-sm); border-top: 2px solid var(--color-ink); font-size: var(--text-sm); color: var(--color-muted); }
.agetrack-scale span { position: absolute; top: var(--space-xs); inset-inline-start: var(--at); transform: translateX(-50%); white-space: nowrap; }
html[dir="rtl"] .agetrack-scale span { transform: translateX(50%); }
.agetrack-scale span::before { content: ""; position: absolute; top: calc(-1 * var(--space-xs) - 8px); inset-inline-start: 50%; width: 2px; height: 8px; background: var(--color-ink); }
.agetrack-scale span:first-child { transform: none; }
.agetrack-scale span:first-child::before { inset-inline-start: 0; }
.agetrack-scale span:last-child { inset-inline-start: auto; inset-inline-end: 0; transform: none; }
.agetrack-scale span:last-child::before { inset-inline-start: auto; inset-inline-end: 0; }
@media (max-width: 48rem) { .agetrack-bar { grid-template-columns: minmax(0, 1fr); gap: var(--space-sm); } .seg { min-height: 0; } .agetrack-scale { display: none; } }

/* Programme and contact tiles */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
@media (max-width: 60rem) { .tiles { grid-template-columns: minmax(0, 1fr); } }
.tile { display: flex; flex-direction: column; gap: var(--space-sm); padding: var(--space-2xl) var(--space-lg) var(--space-xl); border-radius: var(--radius-arch); text-decoration: none; color: var(--color-ink); min-height: 300px; }
.tile:hover { color: var(--color-ink); }
.tile:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.tile h3 { font-family: var(--font-display); font-size: var(--text-2xl); font-weight: 600; margin-top: var(--space-xl); }
.tile .go { margin-top: auto; font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; }
.t-rose { background: var(--color-rose-tint); } .t-sage { background: var(--color-sage-tint); } .t-teal { background: var(--color-teal-tint); } .t-peri { background: var(--color-periwinkle-tint); } .t-terra { background: var(--color-terracotta-tint); }

/* Facts list: label and value, no invented numbers */
.facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap-columns); }
.facts div { padding-block: var(--space-md); border-top: var(--rule-hair) solid var(--color-rule); }
.facts dt { font-size: var(--text-sm); color: var(--color-muted); }
.facts dd { margin: var(--space-2xs) 0 0; font-size: var(--text-lg); font-weight: 500; }
@media (max-width: 40rem) { .facts { grid-template-columns: minmax(0, 1fr); } }
/* Key facts: a quiet row on hairlines; the colour stays with the doors and the price */
.facts-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xl) var(--gap-columns); }
.facts-bento div { padding-block: var(--space-lg) 0; display: flex; flex-direction: column; gap: var(--space-xs); }
.facts-bento dt { color: var(--color-muted); }
.facts-bento dd { margin: 0; font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; line-height: 1.25; }
@media (max-width: 60rem) { .facts-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .facts-bento { grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); } }

.list { margin: 0; padding-inline-start: 20px; }
.list li + li { margin-top: var(--space-xs); }

/* Pick-up time scale for the fee structure */
.times { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-xs); margin-top: var(--space-lg); }
.times > * { background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-arch-sm); padding: var(--space-lg) var(--space-xs) var(--space-md); text-align: center; }
.times > * b { display: block; font-family: var(--font-display); font-size: var(--text-xl); font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 40rem) { .times { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.price { font-variant-numeric: tabular-nums; font-family: var(--font-display); font-size: var(--text-section); font-weight: 700; line-height: 1.1; }
.title-md { font-family: var(--font-display); font-weight: 600; font-size: var(--text-2xl); line-height: 1.2; }

/* Camps: the one public price, set large */
.camps { background: var(--color-paper); }
.camps-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: var(--space-xl) var(--gap-columns); align-items: center; }
.camps-price { background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-arch); padding: var(--space-3xl) var(--space-xl) var(--space-xl); text-align: center; }
.camps-from { font-weight: 600; }
.price-xl { font-family: var(--font-display); font-weight: 700; font-size: clamp(4rem, 9vw, 7.5rem); line-height: 1; font-variant-numeric: tabular-nums; color: var(--color-ink); margin-block: var(--space-sm); }
.price-xl .cur { font-size: 0.32em; vertical-align: 0.9em; }
@media (max-width: 60rem) { .camps-grid { grid-template-columns: minmax(0, 1fr); } }

/* Callout cards; arch gives them a door's top */
.callout { border-radius: var(--radius-lg); padding: var(--space-xl); }
.callout.arch { border-radius: var(--radius-arch); padding-top: max(var(--space-3xl), 34%); }

/* Closing call to action: deep teal with the Sadu strip on top */
.cta-band { background: var(--color-accent-deep); color: var(--color-white); padding-block: var(--space-2xl); }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-lg); }
.cta-band h2 { max-width: 26ch; color: var(--color-white); text-wrap: balance; }
.cta-band .btn-primary { background: var(--color-paper); color: var(--color-ink); }
.cta-band .btn-primary:hover { background: var(--color-white); color: var(--color-ink); }
.cta-band .btn-secondary { color: var(--color-white); border-color: var(--color-on-deep-2); }
.cta-band .btn-secondary:hover { background: var(--color-white); color: var(--color-ink); }
.cta-band .btn:focus-visible { outline-color: var(--color-white); }

/* FAQ */
.faq { border-top: var(--rule-hair) solid var(--color-rule); }
.faq details { border-bottom: var(--rule-hair) solid var(--color-rule); }
.faq summary { cursor: pointer; list-style: none; padding: var(--space-lg) 0; font-weight: 600; font-size: var(--text-lg); display: flex; justify-content: space-between; align-items: center; gap: var(--space-md); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 50%; background: var(--color-teal-tint); font-family: var(--font-display); font-size: var(--text-xl); line-height: 1; color: var(--color-accent); transition: transform var(--dur-short) var(--ease-out), background-color var(--dur-micro) var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--color-accent); color: var(--color-accent-ink); }
.faq summary:hover::after { background: var(--color-accent); color: var(--color-accent-ink); }
.faq summary:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.faq .answer { padding-bottom: var(--space-lg); max-width: 65ch; }
.faq-group + .faq-group { margin-top: var(--space-2xl); }
.faq-group h2 { font-size: var(--text-2xl); margin-bottom: var(--space-md); }

/* Forms */
.form { display: grid; gap: var(--space-lg); background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-lg); padding: var(--space-xl); }
.field { display: grid; gap: var(--space-xs); }
.field label, .field legend { font-weight: 600; font-size: var(--text-md); }
.field .hint { font-size: var(--text-sm); color: var(--color-muted); }
.field input, .field select { min-height: 52px; padding: var(--space-sm) var(--space-md); border: 1.5px solid var(--color-muted); border-radius: var(--radius-sm); background: var(--color-paper-2); color: var(--color-ink); transition: border-color var(--dur-micro) var(--ease-out); }
.field input:hover, .field select:hover { border-color: var(--color-ink); }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 1px; border-color: var(--color-ink); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--color-error); }
.field input:disabled, .field select:disabled { background: var(--color-paper); cursor: not-allowed; }
.field .error { color: var(--color-error); font-size: var(--text-sm); }
.field .error:empty, .form > .error:empty { display: none; }
.form > .error { color: var(--color-error); font-size: var(--text-sm); }
.radios { display: flex; gap: var(--space-sm); flex-wrap: wrap; border: 0; padding: 0; margin: 0; }
.radios label { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 48px; padding: var(--space-xs) var(--space-md); border: 1.5px solid var(--color-muted); border-radius: var(--radius-pill); font-weight: 500; cursor: pointer; transition: border-color var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out); }
.radios label:hover { border-color: var(--color-ink); }
.radios label:has(input:checked) { border-color: var(--color-accent); background: var(--color-teal-tint); }
.radios label:has(input:focus-visible) { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.radios input { accent-color: var(--color-accent); width: 18px; height: 18px; }
.consent { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--space-sm); align-items: start; font-size: var(--text-sm); }
.consent input { width: 22px; height: 22px; margin-top: var(--space-3xs); accent-color: var(--color-accent); }
.consent input:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.form-status { font-size: var(--text-sm); }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--color-error); }
.form-status.is-error a { color: inherit; font-weight: 600; }

/* Tour page: intro and form side by side; on phones the form comes before the details */
.hero .tour-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "intro form" "facts form"; align-items: start; }
.tour-intro { grid-area: intro; } .tour-grid .form { grid-area: form; } .tour-facts { grid-area: facts; }
@media (max-width: 60rem) { .hero .tour-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "form" "facts"; } }

/* Map, framed as a door */
.map { border-radius: var(--radius-arch); overflow: hidden; border: var(--rule-hair) solid var(--color-rule); aspect-ratio: 4 / 4.4; background: var(--color-teal-tint); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Prose (privacy) */
.prose { max-width: 68ch; }
.prose .lead { margin-top: var(--space-md); }
.prose h2 { font-size: var(--text-2xl); margin-top: var(--space-2xl); margin-bottom: var(--space-sm); }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: var(--space-md); }
.privacy-page { padding-top: var(--space-2xl); }

/* ---------- Footer ---------- */
.site-footer { background: var(--color-paper-2); padding-bottom: var(--space-xl); font-size: var(--text-sm); }
.foot-mast { font-family: var(--font-display); font-weight: 600; font-size: var(--text-section); line-height: 1.15; color: var(--color-ink); max-width: 22ch; padding-block: var(--space-2xl) var(--space-xl); margin-bottom: var(--space-xl); border-bottom: var(--rule-hair) solid var(--color-rule); text-wrap: balance; }
.foot { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: var(--gap-columns); }
.foot img { width: 96px; }
.foot h2 { font-family: var(--font-body); font-size: var(--text-md); font-weight: 600; margin-bottom: var(--space-sm); }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-xs); }
.foot a { color: var(--color-ink); }
.foot a:hover { color: var(--color-accent); }
.foot-base { margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); color: var(--color-muted); display: flex; flex-wrap: wrap; gap: var(--space-md); justify-content: space-between; }
@media (max-width: 60rem) { .foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Phones: one column, so the email address has the full width; the page links sit in two columns to save height */
@media (max-width: 40rem) {
  .foot { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .foot > div:last-child ul { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--space-lg); }
}
.foot li { min-width: 0; overflow-wrap: anywhere; }

/* ---------- Sticky mobile action bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 48rem) {
  .mobile-bar { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-xs); position: fixed; inset-inline: 0; bottom: 0; z-index: var(--z-sticky); background: var(--color-paper-2); border-top: var(--rule-hair) solid var(--color-rule); padding: var(--space-xs) var(--space-xs) calc(var(--space-xs) + env(safe-area-inset-bottom)); }
  .mobile-bar .btn { min-height: 48px; padding: var(--space-xs) var(--space-sm); font-size: var(--text-sm); }
  .mobile-bar .btn:hover { transform: none; }
  body { padding-bottom: 76px; }
}

/* Breadcrumb */
.crumbs { font-size: var(--text-sm); margin-bottom: var(--space-lg); }
.crumbs a { color: var(--color-muted); }

/* Review fixes: room chips, one-column facts, bento spans, short banner and a compact mobile hero */
.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs); margin-top: var(--space-sm); max-width: 18rem; }
.chip { display: block; min-width: 0; padding: var(--space-sm) var(--space-xs) var(--space-xs); border-radius: var(--radius-arch-sm); font-size: var(--text-sm); font-weight: 600; line-height: 1.3; text-align: center; white-space: nowrap; color: var(--color-ink); }
.chip.room-1 { background: var(--color-rose); } .chip.room-2 { background: var(--color-sage); } .chip.room-3 { background: var(--color-teal); } .chip.room-4 { background: var(--color-terracotta); }
.points-row .dot { display: none; }
.facts-1 { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 40rem) {
  .hero .actions { flex-wrap: nowrap; margin-top: var(--space-lg); } .hero .actions .btn { flex: 1 1 0; padding-inline: var(--space-sm); font-size: var(--text-sm); }
  .doors { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xs); }
  .door { padding: var(--space-sm) var(--space-xs); }
  .door::before { inset: var(--space-2xs); }
  .room-1 { --h: 190px; } .room-2 { --h: 160px; } .room-3 { --h: 175px; } .room-4 { --h: 145px; }
  .room-1 b, .door b { font-size: var(--text-md); }
  .door span, .door small { display: none; }
}

/* Management answers (12 Nov): the age track's class line, timetables and camp dates */
.seg-rooms { font-size: var(--text-sm); color: var(--color-muted); margin-top: auto; }
.days { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-lg); max-width: 40rem; }
.days-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
.day-card { background: var(--color-paper-2); border-radius: var(--radius-card); padding: var(--space-lg); border-top: 4px solid var(--color-rule); }
.day-card.room-1 { border-top-color: var(--color-rose); } .day-card.room-2 { border-top-color: var(--color-sage); } .day-card.room-3 { border-top-color: var(--color-teal); } .day-card.room-4 { border-top-color: var(--color-terracotta); }
.day-card h3 { font-family: var(--font-display); font-size: var(--text-xl); margin: 0 0 var(--space-md); }
.day-card h3 small { font-family: var(--font-body); font-size: var(--text-sm); font-weight: 500; color: var(--color-muted); margin-inline-start: var(--space-xs); }
.day { list-style: none; margin: 0; padding: 0; }
.day li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: var(--space-sm); padding: var(--space-xs) 0; border-top: var(--rule-hair) solid var(--color-rule); }
.day li:first-child { border-top: 0; }
.day time { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--color-accent); text-align: start; }
html[dir="rtl"] .day time { text-align: end; }
.facts dd, .camp-dates dd, .seg-rooms { font-variant-numeric: tabular-nums; }
.camp-dates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-sm); margin: 0; }
.camp-dates div { border-top: 2px solid var(--color-terracotta); padding-top: var(--space-sm); }
.camp-dates dt { font-weight: 600; }
.camp-dates dd { margin: 0; font-size: var(--text-sm); }
@media (max-width: 60rem) { .days-2 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 40rem) { .camp-dates { grid-template-columns: minmax(0, 1fr); } }

/* Doors sized to their names: one readable name size on every door, and the age group as a highlighted tag */
.doors-fig { container-type: inline-size; }
.doors { display: flex; flex-wrap: wrap; align-items: flex-end; }
.door { flex: 1 0 auto; padding-inline: var(--space-md); }
.door-label { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2xs); }
.door .door-label b, .room-1 .door-label b { font-size: var(--text-lg); line-height: 1.2; white-space: nowrap; }
.door-label span { white-space: nowrap; }
.door .door-group { display: inline-block; order: -1; margin: 0 0 var(--space-2xs); padding: var(--space-3xs) var(--space-xs); border-radius: var(--radius-pill); background: var(--color-paper); color: var(--color-ink); font-size: var(--text-sm); font-weight: 600; line-height: 1.3; white-space: nowrap; }
/* When the row is too narrow for four doors, they form two rows of shorter doors */
@container (max-width: 34rem) {
  .room-1 { --h: 235px; } .room-2 { --h: 205px; } .room-3 { --h: 220px; } .room-4 { --h: 195px; }
  .door { flex: 1 0 34%; } .room-1, .room-4 { flex-grow: 1.35; }
}
@container (max-width: 26rem) {
  .room-1 { --h: 180px; } .room-2 { --h: 160px; } .room-3 { --h: 170px; } .room-4 { --h: 152px; }
}

/* ---------- Unslop, 16 Nov: the nursery's own photos carry the colour ---------- */
.hero-text { display: flex; flex-direction: column; gap: var(--space-lg); }
.hero-text > * { margin: 0; }
.hero .hero-text .lead, .hero .hero-text .actions { margin-top: 0; }
.hero-text .actions { margin-top: var(--space-xs); }
.photo { margin: 0; display: flex; flex-direction: column; gap: var(--space-xs); min-width: 0; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-card); background: var(--color-paper-3); }
.photo.arch img { border-radius: var(--radius-arch); }
.photo figcaption { font-size: var(--text-sm); color: var(--color-muted); }
.hero-photo img { aspect-ratio: 5 / 6; max-height: min(640px, calc(100svh - 180px)); }
.tour-facts .photo img { aspect-ratio: 4 / 5; max-height: 560px; object-position: 50% 30%; }
.split .photo.arch img { aspect-ratio: 4 / 5; max-height: 520px; }

/* Home: a gallery of the building, one tall photo beside two wide ones */
.gallery { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); grid-template-rows: auto auto; gap: var(--space-md); }
.gallery .g-tall { grid-row: 1 / 3; display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.gallery .g-tall img { height: 100%; }
.gallery .photo:not(.g-tall) img { aspect-ratio: 16 / 10; }
.proof { list-style: none; margin: var(--space-xl) 0 0; padding: var(--space-lg) 0 0; border-top: var(--rule-hair) solid var(--color-rule); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); }
.proof li { display: flex; flex-direction: column; gap: var(--space-2xs); }
.proof b { font-family: var(--font-display); font-weight: 600; font-size: var(--text-2xl); line-height: 1.1; font-variant-numeric: tabular-nums; }
.proof span { color: var(--color-muted); }
@media (max-width: 48rem) {
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .gallery .g-tall { grid-row: auto; }
  .gallery .g-tall img { aspect-ratio: 4 / 5; height: auto; }
  .proof { grid-template-columns: minmax(0, 1fr); }
}

/* Doors: shorter when four sit in one row beside text */
@container (min-width: 34.01rem) { .room-1 { --h: 300px; } .room-2 { --h: 250px; } .room-3 { --h: 280px; } .room-4 { --h: 230px; } }
@container (max-width: 34rem) { .room-1 { --h: 220px; } .room-2 { --h: 190px; } .room-3 { --h: 205px; } .room-4 { --h: 180px; } }
@container (max-width: 26rem) { .room-1 { --h: 180px; } .room-2 { --h: 160px; } .room-3 { --h: 170px; } .room-4 { --h: 152px; } }
.split-center { align-items: center; }

/* Points: plain unless they are real steps */
.points li { grid-template-columns: minmax(0, 1fr); gap: 0; }
.points.steps li { grid-template-columns: 32px minmax(0, 1fr); gap: var(--space-md); }
.points.steps .dot { width: 32px; height: 32px; border-radius: 50%; padding: 0; display: grid; place-items: center; background: var(--color-accent); color: var(--color-accent-ink); font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600; }
.points { gap: var(--space-lg); }
.points li + li { padding-top: var(--space-lg); border-top: var(--rule-hair) solid var(--color-rule); }
.points h3 { font-size: var(--text-lg); margin-bottom: var(--space-2xs); }

/* Facts inside a hero: three short rows */
.facts-inline { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 var(--space-lg); }
.facts-inline dd { font-size: var(--text-md); }
@media (max-width: 40rem) { .facts-inline { grid-template-columns: minmax(0, 1fr); } }

/* Contact: one quiet list */
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: var(--space-md); padding-block: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule); }
.contact-list li > span:first-child { color: var(--color-muted); }
.contact-list .social { display: flex; flex-wrap: wrap; gap: var(--space-md); }
.list-2 { columns: 2; column-gap: var(--gap-columns); }
.list-2 li { break-inside: avoid; }
@media (max-width: 40rem) { .list-2 { columns: 1; } }
.faq-wrap { max-width: 48rem; }
.section-head p { color: var(--color-ink-2); }

/* ---------- Frames: a thin cream line inside every photo, like the classroom doors ---------- */
.frame { position: relative; display: block; border-radius: var(--radius-card); }
.frame::after { content: ""; position: absolute; inset: var(--space-xs); border: 2px solid var(--color-paper); border-radius: calc(var(--radius-card) - 4px); opacity: 0.8; pointer-events: none; z-index: 2; }
.photo.arch .frame, .carousel-frame, .map.frame { border-radius: var(--radius-arch); }
.photo.arch .frame::after, .carousel-frame::after, .map.frame::after { border-radius: var(--radius-arch); inset: var(--space-sm); }
.photo .frame img { border-radius: inherit; }
/* Arched photos stand on a plate in a logo colour, offset like a doorway's step */
.photo.arch, .carousel, .map.frame { isolation: isolate; }
.photo.arch .frame::before, .carousel-frame::before, .map.frame::before { content: ""; position: absolute; inset: 0; transform: translate(var(--space-md), var(--space-md)); border-radius: var(--radius-arch); background: var(--plate, var(--color-terracotta)); opacity: 0.55; z-index: -1; }
html[dir="rtl"] .photo.arch .frame::before, html[dir="rtl"] .carousel-frame::before, html[dir="rtl"] .map.frame::before { transform: translate(calc(-1 * var(--space-md)), var(--space-md)); }
.hero-photo { --plate: var(--color-sage); }
.map.frame { overflow: visible; border: 0; }
.map.frame iframe { border-radius: var(--radius-arch); }

/* ---------- Home hero carousel ---------- */
.carousel { display: flex; flex-direction: column; gap: var(--space-md); min-width: 0; }
.carousel-frame { aspect-ratio: 5 / 6; max-height: min(640px, calc(100svh - 200px)); width: 100%; background: var(--color-paper-3); }
.slide { position: absolute; inset: 0; margin: 0; transition: opacity 900ms var(--ease-in-out); }
/* Without script every photo stays visible with the first on top; once the script runs, the others crossfade */
.slide.is-active { z-index: 1; }
.carousel.is-ready .slide:not(.is-active) { opacity: 0; }
.slide img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-arch); display: block; }
.slide figcaption { position: absolute; inset-inline-start: var(--space-lg); bottom: var(--space-lg); z-index: 3; background: var(--color-paper); color: var(--color-ink); font-size: var(--text-sm); font-weight: 500; padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); }
.carousel-controls { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding-inline: var(--space-xs); }
.carousel-dots { display: flex; gap: var(--space-xs); }
.carousel-dots button { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.carousel-dots button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--color-ink-2); transition: background-color var(--dur-micro) var(--ease-out); }
.carousel-dots button[aria-current="true"]::before { background: var(--color-ink); border-color: var(--color-ink); }
.carousel-dots button:focus-visible, .carousel-pause:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; border-radius: var(--radius-sm); }
.carousel-pause { background: none; border: 0; padding: var(--space-2xs) 0; font: inherit; font-size: var(--text-sm); color: var(--color-ink-2); text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }

/* ---------- About: staff ID badges ---------- */
.badges { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-md); }
.badge { position: relative; display: flex; flex-direction: column; gap: var(--space-xs); padding: var(--space-xl) var(--space-md) var(--space-lg); background: var(--color-paper); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); border-top: 12px solid var(--badge, var(--color-teal)); }
.badge.room-1 { --badge: var(--color-rose); } .badge.room-2 { --badge: var(--color-sage); } .badge.room-3 { --badge: var(--color-teal); } .badge.room-4 { --badge: var(--color-terracotta); }
.badge.room-1, .badge.room-2, .badge.room-3, .badge.room-4 { height: auto; background: var(--color-paper); animation: none; }
.badge-slot { position: absolute; top: var(--space-sm); inset-inline-start: 50%; width: 36px; height: 8px; margin-inline-start: -18px; border-radius: var(--radius-pill); background: var(--color-rule); }
.badge-org { font-size: var(--text-sm); color: var(--color-muted); margin-top: var(--space-xs); }
.badge-role { font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); line-height: 1.2; }
.badge-qual { font-size: var(--text-sm); color: var(--color-ink-2); }
.badge-exp { margin-top: auto; padding-top: var(--space-sm); border-top: var(--rule-hair) dashed var(--color-rule); font-size: var(--text-sm); font-weight: 500; }
@media (max-width: 68rem) { .badges { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 40rem) { .badges { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- About: the safety checklist on a clipboard ---------- */
.clipboard { position: relative; background: var(--color-paper-2); border: var(--rule-hair) solid var(--color-rule); border-radius: var(--radius-card); padding: var(--space-2xl) var(--space-xl) var(--space-xl); }
.clip { position: absolute; top: calc(-1 * var(--space-md)); inset-inline-start: 50%; width: 120px; height: 36px; margin-inline-start: -60px; border-radius: var(--radius-sm) var(--radius-sm) var(--radius-card) var(--radius-card); background: var(--color-ink-2); }
.clip::after { content: ""; position: absolute; top: 8px; inset-inline-start: 50%; width: 32px; height: 8px; margin-inline-start: -16px; border-radius: var(--radius-pill); background: var(--color-paper); opacity: 0.4; }
.clipboard-title { font-family: var(--font-display); font-weight: 600; font-size: var(--text-xl); margin-bottom: var(--space-md); }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: var(--space-sm); align-items: center; padding-block: var(--space-sm); border-top: var(--rule-hair) solid var(--color-rule); }
.tick { width: 24px; height: 24px; border-radius: 6px; background: var(--color-accent); position: relative; }
.tick::after { content: ""; position: absolute; left: 8px; top: 4px; width: 6px; height: 11px; border: solid var(--color-accent-ink); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.checks .when { font-size: var(--text-sm); color: var(--color-muted); white-space: nowrap; }
@media (max-width: 40rem) { .clipboard { padding-inline: var(--space-lg); } .checks li { grid-template-columns: 24px minmax(0, 1fr); } .checks .when { grid-column: 2; } }

/* ---------- Location: a photo tour, laid out like a pinboard ---------- */
.tour-photos { columns: 3; column-gap: var(--space-lg); }
.tour-photos .photo { break-inside: avoid; margin-bottom: var(--space-xl); }
.tour-photos figcaption { font-size: var(--text-md); color: var(--color-ink-2); }
@media (max-width: 60rem) { .tour-photos { columns: 2; } }
@media (max-width: 40rem) { .tour-photos { columns: 1; } }

/* Cookie consent: shown only when analytics is configured. Accept and Decline carry equal weight. */
.cookie-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: var(--z-modal); background: var(--color-paper-2); border-top: 2px solid var(--color-ink); padding-block: var(--space-md) calc(var(--space-md) + env(safe-area-inset-bottom, 0px)); }
.cookie-bar[hidden] { display: none; }
.cookie-bar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-md) var(--space-lg); }
.cookie-bar p { margin: 0; flex: 1 1 20rem; font-size: 1rem; }
.cookie-actions { display: flex; gap: var(--space-xs); flex: 0 0 auto; }
.cookie-actions .btn { min-width: 7rem; font-size: 1rem; }
.linklike { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 0.2em; }
@media (max-width: 40rem) { .cookie-actions { flex: 1 1 100%; } .cookie-actions .btn { flex: 1 1 0; } }
