.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.hero__video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, var(--veil-chip), var(--ink-clear) 30%, var(--ink-clear) 70%, var(--veil-light)),
    var(--veil-light);
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: calc(var(--header-h) + var(--s-7)) var(--s-9);
}

.hero__mark {
  margin: 0;
  line-height: 0;
}

.hero__mark img {
  width: clamp(240px, 32vw, 460px);
  height: auto;
}

.hero__rule {
  display: block;
  width: 64px;
  height: 1px;
  margin: var(--s-6) 0;
  background: var(--gold);
}

.hero .eyebrow {
  margin-bottom: var(--s-4);
}

.hero__actions {
  margin-top: var(--s-7);
}

@media (width <= 639px) {
  .hero__actions {
    width: 100%;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__content > * {
    opacity: 0;
    transform: translateY(8px);
    animation: hero-rise var(--duration-zoom) var(--ease) forwards;
  }

  .hero__content > :nth-child(1) {
    animation-delay: var(--hero-delay-1);
  }

  .hero__content > :nth-child(2) {
    transform: scaleX(0);
    animation: hero-rule var(--duration-reveal-draw) var(--ease) var(--hero-delay-2) forwards;
  }

  .hero__content > :nth-child(3) {
    animation-delay: var(--hero-delay-3);
  }

  .hero__content > :nth-child(4) {
    animation-delay: var(--hero-delay-4);
  }

  .hero__content > :nth-child(5) {
    animation-delay: var(--hero-delay-5);
  }
}

@keyframes hero-rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-rule {
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}
