/* Personal photographs: the page's own album, with uncropped views on request. */
.story-snapshots { padding-bottom: 76px; }
.album-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.album-heading > span { color: var(--muted); font-size: 12px; }
.album-heading h2 { font-weight: 400; }
.story-snapshots .album-heading { display: block; }
.story-snapshots .album-heading .eyebrow { max-width: 670px; line-height: 1.9; }
.story-snapshots .album-heading > span { display: block; margin-top: 8px; }
.photo-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; }
.story-photo { min-width: 0; }
.photo-link {
  display: block;
  position: relative;
  overflow: hidden;
  background: #29222e;
  border: 1px solid #ffffff1c;
}
.story-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .4s ease;
}
.photo-link:hover img { transform: scale(1.035); }
.photo-link:focus-visible { outline-offset: 5px; }
.photo-expand {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #fff9ef;
  background: #1b1529cf;
  border: 1px solid #fff5e644;
  font-size: 19px;
}
.story-photo figcaption { color: #c8b9cb; font-size: 12px; line-height: 1.6; padding-top: 13px; }
.intro-photo-row .story-photo {
  padding: 8px 8px 16px;
  background: #e7ded2;
  box-shadow: 0 8px 25px #0002;
}
.intro-photo-row .photo-link { border: 0; }
.intro-photo-row .story-photo figcaption { color: #584451; padding: 12px 6px 0; }
.intro-photo-row .story-photo:nth-child(1) { transform: rotate(-2deg); }
.intro-photo-row .story-photo:nth-child(2) { transform: translateY(11px) rotate(1.4deg); }
.intro-photo-row .story-photo:nth-child(3) { transform: rotate(-1deg); }
.photo-dance-floor img { object-position: 50% 46%; }
.energy-album { max-width: 1110px; padding-bottom: 85px; }
.energy-album .photo-row { gap: 20px; }
.energy-album .story-photo img { aspect-ratio: 4 / 3; }
.family-album { max-width: 1110px; margin-top: 48px; border-top: 1px solid #9476874d; padding-top: 30px; }
.family-album .album-heading > span { color: #765c69; }
.family-photo-row { grid-template-columns: 1.25fr 1fr 1fr; gap: 22px; }
.family-photo-row .photo-link { border: 7px solid #f2eade; box-shadow: 0 4px 15px #432c3420; }
.family-photo-row .story-photo img { aspect-ratio: auto; height: 290px; }
.family-photo-row .story-photo figcaption { color: #634652; }
.photo-graduation img { object-position: 49% 50%; }
.photo-ponchos img { object-position: 50% 67%; }
.chapter-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  align-items: start;
  gap: 35px;
  max-width: none;
  padding: 2px 8px 36px 70px;
}
.chapter-copy { min-width: 0; }
.chapter-photo { width: 100%; }
.chapter-photo .photo-link { border-color: #79617680; background: #211829; }
.chapter-photo img { aspect-ratio: auto; height: auto; }
.chapter-photo figcaption { padding-top: 11px; font-size: 11px; color: #bba9c1; }
.photo-viewer {
  width: min(1100px, calc(100% - 40px));
  max-height: calc(100dvh - 32px);
  padding: 22px 26px 18px;
  background: #16101f;
  color: var(--cream);
  border: 1px solid #876078;
  box-shadow: 0 25px 100px #000a;
  overflow-y: auto;
}
.photo-viewer::backdrop { background: #08050fec; }
.photo-viewer-top, .photo-viewer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.photo-viewer-top { margin-bottom: 18px; }
.photo-viewer-top .eyebrow { color: var(--pink); font-size: 9px; }
.photo-close { display: flex; align-items: center; gap: 12px; padding: 8px; font: 11px var(--mono); }
.photo-close span { font: 26px/1 var(--display); color: var(--pink); }
.photo-viewer-image { width: 100%; height: min(66dvh, 740px); object-fit: contain; background: #0e0a15; }
.photo-viewer figcaption { font-size: 14px; text-align: center; padding-block: 17px; }
.photo-viewer-bottom { border-top: 1px solid var(--line); padding-top: 9px; }
.photo-viewer-bottom button { padding: 10px 8px; font-size: 14px; color: var(--pink); }
.photo-viewer-bottom button span { color: var(--cream); font: 11px var(--mono); margin-inline: 9px; }
.photo-count { color: var(--muted); font: 10px var(--mono); }
html.photo-open { overflow: hidden; }
@media (max-width: 1100px) {
  .photo-row { gap: 18px; }
  .family-photo-row { gap: 16px; }
  .family-photo-row .story-photo img { height: 245px; }
}
@media (max-width: 760px) {
  .chapter-body { grid-template-columns: 1fr; gap: 23px; padding: 0 5px 30px 35px; }
  .chapter-photo { max-width: 420px; }
  .chapter-photo figcaption { font-size: 12px; }
  .story-snapshots { padding-bottom: 55px; }
  .album-heading { display: block; margin-bottom: 22px; }
  .album-heading > span { display: block; margin-top: 8px; font-size: 12px; }
  .photo-row, .family-photo-row { grid-template-columns: 1fr; gap: 25px; }
  .intro-photo-row { padding-inline: 7px; gap: 30px; }
  .intro-photo-row .story-photo:nth-child(2) { transform: rotate(1.4deg); }
  .story-photo figcaption { font-size: 13px; }
  .energy-album { padding-bottom: 58px; }
  .energy-album .photo-row { gap: 27px; }
  .family-album { margin-top: 35px; padding-top: 25px; }
  .family-photo-row .story-photo img { height: auto; aspect-ratio: 4 / 3; }
  .family-photo-row .photo-ponchos img { aspect-ratio: 4 / 5; }
  .photo-viewer { width: calc(100% - 20px); padding: 12px 12px 8px; }
  .photo-viewer-image { height: 58dvh; }
  .photo-viewer-top { margin-bottom: 10px; }
  .photo-viewer-top .eyebrow { font-size: 7px; letter-spacing: .05em; }
  .photo-viewer figcaption { font-size: 13px; padding-block: 15px; }
  .photo-viewer-bottom button span { font-size: 10px; margin-inline: 3px; }
}
@media (prefers-reduced-motion: reduce) {
  .story-photo img { transition: none; }
}
