html.skip-splash-preload .mask {
  display: none !important;
}

body.intro-playing {
  height: 100vh !important;
  overflow: hidden;
}

body.intro-playing .video-container .video-controls .scroll {
  visibility: hidden;
}

.mask {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 999999;
  overflow: hidden;
  pointer-events: none;
}

.mask-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0b3311;
}

.mask .logo {
  position: relative;
  z-index: 2;
  width: 18vw;
  aspect-ratio: 554 / 144;
  margin: auto;
  background: url(../images/logo.png) no-repeat center / contain;
  transform-origin: 50% 50%;
  transition: transform 0.6s ease, filter 0.6s ease;
  animation: mask-logo-pulse 2.5s ease-in-out infinite;
}

@keyframes mask-logo-pulse {
  0%,
  100% {
    transform: scale(0.985);
    filter: brightness(0.96);
  }

  45% {
    transform: scale(1.05);
    filter: brightness(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mask .logo {
    animation: none;
  }
}

#skip-intro {
  visibility: hidden;
  position: fixed;
  right: 10px;
  bottom: 30px;
  opacity: 0;
  z-index: -1;
  pointer-events: none;
  padding: 0.52083vw 1.04167vw;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 0.9375vw;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #faf1e6;
  background-color: #000;
  transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
  border: none;
}

#skip-intro:hover,
#skip-intro:focus-visible {
}

@media only screen and (min-width: 768px) {
  #skip-intro {
    right: 20px;
  }
}

@media only screen and (min-width: 1024px) {
  #skip-intro {
    right: 30px;
  }
}

body.intro-playing #skip-intro,
body.splash-active #skip-intro {
  pointer-events: all;
  visibility: visible;
  z-index: 1000000;
}

@media (max-width: 767px) {
  .mask .logo {
    width: 45vw;
    aspect-ratio: 554 / 144;
  }

  #skip-intro {
    font-size: 3.2vw;
    letter-spacing: 0.12em;
    padding: 2vw 4vw;
  }
}
