/* ══════════════════════════════════════════════════════════════════
   Little Way Playschool — front office
   Brand register. Cream surface, the six brand colors as named roles,
   Quicksand / Urbanist / Caveat. 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 — blueprint-exact (admin.littlewayplayschool.com/blueprint#branding).
     Five client colors, kept exact. Teal is the lead. Pink + Gold are the true
     names; --magenta / --yellow kept as aliases so existing components hold. */
  --teal:#4BC2C3;       --teal-deep:#2AA5A6;
  --pink:#E75480;       --pink-deep:#D23A6A;
  --gold:#EBB453;       --gold-deep:#CE9A2E;
  --plum:#AB5B92;       --plum-deep:#8E4A7B;
  --green:#9BC660;      --green-deep:#7CAA43;

  /* Aliases (legacy component names → true brand roles) */
  --magenta:var(--pink);      --magenta-deep:var(--pink-deep);
  --yellow:var(--gold);       --yellow-deep:var(--gold-deep);

  /* Surfaces — near-white primary #FEFAF4, beige #FAEEDB. Never pure white in body copy. */
  --cream:#FEFAF4;      --cream-2:#FFFFFF;   --cream-sink:#FAEEDB;
  --beige:#FAEEDB;
  --paper:#FFFFFFcc;

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

  /* Type — everything Quicksand; variation is weight only (300–700). */
  --disp:'Quicksand','Trebuchet MS',system-ui,sans-serif;
  --body:'Quicksand',system-ui,-apple-system,sans-serif;
  --script:'Quicksand',system-ui,sans-serif;

  /* 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; }

/* Dark ring reads on cream + all the light brand blocks; overridden to a light
   ring on the dark plum blocks so focus is always visible. */
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 5px; }
.ub--plum :focus-visible, .urev :focus-visible { outline-color: #FFFDF7; }

.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; display: block; }
@media (max-width: 600px) { .brand-lockup img { height: 34px; } }
.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: 22px; }
.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: 22px; }
.nav-links a[aria-current="page"] { color: var(--plum-deep); }
.nav-cta { min-height: 44px; padding: 11px 20px; font-size: 15px; }

/* Mobile menu (hamburger + drop panel) */
.nav-toggle {
  display: none; width: 44px; height: 44px; padding: 0; margin-right: -8px;
  border: none; background: transparent; cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .22s var(--ease), opacity .18s var(--ease); }
.nav-panel { display: none; }

@media (max-width: 860px) {
  .header-in { height: 64px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-panel { display: block; border-top: 1px solid var(--border); background: var(--cream-2); box-shadow: var(--shadow-soft); }
  .nav-panel[hidden] { display: none; }
  .nav-panel-in { max-width: var(--wrap); margin: 0 auto; padding: 8px 20px 18px; }
  .nav-panel a:not(.btn) { display: block; padding: 14px 4px; font-weight: 700; font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--border); }
  .nav-panel a:not(.btn):hover { color: var(--plum); text-decoration: none; }
  .nav-panel a[aria-current="page"] { color: var(--plum-deep); }
  .nav-panel .btn { margin-top: 16px; width: 100%; }
}

/* ── 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; }

/* ══════════════════════════════════════════════════════════════════
   Interior pages (About, programs, pathway, getting started)
   Built on the same tokens as the homepage; new components only.
   ══════════════════════════════════════════════════════════════════ */

/* ── Page hero: lighter than the homepage, sets the topic ── */
.page-hero { position: relative; padding: 56px 0 44px; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: -30% 40% auto -15%; height: 380px; z-index: 0;
  background:
    radial-gradient(44% 60% at 20% 30%, rgba(56,199,201,.18), transparent 70%),
    radial-gradient(40% 55% at 72% 20%, rgba(232,74,138,.13), transparent 72%);
  pointer-events: none; filter: blur(6px);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--disp); font-weight: 600;
  font-size: clamp(32px, 5.2vw, 52px); line-height: 1.05; letter-spacing: -.02em;
  color: var(--ink); margin: 10px 0 16px; max-width: 18ch;
}
.page-hero h1 .turn { color: var(--plum); }
.page-hero .lede { font-size: clamp(17px, 2vw, 21px); color: var(--ink-2); max-width: 54ch; line-height: 1.55; }
.page-hero .hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.crumb { font-size: 13px; font-weight: 700; color: var(--ink-3); }
.crumb a { color: var(--ink-3); } .crumb a:hover { color: var(--plum); }

