/* Round 06 · Version 6, "the roll you scroll" (Claude)
   One light table, one long strip of film. The art is the biggest thing on
   the page: each frame is shown whole and as large as fits, with no click
   needed. The eyes (07 Gaze / Round 05) watch the frame you are looking at;
   the material swatches (06 / Round 05) light up for the work in view.
   No filters, blends, tints, crops or overlays on any artwork image. */

:root {
  --table: #eef1f0;        /* light-table diffuser */
  --table-glow: #fbfcfc;
  --label: #f8faf9;        /* top label strip */
  --white: #ffffff;
  --ink: #141515;
  --ink-soft: #4a4d4c;     /* 7.4:1 on the table */
  --rule: #c5cac8;
  --film: #1b1815;         /* film base */
  --frame-line: #3f3a34;   /* thin lines between frames */
  --gate: #2a2622;         /* the slightly lighter gate around each image */
  --gate-line: #6a6157;
  --edge: #e8b65e;         /* edge printing, 9:1 on film */
  --edge-soft: #b59a6e;
  --edge-hi: #f6efe2;
  --grease: #d3281e;       /* grease pencil */
  --grease-film: #e2382b;  /* the same pencil on black film */
  --tape: #f3e6a0;         /* yellow lab tape = draft notes */
  --tape-ink: #2a2310;
  --focus-film: #ffd84a;

  /* material swatch colours (06 / Round 05) */
  --clay: #ab9e8f;
  --plaster: #efede6;
  --wood: #d9b98a;
  --wood-grain: rgba(122, 82, 38, 0.22);
  --fabric: #33507a;
  --drawing: #fbfaf5;
  --mirror-1: #eef2f5;
  --mirror-2: #95a2ad;
  --led: #fff3c4;
  --motion: #121317;
  --paint-r: #e3392b;
  --paint-y: #f5c443;
  --paint-g: #1f8a5b;
  --paint-b: #2a58c6;
  --paint-p: #ef8db2;
  --tbc-1: #d6d6d1;
  --tbc-2: #eeeeeb;

  --gut: 16px;
  --bar-h: 56px;           /* measured by roll.js */
  --rail-h: 46px;          /* measured by roll.js */
  --stick: calc(var(--bar-h) + var(--rail-h));

  /* the film band */
  --film-w: 61%;           /* of the content width, desktop */
  --col-gap: 48px;
  --reb: 26px;             /* rebate: sprocket holes + edge printing */
  --hole-x: 5px;
  --hole-w: 12px;
  --pitch: 20px;
  --edge-x: 19px;
  --inset: 10px;           /* space between rebate and image */
  --holes: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 26' preserveAspectRatio='none'%3E%3Crect y='7' width='18' height='12' rx='2.6' fill='%23f3f5f4'/%3E%3C/svg%3E");
  --max-h: 82vh;

  --display: "Archivo", "Helvetica Neue", Helvetica, "Segoe UI", sans-serif;
  --mono: "Martian Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
}
@supports (height: 1svh) { :root { --max-h: 82svh; } }

@media (min-width: 700px) {
  :root { --gut: 40px; --reb: 40px; --hole-x: 7px; --hole-w: 15px; --pitch: 23px; --edge-x: 25px; --inset: 14px; }
}
@media (min-width: 1000px) {
  :root { --reb: 50px; --hole-x: 9px; --hole-w: 18px; --pitch: 26px; --edge-x: 32px; --inset: 16px; }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background-color: var(--table);
  background-image: radial-gradient(ellipse 80% 520px at 50% 0, var(--table-glow), rgba(251, 252, 252, 0) 72%);
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.55;
  overflow-wrap: break-word;
}

img { max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; text-underline-offset: 0.18em; }
button { font: inherit; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.vh {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: var(--gut);
  top: -60px;
  z-index: 40;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  font: 600 13px var(--mono);
}
.skip:focus { top: 8px; }

.wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--gut);
  overflow-x: clip;        /* the red loops may lean into the gutter, never past it */
}

/* ---------- the eyes (07 Gaze / Round 05, drawn in ink with red beads) ---------- */

