/* ==========================================================================
   Treasure Kids Place — design system
   --------------------------------------------------------------------------
   Brand colours are set from config/config.php (brand.colors) and injected
   as CSS variables in <head>. The values below are fallbacks.
   ========================================================================== */

:root {
  /* Palette */
  --linen: #FBF6EC;        /* warm cream page background */
  --paper: #FFFDF8;        /* raised surfaces */
  --walnut: #2F3B38;       /* text */
  --walnut-soft: #55635F;  /* secondary text (AA on linen & paper) */
  --garden: #1F5B50;       /* deep teal-green */
  --garden-deep: #164238;
  --moss: #E3EDE3;         /* soft sage surface */
  --honey: #F2B632;        /* golden yellow — primary CTA */
  --honey-soft: #FCEBC0;
  --apricot: #F6C7B4;      /* soft coral/peach */
  --apricot-soft: #FDEDE6;
  --coral: #EE8A6C;        /* decorative only — never text */
  --sky: #E4F0F7;          /* light blue surface */
  --night: #22385A;        /* evening/night in the hours strip */
  --line: #E6DED0;
  --ink-on-gold: #1B3C35;
  --focus: #1F5FBF;

  /* Type */
  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step--1: 0.9rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.4rem, 1.2rem + 0.8vw, 1.7rem);
  --step-3: clamp(1.8rem, 1.4rem + 1.6vw, 2.5rem);
  --step-4: clamp(2.3rem, 1.6rem + 3vw, 3.7rem);

  /* Space & shape */
  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 32px;
  --shadow: 0 1px 2px rgba(58, 46, 38, .06), 0 10px 30px -12px rgba(58, 46, 38, .18);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body {
  margin: 0;
  background: var(--linen);
  color: var(--walnut);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  overflow-x: hidden;
  overflow-x: clip;
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--garden-deep); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--garden); text-decoration-thickness: 2px; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .6em; font-weight: 400; }
h1, h2 { font-family: var(--font-display); letter-spacing: -.01em; color: var(--garden-deep); }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-weight: 700; line-height: 1.3; }
p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
li + li { margin-top: .35em; }
strong { font-weight: 700; }
main:focus { outline: none; }

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

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--walnut); color: #fff; padding: .7rem 1rem; border-radius: var(--r-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tint { background: var(--paper); }
.section--moss { background: var(--moss); }
.section__head { max-width: 42rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.lede { font-size: var(--step-1); color: var(--walnut-soft); line-height: 1.55; }
.muted { color: var(--walnut-soft); }
.small { font-size: var(--step--1); }

.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.2fr .8fr; }
  .split--wide-right { grid-template-columns: .85fr 1.15fr; }
}

.grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid--2, .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.4rem;
  border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary { background: var(--honey); color: var(--ink-on-gold); box-shadow: 0 6px 16px -8px rgba(242, 182, 50, .9); }
.btn--primary:hover { background: #F6C552; color: var(--ink-on-gold); }
.btn--teal { background: var(--garden); color: #fff; }
.btn--teal:hover { background: var(--garden-deep); color: #fff; }
.btn--ghost { border-color: currentColor; color: var(--garden-deep); background: transparent; }
.btn--ghost:hover { background: var(--moss); color: var(--garden-deep); }

.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.site-nav__cta { white-space: nowrap; }
.text-link { font-weight: 600; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--garden-deep); color: #F2F5EF; font-size: var(--step--1); }
.topbar__inner { display: flex; justify-content: space-between; gap: 1rem; padding-block: .45rem; }
.topbar p { margin: 0; }
.topbar a { color: #fff; font-weight: 600; text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: #fff; }
.topbar__contact { white-space: nowrap; } /* keep the phone number on one line when the strip wraps */
.topbar__time { white-space: nowrap; } /* each schedule wraps as a whole, never mid-time */
.topbar .dot { display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--honey); margin-right: .35rem; vertical-align: .08em; }
@media (max-width: 560px) { .topbar__hours { display: none; } .topbar__inner { justify-content: center; } }

.site-header { background: var(--linen); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand img { height: 48px; width: auto; max-width: none; }
@media (min-width: 768px) { .brand img { height: 52px; } }
@media (min-width: 1024px) { .brand img { height: 56px; } }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; }
.site-nav li + li { margin-top: 0; }
.site-nav a:not(.btn) {
  display: block; padding: .55rem .7rem; border-radius: var(--r-sm);
  color: var(--walnut); text-decoration: none; font-weight: 500; white-space: nowrap;
}
.site-nav a:not(.btn):hover { background: var(--moss); color: var(--garden-deep); }
.site-nav a[aria-current="page"] { color: var(--garden-deep); box-shadow: inset 0 -2px 0 var(--honey); border-radius: 0; }

.nav-toggle {
  display: none; align-items: center; gap: .6rem; min-height: 48px; padding: .5rem .9rem;
  background: transparent; border: 2px solid var(--walnut); border-radius: 999px;
  font: 600 1rem var(--font-body); color: var(--walnut); cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; content: "";
  transition: transform .2s ease;
}
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Desktop */
@media (min-width: 1181px) {
  .site-nav { display: flex; align-items: center; gap: 1rem; }
  .site-nav__home { display: none; }
}
/* Mobile / tablet */
@media (max-width: 1180px) {
  .js .nav-toggle { display: inline-flex; }
  .site-nav { width: 100%; }
  .js .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 1rem var(--gutter) 1.5rem; display: none;
    max-height: calc(100vh - 110px); overflow-y: auto;
  }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; margin-bottom: 1rem; }
  .site-nav a:not(.btn) { padding: .85rem .5rem; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .site-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--honey); padding-left: 1rem; }
  .site-nav__cta { width: 100%; }
  .no-js .site-header__inner { flex-wrap: wrap; padding-block: .75rem; }
  .no-js .site-nav ul { flex-direction: row; flex-wrap: wrap; }
  .no-js .site-nav a:not(.btn) { border: 0; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem); position: relative; overflow: clip; isolation: isolate; }
.hero__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 960px) { .hero__grid { grid-template-columns: 1.05fr .95fr; } }
.hero h1 { max-width: 14ch; margin-bottom: .45em; }
.hero__text { font-size: var(--step-1); line-height: 1.55; color: var(--walnut-soft); max-width: 36rem; margin-bottom: 1.75rem; }
.hero__facts { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: var(--step--1); color: var(--walnut-soft); }
.hero__facts li { margin: 0; display: flex; align-items: center; gap: .45rem; }
.hero__facts svg { width: 18px; height: 18px; color: var(--garden); flex: none; }

.hero__media { position: relative; }
.hero__photo { border-radius: 46% 54% 42% 58% / 38% 40% 60% 62%; overflow: hidden; }
.hero__photo img, .hero__photo .ph { width: 100%; height: 100%; object-fit: cover; }
.hero__badge {
  position: absolute; left: -.5rem; bottom: 8%;
  background: var(--paper); border-radius: var(--r-md); box-shadow: var(--shadow);
  padding: .9rem 1.1rem; max-width: 15rem; font-size: var(--step--1); line-height: 1.4;
}
.hero__badge strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; color: var(--garden-deep); }
.hero__shape { position: absolute; z-index: -1; border-radius: 50%; }
.hero__shape--sun { width: 7rem; height: 7rem; background: var(--honey-soft); top: -1.5rem; right: 6%; }
.hero__shape--peach { width: 11rem; height: 11rem; background: var(--apricot-soft); bottom: -2rem; right: -2rem; }

/* ---------- Values word row ---------- */
.values-words {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: .1em .55em; justify-content: center;
  font-family: var(--font-display); font-size: clamp(1.6rem, 1rem + 3vw, 3.2rem); line-height: 1.15;
}
.values-words li { margin: 0; }
.values-words li:nth-child(6n+1) { color: var(--garden-deep); }
.values-words li:nth-child(6n+2) { color: #B06A4F; }
.values-words li:nth-child(6n+3) { color: var(--walnut); }
.values-words li:nth-child(6n+4) { color: #9A6B12; }
.values-words li:nth-child(6n+5) { color: var(--garden); }
.values-words li:nth-child(6n+6) { color: var(--night); }

/* ---------- Cards ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.5rem; }
.card h3 { margin-bottom: .4em; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.value-card { padding: 1.6rem 1.5rem; border-radius: var(--r-md); }
.value-card:nth-child(4n+1) { background: var(--moss); }
.value-card:nth-child(4n+2) { background: var(--honey-soft); }
.value-card:nth-child(4n+3) { background: var(--apricot-soft); }
.value-card:nth-child(4n+4) { background: var(--sky); }
.value-card svg { width: 56px; height: 56px; padding: 12px; margin-bottom: 1rem; color: var(--garden); background: rgba(255,255,255,.75); border-radius: 50%; }
.value-card h3 { font-size: 1.15rem; }
.value-card p { margin: 0; font-size: .98rem; }

.program-card {
  display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-lg) var(--r-lg) var(--r-md) var(--r-md); overflow: hidden;
}
.program-card__media img, .program-card__media .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; }
.program-card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.program-card__ages { display: inline-block; align-self: flex-start; background: var(--moss); color: var(--garden-deep); font-weight: 600; font-size: var(--step--1); padding: .2rem .7rem; border-radius: 999px; margin-bottom: .75rem; }
.program-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; }
.program-card p { flex: 1; }
.program-card a { font-weight: 600; }

/* ---------- Photo placeholder ---------- */
.ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem;
  width: 100%; padding: 1rem; text-align: center;
  background:
    repeating-linear-gradient(135deg, rgba(62, 107, 79, .05) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, var(--moss), var(--apricot-soft));
  color: var(--walnut-soft); border-radius: var(--r-md);
}
.ph__icon { width: 44px; height: 44px; color: var(--garden); }
.ph__text { font-weight: 600; font-size: .95rem; max-width: 22ch; }
.ph__file { font-size: .75rem; opacity: .85; word-break: break-all; }

/* ---------- The day strip (extended hours) ---------- */
.hours-block { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 3rem); }
.hours-block__top { display: grid; gap: 1.5rem; margin-bottom: 2rem; }
@media (min-width: 860px) { .hours-block__top { grid-template-columns: 1.3fr 1fr; align-items: end; } }
.hours-times { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.25rem; margin: 0; }
.hours-times dt { font-weight: 700; }
.hours-times dd { margin: 0; font-family: var(--font-display); font-size: 1.2rem; }

