.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(112px, 21vh, 220px) var(--gutter) clamp(150px, 26vh, 300px);
  overflow: hidden;
  touch-action: pan-y;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 40% at 50% 72%, rgba(255, 255, 255, 0.07), transparent 100%),
    radial-gradient(50% 30% at 50% 0%, rgba(255, 255, 255, 0.05), transparent 70%);
  -webkit-mask-image: linear-gradient(#000 70%, transparent 100%);
  mask-image: linear-gradient(#000 70%, transparent 100%);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(#000 80%, transparent 100%);
  mask-image: linear-gradient(#000 80%, transparent 100%);
  transition: opacity 1.2s ease 0.2s;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 62rem;
  text-align: center;
}

.hero__title {
  font-size: clamp(2.1rem, 0.4rem + 6.4vw, 5.4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
  color: #dcdcdc;
}

.hero__title .muted {
  color: var(--muted);
}

@media (prefers-reduced-motion: no-preference) {
  .hero__title .word {
    animation: word-sheen 9s ease-in-out infinite;
    animation-delay: calc(var(--w, 0) * 90ms);
  }

  .hero__title .muted .word {
    animation: none;
  }
}

@keyframes word-sheen {
  0%,
  12%,
  100% {
    color: #dcdcdc;
  }
  6% {
    color: #fff;
  }
}

.hero__sub {
  max-width: 34rem;
  margin-top: 24px;
  font-size: clamp(0.95rem, 0.6rem + 0.9vw, 1.1rem);
  color: #a8a8a8;
}

.hero__content .button {
  margin-top: 32px;
}

.reveal {
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: calc(var(--i, 0) * 90ms + 150ms);
}

.intro-pending .reveal {
  opacity: 0;
  transform: translateY(24px);
}
