/* Iya Nacuaa, v2: The Spine.
   The skull's spine is the red line. It runs the length of every page, fills as you read,
   and every work, book and chapter hangs off it as a vertebra. Short lines sit in the margin.
   Display: Special Elite (Astigmatic, Apache 2.0), owner's pick 2026-12-01 for the show title
   (docs/social/teaser-v4/type-board.md), and since round 2 the only display face: titles, headings, the
   wordmark, buttons. Typewriter on copy sheets, as on the teaser tiles. Set in its own case, never tracked.
   Text: Junicode 2 (Peter S. Baker, SIL OFL 1.1). Both self-hosted, subset, in /fonts/.
   Rejected on purpose: cream ground, mono kickers, card grids, pill tags, hairlines everywhere,
   drop shadows on art, one type scale for every page (docs/design/beyond-the-default.md).

   SPACE (2026-12-01, owner: "riddled with bad inconsistent padding and margin issues"). One system, measured by
   tools/layout_audit.mjs (a predeploy gate):
   - One scale, one ratio: 8 px times the square root of 2, rounded. --s0 4, --s1 8, --s2 11, --s3 16, --s4 23,
     --s5 32, --s6 45, --s7 64, --s8 91, --s9 128. Every margin, padding and gap in this file is one of these.
   - One gutter per breakpoint (--gutter). The spine sits one gutter in from the left edge; the page starts one
     gutter past the spine (--pad). The right edge is one gutter in.
   - Two alignment lines: the page line (--pad) and the text line (--pad + --margin + --gap), where the gloss
     column opens at 900 px. Everything starts on one of them, or flush in its own column.
   - Rhythm: --space-section between sections, --space-block between blocks inside one, --space-head between a
     heading and its content, --space-para between paragraphs, --space-cap between an image and its caption,
     --space-meta between a title and its meta line. --grid-gap is the gutter of every grid, rows and columns alike.
   - One measure for text (--measure), one for display lines (--measure-wide).
   - Images sit tight: no frame, mat, border, shadow or panel around any artwork; a box always takes the image's
     own shape (aspect-ratio from --ar), so nothing is cropped and nothing is letterboxed. */

@font-face { font-family: "Special Elite"; src: url(/fonts/SpecialElite-sub.woff) format("woff"); font-display: swap; }
@font-face { font-family: "Junicode"; src: url(/fonts/Junicode-Roman-sub.woff2) format("woff2"); font-weight: 300 700; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Junicode"; src: url(/fonts/Junicode-Italic-sub.woff2) format("woff2"); font-weight: 300 700; font-stretch: 75% 100%; font-style: italic; font-display: swap; }
/* metric-matched fallbacks so the swap does not move the page */
@font-face { font-family: "Elite fallback"; src: local("Courier New"), local("CourierNewPSMT"); size-adjust: 96%; ascent-override: 88%; }
@font-face { font-family: "Junicode fallback"; src: local("Georgia"); size-adjust: 94%; ascent-override: 96%; }

:root {
  --sheet: #F7F6F2;      /* the drawing paper as photographed, cool, not cream */
  --well: #ECEAE4;       /* where an image waits */
  --ink: #151412;        /* charcoal */
  --graphite: #5B5750;   /* 6.6:1 on sheet */
  --bone: #D6D2CA;       /* the spine before it is read */
  --red: #8C1C2B;        /* cochineal: the line, and nothing else loud */
  --red-on-dark: #F08A95;
  --foot-ink: #ECEAE4;
  --foot-dim: #B9B4AB;
  --display: "Special Elite", "Elite fallback", "Courier New", monospace;
  --text: "Junicode", "Junicode fallback", Georgia, serif;

  /* the scale: 8 x sqrt(2)^n */
  --s0: 4px; --s1: 8px; --s2: 11px; --s3: 16px; --s4: 23px; --s5: 32px; --s6: 45px; --s7: 64px; --s8: 91px; --s9: 128px;

  /* the page: phone */
  --gutter: var(--s3);
  --sp: var(--gutter);                                   /* spine x */
  --pad: calc(var(--sp) + 2px + var(--gutter));          /* the page line */
  --right: var(--gutter);
  --margin: 0px;                                         /* the gloss column */
  --gap: 0px;
  --cw: calc(100vw - var(--pad) - var(--right));          /* content width for lockups */
  --measure: 660px;
  --measure-wide: 990px;

  /* rhythm: phone */
  --space-section: var(--s7);
  --space-block: var(--s5);
  --space-head: var(--s4);
  --space-para: var(--s3);
  --space-cap: var(--s2);
  --space-meta: var(--s0);
  --grid-gap: var(--s4);
  color-scheme: light;
}
@media (min-width: 700px) {
  :root { --gutter: var(--s5); --space-section: var(--s8); --grid-gap: var(--s5); }
}
@media (min-width: 900px) {
  :root { --gutter: var(--s6); --margin: 210px; --gap: var(--s6); --space-head: var(--s5); --space-block: var(--s6);
          --cw: calc(100vw - var(--pad) - var(--right) - var(--margin) - var(--gap)); }
}
@media (min-width: 1100px) { :root { --space-section: var(--s9); --grid-gap: var(--s6); } }
@media (min-width: 1500px) { :root { --margin: 250px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--sheet); color: var(--ink);
  font-family: var(--text); font-size: 20px; line-height: 1.55; font-variant-numeric: oldstyle-nums proportional-nums;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; overflow-x: clip;
}
@media (min-width: 900px) { body { font-size: 21px; } }
img, video { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; text-decoration-color: var(--red); }
a:hover { color: var(--red); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; }
p + p { margin-top: var(--space-para); }
em { font-style: italic; }
::selection { background: var(--red); color: var(--sheet); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--s3); top: var(--s3); background: var(--ink); color: var(--sheet); padding: var(--s1) var(--s2); z-index: 20; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sc, .nav a, .crumb, .draft, .pg-k, .cv-y, .fine, .foot nav a, .g-m, .ix, .price { font-variant-numeric: lining-nums; }

/* ---------- the spine ---------- */
.spine { position: fixed; z-index: 2; top: 0; bottom: 0; left: var(--sp); width: 2px; background: var(--bone); pointer-events: none; }
.spine-fill { position: absolute; inset: 0; background: var(--red); transform-origin: 50% 0; }
@supports (animation-timeline: scroll()) {
  .spine-fill { animation: read linear both; animation-timeline: scroll(root block); }
  @keyframes read { from { transform: scaleY(0.06); } to { transform: scaleY(1); } }
}
@media (prefers-reduced-motion: reduce) { .spine-fill { animation: none; transform: none; } }
/* a vertebra: a short red bone from the spine to whatever hangs off it */
.v, .row > .gl { position: relative; }
.v::before, .row:not(.v) > .gl:not(:empty)::before {
  content: ""; position: absolute; top: 0.62em; height: 2px; background: var(--red);
  left: calc(var(--sp) - var(--pad)); width: calc(var(--pad) - var(--sp) - var(--s1));
}
.v::before { top: 0.72em; }

/* ---------- masthead ---------- */
.draft { position: relative; z-index: 3; margin: 0; background: var(--ink); color: var(--sheet); text-align: center; padding: var(--s1) var(--right) var(--s1) var(--pad); font-size: 15px; line-height: 1.3; }
.mast { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s1) var(--s5); padding: var(--s4) var(--right) var(--s3) var(--pad); }
.name { display: inline-flex; align-items: center; text-decoration: none; font-family: var(--display); font-size: 26px; line-height: 1; }
.name .skull { position: absolute; left: calc(var(--sp) + 1px - 16px); top: var(--s3); width: 32px; height: auto; background: var(--sheet); }
.nav { display: flex; flex-wrap: wrap; gap: var(--s0) var(--s4); font-size: 20px; line-height: 1.3; }
.nav a { text-decoration: none; color: var(--graphite); display: inline-block; padding-block: 11px; margin-block: -11px; }  /* 44 px tap height, layout unchanged */
.nav a:hover { color: var(--ink); }
.nav a[aria-current] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
@media (max-width: 899px) { .nav { width: 100%; justify-content: space-between; gap: var(--s0) var(--s2); font-size: 17px; } }
@media (min-width: 900px) {
  .name { font-size: 36px; }
  .name .skull { width: 68px; left: calc(var(--sp) + 1px - 34px); top: var(--s1); }
}

