.media-index .index-heading { padding-block: clamp(2rem, 4.8vw, 4.15rem) clamp(1.55rem, 2.8vw, 2.65rem); }
.media-index .index-coverage { padding-block: clamp(1.9rem, 3.5vw, 3.1rem); }
.media-index .index-coverage header p { margin-top: .85rem; max-width: 34ch; color: var(--index-muted); font-size: .94rem; }
.media-index .index-entries a { align-items: start; }
.index-entry-description { display: block; margin-top: .36rem; color: var(--index-muted); font: 400 .84rem/1.5 var(--sans, Arial, sans-serif); letter-spacing: normal; }
.media-index .index-entries a:hover .index-entry-title { text-decoration: none; color: var(--index-brass); }
.photo-archive { padding-block: clamp(1.45rem, 2.8vw, 2.7rem); background: var(--index-wash); border-block: 1px solid var(--index-line); }
.archive-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; }
.archive-head h2 { font-size: clamp(1.95rem, 3.2vw, 3.2rem); }
.archive-controls { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 1rem; row-gap: .15rem; margin-top: .65rem; border-bottom: 1px solid var(--index-line); }
.archive-filters { display: flex; flex-wrap: wrap; column-gap: clamp(.8rem, 2.2vw, 1.65rem); }
.archive-filter, .archive-more, .archive-viewer button { appearance: none; border: 0; border-radius: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.archive-filter { position: relative; padding: .7rem .04rem; min-height: 44px; color: var(--index-muted); font-size: .82rem; }
.archive-filter[aria-pressed=true] { color: var(--index-ink); font-weight: 700; }
.archive-filter[aria-pressed=true]::after { position: absolute; bottom: -1px; left: 0; right: 0; height: 2px; background: var(--index-brass); content: ''; }
.archive-status { color: var(--index-muted); font-size: .75rem; font-variant-numeric: tabular-nums; }
.archive-sheet { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: clamp(.95rem, 2.2vw, 1.9rem) clamp(.65rem, 1.5vw, 1.35rem); margin-top: 1.05rem; }
.archive-sheet figure { grid-column: span 2; min-width: 0; scroll-margin-top: 5rem; }
.archive-sheet figure.archive-lead { grid-column: span 3; }
.archive-location { color: var(--index-muted); }
.archive-open { display: block; overflow: hidden; background: #dedbd2; color: inherit; text-decoration: none; }
.archive-open img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
.archive-open img[data-vertical] { object-fit: contain; }
.archive-sheet figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: .45rem .7rem; margin-top: .47rem; }
.archive-title { font-family: var(--serif, Georgia, serif); font-size: clamp(1.02rem, 1.6vw, 1.45rem); line-height: 1.23; letter-spacing: -.025em; }
.archive-category { flex: none; color: var(--index-muted); font-size: .68rem; }
.archive-sheet figure:focus-within .archive-title, .archive-sheet figure:hover .archive-title { color: var(--index-brass); }
.archive-description { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.archive-more { display: block; min-height: 44px; margin: clamp(1rem, 2.6vw, 2rem) auto 0; padding: .55rem 1.25rem; border: 1px solid #a69e8d; color: var(--index-ink); font-size: .85rem; }
.archive-more:hover, .archive-more:focus-visible { border-color: var(--index-ink); }
.photo-archive [hidden] { display: none; }
.archive-fallback, .photo-archive:not([data-archive-ready]) .archive-controls { display: none; }
@media (scripting: enabled) {
  /* Match the enhanced first page while the deferred bundle is still loading. */
  .photo-archive:not([data-archive-ready]) .archive-controls {
    display: flex;
    visibility: hidden;
  }
  .photo-archive:not([data-archive-ready]) .archive-sheet:not(:target) > figure:nth-child(n+9):not(:target) {
    display: none;
  }
  .photo-archive:not([data-archive-ready]) .archive-fallback {
    display: table;
    text-decoration: none;
  }
  .photo-archive:not([data-archive-ready]) .archive-sheet:target + .archive-fallback {
    display: none;
  }
}

html.archive-viewing { overflow: hidden; }
.archive-viewer { --viewer-ink: #ece9e0; inset: 0; box-sizing: border-box; width: min(1100px, 94vw); max-width: none; max-height: calc(100dvh - 2rem); margin: auto; padding: 0; border: 0; background: #232725; color: var(--viewer-ink); overflow: auto; }
.archive-viewer::backdrop { background: rgba(19, 23, 23, .88); }
.archive-viewer__shell { padding: .45rem clamp(.8rem, 2.5vw, 1.7rem) clamp(.75rem, 2vw, 1.25rem); }
.archive-viewer__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.archive-viewer__counter { color: #e4e1d8; font-size: .74rem; font-variant-numeric: tabular-nums; }
.archive-viewer button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; color: var(--viewer-ink); }
.archive-viewer__close { padding: .4rem 0 .4rem .7rem; font-size: .85rem !important; }
.archive-viewer button:hover { color: white; text-decoration: underline; text-underline-offset: .25em; }
.archive-viewer button:focus-visible { outline: 2px solid #e7d1a5; outline-offset: -2px; }
.archive-viewer__stage { display: grid; place-items: center; height: min(67vh, 670px); height: min(67dvh, 670px); touch-action: pan-y pinch-zoom; }
.archive-viewer__stage img { width: 100%; height: 100%; object-fit: contain; min-width: 0; min-height: 0; }
.archive-viewer__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: .9rem; padding-top: .7rem; }
.archive-viewer__title { display: block; font: 400 clamp(1.25rem, 2.5vw, 1.8rem)/1.2 var(--serif, Georgia, serif); }
.archive-viewer__caption { display: block; margin-top: .3rem; color: #d4d3ca; font-size: .83rem; line-height: 1.4; }
.archive-viewer__steps { display: flex; gap: .3rem; }
.archive-viewer__steps button { border: 1px solid #71756f; font-size: 1.12rem; line-height: 1; }
@media (max-width: 700px) {
  .archive-sheet { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .archive-sheet figure, .archive-sheet figure.archive-lead { grid-column: auto; }
  .archive-sheet figcaption { align-items: start; flex-direction: column; gap: .12rem; }
  .archive-viewer { width: 100%; max-height: 100vh; max-height: 100dvh; }
  .archive-viewer__stage { height: min(62dvh, 610px); }
}
@media (max-width: 440px) {
  .archive-controls { flex-direction: column; align-items: flex-start; border-bottom: 0; }
  .archive-filters { width: 100%; border-bottom: 1px solid var(--index-line); justify-content: space-between; }
  .archive-status { padding-top: .5rem; }
  .archive-viewer__steps { gap: .18rem; }
  .archive-viewer__foot { gap: .55rem; }
}
@media (max-height: 470px) and (orientation: landscape) {
  .archive-viewer__stage { height: 55dvh; }
}
