.home-page { position: relative; isolation: isolate; }
.home-page > main, .home-page > .site-footer { position: relative; z-index: 1; }

.dot-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  /* Static dots also work without JavaScript or WebGL. */
  background-image: radial-gradient(circle, rgba(189, 208, 230, .7) 1.25px, transparent 1.25px);
  background-size: 24px 24px;
}

.dot-grid__canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  visibility: hidden;
}

.dot-grid[data-dot-grid-ready] { background-image: none; }
.dot-grid[data-dot-grid-ready] .dot-grid__canvas { visibility: visible; }