.daystrip { position: relative; padding-top: 2.4rem; }
.daystrip__track { position: relative; height: 56px; border-radius: 999px; background: #EFE8DC; overflow: hidden; }
.daystrip__open {
  position: absolute; top: 0; bottom: 0; left: 22.92%; width: 76.04%;
  background: linear-gradient(90deg, var(--apricot) 0%, var(--honey) 22%, #EFC867 45%, var(--coral) 68%, #5C5470 82%, var(--night) 100%);
  border-radius: 999px;
}
.daystrip__ticks { position: relative; height: 1.6rem; margin-top: .5rem; font-size: var(--step--1); color: var(--walnut-soft); }
.daystrip__ticks span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.daystrip__ticks span:first-child { transform: none; }
.daystrip__ticks span:last-child { transform: translateX(-100%); }
.daystrip__marker { position: absolute; top: 0; transform: translateX(-50%); font-weight: 700; font-size: var(--step--1); white-space: nowrap; }
.daystrip__marker::after { content: ""; display: block; width: 2px; height: 1.1rem; margin: .15rem auto 0; background: var(--walnut); }
.daystrip__marker--open { left: 22.92%; }
.daystrip__marker--close { left: 98.96%; transform: translateX(-100%); text-align: right; }
.daystrip__marker--close::after { margin-right: 0; }
.daystrip__phases { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .75rem; }
@media (min-width: 700px) { .daystrip__phases { grid-template-columns: repeat(4, 1fr); } }
.daystrip__phases li { margin: 0; padding-left: 1rem; border-left: 4px solid var(--c, var(--honey)); font-size: .97rem; }
.daystrip__phases strong { display: block; }

/* ---------- Steps (real sequences only) ---------- */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 1rem; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps > li { counter-increment: step; margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.5rem 1.4rem; position: relative; }
.steps > li::before {
  content: counter(step); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--garden); color: #fff; font-family: var(--font-display); font-size: 1.2rem; margin-bottom: .9rem;
}
.steps h3 { font-size: 1.1rem; }
.steps p, .steps ul { font-size: .98rem; margin-bottom: 0; }

.settle { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
@media (min-width: 760px) { .settle { grid-template-columns: repeat(5, 1fr); } }
.settle li { margin: 0; background: var(--paper); border-radius: var(--r-sm); padding: 1rem; border-top: 5px solid var(--garden); }
.settle li:nth-child(1) { border-top-color: var(--apricot); }
.settle li:nth-child(2) { border-top-color: #F0C58C; }
.settle li:nth-child(3) { border-top-color: var(--honey); }
.settle li:nth-child(4) { border-top-color: #8FB08E; }
.settle strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; }
.settle span { font-size: .95rem; color: var(--walnut-soft); }

/* ---------- Checklist ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { position: relative; padding-left: 1.9rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--moss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%232C4F39' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.checklist--cols { columns: 2 16rem; column-gap: 2rem; }
.checklist--cols li { break-inside: avoid; }

/* ---------- Provider ---------- */
.provider__photo { border-radius: var(--r-lg); overflow: hidden; max-width: 460px; }
.provider__photo img, .provider__photo .ph { aspect-ratio: 4 / 5; object-fit: cover; }
.provider__body { max-width: 48rem; } /* About page: comfortable line length while the provider photo is not yet available */
/* About page: leadership team (owner profiles). Phones: small photo beside name and title, bio below.
   Tablets: photo on the left of each profile. Desktop: three profiles side by side. */
.leaders { display: grid; gap: 1.25rem; }
.leader { display: grid; grid-template-columns: 112px minmax(0, 1fr); grid-template-areas: "photo head" "bio bio"; gap: 1rem 1.1rem; align-items: start;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.25rem; margin: 0; }
.leader__photo { grid-area: photo; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line); }
.leader__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.leader__head { grid-area: head; align-self: center; }
.leader__head h3 { margin: 0 0 .35rem; font-size: 1.2rem; }
.leader__title { margin: 0; font-weight: 600; color: var(--garden-deep); font-size: var(--step--1); }
.leader__bio { grid-area: bio; margin: 0; font-size: .98rem; }
@media (min-width: 700px) {
  .leader { grid-template-columns: 180px minmax(0, 1fr); grid-template-areas: "photo head" "photo bio"; row-gap: .75rem; }
  .leader__head { align-self: end; }
}
@media (min-width: 1000px) {
  .leaders { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .leader { grid-template-columns: minmax(0, 1fr); grid-template-areas: "photo" "head" "bio"; align-content: start; }
  .leader__head { align-self: start; }
}
/* Programs page: text comes first in the page (and on phones); on desktop odd programs show the photo on the left. */
@media (min-width: 900px) { .prog__photo--left { order: -1; } }
.credentials { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .6rem; }
.credentials li { margin: 0; display: flex; gap: .75rem; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); padding: .8rem 1rem; }
.credentials svg { width: 22px; height: 22px; flex: none; color: var(--garden); margin-top: .15rem; }

/* ---------- Tuition ---------- */
.tuition-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.tuition-tabs button {
  min-height: 44px; padding: .55rem 1.1rem; border-radius: 999px; border: 2px solid var(--garden);
  background: transparent; color: var(--garden-deep); font: 600 .98rem var(--font-body); cursor: pointer;
}
.tuition-tabs button[aria-selected="true"] { background: var(--garden); color: #fff; }
.no-js .tuition-tabs { display: none; }
.tuition-panel { margin-bottom: 2.5rem; }
.js .tuition-panel[hidden] { display: none; }
.tuition-panel__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; margin-bottom: 1rem; }
.tuition-panel__head h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--step-2); margin: 0; }
.tuition-panel__head p { margin: 0; color: var(--walnut-soft); }

.table-wrap { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.tuition-table { width: 100%; border-collapse: collapse; }
.tuition-table caption { text-align: left; padding: 1rem 1.25rem 0; font-weight: 600; color: var(--walnut-soft); }
.tuition-table th, .tuition-table td { padding: .95rem 1.25rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.tuition-table thead th { background: var(--moss); font-size: var(--step--1); font-weight: 700; color: var(--garden-deep); }
.tuition-table tbody tr:last-child > * { border-bottom: 0; }
.tuition-table .num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.tuition-table tbody .num:first-of-type { font-weight: 700; font-size: 1.1rem; }
.tuition-table th[scope="row"] span { display: block; font-weight: 400; color: var(--walnut-soft); font-size: .92rem; }
@media (max-width: 640px) {
  .tuition-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tuition-table, .tuition-table tbody, .tuition-table tr, .tuition-table th, .tuition-table td { display: block; }
  .tuition-table tr { padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); }
  .tuition-table tbody tr:last-child { border-bottom: 0; }
  .tuition-table th, .tuition-table td { padding: 0; border: 0; }
  .tuition-table th[scope="row"] { margin-bottom: .5rem; }
  .tuition-table td.num { display: flex; justify-content: space-between; text-align: left; }
  .tuition-table__label { display: inline; color: var(--walnut-soft); font-weight: 400; font-size: .95rem; }
}
/* Tuition page: visible "Monthly"/"Weekly" labels are real text on phones (hidden from screen readers, which
   get the column headers through the explicit table roles); hidden on wider screens where the header row shows. */
@media (min-width: 641px) { .tuition-table__label { display: none; } }
/* Tuition page: the inline "Contact us" link gets a 44px tap area without changing how the text looks. */
.tui-page__link { display: inline-block; min-height: 44px; padding-block: 9px; margin-block: -9px; }

.price-preview { display: grid; gap: 1rem; }
@media (min-width: 640px) { .price-preview { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .price-preview { grid-template-columns: repeat(4, 1fr); } }
.price-preview .card { display: flex; flex-direction: column; }
.price-preview__amount { font-family: var(--font-display); font-size: 2rem; line-height: 1.1; color: var(--garden-deep); margin: .35rem 0 .2rem; }
.price-preview__note { font-size: .95rem; color: var(--walnut-soft); margin: 0; }

.notice { background: var(--honey-soft); border-left: 5px solid var(--honey); border-radius: var(--r-sm); padding: 1rem 1.25rem; }
.notice p:last-child { margin-bottom: 0; }
.notice--draft { background: var(--apricot-soft); border-left-color: var(--coral); }
.notice--success { background: var(--moss); border-left-color: var(--garden); }
.notice--error { background: #FBE9E6; border-left-color: #B3261E; }

/* ---------- FAQ accordion (native <details>) ---------- */
.faq-group + .faq-group { margin-top: 2.5rem; }
.faq-group h2 { font-size: var(--step-2); }
.accordion { border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer; padding: 1.1rem 2.5rem 1.1rem 0; position: relative;
  font-weight: 600; font-size: 1.08rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; position: absolute; right: .4rem; top: 50%; width: .7rem; height: .7rem;
  border-right: 2px solid var(--garden); border-bottom: 2px solid var(--garden);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.accordion details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.accordion summary:hover { color: var(--garden-deep); }
.accordion .answer { padding: 0 0 1.25rem; max-width: 62ch; }
.accordion .answer p:last-child { margin: 0; }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.filters button {
  min-height: 44px; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line);
  background: var(--paper); color: var(--walnut); font: 500 .95rem var(--font-body); cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--walnut); color: #fff; border-color: var(--walnut); }
.no-js .filters { display: none; }
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.gallery figure { margin: 0; }
.gallery figure[hidden] { display: none; }
.gallery img, .gallery .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--r-md); }
.gallery figcaption { font-size: .95rem; color: var(--walnut-soft); padding-top: .5rem; }
/* Gallery page: without JavaScript the viewer can't open, so each photo is a plain link to the full image instead. */
.no-js .gallery button[data-lightbox] { display: none; }
.gallery__link { display: block; border-radius: var(--r-md); }
/* Gallery page: illustrative-images notice. */
.gallery-note { margin: 0 0 1.5rem; padding: .7rem 1rem; max-width: 46rem; font-size: var(--step--1); color: var(--walnut-soft); background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm); }
.gallery-note strong { color: var(--walnut); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(30, 24, 20, .85); }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: var(--r-sm); }
.lightbox p { color: #fff; text-align: center; margin: .75rem 0 0; }
.lightbox__close {
  position: fixed; top: 1rem; right: 1rem; min-width: 48px; min-height: 48px; border-radius: 50%;
  border: 0; background: #fff; color: var(--walnut); font-size: 1.5rem; cursor: pointer;
}

/* ---------- Testimonials (empty state until real ones are supplied) ---------- */
.testimonials-empty { text-align: center; border: 2px dashed var(--line); border-radius: var(--r-md); padding: 2rem 1.5rem; color: var(--walnut-soft); }
.quote { margin: 0; }
.quote blockquote { margin: 0 0 1rem; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.45; }
.quote figcaption { font-weight: 600; color: var(--walnut-soft); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(2rem, 5vw, 3.5rem) clamp(2.5rem, 5vw, 4rem); background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); max-width: 20ch; }
.page-hero .lede { max-width: 44rem; margin-bottom: 0; }
.crumbs ol { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem; font-size: var(--step--1); color: var(--walnut-soft); }
.crumbs li { margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--line); }
.crumbs a { color: var(--walnut-soft); }

/* ---------- Prose (blog, policies) ---------- */
.prose { max-width: 68ch; }
.prose h2 { font-size: var(--step-2); margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose > :first-child { margin-top: 0; }
.prose li { margin-top: .4em; }

.toc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.25rem 1.5rem; }
.toc h2 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.toc ul { margin: 0; padding-left: 1.1rem; }
@media (min-width: 1000px) { .with-toc { display: grid; grid-template-columns: 16rem 1fr; gap: 3rem; align-items: start; } .toc { position: sticky; top: 7rem; } }

