/* Companion album, intentionally aligned with the quiet editorial memorial style. */
.album-site-header {
  position: sticky;
}
.album-opening {
  position: relative;
  background: var(--paper-light);
  border-bottom: 1px solid var(--line);
  padding: clamp(102px, 11vw, 172px) 24px clamp(94px, 9vw, 139px);
}
.album-opening-inner {
  max-width: 925px;
  margin: auto;
  text-align: center;
}
.album-opening .section-eyebrow {
  margin-bottom: 28px;
}
.album-opening h1 {
  font: 400 clamp(58px, 7vw, 103px)/1.03 var(--serif);
  letter-spacing: -0.07em;
  text-wrap: balance;
  color: var(--ink);
  margin: 0 auto 31px;
}
.album-opening h1 em {
  font-weight: 400;
  color: var(--lavender);
  letter-spacing: -0.052em;
}
.album-rule {
  display: block;
  margin: 0 auto 31px;
  width: 72px;
  height: 1px;
  background: #b6a49c;
}
.album-opening-inner > p:not(.section-eyebrow) {
  font: 400 clamp(18px, 2vw, 23px)/1.65 var(--serif);
  color: #6b6965;
  max-width: 650px;
  margin: 0 auto 33px;
}
.album-context-link {
  font-size: 12px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--clay);
  border-bottom: 1px solid #c6a69b;
  padding: 0 0 8px;
}
.album-body {
  background: #f7f4ed;
}
.album-body-inner {
  max-width: 1320px;
  margin: auto;
  padding: clamp(84px, 8vw, 126px) clamp(24px, 6vw, 100px) clamp(100px, 9vw, 148px);
}
.album-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 35px;
  margin-bottom: 23px;
}
.album-section-heading .section-eyebrow {
  margin: 0 0 14px;
}
.album-section-heading h2 {
  font: 400 clamp(35px, 4.4vw, 55px)/1.17 var(--serif);
  letter-spacing: -0.053em;
  margin: 0;
}
.album-count {
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #8a8079;
  margin: 0 0 7px;
  white-space: nowrap;
}
.album-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 32px;
}
.album-filters[hidden],
.album-empty[hidden],
.album-more[hidden] {
  display: none;
}
.album-filter {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 100px;
  padding: 10px 16px;
  color: #665f5b;
  font: 500 12px var(--sans);
  cursor: pointer;
}
.album-filter:hover {
  background: #eee9e1;
}
.album-filter[aria-pressed="true"] {
  border-color: #b6a49c;
  background: #fffcf8;
  color: #363c3d;
}
.album-status {
  color: #77726c;
  font: italic 18px/1.6 var(--serif);
  margin: 20px 0 15px;
}
.album-status:empty {
  display: none;
}
.album-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 36px);
}
.album-item {
  min-width: 0;
  margin: 0;
}
.album-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 5/4;
  padding: 12px;
  border: 1px solid rgba(53, 61, 66, 0.1);
  background: #eeebe4;
  box-shadow: 0 12px 35px rgba(40, 36, 33, 0.045);
  cursor: zoom-in;
  transition: box-shadow 0.2s ease;
}
.album-photo:hover {
  box-shadow: 0 18px 40px rgba(40, 36, 33, 0.12);
}
.album-photo:focus-visible {
  outline: 3px solid var(--lavender);
  outline-offset: 4px;
}
.album-photo img {
  display: block;
  max-width: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.album-photo img.is-loaded {
  opacity: 1;
}
.album-photo img.is-error {
  opacity: 1;
}
.album-item figcaption {
  color: #676561;
  font: 400 15px/1.5 var(--serif);
  margin: 15px 1px 0;
  overflow-wrap: anywhere;
}
.album-item figcaption small {
  display: block;
  color: #938881;
  font: 500 10px/1.5 var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-top: 5px;
}
.album-more {
  text-align: center;
  margin-top: 44px;
}
.album-more button {
  border: 1px solid #b6a49c;
  background: transparent;
  color: var(--ink);
  font: 600 11px var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.13em;
  padding: 15px 23px;
  cursor: pointer;
}
.album-empty {
  text-align: center;
  margin: 72px auto 60px;
  max-width: 430px;
  padding: 60px 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.album-empty-ornament {
  font: 52px var(--serif);
  color: #afa19c;
  margin: 0 0 12px;
}
.album-empty h3 {
  font: 400 32px/1.2 var(--serif);
  color: var(--ink);
  margin: 0 0 14px;
}
.album-empty p {
  font: italic 17px/1.7 var(--serif);
  color: #79736f;
  margin: 0;
}
.album-epilogue {
  text-align: center;
  background: #f0eceb;
  padding: 100px 24px 112px;
}
.album-epilogue .section-eyebrow {
  margin: 0 0 25px;
}
.album-epilogue blockquote {
  font: 400 clamp(33px, 4.3vw, 58px)/1.2 var(--serif);
  letter-spacing: -0.052em;
  max-width: 850px;
  margin: 0 auto 37px;
  text-wrap: balance;
}
/* Let the viewer grow with the viewport; never impose a 900px height cap. */
.album-lightbox {
  border: 0;
  border-radius: 3px;
  padding: 0;
  max-width: calc(100vw - 24px);
  width: 96vw;
  max-height: calc(100dvh - 24px);
  color: #edf0f0;
  background: #202529;
  box-shadow: 0 25px 90px #0008;
  overflow: hidden;
}
.album-lightbox[open] {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 96dvh;
}
.album-lightbox::backdrop {
  background: rgba(13, 15, 17, 0.91);
}
.album-lightbox-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 22px;
  background: #282e32;
}
.album-lightbox-count {
  font: 11px var(--sans);
  letter-spacing: 0.13em;
  color: #b9b7b4;
}
.album-close {
  border: 0;
  background: transparent;
  color: #e5e5e1;
  font: 13px var(--sans);
  padding: 8px;
  cursor: pointer;
}
.album-lightbox-photo {
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 12px 22px;
}
.album-lightbox-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
}
.album-lightbox-bottom {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  align-items: center;
  gap: 16px;
  padding: 12px 15px 21px;
  text-align: center;
}
.album-lightbox-bottom p {
  font: italic clamp(14px, 1.5vw, 18px)/1.4 var(--serif);
  margin: 0;
  color: #e0dfdc;
}
.album-lightbox-details {
  min-width: 0;
}
.album-lightbox-details small {
  display: block;
  color: #b8b8b2;
  font: 500 10px/1.5 var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
  overflow-wrap: anywhere;
}
.album-lightbox-details small:empty {
  display: none;
}
.album-arrow {
  border: 1px solid #6d7275;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  background: transparent;
  color: #f5f3ef;
  font: 25px var(--serif);
  cursor: pointer;
}
.album-arrow:disabled {
  opacity: 0.3;
  cursor: default;
}
@media (max-width: 940px) {
  .album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .album-opening {
    padding: 100px 22px;
  }
  .album-opening h1 {
    font-size: clamp(52px, 12vw, 71px);
  }
  .album-section-heading {
    display: block;
  }
  .album-count {
    margin: 20px 0 0;
  }
  .album-grid {
    grid-template-columns: 1fr;
  }
  .album-body-inner {
    padding: 75px 23px 90px;
  }
  .album-photo {
    aspect-ratio: 5/4;
  }
  .album-lightbox-photo {
    padding: 8px;
  }
  .album-lightbox-bottom {
    gap: 7px;
    grid-template-columns: 44px 1fr 44px;
    padding: 11px;
  }
  .album-arrow {
    width: 38px;
    height: 38px;
  }
  .album-epilogue {
    padding: 75px 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .album-photo,
  .album-photo img {
    transition: none;
  }
}
