.photo-pending {
  min-height: 320px;
  background: #e9e3d8;
  color: #7a503c;
  display: grid;
  place-items: center;
  padding: 32px;
  text-align: center;
  font-size: 12px;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.reference-cards .photo-pending { height: 100%; min-height: 0; }
.experience-image .photo-pending { height: 100%; }

.gallery-item:nth-child(13) {
  grid-column: span 7;
  grid-row: span 3;
}

.gallery-item:nth-child(14) {
  grid-column: span 5;
  grid-row: span 3;
}

.gallery-item:nth-child(n+15) {
  grid-column: span 3;
  grid-row: span 2;
}

.buffet-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 16px 7vw 96px;
  background: var(--paper);
}

.buffet-gallery figure {
  position: relative;
  min-height: 330px;
  margin: 0;
  overflow: hidden;
  background: #d9d4ca;
}

.buffet-gallery img {
  transition: transform .8s var(--ease);
}

.buffet-gallery figure:hover img { transform: scale(1.035); }

.buffet-gallery figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 38px 18px 17px;
  color: #fff;
  background: linear-gradient(transparent, rgba(4, 13, 21, .72));
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .buffet-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-item:nth-child(n+13) { grid-column: span 6; grid-row: span 2; }
}

@media (max-width: 720px) {
  .buffet-gallery { padding: 10px 22px 72px; }
  .buffet-gallery figure { min-height: 58vw; }
  .gallery-item:nth-child(n+13) { grid-column: auto; grid-row: auto; }
}
.placement-section { padding: 110px 7vw; background: var(--paper); }
.apartment-pair { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-top: 50px; }
.apartment-pair figure, .placement-grid figure { margin: 0; }
.apartment-pair img { height: 520px; width: 100%; object-fit: cover; }
.placement-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 45px; }
.placement-grid img { width: 100%; height: 220px; object-fit: cover; }
.placement-grid figcaption, .apartment-pair figcaption { padding-top: 12px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.about-placement-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 45px; }
.about-placement-grid article { background: #fff; }
.about-placement-grid img { width: 100%; height: 360px; object-fit: cover; }
.about-placement-grid div { padding: 24px; }
.about-placement-grid h3 { font-family: var(--serif); font-size: 30px; font-weight: 400; margin: 0 0 10px; }
.about-placement-grid p { color: var(--muted); line-height: 1.6; }

@media (max-width: 900px) {
  .apartment-pair, .about-placement-grid { grid-template-columns: 1fr; }
  .placement-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .placement-grid { grid-template-columns: 1fr; }
  .apartment-pair img { height: 340px; }
}

/* Dense, editorial HD gallery with deliberate rhythm and minimal dead space. */
.gallery-section { padding-inline: clamp(18px, 3vw, 46px); }
.gallery-grid.gallery-grid-hd {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(150px, 17vw, 260px);
  gap: clamp(8px, 1vw, 15px);
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
}
.gallery-grid-hd .gallery-item {
  grid-column: span 4;
  grid-row: span 1;
  min-height: 0;
}
.gallery-grid-hd .gallery-item:nth-child(1),
.gallery-grid-hd .gallery-item:nth-child(6) { grid-column: span 8; grid-row: span 2; }
.gallery-grid-hd .gallery-item:nth-child(2),
.gallery-grid-hd .gallery-item:nth-child(7) { grid-column: span 4; grid-row: span 2; }
.gallery-grid-hd .gallery-item img { width: 100%; height: 100%; object-fit: cover; }

.apartment-triptych { grid-template-columns: 1.15fr 1fr 1fr; }
.apartment-triptych img { height: 460px; }

@media (max-width: 900px) {
  .gallery-grid.gallery-grid-hd { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 38vw; }
  .gallery-grid-hd .gallery-item,
  .gallery-grid-hd .gallery-item:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gallery-grid-hd .gallery-item:nth-child(1),
  .gallery-grid-hd .gallery-item:nth-child(6) { grid-column: span 2; }
  .apartment-triptych { grid-template-columns: 1fr; }
  .apartment-triptych img { height: 440px; }
}

@media (max-width: 560px) {
  .gallery-section { padding-inline: 14px; }
  .gallery-grid.gallery-grid-hd { gap: 8px; grid-auto-rows: 62vw; }
  .gallery-grid-hd .gallery-item:nth-child(n) { grid-column: span 1; }
  .gallery-grid-hd .gallery-item:nth-child(1),
  .gallery-grid-hd .gallery-item:nth-child(6) { grid-column: span 2; grid-row: span 1; }
  .apartment-triptych img { height: 320px; }
}
