/* Happy Faces Child Care — "Valle" pastel valley system
   User-pinned brief: nature, pastel colors, mountains and valleys, kid-friendly.
   Pastel sky, Blue Mountains, rolling hills; each section is a hill band with a curved edge. */

:root {
  --sky-top: #bfe2f6;
  --sky: #e3f2fb;
  --meadow: #d9efd2;
  --wheat: #fbefc9;
  --sage: #cfe5c6;
  --lavender: #e6e2f8;
  --mint: #d6efe1;
  --peach: #ffe1cf;
  --dusk: #5b5f97;
  --dusk-deep: #464a80;
  --sun: #ffd36e;          /* the action: Book a tour, selected age, the sun */
  --sun-deep: #f2b632;
  --coral: #f08a6c;
  --leaf: #4f9a5c;
  --ink: #2d3047;          /* valley ink */
  --ink-2: #4f5574;
  --card: #ffffff;
  --line: rgba(45, 48, 71, .12);

  --font-head: "Fredoka", "Avenir Next Rounded", "Nunito", sans-serif;
  --font-body: "Nunito", "Avenir Next", "Segoe UI", sans-serif;

  --step-0: 1.0625rem;
  --step-1: 1.3125rem;
  --step-2: 1.75rem;
  --step-3: clamp(2rem, 1.4rem + 2.2vw, 3.1rem);
  --step-4: clamp(2.6rem, 1.6rem + 4vw, 5rem);

  --wrap: 1200px;
  --gutter: max(clamp(18px, 4vw, 56px), calc((100vw - var(--wrap)) / 2));
  --radius: 28px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
  --shadow: 0 2px 4px rgba(45, 48, 71, .08), 0 18px 40px -22px rgba(45, 48, 71, .45);

  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 20px; scrollbar-color: var(--sun-deep) var(--sky); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; overflow-x: clip; background: var(--sky-top); color: var(--ink); font-family: var(--font-body); font-size: var(--step-0); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: .22em; text-decoration-color: var(--coral); }
