@charset "utf-8";
/* ==========================================================================
   Ruthless Ideas — exhibition
   A gallery, not a landing page. Two rules everything else follows from:
   the object is the largest thing on screen, and the type never competes
   with it. Gold is reserved: it marks an object that became real and it
   never appears on one that hasn't.
   ========================================================================== */

/* -------------------------------------------------------------- tokens -- */

/* Brand-locked. Sourced from The Empire/Command Docs/BRAND-VOICE.md.
   Ruthless Ideas is black and gold, single theme by design - a light mode is
   not an omission here, it is a different brand. Do not add one. */

:root {
  --paper:       #0a0a0a;   /* Void  - the ground everything sits on */
  --paper-deep:  #0f0f0f;   /* Surface - recessed bands */
  --plinth:      #0f0f0f;   /* Surface - the card an object sits on */
  --ink:         #f0f0ff;   /* Ink   - cool white, never pure white */
  --ink-soft:    #c9c9d6;
  --muted:       #9ca3af;   /* Muted - secondary text, captions */
  --rule:        #1a1a1a;   /* Line  - hairline borders, never heavier */
  --rule-soft:   #141414;

  --gold:        #f5c518;   /* THE GOLD RULE: gold marks the moment something
                               became real. It never appears on a raw, idea, or
                               in-progress item. That is what keeps it meaning
                               something instead of being decoration. */
  --gold-ink:    #f5c518;   /* clears contrast on void - same value as --gold */
  --live:        #4ade80;   /* semantic only: shipped/live status dots.
                               Not a brand accent - never use it decoratively. */

  --shadow-plate: 0 1px 2px rgba(0, 0, 0, .6), 0 14px 40px -14px rgba(0, 0, 0, .8);
  --shadow-lift:  0 2px 6px rgba(0, 0, 0, .65), 0 26px 60px -18px rgba(0, 0, 0, .9);

  /* Inter is the real voice - headlines, finished copy, anything decided.
     Space Mono is the raw voice - notes, drafts, status tags, in-progress. */
  --display: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono:    "Space Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --measure: 34rem;
  --gutter:  clamp(1.25rem, 4vw, 4rem);
  --band:    clamp(4rem, 9vw, 8rem);

  --ease: cubic-bezier(.22, .61, .36, 1);

  color-scheme: dark;
}

/* --------------------------------------------------------------- reset -- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(1rem, .96rem + .18vw, 1.075rem);
  line-height: 1.65;
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.021em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1.15em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 2px solid var(--gold-ink);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: -9999px;
  background: var(--ink); color: var(--paper);
  padding: .7rem 1.1rem; z-index: 100; font-weight: 600;
}
.skip:focus { left: 1rem; top: 1rem; }

.vh {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------- shelves -- */

.wrap  { width: 100%; max-width: 78rem; margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 52rem; }
.measure { max-width: var(--measure); }

.eyebrow {
  font-family: var(--mono);
  font-size: .705rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.1rem;
}
.eyebrow--gold { color: var(--gold-ink); }

/* ------------------------------------------------------------ chrome ---- */

.masthead {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--rule-soft);
}
.masthead__in {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 4rem;
}
.wordmark {
  font-family: var(--display);
  font-weight: 700; font-size: .95rem;
  letter-spacing: .015em;
  text-decoration: none; color: var(--ink);
  display: inline-flex; align-items: baseline; gap: .5rem;
  white-space: nowrap;
}
.wordmark span {
  font-family: var(--mono); font-weight: 400;
  font-size: .66rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
}
.masthead nav { margin-left: auto; display: flex; gap: clamp(.9rem, 2.4vw, 1.9rem); }
.masthead nav a {
  font-size: .85rem; font-weight: 500; text-decoration: none;
  color: var(--muted); padding-block: .35rem;
  border-bottom: 1px solid transparent;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.masthead nav a:hover,
.masthead nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--gold); }

/* Below ~30rem the wordmark and four nav items cannot share a line without
   pushing the page wider than the viewport, so they stack instead. */
@media (max-width: 34rem) {
  .wordmark span { display: none; }
  .masthead nav { gap: 1rem; }
  .masthead nav a { font-size: .8rem; }
}
@media (max-width: 30rem) {
  .masthead__in { flex-wrap: wrap; gap: 0; padding-block: .55rem; min-height: 0; }
  .masthead nav { margin-left: 0; width: 100%; justify-content: space-between; gap: .5rem; }
  .masthead nav a { padding-block: .3rem; }
}

/* --------------------------------------------------------- the plinth -- */
/* Every object sits on a lit white card. In dark mode the card stays lit —
   an object under a gallery light, not a hole burned in the wall.          */

