/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + var(--space-lg));
  padding-bottom: var(--space-lg);
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__video,
.hero__fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__fallback {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__video {
  position: relative;
  z-index: 1;
}

.hero__video:not(.is-ready) {
  opacity: 0;
}

.hero__video {
  transition: opacity var(--t-slow);
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(8, 13, 21, 0.62) 0%, rgba(8, 13, 21, 0.34) 38%, rgba(8, 13, 21, 0.86) 100%),
    radial-gradient(90% 62% at 50% 46%, rgba(8, 13, 21, 0.58), transparent 74%);
}

.hero__inner {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero__eyebrow {
  color: var(--color-gold-light);
  text-shadow: 0 1px 12px rgba(8, 13, 21, 0.9);
}

.hero__title {
  margin: 0 0 var(--space-md);
  font-size: var(--fs-hero);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--color-white);
  text-wrap: balance;
}

.hero__line {
  display: block;
  overflow: hidden;
}

.hero__line>.line-inner {
  display: block;
}

.hero__sub {
  max-width: 34ch;
  margin: 0 auto var(--space-lg);
  font-size: var(--fs-lead);
  color: rgba(255, 255, 255, 0.86);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-xs);
}

.hero--page {
  min-height: 78svh;
}

.hero--page .hero__inner {
  justify-content: flex-end;
  padding-bottom: var(--space-lg);
}

.hero--page .hero__title {
  font-size: var(--fs-h1);
}