/* ===========================================================================
   Dream Big Bilingual Academy
   Palette locked from logo (see design-brief.md §2). Navy is the anchor/text,
   the four pastels are a coordinated section-accent set, warm white is canvas.
   One CSS file. Mobile-first. Custom properties drive everything.
   =========================================================================== */

:root {
  /* Brand palette (from the logo) */
  --lavender: #b49fd8;
  --coral:    #f08fa8;
  --mint:     #86cfb6;
  --gold:     #f6c45a;
  --sky:      #afc9e8;
  --navy:     #2e3a5a;   /* text + anchor */
  --paper:    #fdfcf9;   /* warm white canvas */
  --gray:     #cbd0d8;

  /* Soft tints for section washes (navy text passes AA on all of these) */
  --lavender-wash: #f3eefa;
  --coral-wash:    #fdeef2;
  --mint-wash:     #eaf7f1;
  --gold-wash:     #fef6e3;
  --sky-wash:      #eef4fb;

  /* Functional tokens */
  --ink:        var(--navy);
  --ink-soft:   #5a6377;   /* muted navy, ~4.6:1 on paper */
  --ink-faint:  #8a91a2;
  --line:       #e7e3dc;   /* warm hairline */
  --surface:    #ffffff;

  /* Type */
  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body:    "Nunito", system-ui, sans-serif;

  /* Rhythm */
  --max: 1140px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --radius-pill: 999px;

  /* Soft, color-tinted shadows (claymorphism-lite, never harsh) */
  --shadow-sm: 0 4px 14px rgba(46, 58, 90, 0.06);
  --shadow-md: 0 14px 36px rgba(46, 58, 90, 0.09);
  --shadow-lg: 0 24px 60px rgba(46, 58, 90, 0.12);

  /* Motion (Emil: strong custom ease-out, sub-300ms for UI) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- EN/ES toggle mechanism -------------------------------------------------
   Both languages live in the DOM (good for SEO + instant swap). The inactive
   language collapses with display:none; the active one renders via
   display:contents so it never introduces its own box / layout. ---------- */
[data-lang] { display: none; }
html[lang="en"] [data-lang="en"] { display: contents; }
html[lang="es"] [data-lang="es"] { display: contents; }

/* ===========================================================================
   Reset & base
   =========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.97rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}

a { color: inherit; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

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

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); position: relative; }
.section--tint-lavender { background: var(--lavender-wash); }
.section--tint-mint { background: var(--mint-wash); }
.section--tint-sky { background: var(--sky-wash); }
.section--tint-gold { background: var(--gold-wash); }

/* Custom cloud dividers: a real row of puffy cloud bumps that tiles across the
   width at a FIXED size (CSS mask, repeat-x) so the puffs stay round instead of
   stretching into wavy lines. The section's own colour rises as the clouds. */
.cloud-divider {
  position: absolute; left: 0; top: 0; width: 100%;
  height: clamp(32px, 4.2vw, 50px); transform: translateY(-99%);
  pointer-events: none; background-color: var(--paper);
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20200%2080'%3E%3Cg%20fill='%23000'%3E%3Crect%20x='0'%20y='46'%20width='200'%20height='34'/%3E%3Ccircle%20cx='0'%20cy='50'%20r='20'/%3E%3Ccircle%20cx='30'%20cy='44'%20r='26'/%3E%3Ccircle%20cx='68'%20cy='51'%20r='19'/%3E%3Ccircle%20cx='100'%20cy='40'%20r='30'/%3E%3Ccircle%20cx='138'%20cy='50'%20r='22'/%3E%3Ccircle%20cx='172'%20cy='44'%20r='26'/%3E%3Ccircle%20cx='200'%20cy='50'%20r='20'/%3E%3C/g%3E%3C/svg%3E") repeat-x left bottom / auto 100%;
          mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20200%2080'%3E%3Cg%20fill='%23000'%3E%3Crect%20x='0'%20y='46'%20width='200'%20height='34'/%3E%3Ccircle%20cx='0'%20cy='50'%20r='20'/%3E%3Ccircle%20cx='30'%20cy='44'%20r='26'/%3E%3Ccircle%20cx='68'%20cy='51'%20r='19'/%3E%3Ccircle%20cx='100'%20cy='40'%20r='30'/%3E%3Ccircle%20cx='138'%20cy='50'%20r='22'/%3E%3Ccircle%20cx='172'%20cy='44'%20r='26'/%3E%3Ccircle%20cx='200'%20cy='50'%20r='20'/%3E%3C/g%3E%3C/svg%3E") repeat-x left bottom / auto 100%;
}
.section--tint-lavender > .cloud-divider { background-color: var(--lavender-wash); }
.section--tint-mint > .cloud-divider { background-color: var(--mint-wash); }
.section--tint-sky > .cloud-divider { background-color: var(--sky-wash); }
.cloud-divider--paper { background-color: var(--paper); }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: var(--coral);
  margin-bottom: 0.75rem;
}
.section-head { max-width: 40ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head h2 { font-size: clamp(1.85rem, 1.4rem + 2.4vw, 3rem); }
.section-head p { margin-top: 1rem; color: var(--ink-soft); font-size: 1.1rem; }
.section-head--center { margin-inline: auto; text-align: center; }

/* ===========================================================================
   Buttons
   =========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 0.9rem 1.6rem;
  min-height: 52px;
  border-radius: var(--radius-pill);
  transition: transform 160ms var(--ease-out), box-shadow 200ms var(--ease-out),
              background-color 200ms var(--ease-soft), color 200ms var(--ease-soft);
  text-decoration: none;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

/* Primary: navy fill, warm-white label. One consistent CTA treatment. */
.btn--primary { background: var(--navy); color: var(--paper); box-shadow: var(--shadow-md); }
.btn--secondary {
  background: var(--surface); color: var(--navy);
  box-shadow: inset 0 0 0 2px var(--gray);
}
.btn--ghost { background: rgba(255, 255, 255, 0.0); color: var(--navy); box-shadow: inset 0 0 0 2px rgba(46,58,90,0.18); }

@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
  .btn--secondary:hover { box-shadow: inset 0 0 0 2px var(--lavender); transform: translateY(-2px); }
  .btn--ghost:hover { background: var(--surface); box-shadow: inset 0 0 0 2px var(--navy); }
}
.btn:active { transform: scale(0.97); }