.post-list { display: grid; gap: 1.5rem; }
@media (min-width: 700px) { .post-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .post-list { grid-template-columns: repeat(3, 1fr); } }
.post-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; }
.post-card .ph, .post-card img { aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; }
.post-card__body { padding: 1.25rem 1.4rem 1.5rem; }
.post-card h2 { font-size: 1.3rem; }
.post-card h2 a { text-decoration: none; color: var(--walnut); }
.post-card h2 a:hover { color: var(--garden-deep); text-decoration: underline; }
.post-meta { font-size: var(--step--1); color: var(--walnut-soft); margin-bottom: .5rem; }
.tag-draft { display: inline-block; background: var(--apricot); color: var(--walnut); font-size: .8rem; font-weight: 700; padding: .1rem .55rem; border-radius: 999px; margin-left: .4rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.2rem; }
@media (min-width: 700px) { .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; } }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label, .field legend { font-weight: 600; }
.field .hint { font-size: .92rem; color: var(--walnut-soft); margin: 0; }
.req { color: #9A3A22; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%; min-height: 50px; padding: .7rem .9rem; font: inherit; color: var(--walnut);
  background: #fff; border: 1.5px solid #B9AA95; border-radius: var(--r-sm);
}
textarea { min-height: 140px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
fieldset { border: 0; margin: 0; padding: 0; }
.choices { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: .25rem; }
.choice { display: flex; align-items: center; gap: .5rem; min-height: 44px; font-weight: 400; }
.choice input { width: 1.25rem; height: 1.25rem; accent-color: var(--garden); margin: 0; flex: none; }
.field--check .choice { align-items: flex-start; }
.field--check .choice input { margin-top: .2rem; }
.field-error { color: #9A2A1A; font-weight: 600; font-size: .95rem; margin: 0; }
[aria-invalid="true"] { border-color: #B3261E !important; }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.contact-card { background: var(--garden-deep); color: #F4F6F1; border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.25rem); }
.contact-card h2 { color: #fff; font-size: var(--step-2); }
.contact-card a { color: #fff; font-weight: 600; }
.contact-card dl { margin: 0; display: grid; gap: 1rem; }
.contact-card dt { font-size: var(--step--1); opacity: .85; }
.contact-card dd { margin: 0; font-size: 1.1rem; }

.map-frame { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: var(--moss); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
/* Keyboard focus on the embedded map: the frame clips the map's own outline, so outline the frame instead (works where the browser reports focus inside the iframe). */
.map-frame:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.map-placeholder { display: grid; place-items: center; text-align: center; padding: 1.5rem; height: 100%; color: var(--walnut-soft); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--honey-soft); color: var(--walnut); padding-block: clamp(3rem, 7vw, 5rem); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 22rem; height: 22rem; border-radius: 50%; background: rgba(238, 138, 108, .14); right: -6rem; top: -8rem; }
.cta-band::after { content: ""; position: absolute; width: 12rem; height: 12rem; border-radius: 50%; background: rgba(31, 91, 80, .07); left: -4rem; bottom: -6rem; }
.cta-band__inner { position: relative; z-index: 1; display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1.4fr 1fr; } .cta-band .btn-row { justify-content: flex-end; } }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 40rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--garden-deep); color: #E3ECE8; padding-top: clamp(3rem, 6vw, 4.5rem); font-size: .98rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--honey); }
.site-footer :focus-visible { outline-color: var(--honey); }
.site-footer__grid { display: grid; gap: 2rem; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1050px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer__name { font-family: var(--font-display); font-size: 1.5rem; color: #fff; margin-bottom: .2rem; }
.site-footer__note { display: block; margin-top: .35rem; opacity: .8; }
.site-footer__type { color: var(--honey); font-weight: 600; margin-bottom: .75rem; }
.site-footer__mission { max-width: 22rem; }
.site-footer__heading { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: .75rem; }
.site-footer__list { list-style: none; padding: 0; margin: 0; }
.site-footer__list li + li { margin-top: .55rem; }
.site-footer__list--cols { columns: 2; column-gap: 1.5rem; }
.site-footer__list--cols li { break-inside: avoid; margin: 0 0 .55rem; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 3rem; padding-block: 1.5rem; font-size: var(--step--1); }
.site-footer__base p { margin: 0; }
.site-footer__base ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.site-footer__base li + li { margin: 0; }
/* Footer tap targets: every link is one block at least 44px tall (text size, colour and underline unchanged).
   Small negative margins keep the extra height mostly inside the existing spacing, and rows stay far enough
   apart that neighbouring tap areas never overlap. The hours list has no links, so it is unaffected. */
.site-footer__list a { display: inline-block; vertical-align: top; min-height: 44px; padding-block: 9px; margin-block: -.2rem; }
/* Keep the first Contact and Explore links level with the Hours column (plain class selectors, no :has()). */
.site-footer__list:not(.site-footer__list--cols) li:first-child > a { margin-top: -9px; }
.site-footer__list--cols { margin-top: calc(.2rem - 9px); }
.site-footer__base ul { margin-block: -10px; }
.site-footer__base a { display: inline-block; vertical-align: top; min-height: 44px; padding-block: 10px; }
.site-footer__time { white-space: nowrap; } /* keep the Sunday time range on one line */
.social { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; gap: .5rem; }
.social li + li { margin: 0; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.social a:hover { background: var(--honey); color: var(--walnut); }
.social svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }
.big-404 { font-family: var(--font-display); font-size: clamp(5rem, 16vw, 10rem); line-height: 1; color: var(--honey); margin: 0; }

/* ==========================================================================
   MOTION & PHOTO-LED LAYOUT  (v2)
   --------------------------------------------------------------------------
   Everything that moves is gated behind html.motion, which is only set when
   JavaScript runs AND the visitor has not asked for reduced motion. Without
   it, the same markup renders as a calm, static, fully usable layout.
   Only transform and opacity are animated.
   ========================================================================== */

:root { --dist: 26px; --far: 56px; --ease-out: cubic-bezier(.2, .7, .2, 1); }
@media (max-width: 767px) { :root { --dist: 14px; --far: 18px; } }

/* ---------- Scroll reveals ---------- */
.motion [data-reveal] {
  opacity: 0;
  transition: opacity .6s ease, transform .75s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 120ms);
}
.motion [data-reveal="up"]         { transform: translate3d(0, var(--dist), 0); }
.motion [data-reveal="left"]       { transform: translate3d(calc(var(--dist) * -1), 0, 0); }
.motion [data-reveal="right"]      { transform: translate3d(var(--dist), 0, 0); }
.motion [data-reveal="scale"]      { transform: scale(.965); }
.motion [data-reveal="from-left"]  { transform: translate3d(calc(var(--far) * -1), 10px, 0); }
.motion [data-reveal="from-right"] { transform: translate3d(var(--far), 10px, 0); }
.motion [data-reveal="fade"]       { transform: none; }
.motion [data-reveal].is-in { opacity: 1; transform: none; }
/* Tuition must never feel slow: quick, short rise. */
.motion .price-preview [data-reveal] { transition-duration: .35s, .45s; transition-delay: calc(var(--i, 0) * 60ms); --dist: 10px; }

/* Parallax / travelling layers are moved by motion.js with transforms. */
[data-parallax], [data-parallax-x], [data-travel] { will-change: transform; }
.travel { position: relative; z-index: 3; }

/* ---------- Hero (photo-led) ---------- */
.hero { overflow: clip; isolation: isolate; }
.hero__eyebrow { font-weight: 700; color: var(--garden); margin-bottom: .75rem; }
.hero__media { position: relative; padding: 0 0 2.5rem 2.5rem; }
.hero__photo { position: relative; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3 / 2; }
.hero__pan { position: absolute; inset: 0; }
.hero__pan img, .hero__pan .ph, .hero__pan picture { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.hero__second {
  position: absolute; left: 0; bottom: 0; width: 42%; margin: 0;
  border-radius: var(--r-md); overflow: hidden; border: 6px solid var(--paper); box-shadow: var(--shadow); z-index: 2;
}
.hero__second img, .hero__second .ph { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: 0; }
.hero__badge { left: auto; right: -.5rem; bottom: 12%; z-index: 3; }
.hero__deco { position: absolute; z-index: -1; pointer-events: none; }
.hero__deco--sun { top: -1.25rem; right: 8%; width: 6.5rem; height: 6.5rem; border-radius: 50%; background: var(--honey-soft); }
.hero__deco--blob { bottom: -1.5rem; right: -2.5rem; width: 12rem; height: 12rem; border-radius: 50%; background: var(--apricot-soft); }
.hero__deco--leaf { top: 38%; left: -.25rem; width: 3.2rem; color: #8DB596; z-index: 4; }
.hero__deco--heart { top: -.5rem; left: 32%; width: 2.2rem; color: var(--coral); z-index: 4; }
@media (max-width: 600px) { .hero__media { padding: 0 0 1.75rem 1.25rem; } .hero__badge { display: none; } .hero__deco--leaf { display: none; } }

/* Hero intro sequence (page load, not scroll) */
@keyframes tkp-rise   { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
@keyframes tkp-settle { from { transform: scale(1.02); } to { transform: scale(1); } }
@keyframes tkp-fade   { from { opacity: 0; } to { opacity: 1; } }
@keyframes tkp-drift  { from { opacity: 0; transform: translate3d(0, 8px, 0) rotate(-6deg); } to { opacity: 1; transform: none; } }
.motion .hero h1           { animation: tkp-rise .7s var(--ease-out) .08s both; }
.motion .hero__eyebrow     { animation: tkp-fade .6s ease both; }
.motion .hero__text        { animation: tkp-rise .7s var(--ease-out) .22s both; }
.motion .hero .btn-row     { animation: tkp-rise .7s var(--ease-out) .36s both; }
.motion .hero__facts       { animation: tkp-fade .8s ease .5s both; }
.motion .hero__photo img,
.motion .hero__photo .ph   { animation: tkp-settle 1.4s var(--ease-out) both; }
.motion .hero__second      { animation: tkp-rise .8s var(--ease-out) .45s both; }
.motion .hero__badge       { animation: tkp-rise .8s var(--ease-out) .6s both; }
.motion .hero__deco svg    { animation: tkp-drift 1.2s var(--ease-out) .7s both; }

/* ---------- Program photo row ---------- */
.program-row { display: grid; gap: 1.25rem; grid-template-columns: repeat(4, 1fr); }
.program-tile {
  display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden; text-decoration: none; color: var(--walnut);
  transition: box-shadow .25s ease, transform .25s ease;
}
.program-tile:hover { box-shadow: var(--shadow); color: var(--walnut); }
.program-tile__media { overflow: hidden; }
.program-tile__media img, .program-tile__media .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; transition: transform .6s var(--ease-out); }
.program-tile:hover .program-tile__media img { transform: scale(1.04); }
.program-tile__body { display: flex; align-items: center; gap: .75rem; padding: 1rem 1.1rem 1.15rem; }
.program-tile__text { flex: 1; }
.program-tile__name { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--garden-deep); line-height: 1.2; }
.program-tile__ages { font-size: var(--step--1); color: var(--walnut-soft); }
.arrow-dot { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--garden); color: #fff; transition: transform .25s ease; }
.arrow-dot svg { width: 18px; height: 18px; }
.program-tile:hover .arrow-dot { transform: translateX(3px); }
@media (max-width: 999px) {
  /* Intentional swipe row on tablets/phones — the PAGE never scrolls sideways. */
  .program-row {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem;
    margin-inline: calc(var(--gutter) * -1); padding: .25rem var(--gutter) 1rem; scroll-padding-inline: var(--gutter);
    -webkit-overflow-scrolling: touch; scrollbar-width: thin;
  }
  .program-row > * { flex: 0 0 min(78%, 320px); scroll-snap-align: start; }
  .motion .program-row [data-reveal] { transform: translate3d(0, var(--dist), 0); }
  .motion .program-row [data-reveal].is-in { transform: none; }
}
.swipe-hint { display: none; font-size: var(--step--1); color: var(--walnut-soft); margin: .25rem 0 0; }
@media (max-width: 999px) { .swipe-hint { display: block; } }

/* ---------- Photo marquee (CSS animation; JS only pauses it off-screen) ---------- */
.marquee { position: relative; overflow: hidden; }
.marquee__track { display: flex; width: max-content; list-style: none; margin: 0; padding: 0; }
.marquee__track > li { margin: 0; padding-right: 1.25rem; }
.marquee__item { position: relative; width: 250px; margin: 0; border-radius: var(--r-md); overflow: hidden; }
.marquee__item img, .marquee__item .ph { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 0; }
.marquee__item figcaption {
  position: absolute; left: .75rem; right: .75rem; bottom: .75rem; background: rgba(255, 253, 248, .94);
  border-radius: 999px; padding: .4rem .9rem; font-weight: 600; font-size: .92rem; color: var(--garden-deep);
}
.marquee__dup { display: none; }
@keyframes tkp-marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@media (min-width: 768px) {
  .motion .marquee { -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
  .motion .marquee__dup { display: block; }
  .motion .marquee__track { animation: tkp-marquee var(--speed, 70s) linear infinite; animation-play-state: paused; }
  .motion .marquee--reverse .marquee__track { animation-direction: reverse; }
  .motion .marquee.is-running .marquee__track { animation-play-state: running; }
  .motion .marquee:hover .marquee__track,
  .motion .marquee:focus-within .marquee__track,
  .motion .marquee.is-paused .marquee__track { animation-play-state: paused; }
}
/* Static / reduced-motion / phone version: a normal swipeable row. */
html:not(.motion) .marquee, .marquee { scrollbar-width: thin; }
@media (max-width: 767px) {
  .marquee { overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
  .marquee__track > li { scroll-snap-align: start; padding-right: .9rem; }
  .marquee__item { width: 62vw; max-width: 240px; }
}
html:not(.motion) .marquee { overflow-x: auto; }
.motion-toggle {
  display: none; align-items: center; gap: .5rem; min-height: 44px; margin-top: 1rem; padding: .45rem 1rem;
  border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--walnut);
  font: 600 .92rem var(--font-body); cursor: pointer;
}
.motion-toggle:hover { border-color: var(--garden); }
.motion-toggle svg { width: 18px; height: 18px; flex: none; }
@media (min-width: 768px) { .motion .motion-toggle { display: inline-flex; } }

/* ---------- Philosophy words with icons ---------- */
.philosophy { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .philosophy { grid-template-columns: 1.1fr .9fr; } }
.pwords { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem 1.5rem; }
@media (min-width: 560px) { .pwords { grid-template-columns: repeat(3, 1fr); } }
.pwords li { margin: 0; display: flex; align-items: center; gap: .7rem; font-family: var(--font-display); font-size: clamp(1.3rem, 1rem + 1vw, 1.7rem); color: var(--garden-deep); }
.pwords__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--paper); color: var(--garden); }
.pwords li:nth-child(2) .pwords__icon { color: #C2573A; background: var(--apricot-soft); }
.pwords li:nth-child(4) .pwords__icon { color: #8A5A00; background: var(--honey-soft); }
.pwords li:nth-child(5) .pwords__icon { color: #9A6A00; background: #FFF6D8; }
.pwords li:nth-child(6) .pwords__icon { color: var(--night); background: var(--sky); }
.pwords__icon svg { width: 26px; height: 26px; }
@keyframes tkp-pop    { 0% { transform: scale(.6); opacity: 0; } 70% { transform: scale(1.06); opacity: 1; } 100% { transform: scale(1); } }
@keyframes tkp-tilt   { 0%, 100% { transform: rotate(0); } 40% { transform: rotate(-8deg); } 75% { transform: rotate(4deg); } }
@keyframes tkp-glow   { 0%, 100% { box-shadow: 0 0 0 0 rgba(242, 182, 50, 0); } 50% { box-shadow: 0 0 0 10px rgba(242, 182, 50, .22); } }
.motion .pwords li.is-in .pwords__icon { animation: tkp-pop .55s var(--ease-out) calc(var(--i, 0) * 120ms + .1s) both; }
.motion .pwords li.is-in:nth-child(4) .pwords__icon svg { animation: tkp-tilt .9s ease calc(var(--i, 0) * 120ms + .5s) 1; }
.motion .pwords li.is-in:nth-child(5) .pwords__icon { animation: tkp-pop .55s var(--ease-out) calc(var(--i, 0) * 120ms + .1s) both, tkp-glow 1.2s ease calc(var(--i, 0) * 120ms + .6s) 1; }

.photo-frame { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); }
.photo-frame img, .photo-frame .ph, .photo-frame picture { width: 100%; object-fit: cover; border-radius: 0; }
.photo-frame--tall img, .photo-frame--tall .ph { aspect-ratio: 4 / 5; }
.photo-frame--wide img, .photo-frame--wide .ph { aspect-ratio: 4 / 3; }
.pan-frame { position: relative; overflow: hidden; border-radius: var(--r-lg); box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.pan-frame > [data-parallax-x] { position: absolute; inset: 0 -8%; }
.pan-frame img, .pan-frame .ph, .pan-frame picture { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }

/* ---------- Hours: sun → moon rides along the open-hours bar ---------- */
.daystrip__rider { position: absolute; top: calc(2.4rem + 28px); left: 0; right: 0; height: 0; pointer-events: none; }
.daystrip__sun, .daystrip__moon {
  position: absolute; top: 0; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: #fff; box-shadow: 0 4px 14px -4px rgba(34, 56, 90, .45);
}
.daystrip__sun svg, .daystrip__moon svg { width: 24px; height: 24px; }
.daystrip__sun { left: 40%; color: #C98A00; }
.daystrip__moon { left: 92%; color: var(--night); }
.motion .daystrip__sun, .motion .daystrip__moon { left: calc(24% + 73% * var(--p, 0)); transition: opacity .3s linear; }
.motion .daystrip__sun { opacity: calc(1 - var(--dusk, 0)); }
.motion .daystrip__moon { opacity: var(--dusk, 0); }

/* ---------- Gallery: moving rows + hover overlays ---------- */
.photo-rows { display: grid; gap: 1.25rem; margin-bottom: 1rem; }
.photo-rows .marquee__item { width: 300px; }
.photo-rows .marquee__item img, .photo-rows .marquee__item .ph { aspect-ratio: 4 / 3; transition: transform .6s var(--ease-out); }
.photo-rows .marquee__item:hover img { transform: scale(1.05); }
.photo-rows .marquee__item figcaption { opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease; border-radius: var(--r-sm); }
.photo-rows .marquee__item:hover figcaption { opacity: 1; transform: none; }
.photo-rows figcaption small { display: block; font-weight: 400; color: var(--walnut-soft); }
@media (max-width: 767px) { .photo-rows .marquee:nth-child(n+2) { display: none; } .photo-rows .marquee__item figcaption { opacity: 1; transform: none; } }
@media (hover: none) { .photo-rows .marquee__item figcaption { opacity: 1; transform: none; } }

.gallery button { position: relative; overflow: hidden; }
.gallery button img { transition: transform .6s var(--ease-out); }
.gallery button:hover img, .gallery button:focus-visible img { transform: scale(1.04); }
.gallery button::after {
  content: attr(data-label); position: absolute; left: .75rem; bottom: .75rem; padding: .3rem .75rem; border-radius: 999px;
  background: rgba(255, 253, 248, .94); color: var(--garden-deep); font-weight: 600; font-size: .85rem;
  opacity: 0; transform: translateY(6px); transition: opacity .3s ease, transform .3s ease;
}
.gallery button:hover::after, .gallery button:focus-visible::after { opacity: 1; transform: none; }

/* ---------- Section decorations ---------- */
.section--sky { background: var(--sky); }
.section--cream { background: var(--honey-soft); }
.tag { display: inline-block; font-weight: 700; color: var(--garden); margin-bottom: .6rem; }

/* ---------- Reduced motion: absolutely static ---------- */
@media (prefers-reduced-motion: reduce) {
  [data-parallax], [data-parallax-x], [data-travel] { transform: none !important; }
  .marquee__track { animation: none !important; }
}

/* ---------- Overflow guards (never scroll the page sideways) ---------- */
html { overflow-x: hidden; overflow-x: clip; }
/* Sections holding travelling photos clip sideways but NOT vertically, so a
   photo can still rise visibly out of the section above. */
.has-travel { overflow-x: clip; }
@supports not (overflow: clip) { .has-travel { overflow-x: hidden; overflow-y: visible; } }
/* In the swipe row, cards off to the side must never wait for a swipe to appear. */
@media (max-width: 999px) {
  .motion .program-row [data-reveal] { opacity: 1; transform: none; transition: none; }
}
.marquee.marquee--bleed { margin-inline: 0; }
@media (max-width: 767px) { .marquee.marquee--bleed { padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); } }
/* Hero photo is composed with the children on the right: keep them in frame. */
.hero__pan img, .hero__pan .ph { object-position: 90% 50%; }
.pan-frame img { object-position: 35% 50%; }   /* family photo: people left of centre */
/* Hero badge sits in the photo's empty left area so it never covers the children (who are on the right). */
.hero__badge { top: 7%; bottom: auto; left: -.5rem; right: auto; }
/* Desktop: badge sits on the photo's top edge, clear of every child. */
@media (min-width: 960px) { .hero__badge { top: -2.5rem; left: 1.25rem; z-index: 5; } }

/* Hero secondary card: sized so it never covers a child in hero-childcare.jpg
   (the nearest child begins ~31% into the photo). Measured at 320–1440 px. */
.hero__second { width: 16%; border-width: 4px; border-radius: 12px; }
@media (min-width: 960px) { .hero__second { width: 23%; border-width: 6px; border-radius: var(--r-md); } }
/* The small card's placeholder shows only its icon (label text can't fit). */
.hero__second .ph { padding: 0; min-height: 0; overflow: hidden; }
.hero__second .ph__text, .hero__second .ph__file { display: none; }
.hero__second .ph__icon { width: 45%; height: auto; }

/* ==========================================================================
   HOME — "What families can count on" (scoped; does not affect About page)
   ========================================================================== */
.assurances { background: #F5ECDD; position: relative; }
.assurances__grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 1000px) {
  .assurances__grid { grid-template-columns: minmax(0, 4.5fr) minmax(0, 7.5fr); align-items: start; column-gap: clamp(3rem, 6vw, 5.5rem); }
  .assurances__intro { padding-top: .75rem; }
}
.assurances__rule { display: block; width: 56px; height: 3px; border-radius: 3px; background: var(--honey); margin-bottom: 1.4rem; }
.assurances__intro h2 { margin-bottom: .55em; max-width: 14ch; }
.assurances__intro .lede { max-width: 30rem; margin-bottom: 0; }

.assurances__cards { display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
@media (min-width: 640px) { .assurances__cards { grid-template-columns: 1fr 1fr; } }

.assurance-card {
  background: var(--paper);
  border: 1px solid rgba(31, 91, 80, .08);
  border-radius: 24px;
  padding: clamp(1.5rem, 3vw, 2rem) clamp(1.4rem, 2.6vw, 1.85rem);
  box-shadow: 0 1px 2px rgba(47, 59, 56, .04), 0 14px 30px -20px rgba(47, 59, 56, .28);
}
.assurance-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; margin-bottom: 1.15rem; }
.assurance-card__icon svg { width: 26px; height: 26px; }
.assurance-card__icon--sage  { background: var(--moss);         color: var(--garden); }
.assurance-card__icon--gold  { background: var(--honey-soft);   color: #8A5A00; }
.assurance-card__icon--coral { background: var(--apricot-soft); color: #B4543A; }
.assurance-card__icon--sky   { background: var(--sky);          color: var(--night); }
.assurance-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; line-height: 1.25; color: var(--garden-deep); margin-bottom: .45em; }
.assurance-card p { color: var(--walnut-soft); margin: 0; font-size: 1rem; line-height: 1.6; }

/* ==========================================================================
   HOME — "Programs for every stage" (image-led cards; scoped)
   ========================================================================== */
.pshow__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(2rem, 4vw, 2.75rem); }
.pshow__head h2 { margin-bottom: .45em; }
.pshow__head .lede { max-width: 34rem; margin-bottom: 0; }
.pshow__rule { display: block; width: 56px; height: 3px; border-radius: 3px; background: var(--honey); margin-bottom: 1.4rem; }
.pshow__all { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-weight: 600; color: var(--garden-deep); text-decoration: none; white-space: nowrap; }
.pshow__all svg { width: 18px; height: 18px; transition: transform .25s ease; }
.pshow__all:hover { color: var(--garden); text-decoration: underline; }
.pshow__all:hover svg { transform: translateX(3px); }

.pshow__list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1rem, 2vw, 1.5rem); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pshow__item { margin: 0; display: flex; }

.pcard {
  display: flex; flex-direction: column; width: 100%;
  background: var(--paper); border: 1px solid rgba(31, 91, 80, .08); border-radius: 26px; overflow: hidden;
  text-decoration: none; color: var(--walnut);
  box-shadow: 0 1px 2px rgba(47, 59, 56, .04), 0 16px 32px -22px rgba(47, 59, 56, .32);
  transition: box-shadow .3s ease, transform .3s ease;
}
.pcard:hover { color: var(--walnut); box-shadow: 0 2px 4px rgba(47, 59, 56, .05), 0 22px 40px -22px rgba(47, 59, 56, .4); }
.pcard__media { position: relative; display: block; overflow: hidden; margin: .6rem .6rem 0; border-radius: 20px; }
.pcard__media img, .pcard__media picture { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 0; }
.pcard__media .ph { width: 100%; aspect-ratio: 1 / 1; border-radius: 0; }   /* keeps the approved centred placeholder */
.pcard__media img { transition: transform .7s var(--ease-out); }
.pcard:hover .pcard__media img { transform: scale(1.035); }
.pcard__ages {
  position: absolute; left: .75rem; bottom: .75rem; z-index: 1;
  padding: .35rem .8rem; border-radius: 999px; background: rgba(255, 253, 248, .95);
  font-size: .85rem; font-weight: 700; color: var(--garden-deep); box-shadow: 0 2px 8px -4px rgba(47, 59, 56, .35);
}
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 1.15rem 1.35rem 1.35rem; }
.pcard__name { font-family: var(--font-display); font-size: 1.55rem; line-height: 1.15; color: var(--garden-deep); margin-bottom: .45rem; }
.pcard__summary { flex: 1; color: var(--walnut-soft); font-size: .98rem; line-height: 1.55; margin-bottom: 1rem; }
.pcard__more { display: inline-flex; align-items: center; justify-content: space-between; gap: .75rem; font-weight: 600; font-size: .95rem; color: var(--garden-deep); white-space: nowrap; }
.pcard__arrow { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; transition: transform .25s ease; }
.pcard__arrow svg { width: 17px; height: 17px; }
.pcard:hover .pcard__arrow { transform: translateX(3px); }
.pcard--sage  .pcard__arrow { background: var(--moss);         color: var(--garden); }
.pcard--gold  .pcard__arrow { background: var(--honey-soft);   color: #8A5A00; }
.pcard--coral .pcard__arrow { background: var(--apricot-soft); color: #B4543A; }
.pcard--sky   .pcard__arrow { background: var(--sky);          color: var(--night); }
.pcard:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.pshow__hint { display: none; font-size: var(--step--1); color: var(--walnut-soft); margin: .5rem 0 0; }

/* Tablet / small laptop: 2 × 2 grid, cards appear without sideways movement */
@media (max-width: 1099px) {
  .pshow__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .motion .pshow__item[data-reveal] { transform: translate3d(0, var(--dist), 0); }
  .motion .pshow__item[data-reveal].is-in { transform: none; }
}
/* Phone: intentional swipe row (the page itself never scrolls sideways) */
@media (max-width: 639px) {
  .pshow__list {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem;
    margin-inline: calc(var(--gutter) * -1); padding: .25rem var(--gutter) 1rem; scroll-padding-inline: var(--gutter);
    -webkit-overflow-scrolling: touch; scrollbar-width: thin;
  }
  .pshow__item { flex: 0 0 min(80%, 300px); scroll-snap-align: start; }
  .motion .pshow__item[data-reveal] { opacity: 1; transform: none; transition: none; }  /* never wait for a swipe */
  .pshow__hint { display: block; }
  .pshow__all { order: 2; }
}
.pcard__name { font-weight: 400; margin-top: 0; }   /* program name is an h3 for accessible structure */

/* ==========================================================================
   HOME — "Days full of discovery" (scoped to .days; Gallery marquee untouched)
   ========================================================================== */
.days { background: #F5ECDD; }
.days__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem); }
.days__head h2 { margin-bottom: .45em; }
.days__head .lede { max-width: 32rem; margin-bottom: 0; }
.days__rule { display: block; width: 56px; height: 3px; border-radius: 3px; background: var(--honey); margin-bottom: 1.4rem; }
.days__disclosure { margin: .6rem 0 0; font-size: .88rem; color: var(--walnut-soft); }

/* Three still photos (no continuous movement). Desktop: calm row of three,
   middle one set slightly lower. Tablet: one wide photo over two.
   Phone: a swipe row like "Programs for every stage". */
.days__photos { border-radius: 22px; }
.days__photos:focus-visible { outline: 3px solid var(--garden); outline-offset: 4px; }
.days__shots { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1rem, 2.4vw, 1.75rem); grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.days__shot { margin: 0; min-width: 0; }
.days__shot figure { margin: 0; }
.days__frame { border-radius: 22px; overflow: hidden; background: var(--paper); box-shadow: 0 1px 2px rgba(47, 59, 56, .05), 0 14px 30px -22px rgba(47, 59, 56, .4); }
.days__frame img, .days__frame picture, .days__frame .ph { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; }
.days__shot figcaption { margin-top: .6rem; font-weight: 600; font-size: .95rem; color: var(--garden-deep); }
@media (min-width: 1000px) { .days__shot:nth-child(2) { margin-top: clamp(1.5rem, 3vw, 2.5rem); } }
@media (min-width: 640px) and (max-width: 999px) {
  .days__shots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .days__shot--wide { grid-column: 1 / -1; }
  .days__shot--wide .days__frame img, .days__shot--wide .days__frame picture, .days__shot--wide .days__frame .ph { aspect-ratio: 3 / 2; }
  .days__shot--wide .days__frame img { object-position: 50% 75%; }   /* keep the toddler and the blocks in frame */
}
@media (max-width: 639px) {
  .days__photos {
    border-radius: 0; overflow-x: auto; scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1); padding: .25rem var(--gutter) 1rem; scroll-padding-inline: var(--gutter);
    -webkit-overflow-scrolling: touch; scrollbar-width: thin;
  }
  .days__photos:focus-visible { outline-offset: -3px; }
  .days__shots { display: flex; gap: 1rem; width: max-content; }
  .days__shot { flex: 0 0 min(80vw, 300px); scroll-snap-align: start; }
}

.days__subhead { font-family: var(--font-display); font-weight: 400; font-size: var(--step-2); color: var(--garden-deep); margin: clamp(2.5rem, 5vw, 3.5rem) 0 1.25rem; }
.days__moments { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1rem, 2vw, 1.25rem); grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 999px) { .days__moments { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .days__moments { grid-template-columns: 1fr; } }
.moment {
  margin: 0; background: var(--paper); border: 1px solid rgba(31, 91, 80, .08); border-radius: 22px;
  padding: 1.35rem 1.35rem 1.45rem; box-shadow: 0 1px 2px rgba(47, 59, 56, .04), 0 12px 26px -20px rgba(47, 59, 56, .28);
}
.moment__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; margin-bottom: .95rem; }
.moment__icon svg { width: 23px; height: 23px; }
.moment__icon--sage  { background: var(--moss);         color: var(--garden); }
.moment__icon--gold  { background: var(--honey-soft);   color: #8A5A00; }
.moment__icon--coral { background: var(--apricot-soft); color: #B4543A; }
.moment__icon--sky   { background: var(--sky);          color: var(--night); }
.moment h4 { font-family: var(--font-display); font-weight: 400; font-size: 1.2rem; line-height: 1.25; color: var(--garden-deep); margin: 0 0 .4em; }
.moment p { color: var(--walnut-soft); font-size: .97rem; line-height: 1.55; margin: 0; }
/* Room for the next section's approved travelling photo to rise without crossing the cards (measured: 1024px needed +17px). */
@media (min-width: 900px) { .days { padding-bottom: max(var(--section), 7.5rem); } }

/* ==========================================================================
   HOME — "Why Treasure Kids Place" (trust section; scoped to .why)
   ========================================================================== */
.why { background: var(--linen); }
@media (min-width: 900px) { .why .why__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); column-gap: clamp(3rem, 6vw, 5.5rem); align-items: center; } }
.why__rule { display: block; width: 56px; height: 3px; border-radius: 3px; background: var(--honey); margin-bottom: 1.4rem; }
.why__text h2 { margin-bottom: .5em; }
.why__text .lede { max-width: 36rem; }
.why__model { color: var(--walnut-soft); max-width: 36rem; margin-bottom: 1.75rem; }

/* The six values of the model, shown once as a calm grid:
   3 × 2 on desktop and tablet, 2 × 3 on narrow phones. One-time reveal only. */
.why__values { min-width: 0; }
.why__values-title { font-family: var(--font-body); font-size: .85rem; font-weight: 700; letter-spacing: .02em; color: var(--garden); margin: 0 0 .85rem; }
.why .pwords { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.7rem, 1.6vw, 1rem); margin: 0; }
.why .pwords li {
  flex-direction: column; align-items: flex-start; gap: .8rem; min-width: 0;
  background: var(--paper); border: 1px solid rgba(31, 91, 80, .08); border-radius: 20px;
  padding: 1.15rem 1.15rem 1.25rem; font-size: clamp(1.12rem, 1rem + .4vw, 1.32rem); line-height: 1.2;
  box-shadow: 0 1px 2px rgba(47, 59, 56, .04), 0 10px 22px -16px rgba(47, 59, 56, .3);
}
.why .pwords__icon { width: 44px; height: 44px; }
.why .pwords__icon svg { width: 22px; height: 22px; }
.why .pwords li:nth-child(1) .pwords__icon { background: var(--moss); color: var(--garden); }
.why .pwords li:nth-child(3) .pwords__icon { background: var(--linen); color: var(--garden-deep); box-shadow: inset 0 0 0 1px rgba(31, 91, 80, .1); }
@media (max-width: 899px) { .why__values { margin-top: .5rem; } }
@media (max-width: 479px) {
  .why .pwords { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
  .why .pwords li { padding: .9rem .95rem 1rem; gap: .6rem; font-size: 1.1rem; }
  .why .pwords__icon { width: 38px; height: 38px; }
  .why .pwords__icon svg { width: 20px; height: 20px; }
}

/* ==========================================================================
   HOME — "Learning happens through play" (scoped to .learn)
   ========================================================================== */
.learn { background: #F5ECDD; }
/* One grid: text, photo, the two notes, then the link (reading order).
   Desktop: photo left beside the text, link under the text, notes below. */
.learn__grid { display: grid; gap: 1.25rem; grid-template-areas: "text" "media" "facts" "cta"; }
.learn__text { grid-area: text; }
.learn__media { grid-area: media; }
.learn__facts { grid-area: facts; }
.learn__cta { grid-area: cta; }
@media (min-width: 900px) {
  .learn__grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); grid-template-areas: "media text" "media cta" "facts facts"; column-gap: clamp(3rem, 6vw, 5rem); row-gap: 0; align-items: start; }
  .learn__media { align-self: center; }
  .learn__cta { margin-top: 1.5rem; }
  .learn__facts { margin-top: clamp(2rem, 3.5vw, 2.75rem); }
}
.learn__rule { display: block; width: 56px; height: 3px; border-radius: 3px; background: var(--honey); margin-bottom: 1.4rem; }
.learn__text h2 { margin-bottom: .55em; }

/* The program's own words, set as a quiet pull-quote (no attribution). */
.learn__quote { margin: 0 0 1.4rem; padding: .1rem 0 .1rem 1.15rem; border-left: 3px solid var(--honey); }
.learn__quote p { margin: 0; font-family: var(--font-display); font-size: clamp(1.25rem, 1.05rem + .8vw, 1.6rem); line-height: 1.3; color: var(--garden-deep); text-wrap: balance; }

.learn__label { font-family: var(--font-body); font-size: .85rem; font-weight: 700; letter-spacing: .02em; color: var(--garden); margin: 0 0 .35rem; }
.learn__note { color: var(--walnut-soft); font-size: .95rem; line-height: 1.55; max-width: 36rem; margin: 0 0 .6rem; }
/* Learning areas: a compact two-column text list with subtle dividers. */
.learn__areas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1rem, 3vw, 2rem); }
.learn__areas li { margin: 0; padding: .5rem 0; border-top: 1px solid rgba(31, 91, 80, .14); font-weight: 600; font-size: .95rem; line-height: 1.35; color: var(--garden-deep); }
@media (max-width: 359px) { .learn__areas { grid-template-columns: 1fr; } }

/* Outdoor photo: square frame for the square source, so the whole scene shows. */
.learn__media { margin: 0; }
@media (max-width: 899px) { .learn__media { max-width: 460px; width: 100%; margin-inline: auto; } }
.learn__photo { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); }
.learn__photo img, .learn__photo picture, .learn__photo .ph { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 0; }
.learn__photo .ph { display: flex; }

