.wk-splash {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: grid;
  place-items: center;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #0165d3;
  opacity: 1;
  pointer-events: auto;
  animation: wk-splash-failsafe var(--wk-splash-failsafe, 6s) forwards;
}

.wk-splash,
.wk-splash * {
  box-sizing: border-box;
}

.wk-splash__scene {
  --photo-width: clamp(180px, 18vw, 270px);
  position: relative;
  width: var(--photo-width);
  height: calc(var(--photo-width) * 1.55);
  isolation: isolate;
}

.wk-splash__photos {
  position: absolute;
  inset: 0;
}

.wk-splash__photo {
  position: absolute;
  display: block;
  width: 78%;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transform: translateY(8px) scale(.98) rotate(var(--angle));
  animation: wk-splash-photo-in 800ms cubic-bezier(.22,1,.36,1) forwards;
}

.wk-splash__photo--one {
  --angle: 8deg;
  top: 1%;
  left: 21%;
  z-index: 1;
  animation-delay: 100ms;
}

.wk-splash__photo--two {
  --angle: -8deg;
  top: 6%;
  left: 1%;
  z-index: 2;
  animation-delay: 240ms;
}

.wk-splash__photo--three {
  --angle: 7deg;
  top: 12%;
  left: 12%;
  z-index: 3;
  animation-delay: 380ms;
}

.wk-splash__brand {
  position: absolute;
  top: 47%;
  left: 50%;
  z-index: 4;
  width: min(220%, calc(100vw - 32px));
  transform: translateX(-50%);
  animation: wk-splash-brand-in 850ms ease-out 300ms both;
}

.wk-splash__logo {
  display: block;
  width: 100%;
  height: auto;
}

.wk-splash__count {
  position: absolute;
  top: 82%;
  right: 14%;
  color: #fff;
  font: 700 clamp(11px, 1vw, 14px)/1 Arial, sans-serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}

.wk-splash--leaving {
  opacity: 0;
  pointer-events: none;
  animation: none;
  transition: opacity var(--wk-splash-fade, 650ms) cubic-bezier(.4, 0, .2, 1);
}

html.wk-splash-lock,
html.wk-splash-lock body {
  overflow: hidden !important;
}

@keyframes wk-splash-photo-in {
  to {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(var(--angle));
  }
}

@keyframes wk-splash-brand-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes wk-splash-failsafe {
  0%, 94% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; pointer-events: none; }
}

@media (max-width: 767px) {
  .wk-splash__scene {
    --photo-width: clamp(155px, 42vw, 210px);
  }

  .wk-splash__count {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wk-splash {
    display: none !important;
    pointer-events: none !important;
  }
}
