.shoot-grid,
.archive-grid {
  display: grid;
  gap: clamp(8px, 1.25vw, 18px);
}
.shoot-grid { grid-template-columns: 2fr 1fr 1fr; }
.shoot-grid > :first-child { grid-row: span 2; }
@media (min-width: 701px) {
  .shoot-grid.portrait-set { grid-template-columns: 2fr repeat(3, minmax(0, 1fr)); }
}
.previous-shoot { margin-top: clamp(44px, 6vw, 80px); }
.gallery-tile {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  min-width: 0;
  overflow: hidden;
  background: #c5dfec;
  border-radius: 12px;
  color: white;
}
.shoot-grid > :first-child { aspect-ratio: auto; }
.gallery-tile img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}
.gallery-tile:hover img { transform: scale(1.025); }
.gallery-tile:focus-visible { outline-color: #752253; }
.tile-label {
  position: absolute;
  inset: auto 0 0;
  padding: 35px 14px 12px;
  background: linear-gradient(transparent, #140b1cb5);
  font-size: 13px;
  font-weight: 700;
}
.shoot-grid > :first-child .tile-label { font: italic clamp(22px, 2.4vw, 34px) Georgia, serif; }
.gallery-archive {
  margin-top: 24px;
  border-top: 1px solid #21143d35;
  border-bottom: 1px solid #21143d35;
}
.gallery-archive summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 4px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.gallery-archive summary::-webkit-details-marker { display: none; }
.gallery-archive summary::after { content: '+'; font-size: 21px; margin-left: auto; }
.gallery-archive[open] summary::after { content: '−'; }
.gallery-archive summary span { color: #685675; font-size: 12px; font-weight: normal; }
.gallery-archive summary:focus-visible { outline: 3px solid #752253; }
.archive-grid { grid-template-columns: repeat(3, 1fr); padding-bottom: 20px; }
body.modal-open { overflow: hidden; }
.lightbox {
  margin: auto;
  padding: max(54px, env(safe-area-inset-top)) 16px max(12px, env(safe-area-inset-bottom));
  width: 100%; height: 100%; height: 100dvh;
  max-width: 100%; max-height: 100dvh;
  border: 0;
  background: #100b1b;
  color: white;
}
.lightbox::backdrop { background: #100b1b; }
.lightbox[open] {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center; justify-items: center;
  gap: 10px;
}
.lightbox-image {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; border-radius: 5px; touch-action: pan-y pinch-zoom;
}
.lightbox button {
  background: #30253b; border: 1px solid #ffffff42; color: white;
  width: 46px; height: 46px; border-radius: 50%;
  font-size: 30px; line-height: 1; cursor: pointer;
}
.lightbox button:hover { background: #4b3657; }
.close-lightbox { position: absolute; top: max(5px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); }
.viewer-controls {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; width: min(100%, 440px);
}
.viewer-status { text-align: center; }
.lightbox-counter { color: var(--pink); font-size: 11px; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.lightbox-caption { margin: 4px 0 0; color: var(--ice); font-size: 15px; }
@media (max-width: 700px) {
  .nav-items { gap: clamp(6px, 2vw, 14px); }
  .nav-items > a.gallery-nav { display: inline-flex; align-items: center; min-height: 44px; font-size: 11px; }
  .shoot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shoot-grid > :first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 4.2; }
  .shoot-grid > :first-child img { object-position: 50% 24%; }
  .tile-label { padding: 25px 9px 9px; font-size: 12px; }
  .gallery-tile { border-radius: 9px; }
  .archive-grid { gap: 6px; }
  .archive-grid .tile-label { font-size: 10px; }
  .lightbox { padding-left: 4px; padding-right: 4px; }
  .viewer-controls { padding: 0 12px; }
}
