html, body { margin: 0; height: 100%; overflow: hidden; background: #3d6fb4; }
#scene { position: fixed; inset: 0; overflow: hidden; }
/* Blurred photo shows instantly while the splat file loads, and is the fallback without WebGL2 */
#scene::before { content: ""; position: absolute; inset: -40px;
  background: url("../splats/lighthouse-poster.jpg") 78% 60% / cover no-repeat;
  filter: blur(18px); transform: scale(1.04); transition: opacity 1.6s ease; }
#scene canvas { position: relative; display: block; width: 100%; height: 100%; opacity: 0; transition: opacity 1.6s ease; }
#scene.ready canvas { opacity: 1; }
#scene.ready::before { opacity: 0; }
#scene.no-webgl::before { filter: none; transform: none; inset: 0; }
@media (prefers-reduced-motion: reduce) { #scene canvas, #scene::before { transition: none; } }
