@media (prefers-reduced-motion: no-preference) {
  .hero-copy > .eyebrow,
  .hero-copy > h1,
  .hero-copy > p:not(.eyebrow),
  .inner-hero-copy {
    animation: settle-in 540ms cubic-bezier(.2,.65,.3,1) both;
  }

  .hero-copy > h1 { animation-delay: 70ms; }
  .hero-copy > p:not(.eyebrow) { animation-delay: 140ms; }

  .motion-arrived {
    animation: settle-in 440ms cubic-bezier(.2,.65,.3,1) backwards;
    animation-delay: var(--motion-delay, 0ms);
  }

  .motion-arrived:focus-within,
  .inner-hero-copy:focus-within {
    animation: none;
  }
}

@keyframes settle-in {
  from { opacity: .55; translate: 0 12px; }
  to { opacity: 1; translate: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
  .service-card, .service-card img,
  .project-tile img, .gallery-card img {
    transition: none;
  }

  .service-card:hover, .service-card:hover img,
  .project-tile:hover img, .gallery-card:hover img {
    transform: none;
  }
}
