/* Specimen pages. Builds on /styles.css (tokens: --paper --ink --muted --violet --yellow --line). */
.specimen { padding: 56px 0 48px; display: grid; gap: 64px; }
.specimen section { min-width: 0; }
.specimen h1 { font-size: clamp(40px, 5.4vw, 72px); max-width: 16ch; overflow-wrap: break-word; hyphens: auto; }
.specimen-head .description { margin-top: 24px; max-width: 52ch; }
.specimen-head .eyebrow { margin-bottom: 20px; max-width: none; }

.specimen-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.plate { margin: 0; }
.plate input { position: absolute; opacity: 0; pointer-events: none; }
.plate-img { position: relative; line-height: 0; overflow-x: clip; overflow-y: visible; }
.hot-r span { left: auto; right: 0; }
.plate-img img { width: 100%; height: auto; border-radius: 2px; }
.hot { position: absolute; display: block; border-radius: 3px; text-decoration: none; transition: box-shadow .15s, background .15s; }
.hot span { position: absolute; left: 0; bottom: 100%; padding: 3px 6px; background: var(--yellow); color: var(--ink); font: 700 10px/1.3 'Courier New', monospace; white-space: nowrap; opacity: 0; transition: opacity .15s; pointer-events: none; }
.plate:has(#show-blocks:checked) .hot { box-shadow: inset 0 0 0 1px rgba(255, 251, 238, .55); }
.hot:hover, .hot:focus-visible, .hot.lit { box-shadow: inset 0 0 0 2px var(--yellow) !important; background: rgba(244, 230, 110, .12); z-index: 2; outline: none; }
.hot:hover span, .hot:focus-visible span, .hot.lit span { opacity: 1; }
.plate figcaption label { cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.plate figcaption label::before { content: ''; width: 14px; height: 14px; border: 1px solid var(--ink); border-radius: 2px; }
.plate:has(#show-blocks:checked) figcaption label::before { background: var(--violet); border-color: var(--violet); box-shadow: inset 0 0 0 2px var(--paper); }
.plate:has(#show-blocks:focus-visible) figcaption label { outline: 3px solid var(--violet); outline-offset: 2px; }

.reading h2, .critique-title { font-size: 14px; margin: 0 0 14px; }
.reading p { font-family: Georgia, 'Times New Roman', serif; font-size: 18px; line-height: 1.6; margin: 0 0 18px; }
.verdict { display: flex; align-items: center; gap: 18px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); line-height: 1.5; }
.verdict strong { color: var(--ink); font-size: 17px; }
.verdict-n { font-size: 64px; font-weight: 700; line-height: 1; letter-spacing: -.05em; color: var(--violet); }

.section-note { color: var(--muted); font-size: 14px; line-height: 1.65; max-width: 62ch; margin: 0 0 22px; }
.section-note a { color: var(--violet); }

.blocks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.block { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px; background: var(--paper); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); scroll-margin-top: 24px; transition: background .15s; }
.block.lit, .block:target { background: #fbf3c2; }
.block img { width: 96px; height: 96px; object-fit: contain; background: #14121a; border-radius: 2px; }
.block h3 { margin: 0 0 6px; font-size: 15px; }
.block p { margin: 0 0 6px; font-size: 13px; line-height: 1.55; }
.block .role { color: var(--muted); margin: 0; }
.block-meta { color: var(--violet); font: 10px/1.6 'Courier New', monospace !important; margin-bottom: 4px !important; }

.relations { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.relations li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.55; color: var(--muted); }
.rel { color: var(--ink); font-weight: 700; }
.rel em { font: 400 11px 'Courier New', monospace; color: var(--violet); padding: 0 4px; }

.bench { width: 100%; border-collapse: collapse; font-size: 14px; }
.bench th, .bench td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.bench thead th { font: 400 10px 'Courier New', monospace; color: var(--muted); }
.bench tbody th span, .bench tfoot th span { display: block; font-weight: 400; color: var(--muted); font-size: 13px; line-height: 1.5; margin-top: 3px; max-width: 60ch; }
.bench td { white-space: nowrap; width: 1%; padding-left: 20px; }
.bench td b { display: inline-block; width: 2ch; text-align: right; margin-left: 10px; }
.bench tfoot th, .bench tfoot td { border-bottom: 0; border-top: 2px solid var(--ink); }
.meter { display: inline-flex; gap: 2px; vertical-align: -1px; }
.meter i { width: 9px; height: 12px; background: var(--line); }
.meter i.on { background: var(--violet); }
.bench tfoot .meter i.on { background: var(--ink); }
.critique-title { margin-top: 32px; }
.critique { margin: 0 0 22px; padding-left: 18px; color: var(--muted); font-size: 14px; line-height: 1.65; max-width: 70ch; }
.critique li { padding-bottom: 8px; }

.rel a { color: var(--violet); }
.also { margin: 8px 0 0 !important; font: 10px/1.6 'Courier New', monospace !important; color: var(--violet); }
.also a { color: var(--violet); }
.palette { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 20px; }
.palette li { display: grid; align-content: start; gap: 4px; font-size: 13px; line-height: 1.45; }
.palette .swatch { height: 72px; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); margin-bottom: 6px; }
.palette code { font: 10px 'Courier New', monospace; color: var(--violet); }
.palette li > span:last-child { color: var(--muted); font-size: 12px; }
.pager { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; }
.pager a { color: var(--violet); min-height: 44px; display: inline-flex; align-items: center; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px 24px; }
.tiles a { display: grid; gap: 6px; text-decoration: none; }
.tiles img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; margin-bottom: 6px; transition: opacity .15s; }
.tiles a:hover img { opacity: .85; }
.tiles strong { font-size: 18px; line-height: 1.25; letter-spacing: -.3px; }
.tiles a:hover strong { color: var(--violet); }
.tile-score { font-size: 12px; color: var(--muted); }
.tile-score b { margin: 0 6px 0 8px; color: var(--ink); }
.recurring { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.recurring a { display: flex; gap: 12px; align-items: center; text-decoration: none; font-size: 14px; font-weight: 700; }
.recurring img { width: 56px; height: 56px; object-fit: cover; border-radius: 2px; background: #14121a; }
.recurring em { display: block; font: 400 10px/1.6 'Courier New', monospace; color: var(--violet); font-style: normal; }
@media (max-width: 1100px) { .specimen-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .specimen { padding: 32px 0; gap: 48px; }
  .relations li { grid-template-columns: 1fr; gap: 4px; }
  .block { grid-template-columns: 72px 1fr; }
  .block img { width: 72px; height: 72px; }
  .meter i { width: 6px; }
}