a:hover { color: var(--leaf); }
a[href^="tel:"] { white-space: nowrap; }
::selection { background: var(--sun); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 10px; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; max-width: 64ch; }
p, li, dd, figcaption { text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; font-family: var(--font-head); font-weight: 600; letter-spacing: -.005em; line-height: 1.05; color: var(--ink); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

html[lang="en"] [lang="es"]:not(html):not(.keep),
html[lang="es"] [lang="en"]:not(html):not(.keep) { display: none !important; }
html[lang="en"] .alt[lang="en"], html[lang="es"] .alt[lang="es"] { display: none !important; }

.skip { position: absolute; left: 12px; top: -60px; background: var(--sun); color: var(--ink); padding: 10px 14px; z-index: 50; border-radius: 12px; font-weight: 800; }
.skip:focus { top: 12px; }

/* leftovers from earlier markup that this world does not use */
.rings, .letter-mark, .flip, .tag-loop { display: none !important; }

/* ---------- frame ---------- */
.deck { position: relative; }
main { display: block; }

/* ---------- header (sits in the sky) ---------- */
.masthead { position: relative; z-index: 5; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px 26px; padding: clamp(14px, 2vw, 22px) var(--gutter) 10px; }
.masthead__logo { background: #fff; border-radius: 999px; padding: 9px 20px; box-shadow: var(--shadow); display: inline-block; }
.masthead__logo img { width: clamp(140px, 14vw, 180px); height: auto; }
.nav { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }
.nav a { text-decoration: none; font-family: var(--font-head); font-weight: 500; font-size: 1rem; padding: 9px 15px; border-radius: 999px; color: var(--ink); transition: background-color .25s var(--ease-out), transform .35s var(--ease-bounce); }
.nav a:hover { background: rgba(255, 255, 255, .7); color: var(--ink); transform: translateY(-2px); }
.nav a[aria-current="page"] { background: #fff; box-shadow: 0 2px 6px rgba(45, 48, 71, .12); }
.masthead__end { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; background: rgba(255, 255, 255, .7); border-radius: 999px; padding: 4px; font-family: var(--font-head); font-weight: 600; font-size: .9375rem; }
.lang button { border: 0; background: transparent; padding: 7px 13px; min-height: 40px; min-width: 44px; border-radius: 999px; cursor: pointer; color: var(--ink-2); transition: background-color .2s var(--ease-out), color .2s; }
.lang button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.lang button:hover:not([aria-pressed="true"]) { color: var(--ink); background: #fff; }

/* ---------- the action: sun-yellow button ---------- */
.tag-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 54px; padding: .75em 1.5em; border: 0; cursor: pointer; text-decoration: none; white-space: nowrap;
  background: var(--sun); color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: 1.125rem; line-height: 1; border-radius: 999px;
  box-shadow: 0 2px 0 rgba(242, 182, 50, .6) inset, 0 3px 6px rgba(160, 110, 0, .18), 0 14px 26px -14px rgba(160, 110, 0, .6);
  transition: transform .4s var(--ease-bounce), box-shadow .35s var(--ease-out), background-color .2s; }
.tag-btn:hover { color: var(--ink); background: #ffdc85; transform: translateY(-3px) scale(1.03); }
.tag-btn:active { transform: translateY(1px) scale(.98); }
.tag-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.tag-btn[disabled] { opacity: .6; cursor: progress; }
.tag-btn--sm { min-height: 44px; font-size: 1rem; padding: .6em 1.15em; }
.tag-btn--lg { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); min-height: 60px; padding: .8em 1.7em; }
.tag-btn .short { display: none; }

/* ---------- bands (each section is a hill) ---------- */
.band { position: relative; padding: clamp(40px, 5vw, 72px) var(--gutter) clamp(64px, 7vw, 108px); background: var(--band, var(--sky)); }
.band__edge { position: absolute; left: 0; width: 100%; height: clamp(40px, 5vw, 90px); top: calc(-1 * clamp(40px, 5vw, 90px) + 1px); fill: var(--band, var(--sky)); display: block; }
.band--meadow { --band: var(--meadow); }
.band--sky { --band: var(--sky); }
.band--wheat { --band: var(--wheat); }
.band--sage { --band: var(--sage); }
.band--lavender { --band: var(--lavender); }
.band--mint { --band: var(--mint); }
.band--peach { --band: var(--peach); }

/* ---------- labels & heads ---------- */
.label { display: block; font-family: var(--font-head); font-size: .8125rem; line-height: 1.3; font-weight: 600; letter-spacing: .02em; color: var(--leaf); }
.label i { font-style: normal; font-weight: 400; color: var(--ink-2); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px 40px; flex-wrap: wrap; margin: 0 0 clamp(24px, 3vw, 38px); }
.section-head h2 { font-size: var(--step-3); }
.section-head h2 .sub { display: block; font-family: var(--font-body); font-size: .4em; font-weight: 700; margin-top: .5em; color: var(--ink-2); letter-spacing: 0; }
.section-head p { margin: 0; color: var(--ink-2); max-width: 44ch; }
.link-print { font-family: var(--font-head); font-weight: 600; color: var(--ink); }

/* ---------- landscape hero ---------- */
.band--hero { --band: var(--sky-top); overflow: hidden; padding-top: clamp(20px, 3vw, 40px); }
.landscape { position: absolute; inset: auto 0 0 0; pointer-events: none; z-index: 0; overflow: hidden; }
.landscape svg { display: block; width: 100%; height: 100%; }
.landscape--big { height: clamp(320px, 38vw, 500px); }
.landscape--small { height: clamp(220px, 24vw, 320px); }
.landscape [data-depth] { will-change: transform; }
.cloud { animation: drift 60s linear infinite alternate; }
.cloud.c2 { animation-duration: 80s; animation-delay: -20s; }
.cloud.c3 { animation-duration: 70s; animation-delay: -35s; }
@keyframes drift { to { transform: translateX(60px); } }
@media (prefers-reduced-motion: reduce) { .cloud { animation: none; } }
.band--hero > *:not(.landscape) { position: relative; z-index: 1; }

.hero { padding-bottom: clamp(30px, 4vw, 54px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(26px, 4vw, 70px); align-items: start; min-height: clamp(380px, 38vw, 520px); }
.hero h1 { font-size: var(--step-4); line-height: 1; margin-bottom: .35em; max-width: 11ch; }
.hero__lede { font-size: var(--step-1); line-height: 1.5; max-width: 34ch; color: var(--ink); }
.hero__lede strong { font-weight: 800; }
.cta-line { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: clamp(18px, 2.4vw, 30px); }
.cta-line .or { color: var(--ink-2); font-weight: 600; }
.cta-line .or a { font-weight: 800; color: var(--ink); }
.hero__patch { margin-top: clamp(30px, 8vw, 120px); }

/* ---------- photos in soft frames ---------- */
.patch { position: relative; margin: 0; transform: rotate(var(--tilt, 0deg)); transition: transform .5s var(--ease-bounce); }
.patch:hover { transform: rotate(0deg) translateY(-4px); }
.patch img { width: 100%; height: auto; aspect-ratio: var(--ar, 4 / 3); object-fit: cover; border-radius: var(--radius); border: 8px solid #fff; box-shadow: var(--shadow); }
.patch figcaption { font-family: var(--font-head); font-weight: 500; font-size: .9375rem; color: var(--ink-2); padding: 10px 10px 0; }

/* ---------- why families choose us ---------- */
.mini-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.mini { background: var(--card); border-radius: var(--radius); padding: 12px 12px 24px; box-shadow: var(--shadow); transition: transform .5s var(--ease-bounce); }
.mini:nth-child(1) { transform: rotate(-1.2deg); }
.mini:nth-child(2) { transform: translateY(12px) rotate(.8deg); }
.mini:nth-child(3) { transform: rotate(1.4deg); }
.mini:hover { transform: translateY(-6px) rotate(0); }
.mini img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: calc(var(--radius) - 8px); margin-bottom: 16px; }
.mini h3, .mini p { padding: 0 12px; }
.mini h3 { font-size: var(--step-2); margin-bottom: 6px; }
.mini p { color: var(--ink-2); margin: 0; }

/* ---------- sun path (signature) ---------- */
.now-card__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(26px, 4vw, 64px); align-items: center; }
.now-card h2 { font-size: var(--step-3); margin-bottom: 14px; max-width: 12ch; }
.now-card p { color: var(--ink-2); max-width: 36ch; }
.sunpath { background: linear-gradient(180deg, #cde9fa 0%, #fdf1e6 100%); border-radius: var(--radius); padding: 18px 18px 22px; box-shadow: var(--shadow); }
.sunpath__sky { width: 100%; height: auto; display: block; overflow: visible; }
.sunpath__arc { fill: none; stroke: var(--ink-2); stroke-width: 2.5; stroke-dasharray: 2 9; stroke-linecap: round; opacity: .45; }
.sunpath__ticks circle { fill: #fff; stroke: rgba(45, 48, 71, .25); stroke-width: 1.5; }
.sunpath__sun { transition: transform 1.2s var(--ease-out); }
.sun-glow { fill: var(--sun); opacity: .35; }
.moon { display: none; }
.is-night .sun-glow, .is-night .sun-disc { display: none; }
.is-night .moon { display: block; }
.is-night { background: linear-gradient(180deg, #8a8fc4 0%, #c9c6ea 100%); }
.sunpath__hills { fill: #b9dcb0; }
.sunpath__hills2 { fill: #9fd09a; }
.sunpath__sky text { font-family: var(--font-head); font-size: 15px; fill: var(--ink); }
.sunpath__read { display: grid; gap: 4px; padding: 6px 8px 0; }
.sunpath__clock { font-family: var(--font-head); font-weight: 500; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.sunpath__what { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); line-height: 1.02; }
.sunpath__next { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 4px; }
.sunpath__next li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 10px; font-weight: 700; }
.sunpath__next .t { color: var(--ink-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.is-night .sunpath__clock, .is-night .sunpath__next .t { color: #2d3047; }

/* ---------- the day log ---------- */
.daylog { max-width: 1000px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.daylog__status { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; justify-content: space-between; padding: 16px 22px; background: var(--ink); color: #fff; }
.daylog__status .label { color: #c7e9c0; }
.daylog__status .label i { color: #e6e2f8; }
.now-text { font-family: var(--font-head); font-weight: 600; font-size: 1.375rem; color: var(--sun); font-variant-numeric: tabular-nums; }
.daylog ol { list-style: none; margin: 0; padding: 0; }
.row { position: relative; }
.row + .row { border-top: 2px solid var(--line); }
.row__btn { width: 100%; display: grid; grid-template-columns: 8.5rem minmax(0, 1fr) 2.6rem; align-items: center; gap: 16px; padding: 13px 22px; background: none; border: 0; text-align: left; cursor: pointer; min-height: 60px; transition: background-color .2s; }
.row__btn:hover { background: #f6fbf4; }
.row__time { font-weight: 700; font-size: .9375rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.row__what { font-family: var(--font-head); font-weight: 600; font-size: var(--step-1); line-height: 1.2; }
.row__what .alt { display: block; font-family: var(--font-body); font-weight: 600; font-size: .875rem; color: var(--ink-2); margin-top: 2px; }
.nw { white-space: nowrap; }
.row__btn .chev { display: inline-block; width: 12px; height: 12px; margin-left: 8px; vertical-align: middle; color: var(--leaf); transition: transform .3s var(--ease-out); }
.row[data-open="true"] .chev { transform: rotate(90deg); }
.row__mark { width: 32px; height: 32px; justify-self: center; }
.row__mark path { fill: none; stroke: var(--leaf); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.row.is-now { background: #fff0c2; }
.row.is-now .row__btn:hover { background: transparent; }
.row.is-now .row__mark path { stroke: var(--sun-deep); }
.now-tag { position: absolute; right: 70px; top: 50%; transform: translateY(-50%); display: none; font-family: var(--font-head); font-weight: 600; font-size: .8125rem; color: var(--ink); background: var(--sun); padding: 5px 12px; border-radius: 999px; }
.now-tag svg { display: none; }
.row.is-now .now-tag { display: inline-block; }
.row__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.row[data-open="true"] .row__more { grid-template-rows: 1fr; }
.row__more > div { overflow: hidden; }
.row__inner { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr) minmax(0, 260px); gap: 16px; padding: 0 22px 22px; }
.row__inner p { grid-column: 2; margin: 0; }
.row__inner .patch { grid-column: 3; }
.row__inner .patch img { border-width: 5px; border-radius: 20px; }
.daylog__notes { display: none; }

/* ---------- Antonia ---------- */
.letter-wrap { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .85fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.letter h1 { font-size: var(--step-4); line-height: 1; margin-bottom: 22px; max-width: 9ch; }
.letter h2 { font-size: var(--step-3); margin-bottom: 18px; }
.letter__body { font-size: clamp(1.0625rem, 1rem + .25vw, 1.1875rem); line-height: 1.75; }
.letter__body p { max-width: 56ch; }
.signature { font-family: var(--font-head); font-weight: 600; font-size: 1.75rem; color: var(--leaf); margin-top: 6px; }
.signature small { display: block; font-family: var(--font-body); font-size: .875rem; font-weight: 700; color: var(--ink-2); margin-top: 4px; }
.signature small i { font-style: normal; font-weight: 600; }
.letter-side { display: grid; gap: 28px; }
.timeline { list-style: none; margin: 0; padding: 10px 22px; background: rgba(255, 255, 255, .85); border-radius: var(--radius); box-shadow: var(--shadow); }
.timeline li { display: grid; grid-template-columns: 6.5rem 1fr; gap: 12px; padding: 11px 0; font-size: .9688rem; }
.timeline li + li { border-top: 2px solid var(--line); }
.timeline b { font-family: var(--font-head); color: var(--leaf); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- ages ---------- */
.box { width: 34px; height: 34px; grid-row: span 2; }
.box rect { fill: #fff; stroke: var(--ink); stroke-width: 2.4; rx: 9; }
.box path { fill: none; stroke: var(--ink); stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; transition: stroke-dashoffset .45s var(--ease-out); }
.age-opt__name { font-family: var(--font-head); font-weight: 600; font-size: var(--step-2); line-height: 1; }
.age-opt__ages { font-weight: 700; color: var(--ink-2); font-size: .9375rem; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; padding: 10px 0; align-items: start; }
.ticks li + li { border-top: 2px solid var(--line); }
.ticks li svg { width: 22px; height: 22px; margin-top: 2px; }
.ticks li svg path { fill: none; stroke: var(--leaf); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.ticks b { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.0625rem; }
.ticks .d { display: block; color: var(--ink-2); font-size: .9375rem; }
.price-slip { background: #fff; padding: 20px 22px 18px; border-radius: 24px; align-self: start; box-shadow: var(--shadow); }
.ps-title { font-family: var(--font-head); font-size: 1.125rem; font-weight: 600; margin: 0 0 4px; }
.ps-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; padding: 12px 0 10px; }
.ps-row > * { min-width: 0; }
.ps-row + .ps-row { border-top: 2px solid var(--line); }
.ps-name { grid-column: 1 / -1; font-weight: 800; font-size: .9375rem; }
.ps-k { display: block; font-size: .8125rem; font-weight: 700; color: var(--ink-2); }
.ps-amt b { display: block; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.35rem, 1.05rem + .7vw, 1.65rem); line-height: 1.1; font-variant-numeric: tabular-nums; }
.ps-amt small { display: block; color: var(--ink-2); font-size: .8125rem; font-weight: 600; }
.price-slip .fine { font-size: .8125rem; color: var(--ink-2); margin: 10px 0 0; }

/* ---------- our home ---------- */
.patchwork { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 16vw, 220px); gap: 14px; }
.block { position: relative; margin: 0; overflow: hidden; border-radius: 24px; border: 6px solid #fff; box-shadow: var(--shadow); background: #fff; }
.block img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; transition: transform .7s var(--ease-out); }
.block:hover img { transform: scale(1.05); }
.block figcaption { position: absolute; left: 10px; bottom: 10px; z-index: 1; background: #fff; color: var(--ink); font-family: var(--font-head); font-weight: 500; font-size: .875rem; padding: 6px 12px; border-radius: 999px; box-shadow: 0 2px 6px rgba(45, 48, 71, .2); }
.block:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.block:nth-child(2) { grid-row: span 2; }
.callpin { position: absolute; z-index: 2; width: 0; height: 0; }
.callpin::before { content: ""; position: absolute; left: -8px; top: -8px; width: 16px; height: 16px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px #fff, 0 2px 6px rgba(0, 0, 0, .35); }
.callpin::after { content: ""; position: absolute; left: 0; top: -1px; width: 44px; height: 2.5px; background: #fff; transform-origin: 0 50%; transform: rotate(-40deg); box-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.callpin i { position: absolute; left: 30px; bottom: 24px; white-space: nowrap; font-style: normal; background: #fff; color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: .875rem; padding: 6px 12px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.callpin--down::after { transform: rotate(40deg); top: 0; }
.callpin--down i { bottom: auto; top: 24px; }

/* ---------- notes ---------- */
.notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 8px 0; }
.note { padding: 20px 26px; }
.note + .note { border-left: 2px solid var(--line); }
.note h3 { font-size: var(--step-1); line-height: 1.2; margin-bottom: 8px; }
.note p { color: var(--ink-2); font-size: .9688rem; margin: 0; }
.notes--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.notes--2 .note + .note { border-left: 0; }
.notes--2 .note:nth-child(even) { border-left: 2px solid var(--line); }
.notes--2 .note:nth-child(n+3) { border-top: 2px solid var(--line); }

/* ---------- Antonia teaser ---------- */
.story-card__grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.story-card .patch { --tilt: -2deg; max-width: 360px; }
.story-card h2 { font-size: var(--step-3); margin-bottom: 16px; max-width: 16ch; }
.story-card p { color: var(--ink-2); font-size: var(--step-1); line-height: 1.5; max-width: 40ch; }

/* ---------- visit ---------- */
.visit__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.visit h2 { font-size: var(--step-4); line-height: 1; margin-bottom: 16px; max-width: 10ch; }
.visit p { color: var(--ink-2); font-size: var(--step-1); max-width: 34ch; }
.contact { list-style: none; margin: 0; padding: 10px 24px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 13px 0; align-items: start; }
.contact li + li { border-top: 2px solid var(--line); }
.contact svg { width: 22px; height: 22px; color: var(--leaf); margin-top: 2px; }
.contact a { font-weight: 800; }

/* ---------- footer: dusk over the valley ---------- */
.foot { position: relative; display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; align-items: center; padding: 34px var(--gutter) 30px; color: #e6e2f8; font-family: var(--font-head); font-size: .9375rem; background-color: var(--dusk); background-image: radial-gradient(1.5px 1.5px at 12% 30%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 38% 62%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 71% 24%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 88% 70%, #fff 50%, transparent 51%); }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: -40px; height: 41px; background: var(--dusk); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C 300 0 600 10 900 24 S 1300 30 1440 6 V40Z'/%3E%3C/svg%3E") 0 0 / 100% 100%; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath d='M0 40 C 300 0 600 10 900 24 S 1300 30 1440 6 V40Z'/%3E%3C/svg%3E") 0 0 / 100% 100%; }
.foot a { text-decoration: none; color: #fff; }
.foot a:hover { color: var(--sun); text-decoration: underline; }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- inner page intro ---------- */
.page-intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .9fr); gap: clamp(26px, 4vw, 60px); align-items: start; padding-bottom: clamp(170px, 20vw, 280px); }
.page-intro h1 { font-size: var(--step-4); line-height: 1; margin-bottom: .35em; max-width: 12ch; }
.page-intro p { font-size: var(--step-1); line-height: 1.5; max-width: 38ch; }
.page-intro .aside { font-size: 1.0625rem; color: var(--ink-2); margin: 0; font-weight: 600; }
.page-intro .aside a { color: var(--ink); font-weight: 800; }
.fields { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fields--wide { grid-column: 1 / -1; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.field { background: rgba(255, 255, 255, .92); border-radius: 18px; padding: 12px 14px; box-shadow: 0 2px 6px rgba(45, 48, 71, .08); }
.field--wide { grid-column: 1 / -1; }
.fields--wide .field--wide { grid-column: auto; }
.field .value { margin: 2px 0 0; font-family: var(--font-head); font-weight: 600; font-size: 1.0625rem; line-height: 1.3; }

/* programs */
.program { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, .9fr); gap: clamp(22px, 3vw, 46px); align-items: start; scroll-margin-top: 20px; }
.age-big { display: inline-block; font-family: var(--font-head); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); font-weight: 600; line-height: 1; color: var(--ink); background: var(--sun); padding: 8px 18px; border-radius: 999px; margin-bottom: 14px; }
.program__head h2 { font-size: var(--step-3); margin-bottom: 12px; }
.program__head p { color: var(--ink-2); }

/* rates */
.tuition { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.tuition th, .tuition td { padding: 18px 22px 16px; text-align: left; vertical-align: baseline; }
.tuition thead th { background: var(--ink); }
.tuition thead .label { display: inline; color: #c7e9c0; }
.tuition thead .label i { color: #e6e2f8; }
.tuition tbody tr + tr th, .tuition tbody tr + tr td { border-top: 2px solid var(--line); }
.tuition tbody th { font-family: var(--font-head); font-weight: 600; font-size: var(--step-1); }
.tuition tbody th small { display: block; font-family: var(--font-body); font-weight: 600; font-size: .9375rem; color: var(--ink-2); }
.tuition td.amt { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.25rem); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tuition td.amt small { font-family: var(--font-body); font-size: .42em; font-weight: 600; color: var(--ink-2); }
.tuition td.amt .call { display: block; font-family: var(--font-body); font-size: .4em; font-weight: 700; color: var(--leaf); margin-top: 4px; }

/* tour form */
.tour-form { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(18px, 3vw, 36px); }
.received.tour-form { background: transparent; box-shadow: none; padding: 0; }
.tf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.tf { padding: 14px 0 16px; min-width: 0; border-bottom: 2px solid var(--line); }
.tf--wide { grid-column: 1 / -1; }
.tf--wide:last-child { border-bottom: 0; }
.tf .label { margin-bottom: 6px; }
.tf fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.tf input[type="text"], .tf input[type="tel"], .tf input[type="email"], .tf select, .tf textarea {
  width: 100%; border: 2px solid transparent; border-radius: 16px; background: #f1f7ee; padding: 11px 16px; min-height: 52px;
  font-family: var(--font-body); font-size: 1.125rem; font-weight: 700; color: var(--ink); caret-color: var(--leaf); -webkit-appearance: none; appearance: none; }
.tf select { background: #f1f7ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232d3047' stroke-width='2'/%3E%3C/svg%3E") right 16px center / 14px no-repeat; padding-right: 40px; cursor: pointer; }
.tf textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.tf input::placeholder, .tf textarea::placeholder { color: #5d6380; font-weight: 600; }
.tf input:focus, .tf select:focus, .tf textarea:focus { outline: none; border-color: var(--leaf); background-color: #fff; }
.tf[data-invalid="true"] input, .tf[data-invalid="true"] select { border-color: #c4472d; }
.tf .err { display: none; color: #b23c22; font-weight: 800; font-size: .875rem; margin-top: 6px; }
.tf[data-invalid="true"] .err { display: block; }
.pair { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px 18px; padding-top: 4px; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; min-height: 44px; }
.chip input { position: absolute; opacity: 0; }
.chip .box { width: 28px; height: 28px; }
.chip input:checked + .box path { stroke-dashoffset: 0; }
.dot .ring { fill: #fff; stroke: var(--ink); stroke-width: 2.4; }
.dot .pip { fill: var(--sun-deep); transform: scale(0); transform-origin: 17px 17px; transition: transform .35s var(--ease-bounce); }
.chip input:checked + .dot .pip { transform: scale(1); }
.chip input:focus-visible + .box { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 50%; }
.chip span.t { font-family: var(--font-head); font-weight: 600; font-size: 1.0625rem; }
.tf-actions { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; padding: 26px 0 6px; }
.cta-or { color: var(--ink-2); font-weight: 600; }
.cta-or a { font-weight: 800; color: var(--ink); }
.form-status { font-weight: 800; color: var(--ink-2); }
.consent { font-size: .8125rem; color: var(--ink-2); max-width: 70ch; margin: 12px 0 0; }
.received { display: none; padding: 24px 0 8px; }
.received.is-shown { display: block; }
.received__tag { display: inline-block; background: var(--sun); color: var(--ink); font-family: var(--font-head); font-weight: 600; font-size: var(--step-2); padding: 12px 26px; border-radius: 999px; }
.received__msg { font-size: var(--step-1); margin-top: 22px; max-width: 46ch; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .letter-wrap { grid-template-columns: 1fr; }
  .letter-side { grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); align-items: start; }
  .program { grid-template-columns: 1fr 1fr; }
  .program > .patch { grid-column: 1 / -1; max-width: 520px; }
  .patchwork { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fields--wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .mini-row { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .mini:nth-child(n) { transform: none; }
  .now-card__grid, .story-card__grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .masthead { grid-template-columns: 1fr auto; }
  .nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)); padding: 0 40px 4px var(--gutter); -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; background: rgba(255, 255, 255, .55); }
  .hero__grid, .page-intro, .visit__grid { grid-template-columns: 1fr; }
  .hero__grid { min-height: 0; }
  .hero__patch { margin-top: 0; max-width: 520px; }
  .landscape--big { height: 300px; }
  .hero { padding-bottom: 120px; }
  .landscape--big svg { height: 100%; }
  .row__inner { grid-template-columns: 1fr; padding: 0 16px 20px; }
  .row__inner p, .row__inner .patch { grid-column: 1; }
  .row__inner .patch { max-width: 320px; }
  .notes, .notes--2 { grid-template-columns: 1fr; }
  .note + .note, .notes--2 .note:nth-child(n) { border-left: 0; }
  .note + .note { border-top: 2px solid var(--line); }
  .program { grid-template-columns: 1fr; }
  .patchwork { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 160px; gap: 10px; }
  .block:nth-child(1) { grid-column: span 2; grid-row: span 2; }
  .block:nth-child(2) { grid-row: span 1; }
  .block:last-child { grid-column: span 2; }
  .tf-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .row__btn { grid-template-columns: minmax(0, 1fr) 2.2rem; grid-template-rows: auto auto; gap: 2px 10px; padding: 12px 16px; }
  .row__time { grid-column: 1; grid-row: 1; font-size: .8125rem; }
  .row__what { grid-column: 1; grid-row: 2; }
  .row__mark { grid-column: 2; grid-row: 1 / span 2; }
  .now-tag { right: 54px; top: 14px; transform: none; }
  .sunpath__next li { grid-template-columns: 1fr; gap: 0; }
  .sunpath__next .t { font-size: .875rem; }
}
@media (max-width: 560px) {
  .masthead { gap: 10px; }
  .masthead__logo { padding: 7px 14px; }
  .masthead__logo img { width: 124px; }
  .lang button { padding: 6px 10px; min-width: 38px; }
  .masthead__end { gap: 8px; }
  .tag-btn--sm .long { display: none; }
  .tag-btn--sm .short { display: inline; }
  .letter-side { grid-template-columns: 1fr; }
  .fields--wide { grid-template-columns: 1fr 1fr; }
  .tuition thead { display: none; }
  .tuition tbody, .tuition tr, .tuition th, .tuition td { display: block; width: 100%; }
  .tuition { display: block; }
  .tuition tr { padding: 10px 0; }
  .tuition tbody tr + tr { border-top: 2px solid var(--line); }
  .tuition tbody tr + tr th, .tuition tbody tr + tr td { border-top: 0; }
  .tuition th, .tuition td { padding: 4px 20px; }
  .tuition td.amt::before { content: attr(data-label); display: block; font-family: var(--font-body); font-size: .75rem; font-weight: 700; color: var(--leaf); }
}

/* ---------- review fixes ---------- */
.ls-dusk, .ls-stars, .ls-moon { opacity: 0; transition: opacity 1.2s ease; }
.is-night-sky .ls-dusk, .is-night-sky .ls-stars, .is-night-sky .ls-moon { opacity: 1; }
.is-night-sky .ls-sun-disc { opacity: 0; }
.ls-sun { transition: transform 1.4s var(--ease-out); }
.is-night-sky .band--hero { --band: var(--dusk); }
.is-night-sky .band--hero h1, .is-night-sky .band--hero .hero__lede, .is-night-sky .band--hero .cta-line .or, .is-night-sky .band--hero .cta-line .or a, .is-night-sky .band--hero .patch figcaption { color: #fff; }
.is-night-sky .ls-sky { opacity: 0; }
.is-night-sky .masthead .nav a { color: #fff; }
.is-night-sky .masthead .nav a:hover, .is-night-sky .masthead .nav a[aria-current="page"] { color: var(--ink); }
.is-night-sky body.page-index { background: var(--dusk); }
.h-ages { display: block; font-family: var(--font-body); font-size: .42em; font-weight: 800; color: var(--leaf); margin-top: .45em; letter-spacing: 0; }
/* why: one large photo, two smaller */
.mini-row { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: auto auto; }
.mini:nth-child(1) { grid-row: span 2; transform: rotate(-1deg); }
.mini:nth-child(1) img { aspect-ratio: 5 / 4; }
.mini:nth-child(1) h3 { font-size: var(--step-3); }
.mini:nth-child(2) { transform: rotate(1deg); }
.mini:nth-child(3) { transform: rotate(-.6deg); }
.mini:nth-child(2) img, .mini:nth-child(3) img { aspect-ratio: 16 / 9; }
@media (max-width: 900px) { .mini-row { grid-template-columns: 1fr; } .mini:nth-child(1) { grid-row: auto; } }
@media (max-width: 560px) {
  .nav { flex-wrap: wrap; overflow: visible; -webkit-mask-image: none; mask-image: none; margin: 0; padding: 0; gap: 6px; }
  .nav a { padding: 7px 12px; font-size: .9375rem; }
}

/* ---------- polish pass ---------- */
/* photos show a soft meadow tint while loading, never raw alt text on white */
.patch img, .mini img, .patchwork img, .row__inner img { background-color: #e3efd9; color: transparent; }
/* why: the large photo grows to fill its card so no empty white sits below the text */
@media (min-width: 901px) {
  .mini:nth-child(1) { display: flex; flex-direction: column; }
  .mini:nth-child(1) img { flex: 1 1 auto; height: 0; min-height: 280px; aspect-ratio: auto; }
}
/* the hour-by-hour log spans the same width as the notes below it */
.daylog { max-width: none; }
.daylog__status .label { font-size: .9375rem; }
/* footer stars sit above the text line, not on it */
.foot { background-image: radial-gradient(1.5px 1.5px at 12% 14%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 38% 8%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 71% 16%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 88% 6%, #fff 50%, transparent 51%); }
@media (max-width: 560px) {
  /* sun-path hour labels readable at phone size */
  .sunpath__sky text { font-size: 26px; }
  /* on phones the clouds land behind the fact cards */
  .landscape--big .cloud { display: none; }
  /* the yard pin points left so its label stays inside the photo */
  .callpin--down::after { transform: rotate(140deg); top: 0; }
  .callpin--down i { left: auto; right: 30px; }
}

/* ---------- for parents: closures calendar ---------- */
.cal { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(18px, 2.4vw, 32px); align-items: start; }
.cal__list { list-style: none; margin: 0; padding: 6px 0; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.cal__list li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 18px; padding: 14px 24px; align-items: center; }
.cal__list li + li { border-top: 2px solid var(--line); }
.cal__name { font-family: var(--font-head); font-weight: 600; font-size: var(--step-1); line-height: 1.2; }
.cal__rule { grid-column: 1; color: var(--ink-2); font-size: .9375rem; }
.cal__date { grid-column: 2; grid-row: 1 / span 2; font-family: var(--font-head); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--ink); text-align: right; white-space: nowrap; }
.cal__date:empty { display: none; }
.cal__list li.is-next { background: #fff3cf; }
.cal__list li.is-next .cal__date::before { content: attr(data-next); display: inline-block; margin-right: 10px; padding: 3px 10px; border-radius: 999px; background: var(--sun); font-size: .8125rem; vertical-align: 2px; }
.cal__side { display: grid; gap: 14px; }
.cal__side .note { background: var(--card); border-radius: 22px; box-shadow: var(--shadow); }
.cal__side .note + .note { border-left: 0; }
/* ways to save */
.save { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.save__card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 26px 28px; }
.save__card:nth-child(1) { transform: rotate(-1deg); }
.save__card:nth-child(3) { transform: rotate(.8deg); }
.save__big { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); line-height: 1; color: var(--leaf); margin-bottom: 14px; }
.save__card h3 { font-size: var(--step-1); margin-bottom: 8px; }
.save__card p { margin: 0; color: var(--ink-2); }
/* privacy */
.page-intro--solo { grid-template-columns: minmax(0, 1fr); }
.page-intro--solo p { max-width: 46ch; }
.policy { max-width: 820px; margin: 0 auto; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(26px, 4vw, 52px); }
.policy__part + .policy__part { margin-top: 30px; padding-top: 26px; border-top: 2px solid var(--line); }
.policy h2 { font-size: var(--step-2); margin-bottom: 10px; }
.policy p, .policy li { color: var(--ink-2); max-width: 68ch; }
.policy p { margin: 0 0 10px; }
.policy ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.policy li::marker { color: var(--leaf); }
.policy b { color: var(--ink); }
@media (max-width: 900px) {
  .cal, .save { grid-template-columns: 1fr; }
  .save__card:nth-child(n) { transform: none; }
}
@media (max-width: 560px) {
  .cal__list li { grid-template-columns: 1fr; padding: 14px 18px; }
  .cal__date { grid-column: 1; grid-row: auto; text-align: left; margin-top: 4px; font-size: .9375rem; }
}

/* responsive photos: the <picture> wrapper is layout-transparent */
picture { display: contents; }
.landscape.is-offscreen .cloud { animation-play-state: paused; }

/* =========================================================
   Valley life: trees, bunny, bird, fox, snail, butterflies
   All motion is ambient and slow; reduced motion stills it.
   ========================================================= */
.sway { transform-box: fill-box; transform-origin: 50% 100%; animation: sway 5.5s ease-in-out infinite alternate; }
.sway--slow { animation-duration: 7.5s; animation-delay: -2s; }
@keyframes sway { from { transform: rotate(-2.2deg); } to { transform: rotate(2.2deg); } }

.ls-bunny .hop { animation: bunny-hop 7s cubic-bezier(.3, .7, .4, 1) infinite; }
.ls-bunny .ears { transform-box: fill-box; transform-origin: 50% 100%; animation: ear-twitch 5s ease-in-out infinite; }
@keyframes bunny-hop { 0%, 78%, 100% { transform: translateY(0); } 83% { transform: translateY(-11px); } 88% { transform: translateY(0); } 92% { transform: translateY(-5px); } 95% { transform: translateY(0); } }
@keyframes ear-twitch { 0%, 60%, 70%, 100% { transform: rotate(0); } 64% { transform: rotate(-8deg); } }

/* bird on the hero photo */
.critter { display: block; pointer-events: none; }
.critter--bird { position: absolute; z-index: 2; width: 62px; top: -42px; right: 34px; }
.bird { transform-box: fill-box; transform-origin: 50% 100%; animation: bird-hop 9s ease-in-out infinite; }
.bird__head { transform-box: fill-box; transform-origin: 30% 80%; animation: bird-look 9s ease-in-out infinite; }
.bird__wing { transform-box: fill-box; transform-origin: 20% 40%; animation: bird-wing 9s ease-in-out infinite; }
@keyframes bird-hop { 0%, 30%, 100% { transform: translate(0, 0) scaleX(1); } 33% { transform: translate(-14px, -12px) scaleX(1); } 36% { transform: translate(-28px, 0) scaleX(1); } 60% { transform: translate(-28px, 0) scaleX(-1); } 63% { transform: translate(-14px, -12px) scaleX(-1); } 66% { transform: translate(0, 0) scaleX(-1); } 90% { transform: translate(0, 0) scaleX(-1); } 92% { transform: translate(0, 0) scaleX(1); } }
@keyframes bird-look { 0%, 12%, 22%, 100% { transform: rotate(0); } 15%, 19% { transform: rotate(14deg); } }
@keyframes bird-wing { 0%, 31%, 37%, 61%, 67%, 100% { transform: rotate(0); } 33%, 63% { transform: rotate(-24deg); } 35%, 65% { transform: rotate(6deg); } }

/* fox sitting on the footer hill */
.critter--fox { position: absolute; z-index: 2; width: 92px; right: 7%; top: -92px; }
.fox__tail { transform-box: fill-box; transform-origin: 0% 80%; animation: fox-tail 3.6s ease-in-out infinite alternate; }
.fox__head { transform-box: fill-box; transform-origin: 50% 90%; animation: fox-head 8s ease-in-out infinite; }
.fox__eyes { transform-box: fill-box; transform-origin: 50% 50%; animation: blink 5.5s infinite; }
@keyframes fox-tail { from { transform: rotate(-7deg); } to { transform: rotate(9deg); } }
@keyframes fox-head { 0%, 40%, 100% { transform: rotate(0); } 46%, 60% { transform: rotate(-9deg); } }
@keyframes blink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }

/* snail on a dotted trail, inching along as you scroll */
.trail { position: relative; height: 50px; margin-top: 26px; max-width: 420px;
  background: radial-gradient(circle, rgba(45, 48, 71, .28) 2.2px, transparent 2.8px) 0 100% / 16px 8px repeat-x; }
.snail { position: absolute; left: 0; bottom: 4px; width: 60px; transform: translateX(var(--snail-x, 0px)); transition: transform .9s cubic-bezier(.3, .6, .3, 1); }
.snail__body { transform-box: fill-box; transform-origin: 0% 100%; animation: snail-stretch 2.4s ease-in-out infinite; }
@keyframes snail-stretch { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(1.05); } }

/* butterflies over the photo gallery */
.critter--fly { position: absolute; z-index: 2; width: 38px; }
.fly--1 { top: 34px; right: 16%; animation: flutter-1 14s ease-in-out infinite; }
.fly--2 { top: 90px; right: 30%; width: 30px; animation: flutter-2 17s ease-in-out infinite; }
.fly__l, .fly__r { transform-box: view-box; transform-origin: 20px 16px; animation: flap .32s ease-in-out infinite alternate; }
.fly--2 .fly__l, .fly--2 .fly__r { animation-duration: .27s; }
@keyframes flap { from { transform: scaleX(1); } to { transform: scaleX(.25); } }
@keyframes flutter-1 { 0%, 100% { transform: translate(0, 0) rotate(-8deg); } 25% { transform: translate(-90px, 26px) rotate(6deg); } 50% { transform: translate(-40px, -18px) rotate(-4deg); } 75% { transform: translate(50px, 14px) rotate(10deg); } }
@keyframes flutter-2 { 0%, 100% { transform: translate(0, 0) rotate(6deg); } 30% { transform: translate(70px, -22px) rotate(-6deg); } 60% { transform: translate(120px, 18px) rotate(8deg); } 80% { transform: translate(40px, 30px) rotate(-4deg); } }

/* =========================================================
   What families say: Google reviews as speech bubbles
   ========================================================= */
.rating { display: inline-grid; grid-template-columns: auto auto; grid-template-rows: auto auto; gap: 2px 12px; align-items: center; background: var(--card); padding: 12px 18px; border-radius: 22px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .4s var(--ease-bounce); }
.rating:hover { transform: translateY(-3px) rotate(-1deg); }
.rating__num { grid-row: span 2; font-family: var(--font-head); font-weight: 700; font-size: 2.6rem; line-height: 1; }
.rating__stars { display: flex; gap: 2px; }
.rating__src { font-size: .9375rem; font-weight: 700; color: var(--ink-2); }
.review:nth-child(odd) .review__bubble { rotate: -.6deg; }
.review:nth-child(even) .review__bubble { rotate: .7deg; }
.review figure { margin: 0; }
.review__bubble { position: relative; background: var(--card); border-radius: var(--radius); padding: 22px 24px 24px; box-shadow: var(--shadow); }
.review__bubble::after { content: ""; position: absolute; left: 34px; bottom: -14px; width: 28px; height: 18px; background: var(--card); clip-path: polygon(0 0, 100% 0, 10% 100%); }
.review__stars { display: flex; gap: 2px; margin-bottom: 12px; }
.review__stars svg { width: 18px; height: 18px; }
.review blockquote { margin: 0; }
.review blockquote p { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.6; }
.review:nth-child(1) blockquote p { font-size: 1.125rem; }
.review figcaption { display: flex; align-items: center; gap: 12px; margin: 22px 0 0 18px; }
.review__avatar { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--tone); font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; box-shadow: 0 0 0 3px #fff; }
.review figcaption b { display: block; font-family: var(--font-head); font-weight: 600; }
.review figcaption time { display: block; font-size: .875rem; color: var(--ink-2); }
.reviews__note { margin: 26px 0 0; font-size: .9375rem; color: var(--ink-2); }
.reviews__note:empty { display: none; }
@media (max-width: 700px) {
  .review .review__bubble { rotate: 0deg; }
  .critter--fox { width: 70px; top: -72px; right: 5%; }
  .critter--bird { width: 50px; top: -34px; right: 26px; }
  .fly--2 { display: none; }
}

/* =========================================================
   Pop-in on scroll (the old site's zoom / fade-up), and photo wobble
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .rv { opacity: 0; translate: 0 28px; scale: .95; }
  .js-reveal .rv.is-in { opacity: 1; translate: 0 0; scale: 1;
    transition: opacity .6s var(--ease-out), translate .9s cubic-bezier(.34, 1.5, .64, 1), scale .9s cubic-bezier(.34, 1.5, .64, 1);
    transition-delay: calc(var(--i, 0) * 90ms); }
  .rv-failsafe .rv { opacity: 1; translate: 0 0; scale: 1; }
  .patch:hover img, .block:hover img { animation: wobble .7s ease-in-out; }
  @keyframes wobble { 0%, 100% { rotate: 0deg; } 20% { rotate: -2.2deg; } 40% { rotate: 1.8deg; } 60% { rotate: -1deg; } 80% { rotate: .5deg; } }
}
@media (prefers-reduced-motion: reduce) {
  .sway, .ls-bunny .hop, .ls-bunny .ears, .bird, .bird__head, .bird__wing, .fox__tail, .fox__head, .fox__eyes, .snail__body, .critter--fly, .fly__l, .fly__r { animation: none !important; }
  .snail { transition: none; }
}
.landscape.is-offscreen .sway, .landscape.is-offscreen .ls-bunny * { animation-play-state: paused; }
/* fox a touch bigger on wide screens */
@media (min-width: 1081px) { .critter--fox { width: 118px; top: -124px; } }
/* reviews as a swipeable row (like the old site's slider), every width */
.reviews__row { list-style: none; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: clamp(16px, 2vw, 26px);
  margin: 0 calc(-1 * var(--gutter)); padding: 8px var(--gutter) 22px; scroll-padding: 0 var(--gutter); scrollbar-width: none; align-items: flex-start; }
.reviews__row::-webkit-scrollbar { display: none; }
.reviews__row .review { flex: 0 0 min(370px, 84%); width: auto; margin: 0; scroll-snap-align: start; }
.reviews__row .review:nth-child(1) { flex-basis: min(440px, 88%); }
.reviews__row:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; border-radius: 12px; }
.reviews__nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 4px; }
.round-btn { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--card); color: var(--ink); box-shadow: var(--shadow); cursor: pointer; transition: transform .3s var(--ease-bounce), background-color .2s; }
.round-btn:hover:not(:disabled) { background: var(--sun); transform: translateY(-2px); }
.round-btn:active:not(:disabled) { transform: scale(.94); }
.round-btn:disabled { opacity: .4; cursor: default; box-shadow: none; }
.round-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* ---------- polish pass 2 ---------- */
/* phones: every landscape's clouds land beside captions and cards, so hide them all */
@media (max-width: 560px) { .landscape .cloud { display: none; } }
/* the fox needs open meadow above the footer, clear of the last card */
main > .band:last-child { padding-bottom: clamp(118px, 12vw, 176px); }
/* butterflies stay in the open space above the gallery text */
.fly--1 { top: 22px; right: 9%; }
.fly--2 { top: 16px; right: 40%; }

/* =========================================================
   Homepage readability pass
   ========================================================= */
/* darker secondary ink, a step bigger for reading on a phone */
:root { --ink-2: #3f445e; }
.mini p, .section-head p, .now-card p, .note p, .save__card p, .cal__side .note p { font-size: 1.125rem; line-height: 1.6; }
.patch figcaption { font-size: 1rem; }
.block figcaption { font-size: .9375rem; }
/* each section's intro sits right under its heading, never across the page */
.section-head { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 14px; }
.section-head p { max-width: 58ch; font-size: var(--step-1); line-height: 1.5; }
.section-head .rating { margin-top: 4px; }

/* rating badge in the hero */
.hero-rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .85); box-shadow: 0 2px 8px rgba(45, 48, 71, .1); text-decoration: none; color: var(--ink); font-size: 1rem; font-weight: 600; transition: transform .35s var(--ease-bounce), background-color .2s; }
.hero-rating:hover { background: #fff; transform: translateY(-2px); }
.hero-rating__stars { display: flex; gap: 1px; }
.hero-rating__stars svg { width: 17px; height: 17px; }
.hero-rating b { font-family: var(--font-head); font-weight: 700; }
.is-night-sky .hero-rating { color: var(--ink); }

/* who it's for: three simple age cards */
.age-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 28px); }
.age-card a { display: flex; flex-direction: column; height: 100%; box-sizing: border-box; padding: 24px 24px 22px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .45s var(--ease-bounce), box-shadow .3s; }
.age-card:nth-child(1) a { rotate: -.8deg; } .age-card:nth-child(3) a { rotate: .8deg; }
.age-card a:hover { transform: translateY(-6px); }
.age-card a:focus-visible { outline: 3px solid var(--ink); outline-offset: 4px; }
.age-card__ages { align-self: flex-start; background: var(--tone); padding: 5px 14px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: 1rem; }
.age-card h3 { font-size: var(--step-2); margin: 14px 0 8px; }
.age-card p { color: var(--ink-2); font-size: 1.125rem; margin: 0 0 18px; }
.age-card__price { margin: auto 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 16px; border-top: 2px solid var(--line); }
.age-card__price dt { font-size: .9375rem; color: var(--ink-2); font-weight: 600; }
.age-card__price dd { margin: 2px 0 0; font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; font-variant-numeric: tabular-nums; }
.age-card__price small { font-size: .8125rem; font-weight: 500; margin-left: 2px; }
.age-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-family: var(--font-head); font-weight: 600; color: var(--leaf); }
.age-card a:hover .age-card__more svg { translate: 3px 0; }
.age-card__more svg { transition: translate .25s var(--ease-out); }

/* how to start: three steps on a dotted trail */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); position: relative; }
.steps::before { content: ""; position: absolute; left: 12%; right: 12%; top: 30px; height: 6px; background: radial-gradient(circle, rgba(45, 48, 71, .3) 2.4px, transparent 3px) 0 50% / 16px 6px repeat-x; }
.step { position: relative; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 74px 24px 24px; margin-top: 30px; text-align: center; }
.step__num { position: absolute; top: -30px; left: 50%; translate: -50% 0; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 6px #fff, 0 6px 16px -6px rgba(45, 48, 71, .5); font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; color: var(--ink); }
.step h3 { font-size: var(--step-2); margin: 0 0 8px; }
.step p { margin: 0 auto; color: var(--ink-2); font-size: 1.125rem; max-width: 30ch; }

/* phone menu (only once the script is running; without it the links stay visible) */
.menu-btn { display: none; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px 0 12px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font: 600 1rem var(--font-head); box-shadow: 0 2px 6px rgba(45, 48, 71, .12); cursor: pointer; }
.menu-btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.menu-btn[aria-expanded="true"] { background: var(--ink); color: #fff; }

/* tour bar that follows you on phones */
.tour-bar { position: fixed; z-index: 30; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); display: flex; gap: 10px; padding: 8px; background: rgba(255, 255, 255, .96); border-radius: 999px; box-shadow: 0 10px 30px -10px rgba(45, 48, 71, .55), 0 2px 6px rgba(45, 48, 71, .12);
  translate: 0 140%; transition: translate .45s cubic-bezier(.3, 1.3, .5, 1); }
.tour-bar.is-shown { translate: 0 0; }
.tour-bar[hidden] { display: none; }
.tour-bar__go { flex: 1; justify-content: center; min-height: 52px; }
.tour-bar__call { display: inline-flex; align-items: center; gap: 6px; padding: 0 18px; min-height: 52px; border-radius: 999px; background: var(--sky); color: var(--ink); text-decoration: none; font: 600 1rem var(--font-head); }
.tour-bar__call:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
@media (min-width: 701px) { .tour-bar { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .tour-bar { transition: none; } }

@media (max-width: 900px) {
  .age-cards, .steps { grid-template-columns: 1fr; max-width: 560px; }
  .age-card:nth-child(n) a { rotate: 0deg; }
  .steps::before { left: 50%; right: auto; top: 30px; bottom: 60px; width: 6px; height: auto; translate: -3px 0; background: radial-gradient(circle, rgba(45, 48, 71, .3) 2.4px, transparent 3px) 50% 0 / 6px 16px repeat-y; }
  .step { margin-top: 44px; }
}
@media (max-width: 560px) {
  .has-menu .masthead { grid-template-columns: auto 1fr; }
  .has-menu .masthead__end { justify-content: flex-end; }
  .has-menu .menu-btn { display: inline-flex; }
  .has-menu .masthead__end .tag-btn--sm { display: none; }
  .has-menu .nav { display: none; }
  .has-menu .menu-open .nav { display: flex; flex-direction: column; align-items: stretch; gap: 2px; position: absolute; top: calc(100% - 4px); left: var(--gutter); right: var(--gutter); padding: 10px; background: #fff; border-radius: 24px; box-shadow: 0 18px 40px -16px rgba(45, 48, 71, .5), 0 2px 6px rgba(45, 48, 71, .1); }
  .has-menu .menu-open .nav a { padding: 14px 16px; font-size: 1.125rem; border-radius: 14px; }
  .has-menu .menu-open .nav a[aria-current="page"] { background: var(--sky); box-shadow: none; }
  .has-menu .menu-open .nav::after { content: ""; display: block; height: 0; }
  .hero-rating { font-size: .9375rem; }
  /* long reviews show a few lines first */
}
.review__more { margin-top: 10px; padding: 6px 0; border: 0; background: none; color: var(--leaf); font: 600 1rem var(--font-head); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.review__more:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

/* tighter homepage: long reviews clamp everywhere, compact cards and steps on phones */
.review.is-clamped:not(.is-open) blockquote p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; overflow: hidden; }
@media (min-width: 701px) {
  .reviews .section-head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
@media (max-width: 560px) {
  .age-card a { padding: 18px 20px 18px; }
  .age-card p { display: none; }
  .age-card h3 { margin: 10px 0 12px; }
  .age-card__price { margin: 0; padding-top: 12px; }
  .age-card__more { margin-top: 12px; }
  .age-cards { gap: 12px; }
  .steps::before { left: 34px; top: 40px; bottom: 40px; }
  .step { display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; text-align: left; padding: 18px 20px; margin-top: 14px; }
  .step__num { position: static; translate: none; grid-row: span 2; width: 52px; height: 52px; font-size: 1.5rem; box-shadow: 0 0 0 5px #fff; }
  .step h3 { font-size: var(--step-1); margin: 4px 0 4px; }
  .step p { margin: 0; font-size: 1.0625rem; max-width: none; }
}
/* age-card prices stay on one line; "/month" drops below */
.age-card__price { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.age-card__price dd { white-space: nowrap; font-size: 1.1875rem; }
.age-card__price small { display: block; margin: 0; }

/* =========================================================
   Parent Handbook: a trail through eight chapters
   ========================================================= */
.hb-edition { display: inline-block; margin-bottom: 14px; padding: 5px 14px; border-radius: 999px; background: rgba(255, 255, 255, .8); font: 600 .9375rem var(--font-head); }
.hb-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 8px; }
.hb-print { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); font: 600 1rem var(--font-head); box-shadow: 0 2px 8px rgba(45, 48, 71, .12); cursor: pointer; transition: transform .35s var(--ease-bounce); }
.hb-print:hover { transform: translateY(-2px); }
.hb-print:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.hb-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; max-width: 1180px; }
.hb-chapters { min-width: 0; max-width: 820px; }

/* the trail map */
.hb-trail { position: sticky; top: 20px; }
.hb-trail__toggle { display: none; }
.hb-trail__list { list-style: none; margin: 0; padding: 0; position: relative; }
.hb-trail__list::before { content: ""; position: absolute; left: 25px; top: 26px; bottom: 26px; width: 6px; translate: -3px 0;
  background: radial-gradient(circle, rgba(45, 48, 71, .28) 2.2px, transparent 2.8px) 50% 0 / 6px 14px repeat-y; }
.hb-trail__list li { position: relative; }
.hb-trail__list a { display: flex; align-items: center; gap: 14px; padding: 7px 8px 7px 0; border-radius: 16px; color: var(--ink); text-decoration: none; transition: opacity .3s; opacity: .62; }
.hb-trail__list a:hover, .hb-trail__list a.is-done, .hb-trail__list a.is-current { opacity: 1; }
.hb-trail__list a:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.hb-trail__dot { flex: none; position: relative; z-index: 1; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: var(--tone); box-shadow: 0 0 0 4px #fff; transition: transform .45s var(--ease-bounce), box-shadow .3s; }
.hb-trail__em { width: 34px; height: 34px; }
.hb-trail__list a.is-current .hb-trail__dot { transform: scale(1.12); box-shadow: 0 0 0 4px #fff, 0 0 0 7px var(--ink); }
.hb-trail__txt { display: grid; font: 600 1.0625rem/1.2 var(--font-head); }
.hb-trail__txt small { font: 600 .8125rem var(--font-body); color: var(--ink-2); }
.hb-trail__list a.is-current .hb-trail__txt { font-weight: 700; }
.hb-trail__bar { position: absolute; left: 22px; top: 26px; bottom: 26px; width: 6px; pointer-events: none; z-index: 2; }
.hb-trail__bar > span { display: block; width: 6px; height: var(--hb-p, 0%); border-radius: 3px; background: var(--leaf); opacity: .55; }
.hb-snail { position: absolute; left: 50%; top: var(--hb-p, 0%); width: 40px; translate: -50% -60%; transform: rotate(90deg); transition: none; }

/* a chapter */
.hb-ch { position: relative; background: var(--card); border-radius: 34px; box-shadow: var(--shadow); overflow: hidden; margin: 0 0 clamp(28px, 4vw, 48px); scroll-margin-top: 24px; }
.hb-ch__head { position: relative; display: flex; align-items: center; gap: 22px; padding: clamp(26px, 3.4vw, 40px) clamp(22px, 3.4vw, 44px) clamp(48px, 5vw, 60px); background: var(--tone); }
.hb-ch__head h2 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); line-height: 1.02; margin: 0; }
.hb-ch__badge { position: relative; flex: none; display: grid; place-items: center; width: clamp(76px, 8vw, 96px); height: clamp(76px, 8vw, 96px); border-radius: 50%; background: #fff; box-shadow: 0 6px 16px -8px rgba(45, 48, 71, .45); }
.hb-emblem { width: 70%; height: 70%; }
.hb-ch__n { position: absolute; right: -6px; top: -6px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 3px #fff; font: 700 1.125rem var(--font-head); }
.hb-ch__hill { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 34px; fill: var(--card); }
.hb-ch__body { padding: 6px clamp(22px, 3.4vw, 44px) clamp(28px, 3.4vw, 44px); }

.hb-short { background: #fff8e1; border-radius: 22px; padding: 18px 22px 16px; margin: 0 0 20px; }
.hb-short__h { font-size: 1.25rem; margin: 0 0 8px; }
.hb-short ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.hb-short li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: 1.125rem; font-weight: 600; line-height: 1.45; }
.hb-short li svg { color: var(--leaf); margin-top: 2px; }

.hb-toc ul { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hb-toc a { display: inline-block; padding: 7px 14px; border-radius: 999px; background: var(--sky); color: var(--ink); text-decoration: none; font: 600 .9375rem var(--font-head); transition: background-color .2s, transform .3s var(--ease-bounce); }
.hb-toc a:hover { background: var(--sun); transform: translateY(-2px); }
.hb-toc a:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

.hb-sec { padding-top: 26px; margin-top: 26px; border-top: 0; background: radial-gradient(circle, rgba(45, 48, 71, .22) 1.6px, transparent 2.2px) 0 0 / 12px 4px repeat-x; scroll-margin-top: 24px; }
.hb-sec h3 { font-size: clamp(1.4rem, 1.2rem + .7vw, 1.75rem); margin: 0 0 10px; }
.hb-prose { font-size: 1.125rem; line-height: 1.7; }
.hb-prose p { max-width: 66ch; margin: 0 0 .9em; }
.hb-prose p:last-child { margin-bottom: 0; }
.hb-prose ul, .hb-prose ol { margin: 0 0 1em; padding: 0; list-style: none; display: grid; gap: 8px; max-width: 66ch; }
.hb-prose ul > li { position: relative; padding-left: 26px; }
.hb-prose ul > li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--leaf); opacity: .8; }
.hb-prose ol { counter-reset: hb; }
.hb-prose ol > li { position: relative; padding-left: 44px; counter-increment: hb; min-height: 32px; }
.hb-prose ol > li::before { content: counter(hb); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--sun); font: 700 1rem var(--font-head); }
.hb-prose b { color: var(--ink); }
.hb-prose a { color: var(--ink); text-decoration-color: var(--coral, #f08a6c); text-underline-offset: 4px; }
.hb-pills { display: flex !important; flex-wrap: wrap; gap: 8px !important; }
.hb-pills > li { padding: 6px 14px !important; border-radius: 999px; background: var(--sky); font-size: 1rem; }
.hb-pills > li::before { display: none; }
.hb-checks > li { background: #fdf0ee; border-radius: 14px; padding: 10px 14px 10px 40px !important; }
.hb-checks > li::before { left: 15px !important; top: 1.05em !important; background: #f08a6c !important; }
.hb-quote { margin: 4px 0 18px; padding: 18px 22px 18px 58px; position: relative; border-radius: 22px; background: var(--tone); }
.hb-quote::before { content: "“"; position: absolute; left: 16px; top: -2px; font: 700 4rem/1 var(--font-head); color: #fff; }
.hb-quote p { font: 500 1.25rem/1.5 var(--font-head); margin: 0; max-width: 56ch; }
.hb-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-head); font-weight: 600; }
.hb-link::after { content: "→"; text-decoration: none; display: inline-block; }
.hb-end { text-align: center; font-size: 1.125rem; color: var(--ink-2); margin: 10px auto 0; max-width: 46ch; }

/* phones and tablets: the trail becomes a sticky bar with a chapter list */
@media (max-width: 900px) {
  .hb-layout { grid-template-columns: 1fr; gap: 18px; }
  .hb-trail { top: 8px; z-index: 20; background: rgba(255, 255, 255, .96); border-radius: 22px; box-shadow: 0 10px 28px -14px rgba(45, 48, 71, .55); padding: 8px 10px 10px; }
  .hb-trail__toggle { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 0 6px; border: 0; background: none; color: var(--ink); font: 600 1rem var(--font-head); cursor: pointer; text-align: left; }
  .hb-trail__open { flex: none; padding: 6px 14px; border-radius: 999px; background: var(--sky); }
  .hb-trail__toggle[aria-expanded="true"] .hb-trail__open { background: var(--ink); color: #fff; }
  .hb-trail__toggle:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 12px; }
  .hb-trail__bar { position: relative; left: auto; top: auto; bottom: auto; width: auto; height: 6px; margin: 6px 6px 2px; border-radius: 3px; background: radial-gradient(circle, rgba(45, 48, 71, .25) 2px, transparent 2.6px) 0 50% / 12px 6px repeat-x; }
  .hb-trail__bar > span { width: var(--hb-p, 0%); height: 6px; }
  .hb-snail { top: 50%; left: var(--hb-p, 0%); width: 30px; translate: -50% -78%; transform: none; }
  .hb-trail__list { display: none; margin-top: 10px; max-height: 60vh; overflow: auto; }
  .hb-trail.is-open .hb-trail__list { display: block; }
  .hb-trail__list::before { left: 25px; }
  .hb-trail__list a { opacity: 1; }
  .hb-ch, .hb-sec { scroll-margin-top: 96px; }
}
@media (max-width: 560px) {
  .hb-ch__head { gap: 14px; }
  .hb-ch__head h2 { font-size: 1.85rem; }
  .hb-ch { border-radius: 26px; }
  .hb-prose, .hb-short li { font-size: 1.0625rem; }
  .hb-quote { padding-left: 46px; }
}

/* print: just the words, one language, chapter per page */
@media print {
  .masthead, .landscape, .critter, .hb-trail, .hb-actions, .hb-toc, .visit, .foot, .tour-bar, .skip, .band__edge, .hb-ch__hill, .hb-end { display: none !important; }
  body, .band, .hb-book { background: #fff !important; color: #000; }
  .band { padding: 0 !important; }
  .page-intro { padding-bottom: 12px !important; }
  .hb-layout { display: block; }
  .hb-ch { box-shadow: none; border-radius: 0; break-before: page; overflow: visible; }
  .hb-ch__head { background: none; padding: 0 0 8px; border-bottom: 2px solid #000; }
  .hb-ch__badge { width: 44px; height: 44px; box-shadow: none; }
  .hb-ch__body { padding: 0; }
  .hb-sec { break-inside: avoid; background: none; border-top: 1px solid #ccc; }
  .hb-prose, .hb-short li { font-size: 11pt; color: #000; }
  .hb-short, .hb-quote, .hb-checks > li, .hb-pills > li { background: none !important; }
  .rv { opacity: 1 !important; translate: none !important; scale: none !important; }
  a { color: #000; text-decoration: none; }
}
/* handbook link card on the For parents page */
.hb-cta { display: inline-flex; align-items: center; gap: 14px; margin-top: 10px; padding: 10px 22px 10px 10px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .4s var(--ease-bounce); }
.hb-cta:hover { transform: translateY(-3px) rotate(-.6deg); }
.hb-cta:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.hb-cta__em { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fbefc4; }
.hb-cta__em svg { width: 40px; height: 40px; }
.hb-cta b { display: block; font: 600 1.1875rem var(--font-head); }
.hb-cta > span:last-child > span { display: block; font-size: .9375rem; color: var(--ink-2); }
.hb-cta > span:last-child > span > span { display: inline; }
.hb-layout { margin-inline: auto; max-width: 1130px; }
/* 404 page */
.lost__links { list-style: none; margin: 6px 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.lost__links a { display: inline-block; padding: 10px 18px; border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font: 600 1.0625rem var(--font-head); box-shadow: 0 2px 8px rgba(45, 48, 71, .1); transition: transform .35s var(--ease-bounce), background-color .2s; }
.lost__links a:hover { background: var(--sun); transform: translateY(-2px); }
.lost__links a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* hero: the key facts in one line under the button; the hills get their scene back */
.hero-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 22px 0 0; font-size: 1.0625rem; font-weight: 600; color: var(--ink); }
.hero-facts a { color: var(--ink); text-underline-offset: 4px; text-decoration-color: rgba(45, 48, 71, .35); }
.hero-facts a:hover { text-decoration-color: currentColor; }
.hero-facts__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--ink-2); opacity: .55; }
.hero-facts + .hero-rating { margin-top: 16px; }
.is-night-sky .band--hero .hero-facts, .is-night-sky .band--hero .hero-facts a { color: #fff; }
.is-night-sky .band--hero .hero-facts__dot { background: #fff; }
@media (max-width: 560px) {
  .hero-facts { flex-direction: column; align-items: flex-start; gap: 4px; }
  .hero-facts__dot { display: none; }
}

/* ---------- polish pass 3 ---------- */
/* form examples read as hints, not answers (still 4.6:1 on the field) */
.tf input::placeholder, .tf textarea::placeholder { color: #686d8a; font-weight: 400; }
/* 404: the sky fills the screen and the button row sits clear of the hills */
.page-404 .deck { min-height: 100vh; display: flex; flex-direction: column; }
.page-404 main { flex: 1; display: flex; flex-direction: column; }
.page-404 main > .band--hero { flex: 1; padding-bottom: clamp(250px, 25vw, 340px); }

/* hero, tucked in: the hills start right under the text, the photo stands on the ridge,
   and the band's own sky shows through (no seam where the scene's sky would end) */
.hero { padding-bottom: clamp(120px, 13vw, 190px); }
.landscape--big { height: clamp(260px, 30vw, 400px); }
.landscape--big .ls-sky { display: none; }
.hero__patch { position: relative; top: clamp(30px, 5vw, 80px); }
@media (max-width: 900px) { .hero { padding-bottom: 130px; } .hero__patch { top: 0; } .landscape--big { height: 300px; } }
/* night: the band's own dusk carries the sky (no seam), and the facts line keeps a dusk backing over the pale ridge */
.landscape--big .ls-dusk { display: none; }
.is-night-sky .band--hero .hero-facts { width: fit-content; background: rgba(91, 95, 151, .9); padding: 6px 14px; border-radius: 999px; }
@media (max-width: 560px) { .is-night-sky .band--hero .hero-facts { border-radius: 18px; padding: 8px 14px; } }

/* ---------- the real Walla Walla sun (and moon) ---------- */
.band--hero > .sky-body { position: absolute; z-index: 0; left: 0; top: 0; pointer-events: none; opacity: 0; transition: transform 1.6s var(--ease-out), opacity .6s;
  /* the element's origin is the face center: the logo face sits at 50.6% across and 62.5% down the mark */
  --mark-w: 236px; width: var(--mark-w); height: calc(var(--mark-w) * 136 / 172); margin: calc(var(--mark-w) * -0.625 * 136 / 172) 0 0 calc(var(--mark-w) * -0.506); }
.band--hero > .sky-body.is-placed { opacity: 1; }
/* low sun: a warmer disc near sunrise and sunset */
.is-golden-sky .band--hero { background-image: linear-gradient(180deg, transparent 55%, rgba(255, 214, 180, .45)); }
@media (prefers-reduced-motion: reduce) { .band--hero > .sky-body { transition: opacity .3s; } }
/* phones and tablets: a strip of open sky under the hero photo for the sun to cross */
@media (max-width: 900px) { .hero { padding-bottom: 250px; } }

/* ---------- brand: the Happy Faces sun in the sky ---------- */
.sky-body > svg { position: absolute; display: block; overflow: visible; transition: opacity 1.2s; }
.sky-body__sun { inset: 0; width: 100%; height: 100%; }
.sky-body__moon { left: 50.6%; top: 62.5%; width: 46%; height: auto; translate: -50% -50%; opacity: 0; }
.sky-body__glow { position: absolute; left: 50.6%; top: 62.5%; width: 120%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 233, 168, .85), rgba(255, 233, 168, 0)); transition: opacity 1.2s; }
.is-night-sky .sky-body__sun { opacity: 0; }
.is-night-sky .sky-body__moon { opacity: 1; }
.is-night-sky .sky-body__glow { opacity: .3; }
.is-golden-sky .sky-body__glow { background: radial-gradient(closest-side, rgba(255, 190, 120, .9), rgba(255, 190, 120, 0)); }
/* the rays breathe slowly around the face */
.hf-mark__rays { transform-box: view-box; transform-origin: 91px 105px; animation: rays-breathe 9s ease-in-out infinite alternate; }
@keyframes rays-breathe { from { transform: rotate(-4deg) scale(.97); } to { transform: rotate(4deg) scale(1.03); } }
@media (prefers-reduced-motion: reduce) { .hf-mark__rays { animation: none; } }
@media (max-width: 900px) { .band--hero > .sky-body { --mark-w: 150px; } }

/* =========================================================
   Brand: Happy Faces blue and sunflower yellow, from the logo
   ========================================================= */
:root {
  --brand-blue: #0b63ce;      /* logo face and rays */
  --brand-blue-ink: #0a56b3;  /* the same blue, a shade deeper for small text (5:1 on the sky) */
  --brand-yellow: #f6c33a;    /* logo rays */
  --brand-gold: #eeb12b;      /* logo swoosh */
}
a { text-decoration-color: var(--brand-blue); }
a:hover { color: var(--brand-blue-ink); }
.hb-prose a { text-decoration-color: var(--brand-blue); }
.label { color: var(--brand-blue-ink); }
.nav a[aria-current="page"] { color: var(--brand-blue-ink); box-shadow: inset 0 -3px 0 var(--brand-yellow), 0 2px 6px rgba(45, 48, 71, .12); }
.nav a:hover { color: var(--brand-blue-ink); }
.tag-btn { background: var(--brand-yellow); }
.tag-btn:hover { background: #ffd04f; }
.age-card__more, .hb-link, .review__more { color: var(--brand-blue-ink); }
.step__num, .hb-ch__n, .hb-prose ol > li::before { background: var(--brand-yellow); }
.is-night-sky .band--hero .label { color: #cfe3ff; }

/* the logo, bigger, in a header that settles into a compact bar on scroll */
/* the header is pinned out of the page flow, so shrinking it never moves the page; body padding keeps its full height reserved */
.masthead { position: fixed; top: 0; left: 0; right: 0; z-index: 40; transition: padding .35s var(--ease-out), background-color .35s, box-shadow .35s; }
body { padding-top: var(--mast-h, 112px); }
@media print { body { padding-top: 0; } }
.masthead__logo { padding: 10px 24px; transition: padding .35s var(--ease-out); }
.masthead__logo img { width: clamp(180px, 17vw, 250px); transition: width .35s var(--ease-out); }
.is-scrolled .masthead { padding-top: 8px; padding-bottom: 8px; background: rgba(205, 231, 247, .93); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 8px 24px -16px rgba(45, 48, 71, .55); }
.is-scrolled .masthead__logo { padding: 6px 16px; }
.is-scrolled .masthead__logo img { width: 158px; }
.is-night-sky.is-scrolled .page-index .masthead { background: rgba(91, 95, 151, .93); }
html { scroll-padding-top: 96px; }
.hb-trail { top: 96px; }
@media (max-width: 900px) { .hb-trail { top: 78px; } .hb-ch, .hb-sec { scroll-margin-top: 170px; } }
@media (max-width: 560px) {
  .masthead__logo { padding: 8px 16px; }
  .masthead__logo img { width: 156px; }
  .is-scrolled .masthead__logo img { width: 132px; }
  .is-scrolled .masthead__logo { padding: 5px 12px; }
}
@media (prefers-reduced-motion: reduce) { .masthead, .masthead__logo, .masthead__logo img { transition: none; } }

/* a little logo swoosh under every section heading */
.section-head h2 .sub::before, .section-head h2:not(:has(.sub))::after {
  content: ""; display: block; width: 82px; height: 18px; margin: 10px 0 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='34 124 110 34'%3E%3Cpath d='M36 147 C 55 133 79 132 101 138.5 C 120 144 135 146 142.5 126 C 140 143 121 156 99 150 C 83 145.5 60 140.5 36 147 Z' fill='%23eeb12b'/%3E%3C/svg%3E") no-repeat 0 50% / contain;
}
.section-head h2 .sub { margin-top: 0; }

/* footer: the logo, and the Happy Faces sun setting behind the dusk hill */
.foot { align-items: center; }
.foot::before { z-index: 1; }
.foot > * { position: relative; z-index: 2; }
.foot > .foot__sun { position: absolute; z-index: 0; left: 50%; top: -88px; width: 190px; translate: -50% 0; opacity: .95; }
.foot__sun svg { display: block; width: 100%; height: auto; }
.foot > .critter--fox { position: absolute; }
.foot__logo { display: inline-block; background: #fff; border-radius: 999px; padding: 10px 22px; box-shadow: 0 6px 18px -10px rgba(0, 0, 0, .5); line-height: 0; }
.foot__logo img { width: clamp(170px, 16vw, 230px); height: auto; }
.foot__line { flex: 1 1 260px; }
@media (max-width: 700px) { .foot > .foot__sun { width: 140px; top: -64px; left: 32%; } }
/* the footer sun is cut at the horizon, so it sets behind the dusk hill */
.foot > .foot__sun { top: -132px; clip-path: inset(0 0 calc(100% - 132px) 0); }
@media (max-width: 700px) { .foot > .foot__sun { top: -96px; clip-path: inset(0 0 calc(100% - 96px) 0); } }
/* night: a soft dusk halo keeps the white hero text readable as the moon passes behind it */
.is-night-sky .band--hero h1, .is-night-sky .band--hero .pillow > p { text-shadow: 0 0 18px rgba(55, 58, 112, .85), 0 1px 3px rgba(55, 58, 112, .6); }

/* ---------- hero tweaks ---------- */
/* the sun owns the hero sky; drifting clouds stay on the smaller page headers */
.landscape--big .cloud { display: none; }
/* review badge sits right under the intro, before the button */
.band--hero .hero-rating { margin: 2px 0 26px; background: #fff; }
.hero-facts + .hero-rating { margin-top: 16px; }
/* the bird perches on the photo's left corner, leaving the right side to the sun */
.hero__patch .critter--bird { right: auto; left: 30px; }
.hero__patch .bird { animation-name: bird-hop-r; }
@keyframes bird-hop-r { 0%, 30%, 100% { transform: translate(0, 0) scaleX(1); } 33% { transform: translate(14px, -12px) scaleX(1); } 36% { transform: translate(28px, 0) scaleX(1); } 60% { transform: translate(28px, 0) scaleX(-1); } 63% { transform: translate(14px, -12px) scaleX(-1); } 66% { transform: translate(0, 0) scaleX(-1); } 90% { transform: translate(0, 0) scaleX(-1); } 92% { transform: translate(0, 0) scaleX(1); } }
/* less empty meadow between the hills and the next section */
main > .band.why { padding-top: clamp(4px, 1vw, 16px); }
/* the bird sits on the house roof: it looks around and flaps, but doesn't hop off */
.ls-roof-bird .bird { animation: none; }
/* keep the text column clear of the house on the ridge */
.band--hero .hero-rating { margin: 0 0 20px; }
.band--hero .hero-facts { margin-top: 16px; }
.hero { padding-bottom: clamp(180px, 17.5vw, 255px); }
@media (max-width: 900px) { .hero { padding-bottom: 250px; } }

/* ---------- Learning Through Language ---------- */
.lang-sec__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.lang-sec h2 { font-size: var(--step-3); line-height: 1.05; margin: 0 0 14px; }
.lang-sec__lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 44ch; }
.lang-sec__pillars { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.lang-sec__pillars li { display: grid; grid-template-columns: 72px 1fr; column-gap: 18px; align-items: start; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; }
.lang-sec__pillars li:nth-child(1) { rotate: -.6deg; } .lang-sec__pillars li:nth-child(2) { rotate: .6deg; }
.lang-sec__icon { grid-row: span 2; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #eef6fd; }
.lang-sec__pillars h3 { font-size: var(--step-2); margin: 2px 0 6px; }
.lang-sec__pillars p { margin: 0; color: var(--ink-2); font-size: 1.0625rem; }
@media (max-width: 900px) { .lang-sec__grid { grid-template-columns: 1fr; } .lang-sec__pillars li { grid-template-columns: 56px 1fr; padding: 18px; } .lang-sec__icon { width: 56px; height: 56px; } .lang-sec__icon svg { width: 44px; height: 44px; } }
.lang-sec__badge { display: flex; width: fit-content; max-width: 100%; align-items: center; gap: 8px; margin: 0 0 18px; padding: 8px 16px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 1rem; box-shadow: 0 2px 8px rgba(45, 48, 71, .1); }
.lang-sec__badge svg { color: var(--leaf); flex: none; }
.lang-sec__badge b { color: var(--brand-blue-ink); font-family: var(--font-head); font-weight: 600; }

/* ---------- tablet widths (561–900px): use the full row instead of one narrow column ---------- */
@media (min-width: 561px) and (max-width: 900px) {
  /* why families choose us: the big card across the top, the other two side by side */
  .mini-row { grid-template-columns: 1fr 1fr; max-width: none; margin: 0; }
  .mini:nth-child(1) { grid-column: 1 / -1; grid-row: auto; }
  .mini:nth-child(1) img { aspect-ratio: 16 / 9; }
  /* age cards: full width, the prices beside the description */
  .age-cards { max-width: none; }
  .age-card a { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); column-gap: 28px; align-items: start; }
  .age-card a > * { grid-column: 1; }
  .age-card a > .age-card__ages { justify-self: start; }
  .age-card a > .age-card__price { grid-column: 2; grid-row: 1 / 3; margin: 0; padding: 0 0 0 24px; border-top: 0; border-left: 2px solid var(--line); align-self: center; }
  .age-card a > .age-card__more { grid-column: 2; grid-row: 3; align-self: end; margin: 0 0 0 24px; }
  .steps { max-width: none; }
}
/* how to start: three short steps fit across from 700px */
@media (min-width: 700px) and (max-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps::before { left: 12%; right: 12%; top: 46px; bottom: auto; width: auto; height: 6px; translate: none; background: radial-gradient(circle, rgba(45, 48, 71, .3) 2.4px, transparent 3px) 0 50% / 16px 6px repeat-x; }
}
/* programs, tablet: heading and prices beside the photo, the checklist in two columns below */
@media (min-width: 561px) and (max-width: 1080px) {
  .program { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); }
  .program > .program__head { grid-column: 1; grid-row: 1; }
  .program > .patch { grid-column: 2; grid-row: 1; max-width: none; align-self: center; }
  .program > div:not(.program__head) { grid-column: 1 / -1; grid-row: 2; }
  .program .ticks { columns: 2; column-gap: clamp(24px, 4vw, 48px); }
  .program .ticks li { break-inside: avoid; }
}
/* phones: one column at full width */
@media (max-width: 560px) {
  .mini-row { max-width: none; }
  .age-cards, .steps { max-width: none; }
  .program > .patch { max-width: none; }
}

/* the sun-path card explains itself: title, "the kids are usually at", "Up next" */
.sunpath__title { padding: 4px 8px 6px; }
.sunpath .sunpath__h { font-size: var(--step-2); line-height: 1.1; margin: 0 0 4px; max-width: none; }
.sunpath__title p { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.45; }
.sunpath__label { margin-top: 12px; padding-top: 10px; border-top: 2px solid var(--line); font-family: var(--font-head); font-weight: 600; font-size: .9375rem; color: var(--brand-blue-ink); }
/* our home gallery, three columns: the last photo spans the row so no gap is left */
@media (min-width: 821px) { .block:last-child { grid-column: 1 / -1; } }

/* daily schedule: photos you can see without opening a row */
.row__btn { grid-template-columns: 8.5rem minmax(0, 1fr) 56px 2.6rem; }
.row__thumb { width: 56px; height: 56px; border-radius: 16px; overflow: hidden; justify-self: center; }
.row__thumb:empty { visibility: hidden; }
.row__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; border: 3px solid #fff; border-radius: 16px; box-shadow: 0 2px 6px rgba(45, 48, 71, .2); box-sizing: border-box; background: #e3efd9; transition: opacity .3s, scale .3s var(--ease-out); }
.row[data-open="true"] .row__thumb img { opacity: 0; scale: .8; }
.sched-snap { max-width: 360px; margin-top: clamp(18px, 2.4vw, 30px); }
@media (max-width: 820px) { .sched-snap { max-width: 300px; } }
@media (max-width: 600px) {
  .row__btn { grid-template-columns: minmax(0, 1fr) 48px 2.2rem; }
  .row__thumb { grid-column: 2; grid-row: 1 / span 2; width: 48px; height: 48px; border-radius: 14px; }
  .row__thumb img { border-radius: 14px; }
  .row__mark { grid-column: 3; }
}
/* the "now" tag sits to the left of the row's thumbnail */
.now-tag { right: 152px; z-index: 1; }
@media (max-width: 600px) { .now-tag { right: 118px; } }

/* who it's for: a real photo at the top of each age card */
.age-card__photo { display: block; margin: -10px -10px 16px; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; background: #e3efd9; }
.age-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .7s var(--ease-out); }
.age-card a:hover .age-card__photo img { transform: scale(1.04); }
@media (min-width: 561px) and (max-width: 900px) {
  .age-card a > .age-card__photo { grid-column: 1 / -1; grid-row: 1; margin: -10px -10px 16px; aspect-ratio: 21 / 9; }
  .age-card a > .age-card__price { grid-row: 2 / 4; }
  .age-card a > .age-card__more { grid-row: 4; }
}
@media (max-width: 560px) { .age-card__photo { margin: -6px -8px 12px; aspect-ratio: 2 / 1; } }
@media (max-width: 1080px) { .block:nth-last-child(2) { grid-column: 1 / -1; } }

/* tour form: hidden spam trap, optional text-message checkbox */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.tour-form { position: relative; }
.sms-ok { align-items: flex-start; gap: 12px; margin-top: 22px; max-width: 70ch; }
.sms-ok .box { flex: none; margin-top: 1px; }
.sms-ok > span { font-weight: 700; color: var(--ink); line-height: 1.45; }
.sms-ok input:focus-visible + .box { border-radius: 10px; }
