/* Home intro splash — black screen, logo rises, ~0.8s total */
#splash {
  position: fixed;
  inset: 0;
  z-index: 10000001;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  pointer-events: auto;
}

#splash.slide-up {
  animation: entuinSplashSlideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  pointer-events: none;
}

#splash .splash-logo {
  height: clamp(40px, 8vw, 48px);
  width: auto;
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  animation: entuinSplashRise 0.35s cubic-bezier(0.22, 0.68, 0, 1) 0.05s forwards;
}

#splash .splash-name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: white;
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  animation: entuinSplashRise 0.3s cubic-bezier(0.22, 0.68, 0, 1) 0.14s forwards;
}

#splash .splash-line {
  width: 40px;
  height: 1px;
  background: hsl(195 55% 42%);
  opacity: 0;
  transform: scaleX(0);
  animation: entuinSplashLine 0.25s cubic-bezier(0.22, 0.68, 0, 1) 0.22s forwards;
}

@keyframes entuinSplashRise {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes entuinSplashLine {
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@keyframes entuinSplashSlideUp {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, -100%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  #splash.slide-up {
    animation-duration: 0.01ms;
  }

  #splash .splash-logo,
  #splash .splash-name,
  #splash .splash-line {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