/* ===========================================================================
   Header
   =========================================================================== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(253, 252, 249, 0.85);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease-soft), box-shadow 200ms var(--ease-soft);
}
.header[data-scrolled="true"] { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header__inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: 72px; padding-block: 0.6rem;
}
.brand { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; margin-right: auto; }
.brand__mark { width: 44px; height: auto; flex: none; }
.brand__name {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 1.06rem; color: var(--navy); line-height: 1.04;
}
.brand__name small { display: block; font-weight: 600; font-size: 0.7rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); margin-top: 1px; }

/* Primary nav: calmer, more spaced, lets the headline carry weight */
.nav { display: none; }
@media (min-width: 1040px) {
  .nav { display: flex; align-items: center; gap: 0.15rem; margin-right: 0.5rem; }
  .nav a {
    position: relative;
    font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
    color: var(--ink-soft); text-decoration: none; padding: 0.55rem 0.85rem;
    border-radius: var(--radius-pill); transition: color 180ms var(--ease-soft);
  }
  /* underline grows from center on hover (transform only) */
  .nav a::after {
    content: ""; position: absolute; left: 50%; right: 50%; bottom: 0.35rem; height: 2px;
    background: var(--coral); border-radius: 2px; transition: left 200ms var(--ease-out), right 200ms var(--ease-out);
  }
  .nav a:hover { color: var(--navy); }
  .nav a:hover::after { left: 0.85rem; right: 0.85rem; }
}

.header__actions { display: flex; align-items: center; gap: 0.55rem; }

