/* ==========================================================================
   KidScapes — core design system
   Palette pulled from the logo: forest green, sky blue, sun orange, leaf.
   ========================================================================== */

:root {
  /* --- brand --- */
  --green-900: #025a3c;   /* Forest */
  --green-800: #046b40;
  --green-700: #078d46;   /* Canopy Green */
  --green-600: #0fa052;
  --green-500: #2fb96b;
  --leaf:      #8cc63f;
  --leaf-soft: #b6de7c;

  --sky-900: #024577;
  --sky-800: #035d99;     /* Adventure Blue */
  --sky-700: #0472b3;
  --sky-500: #0290c8;     /* Play Sky */
  --sky-300: #7fc9ec;
  --sky-100: #dcf0fa;

  --sun-700: #c9551a;
  --sun-600: #e46820;     /* Explorer Orange */
  --sun-500: #f19617;     /* Sunshine */
  --sun-400: #f7ab3a;
  --sun-200: #fdd98f;

  --water-600: #0f9bb3;
  --water-500: #27bcd4;
  --water-300: #8ce0ea;

  --sand-500: #e3c493;
  --sand-300: #f0dcb8;
  --sand-100: #f7ecd7;

  --berry: #e0526b;
  --berry-soft: #f8dbe1;

  /* --- neutrals --- */
  --ink:       #183129;   /* Deep Ink */
  --ink-soft:  #3f554b;
  --ink-mute:  #6d7f76;
  --rule:      #e6e2d6;
  --paper:     #fff8e8;   /* Warm Cream */
  --paper-2:   #f8efdb;
  --white:     #ffffff;

  /* --- type --- */
  --display: "Nunito", "Nunito Sans", "Avenir Next", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* --- geometry --- */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 42px;
  --r-pill: 999px;

  --shadow-1: 0 1px 2px rgba(19, 37, 27, .06), 0 4px 14px rgba(19, 37, 27, .06);
  --shadow-2: 0 2px 4px rgba(19, 37, 27, .06), 0 14px 34px rgba(19, 37, 27, .10);
  --shadow-3: 0 4px 8px rgba(19, 37, 27, .07), 0 28px 60px rgba(19, 37, 27, .16);

  --wrap: 1220px;
  --wrap-narrow: 760px;
  --gut: clamp(20px, 5vw, 56px);
  --section: clamp(64px, 9vw, 132px);

  --ease-out: cubic-bezier(.22, .85, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.46, .5, 1);
}

/* ==========================================================================
   Reset / base
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(16.5px, 1.05vw, 18px);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1, h2, h3, h4 { width: 100%; max-width: 100%; }
h1 { font-size: clamp(2.6rem, 7vw, 5.1rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h3 { font-size: clamp(1.35rem, 2.1vw, 1.75rem); letter-spacing: -.01em; }
h4 { font-size: 1.12rem; letter-spacing: 0; }

p { margin: 0 0 1.1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a { color: var(--green-700); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--green-600); }

hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }

::selection { background: var(--sun-200); color: var(--ink); }

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

.skip {
  position: absolute; left: 12px; top: -70px; z-index: 999;
  background: var(--white); color: var(--ink);
  padding: 12px 18px; border-radius: var(--r-sm);
  box-shadow: var(--shadow-2); font-weight: 600; text-decoration: none;
  transition: top .2s var(--ease-out);
}
.skip:focus { top: 12px; }

.sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */

.wrap { width: min(100% - var(--gut) * 2, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - var(--gut) * 2, var(--wrap-narrow)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section-tight { padding-block: clamp(46px, 6vw, 84px); }
.center { text-align: center; }

.eyebrow {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green-700);
  display: flex;
  align-items: center;
  gap: .6em;
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--sun-500), var(--leaf));
  flex: none;
}
.center .eyebrow { justify-content: center; }

