/* Opening banner: warehouse photo, dark layer, welcome text in the middle. */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(340px, 60vh, 560px);
  overflow: hidden;
  color: #ffffff;
  text-align: center;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Keeps the white text readable on the bright parts of the photo. */
.hero__dim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero__content {
  position: relative;
  padding-block: 3rem;
}

.hero__kicker {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.hero__title {
  margin: 0 0 0.75rem;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
}

.hero__lead {
  max-width: 34rem;
  margin: 0 auto;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}
