/* Stage 8: restrained, progressive motion. Nothing is hidden if JS is unavailable. */
@media (prefers-reduced-motion: no-preference) {
  @keyframes brm-arrive {
    from { opacity: 0; transform: translate3d(0, 13px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
  }
  @keyframes brm-image-arrive {
    from { opacity: .78; transform: scale(1.018); }
    to { opacity: 1; transform: scale(1); }
  }
  .hero-copy h1 { animation: brm-arrive .7s cubic-bezier(.22,1,.36,1) both; }
  .hero-copy .intro { animation: brm-arrive .7s .12s cubic-bezier(.22,1,.36,1) both; }
  .hero-image img { animation: brm-image-arrive .95s .08s ease-out both; }
  /* Reveal only after the element has been seen by IntersectionObserver.
     Content is never hidden while waiting to be observed or if scripts fail. */
  .brm-in-view { animation: brm-arrive .65s cubic-bezier(.22,1,.36,1) both; }
  .button, .mobile-quote, .mobile-call {
    transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
  }
  .button:hover, .mobile-quote:hover, .mobile-call:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(18,58,99,.13);
  }
  .button:active, .mobile-quote:active, .mobile-call:active { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy h1, .hero-copy .intro, .hero-image img, .brm-in-view { animation: none !important; }
  .button, .mobile-quote, .mobile-call { transition: none !important; transform: none !important; }
}
