.hero {
  position: relative;
  background: var(--onyx-bg);
  overflow: hidden;
  padding: 40px 0 0;
}

.hero__bg-right {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: auto;
  pointer-events: none;
  z-index: 0;
  display: flex;
  align-items: center;
}
.hero__bg-right img {
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: contain;
  object-position: right center;
}

.hero__container {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 120px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 40px;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-bottom: 4rem;
}

.hero__eyebrow {
  font-family: var(--font-montserrat);
  font-weight: 500;
  font-size: 24px;
  color: var(--onyx-muted-2);
  margin: 0;
}

.hero__title {
  font-family: var(--font-michroma);
  font-size: 60px;
  line-height: 1.25;
  color: var(--onyx-text);
  margin: 0;
  word-break: break-word;
}

.hero__subtitle {
  font-family: var(--font-montserrat);
  font-weight: 500;
  font-size: 18px;
  color: var(--onyx-muted);
  line-height: 1.5;
  margin: 0;
}

.hero__cta {
  align-self: flex-start;
}

.hero__media {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  align-self: end;
  font-size: 0;
  line-height: 0;
}
.hero__media img {
  width: 100%;
  max-width: 720px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0;
  vertical-align: bottom;
}

@media (max-width: 1200px) {
  .hero__container {
    padding: 0 60px;
  }
  .hero__title {
    font-size: 52px;
  }
}

@media (max-width: 1023px) {
  .hero {
    padding: 24px 0 0;
  }
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  .hero__content {
    max-width: 100%;
    margin: 0 auto;
    align-items: center;
    padding-bottom: 0;
  }
  .hero__cta {
    align-self: center;
  }
  .hero__title {
    font-size: 44px;
  }
  .hero__eyebrow {
    font-size: 20px;
  }
  .hero__subtitle {
    font-size: 16px;
  }
  .hero__bg-right {
    opacity: 0.2;
  }
}

@media (max-width: 767px) {
  .hero__container {
    padding: 0 20px;
  }
  .hero__title {
    font-size: 32px;
    line-height: 1.15;
  }
  .hero__eyebrow {
    font-size: 16px;
  }
  .hero__subtitle {
    font-size: 15px;
  }
  .hero__bg-right {
    display: none;
  }
  .hero__media img {
    max-width: 320px;
  }
}
