/* Render the ambient clip through a page-owned canvas so Android/Chrome cannot
   place native video menu affordances over the visible image. */
.home-whale-poster,
.home-whale-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: 50% 50%;
}

.home-whale-poster {
  z-index: 1;
}

.home-whale-canvas {
  z-index: 2;
  display: block;
  opacity: 0;
  pointer-events: none;
}

.home-whale-canvas.is-playing-cleanly {
  opacity: 1;
}

.home-whale-decoder {
  position: fixed !important;
  inset: auto auto 0 -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .home-whale-canvas,
  .home-whale-decoder,
  .home-whale-poster {
    display: none !important;
  }
}
