/* Scroll reveal */
.rv{opacity:0;transform:translateY(50px);transition:opacity 1.1s var(--ease),transform 1.1s var(--ease)}
.rv.in{opacity:1;transform:none}
.rv.d1{transition-delay:.1s}.rv.d2{transition-delay:.2s}.rv.d3{transition-delay:.3s}.rv.d4{transition-delay:.4s}

/* Headline lines rising from a mask */
.line{display:block;overflow:hidden;padding-block-end:.08em}
.line>span{display:inline-block;transform:translateY(110%);animation:up 1.2s var(--ease) forwards}
.line:nth-child(2)>span{animation-delay:.15s}
.line:nth-child(3)>span{animation-delay:.3s}
@keyframes up{to{transform:none}}

/* Gold shimmer text */
.shine{background:linear-gradient(100deg,var(--gold2),var(--gold) 45%,#F3DCA0 55%,var(--gold) 70%);background-size:250% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;animation:up 1.2s .3s var(--ease) forwards,shine 6s 1.6s linear infinite}
@keyframes shine{to{background-position:-250% 0}}

@keyframes fade{to{opacity:1}}
@keyframes kb{from{transform:scale(1)}to{transform:scale(1.14)}}
@keyframes spin{to{transform:rotate(360deg)}}
@keyframes bar{to{transform:scaleX(1)}}
@keyframes pulse{70%{box-shadow:0 0 0 10px rgba(201,154,53,0)}}
@keyframes breathe{50%{opacity:.3;transform:translateX(-50%) scale(1.1)}}
@keyframes rise{from{opacity:0;transform:translateY(30px)}}
@keyframes pop{from{opacity:0;transform:scale(.92) translateY(10px)}}

/* Marquee (track content is duplicated by motion.js; RTL moves toward the end) */
.marq{background:var(--bur);color:var(--gold2);overflow:hidden;padding-block:18px;white-space:nowrap;font-weight:300;font-size:18px}
.marq .track{display:inline-flex;gap:48px;animation:mq 30s linear infinite}
.marq .track span::after{content:"✦";margin-inline-start:48px;color:var(--gold)}
@keyframes mq{to{transform:translateX(50%)}}

/* Scroll progress */
.progress{position:fixed;inset-block-start:0;inset-inline:0;height:2px;background:linear-gradient(90deg,var(--gold2),var(--gold));transform-origin:right;transform:scaleX(0);z-index:60}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-delay:0s!important;animation-iteration-count:1!important;transition-duration:.01ms!important;transition-delay:0s!important;scroll-behavior:auto!important}
  .rv{opacity:1;transform:none}
  .line>span{transform:none}
}
