/* ==========================================================================
   Homepage sections — in page order.
   Concept: "Sky to grass" — the page opens in a soft sky and ends on a meadow.
   ========================================================================== */

/* ---------- 1. Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  margin-top: calc(-1 * var(--header-h));
  padding: calc(var(--header-h) + clamp(2.5rem, 1rem + 5vw, 5rem)) 0 clamp(8rem, 6rem + 6vw, 11rem);
  overflow: clip;
  /* A morning sky: mostly blue, with a hint of sunrise — peach where the sun comes up,
     a pink blush along the horizon */
  background:
    radial-gradient(ellipse 50% 60% at 88% -5%, rgba(255, 240, 220, 0.9), rgba(255, 240, 220, 0) 70%),
    radial-gradient(ellipse 54% 40% at 88% 98%, rgba(255, 139, 73, 0.5), rgba(255, 168, 112, 0.22) 45%, rgba(255, 168, 112, 0) 74%),
    radial-gradient(ellipse 70% 42% at 12% 98%, rgba(249, 164, 198, 0.58), rgba(249, 164, 198, 0.22) 45%, rgba(249, 164, 198, 0) 74%),
    radial-gradient(ellipse 72% 56% at 86% 100%, rgba(255, 238, 224, 0.75), rgba(255, 238, 224, 0) 70%),
    radial-gradient(ellipse 85% 56% at 14% 100%, rgba(255, 238, 246, 0.7), rgba(255, 238, 246, 0) 70%),
    linear-gradient(180deg, #A9D5FF 0%, #BCDFFF 38%, #DCEBFF 62%, #F7E7F0 86%, #FFEDE1 100%);
}
/* clouds catch a little of the sunrise underneath */
.hero .cloud { filter: drop-shadow(0 12px 22px rgba(249, 164, 198, 0.32)); }
.hero__grid { position: relative; z-index: 1; display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.08fr 0.92fr; gap: 4rem; }
}
.hero__title { margin-top: 1.4rem; font-size: var(--fs-display); line-height: 1.03; letter-spacing: -0.03em; }
.hero__title em {
  padding-inline: 0.04em;
  background: linear-gradient(transparent 66%, #FFE27A 66%, #FFE27A 90%, transparent 90%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.hero__lead { max-width: 33em; margin-top: 1.4rem; font-size: var(--fs-lead); color: var(--ink-soft); }

.hero__media { position: relative; width: 100%; max-width: 500px; margin-inline: auto; }
.hero__media::before {
  /* offset outline echoing the arch — a doorway home */
  content: "";
  position: absolute; inset: 0;
  transform: translate(18px, 18px);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px 999px var(--r-xl) var(--r-xl);
}
.hero__photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 4.7;
  overflow: hidden;
  border: 6px solid #fff;
  border-radius: 999px 999px var(--r-xl) var(--r-xl);
  background: var(--sky-50);
  box-shadow: var(--shadow-lg);
}
/* the arch trims the top corners; keep the children (lower half of the photo) in view */
.hero__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 80%; }

.float-card {
  position: absolute; z-index: 2;
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.7rem 1.1rem 0.7rem 0.7rem;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-md);
  line-height: 1.25;
}
.float-card__icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  flex: none;
  border-radius: 14px;
  background: var(--tint);
  color: var(--deep);
}
.float-card strong { display: block; font-size: 0.975rem; font-weight: 800; }
.float-card span { font-family: var(--font-ui); font-size: 0.75rem; color: var(--ink-soft); }
.float-card--lang { left: -28px; bottom: 14%; }
.float-card--heart { right: -16px; top: 16%; padding: 0.55rem 0.95rem 0.55rem 0.55rem; }
.float-card--heart .float-card__icon { width: 34px; height: 34px; border-radius: 50%; }
.float-card--heart .float-card__icon .icon { width: 18px; height: 18px; }
.float-card--heart strong { font-size: 0.875rem; }
@media (max-width: 600px) {
  .hero__media { max-width: 310px; }
  .float-card--lang { left: -6px; bottom: -20px; } /* hangs below the photo so it doesn't cover the children */
  .float-card--heart { right: -6px; top: 10%; }
}

