.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  color: #f7f3eb;
  background: #171817;
  isolation: isolate;
}

.hero__video,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__video {
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #171817;
}

.hero__overlay {
  z-index: -1;
  background:
    radial-gradient(circle at 56% 48%, rgba(14, 15, 14, 0.06) 0 22%, rgba(14, 15, 14, 0.28) 48%, transparent 70%),
    linear-gradient(90deg, rgba(14, 15, 14, 0.84) 0%, rgba(14, 15, 14, 0.46) 34%, rgba(14, 15, 14, 0.14) 62%, rgba(14, 15, 14, 0.28) 100%),
    linear-gradient(180deg, rgba(14, 15, 14, 0.42) 0%, rgba(14, 15, 14, 0.06) 38%, rgba(14, 15, 14, 0.74) 100%);
}

.hero__container {
  position: relative;
  display: grid;
  align-content: end;
  width: min(calc(100% - clamp(32px, 7vw, 96px)), 1280px);
  min-height: 100svh;
  margin-inline: auto;
  padding-block: clamp(112px, 17svh, 176px) clamp(104px, 13svh, 150px);
}

.hero__content {
  width: min(100%, 620px);
  max-width: clamp(560px, 33vw, 620px);
  animation: hero-content-in 700ms ease both;
}

.hero__eyebrow {
  margin: 0 0 18px;
  color: #f0c9ad;
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero__title {
  max-width: 620px;
  margin: 0;
  font-size: clamp(52px, 5vw, 82px);
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 0.92;
  text-wrap: balance;
}

.hero__title span {
  display: block;
}

.hero__subtitle {
  max-width: min(100%, 600px);
  margin: clamp(22px, 3vw, 30px) 0 0;
  color: rgba(247, 243, 235, 0.86);
  font-size: clamp(17px, 1.25vw, 20px);
  line-height: 1.45;
  overflow-wrap: break-word;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: clamp(30px, 4vw, 42px);
  animation: hero-actions-in 760ms ease 120ms both;
}

.hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.hero__button:hover,
.hero__button:focus-visible {
  transform: translateY(-1px);
}

.hero__button--primary {
  color: #ffffff;
  background: #c7352f;
}

.hero__button--primary:hover,
.hero__button--primary:focus-visible {
  background: #a92a26;
}

.hero__button--secondary {
  color: #f7f3eb;
  background: rgba(247, 243, 235, 0.08);
  border-color: rgba(247, 243, 235, 0.32);
  backdrop-filter: blur(10px);
}

.hero__button--secondary:hover,
.hero__button--secondary:focus-visible {
  border-color: rgba(247, 243, 235, 0.66);
}

.hero__meta {
  position: absolute;
  right: 0;
  bottom: clamp(78px, 10svh, 120px);
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(247, 243, 235, 0.72);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__meta::before {
  width: clamp(48px, 8vw, 112px);
  height: 1px;
  content: "";
  background: rgba(247, 243, 235, 0.42);
}

@keyframes hero-content-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-actions-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .hero__overlay {
    background:
      radial-gradient(circle at 58% 46%, rgba(14, 15, 14, 0.06) 0 21%, rgba(14, 15, 14, 0.3) 48%, transparent 70%),
      linear-gradient(90deg, rgba(14, 15, 14, 0.88) 0%, rgba(14, 15, 14, 0.58) 45%, rgba(14, 15, 14, 0.26) 100%),
      linear-gradient(180deg, rgba(14, 15, 14, 0.5) 0%, rgba(14, 15, 14, 0.12) 38%, rgba(14, 15, 14, 0.82) 100%);
  }

  .hero__meta {
    right: 0;
    bottom: clamp(80px, 10svh, 112px);
  }
}

@media (max-width: 768px) {
  .hero__video {
    object-position: 64% center;
  }

  .hero__container {
    width: min(calc(100% - 40px), 1280px);
    padding-block: 116px 86px;
  }

  .hero__content {
    width: 100%;
    max-width: 560px;
  }

  .hero__title {
    max-width: 560px;
    font-size: clamp(46px, 9vw, 68px);
    letter-spacing: -0.035em;
  }

  .hero__subtitle {
    max-width: min(100%, 520px);
  }

  .hero__meta {
    display: none;
  }
}

@media (max-width: 430px) {
  .hero {
    min-height: 100dvh;
  }

  .hero__container {
    min-height: 100dvh;
    width: min(calc(100% - 32px), 1280px);
    padding-block: 102px 74px;
  }

  .hero__video {
    object-position: 70% center;
  }

  .hero__overlay {
    background:
      radial-gradient(circle at 64% 35%, rgba(14, 15, 14, 0.04) 0 19%, rgba(14, 15, 14, 0.28) 48%, transparent 70%),
      linear-gradient(90deg, rgba(14, 15, 14, 0.9) 0%, rgba(14, 15, 14, 0.68) 58%, rgba(14, 15, 14, 0.36) 100%),
      linear-gradient(180deg, rgba(14, 15, 14, 0.56) 0%, rgba(14, 15, 14, 0.16) 34%, rgba(14, 15, 14, 0.9) 100%);
  }

  .hero__eyebrow {
    max-width: 280px;
  }

  .hero__subtitle {
    font-size: 16px;
    line-height: 1.42;
    max-width: 340px;
  }

  .hero__title {
    font-size: clamp(40px, 11vw, 46px);
  }

  .hero__actions {
    display: grid;
    width: 100%;
  }

  .hero__button {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .hero__content {
    max-width: 100%;
  }

  .hero__subtitle {
    max-width: 340px;
  }
}

@media (max-width: 390px) {
  .hero__title {
    font-size: 40px;
  }

  .hero__subtitle {
    max-width: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__content,
  .hero__actions {
    animation: none;
  }

  .hero__button {
    transition-duration: 0.01ms;
  }
}
