:root {
  --paper: #efe6d2;
  --paper-2: #e6dcc4;
  --ink: #1d1915;
  --ink-2: #4a4036;
  --ink-3: #7a6c5c;
  --vermilion: #a8402c;
  --indigo: #1f2f4d;
  --wood: #2a1c12;
  --display: "Ultra", "Rockwell Extra Bold", "Rockwell", Georgia, serif;   /* carved wood type */
  --serif: "Libre Caslon Text", "Big Caslon", Georgia, serif;             /* the type a job printer set */
  --pencil: "Caveat", "Bradley Hand", cursive;
  --paper-img: none;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--wood); }
body { overflow: hidden; font-family: var(--serif); color: var(--ink); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

#views { position: fixed; inset: 0; overflow: hidden; touch-action: none; }
#gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; outline: none; }
#gl.is-grab { cursor: grab; }
#gl.is-point { cursor: pointer; }
#gl.is-rub { cursor: none; }

/* a soft vignette, like a lens */
.vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 75% 70% at 50% 52%, transparent 55%, rgba(12, 6, 2, .38) 100%); }
/* the veil: blank paper between scenes, and while the first prints load */
.veil { position: absolute; inset: 0; background: var(--paper) var(--paper-img); background-size: 512px; opacity: 0; pointer-events: none;
  transition: opacity .45s ease; display: grid; place-items: center; z-index: 30; }
.is-loading .veil, .veil.is-on { opacity: 1; pointer-events: auto; }
.veil-seal { width: 72px; height: 72px; background: #786246; -webkit-mask: var(--seal) center / contain no-repeat; mask: var(--seal) center / contain no-repeat;
  opacity: 0; transition: opacity .4s; }
.is-loading .veil-seal { opacity: .9; animation: breathe 1.6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(.94); opacity: .55; } }

/* paper tags: every control is a little slip of rag paper set in Caslon */
.tag, .bar button, .slip-open, .bench-skip, .arrow, .close {
  background: var(--paper) var(--paper-img); background-size: 256px; border: 1px solid rgba(29, 25, 21, .55);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 2px 6px rgba(20, 10, 0, .28); border-radius: 2px;
}
.bar { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: flex-start;
  padding: max(14px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left)); z-index: 20; pointer-events: none; }
.bar > * { pointer-events: auto; }
.bar-nav { display: flex; gap: 8px; margin-left: auto; }
.bar button { font-size: 13px; letter-spacing: .08em; padding: 7px 11px 6px; font-weight: 600; text-transform: uppercase; }
.bar button:hover, .slip-open:hover, .bench-skip:hover, .arrow:hover, .close:hover { background-color: #f6efdf; }
.bar button:focus-visible, .slip-open:focus-visible, .arrow:focus-visible, .bench-skip:focus-visible, .close:focus-visible, .leaf-list button:focus-visible { outline: 2px solid var(--vermilion); outline-offset: 2px; }
.bar-sound { width: 34px; text-align: center; padding-left: 0 !important; padding-right: 0 !important; }
.bar-sound[aria-pressed="false"] span { opacity: .4; text-decoration: line-through; }

/* album */
.album-ui { position: absolute; inset: 0; pointer-events: none; z-index: 10; }
.leaf-list { position: absolute; left: 0; top: 0; margin: 0; padding: 0; list-style: none; }
.leaf-list li { position: absolute; }
.leaf-list button { position: absolute; width: 1px; height: 1px; padding: 0; border: 0; opacity: 0; overflow: hidden; pointer-events: none; }
.leaf-list button:focus-visible { opacity: 1; width: auto; height: auto; padding: 6px 10px; background: var(--paper); left: 16px; top: 64px; position: fixed; white-space: nowrap; }
.slip { position: absolute; left: 50%; top: var(--slipy, auto); bottom: auto; transform: translateX(-50%); pointer-events: auto; transition: opacity .3s; }
.slip.is-hidden { opacity: 0; pointer-events: none; }
.slip-open { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 18px 8px; min-width: 180px; }
.slip-title { font-family: var(--serif); font-weight: 700; font-size: 18px; letter-spacing: .01em; line-height: 1.15; }
.slip-client { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-2); font-weight: 600; }
.slip-client:empty { display: none; }
.album-arrows { position: absolute; inset: 0; pointer-events: none; }
.arrow { position: absolute; width: 42px; height: 42px; border-radius: 50%; font-size: 26px; line-height: 38px; text-align: center; padding: 0; pointer-events: auto; font-family: var(--serif); }
.album-arrows .arrow { top: 50%; transform: translateY(-50%); }
.arrow-prev { left: max(14px, env(safe-area-inset-left)); }
.arrow-next { right: max(14px, env(safe-area-inset-right)); }
.arrow[disabled] { opacity: .3; cursor: default; }