.hero .cloud--a { width: clamp(150px, 18vw, 260px); top: 56%; left: -150px; opacity: 0.9; }
.hero .cloud--b { width: clamp(90px, 10vw, 150px); top: calc(var(--header-h) + 1rem); right: 34%; opacity: 0.75; }
.hero .cloud--c { width: clamp(120px, 14vw, 200px); bottom: 26%; right: -40px; opacity: 0.85; z-index: 1; }
.hero .sparkle--a { width: 22px; top: 6%; right: 6%; color: var(--sun); }
.hero .sparkle--b { width: 14px; bottom: 30%; left: -4%; color: var(--pink); }
.hero .cloud--d { width: clamp(70px, 7vw, 110px); top: calc(var(--header-h) + 4.5rem); left: 58%; opacity: 0.6; }
.hero .cloud--e { width: clamp(110px, 12vw, 180px); bottom: 9%; left: 22%; opacity: 0.8; }
@media (max-width: 959px) {
  .hero .cloud--b { right: 8%; }
  .hero .cloud--a { top: auto; bottom: 34%; }
}
/* The clouds glide slowly across the whole sky, behind the words and the photo, each at its
   own height and pace; the negative delays spread them out so the sky is never empty.
   With reduced motion they simply stay where they're placed above. */
@media (prefers-reduced-motion: no-preference) {
  .hero .cloud {
    left: 0; right: auto; z-index: 0;
    animation: hero-sky var(--sky-dur) linear var(--sky-delay) infinite;
    will-change: transform;
  }
  .hero .cloud--a { --sky-dur: 64s; --sky-delay: -38s; }
  .hero .cloud--b { --sky-dur: 88s; --sky-delay: -20s; }
  .hero .cloud--c { --sky-dur: 74s; --sky-delay: -62s; }
  .hero .cloud--d { --sky-dur: 110s; --sky-delay: -80s; }
  .hero .cloud--e { --sky-dur: 96s; --sky-delay: -12s; }
}
/* phones: a shorter trip across, so a quicker pace keeps them visibly moving */
@media (prefers-reduced-motion: no-preference) and (max-width: 640px) {
  .hero .cloud--a { --sky-dur: 40s; --sky-delay: -24s; }
  .hero .cloud--b { --sky-dur: 54s; --sky-delay: -12s; }
  .hero .cloud--c { --sky-dur: 46s; --sky-delay: -38s; }
  .hero .cloud--d { --sky-dur: 66s; --sky-delay: -48s; }
  .hero .cloud--e { --sky-dur: 58s; --sky-delay: -8s; }
}
@keyframes hero-sky {
  from { transform: translateX(-110%); }
  to { transform: translateX(100vw); }
}