main { position: relative; z-index: 1; padding: 0 var(--right) 0 var(--pad); }
/* the rhythm: one value between the sections of a page, one above the first */
main > * + *, main > article > * + * { margin-top: var(--space-section); }
main > :first-child:not(.hero) { padding-top: var(--space-block); }
/* a content note sits close to what it warns about */
main > .row:has(> .content-note) + *, main > article > .row:has(> .content-note) + *,
main > article > .ch:has(> .ch-body > .content-note:only-child) + * { margin-top: var(--space-block); }
main > dialog { margin-top: 0; }
/* a page's own header (title, tagline) is a heading: its content follows at --space-head */
main > article > header + * { margin-top: var(--space-head); }
.row > .gl + * { margin-top: 0; }

/* ---------- rows: the gloss column beside the spine, the page beside it ---------- */
.row { display: grid; grid-template-columns: minmax(0, 1fr); }
.gl { font-style: italic; color: var(--graphite); font-size: 17px; line-height: 1.4; }
.gl:empty { display: none; }
@media (max-width: 899px) { .row > .gl:not(:empty) { margin-bottom: var(--space-para); } }
@media (min-width: 900px) {
  .row { grid-template-columns: var(--margin) minmax(0, 1fr); column-gap: var(--gap); }
  .gl:empty { display: block; }
  .row > .gl { font-size: 18px; }
  /* text beside text: the margin line and the page line share a first baseline */
  .prose, .ch, .head > .row, .later, .rp { align-items: baseline; }
}