/* The yard and screen time: two calm notes side by side from tablet up. */
.learn__facts { display: grid; gap: .85rem; }
@media (min-width: 700px) { .learn__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.learn__fact { border-radius: 18px; padding: 1rem 1.15rem 1.1rem; }
.learn__fact--yard { background: var(--moss); }
.learn__fact--screens { background: var(--paper); border: 1px solid rgba(31, 91, 80, .1); }
.learn__fact h3 { display: flex; align-items: center; gap: .55rem; font-family: var(--font-body); font-size: 1rem; font-weight: 700; line-height: 1.3; color: var(--garden-deep); margin: 0 0 .4rem; min-height: 30px; }
.learn__fact p { margin: 0; color: var(--walnut); font-size: .95rem; line-height: 1.55; }
.learn__fact-icon { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); color: #C98A00; }
.learn__fact-icon svg { width: 18px; height: 18px; }
.learn__cta { margin: .25rem 0 0; }

/* ==========================================================================
   HOME — "Extended childcare hours" (scoped to .hrs / .hstrip;
   the Programs page keeps its own shared day strip untouched)
   ========================================================================== */
.hrs { background: var(--linen); }
.hrs__card {
  background: var(--paper); border: 1px solid rgba(31, 91, 80, .08); border-radius: 32px;
  padding: clamp(1.5rem, 4vw, 3rem); box-shadow: 0 2px 4px rgba(47, 59, 56, .04), 0 26px 50px -34px rgba(47, 59, 56, .45);
}
.hrs__top { display: grid; gap: 1.75rem; margin-bottom: clamp(2rem, 4vw, 2.75rem); }
@media (min-width: 860px) { .hrs__top { grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); align-items: center; column-gap: clamp(2rem, 5vw, 4rem); } }
.hrs__rule { display: block; width: 56px; height: 3px; border-radius: 3px; background: var(--honey); margin-bottom: 1.4rem; }
.hrs__intro h2 { margin-bottom: .5em; }
.hrs__intro .lede { margin-bottom: 0; max-width: 34rem; }