.lede {
  font-size: clamp(1.12rem, 1.7vw, 1.35rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 62ch;
  text-wrap: pretty;
}
.center .lede { margin-inline: auto; max-width: 52ch; }
/* sentence-aware wrapping: a sentence moves to the next line whole instead of breaking mid-way */
.sn { display: inline-block; text-wrap: pretty; max-width: 100%; }
.split .lede, .prose .lede { max-width: none; }
.prose p, .prose li { max-width: 68ch; }

.grid { display: grid; gap: clamp(18px, 2.4vw, 32px); }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .g-3, .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-3 > :last-child:nth-child(odd) { grid-column: span 2; }
}
@media (max-width: 620px) { .g-2, .g-3, .g-4 { grid-template-columns: 1fr; } .g-3 > :last-child:nth-child(odd) { grid-column: auto; } }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  --btn-bg: var(--green-700);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: .88em 1.6em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 0;
  border-radius: var(--r-pill);
  font-family: var(--display);
  font-weight: 800;
  font-size: .92rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  box-shadow: 0 2px 0 rgba(0, 0, 0, .14), var(--shadow-1);
  transition: transform .22s var(--ease-spring), box-shadow .22s var(--ease-out), background .2s;
}
.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px) rotate(-.6deg);
  box-shadow: 0 4px 0 rgba(0, 0, 0, .14), var(--shadow-2);
}
.btn:active { transform: translateY(1px) rotate(0); box-shadow: 0 1px 0 rgba(0,0,0,.14); }
.btn svg { flex: none; }

.btn-sun { --btn-bg: var(--sun-600); }
.btn-sky { --btn-bg: var(--sky-700); }
.btn-ink { --btn-bg: var(--ink); }

.btn-ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  box-shadow: inset 0 0 0 2px rgba(19, 37, 27, .18);
}
.btn-ghost:hover { box-shadow: inset 0 0 0 2px var(--green-600); background: rgba(47, 178, 100, .08); }

.btn-light {
  --btn-bg: #fff;
  --btn-fg: var(--green-900);
}

.btn-lg { padding: 1.05em 2em; font-size: 1.02rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45em;
  font-weight: 600; text-decoration: none; color: var(--green-700);
}
.link-arrow::after {
  content: "→";
  transition: transform .22s var(--ease-spring);
}
.link-arrow:hover::after { transform: translateX(5px); }

/* ==========================================================================
   Header + navigation
   ========================================================================== */

.site-head {
  position: sticky; top: 0; z-index: 200;
  background: rgba(252, 250, 245, .86);
  backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.site-head.is-stuck {
  border-bottom-color: var(--rule);
  box-shadow: 0 6px 24px rgba(19, 37, 27, .05);
}

.head-inner {
  width: min(100% - var(--gut) * 2, 1400px);
  margin-inline: auto;
  display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px);
  min-height: 74px;
}

.brand { display: flex; align-items: center; flex: none; text-decoration: none; }
.brand img { width: clamp(180px, 14vw, 196px); }
.brand:focus-visible { outline-offset: 6px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: clamp(2px, 1vw, 14px); }
@media (max-width: 1080px) { .nav { display: none; } }

.nav > a, .nav-trigger {
  display: inline-flex; align-items: center; gap: .35em;
  padding: .6em .78em;
  font-family: var(--display);
  font-size: .8rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  background: none; border: 0; border-radius: var(--r-pill);
  cursor: pointer; white-space: nowrap;
  transition: background .18s, color .18s;
}
.nav > a:hover, .nav-trigger:hover, .nav-item:hover .nav-trigger { background: rgba(15, 122, 66, .09); color: var(--green-800); }
.nav a[aria-current="page"] { color: var(--green-700); font-weight: 600; }

.nav-item { position: relative; }
.nav-trigger .chev { transition: transform .2s var(--ease-out); }
.nav-item.open .nav-trigger .chev { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translate(-50%, 10px);
  width: min(92vw, 880px);
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-3);
  padding: 26px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .2s var(--ease-out), transform .26s var(--ease-out), visibility .2s;
}
.nav-item.open .mega { opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0); }

.mega-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mega-link {
  display: flex; gap: 13px; align-items: flex-start;
  padding: 13px; border-radius: var(--r-md);
  text-decoration: none; color: var(--ink);
  transition: background .18s, transform .18s var(--ease-spring);
}
.mega-link:hover { background: var(--paper-2); transform: translateY(-2px); color: var(--ink); }
.mega-link .mi { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--sky-100); }
.mega-link b { display: block; font-size: .95rem; font-weight: 600; }
.mega-link span { display: block; font-size: .8rem; color: var(--ink-mute); line-height: 1.4; }
.mega-foot {
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center;
  font-size: .85rem;
}