/* Language switch: globe + the OTHER language in its own word ("Espanol" / "English") */
.lang-switch {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.92rem;
  color: var(--navy); background: var(--surface);
  padding: 0.5rem 0.95rem; min-height: 44px; border-radius: var(--radius-pill);
  box-shadow: inset 0 0 0 1.5px var(--gray);
  transition: transform 160ms var(--ease-out), box-shadow 180ms var(--ease-soft), background-color 180ms var(--ease-soft);
}
.lang-switch__globe { width: 18px; height: 18px; color: var(--lavender); flex: none; }
@media (hover: hover) and (pointer: fine) {
  .lang-switch:hover { box-shadow: inset 0 0 0 1.5px var(--lavender); transform: translateY(-1px); background: var(--lavender-wash); }
}
.lang-switch:active { transform: scale(0.97); }

.header__cta { display: none; }
@media (min-width: 620px) { .header__cta { display: inline-flex; } .header__cta.btn { padding: 0.7rem 1.2rem; min-height: 46px; font-size: 0.95rem; } }

/* Mobile menu button */
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: var(--radius-md); color: var(--navy); }
.menu-btn:hover { background: var(--lavender-wash); }
@media (min-width: 1040px) { .menu-btn { display: none; } }

/* ===========================================================================
   Mobile drawer (branded, not a plain list)
   =========================================================================== */
.drawer { position: fixed; inset: 0; z-index: 60; visibility: hidden; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(46,58,90,0.40); opacity: 0; transition: opacity 240ms var(--ease-soft); }
.drawer__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 360px);
  background:
    radial-gradient(420px 220px at 110% -5%, var(--lavender-wash) 0%, transparent 70%),
    radial-gradient(360px 220px at -10% 12%, var(--mint-wash) 0%, transparent 70%),
    var(--paper);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%); transition: transform 320ms var(--ease-out);
  padding: 1.1rem 1.25rem 1.5rem; display: flex; flex-direction: column;
  overflow-y: auto;
}
.drawer[data-open="true"] { visibility: visible; }
.drawer[data-open="true"] .drawer__scrim { opacity: 1; }
.drawer[data-open="true"] .drawer__panel { transform: translateX(0); }

.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.25rem; }
.drawer__brand { display: flex; align-items: center; gap: 0.55rem; }
.drawer__brand img { height: 40px; width: auto; border-radius: 10px; }
.drawer__brand b { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1.1rem; }
.drawer__motif { width: 120px; height: 40px; margin: 0.25rem 0 1rem 0.25rem; }

.drawer__nav { display: flex; flex-direction: column; gap: 0.3rem; }
.drawer a.drawer__link {
  display: flex; align-items: center; gap: 0.85rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; color: var(--navy);
  text-decoration: none; padding: 0.7rem 0.7rem; border-radius: var(--radius-md);
  transition: background-color 160ms var(--ease-soft), transform 160ms var(--ease-out);
}
.drawer__ico { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex: none; }
.drawer__ico svg { width: 22px; height: 22px; }
.drawer a.drawer__link:hover { background: var(--surface); transform: translateX(2px); box-shadow: var(--shadow-sm); }
.drawer .btn { margin-top: 1.25rem; width: 100%; }

.drawer__lang {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  margin-top: 0.85rem; width: 100%; min-height: 48px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; color: var(--navy);
  background: var(--lavender-wash); border-radius: var(--radius-pill);
  transition: background-color 160ms var(--ease-soft);
}
.drawer__lang svg { width: 19px; height: 19px; color: var(--lavender); }
.drawer__lang:active { transform: scale(0.98); }

@media (prefers-reduced-motion: reduce) {
  .drawer__panel, .drawer__scrim { transition: none; }
}

/* ===========================================================================
   Decorative motif (moon / cloud / stars) - soft, behind content
   =========================================================================== */
.motif { position: absolute; pointer-events: none; z-index: 0; opacity: 0.9; }
.star { position: absolute; pointer-events: none; }

/* Soft drifting hero clouds (parallax depth). Wrapper takes the JS parallax
   transform; the inner svg keeps its float animation, so they never conflict. */
.hero-cloud { position: absolute; z-index: 0; pointer-events: none; will-change: transform; }
.hero-cloud svg { width: 100%; height: auto; display: block; }
.hero-cloud--1 { width: 150px; top: 16%; left: -34px; opacity: 0.65; }
.hero-cloud--2 { width: 110px; bottom: 12%; right: 3%; opacity: 0.5; }
@media (max-width: 919px) { .hero-cloud { display: none; } }