.hrs__schedule { margin: 0; background: #F5ECDD; border-radius: 22px; padding: 1.25rem 1.35rem; display: grid; gap: .65rem; }
.hrs__list { margin: 0; display: grid; gap: .65rem; }
.hrs__row { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; padding: .65rem .85rem; border-radius: 14px; background: var(--paper); }
.hrs__row dt { font-weight: 700; color: var(--walnut); }
.hrs__row dd { margin: 0; font-family: var(--font-display); font-size: 1.3rem; color: var(--garden-deep); white-space: nowrap; }
.hrs__holidays { margin: .1rem .25rem 0; font-size: .92rem; color: var(--walnut-soft); }

/* 24-hour strip: grey = closed, warm gradient = open (5:30 AM → 11:45 PM) */
.hstrip { position: relative; margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem); --open-l: 22.92%; --open-w: 76.04%; }
.hstrip__marks { position: relative; height: 2.1rem; font-size: .88rem; font-weight: 700; color: var(--garden-deep); }
.hstrip__mark { position: absolute; bottom: .3rem; white-space: nowrap; }
.hstrip__mark::after { content: ""; position: absolute; top: 100%; width: 2px; height: .55rem; background: var(--garden-deep); border-radius: 2px; }
.hstrip__mark--open { left: var(--open-l); }
.hstrip__mark--open::after { left: 0; }
.hstrip__mark--close { right: calc(100% - var(--open-l) - var(--open-w)); text-align: right; }
.hstrip__mark--close::after { right: 0; }
.hstrip__track { position: relative; height: 54px; border-radius: 999px; background: #ECE6DB; overflow: hidden; }
.hstrip__open {
  position: absolute; top: 0; bottom: 0; left: var(--open-l); width: var(--open-w); border-radius: 999px;
  background: linear-gradient(90deg, var(--apricot) 0%, var(--honey) 22%, #EFC867 45%, var(--coral) 68%, #5C5470 84%, var(--night) 100%);
}
.hstrip__rider { position: absolute; left: 0; right: 0; top: calc(2.1rem + 27px); height: 0; pointer-events: none; }
.hstrip__sun, .hstrip__moon {
  position: absolute; top: 0; transform: translate(-50%, -50%); display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px -4px rgba(34, 56, 90, .45);
}
.hstrip__sun svg, .hstrip__moon svg { width: 24px; height: 24px; }
.hstrip__sun { left: 42%; color: #C98A00; }                 /* static: daytime */
.hstrip__moon { left: min(calc(var(--open-l) + var(--open-w) - 3%), calc(100% - 27px)); color: var(--night); }  /* static: just before close; never past the bar's rounded end */
.motion .hstrip__sun, .motion .hstrip__moon { left: min(calc(var(--open-l) + 2.5% + (var(--open-w) - 5%) * var(--p, 0)), calc(100% - 27px)); transition: opacity .3s linear; }
.motion .hstrip__sun  { opacity: calc(1 - var(--dusk, 0)); }
.motion .hstrip__moon { opacity: var(--dusk, 0); }
.hstrip__ticks { position: relative; height: 1.5rem; margin-top: .45rem; font-size: .82rem; color: var(--walnut-soft); }
.hstrip__ticks span { position: absolute; transform: translateX(-50%); white-space: nowrap; }
.hstrip__ticks span:first-child { transform: none; }
.hstrip__ticks span:last-child { transform: translateX(-100%); }
.hstrip__legend { display: flex; align-items: center; gap: .45rem; margin: .5rem 0 0; font-size: .85rem; color: var(--walnut-soft); }
.hstrip__key { display: inline-block; width: 22px; height: 10px; border-radius: 999px; }
.hstrip__key--open { background: linear-gradient(90deg, var(--honey), var(--coral)); }
.hstrip__key--closed { background: #ECE6DB; margin-left: .6rem; border: 1px solid #DDD3C3; }
@media (max-width: 479px) {
  .hstrip__tick--minor { display: none; }
  .hstrip__mark { font-size: .8rem; }
}

/* Three short notes tied to the bar's colours (early morning → evening → late evening):
   light text columns with a coloured rule, not another set of day cards. */
.hrs__moments { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem clamp(1.25rem, 3vw, 2.25rem); grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 759px) { .hrs__moments { grid-template-columns: 1fr; } }
.hmom { margin: 0; padding: .1rem 0 .1rem 1rem; border-left: 3px solid var(--c); }
.hmom h3 { font-family: var(--font-body); font-weight: 700; font-size: .98rem; line-height: 1.3; color: var(--garden-deep); margin: 0 0 .3rem; }
.hmom p { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--walnut-soft); }
.hmom--dawn { --c: var(--apricot); }
.hmom--eve  { --c: var(--coral); }
.hmom--late { --c: var(--night); }
.hrs__note { margin: clamp(1.25rem, 2.5vw, 1.75rem) 0 0; font-size: .92rem; color: var(--walnut-soft); }
/* Narrow screens: show only the times above the strip so the two labels never collide */
@media (max-width: 599px) { .hstrip__word { display: none; } }

/* ==========================================================================
   HOME — "Parents are a child's first teacher" (Family Partnership; scoped to .fam)
   No travelling/parallax elements here: gentle reveals only.
   ========================================================================== */
.fam { background: #F5ECDD; }
/* Intro and "Staying in touch" on the left, photo on the right; "Taking part" below. */
.fam__top { display: grid; gap: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: clamp(2rem, 4.5vw, 3rem); grid-template-areas: "intro" "media" "touch"; }
.fam__intro { grid-area: intro; }
.fam__media { grid-area: media; margin: 0; position: relative; }
.fam__touch { grid-area: touch; }
@media (min-width: 900px) {
  .fam__top { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); grid-template-areas: "intro media" "touch media"; column-gap: clamp(3rem, 6vw, 5.5rem); row-gap: 1.75rem; align-items: start; }
  .fam__media { align-self: center; }
}
.fam__rule { display: block; width: 56px; height: 3px; border-radius: 3px; background: var(--honey); margin-bottom: 1.4rem; }
.fam__intro h2 { margin-bottom: .5em; max-width: 16ch; }
.fam__intro .lede { max-width: 34rem; }
.fam__link { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; font-weight: 600; color: var(--garden-deep); text-decoration: none; }
.fam__link svg { width: 17px; height: 17px; transition: transform .25s ease; }
.fam__link:hover { color: var(--garden); text-decoration: underline; }
.fam__link:hover svg { transform: translateX(3px); }

@media (max-width: 899px) { .fam__media { max-width: 520px; width: 100%; margin-inline: auto; } }
.fam__photo { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); }
.fam__photo img, .fam__photo picture { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 0; }
.fam__photo .ph { width: 100%; aspect-ratio: 5 / 4; border-radius: 0; }

/* Block 1 — Staying in touch: plain text under a quiet divider (no card). */
.fam__touch { border-top: 1px solid rgba(31, 91, 80, .16); padding-top: 1.25rem; max-width: 36rem; }
.fam__touch h3, .fam__part h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--step-1); color: var(--garden-deep); margin: 0 0 .55rem; }
.fam__touch p { margin: 0 0 .85rem; color: var(--walnut); font-size: .97rem; line-height: 1.6; }
.fam__ways { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.fam__ways li { margin: 0; font-size: .95rem; line-height: 1.5; color: var(--walnut-soft); padding-left: 1.1rem; position: relative; }
.fam__ways li::before, .fam__dots li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--honey); }
.fam__ways strong { color: var(--garden-deep); font-weight: 600; }

