/* Full-width video hero */
.hero {
  width: 100%;
  max-width: none;
  min-height: min(820px, 100svh);
  margin: 0;
  padding: 0;
  display: block;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #24231f;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -2;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(18, 18, 16, 0.88) 0%,
    rgba(18, 18, 16, 0.7) 42%,
    rgba(18, 18, 16, 0.24) 100%
  );
}

.hero-content {
  width: 100%;
  max-width: var(--max);
  min-height: inherit;
  margin: auto;
  padding: 150px 30px 125px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  position: relative;
  z-index: 1;
  color: #fff;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.86);
}

.hero .eyebrow-line {
  background: var(--yellow);
}

.hero h1 {
  max-width: 780px;
  color: #fff;
  font-size: clamp(50px, 6.2vw, 82px);
  line-height: 1.08;
}

.hero h1 span {
  color: var(--yellow);
}

.hero-content > p {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.85;
  font-size: 14px;
}

.hero .button-yellow {
  color: var(--ink);
}

.hero .text-link {
  color: #fff;
}

.hero .text-link:hover {
  color: var(--yellow);
}

.hero-note {
  color: rgba(255, 255, 255, 0.76);
}

.hero-note b {
  color: #fff;
}

.hero-bottom {
  width: min(calc(100% - 60px), calc(var(--max) - 60px));
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.76);
}

.hero-bottom a:hover {
  color: var(--yellow);
}

@media (max-width: 800px) {
  .hero {
    min-height: 760px;
  }

  .hero-content {
    min-height: inherit;
    padding: 130px 25px 125px;
  }

  .hero-shade {
    background: linear-gradient(
      90deg,
      rgba(18, 18, 16, 0.82) 0%,
      rgba(18, 18, 16, 0.64) 100%
    );
  }

  .hero-bottom {
    width: calc(100% - 50px);
  }
}

@media (max-width: 400px) {
  .hero-content {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero-bottom {
    width: calc(100% - 40px);
    font-size: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
}
