:root {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  color: #111;
  background: #fff;
  --edge: 20px;
  /* One horizontal-image column for every slide, including portrait pages. */
  --viewer-width: min(76.685625vw, 122.7svh, calc((100svh - 130px) * 1.5));
  --desktopWidth: .7662769;
  --desktopHeight: .8172298;
  --mobileWidth: .90818;
  --mobileHeight: .3405124;
  --image-ratio: 1.5;
  --actual-image-width: min(var(--viewer-width), calc(var(--desktopWidth) * 100vw), calc(var(--desktopHeight) * 100svh * var(--image-ratio)), calc((100svh - 130px) * var(--image-ratio)));
}
* { box-sizing: border-box; }
html { min-width: 280px; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
a, button { -webkit-tap-highlight-color: transparent; outline: none; box-shadow: none; }
.keyboard-navigation a:focus-visible, .keyboard-navigation button:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.keyboard-navigation .archive-image:focus-visible, .keyboard-navigation .landing-image-link:focus-visible { opacity: .65; }
[hidden] { display: none !important; }
.site-header { position: fixed; inset: 0 0 auto; height: 53px; z-index: 20; pointer-events: none; }
.site-header a { position: absolute; top: 18px; font-weight: 500; pointer-events: auto; }
.home-link { left: max(var(--edge), env(safe-area-inset-left)); }
.information-link { right: max(var(--edge), env(safe-area-inset-right)); }
.site-header a::before { content: ""; position: absolute; inset: -12px -8px; }
.show-heading { position: absolute; top: 20px; left: calc((100vw - var(--viewer-width)) / 2); max-width: calc(var(--viewer-width) - 80px); font-weight: 400; }
.show-heading > * { display: block; }
.center-page { min-height: 100svh; display: grid; place-items: center; padding: 70px var(--edge); text-align: center; }
.center-page h1, .center-page p { font: inherit; margin: 0; }
.landing-page { padding: 60px var(--edge); }
.landing-image-link { display: block; width: fit-content; max-width: 100%; }
.landing-picture { display: block; }
.landing-poster { display: block; width: auto; height: auto; max-width: 100%; max-height: min(80.4758svh, calc(100svh - 120px)); object-fit: contain; }
.about-copy { transform: translateY(3px); }
/* Coordinates are measured from the PDF's 1280 × 880 desktop index. */
.archive { position: relative; margin: 0 var(--edge); height: calc(58px + (100vw - 2 * var(--edge)) * var(--archive-height, .662903225806)); }
.archive-image { position: absolute; display: block; left: var(--x); top: calc(58px + (100vw - 2 * var(--edge)) * var(--y)); width: var(--w); height: calc((100vw - 2 * var(--edge)) * var(--h)); }
.archive-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.archive-image.is-poster img { object-position: left center; }
.viewer { position: fixed; inset: 0; background: #fff; }
.viewer-figure { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: var(--viewer-width); margin: 0; }
.viewer-image { display: block; width: var(--actual-image-width); height: auto; margin: 0 auto; object-fit: contain; }
.viewer-caption { position: absolute; top: 100%; left: 0; width: 100%; margin: 10px 0 0; text-align: left; font-weight: 400; }
.viewer-caption > span { display: block; }
.viewer-nav { position: absolute; inset: 0 auto 0 0; width: 50%; height: 100%; margin: 0; padding: 0; appearance: none; -webkit-appearance: none; background: transparent; border: 0; z-index: 3; }
.viewer-prev { left: 0; cursor: w-resize; }
.viewer-next { left: 50%; cursor: e-resize; }
.keyboard-navigation .viewer-nav:focus-visible::after { position: absolute; top: 50%; color: #999; font-size: 18px; }
.keyboard-navigation .viewer-prev:focus-visible::after { content: "←"; left: var(--edge); }
.keyboard-navigation .viewer-next:focus-visible::after { content: "→"; right: var(--edge); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.no-script { margin: 90px 20px; }
@media (max-width: 700px) {
  :root {
    font-size: clamp(11px, calc(2.222222222vw + 2px), 14px);
    --edge: 3.333333333vw;
    --viewer-width: min(90.818003407vw, 51.085126917svh);
    --actual-image-width: min(var(--viewer-width), calc(var(--mobileWidth) * 100vw), calc(var(--mobileHeight) * 100svh * var(--image-ratio)));
  }
  .site-header { height: 43px; }
  .site-header a { top: max(2.777777778vw, env(safe-area-inset-top)); }
  .show-heading { top: max(3.333333333vw, env(safe-area-inset-top)); left: 18.518518519vw; max-width: 57vw; }
  .landing-page { padding: 60px 4.590998296vw; }
  /* Three evenly spaced columns; center each image at its natural ratio. */
  .archive {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 6.15vw, 32px);
    height: auto;
    padding-block: max(54px, calc(env(safe-area-inset-top) + 38px)) 32px;
  }
  .archive-image { position: static; width: 100%; height: auto; aspect-ratio: 3 / 2; }
  .archive-image.is-poster img { object-position: center; }
  .archive-image.desktop-only { display: none; }
  .viewer-caption { margin-top: 1.481481481vw; width: max-content; max-width: 90.818003407vw; }
  .is-document .viewer-caption { margin-top: 1.962962963vw; }
}