.eyes { display: block; height: auto; overflow: visible; }
.eye { transform-box: fill-box; transform-origin: 50% 62%; }
.eye__white { fill: var(--white); }
.eye__iris { fill: var(--table); stroke: var(--ink); stroke-width: 2; }
.eye__spokes { fill: none; stroke: var(--ink); stroke-width: 1.1; stroke-linecap: round; }
.eye__pupil { fill: var(--ink); }
.eye__glint { fill: var(--white); }
.eye__lid { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linejoin: round; }
.eye__lashes path { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
.eye__lashes circle { fill: var(--grease); }
.eye__look { transition: transform 0.22s ease-out; }

.eyes--mini { width: 74px; }
.eyes--mini .eye__lid { stroke-width: 5; }
.eyes--mini .eye__lashes path { stroke-width: 3.6; }
.eyes--mini .eye__iris { stroke-width: 3.5; }
.eyes--mini .eye__spokes { display: none; }

.eyes.is-blinking .eye { animation: blink 0.28s ease-in-out; }
@keyframes blink {
  0%, 100% { transform: scaleY(1); }
  45% { transform: scaleY(0.08); }
}

/* ---------- top label strip: name, small eyes, nav ---------- */

.bar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--label);
  border-bottom: 2px solid var(--ink);
}
.bar-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 20px;
  max-width: 1440px;
  min-height: 54px;
  margin: 0 auto;
  padding: 7px var(--gut);
}
.bar-id {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}
.bar-name {
  font-weight: 800;
  font-stretch: 112%;
  font-size: 19px;
  line-height: 1;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
}
.bar-name:hover { text-decoration: underline; text-decoration-color: var(--grease); text-decoration-thickness: 2px; }

.nav { margin-left: auto; }
.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a {
  display: inline-block;
  padding: 6px 0 3px;
  font: 500 12.5px/1.2 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.nav a:hover { border-bottom-color: var(--rule); }
.nav a[aria-current="page"] { border-bottom-color: var(--grease); }

/* home: the small eyes join the bar once the big ones have scrolled away */
.page-home .bar-id { visibility: hidden; opacity: 0; }
.page-home.is-past-hero .bar-id { visibility: visible; opacity: 1; transition-delay: 0s; }

@media (max-width: 559px) {
  .bar-in { gap: 2px 12px; padding-top: 6px; padding-bottom: 6px; min-height: 0; }
  .bar-name { font-size: 16px; }
  .eyes--mini { width: 54px; }
  .nav ul { gap: 2px 14px; }
  .nav a { font-size: 11px; letter-spacing: 0.04em; }
}

/* ---------- hero: Rachel (eyes) Liu, kept spare ---------- */

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 40px;
  padding: clamp(14px, 1.8vw, 22px) 0 clamp(12px, 1.4vw, 18px);
}

