.capture-gallery {
  color: #112b35;
  background: #f6f6ee;
  padding-block: clamp(2.8rem, 6.1vw, 5.5rem);
}
.capture-gallery__head {
  max-width: 40rem;
  margin-bottom: clamp(1.5rem, 2.6vw, 2.5rem);
}
.capture-gallery__kicker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #41605b;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.085em;
  line-height: 1.3;
  text-transform: uppercase;
}
.capture-gallery__kicker::before {
  content: "";
  width: 1.6rem;
  height: 3px;
  background: currentColor;
}
.capture-gallery h2 {
  margin-top: 0.4rem;
  font: 400 clamp(2.6rem, 4.6vw, 4.25rem) / 0.98 var(--display);
  letter-spacing: -0.04em;
}
.capture-gallery__lede {
  margin-top: 0.9rem;
  color: #35514f;
  font-size: clamp(1.02rem, 1.3vw, 1.15rem);
  line-height: 1.5;
}
/* Five phone-shaped shots in one row on laptops; a swipeable row on phones. */
.capture-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 248px));
  justify-content: space-between;
  gap: clamp(0.75rem, 1.4vw, 1.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.capture-row li {
  padding: 5px;
}
.capture-row img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  background: #d9ddd3;
  box-shadow:
    0 0 0 5px #102636,
    0 14px 30px -16px #10263680;
}
@media (max-width: 940px) {
  .capture-row {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(62vw, 248px);
    justify-content: start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1rem;
    margin-inline: -1rem;
    padding: 0.25rem 1rem 1rem;
    scrollbar-width: none;
  }
  .capture-row::-webkit-scrollbar {
    display: none;
  }
  .capture-row li {
    scroll-snap-align: start;
  }
}
@media (max-width: 720px) {
  .capture-gallery {
    padding-block: 2.2rem 2.4rem;
  }
  .capture-gallery h2 {
    font-size: clamp(2.15rem, 8.4vw, 3.8rem);
  }
}