@media (prefers-reduced-motion: no-preference) {
  .twinkle { animation: twinkle 4s ease-in-out infinite; }
  .twinkle--2 { animation-delay: 1.3s; }
  .twinkle--3 { animation-delay: 2.6s; }
  .float-slow { animation: floaty 9s ease-in-out infinite; }
}
@keyframes twinkle { 0%, 100% { opacity: 0.35; transform: scale(0.92); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ===========================================================================
   Hero
   =========================================================================== */
.hero { position: relative; overflow: hidden; padding-top: clamp(2.5rem, 6vw, 4rem); padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(1100px 520px at 78% -8%, var(--sky-wash) 0%, transparent 60%),
    radial-gradient(900px 480px at 8% 8%, var(--lavender-wash) 0%, transparent 55%),
    var(--paper);
}
.hero__grid { position: relative; z-index: 1; display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 920px) { .hero__grid { grid-template-columns: 1.05fr 0.95fr; } }

/* Full-bleed background-image hero variant */
.hero--bgimage { display: flex; align-items: center; min-height: clamp(500px, 76vh, 740px); padding-block: clamp(3rem, 8vw, 5.5rem); background: var(--lavender-wash); }
.hero__bgimg { position: absolute; inset: -6% 0; z-index: 0; will-change: transform; }
.hero__bgimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(253,252,249,0.95) 0%, rgba(253,252,249,0.82) 30%, rgba(253,252,249,0.42) 56%, rgba(253,252,249,0.06) 80%);
}
.hero--bgimage .wrap { position: relative; z-index: 2; width: 100%; }
.hero--bgimage .hero__copy { max-width: 600px; }
@media (max-width: 760px) {
  .hero__scrim { background: linear-gradient(180deg, rgba(253,252,249,0.9) 0%, rgba(253,252,249,0.74) 52%, rgba(253,252,249,0.58) 100%); }
}

.pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-display); font-weight: 600; font-size: 0.9rem;
  color: var(--navy); background: var(--surface);
  padding: 0.45rem 0.9rem; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm); margin-bottom: 1.25rem;
}
.pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); flex: none; }

/* Decorative scattered stars sit behind the hero copy; hide on narrow screens
   so they never collide with the headline (the hero art SVG keeps its own). */
.hero > .star { display: none; }
@media (min-width: 920px) { .hero > .star { display: block; } }

.hero h1 { font-size: clamp(2.4rem, 1.6rem + 4.2vw, 4rem); }
.hero h1 .accent { color: var(--coral); }
.hero__lead { margin-top: 1.25rem; font-size: clamp(1.08rem, 1rem + 0.5vw, 1.28rem); color: var(--ink-soft); max-width: 38ch; }
.hero__cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.85rem; }
.hero__note { margin-top: 1.25rem; font-size: 0.95rem; color: var(--ink-faint); }

/* Hero art panel: custom logo-matched dreamscape illustration */
.hero__art {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #fbf3ff 0%, #eef4fb 48%, #eaf7f1 100%);
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.hero__art img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 919px) { .hero__art { max-width: 460px; margin-inline: auto; } }

/* ===========================================================================
   Trust strip
   =========================================================================== */
.trust { background: var(--navy); color: var(--paper); }
.trust .wrap { padding-block: clamp(1.6rem, 3vw, 2.2rem); }
.trust__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem 1rem; }
@media (min-width: 760px) { .trust__row { grid-template-columns: repeat(5, 1fr); } }
.trust__item { display: flex; flex-direction: column; gap: 0.3rem; align-items: center; text-align: center; }
.trust__item .ico { width: 30px; height: 30px; color: var(--gold); }
.trust__item b { font-family: var(--font-display); font-size: 1.02rem; line-height: 1.2; }
.trust__item span { font-size: 0.85rem; color: #c5cad8; line-height: 1.3; }

/* ===========================================================================
   Cards (programs, safety, why)
   =========================================================================== */
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 1.75rem); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 760px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--surface); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.1rem);
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform 240ms var(--ease-out), box-shadow 240ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .card.is-lift:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
}
.card__badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 18px; margin-bottom: 1.1rem;
}
.card__badge svg { width: 30px; height: 30px; }