/* Block 2 — Taking part: one calm panel with three columns of lists. */
.fam__part { background: var(--linen); border: 1px solid rgba(31, 91, 80, .1); border-radius: 26px; padding: clamp(1.25rem, 3.5vw, 2.25rem); }
.fam__part-intro { margin: 0 0 1.25rem; color: var(--walnut); font-size: .97rem; line-height: 1.6; max-width: 46rem; }
.fam__part-cols { display: grid; gap: 1.4rem clamp(1.5rem, 3.5vw, 2.75rem); }
@media (min-width: 700px) { .fam__part-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fam__part-cols > div:last-child { grid-column: 1 / -1; } }
@media (min-width: 1000px) { .fam__part-cols { grid-template-columns: .9fr 1.05fr 1.05fr; } .fam__part-cols > div:last-child { grid-column: auto; } }
.fam__part h4 { font-family: var(--font-body); font-size: .9rem; font-weight: 700; color: var(--garden); margin: 0 0 .6rem; }
.fam__part-cols p { margin: 0 0 .6rem; color: var(--walnut); font-size: .95rem; line-height: 1.55; }
.fam__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.fam__chips li { margin: 0; padding: .35rem .8rem; border-radius: 999px; background: var(--paper); border: 1px solid rgba(31, 91, 80, .1); font-weight: 600; font-size: .9rem; color: var(--garden-deep); }
.fam__dots { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.fam__dots li { margin: 0; position: relative; padding-left: 1.1rem; font-size: .95rem; line-height: 1.45; color: var(--walnut); }
.fam__part-cols .fam__foot { margin: .8rem 0 0; font-size: .88rem; color: var(--walnut-soft); }

/* ==========================================================================
   HOME — "A secure, nurturing environment" (Safety; scoped to .safe)
   Calm palette only: no red, no warning styling. One grouped checklist
   (no cards, no icon circles) so it reads differently from Section 2.
   ========================================================================== */
.safe { background: var(--linen); }
.safe__layout { display: grid; gap: clamp(1.75rem, 5vw, 2.5rem); grid-template-areas: "intro" "media" "list"; }
.safe__intro { grid-area: intro; }
.safe__media { grid-area: media; margin: 0; }
.safe__checklist { grid-area: list; }
@media (min-width: 700px) {
  .safe__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "intro media" "list list"; column-gap: clamp(2rem, 4vw, 3rem); align-items: center; }
}
@media (min-width: 1024px) {
  .safe__layout { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); grid-template-areas: "intro list" "media list"; column-gap: clamp(3rem, 6vw, 5.5rem); row-gap: 2.25rem; align-items: start; }
}

.safe__rule { display: block; width: 56px; height: 3px; border-radius: 3px; background: var(--honey); margin-bottom: 1.4rem; }
.safe__intro h2 { margin-bottom: .5em; max-width: 16ch; }
.safe__intro .lede { max-width: 34rem; }
.safe__more { margin: 0; max-width: 34rem; color: var(--walnut-soft); }
.safe__link { position: relative; color: var(--garden-deep); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.safe__link::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 44px; transform: translateY(-50%); }
.safe__link:hover { color: var(--garden); text-decoration-thickness: 2px; }

.safe__photo { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); }
.safe__photo img, .safe__photo picture { display: block; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 0; }
.safe__photo .ph { width: 100%; aspect-ratio: 5 / 4; border-radius: 0; }
.safe__disclosure { margin: .6rem 0 0; font-size: .88rem; color: var(--walnut-soft); }