/* ---------- 2. At a glance — a slim navy ribbon that anchors the hero ---------- */
.glance { position: relative; z-index: 3; margin-top: clamp(-7rem, -4rem - 3vw, -5rem); }
.glance__list {
  display: grid; grid-template-columns: repeat(2, 1fr);
  margin: 0; padding: 0.35rem;
  border-radius: var(--r-xl);
  background: var(--navy);
  box-shadow: 0 28px 56px -30px rgba(23, 32, 51, 0.6);
  color: #fff;
}
.glance__item {
  position: relative;
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.95rem 0.85rem;
}
/* brighter accents that read well on navy */
.glance .tone-sun    { --glow: var(--sun); }
.glance .tone-green  { --glow: #6FDCA0; }
.glance .tone-purple { --glow: #BCA9FF; }
.glance .tone-pink   { --glow: var(--pink); }
.glance__icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  flex: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--glow);
}
.glance__icon .icon { width: 21px; height: 21px; }
/* the smallest phones: give the words the room */
@media (max-width: 359px) {
  .glance__icon { display: none; }
  .glance__item { padding-inline: 0.75rem; }
}
.glance__label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  white-space: nowrap;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}
.glance__value { display: block; margin-top: 0.15rem; font-size: 0.9375rem; font-weight: 800; line-height: 1.25; color: #fff; }
@media (min-width: 600px) {
  .glance__icon { width: 42px; height: 42px; }
  .glance__value { font-size: 1.0625rem; }
}
.glance__item:nth-child(2)::before,
.glance__item:nth-child(4)::before {
  content: ""; position: absolute; left: 0; top: 20%; bottom: 20%;
  width: 1px; background: rgba(255, 255, 255, 0.12);
}
.glance__item:nth-child(n+3)::after {
  content: ""; position: absolute; top: 0; left: 1.1rem; right: 1.1rem;
  height: 1px; background: rgba(255, 255, 255, 0.12);
}
@media (min-width: 900px) {
  .glance__list { grid-template-columns: repeat(4, 1fr); padding: 0.5rem 0.75rem; }
  .glance__item { gap: 1rem; padding: 1.35rem 1.5rem; }
  .glance__item:nth-child(n+2)::before {
    content: ""; position: absolute; left: 0; top: 24%; bottom: 24%;
    width: 1px; background: rgba(255, 255, 255, 0.12);
  }
  .glance__item:nth-child(n+3)::after { display: none; }
}

/* ---------- 3. Welcome from Anabell — portrait + an open, editorial letter ---------- */
.welcome__grid { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 900px) {
  .welcome__grid { grid-template-columns: 0.85fr 1.15fr; gap: clamp(3rem, 6vw, 6rem); }
}
.welcome__media { position: relative; isolation: isolate; width: 100%; max-width: 410px; margin-inline: auto; }
.welcome__photo {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--r-xl);
  background: #F4F2EF;
  box-shadow: var(--shadow-md);
}
.welcome__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.welcome__blob {
  position: absolute; z-index: -1;
  top: -7%; right: -10%;
  width: 72%; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sky);
}
.welcome__dot {
  position: absolute; z-index: -1;
  bottom: -5%; left: -7%;
  width: 26%; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sun);
  opacity: 0.6;
}
@media (max-width: 600px) {
  .welcome__media { max-width: 300px; }
}
.welcome__copy h2 { margin-top: 0.85rem; font-size: var(--fs-h2); }
.welcome__copy > p:not([class]) { margin-top: 1.1rem; color: var(--ink-soft); font-size: 1.125rem; }
.letter {
  margin: 2.5rem 0 2.25rem;
  padding-left: clamp(1.25rem, 0.8rem + 1.5vw, 2rem);
  border-left: 3px solid var(--sun);
}
.letter__mark { display: block; width: 36px; height: 36px; margin-bottom: 0.85rem; color: var(--sun); }
.letter__body { margin: 0; }
.letter__body p { margin: 0; color: var(--ink-soft); font-size: 1.125rem; line-height: 1.7; }
.letter__body p + p { margin-top: 0.9rem; }
.letter__body .letter__lead {
  color: var(--navy);
  font-size: clamp(1.35rem, 1.2rem + 0.6vw, 1.65rem);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.letter__sign { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.35rem 0.75rem; margin-top: 1.4rem; }
.letter__sign strong { font-size: 1.375rem; font-weight: 800; color: var(--royal); }
.letter__sign span { font-family: var(--font-ui); font-size: var(--fs-xs); letter-spacing: 0.04em; color: var(--ink-soft); }

/* ---------- 4. Programs — one band of four stages, infancy to school age ---------- */
.programs__head > div:first-child { max-width: 560px; }
.programs__head .programs__intro { display: grid; justify-items: start; gap: 1.25rem; max-width: 35rem; }
.programs__intro p { color: var(--ink-soft); font-size: var(--fs-lead); }
.programs__intro .btn-row { margin: 0; }
.stages {
  display: grid;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 640px) { .stages { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1120px) { .stages { grid-template-columns: repeat(4, 1fr); } }
.stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 6px solid var(--accent); /* together the four tops read as a rainbow */
  background: var(--tint);
  transition: background-color var(--dur) var(--ease);
}
.stage::after {
  content: ""; position: absolute; z-index: -1;
  top: -64px; right: -64px;
  width: 170px; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.16;
  transition: transform 500ms var(--ease);
}
.stage:hover { background: color-mix(in srgb, var(--tint), var(--accent) 12%); }
.stage:hover::after { transform: scale(1.18); }
.stage article {
  height: 100%;
  display: flex; flex-direction: column; align-items: flex-start; gap: 0.85rem;
  padding: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem) clamp(1.5rem, 1.1rem + 1vw, 2rem) clamp(1.75rem, 1.4rem + 1vw, 2.25rem);
}
.stage__icon {
  width: 60px; height: 60px;
  display: grid; place-items: center;
  margin-bottom: 0.5rem;
  border-radius: 50%;
  background: #fff;
  color: var(--deep);
  box-shadow: 0 8px 20px -10px rgba(23, 32, 51, 0.25);
}
.stage__icon .icon { width: 28px; height: 28px; stroke-width: 1.75; }
.stage .chip { background: #fff; }
.stage h3 { font-size: clamp(1.4rem, 1.25rem + 0.5vw, 1.65rem); }
.stage__desc { flex: 1; color: var(--ink-soft); font-size: 1rem; line-height: 1.6; }
/* whole panel is clickable via its "Learn more" link */
.stage .link-arrow::after { content: ""; position: absolute; inset: 0; }
/* phones: swipe through the four stages instead of scrolling past them */
@media (max-width: 639px) {
  .stages {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .stages::-webkit-scrollbar { display: none; }
  .stage { flex: 0 0 84%; scroll-snap-align: start; }
  .stage + .stage { border-left: 1px solid rgba(255, 255, 255, 0.8); }
  .stages .stage[data-reveal] { opacity: 1; transform: none; } /* never hide panels that are off to the side */
}

/* ---------- 5. Gallery preview ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 168px;
  gap: 0.9rem;
  margin: 0;
}
.gallery-grid li:first-child { grid-column: span 2; }
@media (min-width: 900px) { .gallery-grid li:first-child { grid-row: span 2; } }
/* Photos fill the tile, label pill bottom-left; each one opens the full gallery */
.gal-photo {
  position: relative;
  display: block;
  height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--sky-50);
  box-shadow: var(--shadow-sm);
}
.gal-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform 600ms var(--ease); }
a.gal-photo:hover img { transform: scale(1.04); }
.gal-photo__cap {
  position: absolute; left: 0.75rem; bottom: 0.75rem;
  max-width: calc(100% - 1.5rem);
  padding: 0.3rem 0.75rem;
  border-radius: 14px; /* stays pill-shaped on one line, still neat if a long label wraps */
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 12px -4px rgba(23, 32, 51, 0.25);
  color: var(--navy);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.35;
}
@media (max-width: 599px) {
  .gal-photo__cap { left: 0.5rem; bottom: 0.5rem; max-width: calc(100% - 1rem); padding-inline: 0.6rem; }
}
@media (min-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 196px; gap: 1.1rem; }
}