/* Program spot illustration (custom Higgsfield art). Background matches the
   illustration's warm cream so the square reads as a framed banner, no seam.
   The image is constrained by max-height/max-width (not height:100%, which a
   grid item's min-height:auto would override and overflow). */
.card__art {
  width: 100%; aspect-ratio: 16 / 10; border-radius: var(--radius-md);
  margin-bottom: 1.25rem; overflow: hidden; border: 1px solid var(--line); background: #fbf6ea;
}
.card__art img { width: 100%; height: 100%; object-fit: cover; display: block; }

.badge--lavender { background: var(--lavender-wash); color: #6b4fa0; }
.badge--coral { background: var(--coral-wash); color: #c4567a; }
.badge--mint { background: var(--mint-wash); color: #2f8a6c; }
.badge--gold { background: var(--gold-wash); color: #a8791b; }
.badge--sky { background: var(--sky-wash); color: #3f6aa3; }

.card h3 { font-size: 1.4rem; }
.card .age-tag {
  display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: 0.82rem;
  color: var(--navy); background: var(--gold-wash); padding: 0.25rem 0.7rem; border-radius: var(--radius-pill);
  margin-bottom: 0.6rem;
}
.card p { color: var(--ink-soft); margin-top: 0.5rem; }

/* Sample tuition on each program card */
.card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.5rem 0.75rem; margin: 0.5rem 0 0.25rem; }
.card__price .amt { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: var(--navy); line-height: 1; }
.card__price .amt small { font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; color: var(--ink-soft); }
.card__price .ptag { font-family: var(--font-display); font-weight: 600; font-size: 0.72rem; color: #8a6d1e; background: var(--gold-wash); padding: 0.22rem 0.6rem; border-radius: var(--radius-pill); }
.price-disclaimer { margin-top: 1.6rem; text-align: center; font-size: 0.92rem; color: var(--ink-faint); max-width: 62ch; margin-inline: auto; }
.map-note { margin-top: 0.75rem; font-size: 0.88rem; color: var(--ink-faint); }
.feature-list { list-style: none; padding: 0; margin-top: 1.1rem; display: grid; gap: 0.6rem; }
.feature-list li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.97rem; }
.feature-list li svg { width: 20px; height: 20px; color: var(--mint); flex: none; margin-top: 2px; }

/* Why-bilingual: feature row with motif side */
.split { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: center; }
@media (min-width: 880px) { .split { grid-template-columns: 1fr 1fr; } }
.benefits { list-style: none; padding: 0; display: grid; gap: 1.1rem; }
.benefit { display: flex; gap: 0.9rem; align-items: flex-start; }
.benefit .ico { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.benefit .ico svg { width: 22px; height: 22px; }
.benefit h4 { font-size: 1.1rem; }
.benefit p { color: var(--ink-soft); margin-top: 0.2rem; font-size: 0.97rem; }

.art-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: #fbf6ea; box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center; padding: clamp(1rem, 3vw, 2rem);
}
.art-card img { width: 100%; max-width: 380px; height: auto; display: block; }

/* About the teacher */
.about { display: grid; gap: clamp(1.75rem, 4vw, 3rem); align-items: center; }
@media (min-width: 880px) { .about { grid-template-columns: 0.85fr 1.15fr; } }
.about__photo {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/5; box-shadow: var(--shadow-md); background: #fbf6ea;
}
.about__years {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  background: var(--navy); color: var(--paper); border-radius: var(--radius-md);
  padding: 0.85rem 1.1rem; box-shadow: var(--shadow-md);
}
.about__years b { font-family: var(--font-display); font-size: 2rem; display: block; line-height: 1; color: var(--gold); }
.about__years span { font-size: 0.85rem; }
.about blockquote {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(1.3rem, 1rem + 1.4vw, 1.75rem);
  line-height: 1.3; color: var(--navy); margin: 0 0 1.25rem;
}
.about p { color: var(--ink-soft); margin-top: 0.85rem; }
.about .signature { font-family: var(--font-display); font-weight: 600; color: var(--navy); margin-top: 1.25rem; }

/* Photo-coming-soon placeholder (honest: she isn't open yet). The cozy teddy
   illustration is decorative; the label signals a real photo replaces it. */
.photo-slot { position: relative; width: 100%; height: 100%; }
.photo-slot img { width: 100%; height: 100%; object-fit: contain; display: block; }
.photo-slot__label {
  position: absolute; left: 50%; bottom: 0.9rem; transform: translateX(-50%); z-index: 2;
  display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap;
  background: rgba(255,255,255,0.9); color: var(--ink-soft);
  font-family: var(--font-display); font-weight: 600; font-size: 0.85rem;
  padding: 0.5rem 0.9rem; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm);
}
.photo-slot__label svg { width: 16px; height: 16px; }

/* Day timeline */
.day { display: grid; gap: 0; margin-top: 1.5rem; }
.day__row { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding-bottom: 1.4rem; position: relative; }
.day__time { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 0.95rem; white-space: nowrap; padding-top: 2px; min-width: 84px; }
.day__dot { position: relative; }
.day__row::before {
  content: ""; position: absolute; left: 96px; top: 6px; bottom: 0; width: 2px; background: var(--line);
}
.day__row:last-child::before { display: none; }
.day__marker { position: absolute; left: 90px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-wash); }
.day__body { padding-left: 2rem; }
.day__body b { font-family: var(--font-display); }
.day__body p { color: var(--ink-soft); font-size: 0.95rem; margin-top: 0.15rem; }

/* Safety points */
.safety-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 680px) { .safety-grid { grid-template-columns: 1fr 1fr; } }
.safety-item { display: flex; gap: 0.85rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 1.1rem 1.25rem; }
.safety-item svg { width: 26px; height: 26px; color: var(--mint); flex: none; }
.safety-item b { font-family: var(--font-display); display: block; }
.safety-item span { color: var(--ink-soft); font-size: 0.93rem; }

/* ===========================================================================
   A peek into our day (photo gallery)
   =========================================================================== */
.gallery-grid { display: grid; gap: clamp(0.85rem, 2vw, 1.25rem); grid-template-columns: 1fr; }
@media (min-width: 560px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 940px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item {
  margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); aspect-ratio: 4 / 3;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 500ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .gallery-item:hover img { transform: scale(1.06); } }
/* Two-up feature variant (the rest of the day photos live on the program cards) */
.gallery-grid--2 { max-width: 880px; margin-inline: auto; }
@media (min-width: 940px) { .gallery-grid--2 { grid-template-columns: 1fr 1fr; } }

/* ===========================================================================
   Enroll / contact
   =========================================================================== */
.enroll { display: grid; gap: clamp(2rem, 4vw, 3rem); }
@media (min-width: 900px) { .enroll { grid-template-columns: 1.05fr 0.95fr; align-items: start; } }

.form-card { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 560px) { .form-row.cols-2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--navy); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--paper);
  border: 2px solid var(--line); border-radius: var(--radius-sm);
  padding: 0.8rem 0.95rem; min-height: 50px; width: 100%;
  transition: border-color 160ms var(--ease-soft), box-shadow 160ms var(--ease-soft);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--lavender); box-shadow: 0 0 0 4px var(--lavender-wash);
}
.form-card .btn { width: 100%; margin-top: 0.5rem; }
.form-note { font-size: 0.85rem; color: var(--ink-faint); margin-top: 0.85rem; text-align: center; }