/* ── Long-form prose (About, notes) ── */
.prose { max-width: 68ch; }
.prose > p { font-size: 17.5px; color: var(--ink-2); line-height: 1.75; margin-bottom: 18px; }
.prose > p.lead { font-size: clamp(19px,2.2vw,23px); color: var(--ink); font-weight: 500; line-height: 1.5; margin-bottom: 22px; }
.prose > p strong { color: var(--ink); font-weight: 700; }
.prose h3 {
  font-family: var(--disp); font-weight: 600; font-size: 23px; color: var(--ink);
  letter-spacing: -.01em; margin: 34px 0 10px;
}
.prose .kicker { font-family: var(--script); font-size: 26px; color: var(--plum); line-height: 1.2; margin-bottom: 2px; }

/* Two-column narrative: text + a pulled quote or fact aside (reuses .way grid feel) */
.split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 52px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 30px; } }
.split--center { align-items: center; }

/* Aside card: a fact, a quote, a small stack */
.aside-card { background: var(--cream-2); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px 30px; box-shadow: var(--shadow-soft); }
.aside-card .big { font-family: var(--disp); font-weight: 700; font-size: 44px; line-height: 1; color: var(--plum-deep); }
.aside-card .big-sub { font-size: 15px; color: var(--ink-2); margin-top: 8px; }
.aside-card .quote { font-family: var(--disp); font-weight: 400; font-size: 21px; line-height: 1.4; color: var(--ink); letter-spacing: -.01em; }
.aside-card .cite { margin-top: 14px; font-family: var(--script); font-size: 21px; color: var(--plum); }

