[data-tonevel-product-hero] .tonevel-product-stage {
  background:
    radial-gradient(ellipse at 72% 33%, #9aafd2 0%, #5b719a 25%, #37456200 62%),
    radial-gradient(ellipse at 95% 81%, #314568 0%, #17244300 51%),
    linear-gradient(137deg, #172543 0%, #162846 44%, #0d162a 100%);
}

[data-tonevel-product-hero] .tonevel-product-stage::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, #0b142600 32%, #0b142672 66%, #0b1426e6 100%);
  pointer-events: none;
}

[data-tonevel-product-hero] .tonevel-product-cluster {
  --bud-parallax: 12px;
  inline-size: min(100%, 40rem);
  block-size: clamp(13.5rem, 81vw, 27rem);
  margin: 0 auto;
}

.tonevel-hero-bud {
  position: absolute;
  inline-size: 48%;
  rotate: var(--clip-angle);
}

[data-tonevel-product-hero] .tonevel-hero-bud.hero-bud-lower {
  --at: .08s;
  --dur: 1.45s;
  --bud-rise: 2.5rem;
  --bud-turn: -20deg;
  --clip-angle: -13deg;
  --clip-float-lift: -9px;
  inset: 21% auto auto 5%;
}

[data-tonevel-product-hero] .tonevel-hero-bud.hero-bud-upper {
  --at: .19s;
  --dur: 1.55s;
  --bud-rise: 2.2rem;
  --bud-turn: 18deg;
  --clip-angle: 11deg;
  --clip-float-lift: -7px;
  inset: 11% 5% auto auto;
}

.tonevel-hero-bud-arrival,
.tonevel-hero-bud-float {
  display: block;
}

.tonevel-hero-bud-float {
  filter: drop-shadow(0 12px 18px #0a152967);
}

.tonevel-hero-bud-cutout {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 480 / 485;
}

.tonevel-hero-bud-cutout img {
  position: absolute;
  inset: 0 auto auto 0;
  display: block;
  inline-size: 200%;
  max-inline-size: none;
  block-size: 100%;
}

.hero-bud-upper .tonevel-hero-bud-cutout img {
  inset-inline-start: -100%;
}

[data-tonevel-product-hero]:not([hidden]) .tonevel-hero-bud-float {
  animation: tonevel-clip-float 7s ease-in-out var(--at) infinite alternate;
}

@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    [data-tonevel-product-hero][data-hero-scroll-driven] .tonevel-hero-bud-arrival {
      animation: linear both var(--clip-scroll);
      animation-timeline: scroll(root);
      animation-range: 0px var(--hero-range);
    }

    .hero-bud-lower { --clip-scroll: hero-bud-lower-scroll; }
    .hero-bud-upper { --clip-scroll: hero-bud-upper-scroll; }
  }
}

@keyframes tonevel-clip-float {
  from { transform: translateY(0); }
  to { transform: translateY(var(--clip-float-lift)); }
}

.hp-hero-story .tonevel-product-story {
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 64% 30%, #97aad0, #354c74 63%, #16263e);
}

.hp-hero-story .tonevel-product-story img {
  position: static;
  inline-size: 86%;
  block-size: auto;
  object-fit: contain;
  transform: rotate(-12deg);
}

@media (min-width: 80rem) {
  [data-tonevel-product-hero] .tonevel-product-stage::after {
    background: linear-gradient(0deg, #0b1426a8, #0b142600 44%),
      linear-gradient(90deg, #0b14266e, #0b142600 66%);
  }

  [data-tonevel-product-hero] .tonevel-product-cluster {
    inset: 3% auto auto 68%;
    inline-size: min(56%, calc(1.24 * var(--hp-hero-plate)), 58rem);
    block-size: auto;
    aspect-ratio: 1.55;
    margin: 0;
    translate: -50% 0;
  }

  [data-tonevel-product-hero] .tonevel-hero-bud.hero-bud-lower { inset: 22% auto auto 2%; }
  [data-tonevel-product-hero] .tonevel-hero-bud.hero-bud-upper { inset: 0 4% auto auto; }
}

@media (prefers-reduced-motion: reduce) {
  [data-tonevel-product-hero] .hero-drift {
    transform: none;
  }

  [data-tonevel-product-hero] .tonevel-hero-bud {
    transform: none;
    animation: none;
  }

  [data-tonevel-product-hero]:not([hidden]) .tonevel-hero-bud-float {
    animation: none;
  }
}
