/* KX Studio intro cover · round 6, lane intro. The cover is the first thing on screen: the dark tab (#0A0E12), one canvas for the particles,
   one SVG for the crisp logo (vector paths, never a font), and a soft light behind the lockup that only shows while the town is still loading. */
html.kx-lock, html.kx-lock body { overflow: hidden; overscroll-behavior: none; }
.kx-intro { position: fixed; inset: 0; z-index: 9; background: #0A0E12; overflow: hidden; }
.kx-intro.is-fast { transition: opacity .4s cubic-bezier(.4, 0, .2, 1); }
.kx-intro.is-soft { transition: opacity .6s cubic-bezier(.4, 0, .2, 1); }
.kx-intro canvas { position: absolute; left: 0; top: 0; display: block; pointer-events: none; }
.kx-intro .kx-logo { position: absolute; left: 0; top: 0; fill: #EEF2F4; overflow: visible; pointer-events: none; will-change: transform; }
.kx-intro .kx-glow { position: absolute; border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .9s ease;
  background: radial-gradient(closest-side, rgba(238, 242, 244, .09), rgba(238, 242, 244, .035) 55%, rgba(238, 242, 244, 0)); }
.kx-intro.is-wait .kx-glow { opacity: 1; animation: kx-breathe 2.6s ease-in-out infinite; }
@keyframes kx-breathe { 0%, 100% { transform: scale(.94); opacity: .55; } 50% { transform: scale(1.04); opacity: 1; } }

/* the page's own layers wait behind the cover: the heading and the scroll cue arrive when the cover starts to fade (body.kx-hold is removed then) */
#captions { transition: opacity 1s cubic-bezier(.2, .8, .2, 1) .15s; }
body.kx-hold #captions { opacity: 0; transition: none; }
body.kx-hold #cue { animation: none; opacity: 0; }

@media (prefers-reduced-motion: reduce) {
  .kx-intro .kx-glow, .kx-intro.is-wait .kx-glow { animation: none; }
  #captions { transition: none; }
}
