.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--bg-secondary);
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-canvas);
}

.hero-content {
  position: relative;
  z-index: var(--z-content);
  text-align: center;
  max-width: 800px;
  padding: 0 var(--container-pad);
}

.hero-headline {
  font-weight: var(--fw-bold);
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.hero-sub {
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-label {
  font-size: 1rem;
}

/* ── Fade-in states (set by JS) ── */
.hero-label,
.hero-headline,
.hero-sub,
.hero-cta {
  opacity: 0;
  transform: translateY(20px);
}

@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: 5rem;
    width: 100vw;
    max-width: 100vw;
  }

  .hero-headline {
    font-size: clamp(2.5rem, 12vw, 4.5rem);
  }

  .hero-label {
    font-size: 0.85rem;
  }

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