.hero-name {
  display: flex;
  align-items: center;
  gap: 0 0.2em;
  margin: 0;
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(42px, 6.4vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.03em;
}
.hero-name .w { display: block; }
.eyes-slot { display: block; flex: 0 0 auto; }
.eyes--hero { width: 3.15em; margin-top: -0.16em; }

@media (max-width: 559px) {
  .hero-name { flex-wrap: wrap; gap: 6px 0.22em; font-size: clamp(40px, 12.5vw, 56px); }
  .eyes-slot { order: -1; flex-basis: 100%; }
  .eyes--hero { width: min(62vw, 240px); margin: 0 0 0 -4px; }
}

.legend {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  margin: 0 0 4px;
  font: 400 12px/1.5 var(--mono);
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  text-align: right;
}
.legend b { color: var(--ink); font-weight: 600; }
.legend-loop { display: inline-flex; align-items: center; gap: 8px; }
.legend-loop svg { width: 30px; height: 21px; flex: 0 0 auto; }
@media (max-width: 999px) {
  .legend { align-items: flex-start; text-align: left; }
}

.page-title {
  margin: 0;
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

/* ---------- the material rail: passive, lights up for the work in view ---------- */

.rail {
  position: sticky;
  top: var(--bar-h);
  z-index: 25;
  background: var(--table);   /* solid: the art never shows blurred behind it */
  border-bottom: 1px solid var(--rule);
}
.rail-in {
  display: flex;
  align-items: center;
  gap: 8px 22px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 7px var(--gut) 6px;
}
.rail-k {
  flex: 0 0 auto;
  margin: 0;
  font: 700 11px/1 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.mats {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.mat {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 5px 7px 4px 4px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  color: var(--ink);
  font: 600 13px/1.1 var(--display);
  font-stretch: 104%;
  cursor: pointer;
  transition: opacity 0.25s ease, border-color 0.25s ease;
}
.mat i {
  display: block;
  flex: 0 0 auto;
  width: 26px;
  height: 16px;
  border: 1px solid rgba(20, 21, 21, 0.25);
  transition: filter 0.25s ease;
}
.mat:hover { background: rgba(20, 21, 21, 0.06); }
.mat:focus-visible { outline-offset: 1px; }
/* the work in view: its materials in full colour, red underline; the rest dim */
.rail.has-current .mat { opacity: 0.4; }
.rail.has-current .mat i { filter: grayscale(0.85); }
.rail .mat.is-lit { opacity: 1; border-bottom-color: var(--grease); }
.rail .mat.is-lit i { filter: none; border-color: rgba(20, 21, 21, 0.45); }
.rail .mat:hover { opacity: 1; }

.rail-count {
  flex: 0 0 auto;
  margin: 0 0 0 auto;
  font: 500 11px/1 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}
.rail-count b { color: var(--ink); font-weight: 700; }

@media (max-width: 999px) {
  .rail-count { display: none; }
}
@media (max-width: 759px) {
  .rail-in { padding-top: 5px; padding-bottom: 4px; }
  .rail-k { display: none; }
  .mats { display: grid; grid-template-columns: repeat(var(--n, 8), minmax(0, 1fr)); gap: 0 3px; width: 100%; }
  .mat { flex-direction: column; gap: 3px; padding: 3px 0 3px; font-size: 10px; font-weight: 600; letter-spacing: -0.01em; }
  .mat i { width: 100%; height: 11px; }
  .mat span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

/* flat CSS textures (06 / Round 05), never photos */
.tx-clay {
  background-color: var(--clay);
  background-image: repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0 3px, rgba(255, 255, 255, 0) 3px 7px, rgba(60, 45, 30, 0.16) 7px 9px, rgba(60, 45, 30, 0) 9px 12px);
}
.tx-plaster {
  background-color: var(--plaster);
  background-image:
    radial-gradient(circle at 30% 40%, rgba(80, 75, 65, 0.22) 0 0.8px, transparent 1.4px),
    radial-gradient(circle at 70% 75%, rgba(80, 75, 65, 0.16) 0 1px, transparent 1.6px),
    radial-gradient(circle at 55% 15%, rgba(255, 255, 255, 0.9) 0 1.2px, transparent 2px);
  background-size: 9px 11px, 13px 7px, 17px 19px;
}
.tx-wood {
  background-color: var(--wood);
  background-image:
    repeating-linear-gradient(97deg, var(--wood-grain) 0 1px, transparent 1px 6px),
    repeating-linear-gradient(93deg, rgba(122, 82, 38, 0.12) 0 3px, transparent 3px 23px),
    linear-gradient(90deg, rgba(255, 240, 210, 0.25), rgba(255, 240, 210, 0) 40%, rgba(255, 240, 210, 0.2));
}
.tx-fabric {
  background-color: var(--fabric);
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.14) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.22) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.06) 0 2px, transparent 2px 8px);
}
.tx-drawing {
  background-color: var(--drawing);
  background-image:
    repeating-linear-gradient(135deg, rgba(59, 60, 66, 0.62) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(45deg, rgba(59, 60, 66, 0.35) 0 1px, transparent 1px 7px),
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.05) 0 0.6px, transparent 1px);
  background-size: 58% 52%, 40% 34%, 5px 5px;
  background-position: 100% 100%, 100% 100%, 0 0;
  background-repeat: no-repeat, no-repeat, repeat;
}
.tx-light {
  background-color: var(--mirror-2);
  background-image:
    radial-gradient(circle at 72% 34%, var(--led) 0 3px, rgba(255, 214, 90, 0.75) 4px, rgba(255, 214, 90, 0) 16px),
    linear-gradient(128deg, var(--mirror-1) 0%, var(--mirror-2) 38%, #f7f9fb 52%, #8996a1 70%, #dfe5ea 100%);
}
.tx-motion {
  background-color: var(--motion);
  background-image:
    radial-gradient(circle at 50% 20%, #f4f4f4 0 1.6px, transparent 2.1px),
    radial-gradient(circle at 36% 44%, #f4f4f4 0 1.4px, transparent 1.9px),
    radial-gradient(circle at 64% 44%, #f4f4f4 0 1.4px, transparent 1.9px),
    radial-gradient(circle at 50% 56%, #f4f4f4 0 1.4px, transparent 1.9px),
    radial-gradient(circle at 42% 82%, #f4f4f4 0 1.4px, transparent 1.9px),
    radial-gradient(circle at 60% 82%, #f4f4f4 0 1.4px, transparent 1.9px);
}
.tx-paint {
  background-color: var(--paint-y);
  background-image: linear-gradient(115deg,
    var(--paint-r) 0 21%, var(--paint-y) 21% 39%, var(--paint-g) 39% 56%,
    var(--paint-b) 56% 76%, var(--paint-p) 76% 100%);
}
.tx-tbc {
  background-color: var(--tbc-2);
  background-image: repeating-linear-gradient(45deg, var(--tbc-1) 0 4px, var(--tbc-2) 4px 8px);
}

/* ---------- notes and tbc (yellow lab tape, smaller than Round 05) ---------- */

.note {
  display: table;
  max-width: 60ch;
  margin: 8px 0 0;
  padding: 2px 7px 3px;
  background: var(--tape);
  color: var(--tape-ink);
  font: 400 11px/1.45 var(--mono);
  letter-spacing: 0.01em;
}
.tbc {
  display: inline-block;
  padding: 0 5px;
  background: var(--tape);
  color: var(--tape-ink);
  font: 500 10px/1.5 var(--mono);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  vertical-align: 0.14em;
  white-space: nowrap;
}

/* ---------- the roll ---------- */

.roll { position: relative; }
.roll:focus { outline: none; }
.nojs { padding: 24px 0; }

/* one film band runs down the whole roll (desktop: the left column) */
.band,
.roll::before {
  background:
    var(--holes) left var(--hole-x) top 0 / var(--hole-w) var(--pitch) repeat-y,
    var(--holes) right var(--hole-x) top 0 / var(--hole-w) var(--pitch) repeat-y,
    var(--film);
}

.work { position: relative; }

.chunk {
  position: relative;
  color: var(--edge);
}

/* the splice at the start of each work: its ID and title as edge printing */
.splice {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px 16px;
  margin: 0;
  padding: 12px calc(var(--reb) + var(--inset)) 2px;
  font: 500 10px/1.4 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--edge);
}
.splice b { color: var(--edge-hi); font-weight: 600; }
.splice span:last-child { color: var(--edge-soft); white-space: nowrap; }
.work + .work .splice { border-top: 2px solid #4d463e; }

/* a row holds one frame, or two side by side */
.row {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 18px calc(var(--reb) + var(--inset));
}
.row + .row::before {      /* the thin frame line between frames */
  content: "";
  position: absolute;
  top: 0;
  left: var(--reb);
  right: var(--reb);
  height: 1px;
  background: var(--frame-line);
}
.row--main { padding-top: 28px; padding-bottom: 28px; }

/* edge printing in the rebate beside each frame */
.edge {
  position: absolute;
  top: 20px;
  writing-mode: vertical-rl;
  font: 500 9.5px/1 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--edge);
  pointer-events: none;
}
.edge--l { left: var(--edge-x); transform: rotate(180deg); }
.edge--r { right: calc(var(--edge-x) - 1px); }
@media (max-width: 699px) {
  .edge { font-size: 8px; letter-spacing: 0.08em; }
  .edge--l { left: calc(var(--edge-x) - 1px); }
}

.shot {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* the gate hugs the image: as wide as fits, never taller than the screen */
.gate {
  position: relative;
  width: min(100%, calc(var(--max-h) * var(--r, 0.8) + 8px));
  padding: 4px;
  background: var(--gate);
  box-shadow: inset 0 0 0 1px var(--gate-line);
}
.gate img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;        /* whole image, never cropped */
}
.gate img:not([width]) { aspect-ratio: auto 4 / 5; }   /* until an image of unknown shape loads */

/* grease-pencil loop around the main image: drawn by roll.js outside the gate */
.loop {
  position: absolute;
  left: -22px;
  top: -22px;
  width: calc(100% + 44px);
  height: calc(100% + 44px);
  overflow: visible;
  pointer-events: none;
}
.loop path {
  fill: none;
  stroke: var(--grease-film);
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* captions and notes under a frame, like edge printing */
.cap {
  width: 100%;
  max-width: calc(var(--max-h) * var(--r, 0.8) + 8px);
  margin: 0;
  padding: 7px 2px 0;
  font: 400 11px/1.45 var(--mono);
  letter-spacing: 0.03em;
  color: var(--edge-hi);
  text-align: left;
}
.cap .n { color: var(--edge); margin-right: 0.6em; }
.shot.is-main .cap { padding-top: 24px; }    /* clear of the red loop */
.shot .cap.cap--sr { padding: 0; }
.cap .note { margin-top: 6px; font-size: 10.5px; }
.cap-t { display: block; }
.cap-f { display: block; margin-top: 1px; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--edge-soft); }

.tail {
  position: relative;
  margin: 0;
  padding: 18px calc(var(--reb) + var(--inset)) 26px;
  font: 500 10px/1.4 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--edge-soft);
  text-align: center;
}
.tail::before {
  content: "";
  position: absolute;
  top: 0;
  left: var(--reb);
  right: var(--reb);
  height: 2px;
  background: #4d463e;
}

/* ---------- the slate: text for each work ---------- */

.slate {
  padding: 30px 0 18px;
}
.slate-id {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 12px;
  margin: 0 0 6px;
  font: 500 11px/1.5 var(--mono);
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.slate-id b { color: var(--ink); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
.slate-title {
  margin: 0;
  font-weight: 800;
  font-stretch: 112%;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.slate-title .tbc { margin-left: 4px; vertical-align: 0.5em; }
.slate-type { margin: 6px 0 0; font: 400 12.5px/1.45 var(--mono); color: var(--ink-soft); }

.facts { margin: 12px 0 0; border-top: 1px solid rgba(20, 21, 21, 0.14); }
.facts > div {
  display: grid;
  grid-template-columns: 6.6em minmax(0, 1fr);
  gap: 0 10px;
  padding: 3px 0;
  border-bottom: 1px solid rgba(20, 21, 21, 0.1);
}
.facts dt {
  font: 600 10.5px/1.95 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.facts dd { margin: 0; font-size: 14.5px; line-height: 1.45; }

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  font: 500 11.5px/1.2 var(--mono);
}
.swatches li { display: flex; align-items: center; gap: 6px; }
.swatches i { display: block; width: 22px; height: 14px; border: 1px solid rgba(20, 21, 21, 0.3); }

.film-link { margin: 12px 0 0; font-weight: 700; font-size: 15px; }
.film-link a { text-decoration-color: var(--grease); text-decoration-thickness: 2px; }

.k {
  display: block;
  margin: 16px 0 4px;
  font: 600 10.5px/1.4 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.inq { margin: 0; font-size: 16px; line-height: 1.45; font-weight: 600; }
.statement p { margin: 0 0 0.75em; font-size: 15.5px; line-height: 1.6; }
.statement p:last-child { margin-bottom: 0; }
.process { margin: 0; font: 400 11.5px/1.6 var(--mono); color: var(--ink-soft); }
.slate .notes { margin-top: 12px; }

/* desktop: the film on the left, each work's slate beside it, sticky */
@media (min-width: 1000px) {
  .roll::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: var(--film-w);
  }
  .work {
    display: grid;
    grid-template-columns: var(--film-w) minmax(0, 1fr);
    column-gap: var(--col-gap);
    align-items: start;
  }
  .work > .chunk { grid-column: 1; grid-row: 1; }
  .work > .slate {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: calc(var(--stick) + 22px);
    padding: 14px 0 22px;
    margin-top: 12px;
    border-top: 2px solid var(--ink);
  }
  .tail { width: var(--film-w); }
  [id] { scroll-margin-top: calc(var(--stick) + 8px); }
}

/* below ~1000px: each slate sits above its frames, the film full width */
@media (max-width: 999px) {
  .chunk, .tail { background:
    var(--holes) left var(--hole-x) top 0 / var(--hole-w) var(--pitch) repeat-y,
    var(--holes) right var(--hole-x) top 0 / var(--hole-w) var(--pitch) repeat-y,
    var(--film); }
  .work + .work .splice { border-top: 0; }
  .work + .work .slate { padding-top: 36px; }
  .slate { max-width: 70ch; }
  [id] { scroll-margin-top: calc(var(--stick) + 8px); }
}
@media (max-width: 699px) {
  .row { gap: 10px; padding-top: 14px; padding-bottom: 14px; }
  .row--main { padding-top: 22px; padding-bottom: 22px; }
  .loop { left: -15px; top: -15px; width: calc(100% + 30px); height: calc(100% + 30px); }
}

/* ---------- earlier paintings: a wide band, three across ---------- */

.group { margin-top: 40px; }
.group-slate {
  display: grid;
  gap: 4px 40px;
  padding: 16px 0 18px;
  border-top: 2px solid var(--ink);
}
@media (min-width: 1000px) {
  .group-slate { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
  .group-slate .gs-b { justify-self: end; text-align: right; }
  .group-slate .gs-b .note { margin-left: auto; }
  .group-slate .swatches { justify-content: flex-end; }
}
.group-slate .slate-title { font-size: clamp(26px, 2.6vw, 38px); }

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0 var(--reb);
  padding: 0;
  list-style: none;
  background: var(--frame-line);   /* shows through the 1px gaps as frame lines */
}
@media (max-width: 999px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .grid { grid-template-columns: minmax(0, 1fr); } }
.cell {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px var(--inset) 16px;
  background: var(--film);
}
.cell .shot { flex: 1 1 auto; justify-content: flex-end; }
.cell .gate { width: 100%; }
.cell--tail {
  grid-column: auto / -1;
  justify-content: center;
  align-items: center;
  min-height: 80px;
  font: 500 10px/1.4 var(--mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--edge-soft);
}
.band--wide { padding-bottom: 0; }
.band--wide .splice { padding-left: var(--reb); padding-right: var(--reb); }

/* ---------- end of the roll: about, next roll ---------- */

.about {
  display: grid;
  gap: 8px 28px;
  margin: 56px 0 0;
  padding-top: 20px;
  border-top: 2px solid var(--ink);
}
@media (min-width: 760px) { .about { grid-template-columns: 150px minmax(0, 1fr); } }
.about h2 {
  margin: 0;
  font: 700 12px/1.9 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.about-text { max-width: 60ch; }
.about-text p { margin: 0 0 0.7em; font-size: clamp(19px, 2vw, 23px); line-height: 1.45; }
.about-text .note { font-size: 11px; line-height: 1.45; margin: 0; }
.about-text .about-contact { margin-top: 14px; font: 500 14px/1.5 var(--mono); }

.next-roll-wrap { margin: 48px 0 40px; }
.page-earlier .next-roll-wrap { margin-top: 56px; }
.next-roll {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 22px 15px;
  background: var(--film);
  color: var(--edge-hi);
  text-decoration: none;
  border-left: 6px solid var(--grease);
}
.next-roll-t { font-weight: 800; font-stretch: 112%; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.1; letter-spacing: -0.01em; }
.next-roll-s { font: 400 11.5px/1.4 var(--mono); letter-spacing: 0.04em; color: var(--edge); }
.next-roll:hover .next-roll-t { text-decoration: underline; text-decoration-color: var(--grease); text-decoration-thickness: 3px; }
.next-roll:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.foot {
  padding-top: 16px;
  padding-bottom: 28px;
  border-top: 1px solid var(--rule);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.foot p { margin: 0; max-width: 100ch; }

/* ---------- focus on film ---------- */
.chunk a:focus-visible, .band a:focus-visible { outline-color: var(--focus-film); }

/* ---------- reduced motion: the eyes stay still, nothing animates ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}

@media print {
  .bar, .rail { position: static; }
  .skip { display: none; }
}
