body.site-intro-active {
  overflow: hidden;
}

.siteIntroOverlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background:
    radial-gradient(circle at top, rgba(45, 182, 219, 0.18), transparent 35%),
    linear-gradient(180deg, rgba(5, 7, 12, 0.98) 0%, rgba(5, 7, 12, 1) 100%);
  opacity: 1;
  visibility: visible;
  transition: opacity 0.85s ease, visibility 0.85s ease;
}

.siteIntroOverlay.is-hiding,
.siteIntroOverlay.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.siteIntroInner {
  width: min(360px, 82vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.65rem;
  transform: translateY(18px) scale(0.96);
  opacity: 0;
  animation: siteIntroEnter 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.siteIntroLogo {
  width: min(230px, 56vw);
  filter: drop-shadow(0 18px 40px rgba(255, 255, 255, 0.08));
}

.siteIntroStatus {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.siteIntroPercent {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  font-family: var(--font-family1);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  letter-spacing: 0.22em;
  text-align: center;
}

.siteIntroBar {
  width: 100%;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.siteIntroBarFill {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #4e5e64 0%, #ffffff 100%);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.28);
  transition: width 0.08s linear;
}

.heroSection .media .heroVideoEmbed {
  position: relative;
  pointer-events: none;
  background: #05070c;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

@media (min-width: 768px) {
  .heroSection .media .heroVideoEmbed {
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 1024px) {
  .heroSection .media .heroVideoEmbed {
    aspect-ratio: 16 / 9;
  }
}

.heroSection .media .heroVideoEmbed .heroVideoFrame,
.heroSection .media .heroVideoEmbed .heroVideoFrame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.heroSection .media .heroVideoEmbed .heroVideoFrame {
  background: #05070c;
}

.heroSection .media .heroVideoEmbed .heroVideoFrame iframe {
  border: 0;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  width: 177.78%;
  height: 100%;
}

@media (min-width: 768px) {
  .heroSection .media .heroVideoEmbed .heroVideoFrame iframe {
    width: 133.34%;
    height: 100%;
  }
}

@media (min-width: 1024px) {
  .heroSection .media .heroVideoEmbed .heroVideoFrame iframe {
    width: 100%;
    height: 100%;
  }
}

@keyframes siteIntroEnter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .siteIntroOverlay,
  .siteIntroBarFill,
  .siteIntroInner {
    transition: none;
    animation: none;
  }

  .siteIntroInner {
    opacity: 1;
    transform: none;
  }
}
