/* ══════════════════════════════════════════════════════════════════
   Little Way Playschool — front office
   Brand register. Cream surface, the six brand colors as named roles,
   Quicksand / Urbanist / Schoolbell. Seeded from the SA demo, rebuilt as a real
   full-page homepage. North star: more time for the children.
   ══════════════════════════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Brand palette (client's own — kept exact). */
  --teal:#38C7C9;       --teal-deep:#1FA6A8;
  --magenta:#E84A8A;    --magenta-deep:#D02E72;
  --plum:#9B4F96;       --plum-deep:#823F7E;
  --green:#8DC63F;      --green-deep:#6FA32B;
  --yellow:#F0B429;     --yellow-deep:#C88A14;

  /* Surfaces — cream, never pure white. */
  --cream:#FBF7EC;      --cream-2:#FFFDF7;   --cream-sink:#F3ECDA;
  --paper:#FFFFFFcc;

  /* Ink — warm neutrals tinted toward plum, never pure black. */
  --ink:#3A2E3A;        --ink-2:#6B5C6B;     --ink-3:#978799;
  --border:#E7DCC8;     --border-2:#D8CBB2;

  /* Type */
  --disp:'Quicksand','Trebuchet MS',system-ui,sans-serif;
  --body:'Urbanist',system-ui,-apple-system,sans-serif;
  --script:'Schoolbell',cursive;

  /* Rhythm */
  --wrap:1120px;
  --r-sm:10px; --r-md:16px; --r-lg:24px; --r-pill:999px;
  --ease:cubic-bezier(0.22,1,0.36,1);   /* ease-out-quint */
  --shadow-soft:0 1px 2px rgba(58,46,58,.05), 0 8px 24px rgba(58,46,58,.06);
  --shadow-lift:0 2px 6px rgba(58,46,58,.07), 0 16px 40px rgba(58,46,58,.10);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { overflow-x: clip; }
