/* =========================================================
   HOME – premium layer (scoped to .page--home)
   ========================================================= */

/* ---------- HERO: halo, drawn orbit, scroll depth ---------- */
.page--home .hero { --hs: 0; }
.page--home .hero__visual { transform: translate3d(0, calc(var(--hs) * var(--hd, 110px)), 0) scale(calc(1 - var(--hs) * .07)); will-change: transform; }
.page--home .hero__text { transform: translate3d(0, calc(var(--hs) * -60px), 0); opacity: calc(1 - var(--hs) * .7); }
.page--home .hero__halo {
  position: absolute; left: 50%; top: 50%; z-index: 0; pointer-events: none;
  width: min(640px, 118%); aspect-ratio: 1; translate: -50% -50%;
}
.page--home .hero__halo::before { /* soft rose glow that breathes in once */
  content: ""; position: absolute; inset: 4%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(233,211,210,.9), rgba(233,211,210,.35) 55%, transparent 75%);
  opacity: 0; scale: .7;
}
.page--home.is-loaded .hero__halo::before { animation: hmHalo 2.2s .5s var(--ease-out) forwards; }
@keyframes hmHalo { to { opacity: 1; scale: 1; } }
.hero__orbit { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; rotate: -90deg; }
.hero__orbit circle { fill: none; vector-effect: non-scaling-stroke; }
.hero__orbit-a { stroke: var(--rose); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .75; }
.hero__orbit-b { stroke: var(--latte); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 0 .011; opacity: 0; }
.page--home.is-loaded .hero__orbit-a { animation: hmDraw 2.4s 1.1s cubic-bezier(.65, 0, .25, 1) forwards; }
.page--home.is-loaded .hero__orbit-b { animation: hmFade 1.6s 2.1s ease forwards; }
@keyframes hmDraw { to { stroke-dashoffset: 0; } }
@keyframes hmFade { to { opacity: .8; } }
.page--home .badge-cloud { z-index: 1; }

/* pill never breaks awkwardly on phones */
@media (max-width: 560px) {
  .page--home .pill { gap: 10px; font-size: 13.5px; white-space: nowrap; }
  .page--home .pill .dash { width: 22px; }
  .page--home .hero__halo { width: 104%; }
  .page--home .hero__visual { --hd: 50px; }
}

/* ---------- WHY HUNDE MAMA ---------- */
.why { position: relative; padding: 150px 0 150px; text-align: center; }
.why::before { /* faint rose bloom behind the statement */
  content: ""; position: absolute; left: 50%; top: 120px; width: min(900px, 100%); height: 420px; translate: -50% 0; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(233,211,210,.55), transparent);
}
.why__kicker { font-size: clamp(34px, 4vw, 52px); color: var(--caramel); margin: 0 0 18px; line-height: 1.2; }
.why__statement {
  --p: 1; --n: 20;
  max-width: 1040px; margin: 0 auto;
  font-family: var(--f-display); font-variation-settings: "SOFT" 100, "opsz" 144; font-weight: 600;
  font-size: clamp(30px, 4.5vw, 62px); line-height: 1.14; letter-spacing: -.012em; color: var(--choco);
  text-wrap: balance;
}
.why__statement em {
  font-style: normal; font-family: var(--f-script); font-weight: 400; font-size: 1.3em; line-height: .8;
  color: var(--caramel); padding: 0 .04em; white-space: nowrap;
}
.why__statement .fw { opacity: clamp(.14, calc((var(--p) * (var(--n) + 4) - var(--i)) / 4), 1); transition: opacity .25s linear; }

