:root {
  color-scheme: light;
  --paper: #fff8e9;
  --ink: #133c31;
  --green: #15543f;
  --mint: #b5ead4;
  --yellow: #ffd35c;
  --coral: #ff805e;
  --white: #fffdf6;
  --ease: cubic-bezier(.23, 1, .32, 1);
  font-family: Nunito, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; line-height: 1.55; }
img { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
button { font: inherit; }
:focus-visible { outline: 3px solid #aa3924; outline-offset: 5px; }
::selection { background: var(--yellow); color: var(--ink); }
.wrap { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 5; top: 8px; left: 8px; padding: 12px 16px; border-radius: 12px; background: var(--yellow); }
.skip-link:not(:focus) { clip-path: inset(50%); }
.site-header { padding-top: 20px; position: relative; z-index: 2; }
.navigation { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 70px; padding: 8px 10px 8px 16px; border: 1px solid #dddccb; border-radius: 40px; background: var(--white); position: relative; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-size: 1.75rem; font-weight: 900; line-height: .92; letter-spacing: -.04em; text-decoration: none; }
.brand small { display: block; margin-top: 4px; font-size: .74rem; font-weight: 800; letter-spacing: 0; }
.nav-links { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); font-weight: 800; }
.nav-links > a:not(.button) { min-height: 44px; display: inline-flex; align-items: center; }
.nav-links > a:not(.button) { text-decoration: none; }
.button, .menu-toggle { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 10px 22px; color: var(--ink); background: var(--coral); border: 0; border-radius: 100px; text-decoration: none; font-weight: 900; cursor: pointer; transition: transform 150ms var(--ease), background-color 150ms ease; }
.button--dark, .menu-toggle { background: var(--green); color: var(--white); }
.button:active, .menu-toggle:active { transform: scale(.97); }
.menu-toggle, .menu-toggle[hidden] { display: none; }
h1, h2, h3 { font-weight: 900; line-height: 1.01; letter-spacing: -.04em; text-wrap: balance; }
h1 { font-size: clamp(3.45rem, 8vw, 6rem); }
h2 { font-size: clamp(2.6rem, 5.8vw, 5rem); }
h3 { font-size: clamp(1.65rem, 3vw, 2.45rem); }
.hero { padding-top: clamp(34px, 5.4vw, 76px); padding-bottom: clamp(38px, 6.4vw, 88px); }
.hero-copy { text-align: center; position: relative; padding-inline: 18px; }
.hero-copy h1 span { text-decoration: underline wavy #e05a3c; text-decoration-thickness: .045em; text-underline-offset: .12em; text-decoration-skip-ink: none; }
.hero-copy p { margin: 25px auto 20px; max-width: 43ch; font-size: clamp(1rem, 1.9vw, 1.2rem); }
.hero-photo { margin-top: clamp(27px, 4vw, 52px); border: 6px solid var(--yellow); border-radius: 64px 64px 22px 22px; overflow: hidden; background: var(--yellow); }
.hero-photo img { width: 100%; height: clamp(295px, 38vw, 475px); object-fit: cover; object-position: center 48%; }
.sun, .spark { position: absolute; width: clamp(48px, 8vw, 90px); pointer-events: none; }
.sun { color: #ae591f; left: 8%; top: 14%; transform: rotate(-12deg); }
.spark { color: #278664; right: 8%; bottom: 13%; transform: rotate(14deg); }
.care { padding-block: clamp(58px, 8vw, 110px); background: var(--paper); }
.care h2 { margin-bottom: clamp(28px, 5vw, 52px); }
.care-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.care-card { padding: 8px; overflow: hidden; border-radius: 22px; }
.care-card--yellow { background: var(--yellow); }
.care-card--mint { background: var(--mint); }
.care-card img { width: 100%; height: clamp(230px, 27vw, 350px); object-fit: cover; border-radius: 16px; }
.care-card > div { padding: clamp(17px, 3vw, 26px); }
.care-card p { margin-top: 10px; max-width: 42ch; }
.approach { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 9vw, 130px); align-items: center; padding-block: clamp(64px, 10vw, 142px); }
.approach p, .visit p { max-width: 44ch; margin-top: 16px; font-size: clamp(1.05rem, 2vw, 1.22rem); }
.approach-art { display: grid; grid-template: repeat(2, 1fr) / repeat(2, 1fr); aspect-ratio: 1.45; max-width: 360px; width: 100%; margin-inline: auto; }
.block--sun { width: 80%; aspect-ratio: 1; max-height: 100%; justify-self: center; border-radius: 50%; background: var(--yellow); }
.block--bridge { background: var(--green); border-radius: 100% 100% 0 0; grid-area: 2 / 1; }
.block--step { background: var(--coral); grid-area: 1 / 2 / span 2; border-radius: 75% 12% 18% 18% / 40% 12% 12% 12%; }
.visit { padding-bottom: clamp(52px, 8vw, 100px); }
.visit-panel { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(26px, 7vw, 86px); padding: clamp(30px, 6vw, 78px); border-radius: 28px; background: var(--coral); }
.visit-panel > div + div p { margin-top: 0; }
.visit .button { margin-top: 18px; }
.footer small { color: inherit; }
.footer :focus-visible { outline-color: var(--yellow); }
@media (hover: hover) and (pointer: fine) {
  .button:hover, .menu-toggle:hover { transform: translateY(-2px); background: var(--yellow); color: var(--ink); }
  .button:active, .menu-toggle:active { transform: scale(.97); }
  .nav-links > a:not(.button):hover { text-decoration: underline; }
}
@media (prefers-reduced-motion: no-preference) {
}
@media (max-width: 800px) {
  .wrap { width: calc(100% - 40px); }
  .menu-toggle:not([hidden]) { display: inline-flex; }
  .menu-toggle:not([hidden]) + .nav-links { display: none; }
  .menu-toggle[aria-expanded="true"] + .nav-links { display: grid; }
  .nav-links { position: absolute; inset: calc(100% + 8px) 0 auto; padding: 12px 20px 18px; background: var(--white); border: 1px solid #dddccb; border-radius: 24px; gap: 4px; }
  .menu-toggle[hidden] + .nav-links { position: static; display: flex; flex-wrap: wrap; padding: 0; border: 0; }
  .navigation:has(.menu-toggle[hidden]) { flex-wrap: wrap; }
  .sun { left: 0; top: 2%; }
  .spark { right: 0; bottom: 2%; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .site-header { padding-top: 12px; }
  .navigation { min-height: 62px; padding-block: 6px; }
  .hero-copy { padding-inline: 4px; }
  .hero h1 { font-size: clamp(2.55rem, 10.4vw, 3.45rem); }
  .hero-copy p { margin-top: 19px; }
  .sun { display: none; }
  .spark { width: 34px; right: 5%; bottom: 1%; }
  .hero-photo { border-width: 4px; border-radius: 32px 32px 14px 14px; }
  .hero-photo img { height: clamp(220px, 72vw, 330px); object-position: 52% center; }
  .care-grid, .approach, .visit-panel { grid-template-columns: 1fr; }
  .approach-art { max-width: 210px; }
  .approach > div:last-child { grid-row: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .button:hover, .button:active, .menu-toggle:hover, .menu-toggle:active { transform: none; }
}

.questions-inner { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 8vw, 110px); }
.first-visit { padding-block: clamp(58px, 9vw, 118px); }
.visit-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 4vw, 60px); margin: 32px 0 0; padding-left: 1.75rem; }
.visit-steps li { border-top: 2px solid var(--coral); padding-top: 16px; }
.visit-steps li::marker { color: var(--green); font-size: 1.22rem; font-weight: 900; }
.visit-steps h3 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); text-wrap: initial; }
.visit-steps p { margin-top: 10px; }
.questions { background: #e4f2dc; padding-block: clamp(56px, 8vw, 100px); }
.question-list details { border-bottom: 1px solid #a6bfa7; }
.question-list details:first-child { border-top: 1px solid #a6bfa7; }
.question-list summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 58px; padding-block: 10px; cursor: pointer; font-weight: 900; font-size: 1.08rem; list-style: none; }
.question-list summary::-webkit-details-marker { display: none; }
.question-list summary span { flex: 0 0 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--mint); }
.question-list p { margin: 0 44px 17px 0; }
.visit { padding-top: clamp(48px, 7vw, 86px); }
@media (max-width: 600px) {
  .questions-inner, .visit-steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .approach-art.has-arrived .block { animation: block-land 460ms var(--ease) both; }
  .approach-art.has-arrived .block--bridge { animation-delay: 55ms; }
  .approach-art.has-arrived .block--step { animation-delay: 120ms; }
  @keyframes block-land { from { opacity: .6; transform: translateY(-12px) scale(.96); } to { opacity: 1; transform: none; } }
}
@media (max-width: 800px) and (prefers-reduced-motion: no-preference) {
  .menu-toggle[aria-expanded="true"] + .nav-links[data-pointer-open] { transform-origin: top right; animation: menu-arrive 180ms var(--ease) both; }
  @keyframes menu-arrive { from { opacity: .6; transform: translateY(-5px) scale(.97); } to { opacity: 1; transform: none; } }
}

.gallery { padding-block: clamp(56px, 8vw, 112px); }
.gallery-heading { margin: 0 auto clamp(25px, 4vw, 46px); max-width: 780px; text-align: center; }
.gallery-heading p, .families p { margin-top: 16px; font-size: clamp(1.05rem, 2vw, 1.22rem); }
.gallery-grid { display: grid; grid-template-columns: 1.3fr .7fr; grid-template-rows: repeat(2, clamp(145px, 17vw, 235px)); gap: 14px; }
.gallery-tile { position: relative; overflow: hidden; border-radius: 20px; isolation: isolate; background: var(--mint); }
.gallery-tile:first-child { grid-row: span 2; }
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; }
.gallery-label { position: absolute; inset: auto 12px 12px; display: flex; align-items: center; justify-content: space-between; gap: 7px; padding: 6px 8px 6px 14px; border-radius: 100px; background: var(--white); color: var(--ink); font-weight: 900; }
.gallery-plus { display: grid; place-items: center; flex: 0 0 32px; height: 32px; background: var(--yellow); border-radius: 50%; font-size: 1.3rem; }
.families { background: var(--mint); padding-block: clamp(48px, 7vw, 92px); }
.families-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(20px, 8vw, 110px); }
.families p { margin: 0 0 20px; max-width: 44ch; }
.photo-dialog { width: min(800px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: clamp(12px, 3vw, 24px); border: 0; border-radius: 24px; color: var(--ink); background: var(--paper); }
.photo-dialog::backdrop { background: #102e27cc; }
.photo-toolbar, .photo-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.photo-toolbar { margin-bottom: 12px; }
.photo-controls { margin-top: 12px; }
.photo-full { width: 100%; max-height: 65dvh; object-fit: contain; border-radius: 14px; background: var(--mint); }
.photo-count { font-weight: 900; white-space: nowrap; }
@media (max-width: 600px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: clamp(210px, 67vw, 340px) clamp(152px, 46vw, 235px); gap: 10px; }
  .gallery-tile:first-child { grid-row: auto; grid-column: span 2; }
  .gallery-label { inset: auto 6px 6px; padding: 4px 5px 4px 9px; font-size: .86rem; }
  .gallery-plus { flex-basis: 25px; height: 25px; }
  .families-inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  [data-enter] .sun { animation: sun-wave 950ms var(--ease) 160ms both; }
  @keyframes sun-wave { 0% { transform: rotate(-32deg) scale(.91); } 55% { transform: rotate(12deg) scale(1.08); } 100% { transform: rotate(-12deg); } }
  [data-motion-scene].has-arrived > * { animation: scene-arrive 640ms var(--ease) both; }
  [data-motion-scene].has-arrived > :nth-child(2) { animation-delay: 65ms; }
  [data-motion-scene].has-arrived > :nth-child(3) { animation-delay: 145ms; }
  @keyframes scene-arrive { from { opacity: .45; translate: 0 18px; } to { opacity: 1; translate: none; } }
  .gallery-tile, .gallery-tile img, .gallery-plus { transition: transform 200ms var(--ease); }
  .gallery-tile:active { transform: scale(.97); }
  .photo-dialog[open][data-pointer-open] { animation: photo-open 240ms var(--ease) both; }
  @keyframes photo-open { from { opacity: .4; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .gallery-tile:hover img { transform: scale(1.045); }
  .gallery-tile:hover .gallery-plus { transform: rotate(90deg); }
}

.care-highlights { overflow: hidden; background: #fff1b9; padding-block: clamp(58px, 8vw, 110px); text-align: center; }
.care-highlights h2 { margin: 0 auto clamp(34px, 5vw, 64px); max-width: 15ch; }
.care-highlights h2 span { text-decoration: underline wavy #d74b30; text-decoration-thickness: .045em; text-underline-offset: .13em; }
.highlight-grid { display: grid; grid-template-columns: 1fr 1.35fr 1fr; align-items: end; gap: clamp(16px, 4vw, 56px); }
.highlight h3 { font-size: clamp(1.3rem, 2.4vw, 2rem); }
.highlight p { margin: 10px auto 0; max-width: 28ch; }
.care-stamp { display: grid; place-items: center; width: 68px; aspect-ratio: 1; border-radius: 43% 57% 44% 56%; margin: 0 auto 18px; }
.care-stamp--heart { position: absolute; right: 10px; bottom: -12px; margin: 0; background: var(--green); color: var(--yellow); border: 4px solid #fff1b9; }
.care-postcard { position: relative; margin: 0 auto 26px; isolation: isolate; max-width: 385px; }
.care-postcard::before { content: ""; position: absolute; inset: 8px 12px 5px; z-index: -1; border-radius: 24px; background: var(--coral); transform: rotate(7deg); }
.care-postcard img { width: 100%; height: clamp(155px, 20vw, 265px); object-fit: cover; border: 5px solid var(--mint); border-radius: 20px 42px 20px 20px; }
.parent-reviews { background: var(--paper); padding-block: 0 clamp(54px, 7vw, 100px); }
.parent-reviews-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(25px, 7vw, 92px); }
.parent-reviews h2 + p { margin-top: 14px; max-width: 43ch; }
.review-panel { border-radius: 26px; background: var(--green); color: var(--white); padding: clamp(23px, 4vw, 42px); }
.review-stars { color: var(--yellow); font-size: 1.45rem; letter-spacing: .12em; }
.review-score { margin-top: 10px; }
.review-score strong { display: block; font-size: 1.45rem; }
.review-source { margin-top: 5px; }
.review-panel .button { margin-top: 20px; }
@media (max-width: 700px) {
  .highlight-grid { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .highlight--featured { grid-column: span 2; grid-row: 1; }
  .care-postcard { width: min(88%, 385px); }
  .parent-reviews-inner { grid-template-columns: 1fr; }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .care-stamp { transition: transform 180ms var(--ease); }
  .highlight:hover .care-stamp { transform: translateY(-4px) rotate(-8deg); }
}

.lucide-icon { display: inline-block; inline-size: 1em; aspect-ratio: 1; background: currentColor; mask: var(--lucide) center / contain no-repeat; }
[data-icon="book-open"] { --lucide: url("assets/lucide/book-open.svg"); }
[data-icon="heart"] { --lucide: url("assets/lucide/heart.svg"); }
[data-icon="message-square"] { --lucide: url("assets/lucide/message-square.svg"); }
[data-icon="sun"] { --lucide: url("assets/lucide/sun.svg"); }
[data-icon="sparkles"] { --lucide: url("assets/lucide/sparkles.svg"); }
[data-icon="plus"] { --lucide: url("assets/lucide/plus.svg"); }
.sun.lucide-icon, .spark.lucide-icon { inline-size: clamp(48px, 8vw, 90px); }
.care-stamp .lucide-icon { inline-size: 34px; }
.question-list summary span::before { content: ""; background: currentColor; inline-size: 17px; block-size: 17px; mask: url("assets/lucide/plus.svg") center / contain no-repeat; }
.question-list details[open] summary span::before { mask-image: url("assets/lucide/minus.svg"); }
@media (max-width: 600px) {
  .sun.lucide-icon { display: none; }
  .spark.lucide-icon { inline-size: 34px; }
}
@media (prefers-reduced-motion: no-preference) {
  .question-list summary:not(:focus-visible) span { transition: transform 150ms var(--ease); }
  .question-list details[open] summary:not(:focus-visible) span { transform: rotate(12deg); }
}

/* The header and cloud-edged hero share one green field. */
.site-header, .hero { background: #0d5a46; color: var(--white); }
.site-header .navigation { background: transparent; border-color: transparent; padding-inline: 0; }
.site-header .nav-links .button { background: var(--coral); color: var(--ink); }
.site-header .menu-toggle { background: #fff2; padding: 0; width: 48px; }
.menu-toggle .menu-close-icon,
.menu-toggle[aria-expanded="true"] .menu-open-icon { display: none; }
.menu-toggle[aria-expanded="true"] .menu-close-icon { display: block; }
.site-header :focus-visible, .hero :focus-visible { outline-color: var(--yellow); }
.hero { position: relative; overflow: clip; isolation: isolate; padding-block: clamp(42px, 6vw, 86px) 0; }
.hero-copy { z-index: 2; }
.hero-copy h1 { max-width: 13ch; margin-inline: auto; font-size: clamp(3rem, 7.3vw, 6rem); }
.hero-copy h1 span { text-decoration-color: var(--yellow); }
.hero-copy p { max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.hero-secondary { border: 1px solid #fff9; background: transparent; color: var(--white); }
.hero-stage { position: relative; width: min(770px, calc(100% - 40px)); height: clamp(286px, 37vw, 470px); margin-top: clamp(36px, 5vw, 64px); }
.hero-photo, .hero-side { position: absolute; overflow: hidden; }
.hero-photo { z-index: 2; inset: 0 21% 0; margin: 0; border: 8px solid var(--yellow); border-radius: 32px 32px 10px 10px; }
.hero-photo img, .hero-side img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo img { object-position: 48% center; }
.hero-side { width: 39%; height: 82%; border: 8px solid var(--mint); border-radius: 24px; }
.hero-side--left { inset: 12% auto auto 6%; transform: rotate(-9deg); }
.hero-side--left img { object-position: 45% center; }
.hero-side--right { inset: 17% 6% auto auto; transform: rotate(9deg); border-color: var(--coral); }
.hero-stage .sun, .hero-stage .spark { z-index: 3; color: var(--yellow); }
.hero-stage .sun { top: 0; left: 1%; }
.hero-stage .spark { top: 11%; right: 0; bottom: auto; }
.hero-clouds { display: block; position: absolute; inset: auto 0 -1px; width: 100%; height: clamp(56px, 10vw, 155px); z-index: 3; color: var(--paper); pointer-events: none; }
.hero-metrics { text-align: center; padding-block: clamp(24px, 4vw, 52px); }
.hero-metrics dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-block: 0; }
.hero-metrics dl > div { display: flex; flex-direction: column-reverse; gap: 6px; }
.hero-metrics dd { margin: 0; font-size: clamp(1.55rem, 4.9vw, 3.8rem); font-weight: 900; line-height: 1; letter-spacing: -.04em; }
.hero-metrics dt { font-size: clamp(.875rem, 1.5vw, 1rem); font-weight: 800; }
.hero-metrics p { margin: 16px auto 0; padding-inline: 16px; font-size: .82rem; }
@media (max-width: 800px) {
  .site-header .nav-links { color: var(--ink); }
  .site-header .menu-toggle[hidden] + .nav-links { color: var(--white); }
}
@media (max-width: 600px) {
  .hero-copy h1 { font-size: clamp(2.65rem, 12vw, 4rem); }
  .hero-photo { inset-inline: 15%; border-width: 5px; border-radius: 22px 22px 8px 8px; }
  .hero-side { border-width: 5px; }
  .hero-side--left { left: 3%; }
  .hero-side--right { right: 3%; }
}

.meadow-intro {
  perspective: max(720px, 135vw);
  perspective-origin: center 48%;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
}
.meadow-intro::backdrop { background: transparent; }
.meadow-door {
  position: absolute;
  inset-block: 0;
  width: 50%;
  overflow: hidden;
  backface-visibility: hidden;
  transition: transform 2300ms cubic-bezier(.48, .05, .20, 1);
}
.meadow-door::before {
  content: "";
  position: absolute;
  inset-block: 0;
  width: 200%;
  background: #8dbd60 url("assets/kairos-meadow.jpg") center / cover no-repeat;
}
.meadow-door--left, .meadow-door--left::before { left: 0; }
.meadow-door--right, .meadow-door--right::before { right: 0; }
.meadow-door--left { transform-origin: left center; }
.meadow-door--right { transform-origin: right center; }
.meadow-door::after {
  content: "";
  position: absolute;
  top: 56%;
  width: clamp(10px, 1.3vw, 18px);
  aspect-ratio: 1;
  border: 2px solid #fff0ad;
  border-radius: 50%;
  background: #ddb353;
  box-shadow: 1px 3px 6px #14382c80;
}
.meadow-door--left::after { right: clamp(10px, 1.5vw, 22px); }
.meadow-door--right::after { left: clamp(10px, 1.5vw, 22px); }
.meadow-door--left { box-shadow: inset -1px 0 #1d403b5c; }
.meadow-door--right { box-shadow: inset 1px 0 #fff6c55c; }
.meadow-intro.is-opening .meadow-door--left { transform: rotateY(-100deg); }
.meadow-intro.is-opening .meadow-door--right { transform: rotateY(100deg); }
html:has(.meadow-intro[open]) { overflow: hidden; }

@media (prefers-reduced-motion: no-preference) {
  [data-enter].hero-arriving .hero-copy { animation: hero-copy-in 1850ms ease-out 550ms both; }
  [data-enter].hero-arriving :is(.hero-photo, .hero-side) {
    animation: hero-rise 1750ms cubic-bezier(.25, .65, .3, 1) var(--rise-delay, 730ms) both;
  }
  .hero-side--left { --rise-delay: 865ms; }
  .hero-side--right { --rise-delay: 1000ms; }
  @keyframes hero-copy-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes hero-rise {
    from { translate: 0 106%; }
    to { translate: none; }
  }
}

.footer { background: #0d5a46; color: var(--paper); padding: clamp(30px, 5vw, 70px) 0 25px; }
.footer-masthead { position: relative; isolation: isolate; container-type: inline-size; }
.footer-wordmark {
  display: block;
  width: fit-content;
  color: inherit;
  font-size: clamp(5rem, 35cqw, 27rem);
  font-weight: 900;
  line-height: .82;
  letter-spacing: -.075em;
  white-space: nowrap;
  text-decoration: none;
}
.footer-letter-o { position: relative; display: inline-block; }
.footer-child {
  position: absolute;
  z-index: 1;
  width: clamp(38px, 10.5cqw, 124px);
  aspect-ratio: 1;
  pointer-events: none;
  background: url("assets/kairos-footer-children-small.png") no-repeat;
  background-size: 200% 200%;
}
.footer-child--wave { left: -2%; bottom: -13%; background-position: left top; }
.footer-child--read { left: 25%; bottom: -21%; background-position: right top; }
.footer-child--peek { top: 59%; left: 51%; width: .24em; transform: translate(-50%, -50%); background-position: left bottom; }
.footer-child--perch { top: -18%; left: 62%; background-position: right bottom; }
.footer-columns { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 28px; margin-block: clamp(38px, 7vw, 92px) clamp(28px, 5vw, 60px); }
.footer-columns h2 { margin-bottom: 10px; font-size: 1.05rem; line-height: 1.3; letter-spacing: 0; color: var(--mint); text-wrap: initial; }
.footer-columns ul { margin: 0; padding: 0; list-style: none; }
.footer-columns address { font-style: normal; margin-bottom: 8px; }
.footer-columns a { display: inline-flex; align-items: center; min-height: 44px; text-decoration-color: transparent; transition: text-decoration-color 150ms ease; }
.footer-columns a:hover, .footer-columns a:focus-visible { text-decoration-color: currentColor; }
.footer-base { border-top: 1px solid #fff4; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
@media (max-width: 760px) {
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 15px; }
}

.care-illustration {
  width: clamp(112px, 16vw, 192px);
  aspect-ratio: 660 / 660;
  margin: 0 auto 14px;
  background: url("assets/kairos-care-illustrations.png") left center / 200% 100% no-repeat;
}
.care-illustration--families { background-position: right center; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .care-illustration { transition: transform 180ms var(--ease); }
  .highlight:hover .care-illustration { transform: translateY(-4px); }
}