/* ---------- display type ---------- */
.big-h, .gadl, .wt, .bt, .bk-t, .sec, .ch-h, .pg-t, .product-name {
  font-family: var(--display); font-weight: 400; line-height: 1.04; letter-spacing: 0;
}
/* a lockup fills the measure: its longest word sets the size */
.big-h, .wt, .bt, .bk-t {
  font-size: clamp(36px, min(var(--cap, 11vw), calc(var(--cw) / (var(--word, 8) * 0.56))), var(--max, 150px));
  overflow-wrap: anywhere; text-wrap: balance;
}
.head > .big-h, .work-head > .wt, .book-head > .bt { margin-bottom: var(--space-head); }
.head > .row + .row { margin-top: var(--space-block); }
@media (min-width: 900px) { .head > .big-h, .head > .crumb, .work-head, .book-head { margin-left: calc(var(--margin) + var(--gap)); } }
.lede { font-size: clamp(21px, 1.7vw, 25px); line-height: 1.45; max-width: var(--measure); }
.coll { color: var(--graphite); }
.coll + .lede { margin-top: var(--space-para); }
.crumb { color: var(--graphite); font-size: 19px; margin-bottom: var(--s3); }
.crumb a { text-decoration: none; }
.sec { font-size: clamp(30px, 3.6vw, 54px); }
.sec + * { margin-top: var(--space-head); }
.go { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s1) var(--s5); }
* + .go { margin-top: var(--space-para); }
.go a { font-style: italic; }
.note { color: var(--graphite); max-width: var(--measure); }
* + .note { margin-top: var(--space-block); }

/* ---------- home: the opening lockup ---------- */
.gadl { display: block; }
.gadl .ga, .gadl .dl { display: block; }
.gadl .dl { text-align: right; }
.gadl .cross { display: block; height: 2px; background: var(--red); margin: 0.1em 0 0.2em calc(var(--sp) - var(--pad)); transform-origin: 0 50%; animation: across 1.4s cubic-bezier(.6,0,.2,1) .2s both; }
@keyframes across { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .gadl .cross { animation: none; } }
/* the title is typed, not drawn: Special Elite in its own case, sized so "Don’t Leave" (5.77 em) fills the measure */
.gadl { font-family: var(--display); text-transform: none; letter-spacing: 0; font-size: clamp(36px, calc(var(--cw) / 5.9), 250px); line-height: 0.92; }
.gadl.small { font-size: clamp(34px, calc(var(--cw) / 7.4), 190px); }
@media (min-width: 900px) {
  .head > .gadl.small { margin-left: calc(var(--margin) + var(--gap)); }
  .head > .gadl.small .cross { margin-left: calc(var(--sp) - var(--pad) - var(--margin) - var(--gap)); }
}

/* ---------- the checklist ---------- */
.ix { list-style: none; padding: 0; columns: 1; column-gap: var(--gap); font-variant-numeric: lining-nums tabular-nums; }
@media (min-width: 900px) { .ix { columns: 2; } }
.ix li { break-inside: avoid; }
.ix a { display: flex; align-items: baseline; gap: var(--s1); padding: var(--s0) 0; text-decoration: none; font-size: 19px; }
.ix-t { font-style: italic; }
.ix-d { flex: 1; min-width: var(--s2); border-bottom: 2px dotted var(--bone); transform: translateY(-0.25em); }
.ix-y { color: var(--graphite); }
.ix-y:empty { display: none; }
.ix-p { min-width: 6.6em; text-align: right; }
.ix-p.sold { color: var(--graphite); }
.ix a:hover .ix-t { color: var(--red); }
@media (max-width: 520px) { .ix a { flex-wrap: wrap; gap: 0 var(--s3); padding: var(--s1) 0; } .ix-d { display: none; } .ix-t { flex: 1 1 100%; } .ix-p { text-align: left; min-width: 0; } }

/* ---------- thesis ---------- */
.thesis .big { font-size: clamp(32px, 4.2vw, 68px); line-height: 1.06; font-weight: 300; letter-spacing: -0.01em; text-wrap: balance; max-width: var(--measure-wide); margin-bottom: var(--space-head); }
.thesis .big em { color: var(--red); }
.thesis-side { max-width: var(--measure); color: var(--graphite); }

