/* Home cinematic entry system — directional, replayable and GPU-only. */
.hm-reveal{
  opacity:0!important;
  transform:translate3d(var(--hm-x,0),var(--hm-y,0),0) scale(var(--hm-scale,1))!important;
  clip-path:inset(var(--hm-clip,0 0 0 0));
  transition:
    opacity .78s cubic-bezier(.16,1,.3,1),
    transform 1.12s cubic-bezier(.16,1,.3,1),
    clip-path 1.16s cubic-bezier(.16,1,.3,1)!important;
  transition-delay:var(--hm-delay,0ms)!important;
  will-change:opacity,transform,clip-path;
}
.hm-reveal.hm-in{
  opacity:1!important;
  transform:translate3d(0,0,0) scale(1)!important;
  clip-path:inset(0)!important;
}
.hm-reveal.hm-done{clip-path:none!important;overflow:visible!important;will-change:auto}
.hm-left{--hm-x:-72px;--hm-clip:0 100% 0 0}
.hm-right{--hm-x:72px;--hm-clip:0 0 0 100%}
.hm-up{--hm-y:54px;--hm-clip:100% 0 0 0}
.hm-down{--hm-y:-34px;--hm-clip:0 0 100% 0}
.hm-scale{--hm-y:24px;--hm-scale:.92}

/* Distributor: horizontal typography + a literal vertical image wipe. */
#impact .impact-dealer-stage.hm-reveal{--hm-x:0;--hm-y:0;--hm-scale:1;--hm-clip:100% 0 0 0;transform-origin:50% 100%!important}
#impact .impact-dealer-stage.hm-reveal .impact-dealer-bike img{transform:translate3d(0,11%,0) scale(1.13)!important;transition:transform 1.45s cubic-bezier(.16,1,.3,1)!important;transition-delay:calc(var(--hm-delay,0ms) + 80ms)!important}
#impact .impact-dealer-stage.hm-in .impact-dealer-bike img{transform:translate3d(0,0,0) scale(1)!important}
#impact .impact-dealer-heading.hm-reveal{--hm-x:-84px;--hm-clip:0 100% 0 0}
#impact .impact-dealer-copy.hm-reveal{--hm-x:-52px;--hm-clip:0 100% 0 0}
#impact .distributor-cta.hm-reveal{--hm-x:54px;--hm-clip:0 0 0 100%}

/* Intro and section headings are built as editorial horizontal wipes. */
#catalog .timeline-intro h2.hm-reveal,
#features .difference-head h2.hm-reveal,
#marcas-teaser .prod-intro-title span.hm-reveal,
#stats .stats-editorial-head h2.hm-reveal,
#cta .cta-editorial-lead h2.hm-reveal{--hm-x:-82px;--hm-clip:0 100% 0 0}
#marcas-teaser .prod-intro-title span.hm-reveal{
  transition:
    opacity 1.02s cubic-bezier(.16,1,.3,1),
    transform 1.48s cubic-bezier(.16,1,.3,1),
    clip-path 1.54s cubic-bezier(.16,1,.3,1)!important;
  transition-delay:var(--hm-delay,0ms)!important;
}
#catalog .timeline-intro p.hm-reveal,
#features .difference-head p.hm-reveal{--hm-x:64px;--hm-clip:0 0 0 100%}

/* Data items gain a slight physical lift instead of a generic fade. */
#features .difference-stat.hm-reveal,
#attitude .att-criteria article.hm-reveal,
#stats .stats-editorial-grid article.hm-reveal{--hm-y:58px;--hm-scale:.965;transform-origin:50% 100%!important}
#features .difference-stat.hm-reveal strong,
#stats .stats-editorial-grid article.hm-reveal strong{display:block;transition:transform 1.05s cubic-bezier(.16,1,.3,1);transform:translate3d(0,18px,0)}
#features .difference-stat.hm-in strong,
#stats .stats-editorial-grid article.hm-in strong{transform:none}
#stats .stats-editorial-hero.hm-reveal,
#stats .stats-editorial-hero.hm-reveal.hm-in{
  transform:scale(var(--stats-scale))!important;
  transition:opacity .78s cubic-bezier(.16,1,.3,1),clip-path 1.16s cubic-bezier(.16,1,.3,1)!important;
}

