/* Hero / intro section. */

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: 85vh;
  display: flex;
  align-items: stretch;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(18, 20, 22, 0.72) 0%, rgba(18, 20, 22, 0) 32%),
    linear-gradient(
      100deg,
      rgba(18, 20, 22, 0.84) 0%,
      rgba(18, 20, 22, 0.55) 45%,
      rgba(18, 20, 22, 0.18) 100%
    );
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-4) var(--space-3) var(--space-6);
}

.hero__title {
  font-size: var(--fs-3xl);
  font-weight: 800;
  margin-bottom: var(--space-2);
  max-width: 42rem;
  transform: translateY(-0.5rem);
}

.hero__sub {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: var(--space-3);
  max-width: 34rem;
  transform: translateY(-0.5rem);
}

.hero__actions {
  position: absolute;
  right: var(--space-3);
  bottom: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.hero .btn {
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.hero .btn:hover,
.hero .btn:active {
  background: transparent;
  border-color: #fff;
  color: #fff;
  transform: translateY(-3px);
}

.hero .btn--outline {
  background: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.hero .btn--outline:hover,
.hero .btn--outline:active {
  background: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
  transform: translateY(-3px);
}

@media (max-width: 48rem) {
  .hero__title {
    font-size: var(--fs-2xl);
  }
  .hero__sub {
    font-size: var(--fs-base);
  }
  .hero__content {
    justify-content: flex-start;
    padding-top: var(--space-6);
    padding-bottom: var(--space-4);
  }
}