.head-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
@media (min-width: 1081px) { .head-actions { margin-left: 6px; } }

.board-btn {
  position: relative;
  display: inline-flex; align-items: center; gap: .45em;
  padding: .6em .95em; border-radius: var(--r-pill);
  background: var(--white); border: 1.5px solid var(--rule);
  font-size: .86rem; font-weight: 600; cursor: pointer; white-space: nowrap;
  transition: border-color .2s, transform .2s var(--ease-spring);
}
.board-btn:hover { border-color: var(--berry); transform: translateY(-1px); }
.board-btn .count {
  min-width: 21px; height: 21px; padding: 0 5px;
  display: grid; place-items: center;
  background: var(--berry); color: #fff;
  border-radius: var(--r-pill); font-size: .72rem; font-weight: 700;
}
.board-btn[data-empty="true"] .count { background: var(--ink-mute); }
.board-btn.pulse { animation: pop .45s var(--ease-spring); }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.16) rotate(-3deg); } 100% { transform: scale(1); } }

@media (max-width: 1360px) {
  .nav > a, .nav-trigger { padding: .6em .55em; font-size: .74rem; letter-spacing: .04em; }
  .board-btn .lbl { display: none; }
  .board-btn { padding: .6em .7em; }
  .head-actions .btn { padding: .8em 1.2em; font-size: .82rem; }
}
@media (max-width: 1080px) {
  .head-actions > .btn { display: none; }
}
@media (max-width: 400px) { .brand img { width: 160px; } }

.burger {
  display: none; width: 44px; height: 44px;
  border: 1.5px solid var(--rule); background: var(--white);
  border-radius: 14px; cursor: pointer;
  align-items: center; justify-content: center;
}
@media (max-width: 1080px) { .burger { display: inline-flex; } }
.burger span { display: block; width: 19px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s var(--ease-out); }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 19px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .25s var(--ease-out), opacity .2s;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
body.menu-open .burger span { transform: rotate(45deg); }
body.menu-open .burger span::before { transform: translateY(6px) rotate(-90deg); }
body.menu-open .burger span::after { opacity: 0; }

/* mobile app bar (fixed bottom CTAs) */
.app-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 180;
  background: rgba(255, 248, 232, .94);
  backdrop-filter: saturate(1.4) blur(14px);
  border-top: 1px solid var(--rule);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  box-shadow: 0 -8px 30px rgba(24, 49, 41, .08);
}
.app-bar-inner { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 8px; align-items: stretch; }
.app-bar a, .app-bar button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-height: 54px; padding: 6px 4px;
  border: 0; border-radius: 16px; background: transparent;
  font-family: var(--display); font-weight: 800; font-size: .68rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink-soft); text-decoration: none; cursor: pointer; position: relative;
}
.app-bar a[aria-current="page"], .app-bar a:active, .app-bar button:active { background: rgba(7, 141, 70, .1); color: var(--green-800); }
.app-bar svg { width: 22px; height: 22px; }
.app-bar .primary {
  background: var(--sun-600); color: #fff;
  flex-direction: row; gap: .5em; font-size: .8rem;
  box-shadow: 0 2px 0 rgba(0,0,0,.14), var(--shadow-1);
}
.app-bar .primary svg { width: 18px; height: 18px; }
.app-bar .count {
  position: absolute; top: 6px; right: calc(50% - 22px);
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--r-pill);
  background: var(--berry); color: #fff; font-size: .66rem; display: grid; place-items: center;
}
.app-bar [data-empty="true"] .count { display: none; }
.app-bar .board-btn { border: 0; background: transparent; border-radius: 16px; padding: 6px 4px; font-family: var(--display); font-weight: 800; font-size: .68rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-soft); }
.app-bar .board-btn:hover { transform: none; }
@media (max-width: 1080px) {
  .app-bar { display: block; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .board-panel { bottom: 0; }
  .drawer { padding-bottom: 110px; }
}

/* mobile drawer */
.drawer {
  position: fixed; inset: 74px 0 0; z-index: 190;
  background: var(--paper);
  padding: 22px var(--gut) 60px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0; visibility: hidden;
  transition: opacity .24s var(--ease-out), transform .24s var(--ease-out), visibility .24s;
}
body.menu-open .drawer { opacity: 1; visibility: visible; transform: none; }
.drawer a {
  display: block; padding: 14px 2px; font-size: 1.15rem; font-weight: 500;
  color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule);
}
.drawer .sub { font-size: .95rem; padding-left: 16px; color: var(--ink-soft); }
.drawer .grp { margin-top: 22px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; }
.drawer .btn { margin-top: 26px; width: 100%; justify-content: center; }

