/* ==========================================================================
   sylvandekker.com
   tokens → base → shell (header, menu, footer) → pages → overlays
   ========================================================================== */

:root {
  --paper: #EEECE6;
  --paper-2: #E3E0D8;
  --ink: #131312;
  --ink-2: #6B6860;
  --rule: rgba(19, 19, 18, .16);
  --accent: #FF4A0F;      /* fills, large type */
  --hot: #BF3300;         /* accent for small text (passes contrast on paper) */
  --on-accent: #131312;
  --grain: .075;

  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --g: clamp(16px, 2.6vw, 36px);
  --head-h: 56px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.75, 0, .2, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0E0E0D;
    --paper-2: #1A1A18;
    --ink: #EAE6DD;
    --ink-2: #8F8B81;
    --rule: rgba(234, 230, 221, .14);
    --accent: #FF5A1F;
    --hot: #FF7A45;
    --grain: .055;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0E0E0D;
  --paper-2: #1A1A18;
  --ink: #EAE6DD;
  --ink-2: #8F8B81;
  --rule: rgba(234, 230, 221, .14);
  --accent: #FF5A1F;
  --hot: #FF7A45;
  --grain: .055;
  color-scheme: dark;
}

/* ---------- base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scrollbar-gutter: stable; }
html.no-scroll { overflow: hidden; }
html.theme-anim body, html.theme-anim .menu, html.theme-anim .player { transition: background-color .5s, color .5s; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font: 400 18px/1.5 var(--f-serif);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, canvas, iframe, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: inherit; }
h1, h2, h3 { font-weight: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }

.mono {
  font-family: var(--f-mono);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.45;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.dim { color: var(--ink-2); }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: fixed; left: 8px; top: -100px; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 14px;
  font: 500 13px var(--f-mono);
}
.skip:focus { top: 8px; }

kbd {
  font: inherit; font-size: .9em;
  border: 1px solid currentColor; border-radius: 3px; padding: 0 4px; opacity: .65;
}

/* ---------- prose ---------- */

.prose { font-size: clamp(18px, 1.3vw, 20px); line-height: 1.55; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose p { margin: 0 0 1em; }
.prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.prose a:hover { color: var(--hot); }
.prose h2, .prose h3 {
  font: 800 .82em/1.2 var(--f-display);
  font-variation-settings: "wdth" 110, "wght" 800;
  text-transform: uppercase; letter-spacing: .03em;
  margin: 2.4em 0 .8em;
}
.prose blockquote {
  margin: 1.8em 0; padding: 0 0 0 1em;
  border-left: 3px solid var(--accent);
  font-style: italic; font-size: 1.3em; line-height: 1.3;
}
.prose hr { border: 0; margin: 2.6em 0; text-align: center; }
.prose hr::before { content: "* * *"; color: var(--ink-2); letter-spacing: .8em; }
.prose img { margin: 2em 0; width: 100%; height: auto; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .45em; padding-left: .2em; }
.prose ol li::marker { font: 500 .7em var(--f-mono); color: var(--ink-2); }
.prose code { font: .82em var(--f-mono); background: var(--paper-2); padding: .1em .35em; }
.prose--large { font-size: clamp(20px, 1.85vw, 28px); line-height: 1.42; }

/* ---------- shell: header ---------- */

.site-head {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: var(--head-h);
  display: flex; align-items: center; gap: 28px;
  padding: 0 var(--g);
  color: #fff;
  mix-blend-mode: difference;           /* reads on paper, on black, on photographs */
  pointer-events: none;
  transition: transform .45s var(--ease);
}
.site-head > * { pointer-events: auto; }
.site-head.is-tucked { transform: translateY(-100%); }

.brand {
  margin-right: auto;
  font: 800 14px/1 var(--f-display);
  font-variation-settings: "wdth" 125, "wght" 800;
  text-transform: uppercase; letter-spacing: .02em; white-space: nowrap;
  transition: font-variation-settings .5s var(--ease);
}
.brand:hover { font-variation-settings: "wdth" 62, "wght" 900; }

.nav { display: none; gap: 22px; }
.nav__link { position: relative; display: inline-flex; align-items: flex-start; gap: 2px; }
.nav__link sup { font-size: 9px; line-height: 1; opacity: .6; }
.nav__link[aria-current="page"] span,
.nav__link:hover span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }

.tools { display: flex; align-items: center; gap: 18px; }
.attn { display: none; gap: 6px; white-space: nowrap; cursor: help; }
.attn.is-paused .attn__time { opacity: .5; }
.lights { display: none; white-space: nowrap; }
.lights:hover, .menu-btn:hover { text-decoration: underline; text-underline-offset: 5px; }

@media (min-width: 960px) {
  .nav { display: flex; }
  .lights { display: inline-flex; }
  .menu-btn { display: none; }
}
@media (min-width: 1180px) {
  .attn { display: inline-flex; }
}

/* ---------- shell: mobile menu ---------- */

