.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 10, 18, 0.58) 0%,
    rgba(7, 10, 18, 0.46) 38%,
    rgba(7, 10, 18, 0.72) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero {
  min-height: calc(100vh - 112px);
  color: #fff;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: stretch;
}

/* .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 10, 18, 0.58) 0%,
    rgba(7, 10, 18, 0.46) 38%,
    rgba(7, 10, 18, 0.72) 100%
  );
  z-index: 1;
  pointer-events: none;
} */


.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}





.hero-shell.wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: inherit;
  width: 100%;
  max-width: none;
  padding-inline: 24px;
}

.hero-content {
  width: min(100%, 960px);
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(108px, 14vh, 168px) 0 clamp(80px, 10vh, 120px);
  transform: translateY(clamp(-300px, -10.5vh, -16px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: clamp(20px, 2vw, 28px);
  text-align: center;
}

.hero-eyebrow {
  margin: 0;
  font-size: clamp(1.4rem, 0.62rem + 0.48vw, 1rem);
  line-height: 1.35;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d7b25f;
  font-weight: 700;
  max-width: 34ch;
}


.hero-heading-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(12px, 1.8vw, 18px);
  width: 100%;
}

.hero-title,
.hero-rotator {
  width: 100%;
  margin: 0;
  font-size: clamp(3.3rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
  font-weight: 700;
  text-align: center;
}

.hero-title {
  text-wrap: balance;
}

.hero-rotator {
  position: relative;
  display: grid;
  place-items: center;
  color: #d7b25f;
}

.hero-rotator-viewport {
  position: relative;
  width: min(100%, 15ch);
  min-height: 1.08em;
  overflow: hidden;
  margin: 0 auto;
}

.hero-rotator-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.02em 0 0.08em;
  opacity: 0;
  transform: translate3d(0, 110%, 0);
  transition: opacity 560ms ease, transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  text-align: center;
  text-wrap: balance;
}

.hero-rotator-item[hidden] {
  display: none;
}

.hero-rotator-item.is-active,
.hero-rotator-item.is-enter,
.hero-rotator-item.is-exit {
  display: flex;
}

.hero-rotator-item.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  position: relative;
}

.hero-rotator-item.is-enter {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.hero-rotator-item.is-exit {
  opacity: 0;
  transform: translate3d(0, -110%, 0);
}

.hero-description {
  margin: 0;
  font-size: clamp(1rem, 0.92rem + 0.55vw, 1.3rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 58ch;
  text-align: center;
}

.hero-actions {
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

@media (max-width: 960px) {
  .hero::before {
    background: linear-gradient(180deg, rgba(7, 10, 18, 0.62) 0%, rgba(7, 10, 18, 0.52) 34%, rgba(7, 10, 18, 0.74) 100%);
  }



  .hero-content {
    width: min(100%, 760px);
    max-width: 760px;
    padding-top: clamp(124px, 18vh, 170px);
    padding-bottom: clamp(72px, 10vh, 108px);
  }

  .hero-title,
  .hero-rotator {
    line-height: 1;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: calc(100vh - 88px);
  }

  .hero-shell.wrap {
    padding-inline: 20px;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    padding-top: clamp(116px, 17vh, 146px);
    padding-bottom: 72px;
    gap: 18px;
  }

  .hero-eyebrow {
    letter-spacing: 0.14em;
    max-width: 100%;
  }

  .hero-title,
  .hero-rotator {
    font-size: clamp(2.7rem, 11vw, 4rem);
  }

  .hero-rotator-viewport {
    width: min(100%, 12ch);
  }

  .hero-description {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-actions {
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-rotator-item {
    transition: none;
  }
}
