/* Place this backdrop inside the page's positioned, isolated content wrapper.
   Its height follows the content. Only the viewport-sized canvas is rendered. */
.open-water-page {
  position: relative;
  isolation: isolate;
}

.open-water-backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: black;
  --water-view: 100vh;
}

@supports (height: 100dvh) {
  .open-water-backdrop { --water-view: 100dvh; }
}

.open-water-backdrop > canvas {
  display: block;
  position: sticky;
  top: 0;
  width: 100%;
  height: var(--water-view);
}