/* chocolate leather plaque with sewn stitching */
.plaque {
  position: relative; margin: 90px auto 0; max-width: 1100px; padding: 70px 30px 52px; border-radius: 36px; color: var(--cream);
  background:
    radial-gradient(90% 120% at 20% 0%, rgba(255,255,255,.09), transparent 55%),
    linear-gradient(165deg, #6b3d25, var(--choco) 45%, var(--dark));
  box-shadow: 0 50px 90px -45px rgba(59,32,20,.85), 0 14px 30px -18px rgba(59,32,20,.5), inset 0 2px 0 rgba(255,255,255,.12), inset 0 -10px 24px rgba(0,0,0,.25);
}
.plaque::before {
  content: ""; position: absolute; inset: 13px; border-radius: 26px; border: 2px dashed rgba(247,233,217,.42); pointer-events: none;
  clip-path: inset(0 100% 0 0); transition: clip-path 2.2s .35s cubic-bezier(.65, 0, .25, 1);
}
.plaque.is-in::before { clip-path: inset(0 0 0 0); }
.plaque__bow { position: absolute; width: 150px; height: 83px; left: 50%; top: -42px; translate: -50% 0; filter: drop-shadow(0 10px 10px rgba(59,32,20,.45)); }
.plaque:hover .plaque__bow { animation: bowOnce 1.1s var(--ease-out); }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 6px 22px; }
.fact + .fact { border-left: 1px dashed rgba(247,233,217,.22); }
.fact p { margin: 0; }
.fact__num {
  font-family: var(--f-display); font-variation-settings: "SOFT" 100, "opsz" 144; font-weight: 800;
  font-size: clamp(54px, 6vw, 86px); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, var(--white) 30%, var(--cream-3)); -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: transform .6s var(--ease-bounce);
}
.fact__num small { font-size: .38em; font-weight: 700; letter-spacing: .02em; margin-left: .12em; -webkit-text-fill-color: var(--rose-2); color: var(--rose-2); }
.fact:hover .fact__num { transform: translateY(-4px) scale(1.05); }
.fact__txt { margin-top: 12px !important; font-size: 14.5px; line-height: 1.45; color: rgba(247,233,217,.8); max-width: 20ch; margin-inline: auto !important; }
.why__note { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 40px auto 0; max-width: 720px; font-size: 15.5px; font-weight: 500; }
.why__heart { width: 18px; height: 18px; fill: var(--rose); flex: none; }
.why__note a {
  color: var(--choco); font-weight: 700; text-decoration: none;
  background: linear-gradient(var(--rose), var(--rose)) 0 100% / 100% 1.5px no-repeat; transition: background-size .45s var(--ease-out), color .3s;
}
.why__note a:hover { color: var(--caramel); background-size: 0 1.5px; background-position: 100% 100%; }

@media (max-width: 900px) {
  .why { padding: 120px 0 120px; }
  .facts { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .fact:nth-child(3) { border-left: 0; }
}
@media (max-width: 560px) {
  .why { padding: 100px 0 100px; }
  .why__statement { font-size: clamp(27px, 7.4vw, 34px); line-height: 1.18; }
  .plaque { margin-top: 70px; padding: 62px 6px 40px; border-radius: 30px; }
  .plaque::before { inset: 10px; border-radius: 22px; }
  .plaque__bow { width: 120px; height: 66px; top: -34px; }
  .fact { padding: 4px 10px; }
  .fact__num { font-size: 50px; }
  .fact__txt { font-size: 13px; }
  .why__note { font-size: 14.5px; padding-inline: 8px; }
}

/* ---------- PROCESS: stitched connectors on stacked layout ---------- */
@media (max-width: 560px) {
  .page--home .step:not(:last-child)::after {
    content: ""; position: absolute; left: 50%; top: 100%; height: 70px; translate: -50% 0;
    border-left: 3px dashed var(--latte); z-index: -1;
  }
}

/* ---------- GALLERY: polaroids fan out of a little stack ---------- */
@media (min-width: 1081px) and (prefers-reduced-motion: no-preference) {
  .page--home .polaroid {
    transition: clip-path 1.3s cubic-bezier(.16, 1, .3, 1), opacity 1s var(--ease-out) var(--d, 0s), translate .9s var(--ease-out),
      rotate .6s var(--ease-bounce), scale .6s var(--ease-bounce), box-shadow .5s, transform 1.5s cubic-bezier(.22, 1, .36, 1) calc(var(--d, 0s) + .35s);
  }
  .page--home .polaroids.is-stacked .polaroid { transform: translateX(var(--fx, 0px)) rotate(var(--fr, 0deg)) scale(.86); }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .page--home .hero__visual, .page--home .hero__text { transform: none; opacity: 1; }
  .page--home .hero__halo::before { opacity: 1; scale: 1; }
  .hero__orbit-a { stroke-dashoffset: 0; }
  .hero__orbit-b { opacity: .8; }
  .why__statement .fw { opacity: 1; }
  .plaque::before { clip-path: none; }
}
