/* ============================================================
   VESPERA — Hero Section
   ============================================================ */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--nav-h) var(--sp-8) var(--sp-16);
}

/* Gradient mesh layers */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%,   rgba(139, 0, 0, 0.28) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 20% 100%,  rgba(93, 0, 0, 0.22)  0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 80%,   rgba(201, 162, 39, 0.07) 0%, transparent 50%),
    linear-gradient(180deg, var(--void) 0%, var(--abyss) 50%, var(--deep-crimson) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Bottom vignette fade */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--abyss));
  pointer-events: none;
  z-index: 1;
}

/* Content */
.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--sp-6);
  max-width: 900px;
  padding-bottom: var(--sp-8);
}

/* Eyebrow */
.hero__eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

/* Logo */
.hero__logo {
  width: min(320px, 65vw);
  height: auto;
  filter: drop-shadow(0 0 30px var(--gold-glow)) drop-shadow(0 0 60px rgba(201, 162, 39, 0.15));
  animation: hero-logo-float 6s ease-in-out infinite;
  will-change: transform;
}

/* Main headline */
.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(var(--text-5xl), 9vw, var(--text-9xl));
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.hero__headline em {
  display: block;
  font-style: italic;
  font-family: var(--font-accent);
  font-weight: 500;
  font-size: 0.85em;
  color: var(--gold);
  letter-spacing: 0;
  margin-top: var(--sp-2);
  text-shadow: 0 0 40px var(--gold-glow);
}

/* Sub */
.hero__sub {
  font-family: var(--font-accent);
  font-size: clamp(var(--text-lg), 2.2vw, var(--text-2xl));
  font-weight: 400;
  line-height: 1.65;
  color: var(--cream-mid);
  max-width: 620px;
  margin: 0 auto;
}

/* CTAs row */
.hero__ctas {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--sp-4);
}

/* Badges row */
.hero__badges {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--sp-2);
}

.hero__badge {
  font-size: var(--text-xs);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--cream-dim);
  padding: var(--sp-1) var(--sp-4);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-full);
  background: var(--glass-bg-light);
  backdrop-filter: blur(8px);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: var(--cream-dim);
  font-size: var(--text-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: fade-in-up 1s ease 1.5s both;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold-muted), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

/* Gradient orbs */
.hero__orb {
  position: absolute;
  border-radius: var(--r-full);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  animation: orb-drift 12s ease-in-out infinite;
}

.hero__orb--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 0, 0, 0.30) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.hero__orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.12) 0%, transparent 70%);
  bottom: 0;
  right: -80px;
  animation-delay: -4s;
}

.hero__orb--3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(139, 0, 0, 0.20) 0%, transparent 70%);
  top: 40%;
  left: 40%;
  animation-delay: -8s;
}

/* Cross ornament */
.hero__cross {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.025;
  z-index: 0;
  pointer-events: none;
}

/* ── Keyframes ── */
@keyframes hero-logo-float {
  0%, 100% { transform: translateY(0px);   }
  50%       { transform: translateY(-12px); }
}

@keyframes orb-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(30px, -20px) scale(1.05); }
  66%       { transform: translate(-20px, 15px) scale(0.97); }
}

@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top;    opacity: 0; }
  40%  { transform: scaleY(1); transform-origin: top;    opacity: 1; }
  60%  { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero {
    padding: calc(var(--nav-h) + var(--sp-8)) var(--sp-5) var(--sp-16);
  }

  .hero__ctas {
    flex-direction: column;
    align-items: center;
  }

  .hero__ctas .btn {
    width: 260px;
    justify-content: center;
  }

  /* Hide scroll indicator on mobile — content stack is taller than viewport
     so absolute positioning causes it to collide with the badge row */
  .hero__scroll {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero__logo { width: min(240px, 75vw); }
}
