/* Tamiyouz Alrowad — Hero V15: elegant one-time text entrance.
   The two complete title lines remain in HTML; no character typing/erasing.
   Motion is scoped to homepage Hero, works for RTL and LTR, is opt-out friendly,
   and never changes spacing, nav, gold line alignment, or background image. */
@keyframes tyz15-text-rise {
  0%   {opacity:0; transform:translate3d(0,14px,0)}
  100% {opacity:1; transform:translate3d(0,0,0)}
}
/* V77 handles the hero panel's reveal. Children then enter in order.
   #heroTitle itself remains static to preserve the measured logo alignment. */
html.motion-enhanced body section.hero.tyz-growth-visual-v6 .hero-copy.visible > .eyebrow{
  animation:tyz15-text-rise .68s cubic-bezier(.22,.8,.22,1) .08s both!important;
}
html.motion-enhanced body section.hero.tyz-growth-visual-v6 .hero-copy.visible #heroTitle.tyz11-static-title{
  animation:none!important;
  transform:none!important;
}
html.motion-enhanced body section.hero.tyz-growth-visual-v6 .hero-copy.visible #heroTitle.tyz11-static-title > .tyz-type-first{
  display:inline-block!important;
  animation:tyz15-text-rise .72s cubic-bezier(.18,.78,.22,1) .18s both!important;
}
html.motion-enhanced body section.hero.tyz-growth-visual-v6 .hero-copy.visible #heroTitle.tyz11-static-title > .tyz-type-second{
  display:inline-block!important;
  animation:tyz15-text-rise .76s cubic-bezier(.18,.78,.22,1) .31s both!important;
}
html.motion-enhanced body section.hero.tyz-growth-visual-v6 .hero-copy.visible > p{
  animation:tyz15-text-rise .72s cubic-bezier(.22,.8,.22,1) .48s both!important;
}
html.motion-enhanced body section.hero.tyz-growth-visual-v6 .hero-copy.visible > .hero-buttons{
  animation:tyz15-text-rise .68s cubic-bezier(.22,.8,.22,1) .62s both!important;
}
/* One clear entrance, not a loop. Existing button hover animation still works. */
@media(prefers-reduced-motion:reduce){
 html body section.hero.tyz-growth-visual-v6 .hero-copy > .eyebrow,
 html body section.hero.tyz-growth-visual-v6 #heroTitle.tyz11-static-title,
 html body section.hero.tyz-growth-visual-v6 #heroTitle.tyz11-static-title > .tyz-type-first,
 html body section.hero.tyz-growth-visual-v6 #heroTitle.tyz11-static-title > .tyz-type-second,
 html body section.hero.tyz-growth-visual-v6 .hero-copy > p,
 html body section.hero.tyz-growth-visual-v6 .hero-copy > .hero-buttons{
   animation:none!important;
   opacity:1!important;
   transform:none!important;
 }
}

/* Hero V16: shift only Arabic Hero text/CTAs 20px to the left.
   Padding redistribution keeps panel border (golden line) aligned with logo
   and preserves the heading width and one-time entrance animations. */
@media (min-width:881px) {
  html[lang="ar"] body section.hero.tyz-growth-visual-v6 .hero-copy{
    padding-right:48px!important;
    padding-left:8px!important;
  }
}

/* Hero V17 — reduce only the horizontal gap between Riyadh image and Arabic
   hero copy. Smooth viewport-scaled shift, with constrained body copy so
   white text never extends into the bright photo. The SVG, photography,
   navbar, animations, and mobile stacked layout are untouched. */
@media (min-width:1201px) {
  html[lang="ar"] body section.hero.tyz-growth-visual-v6 .hero-copy{
    left:calc(-30px - clamp(45px, calc(24vw - 235px), 140px))!important;
  }
  html[lang="ar"] body section.hero.tyz-growth-visual-v6 .hero-copy > p{
    max-width:clamp(350px,calc(18vw + 100px),400px)!important;
  }
}
@media(min-width:881px) and (max-width:1200px){
  html[lang="ar"] body section.hero.tyz-growth-visual-v6 .hero-copy{
    left:-30px!important;
  }
  html[lang="ar"] body section.hero.tyz-growth-visual-v6 .hero-copy>p{
    max-width:350px!important;
  }
}
