/* ==========================================================================
   Footer background: the white wave-flow video, full viewport width, behind the footer content.
   Played only while the footer is on screen (js/footer-media.js). Remove the <link>/<script> and the
   .footer-media block in partials/footer.php to go back to the plain footer.
   ========================================================================== */
footer {
  overflow: hidden;
}

.footer-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

footer > .wrap {
  position: relative;
  z-index: 1;
}

.footer-media-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  opacity: 0.55;
}

@media (prefers-reduced-motion: reduce) {
  .footer-media-video { display: none; }
}
