/* PREMIUM KINETIC TYPOGRAPHY V14 — always-moving text, no split Arabic glyphs
   Movement runs in CSS independently from the scroll scripts. */
.rayat-reference-hero .hero-inner{overflow:visible!important}
.rayat-reference-hero .rayat-motion-title h1{
  display:block;
  overflow:visible!important;
  line-height:1.45!important;
}
.rayat-reference-hero .rayat-motion-title h1 .rv14-white-float,
.rayat-reference-hero .rayat-motion-title h1 .rv14-gold-line{
  display:block;
  position:relative;
  max-width:100%;
  white-space:normal;
  font-weight:900;
  backface-visibility:hidden;
  will-change:transform;
  transform-origin:center;
}
.rayat-reference-hero .rayat-motion-title h1 .rv14-white-float{
  color:#f7f9ff;
  -webkit-text-fill-color:#f7f9ff;
  animation:rv14-white-float 5.2s ease-in-out infinite!important;
}
.rayat-reference-hero .rayat-motion-title h1 .rv14-gold-line{
  background:linear-gradient(107deg,#e8af50 0%,#ffeab5 23%,#d89f42 43%,#ffd88e 64%,#e9af51 100%);
  background-size:260% 100%;
  background-position:0% 50%;
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  color:#f0bd6c;
}
.rayat-reference-hero .rayat-motion-title h1 .rv14-gold-one{
  animation:rv14-gold-1 6.8s ease-in-out infinite!important;
}
.rayat-reference-hero .rayat-motion-title h1 .rv14-gold-two{
  animation:rv14-gold-2 7.5s ease-in-out -.85s infinite!important;
}
.rayat-reference-hero .rayat-motion-copy .rv14-copy-float{
  width:100%;position:relative;
  animation:rv14-copy-breathe 7.3s ease-in-out 2.2s infinite;
}
.rayat-reference-hero .rayat-motion-copy .rv14-copy-float:after{
  content:"";position:absolute;bottom:-9px;right:0;width:36%;height:1px;
  border-radius:1px;pointer-events:none;
  background:linear-gradient(90deg,transparent,#eabb6c88,transparent);
  opacity:.6;
  animation:rv14-copy-line 5.6s ease-in-out 1.8s infinite;
}
.rayat-reference-hero .rayat-motion-cta .actions .btn.primary{
  box-shadow:0 9px 25px rgba(214,162,78,.22);
  animation:rv14-button-glow 5s ease-in-out 2s infinite!important;
}
.rayat-reference-hero .rayat-motion-kicker .eyebrow{
  animation:rv14-kicker-tint 5s ease-in-out 1.1s infinite!important;
}
/* One-time sequential entrance on whole blocks, NOT on letters/spans. */
.rayat-reference-hero .hero-inner>.rayat-motion-group{
  opacity:1;
  animation:rv14-section-arrive 1.05s cubic-bezier(.16,1,.3,1) both!important;
}
.rayat-reference-hero .hero-inner>.rayat-motion-kicker{animation-delay:.09s!important}
.rayat-reference-hero .hero-inner>.rayat-motion-title{animation-delay:.26s!important}
.rayat-reference-hero .hero-inner>.rayat-motion-copy{animation-delay:.52s!important}
.rayat-reference-hero .hero-inner>.rayat-motion-cta{animation-delay:.74s!important}
@keyframes rv14-section-arrive{
  from{opacity:0;transform:translate3d(0,34px,0)}
  to{opacity:1;transform:translate3d(0,0,0)}
}
@keyframes rv14-white-float{
  0%,100%{transform:translate3d(0,0,0);text-shadow:0 0 0 rgba(248,250,255,0)}
  50%{transform:translate3d(0,-7px,0);text-shadow:0 5px 20px rgba(220,232,255,.25)}
}
@keyframes rv14-gold-1{
  0%,100%{transform:translate3d(0,0,0);background-position:0% 50%}
  50%{transform:translate3d(0,-6px,0);background-position:100% 50%}
}
@keyframes rv14-gold-2{
  0%,100%{transform:translate3d(0,0,0);background-position:90% 50%}
  50%{transform:translate3d(0,5px,0);background-position:0% 50%}
}
@keyframes rv14-copy-breathe{
  0%,100%{transform:translate3d(0,0,0);opacity:1}
  50%{transform:translate3d(0,-3px,0);opacity:.94}
}
@keyframes rv14-copy-line{
  0%,100%{transform:translate3d(0,0,0);opacity:.15}
  50%{transform:translate3d(-120%,0,0);opacity:.8}
}
@keyframes rv14-button-glow{
  0%,100%{box-shadow:0 9px 23px rgba(214,162,78,.16)}
  50%{box-shadow:0 9px 32px rgba(236,181,80,.42)}
}
@keyframes rv14-kicker-tint{
  0%,100%{opacity:1}
  50%{opacity:.77}
}
@media(max-width:640px){
 .rayat-reference-hero .rayat-motion-title h1 .rv14-white-float{
   animation-duration:6.2s!important;
 }
 .rayat-reference-hero .rayat-motion-copy .rv14-copy-float:after{
   display:none;
 }
}
/* Important: accessibility always beats visual effects. */
@media(prefers-reduced-motion:reduce){
 .rayat-reference-hero .hero-inner>.rayat-motion-group,
 .rayat-reference-hero .rayat-motion-title h1 .rv14-white-float,
 .rayat-reference-hero .rayat-motion-title h1 .rv14-gold-line,
 .rayat-reference-hero .rayat-motion-copy .rv14-copy-float,
 .rayat-reference-hero .rayat-motion-kicker .eyebrow,
 .rayat-reference-hero .rayat-motion-cta .actions .btn.primary,
 .rayat-reference-hero .rayat-motion-copy .rv14-copy-float:after{
   animation:none!important;transform:none!important;
   opacity:1!important;transition:none!important;
 }
 .rayat-reference-hero .rayat-motion-title h1 .rv14-gold-line{
   background-position:50% 50%!important;
 }
}
