/* Splash screen (splash.js). Turned on by the head script on the homepage,
   once per visit, never with reduced motion. White from the very first paint,
   so the homepage never flashes before it. */
#splash { display: none; }
html.splash body { overflow: hidden; }
html.splash #splash {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #fff;
}
/* the glass (liquid-glass.js) shows once its logo has loaded */
#splash canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  opacity: 0;
}
#splash.is-ready canvas { opacity: 1; }
/* the plain logo, when there's no WebGL2 */
.splash__logo { position: absolute; height: auto; }
#splash.is-leaving { opacity: 0; transition: opacity 700ms cubic-bezier(.4, 0, .2, 1); pointer-events: none; }
