/* Independent translate/rotate/scale leave the existing entry animations intact. */
.section-video.hero-parallax-enabled .hero-business__copy {
  translate: var(--haba-parallax-x, 0px) var(--haba-parallax-y, 0px);
  rotate: var(--haba-parallax-turn, 0deg);
  scale: var(--haba-parallax-scale, 1);
  will-change: translate, rotate, scale;
}
.section-video.hero-parallax-enabled :is(.hero-business__vertical, .hero-business__branches, .hero-metal-button) {
  translate: var(--haba-parallax-x, 0px) var(--haba-parallax-y, 0px);
  will-change: translate;
}
@media (prefers-reduced-motion: reduce) {
  .section-video.hero-parallax-enabled :is(.hero-business__copy, .hero-business__vertical, .hero-business__branches, .hero-metal-button) {
    translate: none;
    rotate: none;
    scale: none;
    will-change: auto;
  }
}

/* Entry uses transform; scrolling independently uses translate/rotate/scale. */
.section-video .hero-business__copy--enter-left {
  animation: haba-copy-enter-left 1100ms cubic-bezier(.22, .61, .36, 1) 1.2s both;
}
.section-video .hero-business__copy--enter-right {
  animation: haba-copy-enter-right 1100ms cubic-bezier(.22, .61, .36, 1) 1.2s both;
}
@keyframes haba-copy-enter-left {
  from { opacity: 0; transform: translate3d(-70vw, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes haba-copy-enter-right {
  from { opacity: 0; transform: translate3d(70vw, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .section-video :is(.hero-business__copy--enter-left, .hero-business__copy--enter-right) {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
