/* ═══════════════════════════════════════════════════════════════════
   HOMEPAGE HERO — light "Editorial Warmth" version
   Centered serif headline on a soft cream/sky wash, the two calls to
   action, and the snowflake girl rising out of a pale sky panel below.
   Calm by design: no motion beyond a gentle entrance.
   ═══════════════════════════════════════════════════════════════════ */
#home.hl {
  --hl-cream: #FBF8F3;
  --hl-green: #2F9A66;
  padding: clamp(128px, 11vw, 168px) var(--pad-x) clamp(48px, 5vw, 72px);
  text-align: center;
  background: radial-gradient(60% 55% at 50% 0%, #EEF5FB 0%, rgba(238,245,251,0) 72%), var(--hl-cream);
}
.hl-copy { max-width: 880px; margin: 0 auto; }

.hl-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border-radius: 999px; background: #fff;
  border: 1px solid var(--line); color: var(--navy-600); font-size: .82rem; font-weight: 600; text-decoration: none;
  box-shadow: var(--e1); transition: border-color .3s var(--ease);
}
.hl-pill:hover { border-color: var(--sky-400); }
.hl-pill svg { width: 16px; height: 16px; color: var(--sky-500); flex: none; }

#home.hl h1 {
  margin: 28px 0 22px; color: var(--navy-800); font-weight: 500;
  font-size: clamp(2.7rem, 6.2vw, 5.1rem); line-height: 1.03; letter-spacing: -.025em;
}
#home.hl h1 em { color: var(--sky-500); font-style: italic; }
.hl-desc { max-width: 60ch; margin: 0 auto; font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.75; color: var(--body); }

.hl-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.hl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 24px;
  border-radius: 999px; border: 1.5px solid transparent; font: 700 .97rem/1 inherit; text-decoration: none;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.hl-btn svg { width: 18px; height: 18px; flex: none; }
.hl-btn:hover { transform: translateY(-1px); }
.hl-btn--lead { padding-left: 8px; background: var(--navy-700); color: #fff; box-shadow: 0 10px 26px rgba(18,48,89,.18); }
.hl-btn--lead:hover { background: var(--navy-900); }
.hl-open {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-radius: 999px;
  background: #E3F3EA; color: #1D6644; font-size: .7rem; letter-spacing: .09em; text-transform: uppercase;
}
.hl-open i { width: 7px; height: 7px; border-radius: 50%; background: var(--hl-green); box-shadow: 0 0 0 4px rgba(47,154,102,.18); }
.hl-btn--soft { background: #fff; color: var(--navy-700); border-color: var(--line); }
.hl-btn--soft svg { color: var(--sky-500); }
.hl-btn--soft:hover { border-color: var(--navy-400); }

.hl-checks { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; margin: 20px 0 0; padding: 0; list-style: none; font-size: .87rem; color: var(--muted); }
.hl-checks li { display: inline-flex; align-items: center; gap: 7px; }
.hl-checks svg { width: 15px; height: 15px; color: var(--hl-green); }

/* the child rising out of a soft sky panel */
.hl-stage { position: relative; max-width: 1180px; height: clamp(290px, 33vw, 432px); margin: clamp(36px, 4vw, 56px) auto 0; }
.hl-panel {
  position: absolute; left: 0; right: 0; bottom: 0; height: 70%; border-radius: 40px; overflow: hidden;
  background: radial-gradient(50% 90% at 50% 100%, rgba(255,255,255,.55), rgba(255,255,255,0) 70%), linear-gradient(180deg, #DCEAF7 0%, #C7DFF2 100%);
}
.hl-kid { position: absolute; left: 50%; bottom: 0; z-index: 1; width: min(36%, 420px); margin: 0; transform: translateX(-50%); }
.hl-kid img {
  display: block; width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%); mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
}

/* gentle entrance */
.hl-copy > *, .hl-stage { animation: hl-up .8s var(--ease) both; }
.hl-copy > :nth-child(2) { animation-delay: .06s; }
.hl-copy > :nth-child(3) { animation-delay: .12s; }
.hl-copy > :nth-child(4) { animation-delay: .18s; }
.hl-copy > :nth-child(5) { animation-delay: .22s; }
.hl-stage { animation-delay: .28s; animation-duration: 1s; }
@keyframes hl-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 920px) {
  .hl-stage { height: clamp(290px, 50vw, 440px); }
}
@media (max-width: 640px) {
  #home.hl { padding-top: 112px; }
  .hl-actions .hl-btn { width: 100%; max-width: 420px; }
  .hl-btn--lead { gap: 8px; padding-right: 18px; font-size: .9rem; white-space: nowrap; }
  .hl-open { height: 34px; padding: 0 10px; font-size: .62rem; gap: 6px; }
  .hl-stage { height: calc(min(92vw, 520px) * .8 + 16px); margin-top: 40px; }
  .hl-panel { height: 66%; border-radius: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  .hl-copy > *, .hl-stage { animation: none; }
  .hl-btn { transition: none; }
}

/* ── stacking: copy and stage above the floating flakes ── */
.hl-stage { z-index: 1; }
.hl-copy { position: relative; z-index: 1; }

/* ── floating snowflakes (placed and moved by home.js) ──
   Background flakes keep to the hero margins in soft sky blue; panel flakes
   are white, sitting beside the boy. They drift away from a nearby cursor. */
.hl-float { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hl-fl { position: absolute; display: block; pointer-events: none; will-change: transform; }
.hl-fl--bg { color: var(--sky-400); }
.hl-fl--panel { color: #fff; }

@media (max-width: 920px) {
  .hl-kid { width: 46%; }
}
@media (max-width: 640px) {
  .hl-kid { width: 80%; }
  .hl-fl--wide { display: none; }
}

/* ── full-width navy band behind the boy ──
   The stage runs edge to edge (cancelling the section's side padding) and
   sits flush with the bottom of the hero. Navy makes the white flakes pop;
   a soft sky glow behind him keeps the face lifted off the dark. */
#home.hl { padding-bottom: 0; }
.hl-stage { max-width: none; margin-left: calc(-1 * var(--pad-x)); margin-right: calc(-1 * var(--pad-x)); }
.hl-panel {
  height: 72%; border-radius: 0;
  background:
    radial-gradient(28% 75% at 50% 100%, rgba(127,182,220,.42), rgba(127,182,220,0) 72%),
    radial-gradient(60% 120% at 50% 0%, rgba(74,144,217,.22), rgba(74,144,217,0) 70%),
    linear-gradient(180deg, #1F4472 0%, #1B3A5C 45%, #12294A 100%);
}
.hl-fl--panel { color: #fff; filter: drop-shadow(0 0 6px rgba(199,223,242,.35)); }
@media (max-width: 640px) {
  .hl-panel { height: 66%; border-radius: 0; }
}
/* phones: no margins to spare, so only the flakes down by the band stay */
@media (max-width: 640px) {
  .hl-fl--bg:not(.hl-fl--low) { display: none; }
}
/* falling snow canvases (drawn by home.js): one behind the copy, one in the navy band */
.hl-snow { position: absolute; left: 0; top: 0; pointer-events: none; }
