.site-splash { position: fixed; inset: 0; z-index: 10000; overflow: hidden; animation: splash-safety 3s step-end forwards; }
.site-splash canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.splash-brand { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; color: #fff; white-space: nowrap; animation: splash-brand-out 3s both; }
.splash-emblem { position: relative; display: block; width: clamp(48px, 8vw, 88px); height: clamp(48px, 8vw, 88px); flex: none; animation: splash-spin 800ms both; }
.splash-emblem img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.splash-stuff-icon { animation: splash-stuff-morph 800ms both; }
.splash-pawn-icon { filter: brightness(0) invert(1); animation: splash-pawn-morph 800ms both; }
@keyframes splash-spin {
  0% { transform: rotate(0deg) scale(1); animation-timing-function: cubic-bezier(.45,0,.2,1); }
  20% { transform: rotate(-18deg) scale(.88,1.08); animation-timing-function: cubic-bezier(.3,0,.15,1); }
  65% { transform: rotate(370deg) scale(1.12,.94); animation-timing-function: cubic-bezier(.2,.8,.25,1); }
  82% { transform: rotate(354deg) scale(.97,1.03); animation-timing-function: ease-out; }
  100% { transform: rotate(360deg) scale(1); }
}
@keyframes splash-stuff-morph {
  0%, 18% { opacity: 1; transform: scale(1); }
  37%, 62% { opacity: 0; transform: scale(.65); }
  83% { opacity: 1; transform: scale(1.12); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes splash-pawn-morph {
  0%, 18% { opacity: 0; transform: scale(.5); }
  40% { opacity: 1; transform: scale(1.12); }
  55% { opacity: 1; transform: scale(1); }
  80%, 100% { opacity: 0; transform: scale(.55); }
}
.splash-word { display: block; overflow: hidden; max-width: 0; opacity: 0; font-size: clamp(24px, 5vw, 58px); font-weight: 650; letter-spacing: -.055em; line-height: 1.25; animation: splash-expand 3s both; }
@keyframes splash-expand { 0%, 26.66% { max-width: 0; opacity: 0; margin-left: 0; } 33.33%, 100% { max-width: 14em; opacity: 1; margin-left: .3em; } }
@keyframes splash-brand-out { 0%, 66.66% { opacity: 1; } 73.33%, 100% { opacity: 0; } }
@keyframes splash-safety { to { visibility: hidden; pointer-events: none; } }

.splash-waiting, .splash-waiting * { animation-play-state: paused !important; }
.splash-static { display: block; background: #000; }
.splash-static .splash-word { max-width: 14em; opacity: 1; margin-left: .3em; }
.splash-static .splash-pawn-icon { display: none; }

.splash-brand{font-family:"DM Sans",Arial,sans-serif}
@media(prefers-reduced-motion:reduce){.splash-static *{animation:none!important}}
