html, body.archive-page { width: 100%; height: 100%; overflow: hidden; }
body.archive-page { background: #fff; }
body.archive-page .bottom-dock {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
body.archive-page .bottom-dock:has(#resumeLauncher[aria-expanded="true"]) { z-index: 101; }
.archive-viewport {
  position: fixed;
  inset: 0;
  overflow: hidden;
  overscroll-behavior: none;
  background: #fff;
}
.archive-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: auto;
  cursor: default;
}
.archive-viewport::after {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: clamp(120px, 19vh, 240px);
  content: "";
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .14));
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 100%);
}
.archive-lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 40px;
  overflow: auto;
  border: 0;
  color: #fff;
  background: transparent;
}
.archive-lightbox:not([open]) { display: none; }
.archive-lightbox[open] { display: flex; }
.archive-lightbox::backdrop {
  background: rgba(22, 22, 22, .9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.lightbox__figure { margin: 0; text-align: center; }
.lightbox__image-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 52px;
}
.lightbox__frame { max-width: min(70vw, calc(100vw - 288px)); line-height: 0; }
.lightbox__media {
  display: block;
  width: auto;
  height: auto;
  max-width: min(70vw, calc(100vw - 288px));
  max-height: calc(100vh - 230px);
  object-fit: contain;
}
.lightbox__details { margin-top: 22px; text-align: center; }
.lightbox__details h2 { margin: 0; color: #fff; font-size: 24px; line-height: 1.25; font-weight: 600; }
.lightbox__details p { margin: 8px 0 0; color: rgba(255,255,255,.66); font-size: 18px; line-height: 1.4; }
.lightbox__arrow,
.lightbox__close {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  color: #fff;
  font: inherit;
  cursor: pointer;
}
.lightbox__arrow { width: 52px; height: 52px; }
.lightbox__close { position: absolute; top: 20px; right: 20px; width: 52px; height: 52px; }
.lightbox__arrow:focus-visible,
.lightbox__close:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.lightbox__arrow[hidden] { display: none; }
@media (max-width: 680px) {
  .archive-lightbox { padding: 64px 12px 28px; }
  .lightbox__image-row { gap: 12px; }
  .lightbox__arrow { width: 40px; height: 40px; }
  .lightbox__frame,
  .lightbox__media { max-width: calc(100vw - 128px); max-height: calc(100vh - 220px); }
  .lightbox__details { margin-top: 16px; }
  .lightbox__details h2 { font-size: 20px; }
  .lightbox__details p { font-size: 15px; }
  .lightbox__close { top: 12px; right: 12px; width: 42px; height: 42px; font-size: 24px; }
}
