/* A quiet layer of print grain; static, non-interactive and intentionally faint. */
body::before{content:"";position:fixed;inset:0;z-index:4;pointer-events:none;opacity:.052;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.84' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Cpath fill='%23000' filter='url(%23grain)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");background-size:180px 180px;mix-blend-mode:multiply}
/* Ink registering twice: the original letterforms remain sharp. */
.hero h1 em{text-shadow:3px 1px 0 rgba(121,44,59,.25),-1px 2px 0 rgba(38,38,34,.12);transform:translateX(-3px) rotate(-.65deg);transform-origin:25% 65%}
.hero h1 em span{text-shadow:3px -1px 0 rgba(121,44,59,.36)}
/* The rule and chapter number briefly disagree about the grid. */
#chapter-3 .chapter-header,#chapter-5 .chapter-header{position:relative}
#chapter-3 .chapter-no,#chapter-5 .chapter-no{position:relative;top:-42px;background:var(--paper);width:fit-content;padding-right:8px;transform:rotate(-4deg)}
#chapter-5 .chapter-no{transform:rotate(3deg);top:-38px}
/* A few displaced sleeves, with space reserved to keep all text readable. */
@media(min-width:1001px){
 #chapter-4 .record-grid{padding-top:14px;padding-bottom:26px}
 #chapter-4 .card:nth-child(2){transform:translateY(24px)}
 #chapter-4 .card:nth-child(4){transform:translateY(-12px)}
 #chapter-4 .card:nth-child(1) .card-image{transform:rotate(-.7deg)}
 #chapter-5 .card:nth-child(4) .card-image{transform:rotate(.7deg)}
 .intro{grid-template-columns:1fr 2fr}
 .intro>.eyebrow{padding-top:9px;transform:rotate(-1.5deg);transform-origin:left}
}
/* Touch layouts keep a steady grid; the typography and grain carry the tension. */
@media(max-width:640px){
 .hero h1 em{text-shadow:2px 1px 0 rgba(121,44,59,.28),-1px 1px 0 rgba(38,38,34,.12);transform:translateX(-2px) rotate(-.65deg)}
 #chapter-3 .chapter-no,#chapter-5 .chapter-no{top:-33px;padding-right:3px}
}
@media(forced-colors:active){body::before{display:none}.hero h1 em,.hero h1 em span{text-shadow:none}}
