.gallery-choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 58px;
}

.gallery-choice {
  position: relative;
  min-height: clamp(190px, 22vw, 300px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  background: linear-gradient(140deg, #3b3d3e, #161819 70%);
}

.gallery-choice:nth-child(2n) { background: linear-gradient(140deg, #35322f, #151617 70%); }
.gallery-choice:nth-child(3n) { background: linear-gradient(140deg, #303840, #151617 70%); }

.gallery-choice::after {
  content: '';
  position: absolute;
  inset: 25% 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, .74));
  pointer-events: none;
}

.gallery-choice img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.gallery-choice:hover img,
.gallery-choice:focus-visible img { transform: scale(1.04); }

.gallery-choice span {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3px;
  padding: 20px;
}

.gallery-choice strong {
  font: 400 clamp(1.45rem, 2vw, 2rem)/1.2 var(--serif);
}

.gallery-choice small {
  color: #ddd;
  font-size: .73rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.gallery-heading { margin: 0 0 24px; font: 400 2.1rem/1.2 var(--serif); }
.gallery-back { display: inline-block; margin: 0 0 26px; padding-bottom: 5px; border-bottom: 1px solid rgba(255, 255, 255, .5); }
.gallery-grid .empty-state { grid-column: 1 / -1; }

@media (max-width: 900px) { .gallery-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 550px) { .gallery-choices { grid-template-columns: 1fr; gap: 12px; } .gallery-choice { min-height: 180px; } }
