.hero {
  --halftone-opacity: .7;
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(420px, 52vw, 600px);
  background: var(--navy-dark) url("../../img/photos/hero-737.jpg") center 40% / cover no-repeat;
  color: var(--cream);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(22, 37, 59, .75) 0%, rgba(22, 37, 59, .35) 45%, transparent 70%);
}
.hero::after { mask-image: linear-gradient(transparent 15%, #000 85%); }
.hero__content { position: relative; z-index: 1; padding-block: 48px; }
.hero h1 {
  max-width: 11ch;
  margin-bottom: 28px;
  font-size: clamp(2.5rem, 6.4vw, 5rem);
  line-height: 1;
  letter-spacing: -.035em;
  color: var(--cream);
  text-shadow: 0 2px 0 rgba(22, 37, 59, .25);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.sections-title { font-size: 1rem; color: var(--muted); }

.feature {
  --halftone-opacity: .55;
  display: flex;
  flex-direction: column;
  color: var(--cream);
  background: var(--navy) var(--halftone-light);
  box-shadow: var(--shadow);
}
.feature::after { inset: 0 0 auto; aspect-ratio: 16 / 9; }
.feature__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 62%; }
.feature__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 3vw, 32px);
}
.feature h2 {
  margin: .2em 0 .3em;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1;
  color: var(--cream);
}
.feature p { max-width: 52ch; }
.feature .btn { align-self: flex-start; }

@media (max-width: 640px) {
  .hero::before { background: linear-gradient(90deg, rgba(22, 37, 59, .8), rgba(22, 37, 59, .45)); }
}
