*, *::before, *::after { box-sizing: border-box; }
html { background: var(--board); color: var(--ink); }
body { margin: 0; font: 400 var(--body)/var(--reading-leading) var(--reading); }
main, section, article, figure, header, footer, aside, nav, div { min-width: 0; }
h1, h2, h3, p, figure, dl, dd, ol, ul { margin: 0; }
h1, h2, h3 { font: 400 var(--headline)/var(--display-leading) var(--reading); text-wrap: balance; }
h3 { font-size: var(--subhead); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .17em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input { font: 500 var(--ui)/1.3 var(--interface); border-radius: 0; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
::selection { background: var(--ink); color: var(--bond); }
.board { max-width: var(--board-width); margin-inline: auto; padding: var(--board-margin); }
.sheet, .slip, .mount { background-color: var(--bond); background-image: url("./media/bond-grain.png"); color: var(--ink); }
.sheet { padding: var(--paper-inset); box-shadow: var(--rest); }
.sheet:nth-of-type(2n) { background-position: 41px 73px; }
.slip { display: inline-block; padding: var(--unit) var(--space-2); border: var(--rule) solid var(--shade); transform: rotate(var(--slip-tilt)); box-shadow: var(--slip-shadow); background-position: 73px 29px; }
.sheet-title { font-size: var(--display); }
.runhead, .interface, .action, .folio, dt, summary, label { font-family: var(--interface); font-weight: 500; }
.runhead, .folio { text-transform: uppercase; font-size: var(--folio); letter-spacing: var(--head-tracking); line-height: 1.4; }
.runhead { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: var(--space-1) var(--space-3); padding-block-end: var(--space-1); border-block-end: var(--rule) solid currentColor; }
.typed, .credit, .filing { font: 400 var(--note)/1.43 var(--typed); overflow-wrap: anywhere; }
.credit, .filing { color: var(--ink); }
.mount { padding: var(--edge); box-shadow: var(--rest); }
.mount img { width: 100%; }
.mount figcaption { padding: var(--space-1) var(--unit) var(--unit); }
.studio-print { width: min(100%, 20rem); margin-inline: auto; }
.studio-print img { width: 100%; height: auto; }
.rule { border-block-start: var(--rule) solid currentColor; padding-block-start: var(--space-2); }
.stack > * + * { margin-block-start: var(--space-3); }
.stack-wide > * + * { margin-block-start: var(--space-4); }
.measure { max-width: var(--measure); }
.action { display: inline-flex; align-items: center; justify-content: center; min-height: var(--target); padding: var(--space-1) var(--space-3); border: 1px solid var(--ink); background: var(--ink); color: var(--bond); font-size: var(--ui); line-height: 1.3; text-decoration: none; }
.action:hover { background: var(--bond); color: var(--ink); }
.action:focus-visible { outline-color: var(--ink); }
.action-quiet { background: var(--bond); color: var(--ink); }
.action-quiet:hover { background: var(--ink); color: var(--bond); }
.text-action { display: inline-flex; align-items: center; min-height: var(--target); font: 500 var(--ui)/1.3 var(--interface); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-3); }
.channel-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--space-3); margin: 0; padding: 0; list-style: none; }
.channel-links a { display: inline-flex; align-items: center; min-height: var(--target); font: 500 var(--ui)/1.35 var(--interface); }
.photo-source { text-decoration-thickness: var(--rule); }
input { min-height: var(--target); max-width: 100%; border: var(--rule) solid var(--ink); color: var(--ink); background: var(--bond); padding: var(--space-1) var(--space-2); }
label { display: block; font-size: var(--ui); }
.machine { display: inline-block; background: var(--manila); color: var(--ink); padding: var(--space-1) var(--space-2); font: 400 var(--note)/1.4 var(--typed); }
.highlight { display: inline-block; position: relative; z-index: 0; isolation: isolate; background: var(--bond) url("./media/bond-grain.png"); }
.highlight::before { content: ""; position: absolute; z-index: -1; inset: 18% -.04em 10%; background: var(--amber); mix-blend-mode: multiply; clip-path: polygon(0 6%,46% 0,100% 4%,99.5% 93%,61% 100%,.3% 95%); }
.understroke { display: inline-block; position: relative; }
.understroke svg { position: absolute; inset: auto 0 -.18em; width: 100%; height: .24em; color: var(--marker); pointer-events: none; }
.sr-only, .skip:not(:focus-visible) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus-visible { display: block; position: fixed; z-index: 10; top: var(--space-2); left: var(--space-2); padding: var(--space-2); background: var(--bond); color: var(--ink); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; transition-duration: 0s !important; scroll-behavior: auto !important; }
}