/* ---------- works index extras ---------- */
.draws { list-style: none; padding: 0; display: grid; gap: var(--grid-gap); }
.dr a { display: grid; text-decoration: none; }
.draws { --dh: clamp(120px, 15vw, 220px); }
.dr-img { display: flex; gap: var(--s1); width: min(100%, calc(var(--dh) * var(--sum) + (var(--n) - 1) * var(--s1))); }
.dr-img img { flex: calc(var(--ar) * 100) 1 0; min-width: 0; width: 100%; height: auto; }
.dr-t { font-family: var(--display); font-size: clamp(24px, 2.2vw, 34px); line-height: 1.05; margin-top: var(--space-cap); }
.dr-m { color: var(--graphite); font-size: 18px; margin-top: var(--space-meta); }
.dr a:hover .dr-t { color: var(--red); }
@media (min-width: 900px) { .draws { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- a work ---------- */
.wt { --cap: 10vw; --max: 120px; }
.work-grid { display: grid; gap: var(--space-block); }
/* the image column takes the drawing's own width (capped by the screen height), so the drawing fills it exactly */
.work-image { width: min(100%, calc(86vh * var(--ar))); }
@media (min-width: 1200px) {
  .work-grid { grid-template-columns: min(calc(86vh * var(--ar)), 58%) minmax(0, 1fr); column-gap: var(--space-block); align-items: start; }
  .work-image { width: auto; position: sticky; top: var(--s4); }
}
.zoom { all: unset; cursor: zoom-in; display: block; width: 100%; }
.zoom img { width: 100%; height: auto; }
.zoom:focus-visible { outline: 2px solid var(--red); outline-offset: 6px; }
.meta { color: var(--graphite); }
.price { font-size: clamp(30px, 2.6vw, 40px); font-variant-numeric: lining-nums tabular-nums; margin: var(--space-para) 0; line-height: 1.1; }
.price.sold { color: var(--graphite); font-style: italic; }
.tally { color: var(--ink); margin: calc(-1 * var(--s2)) 0 var(--space-para); font-variant-numeric: lining-nums tabular-nums; }
.ladder .fold .m { margin: var(--s2) 0 0; font-style: italic; }
.actions { display: grid; justify-items: start; gap: var(--s3); }
.btn { display: inline-block; text-decoration: none; background: var(--ink); color: var(--sheet); padding: var(--s2) var(--s4); font-family: var(--display); font-size: 18px; line-height: 1.2; border: 2px solid var(--ink); transition: background-color .2s, border-color .2s; }
.btn:hover { background: var(--red); border-color: var(--red); color: var(--sheet); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--sheet); }
.plain { font-style: italic; }
.work-text { margin-top: var(--space-block); font-size: 21px; line-height: 1.6; max-width: var(--measure); }
.poem { font-style: italic; font-size: 23px; line-height: 1.55; }
.work-text > * + * { margin-top: var(--space-para); }
.attr { color: var(--graphite); font-style: italic; }
.colophon { margin-top: var(--space-block); color: var(--graphite); font-size: 17px; line-height: 1.6; max-width: var(--measure); }
.colophon .sc { color: var(--ink); }

/* the rising price (off on the public site) */
.ladder { margin: 0 0 var(--space-para); font-size: 18px; color: var(--graphite); font-variant-numeric: lining-nums tabular-nums; }
.ladder .next { display: flex; align-items: center; gap: var(--s2); }
.ladder .q { width: 32px; height: 32px; border: 2px solid currentColor; background: none; color: inherit; font: inherit; font-size: 17px; cursor: pointer; line-height: 1; padding: 0; border-radius: 0; }
.ladder .q[aria-expanded="true"] { background: var(--ink); color: var(--sheet); border-color: var(--ink); }
.ladder .fold { margin-top: var(--s2); padding: var(--s3); background: var(--well); color: var(--ink); }
.ladder .fold p { font-size: 17px; line-height: 1.5; margin: 0 0 var(--s2); }
.ladder table { width: 100%; border-collapse: collapse; font-size: 17px; }
.ladder caption { text-align: left; padding-bottom: var(--s1); font-style: italic; }
.ladder th, .ladder td { text-align: left; padding: var(--s0) 0; font-weight: normal; }
.ladder td:last-child { text-align: right; }

/* pager: walk the spine, also with the arrow keys */
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: var(--grid-gap); align-items: end; }
@media (min-width: 900px) { .pager { grid-template-columns: 1fr auto 1fr; margin-left: calc(var(--margin) + var(--gap)); } }
.pager a { text-decoration: none; display: grid; gap: var(--s1); min-width: 0; }
.pager a[rel="next"] { text-align: right; }
.pg-k { color: var(--graphite); font-size: 18px; }
a[rel="prev"] .pg-k::before { content: "\2190  " / ""; }
a[rel="next"] .pg-k::after { content: "  \2192" / ""; }
.pg-t { font-size: clamp(20px, 2vw, 30px); overflow-wrap: anywhere; }
.pg-all { display: none !important; font-style: italic; }
@media (min-width: 900px) { .pg-all { display: block !important; } }
.pager a:hover .pg-t { color: var(--red); }

.viewer { border: 0; padding: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: var(--sheet); color: var(--ink); }
.viewer::backdrop { background: var(--sheet); }
.viewer-scroll { width: 100%; height: 100%; overflow: auto; display: grid; place-items: center; cursor: zoom-in; }
.viewer-scroll img { max-width: 96vw; max-height: 96vh; width: auto; height: auto; }
.viewer.zoomed .viewer-scroll { cursor: zoom-out; place-items: start; }
.viewer.zoomed .viewer-scroll img { max-width: none; max-height: none; }
.viewer .close { position: fixed; top: var(--s3); right: var(--s3); z-index: 2; font: inherit; font-family: var(--display); font-size: 18px; line-height: 1.2; background: var(--ink); color: var(--sheet); border: 2px solid var(--ink); padding: var(--s2) var(--s4); cursor: pointer; }