.form-success {
  display: none; text-align: center; padding: 1rem 0;
}
.form-success.show { display: block; }
.form-success .ico { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; background: var(--mint-wash); color: #2f8a6c; display: grid; place-items: center; }
.form-success .ico svg { width: 34px; height: 34px; }
.form-success h3 { font-size: 1.5rem; }
.form-success p { color: var(--ink-soft); margin-top: 0.5rem; }

/* Contact details + map */
.contact-list { list-style: none; padding: 0; display: grid; gap: 1.1rem; margin-bottom: 1.5rem; }
.contact-list li { display: flex; gap: 0.85rem; align-items: flex-start; }
.contact-list .ico { width: 46px; height: 46px; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-sm); display: grid; place-items: center; flex: none; color: var(--navy); }
.contact-list .ico svg { width: 22px; height: 22px; }
.contact-list b { font-family: var(--font-display); display: block; }
.contact-list a { color: var(--navy); text-decoration: none; font-weight: 600; }
.contact-list a:hover { text-decoration: underline; }
.contact-list span { color: var(--ink-soft); }
.map-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); line-height: 0; }
.map-frame iframe { width: 100%; height: 260px; border: 0; display: block; }

/* ===========================================================================
   FAQ
   =========================================================================== */
.faq { display: grid; gap: 0.85rem; max-width: 780px; margin-inline: auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 0.25rem 1.25rem; box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 1rem 0; display: flex; gap: 1rem;
  align-items: center; justify-content: space-between;
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { width: 22px; height: 22px; flex: none; transition: transform 240ms var(--ease-out); color: var(--coral); }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 1.1rem; margin-top: -0.25rem; }
@media (prefers-reduced-motion: reduce) { .faq summary .chev { transition: none; } }

