/* Mini Bambini prototype stylesheet, version 2.
   Warmer and more playful after the Pinterest research, without adding
   sensory load. Playfulness comes from form: illustration, rounded shapes,
   hand drawn marks and warm colour. Saturation, density and motion stay low.
   WCAG 2.2 AA maintained throughout. */

:root {
  /* Base. Warm cream rather than white, which reads friendlier and is
     easier on the eye. Taken from the board's dominant colours. */
  --cream: #FDF7EC;
  --cream-deep: #F7EDDC;
  --sand: #EFE2CC;
  --paper: #FFFDF8;

  /* Primary. Dark enough to clear 4.5:1 on cream. */
  --teal-900: #073C3E;
  --teal-700: #0C6468;
  --teal-500: #189395;
  --teal-200: #9FE3E2;
  --teal-050: #E2F5F4;

  /* Warm accents. Fills and small marks, never body text on light. */
  --mustard: #F5B93D;
  --mustard-soft: #FCE7B4;
  --terracotta: #C9573A;
  --terracotta-soft: #F8D9CE;
  --coral: #F08A6B;
  --sage: #5E7A4C;
  --sage-soft: #DDE7D2;
  --mauve: #9B6B8E;
  --mauve-soft: #EFDCEA;
  --sky: #5A9BC4;
  --sky-soft: #D6E8F3;
  --bee-yellow: #FED728;

  /* Room colour coding. Playful, and doubles as wayfinding. */
  --room-baby: var(--sky-soft);
  --room-baby-ink: #2C5A77;
  --room-one: var(--sage-soft);
  --room-one-ink: #3D5232;
  --room-two: var(--mustard-soft);
  --room-two-ink: #7A5410;
  --room-kindy: var(--terracotta-soft);
  --room-kindy-ink: #8E3A22;

  --ink: #23302F;
  --ink-soft: #4E5F5E;
  --line: #E2D6C0;

  --draft-bg: #FFF3DC;
  --draft-line: #B9801B;
  --draft-ink: #5E4104;

  --font-display: 'Patrick Hand', 'Comic Sans MS', cursive;
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --measure: 66ch;
  --radius: 24px;
  --radius-lg: 32px;
  --gap: clamp(2rem, 5vw, 4.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}
@media (min-width: 48rem) { body { font-size: 1.125rem; } }

p, li { max-width: var(--measure); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--teal-900);
  line-height: 1.1;
  font-weight: 400;
  margin: 0 0 0.5em;
}
/* Pushed harder than v1. Patrick Hand carries the character. */
h1 { font-size: clamp(2.6rem, 7.5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); margin-top: 0; }
h3 { font-size: clamp(1.4rem, 3vw, 1.8rem); }

a { color: var(--teal-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-900); }

a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--teal-700);
  outline-offset: 3px;
  border-radius: 6px;
}

img { max-width: 100%; height: auto; display: block; }

.wrap { width: min(74rem, 100% - 2.5rem); margin-inline: auto; }
.wrap-narrow { width: min(48rem, 100% - 2.5rem); margin-inline: auto; }

.skip-link { position: absolute; left: -9999px; background: var(--teal-900); color: #fff; padding: 0.75rem 1.25rem; z-index: 100; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Header ---------- */

.site-header { background: var(--paper); border-bottom: 3px solid var(--sand); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.brand img { width: 58px; }
.brand-name { font-family: var(--font-display); font-size: 1.7rem; color: var(--teal-900); line-height: 1; }
.brand-place { display: block; font-family: var(--font-body); font-size: 0.78rem; color: var(--ink-soft); letter-spacing: 0.02em; }

.site-nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.3rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: flex; align-items: center; min-height: 44px; padding: 0.55rem 0.3rem; color: var(--ink); text-decoration: none; font-weight: 600; border-radius: 8px; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--teal-900); box-shadow: inset 0 -4px 0 var(--mustard); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0.75rem 1.8rem;
  border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-body); font-size: 1.02rem; font-weight: 700;
  text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--teal-700); color: #fff; box-shadow: 0 3px 0 var(--teal-900); }
