/* Galería 1.0.1: tarjetas uniformes y una mirada detrás de cámara. */
.behind-scenes {
  padding: 100px max(28px, calc((100vw - 1180px) / 2));
  background: var(--cream);
}

.behind-copy {
  text-align: center;
}

.behind-copy h2 {
  max-width: 820px;
  margin: 0 auto;
  font: 700 clamp(40px, 5vw, 60px) / 1.08 "Playfair Display", serif;
}

.behind-copy p {
  max-width: 760px;
  margin: 22px auto 38px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.behind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.behind-grid figure {
  position: relative;
  min-height: 330px;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: #dce3ea;
}

.behind-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.behind-grid figure::after {
  content: "";
  position: absolute;
  inset: 48% 0 0;
  background: linear-gradient(transparent, rgba(4, 15, 31, .86));
}

.behind-grid figcaption {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 19px;
  left: 22px;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
}

@media (max-width: 980px) {
  .behind-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .behind-scenes { padding: 76px 20px; }
  .behind-grid { grid-template-columns: 1fr; }
  .behind-grid figure { min-height: 330px; }
}