/* ---------- 6. Brightwheel ---------- */
/* Brightwheel follows another warm-white section, so it shares that section's spacing */
.brightwheel { padding-top: 0; }
.bw-panel {
  --bw-pad: clamp(2rem, 1rem + 3.5vw, 4rem);
  position: relative;
  isolation: isolate;
  display: grid; gap: 2.5rem; align-items: center;
  overflow: clip;
  padding: var(--bw-pad);
  border-radius: clamp(28px, 4vw, 48px);
  background: linear-gradient(140deg, #E3F1FF 0%, #C9E4FF 100%);
}
@media (min-width: 900px) {
  .bw-panel { grid-template-columns: 1.2fr 0.8fr; gap: 4rem; }
}
.bw-panel h2 { margin-top: 0.85rem; font-size: var(--fs-h2); }
.bw-panel__copy > p:not([class]) { margin-top: 1rem; color: var(--ink-soft); font-size: 1.125rem; max-width: 36em; }
.bw-panel .btn-row { margin-top: 2rem; }
.bw-panel .cloud--a { width: 180px; top: 12px; right: 30%; opacity: 0.7; z-index: -1; }
.bw-panel .cloud--b { width: 120px; bottom: 30px; left: -30px; opacity: 0.6; z-index: -1; }

.phone {
  position: relative;
  align-self: center;
  width: min(212px, 56vw);
  margin-block: 0.5rem; /* the whole phone shows, with room for its slight tilt */
  aspect-ratio: 9 / 18.5;
  margin-inline: auto;
  padding: 10px;
  border-radius: 42px;
  background: var(--navy);
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, 0.08);
  transform: rotate(4deg);
}
.phone__screen {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  border-radius: 33px;
  background: #F4F5F8;
}

/* ---------- 7. Learning & nutrition — two tiles side by side ---------- */
.care-grid { display: grid; gap: 1.25rem; }
@media (min-width: 1000px) {
  .care-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: stretch; }
}

