/* ================================================================
   BFPD — HERO SECTION
   Full-viewport hero with gradient mesh, particles, CTAs
   ================================================================ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--night);
  overflow: hidden;
}

/* Gradient mesh background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 60%, rgba(200,56,42,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 30%, rgba(224,123,32,0.08) 0%, transparent 50%),
    radial-gradient(ellipse 50% 60% at 50% 80%, rgba(36,48,64,0.5) 0%, transparent 60%),
    linear-gradient(180deg, var(--night) 0%, #0a1118 100%);
  z-index: 0;
}

/* SVG grain overlay */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.svg');
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: center;
  min-height: 100vh;
  padding: 100px 0 60px;
}

/* ===== LEFT: CONTENT ===== */
.hero-content { padding-right: 40px; }

.hero-overline {
  font-family: var(--font-display);
  font-size: clamp(12px, 1.3vw, 14px);
  letter-spacing: 0.15em;
  color: var(--ember);
  margin-bottom: 20px;
  display: block;
}

.hero-title {
  margin-bottom: 24px;
}
.hero-title .line {
  display: block;
  line-height: 0.95;
}
.hero-title .line-1 {
  font-size: clamp(64px, 11vw, 130px);
  color: var(--white);
}
.hero-title .line-2 {
  font-size: clamp(64px, 11vw, 130px);
  color: var(--fire);
}
.hero-title .line-3 {
  font-size: clamp(44px, 7vw, 88px);
  color: var(--ember);
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: var(--smoke);
  max-width: 500px;
  line-height: 1.7;
  margin-bottom: 36px;
}

/* CTAs */
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.hero-ig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--smoke);
  transition: color var(--transition-base);
}
.hero-ig svg { width: 18px; height: 18px; }
.hero-ig:hover { color: var(--ember); }

/* ===== RIGHT: ART ===== */
.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.hero-ghost {
  font-family: var(--font-display);
  font-size: clamp(140px, 20vw, 280px);
  color: var(--slate);
  opacity: 0.06;
  position: absolute;
  white-space: nowrap;
  letter-spacing: 0.08em;
  user-select: none;
  pointer-events: none;
}

.hero-mountain {
  width: 100%;
  max-width: 480px;
  height: auto;
  opacity: 0.85;
}

.hero-mountain .star {
  animation: twinkle 3s ease-in-out infinite;
}
.hero-mountain .star:nth-child(odd) { animation-delay: 1.5s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

/* ===== EMBERS CONTAINER ===== */
.embers {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 3;
}

/* ===== SCROLL CHEVRON ===== */
.scroll-chevron {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  animation: chevronBounce 2.5s ease-in-out infinite;
}
.scroll-chevron svg {
  width: 28px;
  height: 28px;
  color: rgba(255,255,255,0.35);
}

@keyframes chevronBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ===== LOAD ANIMATIONS ===== */
.hero-overline,
.hero-title .line,
.hero-sub,
.hero-ctas,
.hero-ig {
  opacity: 0;
  transform: translateY(20px);
  animation: heroReveal 0.8s var(--ease-out-expo) forwards;
}
.hero-overline          { animation-delay: 0.1s; }
.hero-title .line-1     { animation-delay: 0.2s; }
.hero-title .line-2     { animation-delay: 0.35s; }
.hero-title .line-3     { animation-delay: 0.5s; }
.hero-sub               { animation-delay: 0.6s; }
.hero-ctas              { animation-delay: 0.75s; }
.hero-ig                { animation-delay: 0.85s; }

@keyframes heroReveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: left;
    padding: 120px 0 80px;
  }
  .hero-content { padding-right: 0; }
  .hero-art { display: none; }
}