.menu {
  position: fixed; inset: 0; z-index: 45;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: calc(var(--head-h) + 12px) var(--g) calc(24px + env(safe-area-inset-bottom));
  background: var(--ink); color: var(--paper);
  overflow-y: auto;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .55s var(--ease-io), visibility 0s .55s;
}
.menu.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .55s var(--ease-io); }
.menu__nav { display: flex; flex-direction: column; }
.menu__link {
  display: grid; grid-template-columns: 2.4rem 1fr auto; align-items: baseline; gap: 8px;
  padding: 10px 0 8px;
  border-bottom: 1px solid color-mix(in srgb, var(--paper) 22%, transparent);
}
.menu__word {
  font: 900 clamp(52px, 17vw, 120px)/.84 var(--f-display);
  font-variation-settings: "wdth" 62, "wght" 900;
  text-transform: uppercase;
  transition: font-variation-settings .6s var(--ease);
}
.menu__link:hover .menu__word, .menu__link[aria-current="page"] .menu__word { font-variation-settings: "wdth" 125, "wght" 900; }
.menu__link[aria-current="page"] .menu__word { color: var(--accent); }
.menu__sub { font: italic 300 16px/1 var(--f-serif); opacity: .7; }
.menu__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.menu__foot a, .menu__foot button { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- main + view transitions ---------- */

.main {
  display: block;
  min-height: 70vh;
  padding: calc(var(--head-h) + 8px) var(--g) 0;
  transition: opacity .16s ease;
}
.main.is-leaving { opacity: 0; }
.main.is-entering .view > * { animation: rise .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

.back { display: inline-flex; gap: 6px; color: var(--ink-2); transition: color .2s; }
.crumb { margin: clamp(10px, 3vw, 40px) 0 clamp(20px, 3vw, 36px); }
.back:hover { color: var(--ink); }

/* ---------- home: hero ---------- */

.hero { padding-top: clamp(4px, 2vw, 28px); }

.name {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: .8;
  letter-spacing: -.01em;
  opacity: 0;
  transition: opacity .5s ease;
}
.name.is-ready { opacity: 1; }
.name__line { display: block; width: max-content; white-space: nowrap; font-size: 22vw; }
.name__line + .name__line { margin-top: .03em; }
.name__ch { display: inline-block; font-variation-settings: "wdth" 92, "wght" 700; }

.hero__meta {
  display: grid; gap: 28px;
  margin-top: clamp(18px, 3vw, 36px);
  padding-top: 16px;
  border-top: 1px solid var(--ink);
}
.hero__tag { margin: 0; font: 300 clamp(24px, 2.9vw, 46px)/1.1 var(--f-serif); letter-spacing: -.012em; }
.hero__hook { display: block; margin-top: .4em; font-style: italic; color: var(--accent); }

@media (min-width: 900px) {
  .hero__meta { grid-template-columns: repeat(12, 1fr); }
  .hero__tag { grid-column: 1 / span 7; }
  .hero__meta .ledger { grid-column: 9 / -1; align-self: start; }
}

/* ledger: label ........ value */
.ledger { margin: 0; display: grid; gap: 9px; }
.ledger__row { display: flex; align-items: baseline; gap: 10px; }
.ledger dt { flex: 1 0 auto; display: flex; align-items: baseline; gap: 10px; color: var(--ink-2); }
.ledger dt::after { content: ""; flex: 1; min-width: 20px; border-bottom: 1px dotted currentColor; opacity: .7; }
.ledger dd { margin: 0; max-width: 62%; text-align: right; }
.ledger a { text-decoration: underline; text-underline-offset: 3px; }
.ledger a:hover { color: var(--hot); }

/* ---------- home: doors ---------- */

.doors { display: block; margin-top: clamp(56px, 9vw, 140px); border-top: 1px solid var(--ink); }

.door {
  position: relative; isolation: isolate;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 2px 16px;
  padding: 14px 0 12px;
  border-bottom: 1px solid var(--ink);
  transition: color .3s;
}
.door::before {
  content: ""; position: absolute; z-index: -1;
  inset: 0 calc(var(--g) * -1);
  background: var(--accent);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform .5s var(--ease);
}
.door__no { grid-column: 1; grid-row: 1; }
.door__count { grid-column: 2; grid-row: 1; text-align: right; }
.door__word {
  grid-column: 1 / -1; grid-row: 2;
  font: 900 clamp(64px, 17vw, 200px)/.8 var(--f-display);
  font-variation-settings: "wdth" 90, "wght" 900;
  text-transform: uppercase; letter-spacing: -.01em;
  padding: 8px 0 4px;
  transition: font-variation-settings .8s var(--ease);
}
.door__sub { grid-column: 1; grid-row: 3; font: italic 300 clamp(17px, 1.6vw, 24px)/1.2 var(--f-serif); }
.door__arrow { grid-column: 2; grid-row: 3; justify-self: end; font: 400 24px/1 var(--f-mono); transition: transform .5s var(--ease); }

@media (min-width: 900px) {
  .door { grid-template-columns: 4.5rem auto 1fr auto 3rem; padding: 10px 0 8px; }
  .door__no, .door__word, .door__sub, .door__count, .door__arrow { grid-row: 1; }
  .door__no { grid-column: 1; }
  .door__word { grid-column: 2; font-size: clamp(80px, 11.5vw, 200px); font-variation-settings: "wdth" 62, "wght" 900; padding: 0; }
  .door__sub { grid-column: 3; padding-left: 8px; }
  .door__count { grid-column: 4; }
  .door__arrow { grid-column: 5; text-align: right; }
}

@media (hover: hover) {
  .door:hover, .door:focus-visible { color: var(--on-accent); }
  .door:hover::before, .door:focus-visible::before { transform: scaleY(1); }
  .door:hover .door__word, .door:focus-visible .door__word { font-variation-settings: "wdth" 125, "wght" 900; }
  .door:hover .door__arrow { transform: translateX(6px); }
}
.door:focus-visible { outline: none; }

/* ---------- home: index ---------- */

.index { margin-top: clamp(80px, 12vw, 180px); }
.index__head {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 24px;
  padding-bottom: 14px; border-bottom: 1px solid var(--ink);
}
.index__title { margin: 0; font: italic 300 clamp(30px, 3.6vw, 56px)/1 var(--f-serif); letter-spacing: -.015em; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  padding: 6px 11px 5px; border: 1px solid var(--rule); border-radius: 999px;
  transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip sup { font-size: 8px; }

.index__list { list-style: none; margin: 0; padding: 0; }
.row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 6px 14px;
  padding: 14px 0 16px;
  border-bottom: 1px solid var(--rule);
}
.row__no { grid-column: 1; grid-row: 1; }
.row__medium { grid-column: 2; grid-row: 1; color: var(--ink-2); }
.row__year { grid-column: 3; grid-row: 1; }
.row__title {
  grid-column: 1 / -1; grid-row: 2;
  font: 700 clamp(22px, 2.3vw, 34px)/1.05 var(--f-display);
  font-variation-settings: "wdth" 100, "wght" 700;
  transition: font-variation-settings .6s var(--ease), color .25s;
}
.row__arrow { display: none; }

@media (min-width: 720px) {
  .row { grid-template-columns: 6.5rem 1fr 8rem 4rem 1.5rem; padding: 16px 0; }
  .row > * { grid-row: 1 !important; }
  .row__no { grid-column: 1; }
  .row__title { grid-column: 2; }
  .row__medium { grid-column: 3; }
  .row__year { grid-column: 4; }
  .row__arrow { display: block; grid-column: 5; text-align: right; font: 18px/1 var(--f-mono); opacity: 0; transform: translateX(-8px); transition: opacity .25s, transform .4s var(--ease); }
}
@media (hover: hover) {
  .row:hover .row__title { font-variation-settings: "wdth" 125, "wght" 800; color: var(--accent); }
  .row:hover .row__arrow { opacity: 1; transform: none; color: var(--accent); }
}

/* floating preview that follows the cursor over the index */
.peek {
  position: fixed; left: 0; top: 0; z-index: 40;
  width: 280px;
  pointer-events: none;
  opacity: 0; scale: .9; rotate: -2deg;
  transition: opacity .25s, scale .4s var(--ease);
}
.peek.is-on { opacity: 1; scale: 1; }
.peek img { width: 100%; height: auto; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .45); }
.peek p { margin: 0; padding: 18px 20px; background: var(--ink); color: var(--paper); font: italic 300 21px/1.25 var(--f-serif); }
.peek.is-text img, .peek:not(.is-text) p { display: none; }

/* ---------- page heads ---------- */

.phead {
  padding: clamp(10px, 3vw, 40px) 0 clamp(32px, 5vw, 64px);
  margin-bottom: clamp(36px, 6vw, 88px);
  border-bottom: 1px solid var(--ink);
}
.phead__kicker { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin: 0; }
.phead__title {
  margin: 14px 0 0;
  font: 900 clamp(72px, 19vw, 300px)/.78 var(--f-display);
  text-transform: uppercase; letter-spacing: -.02em;
  font-variation-settings: "wdth" 100, "wght" 900;
}
.phead__intro { margin: clamp(20px, 3vw, 36px) 0 0; max-width: 30ch; font: italic 300 clamp(21px, 2.1vw, 32px)/1.2 var(--f-serif); }
.phead__intro a { text-decoration: underline; text-underline-offset: .15em; text-decoration-thickness: 1px; }
.phead__intro a:hover { color: var(--accent); }

/* each medium gets its own way of saying its own name */
.phead--still .phead__title { font-variation-settings: "wdth" 125, "wght" 900; }
.phead--moving .phead__title {
  font-size: clamp(88px, 25vw, 380px);
  font-variation-settings: "wdth" 62, "wght" 900;
  text-shadow: -.04em 0 0 color-mix(in srgb, var(--accent) 85%, transparent);
}
.phead--sound .phead__title {
  font-variation-settings: "wdth" 125, "wght" 100;
  letter-spacing: .01em;
  animation: hum 3.2s ease-in-out infinite;
}
@keyframes hum { 50% { font-variation-settings: "wdth" 125, "wght" 380; } }
.phead--words .phead__title {
  font-family: var(--f-serif); font-style: italic; font-weight: 300;
  text-transform: none; letter-spacing: -.035em; line-height: .86;
  font-variation-settings: normal;
}
.phead--none .phead__title { font-variation-settings: "wdth" 62, "wght" 100; color: var(--ink-2); }

/* ---------- work heads (series, film, release, piece) ---------- */

.whead {
  display: grid; gap: 18px;
  padding: clamp(10px, 3vw, 40px) 0 clamp(32px, 5vw, 64px);
  margin-bottom: clamp(40px, 7vw, 110px);
  border-bottom: 1px solid var(--ink);
}
.whead__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; }
.whead__title {
  margin: 0;
  font: 900 clamp(48px, 10.5vw, 180px)/.84 var(--f-display);
  font-variation-settings: "wdth" 112, "wght" 860; letter-spacing: -.015em;
  overflow-wrap: break-word; hyphens: auto;
}
.whead__text { max-width: 36em; }
.viewtoggle { display: flex; gap: 6px; }

