/* Bounded, decorative chapter artwork. The page owns placement and contrast. */
.project-atmosphere {
  display: none;
  position: absolute;
  aspect-ratio: 1;
  pointer-events: none;
  contain: layout paint;
  z-index: 0;
  opacity: var(--atmosphere-opacity, .15);
}
.js .project-atmosphere { display: block; }
.project-atmosphere[hidden] { display: none; }
.project-atmosphere :is(img, canvas) {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.project-atmosphere canvas { visibility: hidden; }
.project-atmosphere.is-ready canvas { visibility: visible; }
.project-atmosphere.is-ready img { visibility: hidden; }
@media (prefers-reduced-motion: reduce), (forced-colors: active) {
  .js .project-atmosphere { display: none; }
}