[hidden] { display: none !important; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: #ffd9ea; }

a { color: var(--teal-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
button { font-family: inherit; -webkit-tap-highlight-color: transparent; }

@media (max-width: 900px) {
  input:not([type=radio]):not([type=checkbox]), textarea, select { font-size: 16px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ── Shared bits ───────────────────────────────────────────────── */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

.skip-link {
  position: absolute; left: 16px; top: -48px; z-index: 200;
  background: var(--plum); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
  font-weight: 800; transition: top .18s var(--ease);
}
.skip-link:focus { top: 16px; text-decoration: none; }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }

.eyebrow {
  font-family: var(--body); font-weight: 800; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--plum);
}
.script { font-family: var(--script); }

.stars { display: inline-flex; gap: 2px; color: var(--yellow); vertical-align: middle; }
.stars svg { display: block; }

/* Pills (class tags, program markers) */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: var(--r-pill); padding: 6px 14px;
  font-family: var(--body); font-weight: 800; font-size: 13px; line-height: 1.2;
  color: #fff;
}
.pill--seeds { background: var(--magenta); }
.pill--seedlings { background: var(--teal); }
.pill--buds { background: var(--green); color: #173a00; }
.pill--blooms { background: var(--plum); }
.pill--kinder { background: var(--yellow); color: #4a3200; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--body); font-weight: 800; font-size: 16px;
  border: none; border-radius: var(--r-pill); padding: 14px 26px; min-height: 52px;
  cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.btn:hover { text-decoration: none; }
.btn-cta { background: var(--magenta); color: #fff; box-shadow: 0 6px 18px rgba(232,74,138,.32); }
.btn-cta:hover { background: var(--magenta-deep); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(232,74,138,.38); }
.btn-ghost { background: var(--cream-2); border: 2px solid var(--border-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-deep); transform: translateY(-2px); }
.btn-lg { font-size: 17px; padding: 16px 30px; min-height: 56px; }

/* ── Header ────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,247,236,.88);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; }
.brand-lockup img { height: 40px; width: auto; }
.brand-word { font-family: var(--disp); font-weight: 600; font-size: 19px; color: var(--teal-deep); letter-spacing: -.01em; white-space: nowrap; }
.brand-word span { color: var(--plum); font-size: .62em; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) { color: var(--ink-2); font-weight: 700; font-size: 15px; }
.site-nav a:not(.btn):hover { color: var(--plum); text-decoration: none; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-links { display: none; }
  .header-in { height: 64px; }
}

/* ── Hero ──────────────────────────────────────────────────────── */
.hero { position: relative; padding: 64px 0 40px; overflow: hidden; }
.hero::before { /* soft bloom of color behind the headline */
  content: ""; position: absolute; inset: -20% 30% auto -20%; height: 460px; z-index: 0;
  background:
    radial-gradient(46% 60% at 22% 30%, rgba(56,199,201,.22), transparent 70%),
    radial-gradient(40% 55% at 70% 18%, rgba(232,74,138,.16), transparent 72%),
    radial-gradient(50% 60% at 90% 60%, rgba(240,180,41,.16), transparent 72%);
  pointer-events: none; filter: blur(4px);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 30px; } }

.hero-mark { height: 132px; width: auto; margin: 0 0 22px -6px; }
.hero h1 {
  font-family: var(--disp); font-weight: 600;
  font-size: clamp(36px, 6vw, 60px); line-height: 1.02; letter-spacing: -.02em;
  color: var(--ink); margin-bottom: 16px;
}
.hero h1 .turn { color: var(--plum); }
.hero-lede { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 30ch; margin-bottom: 26px; }
.hero-trust { display: inline-flex; align-items: center; gap: 9px; font-weight: 800; font-size: 15px; color: var(--ink-2); margin-bottom: 24px; }
.hero-trust b { color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-aside-note { display: block; margin-top: 14px; font-family: var(--script); font-size: 20px; color: var(--plum); transform: rotate(-2deg); }

/* Hero proof: real reviews stacked, the product's true hero */
.proof-stack { display: grid; gap: 14px; }
.proof-card {
  background: var(--cream-2); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 20px 22px; box-shadow: var(--shadow-soft);
}
.proof-card:nth-child(1) { transform: rotate(-1.2deg); }
.proof-card:nth-child(2) { transform: rotate(.8deg) translateX(14px); }
.proof-card:nth-child(3) { transform: rotate(-.5deg); }
.proof-card p { font-size: 16px; line-height: 1.55; color: var(--ink); }
.proof-who { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.proof-av { width: 34px; height: 34px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-family: var(--disp); font-weight: 600; font-size: 15px; flex-shrink: 0; }
.proof-who b { font-size: 14px; color: var(--ink); }
.proof-who span { font-size: 12px; color: var(--ink-3); display: flex; align-items: center; gap: 5px; }
@media (max-width: 900px) { .proof-card { transform: none !important; } }

/* ── Section scaffolding ───────────────────────────────────────── */
.section { padding: 72px 0; }
.section--sink { background: var(--cream-sink); }
.section-head { max-width: 56ch; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 {
  font-family: var(--disp); font-weight: 600;
  font-size: clamp(28px, 4vw, 40px); line-height: 1.08; letter-spacing: -.015em;
  color: var(--ink); margin: 8px 0 12px;
}
.section-head p { font-size: 18px; color: var(--ink-2); }

/* ── Classes — the seeds→blooms ladder (varied, not a card grid) ── */
.ladder { display: grid; gap: 16px; }
.rung {
  display: grid; grid-template-columns: 150px minmax(0,1fr) auto; gap: 24px; align-items: center;
  background: var(--cream-2); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 22px 26px; box-shadow: var(--shadow-soft);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.rung:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.rung--seeds:hover { border-color: var(--magenta); }
.rung--seedlings:hover { border-color: var(--teal); }
.rung--buds:hover { border-color: var(--green); }
.rung--blooms:hover { border-color: var(--plum); }
.rung--kinder:hover { border-color: var(--yellow); }
.rung-mark { display: flex; flex-direction: column; gap: 7px; align-items: flex-start; }
.rung-age { font-size: 13px; color: var(--ink-3); font-weight: 700; }
.rung-body h3 { font-family: var(--disp); font-weight: 600; font-size: 19px; color: var(--ink); margin-bottom: 2px; }
.rung-body p { font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.rung-price { text-align: right; white-space: nowrap; }
.rung-price b { font-family: var(--disp); font-weight: 600; font-size: 21px; color: var(--ink); display: block; }
.rung-price span { font-size: 12px; color: var(--ink-3); }
@media (max-width: 760px) {
  .rung { grid-template-columns: 1fr; gap: 12px; padding: 20px; }
  .rung-price { text-align: left; }
  .rung-price b { display: inline; }
}
.ladder-note { margin-top: 20px; font-size: 15px; color: var(--ink-2); }
.ladder-note b { color: var(--plum-deep); }

/* ── Approach / the little way ─────────────────────────────────── */
.way { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 880px) { .way { grid-template-columns: 1fr; gap: 28px; } }
.way-points { display: grid; gap: 18px; margin-top: 8px; }
.way-point { display: grid; grid-template-columns: 40px 1fr; gap: 16px; align-items: start; }
.way-num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--disp); font-weight: 600; font-size: 16px; color: #fff; }
.way-point h3 { font-family: var(--disp); font-weight: 500; font-size: 18px; color: var(--ink); margin-bottom: 2px; }
.way-point p { font-size: 15.5px; color: var(--ink-2); }
.way-card {
  background: var(--cream-2); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 30px; box-shadow: var(--shadow-soft);
}
.way-card .quote { font-family: var(--disp); font-weight: 400; font-size: 23px; line-height: 1.35; color: var(--ink); letter-spacing: -.01em; }
.way-card .cite { margin-top: 16px; font-family: var(--script); font-size: 22px; color: var(--plum); }

/* ── Reviews wall ──────────────────────────────────────────────── */
.rev-head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 34px; margin-bottom: 30px; }
.rev-score { display: flex; align-items: center; gap: 14px; }
.rev-score .num { font-family: var(--disp); font-weight: 700; font-size: 52px; line-height: 1; color: var(--ink); }
.rev-score .meta { font-size: 15px; color: var(--ink-2); }
.rev-score .meta b { color: var(--ink); }
.gbadge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; color: var(--ink-2); background: var(--cream-2); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 8px 14px; }
.rev-grid { columns: 3 280px; column-gap: 18px; }
.rev-card {
  break-inside: avoid; background: var(--cream-2); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 20px; margin-bottom: 18px; box-shadow: var(--shadow-soft);
}
.rev-top { display: flex; align-items: center; gap: 11px; margin-bottom: 10px; }
.rev-av { width: 42px; height: 42px; border-radius: 50%; color: #fff; display: grid; place-items: center; font-family: var(--disp); font-weight: 600; font-size: 18px; flex-shrink: 0; }
.rev-name { font-weight: 800; font-size: 15px; color: var(--ink); line-height: 1.2; }
.rev-date { font-size: 12px; color: var(--ink-3); }
.rev-stars { margin-bottom: 8px; }
.rev-text { font-size: 15px; color: var(--ink); line-height: 1.6; }
.rev-g { margin-top: 12px; font-size: 12px; color: var(--ink-3); display: inline-flex; align-items: center; gap: 6px; }

/* ── Visit / closing CTA band ──────────────────────────────────── */
.visit { background: var(--plum); color: #fff; border-radius: 28px; padding: 56px 48px; text-align: center; position: relative; overflow: hidden; }
.visit::after { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 320px; background: radial-gradient(50% 100% at 50% 0, rgba(240,180,41,.28), transparent 70%); pointer-events: none; }
.visit > * { position: relative; z-index: 1; }
.visit h2 { font-family: var(--disp); font-weight: 600; font-size: clamp(28px, 4vw, 42px); line-height: 1.05; letter-spacing: -.015em; margin-bottom: 12px; }
.visit p { font-size: 18px; color: #f3e3f1; max-width: 50ch; margin: 0 auto 14px; }
.visit-tracks { display: inline-flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 6px 0 26px; }
.visit-track { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); border-radius: var(--r-pill); padding: 8px 16px; font-weight: 800; font-size: 14px; }
.visit-track b { color: var(--yellow); }
.visit .btn-cta { box-shadow: 0 8px 24px rgba(0,0,0,.22); }
.visit-sign { display: block; margin-top: 22px; font-family: var(--script); font-size: 24px; color: #ffe4f1; }
@media (max-width: 640px) { .visit { padding: 44px 24px; border-radius: 22px; } }

/* ── FAQ (AEO) ─────────────────────────────────────────────────── */
.faq { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 4px; font-family: var(--disp); font-weight: 500; font-size: 19px; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--plum); }
.faq-i { width: 20px; height: 20px; flex-shrink: 0; position: relative; }
.faq-i::before, .faq-i::after { content: ""; position: absolute; background: var(--ink-3); border-radius: 2px; transition: transform .2s var(--ease); }
.faq-i::before { left: 0; right: 0; top: 9px; height: 2px; }
.faq-i::after { top: 0; bottom: 0; left: 9px; width: 2px; }
.faq-item[open] .faq-i::after { transform: scaleY(0); }
.faq-item[open] summary { color: var(--plum); }
.faq-a { font-size: 16px; color: var(--ink-2); line-height: 1.7; padding: 0 4px 22px; max-width: 68ch; }
.faq-a strong { color: var(--ink); font-weight: 700; }

/* ── Footer ────────────────────────────────────────────────────── */
.site-footer { background: var(--ink); color: #e8ddE8; padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }
.footer-brand .brand-word { color: #fff; }
.footer-brand .brand-word span { color: var(--teal); }
.footer-brand p { color: #b6a6b6; font-size: 14.5px; margin-top: 12px; max-width: 38ch; }
.footer-col h4 { font-family: var(--body); font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.footer-col a, .footer-col p { color: #cdbecd; font-size: 15px; display: block; margin-bottom: 9px; }
.footer-col a:hover { color: #fff; }
.footer-base { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.10); display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; font-size: 13px; color: #9d8e9d; }
.footer-base a { color: #9d8e9d; }
.footer-base .built { font-family: var(--script); font-size: 17px; color: var(--teal); }

/* Bee float accent (decorative, respects reduced motion) */
@keyframes drift { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(3deg); } }
.bee-accent { animation: drift 5s var(--ease) infinite; transform-origin: center; }
