/*
 * Cross-page fade between the four top-level routes (home, gallery,
 * environments, about). js/core/page-transitions.js toggles these classes;
 * they never apply when reduced motion is requested.
 */

html.kt-page-transition-enter {
  background: #070604;
}

html.kt-page-transition-enter body {
  opacity: 0;
}

html.kt-page-transition-enabled body {
  transition-property: opacity;
  transition-duration: 720ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

html.kt-page-transition-ready body {
  opacity: 1;
}

html.kt-page-transition-leave body {
  opacity: 0;
  pointer-events: none;
  transition-duration: 640ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.55, 1);
}