.safe__group { padding-block: 1.15rem 1.25rem; border-top: 1px solid rgba(31, 91, 80, .14); }
.safe__group:first-child { padding-top: 0; border-top: 0; }
.safe__group:last-child { padding-bottom: 0; }
.safe__group h3 { display: flex; align-items: center; gap: .6rem; font-family: var(--font-display); font-weight: 400; font-size: 1.22rem; line-height: 1.25; color: var(--garden-deep); margin: 0 0 .7rem; }
.safe__group h3::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--moss); box-shadow: inset 0 0 0 2px var(--garden); }
.safe__group--aid h3::before  { background: var(--sky); box-shadow: inset 0 0 0 2px var(--night); }
.safe__group--play h3::before { background: var(--honey-soft); box-shadow: inset 0 0 0 2px #8A5A00; }
.safe__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.safe__list li { margin: 0; position: relative; padding-left: 1.55rem; font-size: .95rem; line-height: 1.5; color: var(--walnut-soft); }
.safe__list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.05rem; height: 1.05rem; border-radius: 50%;
  background: var(--moss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%231F5B50' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 75% no-repeat;
}
/* Tablet: Home safety + First aid in one column, Play & outdoors beside them. */
@media (min-width: 700px) and (max-width: 1023px) {
  .safe__checklist { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(2rem, 4vw, 3rem); border-top: 1px solid rgba(31, 91, 80, .14); padding-top: 1.5rem; }
  .safe__group--home { grid-column: 1; grid-row: 1; }
  .safe__group--aid  { grid-column: 1; grid-row: 2; padding-bottom: 0; }
  .safe__group--play { grid-column: 2; grid-row: 1 / span 2; padding-top: 0; border-top: 0; }
}

/* ==========================================================================
   HOME — "Starting with us, step by step" (Enrollment; scoped to .enrol)
   Image-free: the five-day settling-in schedule is the visual focus, drawn
   as one flat, colour-stepped track (no panel, no cards, no icon circles).
   ========================================================================== */
.enrol { background: #F5ECDD; }
.enrol__intro { max-width: 48rem; margin-bottom: clamp(2rem, 4vw, 2.75rem); }
.enrol__rule { display: block; width: 56px; height: 3px; border-radius: 3px; background: var(--honey); margin-bottom: 1.4rem; }
.enrol__intro h2 { margin-bottom: .45em; }
.enrol__intro .lede { margin-bottom: .6rem; }
.enrol__text { color: var(--walnut-soft); margin: 0; }

.settle-in { margin-bottom: clamp(2rem, 4vw, 2.75rem); }
.settle-in__head { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin-bottom: clamp(1.1rem, 2.5vw, 1.5rem); }
.settle-in__title { font-family: var(--font-display); font-weight: 400; font-size: var(--step-2); line-height: 1.2; color: var(--garden-deep); margin: 0; }
.settle-in__badge { margin: 0; padding: .35rem .85rem; border-radius: 999px; background: var(--moss); color: var(--garden-deep); font-weight: 700; font-size: .85rem; }

/* Phone: a vertical track — each day hangs off a coloured left rule. */
.settle-in__days { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.sday { margin: 0; padding: .1rem 0 .1rem 1.1rem; border-left: 4px solid var(--c); }
.sday__label { margin: 0 0 .15rem; font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; color: var(--garden); }
.sday__dur { margin: 0 0 .2rem; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.25; color: var(--garden-deep); }
.sday__text { margin: 0; font-size: .93rem; line-height: 1.5; color: var(--walnut-soft); }
.sday--1 { --c: var(--apricot); } .sday--2 { --c: #F0C58C; } .sday--3 { --c: var(--honey); } .sday--4 { --c: #8FB08E; } .sday--5 { --c: var(--garden); }

/* Tablet: a horizontal track in a deliberate 3 + 2 arrangement (no empty slot). */
@media (min-width: 600px) {
  .settle-in__days { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.6rem clamp(1rem, 2.5vw, 1.5rem); }
  .sday { grid-column: span 2; padding: 1rem 0 0; border-left: 0; border-top: 6px solid var(--c); border-radius: 3px 3px 0 0; }
  .sday--4, .sday--5 { grid-column: span 3; }
}
/* Desktop: all five days in one row. */
@media (min-width: 1024px) {
  .settle-in__days { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .sday, .sday--4, .sday--5 { grid-column: auto; }
}

/* Supporting notes: two plain text blocks, no cards or icons. */
.enrol__support { display: grid; gap: 1.25rem clamp(2rem, 5vw, 4rem); padding-top: clamp(1.5rem, 3vw, 2rem); border-top: 1px solid rgba(31, 91, 80, .14); margin-bottom: clamp(1.75rem, 3.5vw, 2.25rem); }
@media (min-width: 700px) { .enrol__support { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.enrol__block h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.22rem; line-height: 1.25; color: var(--garden-deep); margin: 0 0 .45em; }
.enrol__block p { margin: 0; font-size: .95rem; line-height: 1.55; color: var(--walnut-soft); max-width: 34rem; }
.enrol__cta { margin: 0; }

/* ==========================================================================
   HOME — "Tuition at a glance" (scoped to .tui). Image-free; figures come
   from data/tuition.php, verified against the Family Handbook.
   One semantic comparison table (no cards); monthly and weekly figures are
   given equal weight.
   ========================================================================== */
.tui { background: var(--linen); }
.tui__intro { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 2.75rem); }
.tui__rule { display: block; width: 56px; height: 3px; border-radius: 3px; background: var(--honey); margin-bottom: 1.4rem; }
.tui__intro h2 { margin-bottom: .45em; }
.tui__intro .lede { margin-bottom: 0; }

/* The comparison table sits on one calm paper surface. */
.tui__table-wrap {
  background: var(--paper); border: 1px solid rgba(31, 91, 80, .08); border-radius: 24px;
  padding: clamp(.6rem, 2.5vw, 1.6rem) clamp(.6rem, 3vw, 2rem) clamp(1rem, 2.5vw, 1.5rem);
  box-shadow: 0 2px 4px rgba(47, 59, 56, .04), 0 22px 44px -32px rgba(47, 59, 56, .35);
  margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem); overflow-x: auto;
}
/* Phones: no surface; the table uses the full width so prices never crowd. */
@media (max-width: 599px) {
  .tui__table-wrap { background: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; }
}
.tui__table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.tui__table th, .tui__table td { text-align: left; vertical-align: top; padding: .9rem .4rem; }
.tui__table th:first-child, .tui__table td:first-child { padding-left: 0; }
.tui__table th:last-child, .tui__table td:last-child { padding-right: 0; }
.tui__table thead th {
  padding-top: .55rem; padding-bottom: .7rem; border-bottom: 2px solid var(--honey);
  font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3; color: var(--garden);
}
.tui__table thead th:first-child { width: 30%; }
.tui__table tbody tr + tr th, .tui__table tbody tr + tr td { border-top: 1px solid rgba(31, 91, 80, .12); }
.tui__table tbody th { font-weight: 400; }
.tui__prog { display: block; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.25; color: var(--garden-deep); }
.tui__ages { display: block; margin-top: .2rem; font-size: .88rem; font-weight: 600; line-height: 1.35; color: var(--walnut); }
.tui__hours { display: block; margin-top: .1rem; font-size: .84rem; line-height: 1.4; color: var(--walnut-soft); }
.tui__type { display: block; margin-bottom: .2rem; font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--garden); }
.tui__price { display: block; font-family: var(--font-display); font-size: 1.02rem; line-height: 1.35; color: var(--garden-deep); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tui__unit { font-family: var(--font-body); font-size: .74rem; color: var(--walnut-soft); margin-left: .1rem; }
@media (min-width: 600px) {
  .tui__table th, .tui__table td { padding-inline: .9rem; }
  .tui__table thead th:first-child { width: 36%; }
  .tui__unit { font-size: .8rem; }
  .tui__prog { font-size: 1.25rem; }
  .tui__price { font-size: 1.25rem; }
}
@media (min-width: 1024px) {
  .tui__table thead th:first-child { width: 40%; }
  .tui__price { display: inline-block; margin-right: 1.4rem; }
}

.tui__options { list-style: none; margin: .4rem 0 0; padding: .9rem 0 0; border-top: 1px solid rgba(31, 91, 80, .12); display: grid; gap: .35rem; font-size: .88rem; line-height: 1.5; color: var(--walnut-soft); }
.tui__options li { margin: 0; }
.tui__options strong { color: var(--walnut); font-weight: 600; }

/* Registration + Good to know: one calm supporting area, no panels. */
.tui__info { display: grid; gap: 1.5rem clamp(2rem, 5vw, 4rem); margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem); }
@media (min-width: 760px) { .tui__info { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.tui__block h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.22rem; line-height: 1.25; color: var(--garden-deep); margin: 0 0 .6rem; }
.tui__fees { margin: 0; }
.tui__fees div { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 1rem; padding: .6rem 0; border-top: 1px solid rgba(31, 91, 80, .12); }
@media (max-width: 419px) { .tui__fees div { grid-template-columns: 1fr; gap: .1rem; } }
.tui__fees div:last-child { border-bottom: 1px solid rgba(31, 91, 80, .12); }
.tui__fees dt { font-size: .93rem; color: var(--walnut); }
.tui__fees dd { margin: 0; font-family: var(--font-display); font-size: 1.25rem; color: var(--garden-deep); white-space: nowrap; }
.tui__fees dd span { font-family: var(--font-body); font-size: .8rem; color: var(--walnut-soft); margin-left: .25rem; }
.tui__know { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.tui__know li { margin: 0; position: relative; padding-left: 1.1rem; font-size: .95rem; line-height: 1.5; color: var(--walnut); }
.tui__know li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--honey); }

.tui__note { margin: 0 0 1.25rem; font-size: .92rem; color: var(--walnut-soft); max-width: 46rem; }
.tui__cta { margin: 0; }
/* Tuition must never wait on animation: quick, short fade only */
.motion .tui [data-reveal] { transition-duration: .35s, .45s; --dist: 10px; }

/* ==========================================================================
   HOME — "A look inside" (Gallery; scoped to .look). Captions sit below or
   beside images so they never overlap; frames use fixed ratios (no jumps).
   Four approved images: one feature (gallery-01, portrait) + three supporting.
   ========================================================================== */
.look { background: #F5ECDD; }
.look__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem); }
.look__rule { display: block; width: 56px; height: 3px; border-radius: 3px; background: var(--honey); margin-bottom: 1.4rem; }
.look__head h2 { margin-bottom: .45em; }
.look__head .lede { max-width: 36rem; margin-bottom: 0; }
.look__disclosure { margin: .6rem 0 0; font-size: .88rem; color: var(--walnut-soft); }
.look__all { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; font-weight: 600; color: var(--garden-deep); text-decoration: none; white-space: nowrap; }
.look__all svg { width: 18px; height: 18px; transition: transform .25s ease; }
.look__all:hover { color: var(--garden); text-decoration: underline; }
.look__all:hover svg { transform: translateX(3px); }

.look__item { margin: 0; display: flex; flex-direction: column; min-width: 0; }
.look__frame { position: relative; border-radius: 22px; overflow: hidden; box-shadow: 0 1px 2px rgba(47, 59, 56, .05), 0 14px 30px -22px rgba(47, 59, 56, .4); background: var(--paper); }
.look__frame img, .look__frame picture { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; }
.look__frame img { transition: transform .7s var(--ease-out); }
.look__item:hover .look__frame img { transform: scale(1.03); }
.look__item figcaption { margin-top: .6rem; font-weight: 600; font-size: .95rem; color: var(--garden-deep); }

/* Phone: square feature (keeps all three faces and the book), then three
   compact rows — thumbnail with its caption beside it. */
.look__grid { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
.look__item--feature { margin-bottom: .35rem; }
.look__item--feature .look__frame img, .look__item--feature .look__frame picture { aspect-ratio: 1 / 1; }
.look__item:not(.look__item--feature) { display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr); align-items: center; gap: 1rem; }
.look__item:not(.look__item--feature) .look__frame { border-radius: 16px; }
.look__item:not(.look__item--feature) figcaption { margin-top: 0; }

/* Tablet: feature beside the three rows, close to its natural portrait ratio. */
@media (min-width: 600px) {
  .look__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem clamp(1.25rem, 3vw, 2rem); align-items: start; }
  .look__item--feature { grid-column: 1; grid-row: 1 / span 3; margin-bottom: 0; align-self: stretch; }
  .look__item--feature .look__frame img, .look__item--feature .look__frame picture { aspect-ratio: 4 / 5; }
  .look__item:not(.look__item--feature) { grid-template-columns: minmax(0, 55%) minmax(0, 1fr); }
}
/* Desktop: large feature beside one wide image above two smaller ones. */
@media (min-width: 900px) {
  .look__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.1rem, 2vw, 1.5rem); }
  .look__item--feature { grid-column: 1 / span 2; grid-row: 1 / span 2; }
  .look__item:not(.look__item--feature) { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .look__item:not(.look__item--feature) figcaption { margin-top: .6rem; }
  .look__item:not(.look__item--feature) .look__frame { border-radius: 22px; }
  .look__item:nth-child(2) { grid-column: 3 / span 2; grid-row: 1; }
  .look__item:nth-child(3) { grid-column: 3; grid-row: 2; }
  .look__item:nth-child(4) { grid-column: 4; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) { .look__frame img { transition: none; } .look__item:hover .look__frame img { transform: none; } }

/* ==========================================================================
   HOME — "About your provider" (scoped to .prov). Text-led until a REAL,
   approved provider.jpg exists; .prov--photo then adds the 4:5 portrait
   column automatically (never AI-generated). No cards, icons or pills.
   ========================================================================== */
.prov { background: var(--linen); }
.prov__grid { display: grid; gap: clamp(1.75rem, 4vw, 2.5rem); grid-template-areas: "intro" "details" "cta"; }
.prov--photo .prov__grid { grid-template-areas: "media" "intro" "details" "cta"; }
.prov__media { grid-area: media; margin: 0; width: 100%; max-width: 400px; justify-self: center; }
.prov__intro { grid-area: intro; }
.prov__details { grid-area: details; display: grid; gap: clamp(1.75rem, 4vw, 2.25rem); }
.prov__cta { grid-area: cta; margin: 0; }
@media (min-width: 900px) {
  .prov__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-rows: auto 1fr; grid-template-areas: "intro details" "cta details"; column-gap: clamp(3rem, 7vw, 6rem); row-gap: 1.75rem; align-items: start; }
  .prov--photo .prov__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); grid-template-rows: auto auto auto 1fr; grid-template-areas: "media intro" "media details" "media cta" "media ."; }
  .prov__media { max-width: 440px; justify-self: start; }
}

