/*
Theme Name: Parkside Daycare
Theme URI: https://example.com/
Author: Parkside Daycare
Description: One-page illustrated theme with a fixed neighborhood map, bouncing house and scroll-fade background.
Version: 1.0.1
Requires at least: 5.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: parkside-daycare
*/

/* Layout concept: a fixed illustrated neighborhood map (the scene) with the logo cloud, bouncing house and
   three big buttons on top. Content sections ride up over it like a curtain while the map fades. */
:root {
  --red: #ED0A3F;
  --orange: #FF8833;
  --yellow: #FBE870;
  --green: #01A368;
  --blue: #0066FF;
  --purple: #8359A3;
  --brown: #AF593E;
  --black: #000000;

  --paper: #F3FCEA;
  --white: #FFFFFF;
  --ink: #000000;
  --ink-soft: #2F3B2B;
  --tint-yellow: #FEF8D6;
  --tint-blue: #E8F1FF;
  --tint-purple: #F1EAF7;
  --tint-green: #E3F6EC;

  --f-head: "Fredoka", ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  --f-body: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-note: "Short Stack", "Comic Sans MS", "Chalkboard SE", cursive;

  --hd-h: calc(76px + env(safe-area-inset-top, 0px));
  --btn-h: clamp(46px, 7vh, 66px);
  --anchor: 170px;
  --stage-top: 0px; --stage-h: 400px; --stage-w: 900px; --stage-x: 0px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 700; line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: var(--wp-admin--admin-bar--height, 0px) 0 auto 0; z-index: 50;
  height: var(--hd-h);
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--white);
}
.hd-inner {
  height: 100%;
  max-width: 1280px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: block; flex: none; line-height: 0; border-radius: 12px; }
.brand img { height: 62px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-family: var(--f-head); font-weight: 700; font-size: 1.15rem;
  text-decoration: none; padding: 8px 16px; border-radius: 999px; line-height: 1.2;
  transition: background .15s, color .15s;
}
.nav a:hover { background: var(--tint-yellow); }
.nav a[aria-current="true"] { background: var(--red); color: var(--white); }
.nav-toggle {
  display: none; align-items: center; gap: 8px;
  font-family: var(--f-head); font-weight: 700; font-size: 1rem; color: var(--ink);
  background: var(--yellow); border: 3px solid var(--black); border-radius: 999px;
  padding: 6px 14px; cursor: pointer;
}
.nav-toggle svg { width: 18px; height: 18px; }
.wave { position: absolute; left: 0; right: 0; top: calc(100% - 6px); width: 100%; height: 26px; pointer-events: none; display: block; }

