@charset "UTF-8";
:root { color-scheme: light; --desk: #faf9f6; --film: #070808; --edge: #c9a46a; --quiet: #6c6d66; --frame-height: clamp(216px, 23vw, 316px); --rail-height: 43px; }
* { box-sizing: border-box; }
html { background: var(--desk); }
body { margin: 0; color: #23251f; font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 2px solid #86632c; outline-offset: 5px; }
.site-header, main { width: min(1280px, calc(100% - 80px)); margin: 0 auto; }
.site-header { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 29px 0 58px; }
.name { font-size: 18px; letter-spacing: -.35px; }
.album-nav { display: flex; flex-wrap: wrap; gap: 26px; color: var(--quiet); font-size: 11px; }
.album-nav a { padding: 10px 0; }
.album-nav a[aria-current="page"] { color: #23251f; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
main { outline: none; }
.album-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 45px; }
h1 { margin: 0; font-size: 23px; font-weight: 400; letter-spacing: -.45px; }
.album-heading p { margin: 0; color: var(--quiet); font-size: 11px; }
.divider { padding: 0 9px; color: #a4a59c; }
.film-window { overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: #a8aa9f #e9e9e1; scroll-snap-type: x proximity; padding-bottom: 15px; }
.film-window:focus-visible { outline: 1px solid #86632c; outline-offset: 6px; }
.film-track { position: relative; display: flex; gap: 8px; padding: 0 8px; width: max-content; background: var(--film); }
/* Continuous perforations, independent of each photograph's aspect ratio. */
.film-track::before, .film-track::after { content: ""; position: absolute; left: 0; right: 0; height: 21px; pointer-events: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='42' height='21' viewBox='0 0 42 21'%3E%3Crect x='8' width='16' height='21' rx='3' fill='%23faf9f6'/%3E%3C/svg%3E") repeat-x; }
.film-track::before { top: 6px; }
.film-track::after { bottom: 6px; }
.film-cell { width: calc(var(--frame-height) * var(--ratio)); flex: 0 0 auto; }
.film-rail { position: relative; height: var(--rail-height); color: var(--edge); user-select: none; }
.edge-label { position: absolute; left: 0; right: 0; display: flex; justify-content: space-between; align-items: baseline; padding: 0 9px; white-space: nowrap; font: 600 9px/12px "Courier New", monospace; letter-spacing: 1.5px; }
.rail-top .edge-label { bottom: 2px; }
.rail-bottom .edge-label { top: 2px; }
.edge-brand { opacity: .83; }
.frame-number { font-size: 11px; letter-spacing: .6px; }
.frame { display: block; position: relative; padding: 0; border: 0; background: var(--film); width: 100%; height: var(--frame-height); scroll-snap-align: start; scroll-margin-left: 8px; }
.frame img { display: block; width: 100%; height: 100%; object-fit: contain; }
.frame::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px #0005; pointer-events: none; }
.frame:focus-visible { outline-color: var(--edge); outline-offset: 1px; z-index: 1; }
.strip-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 21px; font-size: 10px; color: #686c60; }
.strip-controls > div { display: flex; gap: 26px; }
.strip-controls button, .album-footer button { background: none; border: 0; padding: 10px 0; font-size: 11px; color: #30372a; }
button:disabled { opacity: .35; cursor: default; }
.album-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 80px 0 28px; color: var(--quiet); font-size: 10px; letter-spacing: .2px; }
.album-footer button { color: #4e5548; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 5; padding: 12px; background: var(--desk); color: #111; transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.viewer { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 20px 32px; border: 0; background: var(--desk); color: #23251f; }
.viewer[open] { display: grid; grid-template-rows: 38px minmax(0, 1fr) 38px; gap: 14px; }
.viewer::backdrop { background: var(--desk); }
.viewer-top, .viewer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 12px; }
.viewer-top > span, #viewer-count { color: #62675b; }
.viewer-stage { min-width: 0; min-height: 0; display: flex; justify-content: center; align-items: center; }
#viewer-image { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.viewer button { background: none; border: 0; padding: 10px 0; min-width: 52px; text-align: left; color: #30372a; }
#close-viewer, #next { text-align: right; }
body.viewer-open { overflow: hidden; }
@media (hover: hover) { .frame:hover::after { box-shadow: inset 0 0 0 2px #f4c788; } .album-nav a:hover, .strip-controls button:not(:disabled):hover, .album-footer button:hover, .viewer button:not(:disabled):hover { color: #000; } }
@media (min-width: 1500px) { .site-header { padding-top: 37px; } }
@media (max-width: 700px) {
  :root { --frame-height: clamp(200px, 55vw, 280px); --rail-height: 36px; }
  .site-header, main { width: calc(100% - 32px); }
  .site-header { flex-wrap: wrap; gap: 20px; padding: 23px 0 37px; }
  .name { font-size: 16px; }
  .album-nav { gap: 24px; }
  .album-heading { flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
  h1 { font-size: 21px; }
  .album-heading p { font-size: 10px; }
  .film-track::before, .film-track::after { height: 16px; background-size: 34px 16px; }
  .edge-label { font-size: 8px; letter-spacing: .8px; padding: 0 7px; }
  .frame-number { font-size: 10px; }
  .strip-controls { align-items: flex-start; gap: 16px; flex-direction: column; padding-top: 17px; }
  .strip-controls > div { justify-content: space-between; width: 100%; }
  .album-footer { padding-top: 49px; }
  .viewer { padding: 12px 16px; }
  .viewer[open] { gap: 10px; }
}