.plate {
  background: var(--plinth);
  border-radius: 3px;
  box-shadow: var(--shadow-plate);
  overflow: hidden;
  position: relative;
}
/* A photograph fills its frame — cropped like an exhibition print, never
   letterboxed. A render made on white is shown whole, with the card's own
   white continuing the render's ground so there is no visible seam.        */
.plate img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.plate img.fit-contain { object-fit: contain; }
.plate--render { background: #fff; }
.plate--render img { padding: 4%; }

/* ------------------------------------------------------------ entrance -- */

.entrance { padding-block: clamp(3rem, 7vw, 6rem) 0; }

.statement {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.8rem, 1.05rem + 2.9vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -.026em;
  max-width: 26ch;
  margin: 0 0 clamp(2rem, 4vw, 3.25rem);
}

.entrance__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (min-width: 56rem) {
  .entrance__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
}

.manifesto p {
  font-size: clamp(1.02rem, .98rem + .3vw, 1.16rem);
  color: var(--ink-soft);
  max-width: 42ch;
}

/* the attrition ladder — the practice's real shape, measured */
.ladder { border-top: 1px solid var(--rule); padding-top: 1.4rem; }
.ladder ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.ladder li {
  display: grid;
  grid-template-columns: 4.4rem 1fr;
  gap: 1rem;
  align-items: baseline;
  padding: .62rem 0;
  border-bottom: 1px solid var(--rule-soft);
}
.ladder b {
  font-family: var(--display); font-weight: 700;
  font-size: 1.42rem; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  text-align: right;
}
.ladder .lab { font-weight: 600; font-size: .93rem; }
.ladder .note { display: block; font-size: .82rem; color: var(--muted); font-weight: 400; line-height: 1.45; }
.ladder li:last-child b { color: var(--gold-ink); }
.ladder__foot { margin-top: 1.1rem; font-size: .87rem; color: var(--muted); max-width: 44ch; }

/* -------------------------------------------------------------- grids --- */

.band { padding-block: var(--band); }
.entrance + .band { padding-top: clamp(3rem, 6vw, 5rem); }
.band--deep { background: var(--paper-deep); }

.band__head {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 1rem; margin-bottom: clamp(1.8rem, 3.5vw, 3rem);
  border-bottom: 1px solid var(--rule); padding-bottom: 1.1rem;
}
.band__head h2 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.85rem); }
.band__head .count { font-family: var(--mono); font-size: .74rem; color: var(--muted); letter-spacing: .1em; margin-left: auto; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
  gap: clamp(1.6rem, 3vw, 2.75rem) clamp(1.25rem, 2.2vw, 2rem);
  list-style: none; margin: 0; padding: 0;
}
.grid--tight { grid-template-columns: repeat(auto-fill, minmax(min(100%, 12.5rem), 1fr)); }

/* ---------------------------------------------------------- the tile ---- */

.tile { position: relative; }
.tile a {
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column; gap: .95rem;
}
.tile .plate {
  /* 4:3, not square. Half of what is on show is now a screenshot of a live
     app, and a square crop of a web page slices the headline off both sides.
     4:3 with a top anchor keeps the hero of a site and still frames an object. */
  aspect-ratio: 4 / 3;
  transition: box-shadow .4s var(--ease), transform .4s var(--ease);
}
.tile a:hover .plate,
.tile a:focus-visible .plate { box-shadow: var(--shadow-lift); transform: translateY(-3px); }
.tile img { transition: transform .55s var(--ease); }
.tile a:hover img { transform: scale(1.021); }
@media (prefers-reduced-motion: reduce) {
  .tile a:hover .plate, .tile a:focus-visible .plate { transform: none; }
  .tile a:hover img { transform: none; }
}

.tile h3 {
  font-size: 1.055rem; font-weight: 700; letter-spacing: -.012em;
  display: flex; align-items: center; gap: .5rem;
}
.tile .fn { font-size: .875rem; color: var(--muted); line-height: 1.5; margin: .28rem 0 0; }
.tile .tomb {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted);
  margin-top: .55rem; display: flex; flex-wrap: wrap; gap: .45rem .7rem;
}

/* the gold pip: only ever on something that became real */
.pip {
  width: .5rem; height: .5rem; border-radius: 50%;
  background: var(--gold); flex: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 20%, transparent);
}
.pip--live { background: var(--live); box-shadow: 0 0 0 3px color-mix(in srgb, var(--live) 20%, transparent); }

/* ------------------------------------------------------------ exhibit --- */

