/*
 * Firefox renders this wheel in 2D to avoid font distortion in transformed
 * 3D layers. The sticky duration, scroll progress, spacing and fading remain
 * equivalent to the Chromium presentation.
 */
@media (min-width: 1024px) {
  @supports (-moz-appearance: none) {
    .wheel[data-astro-cid-ampnwsdf] {
      --vp: clamp(18rem, calc(100vh - 7rem), 38rem);
    }

    .wheel-stage[data-astro-cid-ampnwsdf] {
      height: 100vh;
    }

    .wheel-viewport[data-astro-cid-ampnwsdf] {
      perspective: none !important;
    }

    .wheel-drum[data-astro-cid-ampnwsdf] {
      transform: none !important;
      transform-style: flat;
    }

    .wheel-item[data-astro-cid-ampnwsdf] {
      backface-visibility: visible;
      will-change: transform, opacity;
    }

    .wheel-body[data-astro-cid-ampnwsdf] h3[data-astro-cid-ampnwsdf] {
      font-size: clamp(1.3rem, calc(var(--vp) * 0.064), 2.4rem);
    }

    .wheel-body[data-astro-cid-ampnwsdf] p[data-astro-cid-ampnwsdf] {
      font-size: clamp(0.9rem, calc(var(--vp) * 0.0295), 1.12rem);
    }

    .wheel-num[data-astro-cid-ampnwsdf] {
      font-size: 0.78rem;
    }

    .pviewport[data-astro-cid-4hf3qcj7] {
      perspective: none !important;
      overflow: hidden;
    }

    .pbox[data-astro-cid-4hf3qcj7] {
      --ff-side-left: 100%;
      --ff-side-opacity: 0;
      transform: none !important;
      transform-style: flat;
    }

    .pbox[data-astro-cid-4hf3qcj7]::after {
      content: "";
      position: absolute;
      z-index: 4;
      top: 4%;
      bottom: 4%;
      left: var(--ff-side-left);
      width: 3px;
      transform: translateX(-50%);
      opacity: var(--ff-side-opacity);
      background: var(--color-acid);
      box-shadow:
        0 0 14px color-mix(in oklab, var(--color-acid) 55%, transparent),
        0 0 42px color-mix(in oklab, var(--color-acid) 20%, transparent);
      pointer-events: none;
      display: block;
    }

    .pface[data-astro-cid-4hf3qcj7] {
      transform-origin: center;
      -webkit-backface-visibility: visible;
      backface-visibility: visible;
      will-change: transform, opacity;
    }

    .pface-front[data-astro-cid-4hf3qcj7] {
      position: relative;
      z-index: 1;
      transform: none;
      transform-origin: 0 50%;
    }

    .pface-back[data-astro-cid-4hf3qcj7] {
      z-index: 2;
      opacity: 0;
      pointer-events: none;
      transform: none;
      transform-origin: 100% 50%;
    }

    .pedge[data-astro-cid-4hf3qcj7] {
      display: none !important;
    }
  }
}