@media (min-width: 900px) {
  .whead { grid-template-columns: repeat(12, 1fr); }
  .whead > * { grid-column: 1 / -1; }
  .whead .whead__text { grid-column: 1 / span 7; }
  .whead .viewtoggle { grid-column: 9 / -1; justify-self: end; align-self: end; }
}

.pager {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--g);
  margin-top: clamp(80px, 11vw, 160px);
  padding-top: 16px; border-top: 1px solid var(--ink);
}
.pager a { display: flex; flex-direction: column; gap: 8px; }
.pager__next { grid-column: 2; text-align: right; align-items: flex-end; }
.pager strong {
  font: 800 clamp(20px, 2.6vw, 40px)/1 var(--f-display);
  font-variation-settings: "wdth" 90, "wght" 800; letter-spacing: 0;
  transition: color .2s, font-variation-settings .6s var(--ease);
}
.pager a:hover strong { color: var(--accent); font-variation-settings: "wdth" 120, "wght" 800; }

/* ---------- still ---------- */

.series-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(48px, 7vw, 110px) var(--g); }
.series-card { grid-column: 1 / -1; display: block; }
.series-card__img { overflow: hidden; background: var(--paper-2); }
.series-card__img img { width: 100%; height: auto; transition: transform 1.4s var(--ease); }
.series-card:hover .series-card__img img { transform: scale(1.035); }
.series-card__meta { display: flex; justify-content: space-between; gap: 12px; margin: 12px 0 0; }
.series-card__title {
  margin: 8px 0 0;
  font: 900 clamp(30px, 3.8vw, 64px)/.9 var(--f-display);
  font-variation-settings: "wdth" 112, "wght" 860;
  transition: color .25s, font-variation-settings .7s var(--ease);
}
.series-card:hover .series-card__title { color: var(--accent); font-variation-settings: "wdth" 125, "wght" 900; }

