/* One short entrance per page; all content stays visible without JavaScript. */
.hero-animated { overflow: hidden; }
.hero-animated .ref-hero-media > img,
.hero-animated .ref-hero-media > svg,
.hero-animated .hero-visual > svg,
.hero-animated .contact-mobile-hero-media > svg {
  transform-origin: center;
  animation: everest-hero-image 1800ms cubic-bezier(.2,.65,.3,1) both;
}
.hero-animated .ref-hero-copy > *,
.hero-animated .home-copy > *,
.hero-animated .contact-mobile-copy > * {
  animation: everest-hero-copy 750ms cubic-bezier(.2,.65,.3,1) both;
}
.hero-animated :is(.ref-hero-copy, .home-copy, .contact-mobile-copy) > h1 { animation-delay: 100ms; }
.hero-animated :is(.ref-hero-copy, .home-copy, .contact-mobile-copy) > .gold-line { animation-delay: 200ms; }
.hero-animated :is(.ref-hero-copy, .home-copy, .contact-mobile-copy) > p { animation-delay: 260ms; }
.hero-animated :is(.ref-hero-copy, .home-copy, .contact-mobile-copy) > .hero-actions { animation-delay: 360ms; }
@keyframes everest-hero-image {
  from { transform: scale(1.025); }
  to { transform: scale(1); }
}
@keyframes everest-hero-copy {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 760px) {
  @keyframes everest-hero-image {
    from { transform: scale(1.015); }
    to { transform: scale(1); }
  }
}
/* Respect the visitor's system setting and keep printed content still. */
@media (prefers-reduced-motion: reduce), print {
  .hero-animated .ref-hero-media > img,
  .hero-animated .ref-hero-media > svg,
  .hero-animated .hero-visual > svg,
  .hero-animated .contact-mobile-hero-media > svg,
  .hero-animated .ref-hero-copy > *,
  .hero-animated .home-copy > *,
  .hero-animated .contact-mobile-copy > * {
    animation: none;
  }
}
