/* Landing hero — big Mova peeking up from behind the band. Eyes are SVG drawn in landing.js.
   Stage math: the image is square (--mw); the band sits at 79% of its height, so everything below
   that line hides behind the band + sheet. */
.landing { --hdr: 66px; }

.lhero {
  position: relative; z-index: 1;
  min-height: calc(100svh - var(--hdr));
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 6px 16px 0;
}
.lhero-copy { position: relative; z-index: 3; display: grid; justify-items: center; }
.lhero-title { font-size: clamp(40px, 12.2vw, 104px); line-height: .96; margin-top: 26px; }
.lhero-title .line { display: block; }
.lhero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; align-items: center; margin-top: 20px; }

/* ---------- Mova ---------- */
.mova-stage {
  --mw: min(118vw, 600px);
  position: absolute; left: 50%; bottom: calc(var(--mw) * -0.21);
  width: var(--mw); height: var(--mw); margin-left: calc(var(--mw) / -2);
  z-index: 2; pointer-events: none;
}
.mova-stage::before { /* warm halo behind the head */
  content: ""; position: absolute; left: 50%; top: 44%; width: 118%; aspect-ratio: 1; translate: -50% -50%;
  border-radius: 50%; background: radial-gradient(circle, rgba(255,246,196,.95) 0%, rgba(253,241,158,.45) 36%, rgba(253,241,158,0) 66%);
  animation: halo 5s ease-in-out infinite;
}
.mova-float { position: absolute; inset: 0; animation: mova-breathe 4.8s ease-in-out infinite; }
@keyframes mova-breathe { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-1.3%) } }
.mova-look { position: absolute; inset: 0; transform-origin: 50% 80%; will-change: transform; }
.mova-rig { position: absolute; inset: 0; transform-origin: 50% 80%; will-change: transform; }
.mova-body { position: absolute; inset: 0; width: 100%; height: 100%; user-select: none; -webkit-user-drag: none;
  filter: drop-shadow(0 30px 44px rgba(80,137,208,.30)); }
.mova-eyes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mova-hit {
  position: absolute; left: 13%; top: 17%; width: 74%; height: 60%; border-radius: 50%;
  border: 0; padding: 0; background: none; cursor: pointer; pointer-events: auto; z-index: 3;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.mova-hit:focus-visible { outline: 3px solid var(--blue-mid); outline-offset: 6px; }

.lhero .say {
  left: 14%; top: 3%; bottom: auto; translate: 0 0; z-index: 4;
  max-width: min(300px, 72vw); font-size: 16px; padding: 13px 17px;
  border-radius: 22px 22px 6px 22px; transform-origin: 92% 100%;
}

/* ---------- the band + sheet slide over Mova's lower body ---------- */
.sheet {
  position: relative; z-index: 3; display: flow-root;
  background: linear-gradient(var(--canvas) 0, var(--canvas) 260px, rgba(253,253,253,0) 440px);
}
.band.seam { margin: -44px -20px 0; z-index: 4; }

@media (min-width: 720px) {
  .landing { --hdr: 76px; }
  .lhero { padding: 10px 32px 0; }
  .mova-stage { --mw: min(84vw, 720px); }
  .band.seam { margin-top: -54px; }
  .lhero .say { font-size: 18px; left: 7%; }
}
@media (min-width: 1000px) {
  .lhero-title { font-size: min(5.4vw, 88px); white-space: nowrap; }
  .lhero-title .line { display: inline; }
  .lhero-title .line + .line { margin-left: .26em; }
  .lhero-title { margin-top: 44px; }
  .mova-stage { --mw: clamp(460px, calc((100svh - 310px) / 0.7), 900px); } /* fills the space under the copy */
  .lhero .say { left: 2%; top: 9%; }
}

/* ---------- teaser video ---------- */
.teaser { max-width: 1240px; margin: 0 auto; padding: 60px 16px 8px; display: grid; justify-items: center; text-align: center; }
.teaser-head p { color: var(--ink-muted); margin: 14px auto 26px; max-width: 40ch; font-size: 17px; }
.teaser-head b { color: var(--title); }
.teaser-frame {
  position: relative; width: 100%; max-width: 1100px; aspect-ratio: 16 / 9; border-radius: 32px; overflow: hidden;
  background: #F3F8FF; box-shadow: 0 4px 10px rgba(43,43,43,.06), 0 30px 70px rgba(80,137,208,.26); isolation: isolate;
}
.teaser-frame.is-tall { aspect-ratio: 9 / 16; width: min(100%, calc(76svh * 9 / 16)); border-radius: 28px; }
.teaser-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; background: #F3F8FF; }
.teaser-sound {
  position: absolute; left: 16px; bottom: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 20px 9px 9px; border: 0; border-radius: var(--r-pill); background: #fff; color: var(--title); cursor: pointer;
  font: 800 18px/1 var(--font-display); letter-spacing: -.02em; box-shadow: 0 12px 28px rgba(43,92,171,.3);
  transition: transform .35s cubic-bezier(.34,1.7,.5,1);
}
.teaser-sound:hover { transform: translateY(-2px) scale(1.03); }
.teaser-sound:active { transform: scale(.95); }
.teaser-sound .ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #E4568A; }
.teaser-sound svg { width: 20px; height: 20px; fill: #fff; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }
.teaser-sound .on, .teaser-sound[aria-pressed="true"] .off { display: none; }
.teaser-sound[aria-pressed="true"] .on { display: block; }
.teaser-sound[aria-pressed="true"] .ic { background: var(--mint-deep); }
.teaser-sound:not([aria-pressed="true"]) .ic { animation: ping 1.8s ease-out infinite; }
.teaser-play {
  position: absolute; left: 50%; top: 50%; z-index: 2; width: 92px; height: 92px; margin: -46px 0 0 -46px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.94); display: grid; place-items: center; cursor: pointer; box-shadow: 0 16px 36px rgba(43,92,171,.3);
  transition: transform .35s cubic-bezier(.34,1.7,.5,1);
}
.teaser-play:hover { transform: scale(1.06); }
.teaser-play[hidden] { display: none; }
.teaser-play svg { width: 42px; height: 42px; fill: var(--title); margin-left: 6px; }
.teaser-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; z-index: 2; background: rgba(43,92,171,.12); }
.teaser-bar i { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--blue-soft), var(--blue-mid), var(--pink)); }
@media (min-width: 720px) {
  .teaser { padding-top: 80px; }
  .teaser-sound { left: 24px; bottom: 26px; font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .mova-float, .mova-stage::before { animation: none; }
}