.btn-primary:hover { background: var(--teal-900); color: #fff; }
.btn-sun { background: var(--mustard); color: #4A3200; box-shadow: 0 3px 0 #C98F1C; }
.btn-sun:hover { background: #FFC95C; color: #3A2700; }
.btn-secondary { background: var(--paper); color: var(--teal-700); border-color: var(--teal-700); }
.btn-secondary:hover { background: var(--teal-050); color: var(--teal-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* ---------- Sections and soft dividers ---------- */

section { padding-block: var(--gap); position: relative; }
.section-alt { background: var(--teal-050); }
.section-sage { background: var(--sage-soft); }
.section-sand { background: var(--cream-deep); }
.lede { font-size: 1.2em; color: var(--ink-soft); }

/* Wave divider, replaces the hard horizontal band. Decorative only. */
.wave { display: block; width: 100%; height: 48px; }
.wave path { fill: currentColor; }

.hero { padding-block: var(--gap); }
.hero-grid { display: grid; gap: var(--gap); align-items: center; }
@media (min-width: 52rem) { .hero-grid { grid-template-columns: 1.05fr 1fr; } }
/* Soft organic photo shape rather than a rectangle. */
.hero img { border-radius: 46% 54% 52% 48% / 44% 42% 58% 56%; }
.photo-round { border-radius: var(--radius-lg); }

/* Hand drawn doodle marks, low density by design. */
.doodle { position: absolute; pointer-events: none; opacity: 0.55; }
.doodle-tr { top: 1.5rem; right: 1.5rem; width: 68px; }
.doodle-bl { bottom: 1.5rem; left: 1rem; width: 56px; }
@media (max-width: 46rem) { .doodle { display: none; } }

.service-grid { display: grid; gap: 1.75rem; }
@media (min-width: 46rem) { .service-grid { grid-template-columns: 1fr 1fr; } }
.service-card { background: var(--paper); border: 3px solid var(--sand); border-radius: var(--radius-lg); padding: 1.6rem; display: flex; flex-direction: column; }
.service-card img { border-radius: var(--radius); margin-bottom: 1.1rem; aspect-ratio: 16/10; object-fit: cover; }
.service-card .btn { margin-top: auto; align-self: flex-start; }
.eyebrow { display: inline-block; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--teal-900); background: var(--mustard-soft); padding: 0.3rem 0.8rem; border-radius: 999px; }

/* Room colour coding */
.room-baby { background: var(--room-baby); border-color: #A8CBE0; }
.room-baby .eyebrow { background: #fff; color: var(--room-baby-ink); }
.room-one { background: var(--room-one); border-color: #B9CBA7; }
.room-one .eyebrow { background: #fff; color: var(--room-one-ink); }
.room-two { background: var(--room-two); border-color: #EFCE85; }
.room-two .eyebrow { background: #fff; color: var(--room-two-ink); }
.room-kindy { background: var(--room-kindy); border-color: #EFB49C; }
.room-kindy .eyebrow { background: #fff; color: var(--room-kindy-ink); }

.grid-3 { display: grid; gap: 1.5rem; }
@media (min-width: 46rem) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-4 { display: grid; gap: 1.35rem; }
@media (min-width: 40rem) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 62rem) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card { background: var(--paper); border: 3px solid var(--sand); border-radius: var(--radius); padding: 1.4rem; }
.card h3 { margin-top: 0; }

/* Pastel circular icon chips, straight from the board's calmest examples. */
.chip { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 0.85rem; }
.chip-sun { background: var(--mustard-soft); }
.chip-sage { background: var(--sage-soft); }
.chip-sky { background: var(--sky-soft); }
.chip-terra { background: var(--terracotta-soft); }
.chip-mauve { background: var(--mauve-soft); }
.chip-teal { background: var(--teal-050); }

.trust { background: var(--teal-900); color: #fff; }
.trust h2, .trust a { color: #fff; }
.trust .grid-4 > div { background: rgba(255,255,255,0.07); border-radius: var(--radius); border-left: 5px solid var(--mustard); padding: 1.1rem 1.2rem; }
.trust strong { display: block; font-size: 1.1rem; }
.trust span { color: #CDE6E5; font-size: 0.95rem; }

.timeline { list-style: none; padding: 0; margin: 0; }
.timeline li { display: grid; grid-template-columns: 6rem 1fr; gap: 1.1rem; padding: 1rem 0; border-top: 2px dashed var(--line); max-width: none; align-items: start; }
.timeline time { font-family: var(--font-display); font-size: 1.3rem; color: var(--terracotta); }

.draft { background: var(--draft-bg); border: 3px dashed var(--draft-line); border-radius: var(--radius); padding: 1.2rem 1.35rem; margin-block: 1.35rem; }
.draft::before { content: "Draft content, to be confirmed by Mini Bambini"; display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--draft-ink); margin-bottom: 0.55rem; }
.draft p:last-child, .draft ul:last-child { margin-bottom: 0; }
.draft :is(h2, h3, h4) { color: var(--draft-ink); }
.note-inline { background: var(--mustard-soft); border-left: 4px solid var(--draft-line); padding: 0.15rem 0.5rem; font-size: 0.95em; }

.form-grid { display: grid; gap: 1.2rem; }
@media (min-width: 40rem) { .form-grid .two-up { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; } }
.field label { display: block; font-weight: 700; margin-bottom: 0.3rem; }
.field .hint { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 0.4rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 0.7rem 0.9rem; border: 2px solid var(--line); border-radius: 12px; font: inherit; color: var(--ink); background: var(--paper); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--teal-500); }
.optional { font-weight: 400; color: var(--ink-soft); }
fieldset { border: 3px solid var(--sand); border-radius: var(--radius); padding: 1.1rem 1.35rem; margin: 0; background: var(--paper); }
legend { font-family: var(--font-display); font-size: 1.35rem; color: var(--teal-900); padding-inline: 0.5rem; }
.choice { display: flex; align-items: flex-start; gap: 0.7rem; padding: 0.55rem 0; max-width: none; }
.choice input { width: 24px; height: 24px; min-height: 24px; margin-top: 0.1rem; flex: none; accent-color: var(--teal-700); }
.choice label { font-weight: 400; }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 3.4rem 1fr; gap: 1.1rem; max-width: none; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 3.4rem; height: 3.4rem; border-radius: 50%; background: var(--mustard); color: #4A3200; font-family: var(--font-display); font-size: 1.8rem; }

.story { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .story { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 62rem) { .story { grid-template-columns: repeat(6, 1fr); } }
.story figure { margin: 0; background: var(--paper); border: 3px solid var(--sand); border-radius: var(--radius); overflow: hidden; }
.story .placeholder { aspect-ratio: 1; display: grid; place-items: center; text-align: center; background: var(--sky-soft); color: var(--room-baby-ink); padding: 0.5rem; font-size: 0.85rem; font-weight: 600; }
.story figcaption { padding: 0.65rem; font-size: 0.9rem; }

.cta-band { background: var(--teal-900); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #D7EBEB; }
.cta-band .btn-secondary { background: transparent; color: #fff; border-color: #fff; }
.cta-band .btn-secondary:hover { background: #fff; color: var(--teal-900); }

.quote { background: var(--paper); border: 3px solid var(--sand); border-radius: var(--radius-lg); padding: 1.75rem; position: relative; }
.quote p { font-size: 1.15rem; }
.quote footer { color: var(--ink-soft); font-weight: 600; }

.illo { width: 120px; }
.illo-row { display: flex; gap: 1rem; align-items: flex-end; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; }

.site-footer { background: var(--cream-deep); border-top: 3px solid var(--sand); padding-block: var(--gap); }
.footer-grid { display: grid; gap: 1.85rem; }
@media (min-width: 46rem) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.site-footer h3 { font-family: var(--font-body); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-soft); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 0.25rem 0; }
.scripture { font-family: var(--font-display); font-size: 1.4rem; color: var(--teal-700); border-top: 2px dashed var(--line); margin-top: 1.85rem; padding-top: 1.35rem; text-align: center; }
.scripture span { display: block; font-family: var(--font-body); font-size: 0.85rem; color: var(--ink-soft); }

.proto-bar { background: var(--draft-line); color: #2B1C00; font-size: 0.85rem; font-weight: 700; text-align: center; padding: 0.5rem 1rem; }

/* Motion stays near zero. The warmth is in colour and form, not movement. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-motion: no-preference) {
  a, .btn, input, select, textarea { transition: background-color 180ms, color 180ms, border-color 180ms; }
}

/* Google reviews block */
.rating-row { display: flex; flex-wrap: wrap; gap: 1.25rem; align-items: center; justify-content: space-between;
  background: var(--paper); border: 3px solid var(--sand); border-radius: var(--radius-lg); padding: 1.35rem 1.6rem; margin-bottom: 1.75rem; }
.rating-score { display: flex; align-items: center; gap: 0.85rem; flex-wrap: wrap; }
.rating-num { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--teal-900); }
.rating-stars { font-size: 1.6rem; color: #B8860B; letter-spacing: 0.1em; }
.rating-meta { color: var(--ink-soft); font-size: 0.98rem; }
.quote-meta { display: block; font-weight: 400; font-size: 0.88rem; color: var(--ink-soft); }
.grid-3 .quote p { font-size: 1.02rem; }
