.hero {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 120px var(--space-md) var(--space-xl);
  background: var(--black); color: var(--white);
  position: relative; overflow: hidden;
}
.hero__bg, .hero__bg-video {
  position: absolute; inset: 0; opacity: 0.35; z-index: 0;
  will-change: transform;
}
.hero__bg { background-size: cover; background-position: center 30%; }
.hero__bg-video { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(180deg, rgba(18,20,24,0.7) 0%, rgba(18,20,24,0.3) 40%, rgba(18,20,24,0.8) 100%),
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(253,175,28,0.10) 0%, transparent 70%);
}
.hero__inner { max-width: 720px; position: relative; z-index: 1; }
.hero__headline {
  font-size: clamp(2.25rem, 6vw, 4rem);
  letter-spacing: -0.035em; line-height: 1.08;
  margin-bottom: var(--space-sm);
}
.hero__headline-line { white-space: nowrap; }
.hero__sub {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: rgba(255,255,255,0.7); line-height: 1.6;
  max-width: 520px; margin: 0 auto var(--space-lg);
}

/* ── Rotating word ── */
.hero__rotate {
  display: inline-block; position: relative; overflow: hidden;
  vertical-align: bottom; height: 1.12em;
  text-align: center; color: var(--gold, #fdaf1c);
}
.hero__rotate-word {
  display: block;
  transition: transform 0.45s cubic-bezier(0.77,0,0.18,1),
              opacity 0.45s cubic-bezier(0.77,0,0.18,1);
}
.hero__rotate-word.is-out { opacity: 0; transform: translateY(-110%); }
.hero__rotate-word.is-entering { opacity: 0; transform: translateY(80%); }

/* ── Highlight sweep on subline keywords ── */
.hero__highlight { position: relative; color: var(--white); display: inline-block; }
.hero__highlight::after {
  content: ''; position: absolute;
  bottom: 2px; left: -3px; right: -3px; height: 36%;
  background: var(--gold, #fdaf1c); opacity: 0.25; border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.hero__highlight.is-active::after { transform: scaleX(1); }

/* ── Typewriter second line ── */
.hero__typewriter::after {
  content: '|'; animation: blink 0.6s step-end infinite;
  color: var(--gold, #fdaf1c); font-weight: 400; margin-left: 2px;
}
.hero__typewriter.is-done::after { display: none; }
@keyframes blink { 50% { opacity: 0; } }

/* ── CTA ── */
.hero__cta .btn { font-size: 1.0625rem; padding: 16px 40px; }
.hero__secondary-link {
  display: block; margin-top: var(--space-sm);
  color: rgba(255,255,255,0.6); font-size: 0.9375rem; transition: color 0.2s;
}
.hero__secondary-link:hover { color: var(--white); }

@media (max-width: 768px) {
  .hero { min-height: 100svh; padding: 100px var(--space-md) 60px; }
  .hero__headline { font-size: clamp(1.6rem, 7vw, 2.5rem); }
  .hero__headline-line { white-space: normal; }
  .hero__sub { font-size: 0.95rem; }
  .hero__bg { background-position: 60% 30%; }
}