@media (min-width: 720px) {
  .series-card:nth-child(3n+1) { grid-column: 1 / span 7; }
  .series-card:nth-child(3n+2) { grid-column: 9 / span 4; margin-top: 28%; }
  .series-card:nth-child(3n+3) { grid-column: 3 / span 8; }
}

.plates { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(40px, 11vh, 150px) var(--g); }
.plate { grid-column: 1 / -1; min-width: 0; }
.plate__btn { display: block; width: 100%; cursor: zoom-in; }
.plate img { width: 100%; height: auto; }
.plate__cap { display: flex; gap: 14px; margin: 10px 0 0; color: var(--ink-2); }

@media (min-width: 720px) {
  /* "sequence": laid out like a photobook, in order, with a rhythm */
  [data-view="sequence"] .plate { width: fit-content; max-width: 100%; }
  [data-view="sequence"] .plate__btn { width: auto; }
  [data-view="sequence"] .plate img { width: auto; max-width: 100%; max-height: 86vh; }
  [data-view="sequence"] .plate:nth-child(5n+1) { grid-column: 1 / -1; justify-self: center; }
  [data-view="sequence"] .plate:nth-child(5n+2) { grid-column: 1 / span 7; justify-self: end; }
  [data-view="sequence"] .plate:nth-child(5n+3) { grid-column: 8 / span 5; justify-self: start; align-self: end; }
  [data-view="sequence"] .plate:nth-child(5n+4) { grid-column: 4 / span 9; justify-self: end; }
  [data-view="sequence"] .plate:nth-child(5n+5) { grid-column: 2 / span 5; justify-self: start; }
}

/* a burst: several frames of one moment on one plate. The first frame sits in
   the flow and sets the size; the others lie on top of it, one showing. */
.plate--burst .plate__btn { position: relative; }
.plate--burst .plate__btn .burst__frame:not(:first-child) {
  position: absolute; inset: 0;
  width: 100%; height: 100%; max-height: none;
  object-fit: cover;
}
.plate--burst .burst__frame { opacity: 0; }
.plate--burst .burst__frame.is-cur { opacity: 1; }
.burst__n { position: absolute; left: 12px; top: 10px; color: #fff; mix-blend-mode: difference; pointer-events: none; }
.burst__bar {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent);
  transform: scaleX(var(--p, 0)); transform-origin: left;
  transition: transform .15s;
}
@media (hover: hover) and (pointer: fine) {
  .plate--burst .plate__btn { cursor: ew-resize; }
}

