/* The page content remains native Elementor; this file supplies only the
   confirmed scroll-triggered transition-wipe behavior. */
.aaff-motion-ready .aaff-wipe {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.aaff-motion-ready .aaff-wipe::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 40;
  pointer-events: none;
  background: #0b0b09;
  transform: scaleX(1.04);
  transform-origin: left center;
  transition: transform 1.08s cubic-bezier(.77, 0, .18, 1);
  will-change: transform;
}

.aaff-motion-ready .aaff-wipe-from-right::before {
  transform-origin: right center;
}

.aaff-motion-ready .aaff-wipe-gold::before { background: #f2c14e; }
.aaff-motion-ready .aaff-wipe-red::before { background: #b72a22; }
.aaff-motion-ready .aaff-wipe-cream::before { background: #f4ecdd; }
.aaff-motion-ready .aaff-wipe-dark::before { background: #0b0b09; }

.aaff-motion-ready .aaff-wipe.aaff-wipe-revealed::before {
  transform: scaleX(0);
}

@media (prefers-reduced-motion: reduce) {
  .aaff-motion-ready .aaff-wipe::before {
    display: none;
  }
}
