/* Tradovexa motion system (paired with assets/js/lib/motion.js).
   1. Hero: a girih / eight-point star pattern draws itself line by line (stroke-dashoffset, WAAPI).
   2. Dunes: the scene's back and front layers move at different rates on scroll (slow parallax).
   3. Water: a soft shimmer slides across the oasis pool (CSS keyframes below).
   4. Arch reveals: illustrations open upward through an arch-shaped clip-path mask when they enter view.
   Rest state is always fully visible; JS only adds animations that play when they start. */

/* the drawn hero pattern */
.ph__pattern path{fill:none;stroke:var(--tpat);stroke-width:1.4;stroke-linejoin:round}
.ph__pattern .is-accent{stroke:var(--saffron);stroke-opacity:.5}

/* water shimmer */
@keyframes oasis-shimmer{from{background-position:0 0}to{background-position:80px 0}}
@keyframes oasis-glint{0%,100%{opacity:.55}50%{opacity:1}}
.scene__shimmer{animation:oasis-shimmer 6s linear infinite,oasis-glint 4.5s ease-in-out infinite}

/* sun breathing ring on the scene badge star */
@keyframes oasis-turn{to{transform:rotate(360deg)}}
.scene__badge svg{animation:oasis-turn 40s linear infinite}

/* ticker */
@keyframes oasis-tick{to{transform:translateX(-50%)}}
.ticker__track{animation:oasis-tick 70s linear infinite}
.ticker:hover .ticker__track{animation-play-state:paused}

/* CTA band star slowly turns */
.cta-band__star{animation:oasis-turn 60s linear infinite}

/* press micro-interaction */
.btn:active{transform:scale(.97)}
.btn--saffron:hover,.btn--teal:hover{box-shadow:0 8px 20px rgba(7,46,49,.18)}

/* price tick flash */
@keyframes oasis-flash{from{background-color:rgba(227,176,75,.35)}to{background-color:transparent}}
.is-flash{animation:oasis-flash .9s ease-out}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
  .scene__layer{transform:none!important}
}
