/* The crossfade between the archive and its painted pages (The Watchtower,
   the Profile). They are separate pages, so this uses the browser's
   cross-document view transition: a page that links this file opts in, and
   a navigation between two opted-in pages on this site fades the old one
   into the new. index.html, watchtower.html and profile.html link it. Browsers without support (Firefox today) simply
   navigate as before; reduced motion gets no animation. */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: 0.6s; animation-timing-function: ease; }
/* Arriving on the archive through the fade: the panel waits until the
   archive is built (landing.js removes .vt-arrive), then fades in. */
html.vt-arrive .overlay > .panel { opacity: 0; }
.overlay > .panel { transition: opacity 0.45s ease; }
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .overlay > .panel { transition: none; }
}
