/* Intro overlay — the original carousel/logo animation, now playing on top
   of the real landing page instead of as its own standalone page. */

body.intro-active {
  overflow: hidden;
}

#intro-root {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #000000;
  z-index: 99999;
  opacity: 1;
  transition: opacity 0.8s ease;
}

#intro-root.intro-hidden {
  opacity: 0;
  pointer-events: none;
}

#carousel-canvas,
#carousel-css-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

#carousel-css-fallback {
  overflow: hidden;
  background: #000;
}

.sync-css-carousel-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
}

#black-overlay {
  position: absolute;
  inset: 0;
  background: #000000;
  opacity: 0;
  pointer-events: none;
}

#intro-hero-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(90px, 14vw, 160px);
  height: auto;
  transform: translate(-50%, -50%);
  fill: #ffffff;
  z-index: 2;
}

#number-2026 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(60px, 12vw, 180px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
  z-index: 3;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

#final-reveal {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 24px;
  z-index: 3;
}

#final-logo {
  width: clamp(70px, 8vw, 110px);
  height: auto;
  fill: #ffffff;
}

#final-text {
  font-size: clamp(28px, 6vw, 60px);
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.01em;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

#intro-skip {
  position: absolute;
  bottom: 28px;
  right: 28px;
  z-index: 10;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  font-family: 'Interstate Mono', ui-monospace, monospace;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 10px 20px;
  border-radius: 2px;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: border-color 0.2s ease, color 0.2s ease;
}

#intro-skip:hover {
  border-color: #E61E78;
  color: #E61E78;
}

@media (max-width: 767px) {
  #final-reveal {
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #intro-hero-logo,
  #number-2026,
  #final-logo,
  #final-text,
  .sync-css-carousel-layer {
    transition-duration: 0.01ms !important;
  }
}