/* bench */
.bench-ui { position: absolute; inset: 0; pointer-events: none; z-index: 10; }
.bench-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.bench-controls { position: absolute; left: 50%; bottom: max(18px, env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; gap: 10px; align-items: center; pointer-events: auto; }
.bench-controls .arrow { position: static; }
.bench-skip { white-space: nowrap; padding: 9px 16px 8px; font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.bar-back { font-size: 13px !important; }
.is-working .bench-controls { left: calc((100% - var(--workw)) / 2); }
.is-working .bench-skip { display: none; }

/* the work: a sheet of paper beside the finished print */
.work { position: absolute; top: 0; right: 0; bottom: 0; width: var(--workw); z-index: 12; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y;
  background: var(--paper) var(--paper-img); background-size: 512px; box-shadow: -10px 0 30px rgba(10, 5, 0, .35), -1px 0 0 rgba(0, 0, 0, .3);
  transform: translateX(104%); transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.work.is-open { transform: none; }
:root { --workw: min(600px, 46vw); }
.work-in { padding: 76px 40px 120px; max-width: 600px; }
.w-head { display: grid; gap: 14px; margin-bottom: 22px; }
.w-title h2 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.4vw, 44px); line-height: .98; margin: 0; text-transform: uppercase; letter-spacing: .01em; text-wrap: balance; overflow-wrap: anywhere; }
.w-title p { display: inline-block; margin: 10px 0 0; padding-top: 6px; border-top: 3px solid var(--vermilion); font-size: 11.5px; letter-spacing: .3em; text-transform: uppercase; font-weight: 700; color: var(--vermilion); }
.w-desc { font-size: 17px; line-height: 1.55; margin: 0; color: var(--ink); }
.w-seals { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 40px 0 0; padding: 16px 0 0; list-style: none; border-top: 1px solid rgba(29, 25, 21, .35); }
.w-seal { display: contents; }
.w-seal b { color: var(--vermilion); font-weight: 700; letter-spacing: .16em; font-size: 10.5px; text-transform: uppercase; padding-top: 3px; }
.w-seal span { font-size: 14px; line-height: 1.4; min-width: 0; }
.cs-sec { margin-top: 36px; }
.cs-h { font-family: var(--serif); font-weight: 700; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 6px; color: var(--ink-2); display: flex; align-items: center; gap: 10px; }
.cs-h::after { content: ""; flex: 1; height: 1px; background: rgba(29, 25, 21, .35); }
.cs-p { font-size: 15px; line-height: 1.6; margin: 0 0 14px; color: var(--ink-2); }
.cs-films { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.cs-films:has(.cs-film:only-child) { grid-template-columns: 1fr; }
.cs-film { margin: 0; }
.cs-film.is-tall { max-width: 300px; }
.cs-frame { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #111; overflow: hidden;
  box-shadow: 0 0 0 5px #fbf6ea, 0 0 0 6px rgba(29, 25, 21, .5), 0 6px 14px rgba(30, 15, 0, .3); }
.cs-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cs-glyph { position: absolute; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%; background: var(--vermilion);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .4); transition: transform .2s; }
.cs-glyph::after { content: ""; position: absolute; left: 23px; top: 17px; border-left: 17px solid #f7eedc; border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.cs-frame:hover .cs-glyph { transform: scale(1.07); }
.cs-cap { display: flex; justify-content: space-between; gap: 8px; margin-top: 12px; font-size: 13.5px; }
.cs-cap b { font-weight: 700; }
.cs-dur { color: var(--ink-3); font-variant-numeric: tabular-nums; }
.cs-imgs { display: grid; gap: 18px; margin-top: 14px; }
.cs-row-2 { grid-template-columns: 1fr 1fr; }
.cs-row-3 { grid-template-columns: 1fr 1fr 1fr; }
.cs-row-match, .cs-split { grid-template-columns: 1fr 1fr; }
.cs-img { margin: 0; }
.cs-img img { width: 100%; height: auto; display: block; background: #ddd; box-shadow: 0 0 0 5px #fbf6ea, 0 0 0 6px rgba(29, 25, 21, .4), 0 5px 12px rgba(30, 15, 0, .25); }
.cs-audio { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.cs-track { display: grid; grid-template-columns: 34px 26px 1fr; grid-template-rows: auto auto; align-items: center; column-gap: 8px; }
.cs-ap { grid-row: 1 / 3; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--vermilion); position: relative; padding: 0; }
.cs-ap::after { content: ""; position: absolute; left: 13px; top: 10px; border-left: 11px solid #f7eedc; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.cs-track.is-on .cs-ap::after { left: 11px; top: 11px; width: 4px; height: 12px; border: 0; border-left: 4px solid #f7eedc; border-right: 4px solid #f7eedc; box-sizing: content-box; width: 3px; }
.cs-ap:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.cs-n { font-size: 11px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.cs-at { font-size: 14.5px; }
.cs-bar { grid-column: 2 / 4; height: 2px; background: rgba(29, 25, 21, .15); margin-top: 4px; }
.cs-bar i { display: block; height: 100%; width: 0; background: var(--vermilion); }
.w-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 54px; padding-top: 18px; border-top: 1px solid rgba(29, 25, 21, .35); }
.w-nav button { display: grid; gap: 8px; background: none; border: 0; padding: 0; text-align: left; }
.w-nav button:last-child { text-align: right; }
.w-nav img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; box-shadow: 0 0 0 4px #fbf6ea, 0 0 0 5px rgba(29, 25, 21, .4); }
.w-nav small { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.w-nav b { font-family: var(--serif); font-weight: 700; font-size: 15px; }
.w-again { margin-top: 30px; background: none; border: 1px solid rgba(29, 25, 21, .5); padding: 8px 14px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }

/* overlays: the contents sheet (All work) and the colophon (About) */
.index, .about { position: absolute; inset: 0; z-index: 25; background: rgba(18, 11, 6, .62); overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y;
  padding: 64px max(16px, 3vw) 40px; }
.index-in, .about-in { position: relative; max-width: 1180px; margin: 0 auto; background: var(--paper) var(--paper-img); background-size: 512px;
  padding: 44px clamp(18px, 4vw, 54px) 54px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); outline: 1px solid rgba(29, 25, 21, .6); outline-offset: -14px; }
.index-h { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 5vw, 54px); margin: 0 0 26px; text-align: center; letter-spacing: .02em; text-transform: uppercase; line-height: 1; }
.index-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.index-grid button { display: grid; gap: 9px; width: 100%; background: none; border: 0; padding: 0; text-align: left; }
.index-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; background: var(--paper-2); box-shadow: 0 0 0 4px #fbf6ea, 0 0 0 5px rgba(29, 25, 21, .4), 0 5px 12px rgba(30, 15, 0, .2); transition: transform .2s; }
.index-grid button:hover img { transform: translateY(-3px); }
.index-grid b { font-family: var(--serif); font-weight: 700; font-size: 16px; line-height: 1.2; }
.index-grid small { display: block; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); margin-top: 2px; }
.close { position: fixed; top: max(14px, env(safe-area-inset-top)); right: max(16px, env(safe-area-inset-right)); width: 38px; height: 38px; font-size: 24px; line-height: 34px; padding: 0; z-index: 3; }
.about-in { max-width: 900px; }
.about-in img { width: 100%; display: block; box-shadow: 0 0 0 5px #fbf6ea, 0 0 0 6px rgba(29, 25, 21, .4); }
.colo { margin: 36px auto 0; max-width: 620px; border-top: 4px solid var(--ink); padding: 22px 4px 8px; }
.colo h2 { font-family: var(--display); font-weight: 400; font-size: 40px; line-height: 1; margin: 0; text-transform: uppercase; letter-spacing: .02em; }
.colo .role { font-size: 14px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; margin: 4px 0 14px; }
.colo p { font-size: 16px; line-height: 1.6; margin: 0 0 14px; }
.colo dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid rgba(29, 25, 21, .4); font-size: 14px; }
.colo dt { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); padding-top: 2px; }
.colo dd { margin: 0; }
.colo a { color: var(--ink); text-decoration-color: var(--vermilion); text-underline-offset: 3px; }
.colo ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 3px; }

.noscript { position: absolute; inset: 0; display: grid; place-items: center; background: var(--paper); margin: 0; font-size: 18px; }

/* phones: the work sheet rises under the print */
@media (max-width: 760px), (max-aspect-ratio: 4/5) {
  :root { --workw: 100%; }
  .work { top: auto; height: 58%; height: 58dvh; transform: translateY(104%); box-shadow: 0 -10px 30px rgba(10, 5, 0, .4); }
  .work.is-open { transform: none; }
  .work-in { padding: 30px 18px 120px; }
  .is-working .bench-controls { display: none; }
  .album-arrows .arrow { top: auto; bottom: max(26px, env(safe-area-inset-bottom)); transform: none; }
  .slip { max-width: calc(100% - 130px); }
  .slip-open { min-width: 0; padding: 8px 12px 7px; }
  .slip-title { font-size: 16px; text-align: center; }
  .bar button { padding: 6px 9px 5px; font-size: 12px; }
  .cs-row-3 { grid-template-columns: 1fr 1fr; }
  .index { padding: 58px 10px 30px; }
  .index-grid { grid-template-columns: 1fr 1fr; gap: 20px 14px; }
  .index-grid b { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .work, .veil, .slip { transition: none; }
  .veil-seal { animation: none !important; }
}