/* ===========================================================================
   Final CTA band
   =========================================================================== */
/* Soft pastel CTA band (lightened, on-brand) with navy copy. */
.cta-band {
  position: relative; overflow: hidden; text-align: center; color: var(--navy);
  background: linear-gradient(165deg, var(--lavender-wash) 0%, var(--sky-wash) 52%, var(--mint-wash) 100%);
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { color: var(--navy); font-size: clamp(2rem, 1.4rem + 2.8vw, 3.2rem); }
.cta-band p { color: var(--ink-soft); max-width: 46ch; margin: 1rem auto 2rem; font-size: 1.1rem; }
.cta-band .btn--primary { background: var(--navy); color: var(--paper); }
.cta-band .btn--secondary { background: var(--surface); color: var(--navy); box-shadow: inset 0 0 0 2px var(--gray); }
@media (hover: hover) and (pointer: fine) { .cta-band .btn--secondary:hover { box-shadow: inset 0 0 0 2px var(--lavender); } }
.cta-band .motif { opacity: 0.9; }

/* ===========================================================================
   Footer
   =========================================================================== */
.footer { background: #232c45; color: #c8cdda; padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.footer__grid { display: grid; gap: 2rem; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__brand { display: flex; align-items: center; gap: 0.55rem; margin-bottom: 0.5rem; }
.footer__mark { width: 42px; height: auto; flex: none; }
.footer__name { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--paper); line-height: 1.05; }
.footer__name small { display: block; font-weight: 600; font-size: 0.68rem; letter-spacing: 0.04em; text-transform: uppercase; color: #aab1c4; margin-top: 1px; }
.footer h4 { color: var(--paper); font-size: 1rem; margin-bottom: 0.9rem; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 0.55rem; }
.footer a { color: #c8cdda; text-decoration: none; font-size: 0.95rem; }
.footer a:hover { color: var(--paper); }
.footer p.tag { margin-top: 0.85rem; font-size: 0.92rem; max-width: 32ch; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 2.25rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; font-size: 0.85rem; }

.siteready-attr {
  max-width: var(--max); margin: 1rem auto 0; text-align: center;
  font-size: clamp(0.65rem, 1.6vw, 0.8rem); color: #9aa1b4;
}
.siteready-attr a, .footer .siteready-attr a { color: var(--mint); display: inline; padding: 0; font-size: inherit; white-space: normal; }
.siteready-attr a:hover { color: var(--paper); }

/* ===========================================================================
   Sample banner (SiteReady standard - do not restyle)
   =========================================================================== */
.sample-banner {
  background: #E85D17; color: #F4F2EC; text-align: center;
  font-size: 13px; font-weight: 600; padding: 10px 16px; letter-spacing: 0.02em;
}

/* ===========================================================================
   Scroll-reveal (Emil: opacity + small translateY, staggered, motivated)
   =========================================================================== */
/* Only hide reveal elements when JS is confirmed on (html.js). Without JS the
   content renders normally, so it can never get stuck invisible. */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out); will-change: opacity, transform; }
html.js .reveal.in { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: 60ms; }
[data-delay="2"] { transition-delay: 120ms; }
[data-delay="3"] { transition-delay: 180ms; }
[data-delay="4"] { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .twinkle, .float-slow { animation: none !important; }
}
