/* Progressive enhancement: only JavaScript-marked, unseen sections are concealed. */
main > .section-motion {
  opacity: 1;
  translate: 0 0;
  transition: opacity 1.3s cubic-bezier(.2, .65, .25, 1),
              translate 1.3s cubic-bezier(.2, .65, .25, 1);
}

main > .section-motion.section-motion-pending {
  opacity: 0;
  translate: 0 28px;
}

/* The new section arrival replaces the earlier heading-only arrival. */
main > .section-motion .scene-reveal.room-heading {
  animation: none;
}

/* Keep existing exhibit transforms; only pause their drift during the parent arrival. */
main > .section-motion-pending .exhibit-image,
main > .section-motion-arriving .exhibit-image {
  animation-play-state: paused !important;
}

main > .section-motion.section-motion-instant,
main > .section-motion:focus-within,
main > .section-motion:target,
.motion-paused main > .section-motion {
  opacity: 1;
  translate: none;
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  main > .section-motion {
    opacity: 1 !important;
    translate: none !important;
    transition: none !important;
  }
}

@media print {
  main > .section-motion {
    opacity: 1 !important;
    translate: none !important;
    transition: none !important;
  }
}