.tile {
  position: relative; isolation: isolate;
  overflow: hidden;
  padding: clamp(1.5rem, 1.1rem + 1.3vw, 2.25rem);
  border-radius: var(--r-lg);
  background: var(--tint);
}
.tile__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--deep);
  box-shadow: var(--shadow-sm);
}
.tile__icon .icon { width: 23px; height: 23px; }
.tile__title { margin-top: 1rem; font-size: clamp(1.45rem, 1.25rem + 0.8vw, 1.85rem); }
.tile p { margin-top: 0.45rem; color: var(--ink-soft); line-height: 1.55; }
.tile__top p { max-width: 34em; }

/* Learning: white, the largest tile, with the six learning areas */
.tile--learning { background: #fff; box-shadow: var(--shadow-md); }
.tile--learning .tile__icon { background: var(--tint); box-shadow: none; }
.tile__top { display: flex; gap: 1.5rem; align-items: flex-start; justify-content: space-between; }
.tile__orbit {
  position: relative; flex: none;
  width: 118px; aspect-ratio: 1;
  margin: 8px 8px 0 0;
  display: grid; place-items: center;
  border: 1.5px solid rgba(54, 86, 216, 0.16);
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 30%, var(--pink-50) 31% 50%, var(--sky-50) 51% 100%);
}
.tile__orbit span { position: absolute; inset: 0; }
.tile__orbit span::before {
  content: ""; position: absolute; top: -6px; left: 50%;
  width: 11px; height: 11px; margin-left: -5.5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px #fff;
}
.tile__orbit span:nth-child(1) { rotate: -60deg; }
.tile__orbit span:nth-child(2) { rotate: -120deg; }
.tile__orbit span:nth-child(3) { rotate: 180deg; }
.tile__orbit span:nth-child(4) { rotate: 0deg; }
.tile__orbit span:nth-child(5) { rotate: 60deg; }
.tile__orbit span:nth-child(6) { rotate: 120deg; }
.tile__orbit .icon { width: 30px; height: 30px; color: var(--pink); filter: drop-shadow(0 4px 8px rgba(249, 164, 198, 0.5)); }
@media (max-width: 599px) { .tile__orbit { display: none; } }
.tile .areas {
  display: grid; gap: 1.1rem 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 205px), 1fr));
  margin: 1.6rem 0 0;
  padding: 1.6rem 0 0;
  border-top: 1px solid var(--line);
}
.area { display: flex; align-items: flex-start; gap: 0.8rem; }
.area__icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  flex: none;
  border-radius: 50%;
  background: var(--tint);
  color: var(--deep);
}
.area__icon .icon { width: 21px; height: 21px; }
.area h4 { margin-top: 0.1rem; font-size: 1.0625rem; }
.tile .area p { margin-top: 0.15rem; font-size: var(--fs-sm); line-height: 1.45; }

/* Nutrition: what CACFP is, then mealtimes; two inner columns only while it spans the full width */
.tile--nutrition { display: grid; gap: 0 2.5rem; align-content: start; }
.tile--nutrition > div + div > p:first-child { margin-top: 0.75rem; }
@media (min-width: 700px) and (max-width: 999px) {
  .tile--nutrition { grid-template-columns: 1fr 1fr; align-items: end; }
  .tile--nutrition > div + div > p:first-child { margin-top: 0; }
}
/* a large, faint apple fills the corner while the tile stands beside the taller Learning tile */
.tile__mark { display: none; }
@media (min-width: 1000px) {
  .tile__mark {
    display: block;
    position: absolute; z-index: -1;
    right: -36px; bottom: -44px;
    width: 230px; height: 230px;
    fill: none; stroke: var(--deep); stroke-width: 1.2;
    opacity: 0.09;
    rotate: -12deg;
  }
}


