/* Version 96: symmetric, one-second cover fade after a Vimeo film ends
   or when another project is selected. Only affects Work thumbnails. */
#work .film-frame--interactive .film-play {
  transition: opacity 1s ease;
}
#work .film-frame--interactive.is-restoring .film-play {
  opacity: 0;
  pointer-events: none;
  transition: none;
}
#work .film-frame--interactive.is-fading-back .film-play {
  pointer-events: none;
}
/* Keep the paused/ended video visible beneath the fading cover. */
#work .film-frame--interactive.is-fading-back iframe {
  opacity: 1;
  z-index: 0;
}
/* The credit itself never moves or responds to hover: only its opacity fades. */
#work .film-frame--interactive .film-credit {
  transition: opacity 1s ease, visibility 0s linear 0s;
}
#work .film-frame--interactive.is-restoring .film-credit {
  opacity: 0;
  visibility: visible;
  transition: none;
}
#work .film-frame--interactive.is-fading-back .film-credit {
  visibility: visible;
}
@media (prefers-reduced-motion: reduce) {
  #work .film-frame--interactive .film-play,
  #work .film-frame--interactive .film-credit {
    transition: none;
  }
}