/* a picture that isn't here yet: the archive's mark for "missing" */
.is-missing {
  position: relative;
  aspect-ratio: 4 / 3;
  border: 1px dashed color-mix(in srgb, var(--ink) 40%, transparent);
  background: var(--paper-2) linear-gradient(to top right,
    transparent calc(50% - .5px),
    color-mix(in srgb, var(--ink) 22%, transparent) 50%,
    transparent calc(50% + .5px));
}
.is-missing img { visibility: hidden; }
.is-missing::after {
  content: "Not here yet";
  position: absolute; left: 12px; bottom: 10px;
  font: 500 12px/1.45 var(--f-mono); letter-spacing: .05em; text-transform: uppercase;
  color: var(--ink-2);
}
.plate__btn.is-missing { min-width: min(100%, 380px); }

/* "contact sheet": everything at once, numbered */
[data-view="sheet"] .plates { grid-template-columns: repeat(auto-fill, minmax(min(160px, 42vw), 1fr)); gap: 22px 12px; }
[data-view="sheet"] .plate { grid-column: auto; }
[data-view="sheet"] .plate__btn { aspect-ratio: 1; padding: 10px; background: var(--paper-2); transition: background .2s; }
[data-view="sheet"] .plate__btn:hover { background: var(--accent); }
[data-view="sheet"] .plate img { width: 100%; height: 100%; object-fit: contain; }
[data-view="sheet"] .plate--burst .plate__btn .burst__frame:not(:first-child) { inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: contain; }
[data-view="sheet"] .plate__cap { margin-top: 6px; }
[data-view="sheet"] .plate__cap span + span { display: none; }

/* ---------- moving ---------- */

.films { display: grid; gap: clamp(72px, 11vw, 180px); }
.film { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px var(--g); }
.film__screen { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.film__screen > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.film__screen:hover > img { transform: scale(1.025); }
.film__screen iframe, .film__screen video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.film__play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }
.film__btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 20px 13px;
  border: 1px solid rgba(255, 255, 255, .75); border-radius: 999px;
  background: rgba(0, 0, 0, .3);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .25s, color .25s, border-color .25s, transform .5s var(--ease);
}
.film__btn svg { width: 13px; height: 13px; }
.film__btn .dim { color: inherit; opacity: .65; }
.film__play:hover .film__btn, .film__play:focus-visible .film__btn { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: scale(1.06); }
.film__play:focus-visible { outline: none; }
.film__tag { position: absolute; left: 14px; top: 12px; color: #fff; mix-blend-mode: difference; pointer-events: none; }
.film__empty { position: absolute; inset: 0; display: grid; place-content: center; gap: 10px; padding: 24px; text-align: center; color: #d8d6d0; background: #111; }
.film__empty p { margin: 0 auto; max-width: 34em; }
.film__empty code { font: 13px var(--f-mono); color: var(--accent); }
.film__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; color: var(--ink-2); }
.film__title {
  margin: 10px 0 16px;
  font: 900 clamp(34px, 4.6vw, 76px)/.86 var(--f-display);
  font-variation-settings: "wdth" 62, "wght" 900;
}
.film__title a { transition: color .2s; }
.film__title a:hover { color: var(--accent); }
.film__notes { font-size: 18px; }

@media (min-width: 900px) {
  .film { grid-template-columns: repeat(12, 1fr); align-items: end; }
  .film__screen { grid-column: 1 / span 8; grid-row: 1; }
  .film__info { grid-column: 9 / -1; grid-row: 1; }
  .film:nth-child(even) .film__screen { grid-column: 5 / -1; }
  .film:nth-child(even) .film__info { grid-column: 1 / span 4; }
  .film--solo .film__screen { grid-column: 1 / -1; }
  .film--solo .film__info { grid-column: 1 / span 8; grid-row: 2; }
}
.film--solo { margin-top: 24px; }
.film--solo .film__title { font-size: clamp(44px, 8vw, 140px); }

/* ---------- sound ---------- */

.scope { margin-bottom: clamp(56px, 8vw, 110px); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.scope__bar { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; }
.scope__bar + .scope__screen { border-top: 1px solid var(--rule); }
.scope__screen {
  position: relative;
  border-bottom: 1px solid var(--rule);
  background-image:
    linear-gradient(var(--rule) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 10% 25%;
  background-position: -1px -1px;
}
.scope canvas { width: 100%; height: clamp(150px, 24vw, 300px); }
.scope__live { display: inline-flex; align-items: center; gap: 8px; }
.scope__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-2); }
.scope.is-live .scope__live i { background: var(--accent); animation: blink 1.1s steps(2, jump-none) infinite; }
.scope.is-live .scope__live { color: var(--hot); }
@keyframes blink { 50% { opacity: .15; } }
.scope__now { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.releases { display: grid; gap: clamp(72px, 10vw, 150px); }
.release { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 16px var(--g); align-items: end; }
.release__cover { grid-column: 1; grid-row: 1; display: block; background: var(--paper-2); }
.release__cover img { width: 100%; height: auto; }
.release__head { grid-column: 2; grid-row: 1; }
.release__body { grid-column: 1 / -1; grid-row: 2; }
.release__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; color: var(--ink-2); }
.release__title {
  margin: 8px 0 0;
  font: 900 clamp(28px, 4.2vw, 68px)/.9 var(--f-display);
  font-variation-settings: "wdth" 118, "wght" 860;
}
.release__title a:hover { color: var(--accent); }
.release__artist { margin: 10px 0 0; font: italic 300 clamp(18px, 1.6vw, 24px)/1.2 var(--f-serif); color: var(--ink-2); }
.release__notes { margin-bottom: 26px; max-width: 34em; }
.release__links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 0; }
.release__links a { text-decoration: underline; text-underline-offset: 4px; }
.release__links a:hover { color: var(--hot); }
.release__embed { display: block; width: 100%; max-width: 640px; height: 120px; border: 0; }
.release__notes + .release__embed { margin-top: -6px; }
.empty { margin: 0; font: italic 300 clamp(20px, 2vw, 28px)/1.3 var(--f-serif); color: var(--ink-2); }
.empty a { color: var(--ink); text-decoration: underline; text-underline-offset: .15em; text-decoration-thickness: 1px; }

