/* Backyard Press Club — "Quiet"
   White page, black wide grotesk, no accent colour (Nov 2026, Jon: drop the blue).
   All other colour comes from the prints. */
:root {
  --paper: #ffffff;
  --ink: #111111;
  --mute: #5f5f5f;          /* secondary text, passes 4.5:1 on white */
  --rule: rgba(17, 17, 17, .22);
  --mat: #efefef;           /* light grey mat behind each print */
  --mat-hover: #e4e4e4;
  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --text: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'DM Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  --wrap: 1200px;
  --gutter: 48px;
  /* Shared scale (Nov 28). Use these for new rules instead of raw px.
     Type: 12 labels (mono) / 14 small / 15 body / 17 lead / 20 large / 32 section / 52 page title. */
  --t-label: 12px; --t-small: 14px; --t-body: 15px; --t-lead: 17px; --t-large: 20px; --t-section: 32px;
  --t-title: clamp(36px, 5vw, 52px);
  /* Space: steps at least 25% apart. Gap inside an item < gap between items. */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 72px; --s-9: 96px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.5;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--mute); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
button { font: inherit; color: inherit; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
@media (max-width: 720px) {
  :root { --gutter: 20px; }
}

/* Design polish, Nov 28: plain grotesk at normal width (Jon: the wide grotesk was the wrong direction). */
.display { font-family: var(--display); font-weight: 600; font-stretch: 100%; letter-spacing: -.02em; text-wrap: balance; }
.mono { font-family: var(--mono); font-size: var(--t-label); letter-spacing: 0; }
.mute { color: var(--mute); }
/* Visually hidden, still read by screen readers. */
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--paper); padding: 8px 12px; z-index: 20; }

/* Header */
.site-header .wrap { padding-block: 28px 0; }
.site-header .bar {
  display: flex; flex-wrap: wrap; gap: 12px 32px;
  align-items: center; justify-content: space-between;
  padding-bottom: 14px; border-bottom: 1px solid var(--ink);
}
.brand { display: flex; align-items: center; gap: 12px; min-height: 44px; }
.brand span { font-size: var(--t-large); line-height: 1; }
.nav { display: flex; flex-wrap: wrap; gap: 0 var(--s-6); font-size: var(--t-body); }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px; color: var(--ink); }
.nav a:hover { color: var(--mute); }
.nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }

main.wrap { padding-block: 64px 112px; }
@media (max-width: 720px) { main.wrap { padding-block: 40px 72px; } }

