/* Shared opening sequence adapted from the Solar EPC hero. */
@keyframes rr-hero-enter-from-left {
  from { opacity: 0; transform: translateX(-48px); }
  to { opacity: 1; transform: translateX(0); }
}

.elevator-hero .hero-content > .eyebrow,
.elevator-hero .hero-content > h1,
.elevator-hero .hero-content > p,
.elevator-hero .hero-content > .elevator-btn,
.solar-hero__content > h1,
.solar-hero__content > p,
.solar-hero__content > .solar-actions,
.fs-hero__content > .fs-eyebrow,
.fs-hero__content > h1,
.fs-hero__content > p,
.fs-hero__content > .fs-button,
.rr-contact-hero__copy > .rr-contact-hero__title,
.rr-contact-hero__copy > .rr-contact-hero__intro,
.rr-contact-hero__copy > .rr-contact-areas,
.rr-gallery-intro__copy > h1,
.rr-gallery-intro__copy > p:not(.rr-gallery-eyebrow),
.rr-gallery-intro__copy > .rr-gallery-areas {
  opacity: 0;
  animation: rr-hero-enter-from-left 1s cubic-bezier(.2,.75,.25,1) both;
}

.elevator-hero .hero-content > .eyebrow,
.fs-hero__content > .fs-eyebrow { animation-delay: .2s; }

.elevator-hero .hero-content > h1,
.solar-hero__content > h1,
.fs-hero__content > h1,
.rr-contact-hero__copy > .rr-contact-hero__title,
.rr-gallery-intro__copy > h1 { animation-delay: .4s; }

.elevator-hero .hero-content > p,
.solar-hero__content > p,
.fs-hero__content > p,
.rr-contact-hero__copy > .rr-contact-hero__intro,
.rr-gallery-intro__copy > p:not(.rr-gallery-eyebrow) { animation-delay: .6s; }

.elevator-hero .hero-content > .elevator-btn,
.solar-hero__content > .solar-actions,
.fs-hero__content > .fs-button,
.rr-contact-hero__copy > .rr-contact-areas,
.rr-gallery-intro__copy > .rr-gallery-areas { animation-delay: .8s; }

@media (prefers-reduced-motion: reduce) {
  .elevator-hero .hero-content > .eyebrow,
  .elevator-hero .hero-content > h1,
  .elevator-hero .hero-content > p,
  .elevator-hero .hero-content > .elevator-btn,
  .solar-hero__content > h1,
  .solar-hero__content > p,
  .solar-hero__content > .solar-actions,
  .fs-hero__content > .fs-eyebrow,
  .fs-hero__content > h1,
  .fs-hero__content > p,
  .fs-hero__content > .fs-button,
  .rr-contact-hero__copy > .rr-contact-hero__title,
  .rr-contact-hero__copy > .rr-contact-hero__intro,
  .rr-contact-hero__copy > .rr-contact-areas,
  .rr-gallery-intro__copy > h1,
  .rr-gallery-intro__copy > p:not(.rr-gallery-eyebrow),
  .rr-gallery-intro__copy > .rr-gallery-areas {
    opacity: 1;
    animation: none;
  }
}