@media (min-width: 720px) {
  .release { grid-template-columns: repeat(12, 1fr); align-items: start; }
  .release__cover { grid-column: 1 / span 4; grid-row: 1 / span 2; }
  .release__head { grid-column: 6 / -1; grid-row: 1; }
  .release__body { grid-column: 6 / -1; grid-row: 2; }
  .release--solo .release__cover { grid-column: 1 / span 5; }
  .release--solo .release__title { font-size: clamp(44px, 7vw, 120px); }
}

.tracks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.track {
  width: 100%;
  display: grid; grid-template-columns: 2.2rem 1.2rem minmax(0, 1fr) auto; align-items: center; gap: 12px;
  padding: 13px 6px 12px 2px;
  border-bottom: 1px solid var(--rule);
  font: 600 clamp(16px, 1.3vw, 19px)/1.25 var(--f-display);
  font-variation-settings: "wdth" 100, "wght" 600;
  transition: background .2s, color .2s;
}
.track:hover:not(.track--static, :disabled) { background: var(--paper-2); }
.track:disabled { opacity: .45; cursor: default; }
.track--static { cursor: default; }
.track__n, .track__dur { color: var(--ink-2); }
.track__icon { display: grid; place-items: center; width: 14px; height: 14px; }
.track__icon svg { width: 12px; height: 12px; }
.track .eq { display: none; }
.track.is-current { color: var(--hot); }
.track.is-current .eq { display: flex; }
.track.is-current .track__icon svg { display: none; }
.eq { gap: 2px; height: 13px; align-items: flex-end; }
.eq i { width: 3px; height: 30%; background: currentColor; animation: eq .8s ease-in-out infinite alternate; animation-play-state: paused; }
.eq i:nth-child(2) { animation-delay: -.35s; animation-duration: .65s; }
.eq i:nth-child(3) { animation-delay: -.6s; animation-duration: .95s; }
.track.is-playing .eq i { animation-play-state: running; }
@keyframes eq { from { height: 18%; } to { height: 100%; } }

/* ---------- words ---------- */

.pieces { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.piece { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; padding: 22px 0 28px; border-bottom: 1px solid var(--rule); }
.piece__no { grid-column: 1; grid-row: 1; }
.piece__date { grid-column: 2; grid-row: 1; justify-self: end; color: var(--ink-2); }
.piece__title {
  grid-column: 1 / -1;
  font: 400 clamp(34px, 5.2vw, 80px)/.98 var(--f-serif);
  letter-spacing: -.028em;
  transition: color .25s;
}
.piece__dek { grid-column: 1 / -1; max-width: 38em; font: italic 300 clamp(18px, 1.5vw, 22px)/1.35 var(--f-serif); color: var(--ink-2); }
.piece__kind { grid-column: 1 / -1; color: var(--ink-2); }
@media (hover: hover) {
  .piece:hover .piece__title { font-style: italic; color: var(--accent); }
}
@media (min-width: 900px) {
  .piece { grid-template-columns: 6.5rem 6.5rem minmax(0, 1fr) 12rem; align-items: baseline; }
  .piece__no { grid-column: 1; }
  .piece__date { grid-column: 2; justify-self: start; }
  .piece__title { grid-column: 3; grid-row: 1; }
  .piece__kind { grid-column: 4; grid-row: 1; text-align: right; }
  .piece__dek { grid-column: 3; grid-row: 2; }
}

.reading { max-width: 44rem; margin: 0 auto; }
.reading__head { padding: clamp(10px, 3vw, 40px) 0 clamp(28px, 4vw, 48px); margin-bottom: clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--ink); }
.reading__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 22px 0 0; color: var(--ink-2); }
.reading__title { margin: 18px 0; font: 400 clamp(46px, 7.4vw, 108px)/.94 var(--f-serif); letter-spacing: -.035em; }
.reading__dek { margin: 0; font: italic 300 clamp(20px, 2vw, 28px)/1.3 var(--f-serif); color: var(--ink-2); }
.prose--reading { font-size: clamp(19px, 1.45vw, 22px); line-height: 1.62; }
.prose--dropcap > p:first-of-type::first-letter {
  float: left;
  margin: .07em .09em -.05em 0;
  font: 900 4.4em/.8 var(--f-display);
  font-variation-settings: "wdth" 100, "wght" 900;
  font-style: normal;
  color: var(--accent);
}
.prose--verse p { margin-bottom: 1.5em; }
.endmark { display: block; width: .6em; height: .6em; margin: 3em auto 0; background: var(--accent); font-size: 22px; }