/* ---------- 8. How enrollment works → inquiry form ---------- */
.final {
  overflow: clip;
  isolation: isolate;
  background: linear-gradient(180deg, var(--cream) 0%, #E2F0FF 30%, #BFDFFF 72%, #A9D5FF 100%);
}
/* The steps fade in one by one; main.js sets --leave (0 → 1) as they scroll away toward the form */
.journey {
  max-width: 1080px;
  margin-inline: auto;
  opacity: calc(1 - var(--leave, 0) * 0.9);
  transform: translateY(calc(var(--leave, 0) * -28px));
}
.journey [data-reveal] { transition-delay: calc(var(--d, 0) * 160ms); }
.journey__title {
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: var(--royal);
}
.steps { position: relative; display: grid; gap: 1.1rem; max-width: 30rem; margin: 1.25rem auto 0; }
.steps::before {
  content: ""; position: absolute;
  top: 22px; bottom: 22px; left: 21px;
  border-left: 2px dashed rgba(54, 86, 216, 0.3);
}
.step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 1rem; align-items: start; }
.step__num {
  position: relative;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: var(--tint);
  color: var(--navy);
  font-size: 1.125rem;
  font-weight: 800;
}
.step h4 { margin-top: 0.15rem; font-size: 1.125rem; }
.step p { margin-top: 0.2rem; color: var(--ink-soft); font-size: var(--fs-sm); line-height: 1.5; }
/* Wide screens: the four steps run left to right along one dashed path */
@media (min-width: 900px) {
  .steps { --gap: 2rem; grid-template-columns: repeat(4, 1fr); gap: var(--gap); max-width: none; margin-top: 1.75rem; }
  .steps::before {
    top: 21px; bottom: auto;
    left: calc((100% - 3 * var(--gap)) / 8); right: calc((100% - 3 * var(--gap)) / 8);
    border-left: 0; border-top: 2px dashed rgba(54, 86, 216, 0.3);
  }
  .step { grid-template-columns: 1fr; align-content: start; justify-items: center; gap: 0.85rem; text-align: center; }
  .step p { max-width: 25ch; margin-inline: auto; }
}

/* Arrow from the steps down into the form (a link, so it also jumps there) */
.journey__next {
  position: relative;
  display: grid; place-items: center;
  width: 56px; height: 56px;
  margin: calc(1.5rem + 34px) auto clamp(2rem, 1.5rem + 1.5vw, 2.75rem);
  border-radius: 50%;
  background: var(--royal);
  color: #fff;
  box-shadow: 0 12px 26px rgba(54, 86, 216, 0.32);
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.journey__next::before {
  content: ""; position: absolute;
  bottom: calc(100% + 8px); left: 50%;
  height: 34px;
  border-left: 2px dashed rgba(54, 86, 216, 0.3);
}
.journey__next:hover { background: var(--navy); box-shadow: 0 14px 30px rgba(23, 32, 51, 0.3); }
.journey__next .icon { width: 24px; height: 24px; rotate: 90deg; }
@media (prefers-reduced-motion: no-preference) {
  /* three gentle nudges once it appears, then it rests */
  .journey__next.is-visible .icon { animation: journey-nudge 1.4s var(--ease) 900ms 3; }
}
@keyframes journey-nudge {
  0%, 100% { translate: 0 0; }
  45% { translate: 0 7px; }
}

/* Call / email / service area, between the form title and the form */
.form-card .contact-strip {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.6rem 0.75rem;
  margin: -0.35rem 0 1.5rem;
  padding: 0 0 1.35rem;
  border-bottom: 1px solid var(--line);
}
.contact-strip .icon { flex: none; width: 18px; height: 18px; }
.contact-strip__link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  min-height: 44px;
  padding: 0 1.05rem;
  border-radius: var(--r-pill);
  background: var(--sky-50);
  box-shadow: inset 0 0 0 1.5px rgba(54, 86, 216, 0.18);
  color: var(--royal);
  font-family: var(--font-ui);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.contact-strip__link:hover { background: var(--sky-100); box-shadow: inset 0 0 0 1.5px rgba(54, 86, 216, 0.4); }
.contact-strip__area {
  display: inline-flex; align-items: center; gap: 0.45rem;
  color: var(--ink-soft);
  font-size: var(--fs-sm);
  text-wrap: balance;
}
.contact-strip__area .icon { color: var(--green); }
@media (min-width: 640px) {
  .contact-strip__area { margin-left: auto; }
}
@media (max-width: 479px) {
  .contact-strip__link { flex: 1 1 100%; justify-content: center; }
}

/* The form "lands" with a slightly longer rise than other reveals */
.final__form { max-width: 820px; margin-inline: auto; }
.js .final__form[data-reveal] { transform: translateY(44px); transition-duration: 900ms; }
.js .final__form[data-reveal].is-visible { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .final__form[data-reveal] { transform: none; }
}
.final .cloud--a { width: 220px; top: 38%; left: -60px; opacity: 0.9; z-index: -1; }
.final .cloud--b { width: 170px; bottom: 22%; right: -30px; opacity: 0.9; z-index: -1; }
.final .cloud--c { width: 110px; bottom: 34%; left: 40%; opacity: 0.6; z-index: -1; }

