.vv-feature-stage {
  --vv-feature-inset: clamp(16px, 6vw, 105px);
  --vv-feature-radius: clamp(21px, 3.2vw, 43px);
  --vv-feature-fill: 0;
  --vv-feature-content-width: min(82%, 1170px);
  position: relative;
  isolation: isolate;
  scroll-margin-top: 95px;
  color: #f9f5ff;
}

.vv-feature-pin {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.vv-feature-panel {
  position: sticky;
  top: 0;
  height: 100svh;
  border-radius: var(--vv-feature-radius);
  background:
    radial-gradient(ellipse at 95% 34%, #f4eaff40, transparent 38%),
    radial-gradient(ellipse at 76% 53%, #6534a7a8, transparent 62%),
    radial-gradient(ellipse at 12% 73%, #33105e, transparent 48%),
    #08050e;
}

.vv-feature-stage.is-scrubbing .vv-feature-panel {
  --vv-feature-edge: calc(1 - var(--vv-feature-fill));
  border-radius: 0;
  clip-path: inset(0 calc(var(--vv-feature-inset) * var(--vv-feature-edge)) round calc(var(--vv-feature-radius) * var(--vv-feature-edge)));
}

.vv-feature-bends {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  pointer-events: none;
  opacity: .72;
  mask-image: linear-gradient(106deg, #0002 0%, #0005 38%, #000 75%);
}

.vv-feature-inner {
  position: relative;
  container-type: inline-size;
  width: var(--vv-feature-content-width);
  margin-inline: auto;
  padding-block: clamp(58px, 9vh, 94px) clamp(46px, 7vh, 78px);
  scroll-margin-top: 95px;
}

.vv-feature-copy { margin-bottom: clamp(27px, 5vh, 52px); }
.vv-feature-product {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 11px;
  color: #e4d6f4;
  font: 550 13px/1.35 var(--vv-body-font, Inter, sans-serif);
}
.vv-feature-product img { object-fit: contain; }
.vv-feature-copy h2 {
  margin: 0;
  color: #f9f4ff;
  font: 490 clamp(32px, 4.3vw, 62px)/.98 var(--vv-heading-font, Outfit, sans-serif);
  letter-spacing: -.06em;
}
.vv-feature-copy h2 span:last-child { color: #b99bff; }

.vv-feature-reels { margin: 0; padding: 0; list-style: none; }
.vv-feature-reel {
  --vv-reel-width: min(58cqi, 620px, 65svh);
  --vv-reel-open-ratio: .76;
  --vv-reel-open: 1;
  --vv-reel-tilt: 0deg;
  --vv-reel-shift: 0;
  padding-block: 10px clamp(15px, 2.4vw, 32px);
  border-block-start: 1px solid #ffffff32;
}
.vv-feature-reel:is(:focus-within, .is-playing-manually) {
  --vv-reel-open: 1 !important;
  --vv-reel-tilt: 0deg !important;
  --vv-reel-shift: 0 !important;
}
.vv-feature-index {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin: 0;
  color: #e2d5f8;
  font: 550 13px/1.35 var(--vv-body-font, Inter, sans-serif);
}
.vv-feature-index span:last-child { font-variant-numeric: tabular-nums; }
.vv-feature-frame {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(var(--vv-reel-width) * var(--vv-reel-open-ratio) + 22px);
}
.vv-feature-frame h3 {
  width: 100%;
  margin: 0 0 8px;
  color: #f9f4ff;
  font: 480 clamp(30px, 5cqi, 53px)/.96 var(--vv-heading-font, Outfit, sans-serif);
  letter-spacing: -.055em;
  text-align: center;
}

.vv-feature-fixed-title { display: none; }

@media (min-width: 741px) and (prefers-reduced-motion: no-preference) {
  .vv-feature-stage.has-fixed-titles .vv-feature-frame h3 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .has-fixed-titles .vv-feature-fixed-title {
    position: absolute;
    top: 51%;
    inset-inline: 0;
    width: var(--vv-feature-content-width);
    margin-inline: auto;
    display: grid;
    translate: 0 -50%;
    pointer-events: none;
  }

  .vv-feature-fixed-title span {
    grid-area: 1 / 1;
    align-self: center;
    color: #f5edff;
    opacity: 0;
    font: 480 clamp(46px, 10.8vw, 157px)/.94 var(--vv-heading-font, Outfit, sans-serif);
    letter-spacing: -.071em;
    text-align-last: justify;
    transition: opacity .22s ease;
  }

  .vv-feature-fixed-title .is-current { opacity: 1; }

  @supports (background-clip: text) {
    @media (forced-colors: none) {
      .vv-feature-fixed-title span {
        background: linear-gradient(102deg, #fff 3%, #dec7ff 33%, #ad7aef 69%, #fff 100%);
        background-clip: text;
        color: transparent;
      }
    }
  }
}
.vv-feature-media {
  position: relative;
  z-index: 1;
  isolation: isolate;
  overflow: hidden;
  width: var(--vv-reel-width);
  height: calc(var(--vv-reel-width) * (.18 + (var(--vv-reel-open-ratio) - .18) * var(--vv-reel-open)));
  transform: perspective(920px) rotateX(var(--vv-reel-tilt));
  border: 1px solid #f3dcff39;
  border-radius: 7px;
  background: #110e19;
  box-shadow: 0 18px 45px -20px #08050d;
}
/* The frame opens beyond 16:9. The poster fills the extra space without cropping the UI. */
.vv-feature-media::before {
  position: absolute;
  inset: 0;
  background: #180e2a var(--vv-feature-poster) center / cover;
  filter: blur(18px) brightness(.48) saturate(.85);
  scale: 1.12;
  content: "";
}

.vv-feature-media video {
  position: absolute;
  inset: 50% 0 auto;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  translate: 0 -50%;
  object-fit: contain;
  background: #0c0911;
}

.vv-feature-play {
  position: absolute;
  inset: auto 9px 9px auto;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid #e3cef4;
  border-radius: 999px;
  background: var(--vv-primary-fill);
  color: #fff;
  cursor: pointer;
  font: 550 12px/1.25 var(--vv-body-font, Inter, sans-serif);
}
.vv-feature-play[hidden] { display: none; }
.vv-feature-play:hover { background: var(--vv-accent-hover); }
.vv-feature-play:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.vv-feature-play::before {
  content: "";
  width: 9px;
  height: 11px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  background: currentColor;
}
.vv-feature-caption {
  margin: 0;
  text-align: center;
  color: #d8cfe9;
  font: 450 14px/1.45 var(--vv-body-font, Inter, sans-serif);
}

@media (min-width: 741px) and (prefers-reduced-motion: no-preference) {
  .vv-feature-media {
    translate: 0 calc(var(--vv-reel-width) * var(--vv-reel-shift));
  }
}

@media (max-width: 740px) {
  .vv-feature-inner { width: 86%; }
  .vv-feature-reel { --vv-reel-width: min(100cqi, 460px); --vv-reel-open-ratio: .64; }
  .vv-feature-frame { padding-block: 10px; }
  .vv-feature-frame h3 { font-size: clamp(30px, 9cqi, 53px); }
}
@media (prefers-reduced-motion: reduce) {
  .vv-feature-media { height: auto; aspect-ratio: 16 / 9; transform: none; }
  .vv-feature-frame { min-height: auto; padding-block: 12px; }
}
