.vv-scroll-field { transition: opacity 130ms ease-out; }

@media (prefers-reduced-motion: no-preference) {
  .vv-scroll-frame-moving:not(:focus-visible, :focus-within, :has(video[controls])) {
    --vv-scroll-arrival: calc(1 - var(--vv-scroll-enter, 1));
    --vv-scroll-departure: var(--vv-scroll-leave, 0);
    clip-path: inset(
      calc(12% * var(--vv-scroll-departure)) 0 calc(17% * var(--vv-scroll-arrival))
    );
    opacity: calc(1 - .24 * (var(--vv-scroll-arrival) + var(--vv-scroll-departure)));
  }
}

@media (prefers-reduced-motion: no-preference) {
  .vv-scroll-reveal:not(.commerce-plan) {
    animation: vv-scroll-arrive 700ms cubic-bezier(.18,.73,.24,1) 0ms backwards;
  }

  /* Reveal the plan details while the glass stays aligned with the heading. */
  .vv-pricing-glass .commerce-plan.vv-scroll-reveal:not(:focus-within) > * {
    animation: vvRiseSm 560ms cubic-bezier(.18,.73,.24,1) var(--vv-plan-delay, 0ms) backwards;
  }

  .vv-pricing-glass .commerce-plan > :is(del, .commerce-price, small) { --vv-plan-delay: 90ms; }
  .vv-pricing-glass .commerce-plan > ul { --vv-plan-delay: 165ms; }
  .vv-pricing-glass .commerce-plan > [data-add-cart] { --vv-plan-delay: 220ms; }

  .vv-folding .vv-fold-word {
    display: inline-block;
    perspective: 7em;
    white-space: nowrap;
  }

  .vv-folding .vv-fold-letter {
    display: inline-block;
    transform-origin: 50% var(--fold-hinge);
    animation: vv-fold-open 740ms cubic-bezier(.25, .72, .22, 1) var(--fold-delay) both;
  }
}

@keyframes vv-scroll-arrive {
  from { opacity: .84; translate: 0 14px; }
  to { opacity: 1; translate: none; }
}

@keyframes vv-fold-open {
  0% { opacity: 0; transform: translateY(var(--fold-lift)) rotateX(var(--fold-turn)) skewX(-22deg) scaleY(.42); }
  34% { opacity: .94; transform: translateY(var(--fold-bend)) rotateX(-34deg) skewX(10deg) scaleY(.72); }
  67% { opacity: 1; transform: translateY(-.07em) rotateX(13deg) skewX(-3deg) scaleY(1.03); }
  100% { opacity: 1; transform: none; }
}

/* Light following the pointer on prominent actions */
.vv-specular{position:relative;isolation:isolate}
.vv-specular::after{content:"";position:absolute;inset:0;border:1.2px solid transparent;border-radius:inherit;pointer-events:none;background:radial-gradient(circle 75px at var(--shine-x,50%) var(--shine-y,0%),rgba(255,255,255,.95),rgba(255,255,255,.16) 58%,transparent 100%) border-box;mask:linear-gradient(#000 0 0) padding-box,linear-gradient(#000 0 0);mask-composite:exclude;opacity:var(--shine-strength,.3);transition:opacity .2s ease}
.vv-specular:focus-visible{outline:2px solid #aa91ff;outline-offset:3px}
.vv-reels-section{background-image:radial-gradient(ellipse 44% 38% at 72% 52%,rgba(91,53,193,.13),transparent 75%),radial-gradient(ellipse 35% 35% at 8% 25%,rgba(103,73,218,.1),transparent 75%)}
.vv-showcase-heading h2 em{text-shadow:0 0 35px rgba(158,127,255,.18)}
.vv-showcase-heading .vv-text-link{transition:color .25s ease,border-color .25s ease,transform .25s ease}
.vv-showcase-heading .vv-text-link:hover{color:#c5b6ff;border-color:#c5b6ff;transform:translateX(4px)}

.vv-specular::after{background:radial-gradient(circle 105px at var(--shine-x,50%) var(--shine-y,0%),#fff 0%,rgba(231,218,255,.8) 22%,rgba(200,170,255,.18) 57%,transparent 100%) border-box;filter:drop-shadow(0 0 5px rgba(209,186,255,.75))}
.vv-specular:hover{box-shadow:0 8px 25px -8px rgba(104,65,255,.65),inset 0 1px 1px rgba(255,255,255,.22)!important}
.vv-showcase-heading .vv-text-link{position:relative;display:inline-flex;align-items:center;gap:20px;padding:13px 18px;border:1px solid rgba(180,155,255,.3);border-radius:999px;background:rgba(158,126,255,.07)}
.vv-showcase-heading .vv-text-link:hover{background:rgba(158,126,255,.16);box-shadow:0 0 24px rgba(136,89,255,.18)}
.vv-reel-track .vv-reel-cover{transition:box-shadow .35s ease,filter .35s ease}
.vv-reel-track .vv-reel-cover:hover,.vv-reel-track .vv-reel-cover:focus-visible{box-shadow:0 0 0 1px rgba(192,170,255,.7),0 16px 45px rgba(89,49,187,.38);filter:brightness(1.08)}