/* ---------- drawings and studies ---------- */
/* each figure is two rows (image, caption) on a shared subgrid: images stand on one line, captions start on one */
.sfs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap); }
.sfs.small { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (min-width: 900px) {
  .sfs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sfs.small { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .sfs.featured .sf:first-child { grid-column: span 2; }
}
.sfs.few { grid-template-columns: repeat(2, minmax(0, 420px)); }
.sf { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
.sf-img { display: block; align-self: end; }
.sf img { width: 100%; }
.sf figcaption { font-style: italic; color: var(--graphite); font-size: 17px; line-height: 1.4; margin-top: var(--space-cap); }
.content-note { font-size: 17px; line-height: 1.55; color: var(--graphite); max-width: var(--measure); position: relative; }
/* a note or a care box is a vertebra too: the red bone runs from the spine to its first line */
.row > .content-note::before, .row > .care-box::before, .ch-body > .content-note::before, .ch-body > .care-box::before, .set-down-text > .care-box::before {
  content: ""; position: absolute; top: 0.7em; height: 2px; background: var(--red);
  left: calc(var(--sp) - var(--pad) - var(--margin) - var(--gap)); width: calc(var(--pad) - var(--sp) + var(--margin) + var(--gap) - var(--s2));
}
.care-box::before { top: calc(var(--s4) + 0.7em) !important; }
.content-note a, .care-box a { color: var(--red); }
.care-box { font-size: 19px; background: var(--well); padding: var(--s4); max-width: var(--measure); position: relative; }
p + .care-box, .care-box + p { margin-top: var(--space-block); }

/* ---------- books ---------- */
.bk-t { --cap: 9vw; --max: 100px; }
.bk-t a { text-decoration: none; }
.bk-t a:hover { color: var(--red); }
.bt { --cap: 10vw; --max: 120px; }
.tag { font-style: italic; color: var(--red); font-size: clamp(24px, 2.4vw, 36px); line-height: 1.2; }
.book-grid { display: grid; gap: var(--space-block); align-items: start; }
.book-cover { width: clamp(46%, calc(var(--tw) * 8.5vw), 88%); }
.book-cover img { width: 100%; }
@media (min-width: 900px) {
  .book-grid { grid-template-columns: auto minmax(0, 1fr); }
  .book-cover { width: clamp(220px, calc(var(--tw) * 3.3vw), 34vw); position: sticky; top: var(--s4); }
}
.book-text { max-width: var(--measure); }
.book-text > p:first-child { font-size: 1.1em; }
.book-text > * + * { margin-top: var(--space-para); }
.book-text > .actions, .book-text > .colophon, .book-text > .hp-lines { margin-top: var(--space-block); }
.book-row .gl { font-style: italic; }
@media (min-width: 900px) { .book-row .gl { font-size: 21px; color: var(--ink); font-style: italic; } }
.spreads { display: grid; gap: var(--grid-gap); }
.sp img { width: 100%; }
.sp-1 { width: 84%; justify-self: end; }
.sp-2 { width: 84%; }
.frames { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--grid-gap); align-items: end; }
@media (min-width: 900px) { .frames { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fr img { width: 100%; }
.frames.two { grid-template-columns: repeat(2, minmax(0, 260px)); }
.bk-totally-on-it .tag { text-transform: lowercase; }

/* ---------- books index ---------- */
.books-h { --cap: 12vw; --max: 130px; }
.soon-k { color: var(--red) !important; font-style: italic; }
.soon-in { display: grid; gap: var(--space-block); align-items: end; }
.soon-cover { display: block; width: clamp(160px, calc(var(--tw) * 12vw), 300px); }
.soon-cover img { width: 100%; }
.soon-t { --cap: 9vw; --max: 84px; }
.soon-t a { text-decoration: none; }
.soon-text { max-width: var(--measure); }
.soon-text .tag { margin: var(--space-head) 0; text-transform: lowercase; }
.soon-text > .bk-t { margin-bottom: 0; }
@media (min-width: 900px) { .soon-in { grid-template-columns: auto minmax(0, 1fr); } }
.later .gl { color: var(--graphite); }
.later-l { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s1) var(--s3); }
.later-t { font-family: var(--display); font-size: clamp(22px, 2.2vw, 32px); line-height: 1.15; color: var(--graphite); }
@media (min-width: 700px) { .later-l li:not(:last-child) .later-t::after { content: " /"; color: var(--red); } }
@media (max-width: 699px) { .later-l { display: grid; gap: var(--s1); } }
.book-page .book-text .actions { margin-top: var(--space-block); }
.pager-one { grid-template-columns: 1fr; }
.pager-one .pg-all { display: block !important; }

/* ---------- about: chapters hang off the spine ---------- */
.story { display: block; }
.ch-h { font-size: clamp(28px, 3vw, 40px); margin-bottom: var(--space-head); }
@media (min-width: 900px) { .ch-h { position: sticky; top: var(--s4); font-size: clamp(24px, 1.9vw, 32px); margin-bottom: 0; } }
.ch-body { max-width: var(--measure); line-height: 1.62; }
.ch-body > * + * { margin-top: var(--space-para); }
.ch-body > .story-fig, .ch-body > .story-fig + *, .ch-body > .pull, .ch-body > .pull + *, .ch-body > hr, .ch-body > hr + *,
.ch-body > .care-box, .ch-body > .care-box + *, .ch-body > .content-note + *, .ch-body > .sign, .ch-body > .cv + * { margin-top: var(--space-block); }
.story-fig { max-width: 420px; }
.story-fig.story-work { max-width: 520px; }
.story-fig figcaption { color: var(--graphite); font-size: 16px; font-style: italic; margin-top: var(--space-cap); }
.pull { font-family: var(--display); font-size: clamp(34px, 4vw, 60px); line-height: 1.05; color: var(--red); }
.sign { color: var(--graphite); }
.ch-body hr { border: 0; height: 2px; width: 3em; background: var(--red); margin-left: 0; margin-right: auto; margin-bottom: 0; }
.cv { list-style: none; padding: 0; display: grid; gap: var(--s3); }
.cv li { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: var(--s3); }
.cv-y { color: var(--graphite); }
.cv-s { color: var(--graphite); font-size: 17px; font-style: italic; }
@media (max-width: 520px) { .cv li { grid-template-columns: 1fr; gap: 0; } }

/* ---------- prose pages ---------- */
.prose > div { max-width: var(--measure); }
.prose > div > * + * { margin-top: var(--space-para); }
.prose .ch-h { font-size: clamp(24px, 2vw, 32px); }
.steps { padding-left: 1.4em; }
.steps li + li { margin-top: var(--s1); }
.steps li { padding-left: var(--s0); }
.steps li::marker { color: var(--red); font-variant-numeric: lining-nums; }
.leaders { display: grid; gap: var(--s2); font-variant-numeric: lining-nums tabular-nums; }
.leaders div { display: flex; align-items: baseline; gap: var(--s2); flex-wrap: wrap; }
.leaders dt { font-style: italic; }
.leaders dd { margin: 0 0 0 auto; text-align: right; overflow-wrap: anywhere; }
.leaders.stack { gap: var(--s3); }
.leaders.stack div { display: grid; gap: 0; }
.leaders.stack dd { margin: 0; text-align: left; }
.head .leaders, .head .leaders + * { margin-top: var(--space-block); }
.product-name { font-size: clamp(26px, 2.4vw, 36px); }
.eph-h { font-size: clamp(34px, 4.6vw, 76px) !important; max-width: var(--measure-wide); text-wrap: balance; }
.eph-h em { font-style: normal; }
.set-down-text { max-width: var(--measure); font-size: clamp(22px, 1.8vw, 26px); line-height: 1.6; }
.set-down-text .care-box { font-size: 19px; }
.set-down-text > * + * { margin-top: var(--space-para); }

/* show and publishing pages */
.facts { display: grid; gap: var(--s3); }
.facts + * { margin-top: var(--space-block); }
* + .actions { margin-top: var(--space-block); }
.head p { max-width: var(--measure); }
.show-clip { max-width: var(--measure); }
.show-clip video { width: 100%; height: auto; aspect-ratio: var(--ar); }
.show-clip figcaption { font-size: 16px; line-height: 1.35; font-style: italic; color: var(--graphite); margin-top: var(--space-cap); }

/* ---------- the Replay (held, preview only) ---------- */
.rp-list { display: grid; gap: var(--space-section); }
.rp .gl { font-variant-numeric: lining-nums; }
.rp-body { max-width: var(--measure); }
.rp-body > * + * { margin-top: var(--space-para); }
.rp-fig { max-width: 560px; }
.rp-fig figcaption { font-size: 15px; color: var(--graphite); margin-top: var(--space-cap); }
.rp-now { font-style: italic; }

/* ---------- footer: charcoal ground, the skull stamp (approved on dark) ----------
   It keeps the page's two lines: the mark hangs in the gloss column, everything else on the text line. */
.foot { position: relative; z-index: 2; background: var(--ink); color: var(--foot-ink); margin-top: var(--space-section); }
.foot-in { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: var(--space-block); padding: var(--space-section) var(--right) var(--space-block) var(--pad); }
@media (min-width: 900px) {
  .foot-in { grid-template-columns: var(--margin) minmax(0, 1fr); column-gap: var(--gap); }
  .foot-mark { grid-column: 1; grid-row: 1 / span 2; }
  .foot-main { grid-column: 2; grid-row: 1; }
  .foot-in > .fine { grid-column: 2; }
}
.foot a { color: inherit; text-decoration-color: var(--red-on-dark); }
.foot a:hover { color: var(--red-on-dark); }
.foot-main { display: grid; row-gap: var(--space-block); }
.foot-in > *, .foot-main > * { margin: 0; }
.foot-care { font-size: clamp(22px, 2.2vw, 32px); line-height: 1.3; max-width: var(--measure-wide); color: var(--foot-dim); }
.foot-care a:first-child { color: var(--foot-ink); font-style: italic; text-decoration: none; display: block; margin-bottom: var(--s2); }
.foot-care a:first-child:hover { color: var(--red-on-dark); }
.foot-grid { display: grid; gap: var(--space-block); font-size: 18px; color: var(--foot-dim); }
@media (min-width: 700px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.foot-mark { display: grid; gap: var(--s2); align-content: start; color: var(--foot-dim); font-size: 18px; }
.foot-mark img { width: 72px; height: auto; }
.foot-mark .fn { font-family: var(--display); font-size: 28px; color: var(--foot-ink); line-height: 1; }
.foot nav { display: grid; gap: var(--s1); align-content: start; }
.foot nav a { text-decoration: none; font-size: 20px; line-height: 1.3; display: inline-block; padding-block: 9px; margin-block: -9px; }
.foot-reach { display: grid; gap: var(--s1); align-content: start; }
.fine { color: #A8A39A; font-size: 15px; }
.nl { max-width: var(--measure); }
.nl-h { font-size: 22px; margin: 0 0 var(--s1); }
.nl-row { display: flex; flex-wrap: wrap; gap: var(--s2); }
.nl-label { flex: 0 0 100%; }
.nl-input { flex: 1 1 240px; min-width: 0; font: inherit; background: #262420; color: var(--foot-ink); border: 2px solid #5B5750; border-radius: 0; padding: var(--s2) var(--s3); }
.nl-btn { font: inherit; font-family: var(--display); font-size: 18px; line-height: 1.2; background: var(--foot-ink); color: var(--ink); border: 2px solid var(--foot-ink); border-radius: 0; padding: var(--s2) var(--s4); cursor: pointer; }
.nl-consent { margin: var(--s2) 0 0; font-size: 15px; }

/* ======================================================================
   Opening night (2026-12-01). Owner: "people want to buy into what others buy into ... show the energy behind
   the works' reception". The home opens on the room: the work on the wall and the people in front of it, full
   bleed and moving. The typed title is pasted over the footage on paper slips, the way the teaser tiles type it
   on copy sheets. The red line still crosses the page and the spine still runs over everything.
   ====================================================================== */
.hero { position: relative; margin: 0 calc(-1 * var(--right)) 0 calc(-1 * var(--pad)); height: min(84svh, 760px); min-height: 520px; background: var(--ink); overflow: hidden; isolation: isolate; }
@media (min-width: 900px) { .hero { height: min(90svh, 980px); min-height: 640px; } }
.hero-media, .hero-media > * { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img, .hero-media video { object-fit: cover; object-position: 50% 38%; max-width: none; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(21,20,18,.55) 0%, rgba(21,20,18,0) 46%); pointer-events: none; }
.hero-type { position: absolute; left: var(--pad); right: var(--right); bottom: var(--space-block); z-index: 1; }
.slip { background: var(--sheet); color: var(--ink); padding: 0.03em 0.16em; -webkit-box-decoration-break: clone; box-decoration-break: clone; display: inline-block; }
.hero-gadl { font-size: clamp(44px, calc((100vw - var(--pad) - var(--right)) / 6.9), 150px); line-height: 1; }
.hero-gadl .slip { white-space: nowrap; }
@media (min-width: 900px) { .hero-gadl { font-size: clamp(60px, calc((100vw - var(--pad) - var(--right)) / 10.5), 170px); } }
.hero-gadl .ga .slip { transform: rotate(-1.4deg); transform-origin: 0 100%; }
.hero-gadl .dl { text-align: left; margin-left: clamp(18px, 7vw, 160px); }
.hero-gadl .dl .slip { transform: rotate(0.9deg); }
.hero-gadl .cross { margin: 0.14em calc(-1 * var(--right)) 0.16em calc(var(--sp) - var(--pad)); height: 3px; }
.hero-when { margin-top: var(--s3); font-size: clamp(18px, 1.6vw, 24px); font-style: italic; }
.hero-when .slip { padding: 0.15em 0.5em; transform: rotate(-0.6deg); }
@media (max-width: 899px) { .hero-gadl .dl { margin-left: 0.6em; } }

/* ---------- proof: where it has hung, what has gone ---------- */
.proof { display: grid; gap: var(--space-block); }
@media (min-width: 1000px) { .proof { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; } }
.proof-h { font-family: var(--display); font-weight: 400; font-size: 19px; line-height: 1.2; color: var(--red); margin-bottom: var(--space-head); }
.proof-l { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s0) var(--s3); font-size: clamp(18px, 1.45vw, 21px); line-height: 1.4; }
@media (min-width: 700px) { .proof-l li:not(:last-child)::after { content: " /"; color: var(--red); margin-left: 0.25em; } }
@media (max-width: 699px) { .proof-l { display: grid; gap: var(--s0); } }
.proof-y { color: var(--graphite); font-variant-numeric: lining-nums; }
/* sold works: one row, every image one height (each grows by its own shape), equal gutters */
.mini { list-style: none; padding: 0; display: flex; gap: var(--s3); align-items: flex-start; }
.mini li { flex: calc(var(--ar) * 100) 1 0; min-width: 0; }
@media (max-width: 699px) { .mini { flex-wrap: wrap; } .mini li { flex-basis: calc(var(--ar) * 140px); } }
.mini a { display: grid; text-decoration: none; }
.mini img { width: 100%; height: auto; }
.mini-t { font-family: var(--display); font-size: 15px; line-height: 1.15; margin-top: var(--space-cap); }
.mini-s { font-size: 15px; color: var(--graphite); font-style: italic; margin-top: var(--space-meta); }
.mini a:hover .mini-t { color: var(--red); }

/* ---------- the grid: justified rows, works whole, equal gutters ---------- */
.sale-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--space-head) var(--s5); margin-bottom: var(--space-head); }
.sale-head .sec { margin: 0; }
.sale-head .sec + * { margin-top: 0; }
.sale-say { color: var(--graphite); font-style: italic; font-size: 18px; max-width: var(--measure); }
.grid { --b: 180px; list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--grid-gap); }
/* the last row keeps the row height instead of stretching one work across the page */
.grid::after { content: ""; flex: 100000 1 0; }
@media (min-width: 700px) { .grid { --b: 220px; } }
@media (min-width: 1100px) { .grid { --b: 300px; } .grid-l { --b: 340px; } }
.g-i { flex: calc(var(--ar) * 100) 1 calc(var(--ar) * var(--b)); min-width: 0; }
.g-img { display: block; overflow: hidden; }
.g-img img { width: 100%; height: auto; }
.g-t { font-family: var(--display); font-weight: 400; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.15; margin-top: var(--space-cap); }
.g-t a { text-decoration: none; }
.g-m { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--s2); margin-top: var(--space-meta); font-size: 16px; line-height: 1.35; font-variant-numeric: lining-nums tabular-nums; }
.g-y { color: var(--graphite); }
.g-p { color: var(--ink); }
.g-p.sold { color: var(--graphite); font-style: italic; }
/* Inquire has its own line in every tile, so every caption has the same three lines: title, year and price, Inquire */
.g-q { flex-basis: 100%; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.g-i:hover .g-t a, .g-i:focus-within .g-t a { color: var(--red); }
.more { margin-top: var(--space-block); }
.more-a { font-family: var(--display); font-size: clamp(19px, 1.6vw, 24px); text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 0.3em; }

/* ---------- hover and focus: quiet ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .g-img img, .mini img, .wt-img img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
  .g-i:hover .g-img img, .mini a:hover img, .wt-row a:hover .wt-img img { transform: scale(1.025); }
  a, .btn { transition: color .18s, text-decoration-color .18s; }
}
.wt-img, .mini a { overflow: hidden; }
a:focus-visible, button:focus-visible, .btn:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; }
.g-t a:focus-visible { outline-offset: 2px; }
:target { scroll-margin-top: var(--s4); }

/* ---------- clip button: one small control, no native bar ---------- */
.clip-box { position: relative; }
.clip-play { position: absolute; z-index: 2; left: var(--s2); bottom: var(--s2); width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: rgba(247,246,242,.92); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.clip-play[hidden] { display: none; }
.clip-play span { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; margin-left: 3px; }
.clip-play.on span { width: 11px; height: 13px; border: 0; border-left: 4px solid currentColor; border-right: 4px solid currentColor; margin-left: 0; }
.clip-play:hover { background: var(--sheet); color: var(--red); }
.hero > .clip-play { left: auto; right: var(--right); bottom: var(--space-block); }

/* the reel: the room and the hand, sideways, sized by each clip's own shape */
.band-in { min-width: 0; }
.reel { list-style: none; padding: 0 0 var(--s3); margin-right: calc(-1 * var(--right)); display: flex; gap: var(--grid-gap); overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-x: contain; scrollbar-width: thin; scrollbar-color: var(--red) transparent; }
.reel-i { flex: none; scroll-snap-align: start; --hh: clamp(220px, 24vw, 360px); width: min(calc(var(--hh) * var(--ar)), 82vw); }
.reel-i figure { display: grid; }
.reel-i img, .reel-i video { width: 100%; height: auto; aspect-ratio: var(--ar); display: block; }
.reel-i figcaption { font-size: 16px; line-height: 1.35; font-style: italic; color: var(--graphite); margin-top: var(--space-cap); }

/* small wares, at home: a justified row like the works, every image one height, labels on one line */
/* four wares: two rows of two on a phone, one row above that, filling a wide measure */
.wt-row { --b: 210px; list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: var(--grid-gap); max-width: var(--measure-wide); }
@media (min-width: 700px) { .wt-row { --b: 120px; } }
.wt-row > li { flex: calc(var(--ar) * 100) 1 calc(var(--ar) * var(--b)); min-width: 0; }
.wt-row a { display: grid; text-decoration: none; }
.wt-img { display: block; }
.wt-img img { width: 100%; height: auto; }
.wt-n { font-family: var(--display); font-size: clamp(19px, 1.5vw, 22px); line-height: 1.1; margin-top: var(--space-cap); }
.wt-p { color: var(--red); font-style: italic; font-size: 17px; margin-top: var(--space-meta); }
.wt-row a:hover .wt-n { color: var(--red); }
.sec a { text-decoration: none; }

/* a drawing arrives the way the red line does: across, from the spine side */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .reel-i img, .reel-i video {
      animation: arrive linear both; animation-timeline: view(); animation-range: entry 0% cover 30%;
    }
    @keyframes arrive { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
  }
}

/* ---------- small wares page ---------- */
.wares { list-style: none; padding: 0; display: grid; gap: var(--space-section); }
.ware { display: grid; gap: var(--space-block); align-items: end; scroll-margin-top: var(--s4); }
/* the art takes its own shape: its width is capped by a share of the column and by the screen height */
.ware-art { --share: 74%; width: min(var(--share), calc(72vh * var(--ar))); }
.ware-art img { width: 100%; height: auto; }
.ware-1 .ware-art { --share: 58%; } .ware-2 .ware-art { --share: 66%; }
@media (min-width: 900px) {
  .ware { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .ware:nth-child(even) .ware-art { order: 2; justify-self: end; }
  .ware-0 .ware-art { --share: 100%; } .ware-1 .ware-art { --share: 78%; } .ware-2 .ware-art { --share: 88%; }
}
.ware-txt { max-width: var(--measure); }
.ware-txt > * + * { margin-top: var(--space-para); }
.ware-txt > .product-name + * { margin-top: var(--space-head); }
.ware-p { color: var(--red); font-style: italic; font-size: 22px; }

/* ---------- hidden publisher pages ---------- */
.hidden-page .crumb { color: var(--red); }
.hp-lines { list-style: none; padding: 0; display: grid; gap: var(--s1); font-style: italic; font-size: clamp(22px, 1.8vw, 27px); line-height: 1.3; }
.hp-lines li::before { content: ""; display: inline-block; width: 1.4em; height: 2px; background: var(--red); vertical-align: 0.32em; margin-right: 0.5em; }
.hp-cover { width: clamp(220px, 32vw, 460px) !important; }
@media (max-width: 899px) { .hp-cover { width: 88% !important; } }
.hp-spreads .sp img { width: 100%; }

@media print {
  .spine, .mast nav, .foot, .draft, .actions, .pager { display: none; }
  body { background: #fff; color: #000; }
}