/* ==========================================================================
   Cards + surfaces
   ========================================================================== */

.card {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
  overflow: hidden;
  position: relative;
  transition: transform .3s var(--ease-spring), box-shadow .3s var(--ease-out);
}
.card-tilt:hover { transform: translateY(-6px) rotate(-.7deg); box-shadow: var(--shadow-2); }
.card .pad { padding: clamp(20px, 2.4vw, 30px); }

.panel {
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-1);
  padding: clamp(26px, 4vw, 56px);
}

.note {
  background: var(--sand-100);
  border-left: 4px solid var(--sun-500);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: 20px 24px;
  font-size: .95rem;
  color: var(--ink-soft);
}

.tagrow { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  display: inline-flex; align-items: center; gap: .4em;
  padding: .42em .85em;
  background: var(--paper-2);
  border-radius: var(--r-pill);
  font-size: .82rem; font-weight: 500; color: var(--ink-soft);
}
.tag-green { background: rgba(47,178,100,.14); color: var(--green-800); }
.tag-sky { background: var(--sky-100); color: var(--sky-900); }
.tag-sun { background: rgba(245,146,32,.16); color: var(--sun-700); }

/* ==========================================================================
   Organic shapes
   ========================================================================== */

.blob-top, .blob-bottom { position: absolute; left: 0; width: 100%; line-height: 0; pointer-events: none; }
.blob-top { top: -1px; }
.blob-bottom { bottom: -1px; }
.blob-top svg, .blob-bottom svg { width: 100%; height: clamp(40px, 6vw, 92px); display: block; }