.exhibit { padding-block: clamp(1.6rem, 3vw, 2.75rem) 0; }

.crumb {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted);
  display: flex; gap: .7rem; align-items: center; margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}
.crumb a { text-decoration: none; border-bottom: 1px solid var(--rule); }
.crumb a:hover { color: var(--ink); border-bottom-color: var(--gold); }
.crumb .acc { margin-left: auto; }

.hero-plate {
  aspect-ratio: 4 / 3;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.hero-plate.is-square { aspect-ratio: 1 / 1; max-width: 44rem; margin-inline: auto; }
@media (max-width: 40rem) { .hero-plate { aspect-ratio: 1 / 1; } }

figure { margin: 0; }
figcaption {
  font-size: .845rem; color: var(--muted); line-height: 1.5;
  margin-top: .8rem; max-width: 52ch;
}
figcaption .credit {
  display: block; font-family: var(--mono); font-size: .68rem;
  letter-spacing: .1em; text-transform: uppercase; margin-top: .35rem;
}

/* the wall label proper */
.label-block {
  display: grid; gap: clamp(2rem, 4vw, 3.25rem);
  grid-template-columns: minmax(0, 1fr);
  padding-block: clamp(1rem, 2vw, 1.75rem) 0;
}
@media (min-width: 62rem) {
  .label-block { grid-template-columns: minmax(0, 1fr) 16.5rem; gap: clamp(2.5rem, 5vw, 5rem); }
}

.title-block h1 {
  font-size: clamp(2.05rem, 1.3rem + 3vw, 3.4rem);
  letter-spacing: -.03em;
  margin-bottom: .6rem;
}
.title-block .fn {
  font-size: clamp(1.06rem, 1rem + .4vw, 1.28rem);
  color: var(--ink-soft); max-width: 40ch; margin-bottom: 1.9rem;
  line-height: 1.45;
}

.section { margin-top: clamp(2.1rem, 4vw, 3.1rem); }
.section > h2 {
  font-family: var(--mono); font-weight: 700;
  font-size: .705rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .95rem;
  padding-bottom: .6rem; border-bottom: 1px solid var(--rule);
  max-width: calc(var(--measure) + 3rem);
}
.section p, .section li { max-width: var(--measure); }

.section--lede p {
  font-size: clamp(1.06rem, 1.01rem + .32vw, 1.2rem);
  color: var(--ink-soft);
}

/* numbered mechanism steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li {
  counter-increment: s;
  display: grid; grid-template-columns: 2.1rem 1fr; gap: .9rem;
  padding: .82rem 0; border-bottom: 1px solid var(--rule-soft);
  max-width: calc(var(--measure) + 3rem);
}
.steps li::before {
  content: counter(s, decimal-leading-zero);
  font-family: var(--mono); font-size: .77rem; color: var(--gold-ink);
  padding-top: .16rem; font-weight: 700;
}
.steps li:last-child { border-bottom: 0; }
.steps__note {
  font-size: .875rem; color: var(--muted); margin-top: 1rem;
  padding-left: 3rem; max-width: calc(var(--measure) + 3rem);
  border-left: 2px solid var(--gold); padding-block: .2rem;
  padding-left: 1rem; margin-left: .3rem;
}

/* tombstone — the museum's data block, set in mono like a catalogue card */
.tombstone {
  font-family: var(--mono); font-size: .795rem; line-height: 1.55;
  border-top: 2px solid var(--ink); padding-top: 1.1rem;
  position: sticky; top: 5.5rem; align-self: start;
}
.tombstone dl { margin: 0; display: grid; gap: .05rem; }
.tombstone dt {
  font-size: .655rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-top: .95rem;
}
.tombstone dt:first-of-type { margin-top: 0; }
.tombstone dd { margin: .2rem 0 0; }
.tombstone .status { display: inline-flex; align-items: center; gap: .5rem; }
@media (max-width: 61.99rem) { .tombstone { position: static; } }

.notes {
  margin-top: 1.9rem; padding-top: 1.1rem; border-top: 1px solid var(--rule);
  font-size: .83rem; color: var(--muted); line-height: 1.55;
}
.notes ul { margin: 0; padding-left: 1.05rem; display: grid; gap: .6rem; }
.notes h3 {
  font-family: var(--mono); font-size: .655rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: .8rem;
}

/* evidence — the making, shown as plates in a row */
.evidence { display: grid; gap: clamp(1.5rem, 3vw, 2.4rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 46rem) { .evidence { grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); } }
.evidence .plate { aspect-ratio: 4 / 3; }

/* actions */
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.btn {
  font-family: var(--body); font-size: .845rem; font-weight: 600;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .62rem 1.05rem; border-radius: 2px;
  border: 1px solid var(--rule); background: transparent; color: var(--ink);
  text-decoration: none; cursor: pointer;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.btn:hover { border-color: var(--ink); }
.btn--primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--primary:hover { background: var(--ink-soft); border-color: var(--ink-soft); }
.btn svg { width: 1em; height: 1em; flex: none; }

/* prev / next along the wall */
.walk {
  display: grid; gap: 1px; grid-template-columns: minmax(0, 1fr);
  margin-top: var(--band); border-top: 1px solid var(--rule);
}
@media (min-width: 40rem) { .walk { grid-template-columns: 1fr 1fr; } }
.walk a {
  text-decoration: none; padding: 1.6rem 0; display: block;
  border-bottom: 1px solid var(--rule-soft);
}
.walk a:last-child { text-align: right; }
@media (max-width: 39.99rem) { .walk a:last-child { text-align: left; } }
.walk .dir { font-family: var(--mono); font-size: .655rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: .35rem; }
.walk .nm { font-family: var(--display); font-weight: 700; font-size: 1.1rem; letter-spacing: -.015em; }
.walk a:hover .nm { color: var(--gold-ink); }

/* --------------------------------------------------------------- vault -- */

.controls {
  display: grid; gap: 1.1rem; margin-bottom: clamp(1.8rem, 3.5vw, 2.75rem);
  border-bottom: 1px solid var(--rule); padding-bottom: 1.4rem;
}
.search {
  display: flex; align-items: center; gap: .7rem;
  border: 1px solid var(--rule); border-radius: 2px;
  padding: .6rem .9rem; background: color-mix(in srgb, var(--plinth) 30%, var(--paper));
  max-width: 26rem;
}
.search:focus-within { border-color: var(--ink); }
.search input {
  border: 0; background: none; font: inherit; font-size: .92rem;
  color: var(--ink); width: 100%; outline: none;
}
.search svg { width: 1rem; height: 1rem; color: var(--muted); flex: none; }

.filters { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; }
.filters .lbl {
  font-family: var(--mono); font-size: .655rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted); margin-right: .35rem;
}
.chip {
  font-family: var(--body); font-size: .8rem; font-weight: 500;
  padding: .36rem .78rem; border-radius: 999px;
  border: 1px solid var(--rule); background: transparent; color: var(--muted);
  cursor: pointer; transition: all .22s var(--ease);
}
.chip:hover { color: var(--ink); border-color: var(--ink-soft); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.vault-empty { padding: 3rem 0; color: var(--muted); font-size: .95rem; }
.vault-count { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; color: var(--muted); }

.tile[hidden] { display: none; }

/* ------------------------------------------------------------- process -- */

.method { list-style: none; margin: 0; padding: 0; }
.method li {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: .4rem;
  padding: clamp(1.5rem, 3vw, 2.2rem) 0; border-bottom: 1px solid var(--rule-soft);
}
@media (min-width: 46rem) {
  .method li { grid-template-columns: 3.6rem minmax(0, 15rem) minmax(0, 1fr); gap: 1.5rem; align-items: baseline; }
}
.method .n { font-family: var(--mono); font-size: .78rem; color: var(--gold-ink); font-weight: 700; }
.method h3 { font-size: 1.16rem; letter-spacing: -.015em; }
.method p { color: var(--ink-soft); max-width: 46ch; margin: 0; font-size: .96rem; }

.pull {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.25rem, 1rem + 1.1vw, 1.7rem);
  line-height: 1.25; letter-spacing: -.022em;
  max-width: 26ch; margin: var(--band) 0 0;
  padding-left: 1.4rem; border-left: 3px solid var(--gold);
}

/* ------------------------------------------------------------ colophon -- */

.cols { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 52rem) { .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 76rem) { .cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.deflist { margin: 0; font-size: .92rem; }
.deflist dt { font-weight: 600; margin-top: 1rem; }
.deflist dt:first-child { margin-top: 0; }
.deflist dd { margin: .2rem 0 0; color: var(--muted); }

.linklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: .92rem; }
.linklist a { text-decoration: none; border-bottom: 1px solid var(--rule); padding-bottom: 1px; }
.linklist a:hover { border-bottom-color: var(--gold); }

.legend { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.legend li { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; font-size: .88rem; align-items: baseline; }
.legend .k { font-family: var(--mono); font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; display: inline-flex; align-items: center; gap: .45rem; }
@media (max-width: 30rem) { .legend li { grid-template-columns: 1fr; gap: .15rem; } }

/* -------------------------------------------------------------- footer -- */

.footer {
  border-top: 1px solid var(--rule);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  margin-top: var(--band);
  font-size: .86rem; color: var(--muted);
}
.footer__in { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: baseline; }
.footer nav { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-left: auto; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }

/* ---------------------------------------------------------- wall label -- */
/* Print one exhibit as a museum label. A4/Letter, one page, no chrome.     */

@media print {
  :root {
    --paper: #fff; --plinth: #fff; --ink: #000; --ink-soft: #222;
    --muted: #555; --rule: #bbb; --rule-soft: #ddd; --gold-ink: #6b4f08;
    --shadow-plate: none; --shadow-lift: none;
  }
  @page { size: A4 portrait; margin: 16mm 18mm; }

  body { background: #fff; font-size: 9.2pt; line-height: 1.45; }
  /* A wall label is short. The page keeps the full text; the printed sheet
     carries only what belongs beside an object: what it is, what problem it
     solves, the move that solves it, how it works, and the tombstone data. */
  .masthead, .footer, .walk, .actions, .crumb a, .evidence, .evidence-wrap,
  .no-print, .band--deep, .notes,
  .section--materials, .section--outcome { display: none !important; }

  .wrap { max-width: none; padding: 0; }
  .exhibit { padding: 0; }

  .crumb { display: block; margin-bottom: 4mm; font-size: 7.5pt; }
  .crumb .acc { display: block; }

  /* Shrink-wrap the plate to the image so the sheet has no empty white box. */
  .hero-plate {
    aspect-ratio: auto; width: fit-content; max-width: 68mm;
    margin: 0 0 5mm; box-shadow: none; border: .4pt solid #ccc;
    border-radius: 0; page-break-inside: avoid; overflow: visible;
  }
  .hero-plate img {
    width: auto; height: auto; max-width: 68mm; max-height: 44mm;
    object-fit: contain; padding: 0;
  }
  figcaption { font-size: 8pt; margin-top: 1.5mm; }
  figcaption .credit { margin-top: .8mm; font-size: 7pt; }

  .label-block { display: block; }
  .title-block h1 { font-size: 19pt; margin-bottom: 1.2mm; }
  .title-block .fn { font-size: 10.2pt; margin-bottom: 3mm; max-width: none; }

  .section { margin-top: 3mm; page-break-inside: avoid; }
  /* The screen sets the problem paragraph larger; on a label everything after
     the function line is one size. */
  .section--lede p { font-size: inherit; }
  .section > h2 { font-size: 7.5pt; margin-bottom: 2mm; padding-bottom: 1.2mm; }
  .section p, .section li { max-width: none; }
  .steps li { padding: .85mm 0; grid-template-columns: 6mm 1fr; gap: 2mm; }
  .steps__note { margin-top: 1.6mm; margin-left: 0; padding-left: 2.6mm; font-size: 8pt; }

  .tombstone {
    position: static; margin-top: 3mm; padding-top: 1.8mm;
    border-top: 1.2pt solid #000; font-size: 8.5pt;
    page-break-inside: avoid;
  }
  .tombstone dl {
    display: grid; grid-template-columns: 26mm 1fr 26mm 1fr;
    gap: 1.2mm 4mm; align-items: baseline;
  }
  .tombstone dt { margin-top: 0; font-size: 7pt; }
  .tombstone dd { margin: 0; }
  .notes { font-size: 8pt; }

  a { text-decoration: none; color: #000; }
  .label-block a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 7.5pt; color: #555; }
  .print-only { display: block !important; }
  .print-foot {
    margin-top: 4mm; padding-top: 2mm; border-top: .4pt solid #bbb;
    font-family: var(--mono); font-size: 7pt; color: #555;
    display: flex; justify-content: space-between; gap: 6mm;
  }
}
.print-only { display: none; }

/* ---------------------------------------------------- the worked example -- */
/* One object shown at three steps of the method, side by side.               */

.chain {
  display: grid; gap: clamp(1.4rem, 3vw, 2.4rem);
  grid-template-columns: minmax(0, 1fr);
  counter-reset: none;
}
@media (min-width: 52rem) { .chain { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.chain__step .plate { aspect-ratio: 4 / 3; }
.chain__step figcaption { margin-top: .9rem; max-width: 34ch; }
.chain__step .n {
  font-family: var(--mono); font-size: .72rem; font-weight: 700;
  color: var(--gold-ink); margin-right: .4rem;
}
.chain__step strong { font-weight: 600; color: var(--ink); }
.chain__step .note { display: block; margin-top: .3rem; color: var(--muted); }
