/**
 * @file
 * Hero / frontpage banner.
 */

.hero {
  position: relative;
  overflow: hidden;
  background: var(--primary);
}

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

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(26, 26, 46, 0.92), rgba(26, 26, 46, 0.75), transparent);
}

.hero__inner {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 1024px) {
  .hero__inner {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }
}

.hero__content {
  max-width: 42rem;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero__eyebrow-line {
  height: 2px;
  width: 2.5rem;
  background: var(--accent);
}

.hero__eyebrow-text {
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: 3.75rem;
  }
}

.hero__title-accent {
  color: var(--highlight);
}

.hero__text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  line-height: 1.625;
  max-width: 36rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__stats {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
}

@media (min-width: 1024px) {
  .hero__stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.hero__stat {
  background: rgba(255, 255, 255, 0.05);
  padding: 1rem 1.5rem;
  text-align: center;
}

.hero__stat-value {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
}

.hero__stat-label {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.875rem;
  margin-top: 0.25rem;
}
