/* Motion enhances the approved layout; content remains visible without JS. */
body.top-motion .motion-headline-line { display: inline-block; }
body.top-motion .hero { overflow: clip; }
body.top-motion .hero-impact .hero-visual { transform-origin: 85% 50%; }
body.top-motion .hero-impact .hero-visual::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  background: #702638;
  pointer-events: none;
  z-index: 3;
  transform: scaleX(0);
  transform-origin: left;
  animation: hero-impact-curtain 1250ms cubic-bezier(.76,0,.24,1) 120ms backwards;
}
@keyframes hero-impact-curtain {
  0%, 12% { transform: scaleX(1); }
  100% { transform: scaleX(0); }
}
@media (max-width: 767px) {
  body.top-motion .hero-impact .hero-visual::after { animation-duration: 850ms; }
}
body.top-motion .site-header {
  background: #fff;
  transition: box-shadow 220ms ease;
}
body.top-motion .site-header.is-scrolled {
  box-shadow: 0 5px 22px rgb(25 24 65 / 7%);
}
body.top-motion :is(.button, .footer-button) {
  transition: background-color 200ms ease, color 200ms ease,
    border-color 200ms ease, box-shadow 200ms ease, translate 200ms ease;
}
body.top-motion .desktop-nav > a,
body.top-motion .nav-group > a {
  text-decoration-color: transparent;
  text-underline-offset: 7px;
  transition: color 200ms ease, text-decoration-color 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  body.top-motion :is(.button, .footer-button):hover {
    translate: 0 -4px;
    box-shadow: 0 5px 14px rgb(25 24 65 / 9%);
  }
  body.top-motion .desktop-nav > a:hover,
  body.top-motion .nav-group > a:hover {
    text-decoration-line: underline;
    text-decoration-color: currentColor;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.top-motion *, body.top-motion *::before, body.top-motion *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  body.top-motion :is(.button, .footer-button):hover { translate: none; }
}
