:root {
  --fog-surface: linear-gradient(transparent 0%, var(--paper) 9%, var(--dune) 22%, var(--dune-2) 42% 60%, var(--dune) 82%, var(--paper) 100%);
}
/* Fog: a sticky full-screen canvas that travels down its room, drawing the part of the room it covers */
.fog { position: absolute; z-index: -1; inset: 0; pointer-events: none; }
.fog canvas { position: sticky; top: 0; display: block; width: 100%; height: 100vh; opacity: 0; transition: opacity 1200ms var(--ease); }
.fog.is-live canvas { opacity: 1; }
/* no WebGL, or the fog could not start: a still of it at rest */
.no-gl .fog, .fog.is-still { background: url(../images/fog-still.webp) 50% 0 / 100% 100% no-repeat; }
.no-gl .fog canvas, .fog.is-still canvas { display: none; }
