/* ═══════════════════════════════════════════
   Castle of Midnight — Hero Section
   ═══════════════════════════════════════════ */

.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--white);
  overflow: hidden;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: heroZoomIn 2.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: transform, opacity, filter;
}

.hero-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, transparent, var(--sand));
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeIn 1s ease 2.4s forwards;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.4rem, 5.8vw, 5.2rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dark);
  text-align: center;
  white-space: nowrap;
}

.hero-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  letter-spacing: 0.12em;
  color: var(--dark);
  margin-top: 22px;
  opacity: 0;
  animation: fadeIn 1.5s ease 2.6s forwards;
}

.hero-line-bottom {
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, var(--sand), transparent);
  margin-top: 36px;
  opacity: 0;
  animation: fadeIn 1s ease 2.4s forwards;
}

.hero-parallax {
  will-change: transform, opacity;
  transition: none;
}

/* ─── Scroll indicator ─── */

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeIn 1.5s ease 3.4s forwards;
}

.scroll-indicator span {
  font-size: 0.58rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--dark);
  opacity: 0.3;
}

.scroll-arrow {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, var(--dark), transparent);
  opacity: 0.2;
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@media (max-width: 700px) {
  .hero-title {
    white-space: normal;
    font-size: clamp(2rem, 9vw, 3rem);
    letter-spacing: 0.15em;
  }
}
