/* Keep the water in the viewport while all homepage content scrolls above it. */
body { isolation: isolate; }
#sharkCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
  pointer-events: none;
  opacity: .52;
}
main, footer { position: relative; z-index: 1; }
body::before, body::after, main::before { content: none; }
.hero-copy, .about-copy, .section-heading, .project-archive {
  position: relative;
  isolation: isolate;
}
:is(.hero-copy, .about-copy, .section-heading, .project-archive)::before {
  content: "";
  position: absolute;
  inset: -24px -42px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse closest-side, rgb(246 248 252 / .78) 35%, rgb(246 248 252 / .58) 74%, transparent);
}
.ocean-credit { color: var(--muted); white-space: nowrap; }
@media (max-width: 720px) {
  #sharkCanvas { opacity: .45; }
  :is(.hero-copy, .about-copy, .section-heading, .project-archive)::before { inset: -16px -8px; }
}
@media (forced-colors: active), print {
  #sharkCanvas { display: none; }
}
