/* R66 — restrained editorial gallery hero and responsive portrait grid. */
.gallery-page .gallery-hero-editorial {
  min-height: clamp(300px, 43vh, 470px) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px !important;
  box-sizing: border-box;
  background: #171513 !important;
  background-image: none !important;
  text-align: center;
}
.gallery-page .gallery-hero-copy {
  position: relative;
  z-index: 5;
  width: min(100%, 900px);
  margin: 0 auto;
  color: #f1e9df;
}
.gallery-page .gallery-hero-eyebrow {
  margin: 0 0 18px;
  color: #c28b70;
  font: 500 9px/1.5 "Jost", Arial, sans-serif;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.gallery-page .gallery-hero-copy h1 {
  margin: 0;
  color: #f1e9df;
  font: 400 clamp(42px, 6.2vw, 82px)/1.04 "Cormorant Garamond", Georgia, serif;
  letter-spacing: -.045em;
}
.gallery-page .gallery-hero-copy h1 em {
  color: #c17a5e;
  font-weight: 400;
}
.gallery-page .gallery-hero-subtitle {
  margin: 18px 0 0;
  color: rgba(241,233,223,.76);
  font: 300 13px/1.6 "Jost", Arial, sans-serif;
  letter-spacing: .045em;
}
.gallery-page .v13-gallery-collection {
  width: min(calc(100% - 64px), 1440px) !important;
  margin: 0 auto !important;
  padding: clamp(28px, 4vw, 52px) 0 clamp(56px, 7vw, 92px) !important;
}
.gallery-page .v13-gallery-track {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(10px, 1.15vw, 16px) !important;
}
.gallery-page .v13-gallery-card {
  aspect-ratio: 3 / 4 !important;
  background: #e2d8cc !important;
}
.gallery-page .v13-gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center;
}
@media (max-width: 900px) {
  .gallery-page .gallery-hero-editorial { min-height: clamp(280px, 36vh, 370px) !important; }
  .gallery-page .v13-gallery-collection { width: calc(100% - 40px) !important; }
  .gallery-page .v13-gallery-track { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 12px !important; }
}
@media (max-width: 650px) {
  .gallery-page .gallery-hero-editorial {
    min-height: 260px !important;
    padding: 40px 20px !important;
  }
  .gallery-page .gallery-hero-eyebrow { margin-bottom: 13px; font-size: 8px; }
  .gallery-page .gallery-hero-copy h1 { font-size: clamp(38px, 10vw, 50px); line-height: 1.08; }
  .gallery-page .gallery-hero-subtitle { margin-top: 12px; font-size: 11px; }
  .gallery-page .v13-gallery-collection { width: calc(100% - 28px) !important; padding: 22px 0 48px !important; }
  .gallery-page .v13-gallery-track { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .gallery-page .v13-gallery-card img { transition: none !important; }
}