.progress {
  position: fixed; left: 0; right: 0; top: 0; z-index: 60;
  height: 3px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  opacity: 0; transition: opacity .3s;
}
.progress.is-on { opacity: 1; }

/* ---------- about ---------- */

.about { display: grid; gap: 48px var(--g); }
.about__facts { display: grid; gap: 28px; align-content: start; }
@media (min-width: 900px) {
  .about { grid-template-columns: repeat(12, 1fr); }
  .about__bio { grid-column: 1 / span 7; }
  .about__facts { grid-column: 9 / -1; position: sticky; top: calc(var(--head-h) + 24px); align-self: start; }
}
.about__links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; }
.about__links a { text-decoration: underline; text-underline-offset: 4px; }
.about__links a:hover { color: var(--hot); }

.prose--lead { font-size: clamp(22px, 2.15vw, 32px); line-height: 1.3; letter-spacing: -.01em; }
.prose--lead > p:first-child { font-size: 1.3em; line-height: 1.12; letter-spacing: -.02em; }

/* the story: chapters alternating text and photograph */
.chapter { display: grid; gap: 26px var(--g); padding-top: clamp(56px, 9vw, 140px); }
.chapter__no { margin: 0 0 12px; color: var(--hot); }
.chapter__title { margin: 0 0 .45em; font: 300 clamp(34px, 4.4vw, 68px)/1 var(--f-serif); letter-spacing: -.03em; }
.chapter .prose { font-size: clamp(19px, 1.55vw, 23px); line-height: 1.5; }
.chapter__fig { margin: 0; min-width: 0; }
.chapter__fig img { width: 100%; height: auto; }
.chapter__fig figcaption { margin-top: 10px; color: var(--ink-2); }
.chapter__fig figcaption a:hover { color: var(--hot); }
/* a frame where a photograph would be: the archive's mark for "missing" */
.chapter__blank {
  width: min(100%, 380px);
  aspect-ratio: 4 / 5;
  border: 1px dashed color-mix(in srgb, var(--ink) 40%, transparent);
  background: linear-gradient(to top right,
    transparent calc(50% - .5px),
    color-mix(in srgb, var(--ink) 22%, transparent) 50%,
    transparent calc(50% + .5px));
}
.chapter__fig--empty figcaption { max-width: 380px; }

@media (min-width: 900px) {
  /* the photograph stays beside you while you read the chapter */
  .chapter { grid-template-columns: repeat(12, 1fr); align-items: start; }
  .chapter__text { grid-column: 1 / span 6; grid-row: 1; }
  .chapter__fig {
    grid-column: 8 / -1; grid-row: 1; justify-self: start;
    width: fit-content; max-width: 100%;
    position: sticky; top: calc(var(--head-h) + 28px);
  }
  .chapter__fig img { width: auto; max-width: 100%; max-height: 74vh; }
  .chapter:nth-of-type(even) .chapter__text { grid-column: 7 / -1; }
  .chapter:nth-of-type(even) .chapter__fig { grid-column: 1 / span 5; justify-self: end; }
  .chapter--text .chapter__text, .chapter--text:nth-of-type(even) .chapter__text { grid-column: 3 / span 8; }
}

.sect { margin: clamp(72px, 10vw, 140px) 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.cv { list-style: none; margin: 0; padding: 0; }
.cv li {
  display: grid; grid-template-columns: 5.5rem 1fr; gap: 16px; align-items: baseline;
  padding: 15px 0; border-bottom: 1px solid var(--rule);
  font: 400 clamp(18px, 1.5vw, 23px)/1.35 var(--f-serif);
}
.faq__item { border-bottom: 1px solid var(--rule); }
.faq__item summary {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font: 800 clamp(21px, 2.3vw, 34px)/1.12 var(--f-display);
  font-variation-settings: "wdth" 100, "wght" 800;
  transition: color .2s;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font: 400 24px/1 var(--f-mono); transition: transform .35s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--accent); }
.faq__item .prose { padding: 0 0 24px; max-width: 38em; }

/* ---------- footer ---------- */