/* Page intro */
.intro {
  display: flex; flex-wrap: wrap; gap: 24px 64px;
  align-items: flex-end; justify-content: space-between;
  margin-bottom: 64px;
}
.intro .head { flex: 1 1 520px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.intro h1 { margin: 0; font-size: clamp(36px, 5vw, 52px); line-height: 1.02; }
.intro .side { flex: 0 1 360px; display: flex; flex-direction: column; gap: 16px; padding-bottom: 6px; min-width: 0; }
.intro p { margin: 0; font-size: 17px; line-height: 1.5; }

/* Tabs used for filters and the list/grid toggle */
.tabs { display: flex; flex-wrap: wrap; gap: 0 26px; align-items: center; }
.tab {
  min-height: 44px; padding: 0 2px; background: none; border: 0;
  border-bottom: 1px solid transparent; color: var(--mute);
  font-size: 15px; cursor: pointer;
}
.tab:hover { color: var(--ink); }
.tab[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.toolbar {
  display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between;
  border-bottom: 1px solid var(--rule); margin-bottom: 48px;
}

/* A print on its mat */
.mat {
  background: var(--mat); aspect-ratio: 4 / 5; max-width: 100%;
  display: flex; align-items: center; justify-content: center;
  transition: background .4s ease;
}
.sheet {
  position: relative; width: 72%; aspect-ratio: 3 / 4; max-width: 100%;
  background: #fff; overflow: hidden;
  box-shadow: 0 1px 0 rgba(17,17,17,.10), 0 10px 22px -16px rgba(17,17,17,.45);
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s;
}
.sheet img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s; }
.sheet .shape { position: absolute; mix-blend-mode: multiply; opacity: .92; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.sheet .grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: radial-gradient(rgba(30,25,20,.22) .55px, transparent .95px);
  background-size: 3px 3px; mix-blend-mode: multiply; transition: opacity .45s;
}
.work:hover .mat, .work:focus-visible .mat { background: var(--mat-hover); }
.work:hover .sheet, .work:focus-visible .sheet {
  transform: translateY(-6px);
  box-shadow: 0 1px 0 rgba(17,17,17,.10), 0 22px 34px -20px rgba(17,17,17,.55);
}
.work:hover .grain, .work:focus-visible .grain { opacity: 1; }
.work:hover .shape.s2, .work:focus-visible .shape.s2 { transform: translate(5px, 3px); }  /* the second pass shifts, like real misregistration */
@media (prefers-reduced-motion: reduce) {
  .sheet, .sheet .shape, .mat { transition: none; }
  .work:hover .sheet { transform: none; }
}

.dots { display: inline-flex; gap: 4px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; display: block; }

/* Shop grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 64px 24px; }
@media (max-width: 720px) { .grid { grid-template-columns: 1fr; gap: 48px; } }
.work {
  display: flex; flex-direction: column; text-align: left;
  background: none; border: 0; padding: 0; cursor: pointer; width: 100%;
}
.work .line1 { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 20px; }
.work .line1 .display { font-size: 18px; line-height: 1.15; }
.work .line1 .price { font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.work .line2 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; color: var(--mute); font-size: 14px; }
.work.is-sold .sheet { opacity: .6; }
.status { font-family: var(--mono); font-size: 11px; color: var(--ink); }
.status.few { color: var(--ink); }

/* Catalogue list */
.cat-scroll { overflow-x: auto; }
.cat-list { min-width: 760px; }
.cat-row {
  display: grid; grid-template-columns: 96px 56px minmax(0, 1fr) 180px 100px 72px; gap: 24px; align-items: center;
  width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid var(--rule);
  background: none; text-align: left; cursor: pointer; transition: background .25s;
}
.cat-row:hover { background: rgba(17,17,17,.035); }
.cat-row.head { cursor: default; padding: 12px 0; font-family: var(--mono); font-size: 12px; color: var(--mute); }
.cat-row.head:hover { background: none; }
.cat-row .t { font-size: 18px; line-height: 1.2; transition: color .25s; }
.cat-row:hover .t { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.cat-row .num { text-align: right; font-variant-numeric: tabular-nums; }
.thumb { width: 56px; height: 56px; background: var(--mat); display: flex; align-items: center; justify-content: center; }
.thumb .sheet { width: 70%; box-shadow: 0 6px 12px -10px rgba(17,17,17,.6); }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 48px 28px; padding-top: 40px; }
.cat-grid .work .sheet { width: 64%; }
.cat-grid .work .meta { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.cat-grid .work .meta .display { font-size: 17px; line-height: 1.15; }

/* Quick look */
dialog.quick {
  padding: 0; border: 0; width: min(920px, calc(100% - 32px)); max-height: calc(100% - 48px);
  background: var(--paper); color: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(17,17,17,.6);
}
dialog.quick::backdrop { background: rgba(17,17,17,.32); }
.ql { display: flex; flex-wrap: wrap; }
.ql .pic { flex: 1 1 380px; background: var(--mat); display: flex; align-items: center; justify-content: center; padding: 48px 32px; min-height: 420px; }
.ql .pic .sheet { width: 62%; box-shadow: 0 1px 0 rgba(17,17,17,.1), 0 22px 34px -20px rgba(17,17,17,.55); }
.ql .pic .grain { opacity: 1; }
.ql .body { flex: 1 1 340px; padding: 32px 40px 40px; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.ql .top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.ql .close { min-height: 44px; padding: 0 2px; background: none; border: 0; border-bottom: 1px solid var(--ink); font-size: 14px; cursor: pointer; }
.ql h2 { margin: 0; font-size: 32px; line-height: 1.05; }
.ql h2 .by { color: var(--mute); font-weight: 400; }
.ql p { margin: 0; font-size: 15px; line-height: 1.6; color: #333; }
.ql dl { margin: 0; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px 16px; font-size: 14px; border-top: 1px solid var(--rule); padding-top: 16px; }
.ql dt { font-family: var(--mono); font-size: 12px; color: var(--mute); padding-top: 2px; }
.ql dd { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.ql dd .ink { display: inline-flex; align-items: center; gap: 6px; }
.ql dd .ink i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.ql .buy { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 720px) {
  .ql .pic { min-height: 300px; padding: 32px 24px; }
  .ql .body { padding: 24px 20px 28px; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border: 0; background: var(--ink); color: #fff;
  font-size: 15px; font-weight: 600; letter-spacing: .01em; cursor: pointer; text-align: center;
}
.btn:hover { color: #fff; background: #333; }
.btn-line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn[aria-disabled="true"], .btn:disabled { background: #fff; color: var(--mute); box-shadow: inset 0 0 0 1px #cfcfcf; cursor: not-allowed; }
.btn[aria-disabled="true"]:hover, .btn:disabled:hover { background: #fff; color: var(--mute); }
.link-under { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 1px solid var(--ink); font-size: 15px; }

/* Riso printing page */
.stack { display: flex; flex-direction: column; gap: 96px; }
@media (max-width: 720px) { .stack { gap: 72px; } }
.section-head {
  display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline; justify-content: space-between;
  border-bottom: 1px solid var(--ink); padding-bottom: 14px; margin-bottom: 32px;
}
.section-head h2 { margin: 0; font-size: 32px; line-height: 1; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px 48px; }
.steps li { display: flex; flex-direction: column; gap: 10px; }
.steps .n { font-size: 40px; line-height: 1; color: var(--ink); }
.steps strong { font-size: 17px; font-weight: 600; }
.steps span:last-child { font-size: 15px; line-height: 1.6; color: #333; }
.inks { display: flex; flex-wrap: wrap; gap: 48px 72px; align-items: center; }
.ink-chips { flex: 1 1 400px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 12px; min-width: 0; }
.chip { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 8px 2px; min-height: 44px; background: none; border: 0; cursor: pointer; font-size: 13px; }
.chip .dot { width: 52px; height: 52px; border-radius: 50%; position: relative; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(17,17,17,.12); transition: transform .3s; }
.chip .dot::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(30,25,20,.2) .55px, transparent .95px); background-size: 3px 3px; mix-blend-mode: multiply; }
.chip:hover .dot { transform: scale(1.06); }
.chip[aria-pressed="true"] .dot { box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--ink); }
.chip .hex { font-family: var(--mono); font-size: 10px; color: var(--mute); }
.overprint { flex: 0 1 380px; margin: 0; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.overprint .frame { background: var(--mat); padding: 36px; display: flex; justify-content: center; }
.overprint .sheet { width: 240px; box-shadow: 0 1px 0 rgba(17,17,17,.1), 0 22px 34px -20px rgba(17,17,17,.55); }
.overprint .sheet .grain { opacity: 1; }
.overprint figcaption { font-size: 16px; }
.split { display: flex; flex-wrap: wrap; gap: 24px 72px; border-top: 1px solid var(--ink); padding-top: 24px; }
.split h2 { margin: 0; flex: 1 1 320px; font-size: 32px; line-height: 1; }
.split .copy { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; font-size: 15px; line-height: 1.6; color: #333; }
.split .copy p { margin: 0; }
.facts { margin: 0; display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 10px 16px; }
.facts dt { font-family: var(--mono); font-size: 12px; color: var(--mute); padding-top: 2px; }
.facts dd { margin: 0; color: var(--ink); }

/* Footer */
.site-footer .wrap { padding-block: 0 var(--s-7); }
.site-footer .bar { border-top: 1px solid var(--ink); padding-top: 20px; display: flex; flex-wrap: wrap; gap: 12px 40px; justify-content: space-between; align-items: baseline; }
/* (tagline removed Nov 28: it repeated the home lede) */
.site-footer nav { display: flex; flex-wrap: wrap; gap: 0 var(--s-5); }
.site-footer nav a { color: var(--ink); font-family: var(--mono); font-size: var(--t-label); min-height: 32px; display: inline-flex; align-items: center; }

.empty { padding: 48px 0; color: var(--mute); }

/* Shop: board C, Nov 2026 (Jon: "left side is static and the right side you can
   scroll down to see the different prints"). A fixed text column with the index,
   and big prints stacked on the right. */
/* Nov 28 (Jon: the landing page felt disjointed from the rest of the site): the shop now
   sits under the same header, inside the same column, with the same footer as every page. */
.shop-split { display: flex; align-items: flex-start; gap: 48px; padding-block: 40px 96px; }
.split-side {
  position: sticky; top: 24px;
  flex: 0 0 min(340px, 32%); max-height: calc(100vh - 48px); overflow-y: auto;
  display: flex; flex-direction: column; gap: 32px;
}
.side-top { display: flex; align-items: center; min-height: 44px; }
.wordmark { font-size: 20px; line-height: 1; }
.lede { margin: 0; max-width: 440px; font-size: 20px; line-height: 1.3; font-weight: 400; color: var(--ink); text-wrap: pretty; }
.lede a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.side-nav { display: flex; flex-wrap: wrap; gap: 0 20px; font-size: 15px; font-weight: 600; }
.side-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }
.side-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.side-nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.index { display: flex; flex-direction: column; }
.index-row {
  display: grid; grid-template-columns: 68px minmax(0, 1fr) auto; gap: 12px; align-items: baseline;
  width: 100%; padding: 10px 0; border: 0; border-bottom: 1px solid rgba(17,17,17,.15);
  background: none; text-align: left; cursor: pointer; font-size: 15px;
}
.index-row.head { cursor: default; color: var(--mute); border-bottom-color: var(--ink); padding: 8px 0; }
.index-row .no { font-family: var(--mono); font-size: 12px; color: var(--mute); }
.index-row .t { color: var(--ink); font-weight: 400; min-width: 0; }
.index-row .t span { font-weight: 400; }
.index-row .p { font-variant-numeric: tabular-nums; white-space: nowrap; }
.index-row:hover .t { text-decoration: underline; text-underline-offset: 3px; }
.index-row.is-current .t { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.index-row.is-current .no { color: var(--ink); }
.index-row.is-sold .t, .index-row.is-sold .p { color: var(--mute); }
.side-foot { margin: auto 0 0; line-height: 1.8; }
.side-foot a { color: var(--ink); }

.split-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.plate {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 100%; height: max(560px, calc(100vh - 48px)); padding: 48px 24px 64px;
  background: var(--mat); border: 0; cursor: pointer; scroll-margin-top: 12px;
  transition: background .4s ease;
}
.plate .sheet { width: auto; height: min(78%, 760px); aspect-ratio: 3 / 4; max-width: 70%; }
.plate.fmt-landscape .sheet { aspect-ratio: 4 / 3; height: auto; width: min(64%, 760px); }
.plate.fmt-small .sheet { height: min(48%, 460px); }
.plate.fmt-large .sheet { height: min(86%, 840px); }
.plate .cap {
  position: absolute; left: 16px; right: 16px; bottom: 14px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px;
  font-family: var(--mono); font-size: 12px; color: var(--ink); text-align: left;
}
.plate .cap .open { color: var(--ink); }
.plate:hover, .plate:focus-visible { background: var(--mat-hover); }
.plate:hover .sheet, .plate:focus-visible .sheet { transform: translateY(-6px); box-shadow: 0 1px 0 rgba(17,17,17,.10), 0 22px 34px -20px rgba(17,17,17,.55); }
.plate:hover .grain, .plate:focus-visible .grain { opacity: 1; }
.plate:hover .shape.s2, .plate:focus-visible .shape.s2 { transform: translate(5px, 3px); }
.plate.is-sold .sheet { opacity: .6; }

@media (max-width: 960px) {
  .shop-split { display: block; }
  .shop-split { padding-block: 28px 72px; }
  .split-side { position: static; max-height: none; overflow: visible; margin-bottom: 24px; }
  .side-foot { display: none; }
  /* Phones (Nov 2026 clean-up): the prints come straight after the intro; the index is a desktop aid. */
  .split-side .index, .split-side .signup { display: none; }
  .split-main { gap: 12px; }
  .plate { height: auto; min-height: 0; max-width: 100%; flex-direction: column; gap: 20px; padding: 32px 16px 14px; }
  .plate .cap { position: static; width: 100%; }
  .plate .sheet { height: auto; width: 72%; max-width: 72%; }
  .plate.fmt-small .sheet { width: 48%; }
  .plate.fmt-landscape .sheet { width: 84%; max-width: 84%; }
  .plate.fmt-large .sheet { width: 80%; max-width: 80%; }
}

/* Real print photos (Nov 2026): shown whole on the mat. Hover is quiet: the print lifts a few pixels and the title is underlined. */
.photo { position: relative; display: block; max-width: 100%; }
.photo img { display: block; max-width: 100%; height: auto; box-shadow: 0 1px 0 rgba(17,17,17,.08), 0 18px 30px -20px rgba(17,17,17,.45); transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s; }
.plate:hover .photo img, .plate:focus-visible .photo img,
.work:hover .photo img, .work:focus-visible .photo img { transform: translateY(-3px); box-shadow: 0 1px 0 rgba(17,17,17,.08), 0 24px 34px -22px rgba(17,17,17,.5); }
@media (prefers-reduced-motion: reduce) { .photo img { transition: none; } .plate:hover .photo img, .work:hover .photo img { transform: none; } }
/* Real scale (Nov 28): each print is drawn in proportion to its paper size, so a 4 × 6 postcard reads
   smaller than an 11 × 17 print. --s is the long side over 17 in, set by the shop script. */
.plate.has-photo { height: auto; min-height: 0; padding: 72px 40px 72px; }
.plate.has-photo .photo img { max-height: calc((100vh - 200px) * var(--s, 1)); max-width: calc(80% * var(--s, 1) + 20%); width: auto; }
/* Centred (Nov 29): the picture can come out narrower than its frame, so centre it there instead of sitting on the left. */
.plate.has-photo .photo img { margin-inline: auto; }
.mat.has-photo { position: relative; }
.mat.has-photo .photo { position: absolute; inset: 24px; display: flex; align-items: center; justify-content: center; }
.mat.has-photo .photo img { max-width: 100%; max-height: 100%; width: auto; height: auto; }
.ql .pic.has-photo { padding: 32px; }
.ql .pic.has-photo .photo img { max-height: 70vh; width: auto; }
/* Until a print's picture arrives, hold roughly its space, so the browser only fetches the
   pictures near the screen (the rest wait until you scroll). --ar is width over height. */
.plate.has-photo .photo img.ld[style*="--ar"] { width: calc((100vh - 200px) * var(--s, 1) * var(--ar)); }
@media (max-width: 960px) {
  .plate.has-photo { aspect-ratio: auto; padding: 32px 16px 14px; }
  .plate.has-photo .photo { width: 100%; display: flex; justify-content: center; }
  .plate.has-photo .photo img { max-height: calc(70vh * (.3 + .7 * var(--s, 1))); max-width: calc(100% * (.4 + .6 * var(--s, 1))); }
  .plate.has-photo .photo img.ld[style*="--ar"] { width: min(calc(100% * (.4 + .6 * var(--s, 1))), calc(70vh * (.3 + .7 * var(--s, 1)) * var(--ar))); }
}
.work:hover .display, .work:focus-visible .display { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* One print's page (print.html). Print pages round 1 (Nov 28). */
.print-page { padding-top: 40px; }
main.print-page { padding-bottom: 72px; }
.pp { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 64px; align-items: start; }
.pp-stage { background: var(--mat); height: min(76vh, 800px); min-height: 500px; position: relative; overflow: hidden; }
.pp-view { position: absolute; inset: 56px 56px 64px; display: flex; align-items: center; justify-content: center; }
.pp-view[hidden] { display: none; }
.pp-img { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.pp-img img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  box-shadow: 0 1px 0 rgba(17,17,17,.08), 0 18px 30px -20px rgba(17,17,17,.45);
}
/* Shown at true relative size: an 11 × 17 in sheet fills the mat, a postcard sits small. */
.pp-view[data-v="print"] .pp-img img { max-width: calc(100% * var(--fill, 1)); max-height: calc(100% * var(--fill, 1)); }
.pp-scale { position: absolute; left: 20px; bottom: 16px; font-size: 11px; transition: opacity .3s; }
.pp-stage:not([data-on="print"]) .pp-scale { opacity: 0; }

/* Layers: paper and inks pulled apart in 3D (after the Drums view in Riso Studio).
   Every sheet turns the same way and moves out along its own normal, so the gaps stay even. */
.stack3d {
  --rx: 56deg; --rz: -34deg; --gap: 84px;
  position: relative; display: block; height: 62%; aspect-ratio: 2 / 3; max-width: 42%;
  padding: 0; border: 0; background: none; cursor: pointer; perspective: 1600px;
  transition: transform .9s cubic-bezier(.2,.8,.2,1);
}
.sheet3d {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  transform-origin: 50% 50%;
  transition: transform .9s cubic-bezier(.2,.8,.2,1), box-shadow .6s, opacity .4s, background-color .6s;
  box-shadow: 0 1px 0 rgba(17,17,17,.08), 0 18px 30px -20px rgba(17,17,17,.45);
}
.sheet3d.ink { mix-blend-mode: multiply; box-shadow: none; }
.stack3d.open { transform: translateX(-38%); }
.stack3d.is-wide { height: auto; width: 56%; max-width: none; }
.stack3d[style*="--n:5"] { --gap: 66px; }
.pp-est { font-size: 11px; }
.stack3d.open .sheet3d {
  transform: rotateX(var(--rx)) rotateZ(var(--rz)) translateZ(calc((var(--i) - (var(--n) - 1) / 2) * var(--gap)));
  transition-delay: calc(var(--i) * 70ms);
  box-shadow: 0 0 0 .5px rgba(17,17,17,.14), 0 24px 30px -22px rgba(17,17,17,.38);
}
/* Apart, each ink is a clear sheet: the colour floats, the film just catches the light. */
.stack3d.open .sheet3d.ink { mix-blend-mode: normal; background-color: rgba(255,255,255,.28); }
.stack3d.has-focus .sheet3d:not(.is-focus) { opacity: .22; }
.stack3d.has-focus .sheet3d.is-focus { background-color: rgba(255,255,255,.7); transition-delay: 0s; }
.s3-labels { list-style: none; margin: 0; padding: 0; }
.s3-labels li {
  position: absolute; transform: translateY(-50%); white-space: nowrap;
  display: flex; align-items: center; gap: 10px; opacity: 0; transition: opacity .4s;
}
.s3-labels li::before { content: ""; width: 24px; height: 1px; background: var(--rule); }
.s3-labels button { display: inline-flex; align-items: baseline; gap: 10px; min-height: 36px; padding: 0; background: none; border: 0; border-bottom: 1px solid transparent; font-size: 14px; cursor: pointer; }
.s3-labels button[aria-pressed="true"] { border-bottom-color: var(--ink); }
/* Desktop: the labels beside the stack are the legend, so the row under it keeps only the toggle. */
@media (min-width: 961px) {
  .pp-legend .lg.lg { display: none; }
  .pp-legend.pp-legend { border-top: 0; padding-top: 0; }
  .pp-under.pp-under { flex-direction: row; justify-content: space-between; align-items: center; }
}
.pp-stage:not(.is-open) .s3-labels { pointer-events: none; }
.pp-stage.is-open .s3-labels li { opacity: 1; }
.pp-stage.is-open .stack3d.has-focus ~ .s3-labels li:not(.is-focus) { opacity: .3; }
.pp-under { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.pp-legend { display: flex; flex-wrap: wrap; gap: 0 20px; align-items: center; border-top: 1px solid var(--rule); padding-top: 4px; font-size: 14px; }
.pp-legend[hidden] { display: none; }
.pp-legend .lg { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0; background: none; border: 0; border-bottom: 1px solid transparent; cursor: pointer; }
.pp-legend .lg[aria-pressed="true"] { border-bottom-color: var(--ink); }
.pp-legend i { width: 10px; height: 10px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 1px rgba(17,17,17,.12); }
.pp-toggle { margin-left: auto; min-height: 44px; padding: 0 2px; background: none; border: 0; border-bottom: 1px solid var(--ink); font-size: 14px; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .sheet3d, .stack3d { transition: none; } }

/* Ink by ink: each separation flat, then the print. */
.byink { width: 100%; display: grid; grid-template-columns: var(--cols); justify-content: center; align-items: center; gap: 0 16px; }
.byink figure { max-width: 180px; justify-self: center; width: 100%; }
.byink figure { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.bi-sheet { display: block; width: 100%; box-shadow: 0 1px 0 rgba(17,17,17,.08), 0 14px 22px -16px rgba(17,17,17,.45); }
.bi-sheet img { width: 100%; height: auto; }
.byink figcaption { font-size: 13px; }
.byink .op { font-size: 18px; color: var(--mute); padding-bottom: 28px; }

/* Text column */
.pp-text { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.pp-text .kicker { margin: 0 0 -4px; }
.pp-text .kicker a { color: var(--mute); }
.pp-text .kicker a:hover { color: var(--ink); }
.pp-text .kicker [aria-current] { color: var(--ink); }
.pp-text h1 { margin: 0; font-size: clamp(30px, 3.4vw, 44px); line-height: 1.04; }
.pp-text .by { margin: 0; font-size: 17px; line-height: 1.45; color: var(--mute); }
.pp-text .about { margin: 0; font-size: 15px; line-height: 1.6; color: #333; max-width: 46ch; }
.pp-text .facts { border-top: 1px solid var(--rule); padding-top: 16px; grid-template-columns: 88px minmax(0, 1fr); font-size: 14px; }
.inklist { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.inklist .ink { display: inline-flex; align-items: center; gap: 6px; }
.inklist .ink i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.pp-buy { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--rule); padding-top: 16px; }
.pp-buy .mono { text-wrap: pretty; }
.ways { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: -8px; }
.ways .by { margin: 0; }
.way-list { display: flex; gap: 4px; }
.way { display: inline-flex; align-items: center; justify-content: center; gap: 0; min-width: 44px; min-height: 36px; padding: 0 6px; border-bottom: 1px solid transparent; }
.way i { width: 12px; height: 12px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 1px rgba(17,17,17,.1); }
.way i + i { margin-left: -4px; mix-blend-mode: multiply; }
.way[aria-current] { border-bottom-color: var(--ink); }
.way:hover i { opacity: .8; }
.way.is-sold i { opacity: .4; }
.pp-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 72px; border-top: 1px solid var(--ink); padding-top: 18px; }
.pp-pager a { display: flex; flex-direction: column; gap: 4px; }
.pp-pager a.nx { text-align: right; }
.pp-pager .display { font-size: 18px; transition: color .3s; }
.pp-pager a:hover .display { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.pp-pager .mono { white-space: nowrap; }
.ql .buy .more { color: var(--ink); font-size: 14px; }
@media (max-width: 960px) {
  .pp { grid-template-columns: 1fr; gap: 32px; }
  .pp-stage { height: auto; min-height: 0; aspect-ratio: 4 / 5; }
  .pp-view { inset: 28px 24px 40px; }
  .pp-text { position: static; }
  .stack3d { --gap: 40px; height: 74%; max-width: 60%; }
  .stack3d.is-wide { width: 72%; }
  .stack3d.open { transform: none; }
  .s3-labels { display: none; }
  .byink { gap: 0 8px; }
  .byink figcaption { font-size: 11px; line-height: 1.3; }
  .byink figcaption .mono { display: none; }
  .pp-scale { left: 14px; bottom: 10px; }
  .pp-pager .display { font-size: 16px; }
  .pp-pager .display .t { display: none; }
  .pp-pager .display .t + .mute { color: var(--ink); }
}

/* Availability (Nov 2026): sold-out works fade back but keep their place. */
.plate.is-sold img, .work.is-sold img, .sib.is-sold img { opacity: .5; }
.index-row.is-sold, .index-row.is-sold .p { color: var(--mute); }

/* Email signup: one line, plain, in the footer and the shop sidebar. */
.signup { display: grid; gap: 10px; max-width: 440px; margin: 0 0 32px; }
.signup label { font-size: 16px; }
.signup .su-row { display: flex; gap: 8px; }
.signup input {
  flex: 1; min-width: 0; min-height: 48px; padding: 0 14px; font: inherit; font-size: 15px; color: var(--ink);
  background: #fff; border: 1px solid #cfcfcf; border-radius: 0;
}
.signup input:focus { border-color: var(--ink); outline: none; box-shadow: inset 0 0 0 1px var(--ink);
}
.signup input:disabled { opacity: .45; }
.signup .btn { min-height: 48px; padding: 0 20px; }
.signup .mono { font-size: 12px; }
.signup .su-note { font-size: 14px; }
.signup.side { margin: 32px 0 20px; }
.signup.side label { font-size: 14px; }

/* Formats and sets (Nov 28). */
.fmt { border: 0; margin: 0 0 4px; padding: 0; display: flex; flex-direction: column; }
.fmt legend { padding: 0 0 8px; }
.fmt-opt { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 14px; border: 1px solid #d6d6d6; margin-top: -1px; cursor: pointer; font-size: 15px; }
.fmt-opt:first-of-type { margin-top: 0; }
.fmt-opt input { accent-color: var(--ink); margin: 0; }
.fmt-opt > span:first-of-type { flex: 1 1 auto; }
.fmt-opt strong { font-weight: 600; }
.fmt-p { font-variant-numeric: tabular-nums; }
.fmt-opt:has(input:checked) { border-color: var(--ink); position: relative; z-index: 1; }
.fmt-box { display: flex; flex-direction: column; gap: 10px; }
.set-link { font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.set-plate { background: var(--mat); padding: 40px 32px 28px; display: flex; flex-direction: column; gap: 32px; scroll-margin-top: 12px; }
.set-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: center; justify-items: center; }
.set-card { display: flex; align-items: center; justify-content: center; width: 100%; height: 220px; }
.set-card img { width: auto; height: auto; max-width: 100%; max-height: 100%; box-shadow: 0 1px 0 rgba(17,17,17,.10), 0 14px 22px -16px rgba(17,17,17,.5); }
.set-text { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; }
.set-text h2 { margin: 6px 0 6px; font-size: 28px; line-height: 1.05; }
.set-text p { margin: 0; max-width: 420px; color: #333; }
.set-buy { display: flex; flex-direction: column; gap: 8px; min-width: 240px; }
@media (max-width: 960px) {
  .set-plate { padding: 24px 16px 20px; gap: 24px; }
  .set-cards { gap: 10px; }
  .set-card { height: 120px; }
}

.nw { white-space: nowrap; }

/* Design polish 2 (Nov 28, Jon: "Let's keep going"). One column line for every
   text page: heading on the left half, copy on the right half, rule on top. */
@media (min-width: 961px) {
  .intro, .split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 72px; }
  .intro { align-items: start; }
  .intro .side { padding-top: 2px; }
  .inks { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 72px; align-items: start; }
  .overprint { max-width: 420px; }
}
.section-head { border-bottom: 0; border-top: 1px solid var(--ink); padding: 24px 0 0; margin-bottom: 40px; }
.ink-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 420px; justify-self: start; }
/* Print page: whichever column is shorter stays in view. */
.pp-fig { position: sticky; top: 24px; }
@media (max-width: 960px) { .pp-fig { position: static; } }
/* Images fade in once loaded instead of popping in. */
img.ld { opacity: 0; }
img.ld-in { transition: opacity .5s ease; }
@media (prefers-reduced-motion: reduce) { img.ld-in { transition: none; } }
.ink-col { flex: 1 1 400px; min-width: 0; }

/* Design polish 3 (Nov 28, Jon: "Keep going"). Shop index: one line per row,
   colourways as ink dots. */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.index-row .t { display: flex; align-items: baseline; gap: 10px; }
.index-row .tt { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.index-row .dots { display: inline-flex; gap: 3px; flex: none; transform: translateY(-1px); }
.index-row .dots i { width: 8px; height: 8px; border-radius: 50%; display: block; box-shadow: inset 0 0 0 1px rgba(17,17,17,.12); }
/* Footer: signup and links share one ruled block, on the same two-column line as the text pages. */
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--s-8); row-gap: var(--s-6); align-items: end; }
.site-footer .wrap::before { content: ""; grid-column: 1 / -1; border-top: 1px solid var(--ink); }
.site-footer .signup.foot { margin: 0; }
.site-footer .bar { border-top: 0; padding-top: 0; flex-direction: column; align-items: flex-start; gap: 10px; justify-content: flex-end; }
@media (max-width: 960px) {
  .site-footer .wrap { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
}
/* Header on phones: wordmark and nav closer together. */
@media (max-width: 720px) {
  .site-header .wrap { padding-top: 16px; }
  .site-header .bar { gap: 0 32px; padding-bottom: 6px; }
  .nav { gap: 0 22px; }
}
/* Index column labels at the same 12px mono as the numbers. */
.index-row.head { font-size: var(--t-label); }
/* Postcard set: every card at the same physical size, upright or sideways. */
.set-card { height: 200px; }
.set-card img { max-width: min(100%, 200px); max-height: 200px; }
@media (max-width: 960px) {
  .set-card { height: 110px; }
  .set-card img { max-width: min(100%, 110px); max-height: 110px; }
}

/* Text pages, round 3 (Nov 28): About, Riso printing, Catalogue, Thanks, 404, signup, phones.
   Kept in one block so it rebases cleanly against the shop and print-page work. */

/* Links inside running copy are underlined, so they read as links without colour. */
.intro p a:not(.link-under), .split .copy p a:not(.link-under), .facts dd a {
  text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px;
}
.intro .links { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }

/* Section heads (Sending files, Our inks) sit on the same two columns as the rest of the page. */
@media (min-width: 961px) {
  .section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 72px; align-items: baseline; justify-content: stretch; }
}

/* Ink picker: the picked inks say which pass they are. */
.chip .pass { min-height: 14px; font-size: 10px; color: var(--ink); line-height: 1.2; }

/* Catalogue rows are plain links now (open in a new tab works). */
.cat-row, .cat-row:hover, .cat-grid .work, .cat-grid .work:hover { color: var(--ink); }
.cat-row .cf { color: var(--ink); }

/* Email signup: placement in the footer belongs to the footer work (PR 19); only the field changes here. */
/* The field's edge passes 3:1 against white (WCAG non-text contrast). */
.signup input { border-color: #8c8c8c; }

/* Phones */
@media (max-width: 720px) {
  .facts { grid-template-columns: 96px minmax(0, 1fr); }
  .split h2, .section-head h2 { font-size: 28px; }
  /* Steps: number beside the text instead of above it. */
  .steps { gap: 28px; }
  .steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); column-gap: 12px; row-gap: 6px; }
  .steps .n { grid-row: 1 / span 2; font-size: 28px; }
  /* Ink picker: the overprint sits above the chips, so a tap shows its result on screen. */
  .inks { gap: 28px; }
  .overprint { order: -1; flex-basis: 100%; }
  .overprint .frame { padding: 24px; }
  .overprint .sheet { width: 168px; }
  .ink-chips { gap: 12px 8px; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; padding-top: 28px; }
}

/* Text pages, round 4 (Nov 28, Jon: "clean, simple"). One black for all running text. */
.split .copy, .steps span:last-child { color: var(--ink); }
@media (min-width: 961px) { .cat-row { grid-template-columns: 80px 56px minmax(0, 1fr) 240px 88px 48px; } }

/* Design polish 5 (Nov 28, Jon: "clean, simple"). Shop index without column labels:
   one rule on top, rows speak for themselves. */
.split-side .index { border-top: 1px solid var(--ink); }
/* Design polish 6: the shop lede is one plain sentence (the nav already links Riso printing);
   a little smaller on phones so the first print shows sooner. */
@media (max-width: 720px) { .lede { font-size: var(--t-lead); } }

/* Text pages, round 5 (Nov 28): narrow screens.
   Catalogue: the compact row runs up to tablet width, so the list never scrolls sideways. */
@media (max-width: 960px) {
  /* Catalogue list: one compact row per work. */
  .cat-scroll { overflow: visible; }
  .cat-list { min-width: 0; }
  .cat-row.head { display: none; }
  .cat-row {
    grid-template-columns: 56px minmax(0, 1fr) auto; column-gap: 16px; row-gap: 2px;
    grid-template-areas: "th no yr" "th t t" "th f f"; align-items: start; padding: 14px 0;
  }
  .cat-row > :nth-child(1) { grid-area: no; }
  .cat-row > .thumb { grid-area: th; align-self: center; }
  .cat-row > .t { grid-area: t; font-size: 17px; }
  .cat-row > .ci { display: none; }
  .cat-row > .cf { grid-area: f; font-size: 14px; color: var(--mute); }
  .cat-row > .cy { grid-area: yr; font-family: var(--mono); font-size: 12px; color: var(--mute); }
}
/* Signup: the field shrinks instead of pushing the button off a 320px screen. */
.signup { grid-template-columns: minmax(0, 1fr); }
/* Small inline links in fact lists get a taller tap area. */
.facts dd a { display: inline-block; padding-block: 4px; margin-block: -4px; }

/* Info page and About additions (Nov 28): question-and-answer copy. */
.qa h3 { margin: 12px 0 -10px; font-size: 15px; font-weight: 600; line-height: 1.4; }
.qa h3:first-child { margin-top: 0; }
.split .copy strong { font-weight: 600; }