/* ---------- Scene (fixed illustrated map) ---------- */
.scene {
  position: fixed; inset: 0; z-index: 0; overflow: hidden;
  background: var(--paper);
}
.grass { left: calc(var(--stage-x) * -1); top: calc(var(--stage-top) * -1); width: 100vw; height: 100vh; max-width: none; background: linear-gradient(#EAFCDD 0, rgba(91,244,53,0) 230px), url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22700%22%20height%3D%22500%22%20viewBox%3D%220%200%20700%20500%22%3E%3Cg%20transform%3D%22translate%28110%20120%29%20scale%281.3%29%22%3E%3Cpath%20d%3D%22M-14%2012%20L-10%20-6%20L-4%204%20L0%20-12%20L5%204%20L11%20-7%20L14%2012%20Z%22%20fill%3D%22%2326B52E%22%20stroke%3D%22%2312862A%22%20stroke-width%3D%222.4%22%20stroke-linejoin%3D%22round%22/%3E%3C/g%3E%3Cg%20transform%3D%22translate%28480%2070%29%20scale%281.2%29%22%3E%3Cpath%20d%3D%22M-14%2012%20L-10%20-6%20L-4%204%20L0%20-12%20L5%204%20L11%20-7%20L14%2012%20Z%22%20fill%3D%22%2326B52E%22%20stroke%3D%22%2312862A%22%20stroke-width%3D%222.4%22%20stroke-linejoin%3D%22round%22/%3E%3C/g%3E%3Cg%20transform%3D%22translate%28330%20300%29%20scale%281.35%29%22%3E%3Cpath%20d%3D%22M-14%2012%20L-10%20-6%20L-4%204%20L0%20-12%20L5%204%20L11%20-7%20L14%2012%20Z%22%20fill%3D%22%2326B52E%22%20stroke%3D%22%2312862A%22%20stroke-width%3D%222.4%22%20stroke-linejoin%3D%22round%22/%3E%3C/g%3E%3Cg%20transform%3D%22translate%28600%20410%29%20scale%281.25%29%22%3E%3Cpath%20d%3D%22M-14%2012%20L-10%20-6%20L-4%204%20L0%20-12%20L5%204%20L11%20-7%20L14%2012%20Z%22%20fill%3D%22%2326B52E%22%20stroke%3D%22%2312862A%22%20stroke-width%3D%222.4%22%20stroke-linejoin%3D%22round%22/%3E%3C/g%3E%3Cg%20transform%3D%22translate%2860%20430%29%20scale%281.2%29%22%3E%3Cpath%20d%3D%22M-14%2012%20L-10%20-6%20L-4%204%20L0%20-12%20L5%204%20L11%20-7%20L14%2012%20Z%22%20fill%3D%22%2326B52E%22%20stroke%3D%22%2312862A%22%20stroke-width%3D%222.4%22%20stroke-linejoin%3D%22round%22/%3E%3C/g%3E%3C/svg%3E") center top / calc(var(--stage-w) * 0.5) auto repeat, #5BF435; pointer-events: none; }
.cropped .vignette { display: none; }
.fx { inset: 0; width: 100%; height: 100%; }
.fx > * { position: absolute; display: block; }
.vignette { left: calc(var(--stage-x) * -1); top: calc(var(--stage-top) * -1); width: 100vw; height: 100vh; max-width: none; pointer-events: none; background: radial-gradient(circle farthest-side at 50% 52%, rgba(3,26,12,0) 84%, rgba(3,26,12,.8) 100%), radial-gradient(circle farthest-side at 50% 52%, rgba(11,62,30,0) 70%, rgba(11,62,30,.6) 90%), radial-gradient(ellipse 55% 60% at 50% 52%, rgba(255,255,210,.26) 0, rgba(255,255,210,0) 70%), radial-gradient(circle farthest-side at 50% 52%, rgba(22,92,46,0) 56%, rgba(22,92,46,.5) 80%); }
.stage-wrap {
  position: absolute; left: 0; right: 0;
  top: var(--stage-top); height: var(--stage-h);
  background: transparent;
}
.stage { position: absolute; top: 0; left: var(--stage-x); width: var(--stage-w); height: var(--stage-h); }
.stage > * { position: absolute; display: block; }
.art {
  inset: 0; width: 100%; height: 100%; max-width: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 5%, #000 93%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 5%, #000 93%, transparent 100%);
  will-change: opacity;
}
.art-ext-r { position: absolute; max-width: none; will-change: opacity; pointer-events: none; }
.art-ext { left: 0; top: 0; width: 100%; height: 100%; overflow: visible; will-change: opacity; pointer-events: none; }
.map-label { left: 88.78%; top: 47.7%; transform: translate(-50%, -50%); text-align: center; white-space: nowrap; font-family: var(--f-head); font-weight: 700; font-size: calc(var(--stage-w) * 0.0215); line-height: 1; color: #fff; -webkit-text-stroke: calc(var(--stage-w) * 0.0055) #000; paint-order: stroke fill; pointer-events: none; will-change: opacity; }
.kid { pointer-events: none; will-change: transform; }
.kid svg { width: 100%; height: auto; display: block; overflow: visible; }
.kid .leg, .kid .arm { fill: none; stroke: #000; stroke-width: 2.2; stroke-linecap: round; }
.kid .leg, .kid .arm { transform-box: fill-box; transform-origin: 50% 0; }
.walking .kid .leg.l, .walking .kid .arm.r { animation: swingA .38s ease-in-out infinite alternate; }
.walking .kid .leg.r, .walking .kid .arm.l { animation: swingB .38s ease-in-out infinite alternate; }
@keyframes swingA { from { transform: rotate(-26deg); } to { transform: rotate(26deg); } }
@keyframes swingB { from { transform: rotate(26deg); } to { transform: rotate(-26deg); } }
@media (max-width: 640px) { .kid svg { transform: scale(1.35); transform-origin: 50% 100%; } }
.contact-stack { transform: rotate(12deg); left: 66%; top: 3.5%; display: flex; flex-direction: column; align-items: center; width: max-content; gap: calc(var(--stage-w) * .004); z-index: 3; }
.phone-badge { display: flex !important; align-items: center; gap: calc(var(--stage-w) * .009); padding: calc(var(--stage-w) * .009) calc(var(--stage-w) * .016) calc(var(--stage-w) * .009) calc(var(--stage-w) * .011); background: #fff; color: #000; text-decoration: none; border: 3px solid #000; border-radius: 999px; box-shadow: 0 5px 0 var(--red), 0 8px 14px rgba(0,0,0,.25); transition: transform .15s; z-index: 3; }
.phone-badge:hover { transform: translateY(-2px); }
.phone-badge svg { width: calc(var(--stage-w) * .03); height: calc(var(--stage-w) * .03); flex: none; }
.phone-badge span { display: grid; line-height: 1.05; }
.phone-badge small { font-family: var(--f-body); font-size: calc(var(--stage-w) * .0125); }
.phone-badge b { font-family: var(--f-head); font-weight: 700; font-size: calc(var(--stage-w) * .0245); white-space: nowrap; }
.enroll-badge { display: block !important; text-decoration: none; cursor: pointer; padding: calc(var(--stage-w) * .008) calc(var(--stage-w) * .015); background: var(--yellow); color: #000; border: 3px solid #000; border-radius: 28px; font-family: var(--f-head); font-weight: 700; font-size: calc(var(--stage-w) * .0170); line-height: 1.05; text-align: center; box-shadow: 0 5px 0 var(--green), 0 8px 14px rgba(0,0,0,.25); z-index: 3; transition: transform .15s; }
.enroll-badge:hover { transform: translateY(-2px); }
@media (max-width: 640px) { .contact-stack { zoom: 1.2; left: auto; right: 12%; top: auto; bottom: 86%; }
  #art { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 5%, #000 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 5%, #000 100%); } }
/* positions are percentages of the 1367 x 758 map */
.house { left: 54.28%; top: 36.15%; width: 15.58%; cursor: pointer; }
.house-img { width: 100%; height: auto; max-width: none; display: block; transform-origin: 50% 100%; }
.house-img.hop { animation: hop 700ms cubic-bezier(.3, .6, .4, 1) both; }
@keyframes hop {
  0%   { transform: translateY(0) scale(1, 1); }
  14%  { transform: translateY(0) scale(1.07, .90); }
  42%  { transform: translateY(calc(var(--stage-w) * -.016)) scale(.96, 1.08); }
  70%  { transform: translateY(0) scale(1.05, .93); }
  86%  { transform: translateY(0) scale(.99, 1.02); }
  100% { transform: translateY(0) scale(1, 1); }
}
.cloud-link { left: 36.72%; top: -3.43%; width: 28.02%; line-height: 0; border-radius: 40px; z-index: 1; }
.kid { z-index: 2; }
.kid.teacher { z-index: 3; }
.cloud-link img { width: 100%; height: auto; max-width: none; display: block; }

/* ---------- Big buttons ---------- */
.cta { position: fixed; left: 0; right: 0; top: var(--hd-h); z-index: 40; pointer-events: none; padding-block: 24px 10px; transition: background .25s, box-shadow .25s; }
.cta.stuck { background: rgba(255,255,255,.92); box-shadow: 0 10px 22px rgba(0,0,0,.10); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.cta-inner {
  max-width: 780px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2.5vw, 32px);
}
.btn {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: center;
  height: var(--btn-h); padding: 0 18px;
  font-family: var(--f-head); font-weight: 700; font-size: clamp(1.1rem, .7rem + 1.5vw, 1.9rem); line-height: 1;
  text-decoration: none; color: var(--white);
  border: 2px solid #000; border-radius: 999px;
  box-shadow: 0 4px 10px rgba(0,0,0,.18);
  transition: transform .15s, box-shadow .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(0,0,0,.22); }
.btn:active { transform: translateY(1px); box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.btn-rates { background: var(--red); }
.btn-visit { background: var(--blue); }
.btn-ccrc { background: var(--green); color: var(--white); }

/* ---------- Page flow over the scene ---------- */
.hero-spacer { height: 100vh; height: 100svh; }
.curtain { position: relative; z-index: 20; background: var(--paper); }
.curtain::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 36px; background: var(--paper);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 36' preserveAspectRatio='none'%3E%3Cpath d='M0 36V22C20 4 40 4 60 20S100 36 120 14V36Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 36' preserveAspectRatio='none'%3E%3Cpath d='M0 36V22C20 4 40 4 60 20S100 36 120 14V36Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
section[id] { scroll-margin-top: var(--anchor); }
.band { padding-block: clamp(56px, 8vw, 100px); }
.band.tint-yellow { background: var(--tint-yellow); }
.band.tint-blue { background: var(--tint-blue); }
.band.tint-purple { background: var(--tint-purple); }
.band.tint-white { background: var(--white); }
.wrap {
  max-width: 1080px; margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.sec-head { display: grid; gap: 10px; margin-bottom: clamp(28px, 4vw, 44px); max-width: 40rem; }
.kicker { font-family: var(--f-note); font-size: 1.15rem; color: var(--brown); transform: rotate(-1.5deg); transform-origin: left; width: fit-content; }
#programs .sec-head { justify-items: start; text-align: left; max-width: 820px; margin-inline: auto; }
#programs .sec-title { justify-self: start; text-align: left; padding-left: calc(clamp(20px, 3vw, 30px) + 3px); }
#programs .sec-title::after { margin-inline: 0; }
#programs .grid-2.programs { margin-inline: auto; }
#programs .sheet-link { text-align: center; }
#gallery .sec-title::after { margin-inline: 0; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 2vw, 22px); max-width: 820px; margin: 0 auto; }
.ig-tile { aspect-ratio: 1; border: 3px solid #000; border-radius: 22px; display: grid; place-items: center; box-shadow: 5px 5px 0 #000; }
.ig-tile svg { width: 56%; height: 56%; }
.ig-cta { text-align: center; margin-top: 32px; }
.ig-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 24px; background: var(--purple); color: #fff; border: 2px solid #000; border-radius: 999px; font-family: var(--f-head); font-weight: 700; font-size: 1.15rem; text-decoration: none; box-shadow: 0 4px 10px rgba(0,0,0,.18); }
.ig-btn svg { width: 24px; height: 24px; }
.ig-btn:hover { transform: translateY(-2px); }
#programs-h { scroll-margin-top: 180px; }
#programs.band { padding-top: clamp(24px, 3vw, 40px); }
.welcome { margin-top: 0; font-weight: 400; max-width: none; text-align: center; justify-self: center; width: 100%; font-family: var(--f-note); font-weight: 400; font-size: clamp(1.5rem, 1rem + 1.9vw, 2.4rem); line-height: 1.2; color: #000; margin-bottom: 10px; text-wrap: balance; }
.welcome u, .why-lead u { text-decoration: none; padding-bottom: .22em; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20200%2012%22%20preserveAspectRatio%3D%22none%22%3E%3Cpath%20d%3D%22M2%207%20C40%203%2080%2010%20120%206%20S180%204%20198%206%22%20fill%3D%22none%22%20stroke%3D%22%237BC419%22%20stroke-width%3D%224.5%22%20stroke-linecap%3D%22round%22/%3E%3C/svg%3E") left bottom / 100% .32em no-repeat; }
.sec-title { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem); }
.sec-title::after { content: ""; display: block; width: 4.2ch; height: 10px; margin-top: 12px; border-radius: 99px; background: var(--c, var(--orange)); }
.lede { color: var(--ink-soft); max-width: 36rem; }

.card {
  background: var(--white); border: 3px solid var(--black); border-radius: 26px;
  padding: clamp(20px, 3vw, 30px); box-shadow: 6px 6px 0 var(--c, var(--orange));
  min-width: 0;
}
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(20px, 3vw, 32px); }
.grid-2.programs { max-width: 820px; align-items: stretch; }
.card { display: flex; flex-direction: column; }
.card p:not(.price) { margin-bottom: 18px; }
.card .price { margin-top: auto; margin-block-start: auto; padding-top: 14px; border-top: 3px dashed #000; font-family: var(--f-head); font-weight: 700; color: var(--ink); font-size: 1.1rem; }
.price b { font-size: 2.1rem; font-weight: 700; margin-right: 2px; }
.openings-title { text-align: left; max-width: 820px; margin-inline: auto; padding-inline: 0; font-family: var(--f-head); font-weight: 700; font-size: 1.6rem; margin-top: 34px; margin-bottom: 18px; }
.card .openings { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; padding-top: 0; font-family: var(--f-head); font-weight: 700; font-size: 1.05rem; color: #014d31; }
.card .openings i { width: 12px; height: 12px; border-radius: 50%; background: var(--green); border: 2px solid #000; flex: none; }
.card.reserve { position: relative; transition: transform .15s, box-shadow .15s; }
.card.reserve:hover { transform: translateY(-3px); box-shadow: 6px 9px 0 var(--c, var(--orange)); }
.card.reserve .reserve-link { display: block; margin-top: 14px; font-family: var(--f-head); font-weight: 700; font-size: 1.05rem; color: var(--blue); text-decoration: none; }
.card.reserve .reserve-link::after { content: ""; position: absolute; inset: 0; border-radius: 26px; }
.card.reserve .reserve-link:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.why-body { max-width: 820px; margin: 0 auto; display: grid; gap: 20px; }
.why-body > p { margin: 0; }
.why-lead { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.25rem, 1rem + 1.2vw, 1.7rem); line-height: 1.25; }
.why-body .card h3 { margin-top: 0; }
.why-body .card p:not(.price) { margin-bottom: 12px; color: var(--ink); }
.why-body .card p:last-child { margin-bottom: 0; }
.goals { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 14px; }
.goals li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.4; }
.goals b { font-family: var(--f-head); font-weight: 700; }
.chk { flex: none; width: 26px; height: 26px; margin-top: 1px; display: grid; place-items: center; background: var(--green); border: 2px solid #000; border-radius: 8px; }
.chk svg { width: 16px; height: 16px; }
.why-goal { padding: 18px 22px; background: var(--green); color: #fff; border: 3px solid #000; border-radius: 22px; box-shadow: 6px 6px 0 #000; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.1rem, 1rem + .6vw, 1.35rem); line-height: 1.3; }
.steps { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 30px); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; max-width: 520px; } }
.card.step { display: flex; flex-direction: column; }
.step-num { width: 52px; height: 52px; display: grid; place-items: center; background: var(--c); color: #fff; border: 3px solid #000; border-radius: 50%; font-family: var(--f-head); font-weight: 700; font-size: 1.6rem; }
.card.step h3 { margin-block: 14px 8px; }
.card.step p { margin-bottom: 14px; }
.step-link { margin-top: auto; font-family: var(--f-head); font-weight: 700; color: var(--blue); text-decoration: none; }
.step-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.goals .fit { color: #01824f; font-weight: 700; }
.pay-grid { display: flex; flex-wrap: wrap; gap: 16px; }
.pay-grid .btn { flex: 1 1 200px; text-align: center; justify-content: center; }
.book-widget { max-width: 640px; margin: 8px auto 28px; padding: clamp(20px, 3vw, 32px); background: #fff; border: 3px solid #000; border-radius: 28px; box-shadow: 8px 8px 0 var(--green); }
.book-widget h3 { margin: 0 0 14px; font-size: 1.5rem; }
.book-frame p { margin: 0; padding: 22px; border: 3px dashed #000; border-radius: 18px; background: var(--tint-green); text-align: center; }
.book-frame iframe { display: block; width: 100%; height: 680px; border: 0; border-radius: 14px; }
.card.notebook { --nb: 64px; --line: 32px; position: relative; padding: var(--line) 22px var(--line) calc(var(--nb) + 16px);
  background:
    linear-gradient(to right, transparent calc(var(--nb) - 1px), #f19a9a calc(var(--nb) - 1px), #f19a9a calc(var(--nb) + 1px), transparent calc(var(--nb) + 1px)),
    repeating-linear-gradient(to bottom, #fffef6 0, #fffef6 calc(var(--line) - 1px), #bcd7ee calc(var(--line) - 1px), #bcd7ee var(--line)); }
.card.notebook h3 { margin: 0; height: calc(var(--line) * 2); line-height: calc(var(--line) * 2); font-family: "Short Stack", var(--f-head); font-weight: 400; font-size: 1.7rem; }
.card.notebook .goals { margin: 0; gap: 0; }
.card.notebook .goals li { line-height: var(--line); gap: 10px; }
.card.notebook .chk { width: 22px; height: 22px; margin-top: 5px; border-radius: 6px; }
.card.notebook .chk svg { width: 14px; height: 14px; }
@media (max-width: 520px) { .card.notebook { --nb: 44px; padding-right: 14px; padding-left: calc(var(--nb) + 12px); } .card.notebook h3 { font-size: 1.35rem; } }
.sheet-link { margin-top: 28px; font-family: var(--f-body); font-weight: 400; font-size: 1.15rem; }
.sheet-link a { color: var(--blue); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.age-chip { display: inline-block; font-family: var(--f-head); font-weight: 700; font-size: .95rem; padding: 4px 14px; border: 3px solid var(--black); border-radius: 999px; background: var(--bg); margin-bottom: 12px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(24px, 4vw, 48px); align-items: start; }
.card h3 { font-size: 1.5rem; margin-block: 14px 8px; }
.card p { color: var(--ink-soft); }
.icon-dot { width: 64px; height: 64px; border-radius: 20px; border: 3px solid var(--black); display: grid; place-items: center; background: var(--bg, var(--yellow)); }
.icon-dot svg { width: 36px; height: 36px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 22px 28px; padding: 0; list-style: none; }
.chips li { font-family: var(--f-head); font-weight: 700; font-size: 1.05rem; padding: 8px 16px; border: 3px solid var(--black); border-radius: 999px; background: var(--bg); }

.pill-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer;
  font-family: var(--f-head); font-weight: 700; font-size: 1.15rem; line-height: 1; text-decoration: none;
  padding: 15px 26px; border-radius: 999px; border: 3px solid var(--black);
  background: var(--bgc, var(--blue)); color: var(--fgc, var(--white));
  box-shadow: 0 5px 0 var(--black); transition: transform .12s, box-shadow .12s;
}
.pill-btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--black); }
.pill-btn:active { transform: translateY(3px); box-shadow: 0 2px 0 var(--black); }
.pill-btn.yellow { --bgc: var(--yellow); --fgc: var(--ink); }
.pill-btn.green { --bgc: var(--green); }
.pill-btn.light { --bgc: var(--white); --fgc: var(--ink); }

/* form */
form.card { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
label.lab { font-family: var(--f-head); font-weight: 700; font-size: 1rem; }
input, select, textarea {
  font: inherit; color: var(--ink); width: 100%; min-width: 0;
  background: var(--white); border: 3px solid var(--black); border-radius: 16px; padding: 11px 14px;
}
textarea { resize: vertical; min-height: 96px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.result { grid-column: 1 / -1; display: grid; gap: 12px; padding: 18px; background: var(--tint-green); border: 3px solid var(--black); border-radius: 20px; }
.result h3 { font-size: 1.3rem; margin: 0; }
.result textarea { min-height: 170px; font-size: .95rem; background: var(--white); }
.result .row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.status { font-family: var(--f-note); color: var(--green); min-height: 1.4em; }
.visit-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.visit-list li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.visit-list .dot { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--black); background: var(--bg); display: grid; place-items: center; font-family: var(--f-head); }

/* checklist */
.check-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.check-list label { display: grid; grid-template-columns: 32px 1fr; gap: 14px; align-items: center; cursor: pointer; padding: 10px 12px; border-radius: 16px; transition: background .15s; }
.check-list label:hover { background: var(--tint-yellow); }
.check-list input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.box { width: 32px; height: 32px; border: 3px solid var(--black); border-radius: 10px; background: var(--white); display: grid; place-items: center; }
.box svg { width: 20px; height: 20px; opacity: 0; transform: scale(.5); transition: .15s; }
.check-list input:checked + .box { background: var(--green); }
.check-list input:checked + .box svg { opacity: 1; transform: scale(1); }
.check-list input:checked ~ .txt { text-decoration: line-through; color: var(--ink-soft); }
.check-list input:focus-visible + .box { outline: 3px solid var(--blue); outline-offset: 3px; }
.progress { height: 16px; border: 3px solid var(--black); border-radius: 99px; background: var(--white); overflow: hidden; margin-top: 8px; }
.progress > i { display: block; height: 100%; width: 0; background: var(--green); transition: width .3s; }
.prog-label { font-family: var(--f-note); }

/* accordion */
.acc { display: grid; gap: 16px; max-width: 760px; }
details { background: var(--white); border: 3px solid var(--black); border-radius: 22px; box-shadow: 5px 5px 0 var(--c, var(--purple)); }
summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-family: var(--f-head); font-weight: 700; font-size: 1.25rem; border-radius: 19px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 3px solid var(--black); background: var(--yellow); font-size: 1.3rem; line-height: 1; transition: transform .2s; }
details[open] summary::after { content: "–"; transform: rotate(180deg); }
details .body { padding: 0 22px 20px; color: var(--ink-soft); }
details ul { margin: 8px 0 0; padding-left: 1.2em; display: grid; gap: 4px; }

.contact-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.contact-list b { font-family: var(--f-head); font-weight: 700; }
.copy-btn { font: inherit; font-size: .9rem; margin-left: 8px; padding: 2px 12px; border: 2px solid var(--black); border-radius: 99px; background: var(--yellow); cursor: pointer; }

footer { background: var(--black); color: var(--white); padding-block: 40px calc(36px + env(safe-area-inset-bottom, 0px)); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: center; text-align: left; }
footer .logo-chip { background: var(--white); border-radius: 24px; padding: 10px; line-height: 0; display: inline-block; }
footer .logo-chip img { height: 150px; width: auto; }
.foot-info { font-style: normal; display: grid; gap: 6px; font-size: 1.05rem; }
.foot-info a.foot-tel { font-family: var(--f-body); font-weight: 400; }
.foot-info a { color: var(--yellow); text-decoration: underline; text-underline-offset: 3px; }
.foot-info small { opacity: .8; font-size: .9rem; }
@media (max-width: 640px) { footer .wrap { flex-direction: column; text-align: center; } }
footer a { font-family: var(--f-head); font-weight: 700; }

/* ---------- Small screens ---------- */
@media (max-width: 860px) {
  :root { --hd-h: calc(60px + env(safe-area-inset-top, 0px)); }
  .brand img { height: 46px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: calc(100% + 18px); right: max(16px, env(safe-area-inset-right, 0px)); left: max(16px, env(safe-area-inset-left, 0px));
    flex-direction: column; align-items: stretch; gap: 4px; padding: 12px;
    background: var(--white); border: 3px solid var(--black); border-radius: 22px; box-shadow: 6px 6px 0 var(--yellow);
  }
  .nav.open { display: flex; }
  .nav a { font-size: 1.25rem; padding: 12px 16px; }
  form.card { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .cta { padding-block: 20px 8px; }
  .cta-inner { gap: 8px; }
  .btn { padding: 0 8px; font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .house-img.hop { animation: none; }
  .btn, .pill-btn { transition: none; }
}

/* ---- book a visit / contact ---- */
.visit-card { max-width: 640px; margin: 8px auto 0; padding: clamp(24px, 4vw, 40px); background: #fff; border: 3px solid #000; border-radius: 28px; box-shadow: 8px 8px 0 var(--blue); }
.visit-row { display: flex; gap: 16px; align-items: flex-start; padding-block: 18px; }
.visit-row + .visit-row { border-top: 3px dashed #000; }
.visit-ico { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 3px solid #000; display: grid; place-items: center; background: var(--bg, var(--yellow)); }
.visit-ico svg { width: 24px; height: 24px; }
.visit-row h3 { font-size: 1.05rem; margin-bottom: 4px; }
.visit-row a, .visit-row p { font-size: clamp(1.1rem, 1rem + .6vw, 1.45rem); font-weight: 400; color: var(--ink); }
.visit-row a { text-decoration-thickness: 3px; text-underline-offset: 4px; text-decoration-color: var(--red); }
.visit-row a:hover { text-decoration-color: var(--blue); }
.visit-back { text-align: center; margin-top: 28px; }
.policies-page .curtain::before { display: none; }
.policies-page .curtain { padding-top: calc(var(--hd-h) + 96px); min-height: 100vh; }
.form-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.form-list a { display: inline-block; }
.card .soft { margin: 0; }
.policies-page .card .btn { display: inline-flex; width: auto; padding-inline: 28px; max-width: 100%; }
.policies-page .form-dl { font-size: 1.05rem; padding-block: 10px; text-align: left; white-space: normal; }

.cta { top: calc(var(--hd-h) + var(--wp-admin--admin-bar--height, 0px)); }

/* Policies: individual form links (same look as the rate sheet link) */
.form-individual { margin-top: 24px; padding-top: 20px; border-top: 3px dashed #000; }
.form-individual h4 { margin: 0 0 4px; font-family: var(--f-head); font-weight: 700; font-size: 1.2rem; }
.form-individual p { margin: 0 0 12px; }
.form-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.form-links a { font-family: var(--f-body); font-weight: 400; font-size: 1.15rem; color: var(--blue); text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* Center the Policies and Ready to reserve titles */
#policies .sec-head, #reserve .sec-head { margin-inline: auto; justify-items: center; text-align: center; }
#policies .sec-title::after, #reserve .sec-title::after { margin-inline: auto; }

/* Bold welcome line on the homepage */
.welcome { font-weight: 700; }

/* Smaller Programs / Book a Visit / CCRC Guide buttons under the menu */
.cta-inner { max-width: 600px; gap: clamp(10px, 2vw, 22px); }
.cta .btn { height: clamp(38px, 5.5vh, 50px); padding: 0 14px; font-size: clamp(.95rem, .6rem + 1.1vw, 1.4rem); }
@media (max-width: 640px) {
  .cta .btn { height: 38px; padding: 0 6px; font-size: .85rem; }
}

/* Daily goals: tap-to-check list */
.goals-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.goals-count { font-family: var(--f-head); font-weight: 700; font-size: 1.1rem; padding: 0 12px; line-height: 1.7; border: 2px solid #000; border-radius: 999px; background: var(--yellow); }
.goals-check li { display: block; }
.goal { all: unset; box-sizing: border-box; width: 100%; display: flex; gap: 10px; align-items: flex-start; cursor: pointer; line-height: var(--line, 1.4); }
.goal:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.goal .chk { background: #fff; }
.goal .chk svg { opacity: 0; transition: opacity .15s; }
.goal[aria-pressed="true"] .chk { background: var(--green); }
.goal[aria-pressed="true"] .chk svg { opacity: 1; }
.goal[aria-pressed="true"] > span:last-child { text-decoration: line-through; text-decoration-thickness: 2px; opacity: .7; }
.goals-foot { margin: 0; line-height: var(--line, 1.4); font-family: "Short Stack", var(--f-head); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; }
.goals-reset { all: unset; cursor: pointer; font-family: var(--f-body); font-weight: 700; color: var(--blue); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.goals-reset:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Full-Time Care card */
.card .hours-line { margin-top: 4px; }
.dev-intro { margin: 16px 0 8px; font-weight: 700; }
.dev-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.dev-chips li { font-family: var(--f-head); font-weight: 700; font-size: 1rem; line-height: 1.2; padding: 8px 14px; background: var(--bg, var(--yellow)); border: 2px solid #000; border-radius: 999px; box-shadow: 0 3px 0 #000; }
/* Example tags: one row of five */
.dev-chips { margin-top: 16px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; align-items: stretch; }
.dev-chips li { display: grid; place-items: center; text-align: center; font-size: .9rem; padding: 8px 6px; border-radius: 16px; }
@media (max-width: 640px) { .dev-chips { display: flex; flex-wrap: wrap; } .dev-chips li { border-radius: 999px; padding: 8px 14px; } }
/* Example list: plain highlighted text, not buttons */
.dev-chips li { display: block; text-align: center; border: 0; box-shadow: none; border-radius: 0; padding: 2px 0; background: none; font-size: 1rem; line-height: 1.5; }
.dev-chips li span { padding: 0 3px; background: linear-gradient(transparent 55%, var(--yellow) 55%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@media (max-width: 640px) { .dev-chips { gap: 6px 18px; } .dev-chips li { padding: 2px 0; } }
/* Example skills: one line of colored text, no boxes */
.dev-line { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: nowrap; justify-content: center; align-items: baseline; container-type: inline-size; }
.dev-line li { font-family: var(--f-head); font-weight: 700; font-size: min(1rem, 1.6cqi); color: var(--fg); white-space: nowrap; }
@media (max-width: 640px) { .dev-line { flex-wrap: wrap; gap: 4px 0; } .dev-line li { font-size: .9rem; } }
.dev-line li:not(:last-child)::after { content: "\2022"; color: #000; opacity: .35; margin: 0 .4em; }
/* Skills: bigger, 3 across x 2 rows */
.dev-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 0; container-type: normal; margin-top: 18px; }
.dev-line li { flex: 0 0 33.333%; font-size: clamp(1rem, .85rem + .45vw, 1.2rem); text-align: center; white-space: normal; padding: 0 6px; box-sizing: border-box; }
.dev-line li:not(:last-child)::after { content: none; }
.dev-line li:nth-child(n+4) { flex-basis: 40%; }
@media (max-width: 640px) { .dev-line li, .dev-line li:nth-child(n+4) { flex-basis: 50%; font-size: 1rem; } }
/* Bigger milestones lead-in; Daily Schedule subheading */
.dev-intro { font-family: var(--f-head); font-weight: 700; font-size: clamp(1.15rem, .95rem + .8vw, 1.45rem); line-height: 1.25; margin: 20px 0 10px; text-align: center; }
h3.why-lead { margin: 0; }
/* Underline the milestone skills in their own color */
.dev-line li { text-decoration: underline; text-decoration-color: currentColor; text-decoration-thickness: 2px; text-underline-offset: 5px; }
/* Button bar removed: those links now live in the menu */
.cta { display: none !important; }
:root { --anchor: 110px; }
.policies-page .curtain { padding-top: calc(var(--hd-h) + 40px); }
/* Enroll Now section */
.enroll-body { max-width: 820px; margin: 0 auto; }
.enroll-note { margin: 0 0 18px; font-family: var(--f-head); font-weight: 700; font-size: 1.15rem; }
.enroll-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 28px); align-items: stretch; }
.enroll-grid .card { display: flex; flex-direction: column; }
.enroll-grid .card h3 { margin-top: 0; }
.enroll-grid .card p { flex: 1; }
@media (max-width: 760px) { .enroll-grid { grid-template-columns: 1fr; } }
.enroll-grid .reserve-link { display: block; margin-top: 14px; font-family: var(--f-head); font-weight: 700; font-size: 1.05rem; color: var(--blue); text-decoration: none; }
.enroll-grid .reserve-link:hover { text-decoration: underline; }
/* Enroll Now step numbers */
.step-num { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 12px; border: 2px solid #000; border-radius: 50%; background: var(--c, var(--yellow)); color: #fff; font-family: var(--f-head); font-weight: 700; font-size: 1.35rem; box-shadow: 0 3px 0 #000; }
/* Milestones: colored text with a matching highlighter stroke */
.dev-line li { text-decoration: none; }
.dev-line li span { padding: 0 4px; background: linear-gradient(transparent 58%, color-mix(in srgb, var(--fg) 24%, transparent) 58%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
/* Milestones written inside the notebook, one per ruled line */
.card.notebook .dev-intro { margin: var(--line) 0 0; font-size: 1.15rem; line-height: var(--line); text-align: left; }
.card.notebook .dev-line { display: block; margin: 0; }
.card.notebook .dev-line li, .card.notebook .dev-line li:nth-child(n+4) { display: block; padding: 0; font-size: 1.05rem; line-height: var(--line); text-align: left; }
@media (max-width: 640px) { .card.notebook .dev-line li, .card.notebook .dev-line li:nth-child(n+4) { font-size: 1rem; } }
.why-body .card.notebook p.dev-intro { margin: var(--line) 0 0; }
/* Milestones in the notebook: 3 on the first line, 2 on the second */
.card.notebook .dev-line { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 22px; row-gap: 0; }
.card.notebook .dev-line li, .card.notebook .dev-line li:nth-child(n+4) { white-space: nowrap; }
@media (max-width: 760px) { .card.notebook .dev-line { display: block; } .card.notebook .dev-line li, .card.notebook .dev-line li:nth-child(n+4) { white-space: normal; } }
/* Milestones flow inline, sized to fit in two notebook rows */
.card.notebook .dev-line { display: flex !important; flex-wrap: wrap; column-gap: 20px; row-gap: 0; container-type: inline-size; }
.card.notebook .dev-line li, .card.notebook .dev-line li:nth-child(n+4) { white-space: nowrap !important; flex: 0 0 auto !important; font-size: max(.8rem, min(1.05rem, 2.6cqi)) !important; }
/* Enroll Now: the whole card is clickable */
.enroll-grid .card { position: relative; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.enroll-grid .card:hover { transform: translateY(-3px); }
.enroll-grid .reserve-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.enroll-grid .card:focus-within { outline: 3px solid var(--blue); outline-offset: 3px; }
.enroll-grid .reserve-link:focus-visible { outline: none; }
/* Booking Calendar on the Schedule page */
.booking-card { max-width: 720px; margin-inline: auto; }
.booking-card .bk_calendar_frame, .booking-card .wpbc_calendar_wraper { max-width: 100%; }
.booking-card input[type=text], .booking-card input[type=email], .booking-card textarea, .booking-card select { width: 100%; max-width: 100%; box-sizing: border-box; }
/* Milestones centered in the notebook */
.why-body .card.notebook p.dev-intro { text-align: center; }
.card.notebook .dev-line { justify-content: center; }

/* Deposit buttons inside the "Reserve Your Spot" card */
.enroll-grid .pay-grid { margin-top: 14px; position: relative; z-index: 2; }
.enroll-grid .pay-grid .btn { flex: 1 1 100%; }
.enroll-grid .pay-note { flex: none; margin: 12px 0 0; font-size: .92rem; line-height: 1.4; }

/* Smaller deposit buttons so they fit inside the Reserve Your Spot card */
.enroll-grid .pay-grid .btn { flex: 1 1 100%; width: 100%; box-sizing: border-box; height: 42px; padding: 0 12px; font-size: 1.1rem; }

/* Collapsible list of individual forms */
.form-details { margin-top: 4px; }
.form-details summary { cursor: pointer; font-family: var(--f-head); font-weight: 700; font-size: 1.1rem; color: var(--blue); padding: 6px 0; }
.form-details summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.form-details[open] summary { margin-bottom: 8px; }

/* Daily schedule list is display only (not clickable) */
.goal { cursor: default; }

/* Land on the Reserve Your Spot card when the program cards are clicked */
#reserve-spot { scroll-margin-top: var(--anchor, 180px); }

/* v: labels, plain-text expanders, handbook anchor */
#playLabel { font-family: var(--f-head); font-weight: 700; }
.jot-link { margin: 12px 0 0; }
.jot-link a { color: var(--blue); font-weight: 700; text-decoration: underline; }
#handbook { scroll-margin-top: var(--anchor, 180px); }
.form-details, .form-details[open] { background: none; border: 0; border-radius: 0; box-shadow: none; }
.form-details summary { display: inline-flex; align-items: center; gap: 8px; justify-content: flex-start; padding: 6px 0; border: 0; border-radius: 0; background: none; box-shadow: none; text-decoration: underline; }
.form-details summary::after { content: ""; flex: none; width: 9px; height: 9px; margin: -4px 0 0 2px; border: 0; border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; border-radius: 0; background: none; transform: rotate(45deg); transition: transform .15s; }
.form-details[open] summary::after { content: ""; transform: rotate(-135deg); margin-top: 4px; }

/* centered step descriptions and content (titles stay top-left) */
.enroll-grid .card p, .enroll-grid .card .pay-note, .enroll-grid .card .reserve-link { text-align: center; }
.enroll-grid .card .pay-grid { justify-content: center; }

.visit-card h3 + p { margin-top: 16px; }
.visit-card h3 + p[style*="flex"] { margin-top: 18px !important; }

/* step cards: number + title pinned top; body block centered vertically, left-aligned; link tight under body */
.enroll-grid .card { justify-content: flex-start; }
.enroll-grid .card p { flex: none; text-align: left; margin-top: auto; margin-bottom: 0; }
.enroll-grid .card .pay-note { text-align: left; margin: 12px 0 auto; }
.enroll-grid .card .pay-grid { justify-content: flex-start; margin-top: 14px; }
.enroll-grid .card .reserve-link { text-align: left; margin-top: 6px; margin-bottom: auto; }
.enroll-grid .card > p + .reserve-link { margin-top: 6px; }

/* step links share one vertical position */
.enroll-grid .card > p:not(.pay-note) { min-height: 3.3em; }
/* thank-you page */
.thanks-lead { font-family: var(--f-head); font-weight: 700; font-size: 1.4rem; margin: 0 0 8px; }
.thanks-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 0; }

/* rate sheet / CCRC links start at the infant card's left edge */
#programs .sheet-link { text-align: left; max-width: 820px; margin-inline: auto; }
/* steps 1-3: boxes are not clickable, only the links/buttons inside */
.enroll-grid .card { cursor: default; }
.enroll-grid .card:hover { transform: none; }
.enroll-grid .reserve-link::after { content: none; display: none; }
.enroll-grid .reserve-link { position: static; }

.bw-steps { margin: 0; padding-left: 1.4em; display: grid; gap: 10px; }
#brightwheel { scroll-margin-top: var(--anchor, 180px); }

/* aligned step cards: shared rows (title / includes / buttons / description / link) */
@media (min-width: 761px) {
  .enroll-grid { grid-template-rows: repeat(6, auto); row-gap: 0; }
  .enroll-grid .card { display: grid; grid-row: span 6; grid-template-rows: subgrid; grid-template-columns: minmax(0, 1fr); row-gap: 0; align-content: start; }
  .enroll-grid .card .step-num { grid-row: 1; }
  .enroll-grid .card h3 { grid-row: 2; }
  .enroll-grid .card .r-inc { grid-row: 3; }
  .enroll-grid .card .pay-grid { grid-row: 4; }
  .enroll-grid .card .r-desc { grid-row: 5; }
  .enroll-grid .card .reserve-link { grid-row: 6; }
  .enroll-grid .card > p { min-height: 0; margin: 0; align-self: start; text-align: left; }
  .enroll-grid .card .r-inc { margin: 0 0 8px; min-height: 0; }
  .enroll-grid .card .pay-grid { margin-top: 0; }
  .enroll-grid .card .pay-note { margin: 12px 0 0; }
  .enroll-grid .card .r-desc { margin-top: 12px; }
  .enroll-grid .card .reserve-link { margin: 6px 0 0; align-self: start; }
}

@media (min-width: 761px) {
  .enroll-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin-inline: auto; }
}

/* tighter spacing between page sections */
.band { padding-block: clamp(26px, 3.5vw, 46px); }
#programs.band { padding-top: clamp(20px, 2.5vw, 32px); }

/* enroll cards v3: shorter headings, full-width action buttons, notes below */
@media (min-width: 761px) {
  .enroll-grid .card .r-inc { margin: 12px 0 16px; }
  .enroll-grid .card .pay-grid { margin: 0; }
  .enroll-grid .card .pay-note { margin: 12px 0 0; }
  .enroll-grid .card .reserve-link { margin-top: 10px; }
}
.enroll-grid .card .pay-grid .btn { display: flex; align-items: center; justify-content: center; height: 48px; font-size: 1.15rem; }
.enroll-grid .card .pay-note { font-size: .92rem; }

.bw-block { margin: 18px 0 0; }
.bw-block h4 { margin: 0 0 6px; font-family: var(--f-head); font-size: 1.15rem; }
.bw-block p { margin: 0 0 10px; }
.policies-page .card .btn, .policies-page .visit-card .btn { max-width: 100%; box-sizing: border-box; white-space: normal; text-align: center; }

.policies-page .visit-card a.btn-ccrc[href*="mybrightwheel"] { font-size: clamp(.95rem, .8rem + .5vw, 1.1rem); }

/* Parent Handbook button */
.policies-page #handbook .btn{font-size:clamp(.9rem,.8rem + .4vw,1rem)}

/* Policies: matching button text + link-style summary */
.policies-page .visit-card a.btn-ccrc[href*="mybrightwheel"],
.policies-page #handbook .btn{font-size:clamp(1.05rem,.9rem + .5vw,1.2rem)}
.policies-page .form-details summary{font-family:inherit;font-size:inherit;font-weight:700;line-height:inherit;color:var(--blue);text-decoration:underline}

/* Mobile only: line break after each value title, milestone text matches the intro line */
.g-br{display:none}
@media (max-width:640px){
  .g-dash{display:none}
  .g-br{display:inline}
  .card.notebook .dev-line li,.card.notebook .dev-line li:nth-child(n+4){font-size:1.15rem !important;white-space:normal !important;font-family:var(--f-head);font-weight:700}
}

/* Darker green band between the map and the white section below it */
.curtain::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%; z-index: -1; pointer-events: none;
  height: clamp(90px, 10vw, 150px);
  background: linear-gradient(to bottom, rgba(14,84,36,0) 0, rgba(14,84,36,.55) 60%, rgba(10,66,28,.9) 100%);
}
@media (max-width: 640px) { .curtain::after { height: 80px; } }
.policies-page .curtain::after { display: none; }

/* Soften the map's left and right edges so no vertical seam shows against the grass */
@media (min-width: 641px) {
  .art {
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 5%, #000 93%, transparent 100%), linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to bottom, transparent 0, #000 5%, #000 93%, transparent 100%), linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%);
    mask-composite: intersect;
  }
}

@media (min-width:641px){#artExt{display:none}}

/* Thank-you page: both buttons same text size */
.policies-page .thanks-actions .btn{font-size:clamp(1.05rem,.9rem + .5vw,1.2rem)}


/* Our Favorite Parks */
.parks-body { max-width: 1000px; margin: 0 auto; }
.parks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.6vw, 28px); align-items: stretch; }
.park-card { padding: 0; overflow: hidden; }
.park-card .park-photo { position: relative; margin: 0; aspect-ratio: 2 / 1; border-bottom: 3px solid #000; background: var(--tint-green); }
.park-card .park-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.park-card h3 { display: flex; align-items: center; gap: 8px; margin: 14px 20px 4px; font-size: 1.3rem; line-height: 1.2; }
.card.park-card p:not(.price) { margin: 0 20px 8px; color: var(--ink-soft); line-height: 1.45; }
.card.park-card p.park-addr { margin: auto 20px 16px; font-size: .9rem; font-family: var(--f-head); font-weight: 700; color: var(--ink-soft); }
.park-star svg { display: block; width: 28px; height: 28px; }
.park-home { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 8px; background: #fff; border: 2px solid #000; border-radius: 999px; font-family: var(--f-head); font-weight: 700; font-size: .95rem; box-shadow: 0 3px 0 #000; }
.park-home svg { width: 20px; height: 20px; }
.park-card.is-home { border-width: 4px; box-shadow: 7px 7px 0 var(--c); }
.parks-credit { margin: 18px 0 0; text-align: right; font-size: .8rem; color: var(--ink-soft); }
@media (max-width: 860px) { .parks-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

/* Privacy policy: its own collapsible box below the Policies card */
.privacy-details { max-width: 640px; margin: 28px auto 0; --c: var(--purple); }
.privacy-details[id] { scroll-margin-top: var(--anchor); }
.privacy-body { padding: 0 22px 20px; font-size: .92rem; color: var(--ink-soft); }
.privacy-body h5 { margin: 14px 0 4px; font-family: var(--f-head); font-weight: 700; font-size: 1rem; color: #000; }
.privacy-body p { margin: 0 0 8px; }
.foot-info a.foot-privacy { font-family: var(--f-body); font-weight: 400; }
