/* ========================================
   INTRO / LOADING ANIMATION
   ======================================== */

/* Full-screen overlay */
.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
}

/* Subtle radial glow behind logo during animation */
.intro-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(157, 212, 207, 0.12) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
}

/* The SVG logo container */
.intro-logo {
  width: 140px;
  height: 135px;
  position: relative;
  z-index: 2;
}
.intro-logo svg {
  width: 100%;
  height: 100%;
}

/* Wordmark below logo */
.intro-wordmark {
  font-family: 'Newsreader', serif;
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: white;
  margin-top: 24px;
  opacity: 0;
  position: relative;
  z-index: 2;
}
.intro-wordmark em {
  font-style: italic;
  font-weight: 600;
  color: var(--mint);
}

/* Tagline */
.intro-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(157, 212, 207, 0.5);
  margin-top: 12px;
  opacity: 0;
  position: relative;
  z-index: 2;
}

/* Wipe curtain (top half) */
.intro-wipe-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: var(--dark);
  z-index: 3;
  transform-origin: top center;
}

/* Wipe curtain (bottom half) */
.intro-wipe-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: var(--dark);
  z-index: 3;
  transform-origin: bottom center;
}

/* Petals start hidden — GSAP owns their entrance animation */
.intro-petal { opacity: 0; }

/* Prevent scrolling during intro */
html.intro-active,
html.intro-active body {
  overflow: hidden;
  height: 100%;
}