/* Future real portrait: fixed 4:5 frame so the photo drops in with no shift. */
.prov__frame { border-radius: 28px; overflow: hidden; background: var(--moss); box-shadow: 0 2px 4px rgba(47, 59, 56, .05), 0 22px 44px -30px rgba(47, 59, 56, .45); }
.prov__frame img, .prov__frame picture { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 0; }

.prov__rule { display: block; width: 56px; height: 3px; border-radius: 3px; background: var(--honey); margin-bottom: 1.4rem; }
.prov__intro h2 { margin-bottom: .3em; }
.prov__name { margin: 0 0 .9rem; font-family: var(--font-display); font-size: clamp(1.25rem, 1.05rem + .6vw, 1.5rem); color: var(--garden); }
.prov__intro .lede { max-width: 34rem; margin-bottom: 0; }

.prov__block h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.22rem; line-height: 1.25; color: var(--garden-deep); margin: 0 0 .6rem; }
.prov__block p { margin: 0 0 .6rem; font-size: .95rem; color: var(--walnut-soft); }
.prov__creds { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(31, 91, 80, .14); }
.prov__creds li { margin: 0; padding: .7rem 0 .7rem 1.4rem; position: relative; border-bottom: 1px solid rgba(31, 91, 80, .14); font-size: .97rem; line-height: 1.5; color: var(--walnut); }
.prov__creds li::before { content: ""; position: absolute; left: .15rem; top: 1.32em; width: 12px; height: 2px; border-radius: 2px; background: var(--honey); }
.prov__topics { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem 2rem; }
@media (min-width: 600px) { .prov__topics { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.prov__topics li { margin: 0; position: relative; padding-left: 1rem; font-size: .95rem; line-height: 1.5; color: var(--walnut); }
.prov__topics li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--garden); opacity: .55; }

/* ==========================================================================
   HOME — "What Families Say" (scoped to .voices). Real, approved quotes only;
   hidden from visitors when none exist. No images, no ratings, no review schema.
   ========================================================================== */
.voices { background: #F5ECDD; }
.voices__head { margin-bottom: clamp(1.75rem, 3.5vw, 2.5rem); }
.voices__rule { display: block; width: 56px; height: 3px; border-radius: 3px; background: var(--honey); margin-bottom: 1.4rem; }
.voices__head h2 { margin: 0; }

.voices__list { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1rem, 2vw, 1.5rem); }
.voices__list--one { max-width: 48rem; }
@media (min-width: 700px) { .voices__list--two { grid-template-columns: repeat(2, minmax(0, 1fr)); } .voices__list--many { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .voices__list--many { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.voice { margin: 0; }
.voice figure {
  margin: 0; height: 100%; display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid rgba(31, 91, 80, .08); border-radius: 24px; padding: clamp(1.4rem, 3vw, 1.9rem);
  box-shadow: 0 1px 2px rgba(47, 59, 56, .04), 0 14px 30px -22px rgba(47, 59, 56, .32);
}
.voice__mark { font-family: var(--font-display); font-size: 3.2rem; line-height: .7; color: var(--honey); margin-bottom: .6rem; }
.voice blockquote { margin: 0 0 1.1rem; flex: 1; }
.voice blockquote p { margin: 0; font-family: var(--font-display); font-size: clamp(1.1rem, 1rem + .35vw, 1.3rem); line-height: 1.5; color: var(--garden-deep); }
.voices__list--one .voice blockquote p { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem); }
.voice figcaption { font-weight: 600; font-size: .93rem; color: var(--walnut-soft); padding-top: .9rem; border-top: 1px solid var(--line); }

.voices__empty { display: flex; gap: 1rem; align-items: flex-start; max-width: 46rem; border: 2px dashed #D9CDBA; border-radius: 22px; padding: 1.35rem 1.5rem; background: rgba(255, 253, 248, .6); }
.voices__empty-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sky); color: var(--night); }
.voices__empty-icon svg { width: 22px; height: 22px; }
.voices__empty p { margin: 0 0 .4rem; font-size: .95rem; line-height: 1.55; color: var(--walnut); }
.voices__empty .voices__empty-title { font-family: var(--font-display); font-size: 1.15rem; color: var(--garden-deep); }
.voices__empty .voices__empty-note { font-size: .9rem; color: var(--walnut-soft); margin: .2rem 0 0; }
.voices__empty code { font-size: .92em; overflow-wrap: anywhere; }   /* keeps owner-note filenames at a readable size */

/* ==========================================================================
   HOME — "Common questions" (scoped to .qa). Native <details>/<summary>:
   keyboard-accessible by default; no FAQ structured data here (it lives on /faq).
   ========================================================================== */
.qa { background: var(--linen); }
.qa__grid { display: grid; row-gap: 0; grid-template-areas: "intro" "help" "list"; }
.qa__intro { grid-area: intro; }
.qa__intro .lede { margin-bottom: 0; }   /* the help panel's own 1.5rem margin sets the gap, as before */
.qa__list { grid-area: list; margin-top: clamp(2rem, 5vw, 3rem); }
/* Phones: the questions come first, then the "Still have a question?" panel. */
@media (max-width: 599px) { .qa__grid { grid-template-areas: "intro" "list" "help"; } .qa__list { margin-top: 1.5rem; } }
@media (min-width: 900px) { .qa__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-rows: auto 1fr; grid-template-areas: "intro list" "help list"; column-gap: clamp(3rem, 6vw, 5.5rem); align-items: start; } .qa__list { margin-top: 0; } }
.qa__rule { display: block; width: 56px; height: 3px; border-radius: 3px; background: var(--honey); margin-bottom: 1.4rem; }
.qa__intro h2 { margin-bottom: .4em; }
.qa__help { grid-area: help; margin-top: 1.5rem; background: var(--moss); border-radius: 20px; padding: 1.2rem 1.3rem 1.3rem; max-width: 30rem; }
.qa__help p { margin: 0 0 .35rem; color: var(--walnut); font-size: .97rem; }
.qa__help .qa__help-title { font-family: var(--font-display); font-size: 1.15rem; color: var(--garden-deep); }
/* Phone link: a 48px tap area via an invisible extension, so the text line keeps normal spacing. */
.qa__phone { position: relative; font-weight: 700; color: var(--garden-deep); white-space: nowrap; }
.qa__phone::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 48px; transform: translateY(-50%); }
.qa__cta { margin-top: .6rem; }

.qa__list { display: grid; gap: .7rem; }
.qa__item { background: var(--paper); border: 1px solid rgba(31, 91, 80, .1); border-radius: 18px; box-shadow: 0 1px 2px rgba(47, 59, 56, .04), 0 10px 22px -18px rgba(47, 59, 56, .3); }
.qa__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 56px; padding: .85rem 1.1rem .85rem 1.25rem; border-radius: 18px;
  font-weight: 600; font-size: 1.02rem; line-height: 1.4; color: var(--garden-deep);
}
.qa__item summary::-webkit-details-marker { display: none; }
.qa__item summary:hover { background: #FBF7F0; }
.qa__item summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.qa__icon { flex: none; position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--honey-soft); }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px; background: #8A5A00; transform: translate(-50%, -50%); transition: transform .2s ease; }
.qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa__item[open] .qa__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa__item[open] summary { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.qa__a { padding: 0 1.25rem 1.15rem; }
.qa__a p { margin: 0; font-size: .97rem; line-height: 1.6; color: var(--walnut-soft); max-width: 60ch; }
.qa__a a { color: var(--garden-deep); font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .qa__icon::before, .qa__icon::after { transition: none; } }

/* ==========================================================================
   HOME — closing call to action (scoped to .cta-final; homepage only).
   The shared .cta-band / cta_band() used on other pages is untouched.
   Card uses --garden (#1F5B50), lighter than the footer (#164238), and sits
   on the cream background so it never merges with the footer.
   ========================================================================== */
.cta-final { background: var(--linen); padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.cta-final__card {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--garden); color: #F3F1E8; border-radius: 32px;
  padding: clamp(2rem, 5vw, 3.75rem) clamp(1.4rem, 5vw, 4rem);
  box-shadow: 0 2px 4px rgba(22, 66, 56, .1), 0 30px 60px -36px rgba(22, 66, 56, .6);
}
.cta-final__glow { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.cta-final__glow--sun  { width: 340px; height: 340px; right: -110px; top: -140px; background: radial-gradient(circle, rgba(242, 182, 50, .28), rgba(242, 182, 50, 0) 70%); }
.cta-final__glow--sage { width: 300px; height: 300px; left: -120px; bottom: -150px; background: radial-gradient(circle, rgba(143, 176, 142, .3), rgba(143, 176, 142, 0) 70%); }
.cta-final__body { max-width: 44rem; }
.cta-final__rule { display: block; width: 56px; height: 3px; border-radius: 3px; background: var(--honey); margin-bottom: 1.4rem; }
.cta-final h2 { color: #FFFDF8; margin: 0 0 .5em; }
.cta-final__text { margin: 0 0 1.6rem; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.6; color: #E6EEEA; max-width: 40rem; }
.cta-final__actions { margin: 0 0 1.75rem; }
.cta-final__secondary { background: transparent; color: #FFFDF8; border: 2px solid rgba(255, 253, 248, .75); }
.cta-final__secondary:hover { background: rgba(255, 253, 248, .1); color: #fff; border-color: #fff; }
.cta-final a:focus-visible { outline: 3px solid var(--honey); outline-offset: 3px; }
.cta-final__facts { list-style: none; margin: 0; padding: 1.25rem 0 0; border-top: 1px solid rgba(255, 253, 248, .18); display: flex; flex-wrap: wrap; gap: .5rem 2rem; }
.cta-final__facts li { margin: 0; display: flex; align-items: center; gap: .6rem; font-size: .95rem; color: #E6EEEA; }
.cta-final__icon { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 253, 248, .12); color: var(--honey); }
.cta-final__icon svg { width: 17px; height: 17px; }
.cta-final__time { white-space: nowrap; }
.cta-final__phone { color: #FFFDF8; font-weight: 700; white-space: nowrap; display: inline-block; min-height: 48px; padding: .7rem 0; text-decoration: underline; text-underline-offset: 3px; }
.cta-final__phone:hover { color: var(--honey); }

/* ---------- Brand tagline "Discover · Grow · Shine" (owner request 2026-10-15) ---------- */
.tagline { font-family: var(--font-body); font-weight: 700; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--garden); margin: .35rem 0 .9rem; }
.tagline__dot { color: var(--honey); font-weight: 800; padding-inline: .15em; }
.tagline--footer { color: #E3ECE8; margin: 0 0 .55rem; }

/* Header logo tagline "Discover • Grow • Shine" (owner request 2026-10-15). Part of the logotype:
   aria-hidden (the link already reads "Treasure Kids Place — home"); colours from the brand palette sheet. */
.brand { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; }
.brand__tagline { display: flex; align-items: center; justify-content: center; gap: .32em; margin-top: 2px; font-family: var(--font-body); font-weight: 800; font-size: 9.5px; line-height: 1; letter-spacing: .07em; text-transform: uppercase; white-space: nowrap; }
.brand__t1 { color: #08788B; } .brand__t2 { color: #72B52A; } .brand__t3 { color: #673AB7; }
.brand__d1 { color: #F4B323; } .brand__d2 { color: #E83E70; }
@media (min-width: 768px) { .brand__tagline { font-size: 10.5px; } }
@media (min-width: 1024px) { .brand__tagline { font-size: 11px; } }

/* Leadership bios may have several paragraphs (Kenny's profile, 2026-10-15). */
.leader__bio p { margin: 0 0 .75em; }
.leader__bio p:last-child { margin-bottom: 0; }

/* Tuition page: contact-for-rates card and online payment (owner decision 2026-10-18). */
.tuition-contact { max-width: 46rem; margin-bottom: 1.5rem; }
.pay-online { display: grid; gap: 1.25rem 2rem; align-items: center; max-width: 46rem; margin-bottom: 1.5rem; }
.pay-online__qr { width: 180px; height: 180px; border-radius: var(--r-sm); background: #fff; padding: 8px; border: 1px solid var(--line); }
@media (min-width: 640px) { .pay-online { grid-template-columns: minmax(0, 1fr) auto; } .pay-online__qr { width: 200px; height: 200px; } }