.site-foot {
  margin-top: clamp(110px, 15vw, 220px);
  padding: 22px var(--g) calc(32px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--ink);
}
body.has-player .site-foot { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
.foot__kicker { margin: 0 0 10px; }
.foot__mail {
  display: inline-block;
  font: 900 clamp(30px, 7.6vw, 150px)/.9 var(--f-display);
  font-variation-settings: "wdth" 72, "wght" 900;
  letter-spacing: -.01em;
  overflow-wrap: anywhere;
  transition: color .25s, font-variation-settings .7s var(--ease);
}
.foot__mail:hover { color: var(--accent); font-variation-settings: "wdth" 62, "wght" 900; }
.foot__copy { display: block; margin-top: 14px; text-decoration: underline; text-underline-offset: 4px; color: var(--ink-2); }
.foot__copy:hover { color: var(--ink); }
.foot__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px var(--g);
  margin-top: clamp(48px, 7vw, 96px); padding-top: 16px;
  border-top: 1px solid var(--rule);
}
@media (min-width: 900px) { .foot__grid { grid-template-columns: repeat(4, 1fr); } }
.foot__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; align-content: start; }
.foot__list a:hover { color: var(--hot); }
.foot__small { margin: 0; color: var(--ink-2); line-height: 1.7; }

/* ---------- player (persistent, bottom) ---------- */

.player {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  background: var(--ink); color: var(--paper);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(110%);
  transition: transform .55s var(--ease);
}
.player.is-on { transform: none; }
.pl__seek { position: absolute; left: 0; right: 0; top: -9px; height: 18px; cursor: pointer; touch-action: none; }
.pl__seek::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 2px; background: color-mix(in srgb, var(--paper) 22%, var(--ink)); }
.pl__fill { position: absolute; left: 0; right: 0; top: 7px; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.pl__seek:focus-visible { outline-offset: -4px; }
.pl__row { display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 var(--g); }
.pl__btn { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; transition: background .2s, transform .3s var(--ease); }
.pl__btn svg { width: 18px; height: 18px; }
.pl__btn:hover { background: color-mix(in srgb, var(--paper) 14%, transparent); }
.pl__toggle { background: var(--accent); color: var(--on-accent); }
.pl__toggle:hover { background: var(--accent); transform: scale(1.08); }
.pl__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.pl__meta { color: color-mix(in srgb, var(--paper) 58%, transparent); font-size: 10.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl__title { font: 700 15px/1.2 var(--f-display); font-variation-settings: "wdth" 100, "wght" 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl__title:hover { color: var(--accent); }
.pl__time { flex: none; white-space: nowrap; }
.pl__scope { flex: none; width: 150px; height: 36px; display: none; }
@media (min-width: 720px) { .pl__scope { display: block; } }
@media (max-width: 519px) { .pl__time, .pl__next { display: none; } }

/* ---------- lightbox ---------- */

.lb {
  position: fixed; inset: 0; z-index: 120;
  display: grid; grid-template-rows: auto minmax(0, 1fr);
  background: #0a0a0a; color: #e9e6df;
  opacity: 0; transition: opacity .3s;
}
.lb.is-open { opacity: 1; }
.lb__bar { position: relative; z-index: 2; display: flex; align-items: center; gap: 16px; padding: 16px var(--g); }
.lb__label { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.lb__close:hover { color: var(--accent); }
.lb__stage { position: relative; margin: 0; display: grid; place-items: center; min-height: 0; padding: 0 var(--g) 54px; }
.lb__img { width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 120px); object-fit: contain; transition: opacity .25s; }
.lb__img.is-swapping { opacity: .15; }
.lb__cap { position: absolute; left: 25%; right: 25%; bottom: 18px; text-align: center; color: #9a978f; }
.lb__nav { position: absolute; top: 58px; bottom: 0; z-index: 1; width: 50%; display: flex; align-items: flex-end; padding: 16px var(--g); }
.lb__prev { left: 0; cursor: w-resize; }
.lb__next { right: 0; justify-content: flex-end; cursor: e-resize; }
.lb__nav span { opacity: .45; transition: opacity .2s, color .2s; }
.lb__nav:hover span, .lb__nav:focus-visible span { opacity: 1; color: var(--accent); }

/* ---------- overlays ---------- */

.grain {
  position: fixed; inset: -10%; z-index: 100;
  pointer-events: none;
  opacity: var(--grain);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain .9s steps(4) infinite;
  will-change: transform;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-4%, 3%); }
  50% { transform: translate(3%, -5%); }
  75% { transform: translate(-2%, 4%); }
  100% { transform: translate(0, 0); }
}

.draft {
  position: fixed; right: var(--g); bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 30;
  padding: 5px 9px 4px;
  background: var(--accent); color: var(--on-accent);
  font-size: 10.5px;
  rotate: 2deg;
  pointer-events: none;
}
body.has-player .draft { bottom: calc(84px + env(safe-area-inset-bottom)); }

/* ---------- motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important; /* not .01ms: that would make every property transition, and break measuring */
    scroll-behavior: auto !important;
  }
  .grain { animation: none; }
}
