/* The photo story is a standalone composition, with no gallery controls. */
.photo-story {
  padding: 65px 23px 64px;
  background: #fff;
}
.story-composition {
  display: grid;
  grid-template-columns: repeat(20, minmax(0, 1fr));
  grid-template-rows: repeat(22, minmax(0, 1fr));
  aspect-ratio: 1 / 1.54;
}
.story-composition figure { margin: 0; min-width: 0; min-height: 0; }
.story-composition img { width: 100%; height: 100%; object-fit: cover; }
.story-main { grid-column: 1 / 12; grid-row: 1 / 14; display: flex; flex-direction: column; }
.story-main img { flex: 1; min-height: 0; object-position: 48% 48%; }
.story-main figcaption {
  flex-shrink: 0;
  padding-top: 9px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: #33392e;
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.25;
}
.story-upper { grid-column: 13 / 20; grid-row: 3 / 9; }
.story-upper img { object-position: 49% 50%; }
.story-lower { grid-column: 14 / 21; grid-row: 11 / 17; }
.story-lower img { object-position: 70% 45%; }
.story-wide { grid-column: 3 / 21; grid-row: 18 / 23; }
.story-wide img { object-position: 50% 70%; }
.story-signature {
  margin-top: 23px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.75rem;
  text-align: center;
  color: #384333;
}
.story-signature i { padding: 0 5px; }

/* Two independent columns keep portrait and landscape photographs close together. */
.gallery-section { padding: 72px 17px 65px; background: #fff; }
.gallery-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 134px;
  min-height: 41px;
  padding: 3px 13px;
  margin: 0 auto;
  border: 1px solid #8d292f;
  border-radius: 50%;
  color: #8d292f;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -.025em;
  line-height: 1.3;
}
.gallery-section h2 {
  margin: 24px 0 38px;
  color: #373b32;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: -.045em;
}
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; align-items: start; }
.gallery-column { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.gallery-item { width: 100%; flex-shrink: 0; border-radius: 0; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-item.tile-tall { aspect-ratio: 2 / 3.15; }
.gallery-item.tile-landscape { aspect-ratio: 4 / 3.12; }
.gallery-item.tile-portrait { aspect-ratio: 4 / 5.15; }
.gallery-item[data-photo="3"] img { object-position: 48% 75%; }
.gallery-item[data-photo="4"] img { object-position: 30% 50%; }
.gallery-item[data-photo="5"] img { object-position: 68% 50%; }
.gallery-item:focus-visible { outline-offset: -4px; outline-width: 4px; }
.gallery-note { margin-top: 22px; font-size: .8125rem; }
.gallery-sample-note { margin: 9px 14px 0; font-size: .75rem; color: #6a7165; }

@media (max-width: 359px) {
  .photo-story { padding: 50px 16px; }
  .gallery-section { padding-left: 13px; padding-right: 13px; }
  .story-main figcaption { font-size: .8125rem; }
}
