*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Lato", sans-serif;
  color: #373737;
  background: #ffffff;
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(222, 98, 98, 0.72), rgba(168, 74, 74, 0.78)),
    url("/assets/hero-bg.jpg") center / cover no-repeat;
}

.hero__overlay {
  width: min(92vw, 720px);
  padding: 3rem 1.5rem;
}

.hero__content {
  text-align: center;
  color: #ffffff;
}

.hero__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
}

h1,
h2 {
  margin: 0;
  font-weight: 700;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: -0.02em;
}

h2 {
  margin-top: 0.35rem;
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 400;
  opacity: 0.95;
}

.hero__copy {
  margin: 1.75rem auto 0;
  max-width: 34ch;
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero__signoff {
  margin: 1.5rem 0 2rem;
  font-size: 1.05rem;
  line-height: 1.6;
}

.hero__social {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.hero__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 0.35rem;
  color: #ffffff;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.hero__social a:hover,
.hero__social a:focus-visible {
  opacity: 0.75;
  border-color: rgba(255, 255, 255, 0.65);
  outline: none;
}

.hero__social svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
}

@media (max-width: 580px) {
  .hero__overlay {
    padding: 2rem 1rem;
  }
}
