/* =============================================
   HERO — 3-STEP SCROLL, NO OVERLAP
   ============================================= */

#hero-pin { height: 600vh; position: relative; }

#hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: #050505;
}

/* Canvas full bg */
#hero-canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s;
}
#hero-canvas { display: block; width: 100%; height: 100%; }

/* Gradient overlay — keeps text readable */
#hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  background:
    linear-gradient(to right,  rgba(5,5,5,0.95) 0%, rgba(5,5,5,0.72) 45%, rgba(5,5,5,0.2) 72%, transparent 90%),
    linear-gradient(to bottom, rgba(5,5,5,0.5) 0%, transparent 25%),
    linear-gradient(to top,    rgba(5,5,5,0.8) 0%, transparent 40%);
}

/* Vignette — strong radial dark from edges, no hard bottom edge */
#hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(ellipse 120% 100% at 50% 50%, transparent 25%, rgba(5,5,5,0.85) 100%),
    linear-gradient(to bottom, transparent 55%, rgba(8,8,8,1) 100%);
}

/* ——— Text area ——— */
#hero-content {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  padding-top: 64px;
  padding-bottom: 60px;
  padding-left: max(24px, 8vw);
  padding-right: max(24px, 6vw);
}

/* Single text column */
.h-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: 100%;
  max-width: 560px;
}

/* Badge — fades in once, stays */
.h-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: var(--pill);
  background: rgba(255,85,0,0.1);
  border: 1px solid rgba(255,85,0,0.3);
  font-family: var(--fh);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--o-lt);
  margin-bottom: 22px;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}
.h-badge.on { opacity: 1; }
.h-badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--o);
  flex-shrink: 0;
  animation: pulse-o 1.8s ease infinite;
}

/* ——— Headline slot ———
   CSS grid stacking: all .h-title share the same cell → no layout shift,
   only opacity changes. Container height = tallest headline automatically. */
.h-titles {
  display: grid;
  width: 100%;
  margin-bottom: 18px;
}
.h-title {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}
.h-title.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.h-title h1 {
  font-size: clamp(2.3rem, 4.8vw, 4.4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.04em;
  color: #fff;
}
.h-title h1 em {
  font-style: normal;
  color: var(--o);
  text-shadow: 0 0 40px rgba(255,85,0,0.45);
}

/* ——— Body slot — same grid stacking trick ——— */
.h-bodies {
  display: grid;
  width: 100%;
  margin-bottom: 28px;
}
.h-body {
  grid-area: 1 / 1;
  font-size: clamp(0.88rem, 1.05vw, 0.98rem);
  color: rgba(237,237,237,0.55);
  line-height: 1.68;
  max-width: 440px;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.h-body.active {
  opacity: 1;
  pointer-events: auto;
}

/* CTA */
.h-cta {
  margin-bottom: 14px;
  opacity: 0;
  transition: opacity 0.65s 0.24s var(--ease);
}
.h-cta.on { opacity: 1; }

/* Price */
.h-price {
  opacity: 0;
  transition: opacity 0.65s 0.32s var(--ease);
}
.h-price.on { opacity: 1; }
.h-price-note {
  font-size: 0.74rem;
  color: rgba(237,237,237,0.32);
  margin-top: 8px;
  line-height: 1.5;
}

/* Scroll cue */
#hero-cue {
  position: absolute;
  bottom: 72px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
#hero-cue.on { opacity: 1; }
#hero-cue span {
  font-family: var(--fh);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(237,237,237,0.22);
}
.cue-bar {
  width: 1px; height: 32px;
  background: linear-gradient(to bottom, rgba(255,85,0,0.5), transparent);
  animation: cue 2.2s ease infinite;
}
@keyframes cue {
  0%,100% { opacity:1; transform:scaleY(1) }
  50%      { opacity:0.2; transform:scaleY(0.4) }
}

/* Mobile */
@media (max-width: 768px) {
  #hero-overlay {
    background: linear-gradient(to bottom, rgba(5,5,5,0.9), rgba(5,5,5,0.65));
  }
  #hero-vignette {
    background:
      radial-gradient(ellipse 140% 100% at 50% 50%, transparent 15%, rgba(5,5,5,0.8) 100%),
      linear-gradient(to bottom, transparent 50%, rgba(8,8,8,1) 100%);
  }
  #hero-content { padding-left: 24px; padding-right: 24px; }
  .h-col { max-width: 100%; }
}
