/* Site intro — ferrofluid splash (~5s) */
.site-intro {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #03010a;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.85s;
  overflow: hidden;
}

.site-intro.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-intro-ferro {
  position: absolute;
  inset: 0;
}

.site-intro-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 45%, transparent 20%, rgba(3, 1, 10, 0.55) 100%),
    linear-gradient(180deg, rgba(3, 1, 10, 0.2), rgba(3, 1, 10, 0.75));
  pointer-events: none;
}

.site-intro-brand {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  animation: introBrandIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-intro-logo {
  width: 88px;
  height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 0 22px rgba(225, 50, 50, 0.55));
}

.site-intro-word {
  font-family: 'Montserrat', 'Segoe UI', sans-serif;
  font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 28px rgba(225, 60, 60, 0.35);
  -webkit-font-smoothing: auto;
}

.site-intro-bar {
  width: 120px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #f87171, transparent);
  animation: introBar 1.6s ease-in-out infinite;
}

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

@keyframes introLogoFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

@keyframes introWordGlow {
  0%, 100% { letter-spacing: 0.28em; opacity: 0.92; }
  50% { letter-spacing: 0.34em; opacity: 1; }
}

@keyframes introBar {
  0%, 100% { transform: scaleX(0.7); opacity: 0.5; }
  50% { transform: scaleX(1); opacity: 1; }
}

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

.site-intro--fast .site-intro-brand {
  animation: introBrandIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.site-intro--fast .site-intro-logo {
  width: 64px;
  height: 64px;
  animation: introLogoFloat 1.4s ease-in-out infinite;
}

.site-intro--fast .site-intro-word {
  font-size: clamp(1.2rem, 3vw, 1.7rem);
  letter-spacing: 0.22em;
  animation: none;
}

.site-intro--fast {
  transition: opacity 0.32s ease, visibility 0.32s;
}

.site-intro--fast.is-done {
  transition-duration: 0.32s;
}

@media (prefers-reduced-motion: reduce) {
  .site-intro { display: none !important; }
  .site-intro-logo,
  .site-intro-word,
  .site-intro-bar,
  .site-intro-brand { animation: none !important; }
}