.tinted { background: var(--paper-2); }
.tinted-sky { background: linear-gradient(180deg, var(--sky-100), #eaf6fd); }
.tinted-sand { background: linear-gradient(180deg, var(--sand-100), #fbf4e6); }
.tinted-deep { background: var(--green-900); color: #eaf3ec; }
.tinted-deep h2, .tinted-deep h3 { color: #fff; }
.tinted-deep .eyebrow { color: var(--leaf); }
.tinted-deep .lede { color: rgba(234, 243, 236, .82); }
.tinted-deep a:not(.btn) { color: var(--leaf-soft); }

/* ==========================================================================
   Reveal animation
   ========================================================================== */

.rv { opacity: 0; transform: translateY(22px); }
.rv.in { opacity: 1; transform: none; transition: opacity .7s var(--ease-out), transform .8s var(--ease-out); }
.rv-d1.in { transition-delay: .08s; }
.rv-d2.in { transition-delay: .16s; }
.rv-d3.in { transition-delay: .24s; }
.rv-d4.in { transition-delay: .32s; }

/* ==========================================================================
   Idea board drawer (site-wide)
   ========================================================================== */

.board-scrim {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(19, 37, 27, .45);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
body.board-open .board-scrim { opacity: 1; visibility: visible; }

.board-panel {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 310;
  width: min(440px, 100%);
  background: var(--paper);
  box-shadow: var(--shadow-3);
  display: flex; flex-direction: column;
  transform: translateX(102%);
  transition: transform .38s var(--ease-out);
}
body.board-open .board-panel { transform: none; }

.board-head {
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--rule);
  display: flex; align-items: flex-start; gap: 14px;
}
.board-head h2 { font-size: 1.5rem; margin: 0 0 .2em; }
.board-head p { font-size: .86rem; color: var(--ink-mute); margin: 0; }
.board-close {
  margin-left: auto; flex: none;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1.5px solid var(--rule); background: var(--white);
  cursor: pointer; font-size: 1.1rem; line-height: 1;
}
.board-close:hover { border-color: var(--ink); }

.board-list { flex: 1; overflow-y: auto; padding: 16px 24px 24px; }
.board-empty { text-align: center; padding: 48px 10px; color: var(--ink-mute); }
.board-empty svg { margin: 0 auto 18px; }

.board-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 14px; margin-bottom: 9px;
  background: var(--white); border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
  animation: slideIn .3s var(--ease-spring);
}
@keyframes slideIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.board-item .ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--sky-100); flex: none; }
.board-item b { font-size: .93rem; font-weight: 600; display: block; }
.board-item span { font-size: .76rem; color: var(--ink-mute); }
.board-item .rm {
  margin-left: auto; flex: none;
  width: 28px; height: 28px; border-radius: 50%;
  border: 0; background: var(--paper-2); cursor: pointer;
  color: var(--ink-mute); font-size: .9rem; line-height: 1;
}
.board-item .rm:hover { background: var(--berry-soft); color: var(--berry); }

.board-foot { padding: 18px 24px 24px; border-top: 1px solid var(--rule); background: var(--white); }
.board-foot .btn { width: 100%; justify-content: center; }
.board-foot .clear { display: block; width: 100%; margin-top: 10px; background: none; border: 0; color: var(--ink-mute); font-size: .82rem; cursor: pointer; text-decoration: underline; }

/* heart toggle used on possibility chips */
.heart {
  width: 34px; height: 34px; flex: none;
  border-radius: 50%; border: 1.5px solid var(--rule);
  background: var(--white); cursor: pointer;
  display: grid; place-items: center;
  transition: border-color .2s, background .2s, transform .2s var(--ease-spring);
}
.heart svg { width: 16px; height: 16px; fill: none; stroke: var(--ink-mute); stroke-width: 2; transition: fill .2s, stroke .2s; }
.heart:hover { border-color: var(--berry); transform: scale(1.08); }
.heart[aria-pressed="true"] { background: var(--berry); border-color: var(--berry); }
.heart[aria-pressed="true"] svg { fill: #fff; stroke: #fff; }

/* ==========================================================================
   Possibility chips (used on hub + service pages)
   ========================================================================== */

.poss {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 12px 10px 15px;
  background: var(--white);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-1);
  font-size: .92rem; font-weight: 500;
  transition: transform .24s var(--ease-spring), box-shadow .24s;
}
.poss:hover { transform: translateY(-3px) rotate(-.8deg); box-shadow: var(--shadow-2); }
.poss > span:nth-child(2) { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.poss > span:first-child { flex: none; display: grid; place-items: center; }

.poss-wrap { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-foot { background: var(--green-900); color: #cfe3d6; padding-top: clamp(56px, 7vw, 96px); position: relative; }
.site-foot h3 { color: #fff; font-size: 1.05rem; font-family: var(--sans); font-weight: 600; letter-spacing: .01em; margin-bottom: 1em; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(26px, 3vw, 48px); }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: .6em; }
.site-foot a { color: #cfe3d6; text-decoration: none; font-size: .92rem; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-logo { background: #fff; border-radius: var(--r-md); padding: 12px 16px; display: inline-block; margin-bottom: 18px; }
.foot-logo img { width: 150px; }
.foot-bottom {
  margin-top: clamp(40px, 5vw, 64px); padding: 22px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center;
  font-size: .82rem; color: rgba(207, 227, 214, .72);
}
.foot-bottom a { font-size: .82rem; }
.foot-partners {
  padding: 0 0 26px; margin-top: -8px;
  font-size: .78rem; color: rgba(207, 227, 214, .6); line-height: 1.9;
}
.foot-partners .lbl { font-weight: 600; color: rgba(207, 227, 214, .8); margin-right: .3em; }
.foot-partners a { font-size: .78rem; color: rgba(207, 227, 214, .75); }
.foot-partners a:hover { color: #fff; }
.foot-partners span[aria-hidden] { margin: 0 .2em; opacity: .5; }

/* ==========================================================================
   Breadcrumbs + page hero
   ========================================================================== */

.crumbs { font-size: .82rem; color: var(--ink-mute); padding-top: 22px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5em; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: .5em; color: var(--rule); }
.crumbs a { color: var(--ink-mute); text-decoration: none; }
.crumbs a:hover { color: var(--green-700); text-decoration: underline; }

.page-hero { padding-block: clamp(30px, 4vw, 56px) clamp(48px, 6vw, 84px); position: relative; overflow: hidden; }
.page-hero h1 { margin-bottom: .35em; }
.page-hero .lede { max-width: 58ch; font-size: clamp(1.12rem, 1.8vw, 1.4rem); }
.page-hero .split .lede { max-width: none; }
.page-hero.center .lede { margin-inline: auto; }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ==========================================================================
   Misc content blocks
   ========================================================================== */

.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.8em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .5em; }
.prose strong { font-weight: 600; }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split-reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split-reverse > :first-child { order: 0; } }

.stat { text-align: center; }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 4.5vw, 3.4rem); line-height: 1; color: var(--green-700); }
.stat span { font-size: .88rem; color: var(--ink-mute); }

.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: .94rem; }
.kv dt { font-weight: 600; color: var(--ink); }
.kv dd { margin: 0; color: var(--ink-soft); }

.qa { border-top: 1px solid var(--rule); }
.qa details { border-bottom: 1px solid var(--rule); }
.qa summary {
  list-style: none; cursor: pointer;
  padding: 22px 44px 22px 0; position: relative;
  font-family: var(--display); font-size: clamp(1.08rem, 1.7vw, 1.32rem); font-weight: 800;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-weight: 400; font-size: 1.6rem; color: var(--green-700);
  transition: transform .25s var(--ease-out);
}
.qa details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.qa .a { padding: 0 44px 24px 0; color: var(--ink-soft); }
.qa .a > :first-child { margin-top: 0; }

/* two-column "kids think / parents think" */
.duo { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(18px, 3vw, 40px); align-items: stretch; }
@media (max-width: 780px) { .duo { grid-template-columns: 1fr; } }
.duo .side { padding: clamp(24px, 3vw, 38px); border-radius: var(--r-lg); }
.duo .kid { background: linear-gradient(160deg, var(--sky-100), #e6f5fd); }
.duo .par { background: linear-gradient(160deg, var(--sand-100), #f7eedd); }
.duo .side h3 { font-size: 1.02rem; font-family: var(--sans); font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.duo .side p { font-family: var(--display); font-size: clamp(1.3rem, 2.3vw, 1.8rem); line-height: 1.18; font-weight: 800; color: var(--ink); }
.duo .amp { display: grid; place-items: center; font-family: var(--display); font-size: 2rem; color: var(--ink-mute); }
@media (max-width: 780px) { .duo .amp { display: none; } }

/* ==========================================================================
   Forms
   ========================================================================== */

.field { margin-bottom: 20px; }
.field > label, .fieldset > legend {
  display: block; font-weight: 600; font-size: .95rem; margin-bottom: .5em;
}
.field .hint { font-size: .82rem; color: var(--ink-mute); font-weight: 400; margin-top: -.2em; margin-bottom: .6em; }
.input, textarea.input, select.input {
  width: 100%; padding: .85em 1.05em;
  background: var(--white); border: 1.5px solid var(--rule);
  border-radius: var(--r-md); font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.input:focus { border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(47, 178, 100, .16); outline: none; }
textarea.input { min-height: 130px; resize: vertical; }

.fieldset { border: 0; padding: 0; margin: 0 0 26px; }

.choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice span {
  display: flex; align-items: center; gap: 10px;
  padding: 13px 16px; min-height: 54px;
  background: var(--white); border: 1.5px solid var(--rule);
  border-radius: var(--r-md); cursor: pointer;
  font-size: .93rem; font-weight: 500;
  transition: border-color .18s, background .18s, transform .18s var(--ease-spring);
}
.choice span::before {
  content: ""; flex: none; width: 19px; height: 19px;
  border: 2px solid var(--rule); border-radius: 6px;
  transition: background .18s, border-color .18s;
}
.choice input[type="radio"] + span::before { border-radius: 50%; }
.choice:hover span { border-color: var(--green-500); transform: translateY(-2px); }
.choice input:checked + span { border-color: var(--green-600); background: rgba(47, 178, 100, .08); }
.choice input:checked + span::before {
  background: var(--green-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3.2 3.2L13 5'/%3E%3C/svg%3E") center/13px no-repeat;
  border-color: var(--green-600);
}
.choice input:focus-visible + span { outline: 3px solid var(--sky-700); outline-offset: 3px; }

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .rv { opacity: 1; transform: none; }
}

@media print {
  .site-head, .site-foot, .board-panel, .board-scrim, .drawer { display: none !important; }
}