/* ── Pillars / values / feature grid (auto-fit, per-color accent) ── */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.pillar {
  background: var(--cream-2); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 24px 24px 26px; box-shadow: var(--shadow-soft);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.pillar:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.pillar .dot { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; margin-bottom: 14px; font-family: var(--disp); font-weight: 700; font-size: 15px; color: #fff; }
.pillar h3 { font-family: var(--disp); font-weight: 600; font-size: 18px; color: var(--ink); margin-bottom: 4px; }
.pillar p { font-size: 15px; color: var(--ink-2); line-height: 1.55; }

/* Compact value chips (six core values) */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.value {
  display: flex; align-items: center; gap: 12px;
  background: var(--cream-2); border: 1px solid var(--border); border-radius: var(--r-md); padding: 15px 18px;
}
.value .vi { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.value b { font-family: var(--disp); font-weight: 600; font-size: 17px; color: var(--ink); }

/* ── Class detail cards (richer than the homepage rung) ── */
.classes { display: grid; gap: 20px; }
.class-detail {
  display: grid; grid-template-columns: minmax(0,1fr) 210px; gap: 8px 40px;
  background: var(--cream-2); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 30px 32px; box-shadow: var(--shadow-soft); position: relative; overflow: hidden;
}
.class-detail::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--teal); opacity: 0; }
.class-detail__head { grid-column: 1; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.class-detail__head h3 { font-family: var(--disp); font-weight: 600; font-size: 24px; color: var(--ink); letter-spacing: -.01em; }
.class-detail__body { grid-column: 1; }
.class-detail__body p { font-size: 16px; color: var(--ink-2); line-height: 1.65; margin: 12px 0 0; }
.class-detail__body .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag { font-size: 12.5px; font-weight: 700; color: var(--ink-2); background: var(--cream-sink); border-radius: var(--r-pill); padding: 6px 13px; }
.class-detail__price { grid-column: 2; grid-row: 1 / span 2; align-self: start; text-align: right; border-left: 1px solid var(--border); padding-left: 36px; }
.class-detail__price .amt { font-family: var(--disp); font-weight: 700; font-size: 30px; line-height: 1; color: var(--ink); }
.class-detail__price .per { font-size: 14px; color: var(--ink-3); margin-top: 6px; }
.class-detail__price .sched { font-size: 13.5px; color: var(--ink-2); margin-top: 14px; line-height: 1.5; }
@media (max-width: 720px) {
  .class-detail { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .class-detail__price { grid-column: 1; grid-row: auto; text-align: left; border-left: none; border-top: 1px solid var(--border); padding-left: 0; padding-top: 18px; }
  .class-detail__price .sched { margin-top: 8px; }
}

/* ── Numbered steps (enrollment journey) ── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; counter-reset: step; }
.step { position: relative; background: var(--cream-2); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px 24px 24px; box-shadow: var(--shadow-soft); }
.step .n { font-family: var(--disp); font-weight: 700; font-size: 15px; color: #fff; background: var(--teal-deep); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 14px; }
.step:nth-child(2) .n { background: var(--magenta); }
.step:nth-child(3) .n { background: var(--plum); }
.step:nth-child(4) .n { background: var(--green-deep); }
.step:nth-child(5) .n { background: var(--yellow-deep); }
.step h3 { font-family: var(--disp); font-weight: 600; font-size: 18px; color: var(--ink); margin-bottom: 4px; }
.step p { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }

/* ── Pathway progression (Seeds → ... → Big School) ── */
.pathway { display: flex; flex-wrap: wrap; align-items: stretch; gap: 12px; }
.path-stop {
  flex: 1 1 150px; background: var(--cream-2); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 22px 20px; box-shadow: var(--shadow-soft); position: relative;
}
.path-stop .st-pill { margin-bottom: 12px; }
.path-stop h3 { font-family: var(--disp); font-weight: 600; font-size: 17px; color: var(--ink); margin-bottom: 4px; }
.path-stop p { font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.path-stop--goal { background: var(--plum); border-color: var(--plum-deep); }
.path-stop--goal h3, .path-stop--goal p { color: #fff; }
.path-stop--goal p { color: #f0dced; }
.path-arrow { align-self: center; color: var(--ink-3); flex: 0 0 auto; font-size: 20px; }
@media (max-width: 760px) { .path-arrow { transform: rotate(90deg); align-self: center; } }

/* ── Info blocks (calendar / location / contact) ── */
.infoblocks { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.infoblock { background: var(--cream-2); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px 26px 28px; box-shadow: var(--shadow-soft); }
.infoblock h3 { font-family: var(--disp); font-weight: 600; font-size: 19px; color: var(--ink); margin-bottom: 12px; }
.infoblock p, .infoblock a { font-size: 15.5px; color: var(--ink-2); line-height: 1.65; }
.infoblock a { color: var(--teal-deep); font-weight: 700; display: inline-block; }
.infoblock .row { display: flex; gap: 10px; padding: 7px 0; border-top: 1px solid var(--border); }
.infoblock .row:first-of-type { border-top: none; }
.infoblock .row b { font-family: var(--disp); font-weight: 600; color: var(--ink); min-width: 62px; }

/* ── Callout note (a note for families) ── */
.callout {
  background: linear-gradient(180deg, #FFF8E6, #FFFDF7); border: 1px solid #F0DFAE;
  border-radius: var(--r-lg); padding: 28px 30px; box-shadow: var(--shadow-soft);
}
.callout h3 { font-family: var(--disp); font-weight: 600; font-size: 20px; color: var(--ink); margin-bottom: 8px; }
.callout p { font-size: 16px; color: var(--ink-2); line-height: 1.7; }
.callout .sign { font-family: var(--script); font-size: 20px; color: var(--yellow-deep); display: block; margin-top: 10px; }

/* Map embed */
.map-embed { border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-soft); line-height: 0; }
.map-embed iframe { width: 100%; height: 340px; border: 0; display: block; }

/* Utility */
.center { text-align: center; }
.mt-cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.mt-cta.center { justify-content: center; }
.section-tight { padding: 44px 0; }

/* ══════════════════════════════════════════════════════════════════
   Block layout — loading sequence, left nav rail, bento grid.
   Calm register: cream tiles, hand-drawn brand-color icons, color as accent.
   ══════════════════════════════════════════════════════════════════ */

/* ── Loading sequence: a seed grows into a bloom, then lifts away ── */
#loader {
  position: fixed; inset: 0; z-index: 2000; background: var(--cream);
  display: grid; place-items: center;
  animation: loaderOut .7s var(--ease) 2.25s forwards;
}
#loader.skip { display: none; }
/* soft brand glow that swells as the flower opens */
#loader::before { content: ""; position: absolute; width: 420px; height: 420px; max-width: 82vw; max-height: 82vw; border-radius: 50%;
  background: radial-gradient(circle at 50% 46%, rgba(75,194,195,.20), rgba(235,180,83,.12) 48%, transparent 70%);
  filter: blur(14px); opacity: 0; transform: scale(.6); animation: bloomGlow 1.6s var(--ease) 1s forwards; }
.loader-bee { position: relative; width: min(260px, 56vw); height: auto; opacity: 0; animation: loaderFade .5s var(--ease) .1s forwards; }
@keyframes loaderFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bloomGlow { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: scale(1); } }
@keyframes loaderOut { to { opacity: 0; visibility: hidden; transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { #loader { display: none; } }

/* ── Shell: narrow left nav rail + content (units.gr style) ── */
.shell { display: grid; grid-template-columns: 138px 1fr; min-height: 100vh; }
.side-nav { position: sticky; top: 0; height: 100vh; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding: 16px 12px; background: var(--cream-2); border-right: 1px solid var(--border); z-index: 50; }
.side-nav__brand { display: block; margin-bottom: 2px; }
.side-nav__brand img { width: 100%; height: auto; }
.side-nav nav { display: grid; grid-template-columns: 1fr; gap: 8px; }
.navlink { display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 1 / 1; padding: 11px 12px; border-radius: 14px; color: #fff; transition: box-shadow .18s var(--ease); }
.navlink .nl-top { display: flex; align-items: flex-start; justify-content: space-between; }
.navlink .nl-num { font-family: var(--disp); font-weight: 700; font-size: 13px; letter-spacing: .02em; }
.navlink .nl-arrow { font-size: 15px; line-height: 1; opacity: .85; }
.navlink .nl-label { font-weight: 700; font-size: 12.5px; line-height: 1.12; }
.navlink:hover { box-shadow: var(--shadow-soft); text-decoration: none; }
.navlink[aria-current="page"] { box-shadow: inset 0 0 0 2.5px rgba(255,255,255,.8); }
.nav--home { background: var(--teal-deep); }
.nav--about { background: var(--plum); }
.nav--playgroup { background: var(--magenta); }
.nav--early { background: var(--green-deep); }
.nav--pathway { background: var(--yellow-deep); }
.nav--start { background: var(--teal); }
.side-nav__foot { margin-top: auto; display: flex; flex-direction: column; gap: 14px; padding-top: 18px; }
.side-nav__foot .btn { width: 100%; }
.side-nav__contact { font-size: 12.5px; color: var(--ink-3); line-height: 1.6; }
.side-nav__contact a { color: var(--ink-3); }
.side-nav__contact a:hover { color: var(--plum); }
.content { min-width: 0; display: flex; flex-direction: column; }
.content > main { flex: 1; padding: 28px 30px 40px; }

/* ── Mobile app bar + off-canvas nav ── */
.appbar { display: none; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 16px; border-bottom: 1px solid var(--border); background: rgba(251,247,236,.92); backdrop-filter: saturate(1.2) blur(8px); -webkit-backdrop-filter: saturate(1.2) blur(8px); position: sticky; top: 0; z-index: 60; }
.appbar { padding: 8px 16px; }
.appbar .logo { height: 44px; width: auto; }
.menu-btn { width: 44px; height: 44px; border: none; background: transparent; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 0; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-scrim { display: none; }
@media (max-width: 900px) {
  .shell { grid-template-columns: 1fr; }
  .appbar { display: flex; }
  .side-nav { position: fixed; top: 0; left: 0; bottom: 0; width: 284px; padding: 76px 16px 20px; transform: translateX(-100%); transition: transform .3s var(--ease); box-shadow: 0 20px 60px rgba(58,46,58,.22); }
  .side-nav__brand { display: none; }
  .side-nav nav { grid-template-columns: 1fr 1fr; gap: 10px; }
  .side-nav__foot .btn { min-height: 52px; font-size: 15px; }
  .shell.nav-open .side-nav { transform: translateX(0); }
  .shell.nav-open .nav-scrim { display: block; position: fixed; inset: 0; background: rgba(58,46,58,.35); z-index: 45; }
  .content > main { padding: 18px 16px 34px; }
}

/* ── Bento grid ── */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; grid-auto-rows: minmax(154px, auto); grid-auto-flow: row dense; }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; background: var(--cream-2); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; color: var(--ink); text-decoration: none; box-shadow: var(--shadow-soft); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease); }
a.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); text-decoration: none; }
.tile__ic { width: 44px; height: 44px; margin-bottom: 16px; }
.tile h3 { font-family: var(--disp); font-weight: 600; font-size: 21px; letter-spacing: -.01em; color: var(--ink); }
.tile p { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; margin-top: 5px; }
.tile .arrow { margin-top: auto; padding-top: 16px; font-weight: 800; font-size: 14px; color: var(--teal-deep); }

/* Soft brand tints — color as accent, not a sea of cream */
.tile--magenta { background: #FCEEF4; border-color: #F4D6E4; }
.tile--green   { background: #F1F7E4; border-color: #DCEBC0; }
.tile--plum    { background: #F5ECF4; border-color: #E6D3E4; }
.tile--yellow  { background: #FBF1DA; border-color: #EFDFB4; }
.tile--teal    { background: #E7F7F7; border-color: #C7ECEC; }
a.tile--magenta:hover { border-color: var(--magenta); }
a.tile--green:hover   { border-color: var(--green-deep); }
a.tile--plum:hover    { border-color: var(--plum); }
a.tile--yellow:hover  { border-color: var(--yellow-deep); }
a.tile--teal:hover    { border-color: var(--teal); }

/* spans */
.tile--hero { grid-column: span 2; grid-row: span 2; justify-content: center; background: var(--cream-2); }
.tile--wide { grid-column: span 2; }

/* hero tile */
.tile--hero::before { content: ""; position: absolute; inset: auto -8% -34% 18%; height: 66%;
  background:
    radial-gradient(46% 70% at 28% 45%, rgba(56,199,201,.20), transparent 70%),
    radial-gradient(44% 66% at 76% 60%, rgba(232,74,138,.15), transparent 72%),
    radial-gradient(52% 72% at 96% 30%, rgba(240,180,41,.17), transparent 72%);
  filter: blur(6px); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; }
.tile--hero h1 { font-family: var(--disp); font-weight: 600; font-size: clamp(30px, 3.5vw, 48px); line-height: 1.05; letter-spacing: -.02em; color: var(--ink); max-width: 15ch; }
.tile--hero h1 .turn { color: var(--plum); }
.tile--hero .sub { font-size: 17px; color: var(--ink-2); margin: 14px 0 0; max-width: 36ch; }
.tile--hero .btn { margin-top: 24px; }
.tile--note { background: var(--cream-sink); }

/* reviews tile */
.tile--reviews .score { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.tile--reviews .score b { font-family: var(--disp); font-weight: 700; font-size: 40px; line-height: 1; color: var(--ink); }
.tile--reviews .rq { font-size: 14.5px; color: var(--ink); line-height: 1.5; margin-top: 8px; }

/* note tile */
.tile--note p.lead { font-size: 17px; color: var(--ink); font-weight: 500; line-height: 1.55; margin-top: 0; }
.tile--note .sign { font-family: var(--script); font-size: 21px; color: var(--plum); margin-top: 8px; }

/* track record tile */
.tile--track .big { font-family: var(--disp); font-weight: 700; font-size: 46px; line-height: 1; color: var(--plum-deep); }
.tile--track .schools { font-size: 13px; color: var(--ink-2); margin-top: 8px; line-height: 1.5; }

/* magenta CTA tile */
.tile--cta { background: var(--magenta); border-color: var(--magenta-deep); box-shadow: 0 8px 24px rgba(232,74,138,.28); }
.tile--cta h3, .tile--cta p, .tile--cta .arrow { color: #fff; }

@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile--hero { grid-column: span 2; grid-row: auto; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .tile, .tile--hero, .tile--wide { grid-column: auto; grid-row: auto; }
}

/* ── Canvas footer (contact lives here now, not in the nav) ── */
.site-foot { border-top: 1px solid var(--border); padding: 22px 30px 26px; }
.foot-contact { font-size: 13.5px; color: var(--ink-2); line-height: 1.65; max-width: 78ch; }
.foot-contact b { font-family: var(--disp); font-weight: 600; color: var(--ink); }
.foot-contact a { color: var(--teal-deep); font-weight: 700; }
.foot-base { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; font-size: 13px; color: var(--ink-3); }
.foot-base .script { font-size: 17px; color: var(--plum); }
@media (max-width: 900px) { .site-foot { padding: 20px 16px 24px; } }

/* ── Subtle scroll reveal (units.gr feel) ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ── Homepage: chat-first hero, then scroll to the blocks ── */
.chat-hero { display: grid; grid-template-columns: 1.02fr 1fr; gap: 44px; align-items: center; min-height: calc(100vh - 60px); padding: 8px 0 24px; }
.chat-hero__intro .eyebrow { display: inline-block; margin-bottom: 12px; }
.chat-hero__intro h1 { font-family: var(--disp); font-weight: 600; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -.02em; color: var(--ink); max-width: 16ch; }
.chat-hero__intro h1 .turn { color: var(--plum); }
.chat-hero__intro .lede { font-size: 18px; color: var(--ink-2); max-width: 42ch; margin-top: 16px; line-height: 1.55; }
.chat-hero__intro .scroll-hint { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; font-weight: 800; font-size: 13.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.chat-hero__intro .scroll-hint .dn { animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
.chat-hero .chatcard { max-width: none; margin: 0; width: 100%; }
.chat-hero .chat-log { min-height: 340px; }
@media (max-width: 900px) {
  .chat-hero { grid-template-columns: 1fr; min-height: 0; gap: 22px; padding: 4px 0 20px; }
  .chat-hero__intro h1 { max-width: none; }
}
.more { padding-top: 8px; }
.more .section-head { margin-bottom: 22px; }

/* Google reviews proof in the landing fold (social proof, with the hero + chat) */
.hero-proof { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); max-width: 46ch; }
.hero-proof .hp-row { display: flex; align-items: center; gap: 10px; }
.hero-proof .hp-row b { font-family: var(--disp); font-weight: 700; font-size: 22px; color: var(--ink); }
.hero-proof .stars { color: var(--yellow); }
.hero-proof .hp-src { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); font-weight: 700; }
.hero-proof .hp-quote { font-size: 15px; color: var(--ink-2); line-height: 1.5; margin-top: 9px; }
.hero-proof a { font-weight: 800; font-size: 13.5px; color: var(--teal-deep); display: inline-block; margin-top: 8px; }
.chat-hero__intro .hero-proof + .scroll-hint { margin-top: 22px; }

/* ══════════════════════════════════════════════════════════════════
   Stacked frames on a warm beige page (units.gr "folder" vibe)
   The PAGE scrolls normally; content is a stack of rounded frame-panels.
   The nav stays sticky in the left gutter. Mobile: plain, no frames.
   ══════════════════════════════════════════════════════════════════ */
:root { --frame:#FFFFFF; }

@media (min-width: 901px) {
  body { background: var(--frame); }
  .shell { grid-template-columns: 128px 1fr; align-items: start; }
  .side-nav { position: sticky; top: 0; height: 100vh; background: transparent; border-right: none; overflow: visible; padding: 22px 8px 22px 12px; }
  .content { display: block; padding: 22px 22px 22px 8px; }
  .content > .appbar { display: none; }
  .content > main { padding: 0; }

  /* Each section is its own rounded frame (warm cream card on a white page) */
  .frame { background: var(--cream); border: 1px solid var(--border); border-radius: 26px; box-shadow: 0 2px 6px rgba(58,46,58,.04), 0 14px 34px rgba(58,46,58,.06); padding: 44px; margin-bottom: 22px; }
  .frame:last-child { margin-bottom: 0; }
  main.frame { padding: 40px 46px 46px; }               /* interior pages: one frame wraps content */

  .frame--landing { min-height: calc(100vh - 26px); display: flex; align-items: center; }
  .frame--landing .chat-hero { width: 100%; min-height: 0; padding: 0; }

  .frame--explore { padding: 8px 0 0; margin-bottom: 22px; }
  .hp-head { padding: 0 44px 20px; display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
  .hp-head h2 { font-family: var(--disp); font-weight: 600; font-size: clamp(24px,3vw,34px); letter-spacing: -.015em; color: var(--ink); }
  .hp-head .hp-hint { margin-left: auto; font-weight: 800; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }

  .frame--foot { padding: 0; }
}

/* The one horizontal part: the Explore gallery (desktop + mobile) */
.hgallery { display: flex; gap: 20px; overflow-x: auto; padding: 4px 44px 22px; scroll-snap-type: x proximity; scroll-behavior: smooth; }
.hgallery::-webkit-scrollbar { height: 9px; }
.hgallery::-webkit-scrollbar-track { background: transparent; }
.hgallery::-webkit-scrollbar-thumb { background: var(--border-2); border-radius: 8px; }
.hgallery .tile { flex: 0 0 300px; height: 360px; scroll-snap-align: start; }
.hgallery .tile--tall { flex-basis: 340px; }

@media (max-width: 900px) {
  .hgallery { gap: 16px; padding: 4px 16px 18px; }
  .hgallery .tile { flex: 0 0 78vw; height: 340px; }
  .hp-head { display: flex; align-items: baseline; gap: 12px; padding-bottom: 14px; }
  .hp-head .hp-hint { margin-left: auto; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
}

/* ── School's own class illustrations (growth: seeds → blooms) ── */
.tile-illus { width: 124px; height: 124px; object-fit: contain; margin: -6px 0 8px -6px; }
.class-illus { width: 70px; height: 70px; object-fit: contain; flex-shrink: 0; }
.path-illus { width: 76px; height: 76px; object-fit: contain; margin-bottom: 6px; }
@media (max-width: 720px) { .class-illus { width: 60px; height: 60px; } }

/* ── Landing = a bunch of small frames (message · reviews · chat) ── */
.landing-grid { display: grid; grid-template-columns: 1fr; gap: 22px; margin-bottom: 22px; }
.frame--msg h1 { font-family: var(--disp); font-weight: 600; font-size: clamp(28px,3vw,44px); line-height: 1.05; letter-spacing: -.02em; color: var(--ink); max-width: 18ch; }
.frame--msg h1 .turn { color: var(--plum); }
.frame--msg .lede { font-size: 17px; color: var(--ink-2); margin-top: 16px; line-height: 1.55; max-width: 46ch; }
.frame--msg .scroll-hint { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 800; font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.frame--msg .scroll-hint .dn { animation: nudge 1.6s var(--ease) infinite; }
@keyframes nudge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

.frame--reviews .hp-row { display: flex; align-items: center; gap: 10px; }
.frame--reviews .hp-row b { font-family: var(--disp); font-weight: 700; font-size: 26px; color: var(--ink); }
.frame--reviews .stars { color: var(--yellow); }
.frame--reviews .hp-src { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); font-weight: 700; }
.frame--reviews .hp-quote { font-size: 15.5px; color: var(--ink-2); line-height: 1.55; margin-top: 12px; }
.frame--reviews a { font-weight: 800; font-size: 13.5px; color: var(--teal-deep); display: inline-block; margin-top: 12px; }

@media (min-width: 901px) {
  .landing-grid { grid-template-columns: minmax(0,1fr) minmax(0,1.04fr); grid-template-areas: "msg chat" "rev chat"; gap: 22px; margin-bottom: 22px; }
  .frame--msg { grid-area: msg; display: flex; flex-direction: column; justify-content: center; }
  .frame--reviews { grid-area: rev; display: flex; flex-direction: column; justify-content: center; }
  .frame--chat { grid-area: chat; display: flex; flex-direction: column; }
  .frame--chat .chatcard { background: transparent; border: 0; box-shadow: none; padding: 0; margin: 0; max-width: none; display: flex; flex-direction: column; flex: 1; }
  .frame--chat .chat-log { flex: 1; min-height: 300px; }
}

/* ── Solid color blocks (gallery tiles), not soft tints ── */
.tile h3, .tile .score b, .tile .big, .tile .lead { color: inherit; }
.tile p, .tile .rq, .tile .schools { color: inherit; opacity: .88; }
.tile .arrow { color: inherit; opacity: .96; }
.tile--magenta { background: var(--magenta); color: #fff; border-color: var(--magenta-deep); }
.tile--plum    { background: var(--plum);    color: #fff; border-color: var(--plum-deep); }
.tile--teal    { background: var(--teal);    color: #0f3d3e; border-color: var(--teal-deep); }
.tile--green   { background: var(--green);   color: #163600; border-color: var(--green-deep); }
.tile--yellow  { background: var(--yellow);  color: #4a3200; border-color: var(--yellow-deep); }
.tile--cta     { background: var(--magenta); color: #fff; border-color: var(--magenta-deep); }
.tile--note    { background: #FFFFFF; color: var(--ink); border-color: var(--border-2); }
.tile--note .sign, .tile--note .eyebrow { color: var(--plum); }
a.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); filter: brightness(1.03); }

/* ── Hero message + Google reviews as solid color blocks ── */
.frame--msg { background: var(--teal); border-color: var(--teal-deep); color: #0f3d3e; }
.frame--msg h1, .frame--msg h1 .turn { color: inherit; }
.frame--msg .lede { color: inherit; opacity: .82; }
.frame--msg .scroll-hint { color: inherit; opacity: .72; }
.frame--reviews { background: var(--magenta); border-color: var(--magenta-deep); color: #fff; }
.frame--reviews .hp-row b { color: #fff; }
.frame--reviews .stars { color: var(--yellow); }
.frame--reviews .hp-src { color: rgba(255,255,255,.82); }
.frame--reviews .hp-quote { color: rgba(255,255,255,.94); }
.frame--reviews a { color: #fff; }

/* ── Explore: a stacked jigsaw of solid blocks (no horizontal scroll) ── */
.jigsaw { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: minmax(202px, auto); grid-auto-flow: dense; gap: 22px; padding: 0 44px; }
.jigsaw .tile { height: auto; }
.jigsaw .tile-illus { width: 96px; height: 96px; margin: -2px 0 10px 0; }
.jigsaw .tile--tall { grid-row: span 2; }
.jigsaw .tile--wide { grid-column: span 2; }
.jigsaw .tile--full { grid-column: 1 / -1; }
@media (max-width: 1024px) { .jigsaw { grid-template-columns: repeat(2, 1fr); padding: 0 16px; } }
@media (max-width: 640px)  { .jigsaw { grid-template-columns: 1fr; grid-auto-rows: auto; } .jigsaw .tile--tall, .jigsaw .tile--wide { grid-row: auto; grid-column: auto; } .jigsaw .tile { min-height: 190px; } }
