/* Default visible; logo and text animate once only when enabled. */
@media (prefers-reduced-motion: no-preference) {
  .header.rentaim-opening .rentaim-logo-mark rect {
    stroke-dasharray: 1;
    animation: rentaim-logo-draw 2000ms ease-in-out both;
  }
  .header.rentaim-opening .rentaim-logo-wordmark {
    animation: rentaim-logo-lettering 1200ms ease-in-out 800ms both;
  }
  .hero.rentaim-opening .hero-content > .eyebrow,
  .hero.rentaim-opening .hero-content > h1,
  .hero.rentaim-opening .hero-intro,
  .hero.rentaim-opening .hero-buttons {
    animation: rentaim-copy-reveal 1300ms ease-in-out both;
  }
  .hero.rentaim-opening .hero-content > h1 { animation-delay: 350ms; }
  .hero.rentaim-opening .hero-intro { animation-delay: 850ms; }
  .hero.rentaim-opening .hero-buttons { animation-delay: 1350ms; }
}
@keyframes rentaim-logo-draw {
  0% { stroke-dashoffset: 1; fill-opacity: 0; }
  70% { fill-opacity: 0; }
  100% { stroke-dashoffset: 0; fill-opacity: 1; }
}
@keyframes rentaim-logo-lettering {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes rentaim-copy-reveal {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Keyboard navigation immediately reveals a targeted control. */
.hero.rentaim-opening .hero-buttons:focus-within {
  animation: none;
  opacity: 1;
  transform: none;
}