/* Filter intro and final CTA use opposite axes for controlled contrast. */
#attitude .att-criteria-intro.hm-reveal{--hm-x:-68px;--hm-clip:0 100% 0 0}
#cta .cta-editorial-photo.hm-reveal{--hm-y:0;--hm-scale:1;--hm-clip:100% 0 0 0;border-radius:0!important}
#cta .cta-editorial-photo.hm-reveal img,
#cta .cta-editorial-photo.hm-in img{transform:translate3d(0,var(--cta-parallax,-8%),0) scale(1.015)!important;transform-origin:center center!important;backface-visibility:hidden;transition:none!important;will-change:transform}
#cta .cta-editorial-copy h3.hm-reveal{--hm-x:68px;--hm-clip:0 0 0 100%}
#cta .cta-editorial-copy p.hm-reveal,#cta .cta-btns.hm-reveal{--hm-y:38px}

/* Shared footer title: opposing directions and a deliberately lower second word. */
.global-footer .gf-wordmark span.hm-reveal:first-child{--hm-x:-12vw;--hm-clip:0 100% 0 0}
.global-footer .gf-wordmark span.hm-reveal:last-child{
  --hm-x:12vw;
  --hm-clip:0 0 0 100%;
  transform:translate3d(var(--hm-x),clamp(50px,5vw,80px),0)!important;
}
.global-footer .gf-wordmark span.hm-reveal.hm-in:last-child{transform:translate3d(0,clamp(50px,5vw,80px),0)!important}

/* Extra ascender room: large condensed type must not be clipped by its own line box. */
#marcas-teaser .prod-intro-title{overflow:visible!important}
#marcas-teaser .prod-intro-title span{display:block!important;padding-top:.12em;line-height:.82!important;overflow:visible!important}
#stats .stats-editorial-head h2{padding-top:.13em!important;line-height:.84!important;overflow:visible!important}
#cta .cta-editorial-lead h2{padding-top:.13em!important;line-height:.82!important;overflow:visible!important}

/* Restore the footer geometry; only its two display words animate. */
.global-footer .gf-wordmark{top:clamp(142px,11vw,172px)!important;line-height:.78!important;overflow:visible!important}
.global-footer .gf-wordmark span{display:block;overflow:visible!important;padding-top:.08em}
.global-footer .gf-rider{left:50%!important;transform:translateX(-50%)!important}
.global-footer .gf-note,.global-footer .gf-about{transform:none!important;opacity:1!important;clip-path:none!important}
.global-footer .gf-note,.global-footer .gf-about{width:min(27vw,360px)!important}
.global-footer .gf-links{
  position:static!important;
  inset:auto!important;
  width:auto!important;
  min-height:0!important;
  display:flex!important;
  flex-wrap:wrap!important;
  gap:9px 20px!important;
  margin-top:22px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  -webkit-backdrop-filter:none!important;
  transform:none!important;
}
.global-footer .gf-links::before{display:none!important;content:none!important}
.global-footer .gf-links a{min-height:0!important;padding:0!important;border:0!important;border-bottom:1px solid rgba(10,10,10,.42)!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#0a0a0a!important}

@media(max-width:680px){
  .hm-left,.hm-right{--hm-x:42px}
  .hm-left{--hm-x:-42px}
  .global-footer .gf-wordmark span.hm-reveal:last-child,
  .global-footer .gf-wordmark span.hm-reveal.hm-in:last-child{transform:translate3d(var(--hm-x,0),30px,0)!important}
  .global-footer .gf-wordmark span.hm-reveal.hm-in:last-child{--hm-x:0}
}

@media(prefers-reduced-motion:reduce){
  .hm-reveal,.hm-reveal.hm-in{opacity:1!important;transform:none!important;clip-path:none!important;transition:none!important}
  .global-footer .gf-wordmark span.hm-reveal:last-child,.global-footer .gf-wordmark span.hm-reveal.hm-in:last-child{transform:translateY(30px)!important}
}
