/*
  Halvorsen nr. 1: a two-colour risograph zine.

  Design plan
  - Colour: newsprint #F3F0E6, ink A (default fluorescent pink #FF48B0), ink B (riso blue #0078BF)
    and their overprint (#002284, the multiply of A over B). No black, no third ink.
  - Type: Tanker for mastheads, heads, numerals and stickers. Courier Prime for everything you read.
  - Layout: seven sheets, twelve pages. Two pages per sheet on desktop with a fold, one page at a time on a phone.
    Text is left aligned, pasted pieces are rotated one or two degrees.
  - Print logic: everything in ink A carries the class .pa. It sits on top, multiplies, and is moved by
    --dx/--dy (the register drift, set from script) on top of a fixed misregistration per sheet (--bx/--by).
    Body text is one solid overprint colour and never moves.
*/

:root {
  --paper: #F3F0E6;
  --ink-a: #FF48B0;
  --ink-b: #0078BF;
  --ink-ab: #002284;
  --bx: 3px; --by: 2px; --dx: 0px; --dy: 0px;
  --display: 'Tanker', 'Arial Narrow', Impact, sans-serif;
  --text: 'Courier Prime', 'Courier New', Courier, monospace;
  --star-a: polygon(50.0% 0.1%, 59.2% 9.9%, 72.1% 4.0%, 75.5% 18.0%, 89.1% 18.8%, 87.1% 32.1%, 98.0% 39.0%, 91.0% 50.0%, 99.1% 61.2%, 87.6% 68.1%, 88.3% 80.6%, 75.3% 81.7%, 71.3% 94.2%, 59.3% 90.7%, 50.0% 100%, 41.1% 88.9%, 27.8% 96.1%, 23.7% 82.9%, 10.6% 81.4%, 12.8% 67.9%, 2.1% 60.9%, 10.2% 50.0%, 1.2% 38.9%, 14.0% 32.7%, 11.5% 19.3%, 24.8% 18.4%, 28.8% 6.0%, 40.9% 10.1%);
  --star-b: polygon(50.0% 0.1%, 57.6% 7.1%, 67.1% 3.0%, 71.6% 12.6%, 82.1% 11.7%, 83.1% 22.2%, 93.2% 25.0%, 90.1% 35.4%, 100.0% 41.2%, 93.8% 50.0%, 99.8% 58.8%, 90.7% 64.8%, 93.0% 74.9%, 82.6% 77.4%, 81.9% 88.0%, 71.2% 86.6%, 67.2% 97.4%, 57.4% 92.2%, 50.0% 100%, 42.6% 92.2%, 32.6% 97.7%, 28.2% 87.7%, 18.4% 87.7%, 17.4% 77.3%, 6.1% 75.3%, 9.6% 64.7%, 0.0% 58.8%, 7.2% 50.0%, 1.4% 41.4%, 9.4% 35.2%, 6.3% 24.8%, 17.3% 22.6%, 18.3% 12.2%, 28.6% 13.0%, 32.6% 2.3%, 42.5% 7.2%);
  --torn: polygon(0.0% 0.7px, 4.5% 1.5px, 9.1% 0.6px, 13.6% 0.4px, 18.2% 4.8px, 22.7% 1.1px, 27.3% 3.4px, 31.8% 2.7px, 36.4% 1.1px, 40.9% 4.4px, 45.5% 0.8px, 50.0% 3.9px, 54.5% 0.7px, 59.1% 2.5px, 63.6% 1.3px, 68.2% 1.6px, 72.7% 5.8px, 77.3% 4.8px, 81.8% 1.8px, 86.4% 5.3px, 90.9% 1.3px, 95.5% 2.4px, 100.0% 5.1px, 100.0% calc(100% - 3.9px), 95.5% calc(100% - 0.6px), 90.9% calc(100% - 5.9px), 86.4% calc(100% - 1.3px), 81.8% calc(100% - 1.5px), 77.3% calc(100% - 4.6px), 72.7% calc(100% - 2.0px), 68.2% calc(100% - 1.8px), 63.6% calc(100% - 0.4px), 59.1% calc(100% - 0.5px), 54.5% calc(100% - 3.5px), 50.0% calc(100% - 1.5px), 45.5% calc(100% - 3.6px), 40.9% calc(100% - 2.2px), 36.4% calc(100% - 2.7px), 31.8% calc(100% - 5.8px), 27.3% calc(100% - 2.9px), 22.7% calc(100% - 3.4px), 18.2% calc(100% - 5.2px), 13.6% calc(100% - 1.1px), 9.1% calc(100% - 0.9px), 4.5% calc(100% - 5.5px), 0.0% calc(100% - 4.9px));
  --tape: polygon(0px 0%, 5px 20%, 0px 40%, 5px 60%, 0px 80%, 5px 100%, 100% 100%, calc(100% - 5px) 80%, 100% 60%, calc(100% - 5px) 40%, 100% 20%, calc(100% - 5px) 0%);
  --cut-portrait: polygon(0% 100%, 0% 71.5%, 8.8% 67.8%, 23.8% 62.1%, 32.8% 58.5%, 28.5% 52.2%, 24.0% 45.1%, 23.2% 37.9%, 21.5% 25.4%, 24.5% 15.2%, 35.6% 8.5%, 47.5% 7.0%, 61.5% 8.4%, 72.8% 15.4%, 77.8% 22.3%, 78.2% 36.6%, 76.2% 44.6%, 71.9% 53.6%, 74.5% 58.0%, 86.2% 62.1%, 100% 65.2%, 100% 100%);
}
html[data-ink="2"] { --ink-a: #FF6C2F; --ink-b: #00838A; --ink-ab: #003719; }
html[data-ink="3"] { --ink-a: #FFE800; --ink-b: #765BA7; --ink-ab: #5A3F00; }
html[data-ink="4"] { --ink-a: #F15060; --ink-b: #3255A4; --ink-ab: #2F1B3E; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper) url(img/papir.webp);
  color: var(--ink-ab);
  font: 400 16px/1.5 var(--text);
  overflow-x: clip;
  overflow-wrap: break-word;
}
@media (min-width: 900px) { body { font-size: 17px; } }
::selection { background: var(--ink-a); color: var(--ink-ab); }
p { margin: 0 0 14px; }
h1, h2, h3 { margin: 0; font-weight: 400; }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--ink-ab); outline-offset: 3px; }
[id] { scroll-margin-top: 12px; }

a {
  color: var(--ink-ab);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .2em;
  background: linear-gradient(var(--ink-a), var(--ink-a)) 0 92% / 100% .46em no-repeat;
}
a:hover { background-size: 100% 1.2em; background-position: 0 50%; }

.vh, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; left: 12px; top: 12px; z-index: 200; background: var(--paper); padding: 10px 14px; }
.defs { position: absolute; width: 0; height: 0; }
.ico { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; color: var(--ink-b); overflow: visible; }
.pom-f { fill: var(--paper); }
.pom-d { fill: currentColor; stroke: none; }

/* ---------- the second plate ---------- */
.pa {
  mix-blend-mode: multiply;
  translate: calc(var(--bx) + var(--dx) + var(--ox, 0px)) calc(var(--by) + var(--dy) + var(--oy, 0px));
  pointer-events: none;
}
.dup { position: absolute; left: 0; top: 0; width: 100%; color: var(--ink-a); }
@media (min-width: 900px) { .dup { --ox: var(--bx); --oy: var(--by); } }
.ht { position: absolute; inset: 0; -webkit-mask: center / 100% 100% no-repeat; mask: center / 100% 100% no-repeat; }
.ht--b { background: var(--ink-b); }
.ht--a { background: var(--ink-a); }
.ht--a, .sun, .mast--a { will-change: translate; }
.portrait .ht--b { -webkit-mask-image: url(img/portrett-b.webp); mask-image: url(img/portrett-b.webp); }
.portrait .ht--a { -webkit-mask-image: url(img/portrett-a.webp); mask-image: url(img/portrett-a.webp); }
.shot--mittgarn .ht--b { -webkit-mask-image: url(img/mittgarn-b.webp); mask-image: url(img/mittgarn-b.webp); }
.shot--mittgarn .ht--a { -webkit-mask-image: url(img/mittgarn-a.webp); mask-image: url(img/mittgarn-a.webp); }
.shot--bevapp .ht--b { -webkit-mask-image: url(img/bevapp-b.webp); mask-image: url(img/bevapp-b.webp); }
.shot--bevapp .ht--a { -webkit-mask-image: url(img/bevapp-a.webp); mask-image: url(img/bevapp-a.webp); }
.shot--solacium .ht--b { -webkit-mask-image: url(img/solacium-b.webp); mask-image: url(img/solacium-b.webp); }
.shot--solacium .ht--a { -webkit-mask-image: url(img/solacium-a.webp); mask-image: url(img/solacium-a.webp); }
.shot--tollefsen .ht--b { -webkit-mask-image: url(img/tollefsen-b.webp); mask-image: url(img/tollefsen-b.webp); }
.shot--tollefsen .ht--a { -webkit-mask-image: url(img/tollefsen-a.webp); mask-image: url(img/tollefsen-a.webp); }
.shot--arctic .ht--b { -webkit-mask-image: url(img/arctic-b.webp); mask-image: url(img/arctic-b.webp); }
.shot--arctic .ht--a { -webkit-mask-image: url(img/arctic-a.webp); mask-image: url(img/arctic-a.webp); }

/* ---------- sheets, pages, slug ---------- */
.sheet { position: relative; max-width: 1400px; margin: 0 auto; padding: 0 clamp(16px, 2.8vw, 40px); overflow: clip; }
/* ink dropout: paper-coloured specks over everything printed. Opened screenshots sit above it. */
.cover::after, .page::after, .back::after, .shot__print::after { content: ''; position: absolute; inset: 0; background: url(img/slipp.webp); pointer-events: none; z-index: 20; }
[data-ark="2"] { --bx: -3px; --by: 2px; }
[data-ark="3"] { --bx: 2px; --by: -2.5px; }
[data-ark="4"] { --bx: 3.5px; --by: 1.5px; }
[data-ark="5"] { --bx: -2.5px; --by: -2px; }
[data-ark="6"] { --bx: 2.5px; --by: 3px; }
[data-ark="7"] { --bx: -3px; --by: 1.5px; }

.slug { display: grid; grid-template-columns: 1fr auto; align-items: center; height: 44px; margin: 0; font-size: 13px; color: var(--ink-b); border-top: 1.5px dashed var(--ink-b); }
[data-ark="1"] .slug { border-top: 0; }
.slug__ink { display: none; text-align: right; }
.reg { position: relative; width: 22px; height: 22px; }
.reg svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--ink-b); stroke-width: 1.3; }
.reg svg.pa { stroke: var(--ink-a); }

.spread { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); max-width: 640px; margin: 0 auto; }
.page { position: relative; container-type: inline-size; min-width: 0; padding: 26px 0 78px; }
.page + .page { border-top: 1.5px dashed var(--ink-b); }
.page > p { max-width: 56ch; }
.folio { position: absolute; bottom: 20px; left: 0; margin: 0; display: flex; gap: 10px; align-items: baseline; font-size: 14px; color: var(--ink-b); }
.folio b { font: 400 26px/1 var(--display); }
.page--r .folio { left: auto; right: 0; }
.staple { display: none; }

@media (min-width: 900px) {
  .slug { grid-template-columns: 1fr auto 1fr; }
  .slug__ink { display: block; }
  .spread { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
  .spread::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 40px; margin-left: -20px; background: linear-gradient(90deg, transparent, rgba(70, 60, 40, .07) 44%, rgba(70, 60, 40, .17) 50%, rgba(255, 255, 255, .4) 52%, transparent); pointer-events: none; }
  .page { padding: 34px 46px 88px; }
  .page--l { padding-left: 6px; }
  .page--r { padding-right: 6px; }
  .page + .page { border-top: 0; }
  .page--l .folio { left: 6px; }
  .page--r .folio { right: 6px; }
  .staple { display: block; position: absolute; left: 50%; width: 8px; height: 40px; margin-left: -4px; border: 2px solid var(--ink-b); border-radius: 4px; z-index: 3; }
  .staple--1 { top: 23%; }
  .staple--2 { top: 71%; }
}

/* ---------- headings ---------- */
.head { position: relative; font: 400 clamp(44px, 17.4cqi, 112px)/.9 var(--display); text-transform: uppercase; color: var(--ink-b); margin: 0 0 .38em; letter-spacing: .005em; }
.head > span:first-child { display: block; }
.head--xl { font-size: clamp(52px, 21.5cqi, 134px); margin-bottom: .28em; }

/* ---------- pasted bits ---------- */
.strip { position: relative; display: inline-block; font: 400 clamp(33px, 4.3cqi, 60px)/1 var(--display); text-transform: uppercase; padding: .2em .32em .1em; background: var(--ink-b); color: var(--paper); rotate: -1.6deg; }
.strip__ink { position: absolute; inset: 0; background: var(--ink-a); --ox: 5px; --oy: 4px; }
.strip--2 { background: var(--paper); color: var(--ink-b); box-shadow: 1.5px 2px 0 var(--ink-b); rotate: 1.1deg; margin-left: .7em; }
.strip--s { font-size: clamp(22px, 6cqi, 36px); }
.paste { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; margin: 34px 0 0; }
.paste--2 { margin-top: 46px; }

.piece { position: relative; padding: 16px 18px 4px; max-width: 54ch; }
.piece::before, .piece::after { content: ''; position: absolute; inset: 0; z-index: -1; clip-path: var(--torn); }
.piece::before { background: var(--ink-b); translate: 2px 2.5px; }
.piece::after { background: var(--paper); }
.piece--intro { rotate: -.5deg; font-size: 1.1em; }
.piece--rolig { rotate: .7deg; width: 88%; margin: 34px 0 0 auto; }

.tape { position: absolute; width: 86px; height: 24px; z-index: 2; background-image: radial-gradient(circle, var(--ink-a) 0 1.3px, transparent 1.75px); background-size: 4.5px 4.5px; clip-path: var(--tape); }
.tape--1 { left: -22px; top: -4px; rotate: -34deg; }
.tape--2 { right: -22px; top: -2px; rotate: 31deg; }
.tape--3 { left: 38%; top: -13px; rotate: -4deg; }

.burst { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 150px; aspect-ratio: 1; padding: 14%; rotate: 11deg; text-align: center; text-decoration: none; background: none; color: var(--ink-b); font-family: var(--display); font-weight: 400; text-transform: uppercase; }
.burst:hover { rotate: 6deg; }
.burst__ink { position: absolute; inset: 0; background: var(--ink-a); clip-path: var(--star-a); z-index: 1; }
.burst__t { font-size: 24px; line-height: .92; }
.burst__s { font: 700 13px/1.1 var(--text); text-transform: none; margin-top: 5px; color: var(--ink-ab); }
.burst--b { float: right; width: 132px; margin: -34px -6px 4px 10px; rotate: -9deg; shape-outside: circle(50%); }
.burst--b .burst__ink { clip-path: var(--star-b); }
.burst--b .burst__t { font-size: 27px; }
.burst--b .burst__s { font-size: 12px; }

/* ---------- ink switcher ---------- */
.drum { position: fixed; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 100; display: flex; align-items: center; gap: 6px; padding: 5px 6px; background: var(--paper); border: 2px solid var(--ink-b); rotate: -1deg; }
.drum__t { margin: 0; width: 46px; font: 400 15px/.95 var(--display); text-transform: uppercase; color: var(--ink-b); }
.drum__name { display: none; }
.drum__opts { display: flex; gap: 3px; }
.drum__opt { position: relative; display: block; width: 44px; height: 44px; cursor: pointer; }
.drum__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.drum__chip { position: absolute; inset: 6px 4px 4px; border: 1.5px solid var(--ink-ab); pointer-events: none; }
.drum__chip--1 { background: linear-gradient(#FF48B0 0 40%, #002284 40% 60%, #0078BF 60%); }
.drum__chip--2 { background: linear-gradient(#FF6C2F 0 40%, #003719 40% 60%, #00838A 60%); }
.drum__chip--3 { background: linear-gradient(#FFE800 0 40%, #765300 40% 60%, #765BA7 60%); }
.drum__chip--4 { background: linear-gradient(#F15060 0 40%, #2F1B3E 40% 60%, #3255A4 60%); }
.drum__opt input:checked + .drum__chip { inset: 0 2px 8px; border-width: 3px; box-shadow: 0 6px 0 -1px var(--ink-ab); }
.drum__opt input:focus-visible + .drum__chip { outline: 3px solid var(--ink-ab); outline-offset: 3px; }
@media (min-width: 900px) {
  .drum { right: 18px; bottom: 18px; display: block; padding: 8px 9px 9px; }
  .drum__t { width: auto; display: flex; justify-content: space-between; align-items: baseline; gap: 14px; font-size: 20px; margin-bottom: 6px; }
  .drum__name { display: inline; font: 700 13px/1 var(--text); text-transform: none; color: var(--ink-ab); }
  .drum__opts { gap: 5px; }
  .drum__opt { width: 48px; height: 48px; }
}

/* ---------- cover ---------- */
.cover { position: relative; container-type: inline-size; display: grid; grid-template-columns: minmax(0, 1fr); padding-bottom: 26px; --pw: min(76cqi, 300px); }
.cover__top { grid-area: 1 / 1; display: flex; justify-content: space-between; gap: 16px; margin: 0; padding: 2px 0 12px; font-weight: 700; }
.cover__price { display: none; }
.mast { grid-area: 2 / 1; position: relative; z-index: 1; margin: 0; font: 400 25cqi/.74 var(--display); text-transform: uppercase; white-space: nowrap; color: var(--ink-b); }
.mast--a { z-index: 2; color: var(--ink-a); --ox: .2cqi; --oy: .2cqi; }
.cover .sun { grid-area: 3 / 1; justify-self: center; align-self: start; width: calc(var(--pw) * 1.16); margin-top: -4cqi; z-index: 2; }
.sun { display: block; aspect-ratio: 1; border-radius: 50%; background: var(--ink-a); }
.portrait { position: relative; aspect-ratio: 800 / 1120; z-index: 1; }
.cover .portrait { grid-area: 3 / 1; justify-self: center; align-self: start; width: var(--pw); margin-top: 1cqi; z-index: 3; rotate: -2deg; }
.portrait__edge, .portrait__cut { position: absolute; inset: 0; clip-path: var(--cut-portrait); }
.portrait__edge { background: var(--ink-b); translate: 3px 3px; }
.portrait__cut { background: var(--paper); }
.cover .burst { grid-area: 3 / 1; justify-self: end; align-self: start; z-index: 5; width: 116px; margin: 30cqi -4px 0 0; }
.cover .burst__t { font-size: 19px; }
.cover .burst__s { font-size: 12px; }
.cover__lines { grid-area: 4 / 1; position: relative; z-index: 4; margin-top: -62px; }
.tagline { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; margin: 0 0 20px; }
.cover__quote { margin: 0 0 22px; max-width: 31em; font-size: 18px; font-weight: 700; line-height: 1.4; }
.cover__by { display: block; margin-top: 6px; font-size: 16px; font-weight: 400; }
.toc__t { font: 400 24px/1 var(--display); text-transform: uppercase; color: var(--ink-b); padding-bottom: 5px; border-bottom: 2.5px solid var(--ink-b); }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: flex; gap: 10px; align-items: baseline; padding: 10px 0 8px; background: none; text-decoration: none; border-bottom: 2px dotted var(--ink-b); }
.toc a:hover { background: var(--ink-a); }
.toc__n { flex: none; min-width: 28px; font: 400 24px/1 var(--display); color: var(--ink-b); }
.cover__bar { grid-area: 5 / 1; display: flex; align-items: center; gap: 14px; margin: 26px 0 0; padding-right: 20px; font-weight: 700; }
.bars { display: flex; flex: none; }
.bar { display: block; width: 24px; height: 24px; }
.bar--b { background: var(--ink-b); }
.bar--a { background: var(--ink-a); margin-left: -10px; }
.bar--tb { margin-left: 5px; background: radial-gradient(circle, var(--ink-b) 0 1.3px, transparent 1.75px) 0 0 / 4.5px 4.5px; }
.bar--ta { background: radial-gradient(circle, var(--ink-a) 0 1.6px, transparent 2px) 0 0 / 4.5px 4.5px; }
.cover__pil { display: none; }

@media (min-width: 480px) { .cover__price { display: inline; } }
@media (min-width: 900px) {
  .cover { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); grid-template-rows: auto auto 1fr auto; column-gap: 34px; min-height: calc(100svh - 44px); padding-bottom: 22px; --pw: clamp(250px, calc((100svh - 428px) * .9), 520px); }
  .cover__top, .mast { grid-column: 1 / -1; }
  .mast--a { --ox: .8cqi; --oy: .55cqi; }
  .cover .sun { grid-area: 3 / 2; margin-top: -12.5cqi; width: calc(var(--pw) * 1.24); }
  .cover .portrait { grid-area: 3 / 2; margin-top: -8.4cqi; rotate: 2.5deg; }
  .cover .burst { grid-area: 3 / 2; width: 158px; margin: 7cqi 0 0 0; }
  .cover .burst__t { font-size: 26px; }
  .cover .burst__s { font-size: 13px; }
  .cover__lines { grid-area: 3 / 1; margin-top: 30px; align-self: start; }
  .cover__quote { font-size: 20px; margin-bottom: 18px; }
  .toc ol { columns: 2; column-gap: 28px; }
  .toc li { break-inside: avoid; }
  .toc a { padding: 7px 0 5px; }
  .cover__bar { grid-area: 4 / 1 / 5 / -1; justify-content: flex-end; margin-top: 14px; padding-right: 268px; }
  .cover__pil { display: block; width: 62px; height: 36px; flex: none; }
}
@media (min-width: 900px) and (hover: hover) {
  .mast { filter: url(#rough); }
}

/* ---------- spread 2-3: hei ---------- */
.shout { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; margin: 30px 0 6px; font: 400 clamp(23px, 6.9cqi, 43px)/1 var(--display); text-transform: uppercase; color: var(--ink-b); max-width: none; }
.shout__l { background: var(--paper); padding: .2em .3em .1em; box-shadow: 1.5px 2px 0 var(--ink-b); rotate: -1deg; }
.shout__l:nth-child(2) { rotate: .8deg; margin-left: .5em; }
.shout__l:nth-child(3) { rotate: -.4deg; }
.shout__ink { position: absolute; left: -2%; top: 28%; width: 78%; height: 44%; background: var(--ink-a); clip-path: var(--torn); rotate: -2deg; }
.note { position: relative; margin: 20px 0 26px 16%; padding-left: 62px; max-width: 330px; font-style: italic; }
.note__pil { position: absolute; left: 0; top: -12px; width: 52px; height: 32px; rotate: 190deg; }

.box { position: relative; margin-top: 22px; padding: 30px 18px 8px; border: 2.5px solid var(--ink-b); rotate: .6deg; }
.box__t { display: inline-block; padding: 7px 12px 4px; background: var(--ink-b); color: var(--paper); font: 400 24px/1 var(--display); text-transform: uppercase; rotate: -2deg; }
.box > .box__t { position: absolute; top: -19px; left: 12px; }
.staff { margin: 0; }
.staff > div { position: relative; padding: 10px 0 9px; border-bottom: 1.5px dashed var(--ink-b); }
.staff > div:last-child { border-bottom: 0; }
.staff dt { font-style: italic; }
.staff dd { margin: 0; font-weight: 700; font-size: 1.06em; }
.staff__dogs { padding-right: 118px !important; }
.poms { position: absolute; right: -4px; top: 50%; width: 112px; height: 62px; margin-top: -33px; }
.poms svg { position: absolute; top: 0; left: 0; width: 62px; height: 62px; stroke-width: 2.6; }
.poms .poms__2 { left: 50px; scale: -1 1; }
.poms__blob { position: absolute; z-index: 1; left: 10px; right: 6px; top: 10px; bottom: 0; border-radius: 50%; background: var(--ink-a); }

.tags { display: flex; flex-wrap: wrap; gap: 10px 12px; margin: 30px 0 30px; padding: 0; list-style: none; }
.chip { position: relative; padding: 8px 12px 5px; border: 2px solid var(--ink-b); background: var(--paper); font: 400 clamp(19px, 5.4cqi, 24px)/1.02 var(--display); text-transform: uppercase; color: var(--ink-b); rotate: -1.5deg; }
.chip--2 { rotate: 1deg; }
.chip--3 { rotate: -.6deg; }
.chip__ink { position: absolute; inset: -2px; background: var(--ink-a); --ox: 3px; --oy: 3px; }

.lys { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start; }
.lys p { margin: 0; }
.lys__fig { position: relative; width: 100px; height: 72px; margin-top: 4px; }
.lys__natt, .lys__sol { position: absolute; top: 0; width: 62px; height: 62px; border-radius: 50%; }
.lys__natt { right: 0; background: var(--ink-b); }
.lys__sol { left: 0; background: var(--ink-a); z-index: 1; }
.lys__t { margin: 0 0 6px; font: 400 26px/1 var(--display); text-transform: uppercase; color: var(--ink-b); }
@media (max-width: 420px) { .lys__fig { width: 78px; } .lys__natt, .lys__sol { width: 50px; height: 50px; } }

/* ---------- the work ---------- */
.proj { position: relative; margin: 0 0 14px; }
.proj h3 { margin: 30px 0 6px; font: 400 clamp(40px, 11cqi, 66px)/.9 var(--display); text-transform: uppercase; color: var(--ink-b); }
.proj p { max-width: 56ch; margin-bottom: 12px; }
.proj__role { font-weight: 700; }
.links { display: flex; flex-wrap: wrap; gap: 0 26px; margin: 2px 0 0; }
.links a { display: inline-block; padding: 11px 0 9px; }
.links a, .more a, .back__mail a, .back__tel a { background-position: 0 calc(100% - 7px); }
.links a:hover, .more a:hover, .back__mail a:hover, .back__tel a:hover { background-position: 0 50%; background-size: 100% 1.3em; }

.shot { position: relative; z-index: 21; margin: 6px 0 0; rotate: -1.2deg; }
.shot__btn { display: block; position: relative; width: 100%; margin: 0; padding: 0; border: 0; background: var(--paper); color: inherit; font: inherit; cursor: pointer; box-shadow: 2px 3px 0 var(--ink-b); -webkit-tap-highlight-color: transparent; }
.shot__btn img { display: block; width: 100%; height: auto; }
.shot__print { position: absolute; inset: 0; background: var(--paper); transition: opacity .16s; }
.shot__btn[aria-pressed="true"] .shot__print { opacity: 0; }
.shot__flag { position: absolute; right: 12px; bottom: -14px; z-index: 3; padding: 7px 10px 5px; background: var(--paper); border: 2px solid var(--ink-b); color: var(--ink-ab); font: 700 14px/1 var(--text); rotate: 2deg; }
@media (hover: hover) {
  .shot__btn:hover:not(.no-peek) .shot__print { opacity: 0; }
}
.proj--bevapp .shot { rotate: 1deg; }
.proj--solacium .shot { rotate: .8deg; }
.proj--tol .shot { rotate: -1.5deg; }
.proj--arctic .shot { rotate: 1.4deg; }
.proj--tol h3 { font-size: clamp(36px, 9.6cqi, 58px); }

.facts { list-style: none; margin: 0 0 6px; padding: 0; }
.facts li { position: relative; padding: 0 0 4px 24px; }
.facts li::before { content: '*'; position: absolute; left: 2px; top: 1px; font-weight: 700; font-size: 1.3em; line-height: 1.25; color: var(--ink-b); }

.lass { position: relative; margin: 44px 0 0; padding: 18px 0 2px; border-top: 2.5px solid var(--ink-b); border-bottom: 2.5px dashed var(--ink-b); rotate: .4deg; }
.lass__t { margin: 0 0 8px; font: 400 clamp(36px, 9.6cqi, 56px)/.9 var(--display); text-transform: uppercase; color: var(--ink-b); }
.lass__list { list-style: none; margin: 0 0 12px; padding: 0; clear: both; }
.lass__list li { display: flex; align-items: baseline; gap: 14px; padding: 7px 0 1px; border-bottom: 2px dotted var(--ink-b); }
.lass__list b { flex: none; min-width: 3.1em; text-align: right; font: 400 34px/1 var(--display); color: var(--ink-b); }

.stamp { position: absolute; right: -6px; top: -30px; z-index: 22; display: grid; place-items: center; width: 108px; aspect-ratio: 1; margin: 0; border: 2.5px solid var(--ink-b); border-radius: 50%; background: var(--paper); font: 400 22px/.95 var(--display); text-transform: uppercase; text-align: center; color: var(--ink-b); rotate: 12deg; }
.stamp__ink { position: absolute; inset: -2px; border-radius: 50%; background: var(--ink-a); --ox: 4px; --oy: 3px; }
.proj--solacium { margin-top: 56px; padding-top: 18px; }

.more { position: relative; max-width: 460px; margin: 40px 0 0; padding: 14px 92px 6px 16px; border: 2.5px dashed var(--ink-b); rotate: -1deg; }
.more span { display: block; }
.more a { display: inline-block; padding: 9px 0; }
.more__pil { position: absolute; right: 18px; top: 50%; width: 58px; height: 34px; margin-top: -20px; scale: -1 1; }

/* ---------- manifest and price list ---------- */
.manifest { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 26px; }
.manifest li { display: grid; grid-template-columns: clamp(52px, 16cqi, 100px) 1fr; gap: 0 14px; align-items: start; }
.manifest li:nth-child(2) { margin-left: 5%; }
.manifest li:nth-child(3) { margin-left: 2%; }
.num { position: relative; font: 400 clamp(92px, 27cqi, 170px)/.76 var(--display); color: var(--ink-b); text-align: center; }
.num > span:first-child { display: block; }
.manifest h3 { margin: 2px 0 8px; font: 400 clamp(25px, 6.6cqi, 40px)/.98 var(--display); text-transform: uppercase; color: var(--ink-b); }
.manifest p { margin: 0; max-width: 44ch; }

.prices { list-style: none; margin: 0; padding: 0; border-top: 2.5px solid var(--ink-b); }
.prices li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; padding: 10px 0; border-bottom: 2px dotted var(--ink-b); }
.prices__n { font-weight: 700; font-size: 1.1em; line-height: 1.3; }
.prices__n small { display: block; font-size: 16px; font-weight: 400; }
.tag { position: relative; flex: none; padding: 10px 13px 6px 27px; font: 400 clamp(21px, 5.3cqi, 29px)/1 var(--display); text-transform: uppercase; white-space: nowrap; color: var(--ink-b); rotate: -2.5deg; }
.tag--2 { rotate: 2deg; }
.tag__ink { position: absolute; inset: 0; z-index: 1; background: var(--ink-a); clip-path: polygon(15px 0, 100% 0, 100% 100%, 15px 100%, 0 50%); }
.tag::before { content: ''; position: absolute; z-index: 2; left: 12px; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--paper); }
.prices__note { margin: 14px 0 0; font-style: italic; }
.incl { margin: 30px 0 6px; }
.incl__t { margin: 0 0 8px; font: 400 28px/1 var(--display); text-transform: uppercase; color: var(--ink-b); }
.incl ul { list-style: none; margin: 0; padding: 0; }
.incl li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 5px 0; }
.incl li svg { width: 22px; height: 22px; margin-top: 2px; stroke-width: 3; }

/* ---------- coupon and reading ---------- */
.coupon { position: relative; margin: 26px 2px 0; padding: 30px 18px 20px; border: 3px dashed var(--ink-b); background: var(--paper); rotate: -1.2deg; }
.coupon__saks { position: absolute; top: -16px; left: 22px; width: 48px; height: 28px; padding: 0 6px; box-sizing: content-box; background: var(--paper); }
.coupon__k { margin: 0 0 8px; font-weight: 700; }
.head--coupon { font-size: clamp(38px, 13.2cqi, 84px); margin-bottom: .3em; }
.coupon__verdi { position: absolute; right: 12px; top: 14px; display: grid; place-items: center; width: 84px; aspect-ratio: 1; margin: 0; border: 2px dashed var(--ink-b); border-radius: 50%; font: 400 25px/1 var(--display); text-transform: uppercase; color: var(--ink-b); rotate: 14deg; }
.coupon__ink { position: absolute; inset: 5px; border-radius: 50%; background: var(--ink-a); }
.coupon__sm { margin: 16px 0 0; font-style: italic; }
.btn { position: relative; display: inline-block; margin: 6px 0 0; padding: 17px 22px 12px; background: var(--ink-b); color: var(--paper); font: 400 clamp(24px, 6.6cqi, 36px)/1 var(--display); text-transform: uppercase; text-decoration: none; rotate: -1.5deg; }
.btn:hover { background: var(--ink-b); rotate: 0deg; }
.btn__ink { position: absolute; inset: 0; background: var(--ink-a); --ox: 4px; --oy: 4px; }
@media (min-width: 900px) { .coupon { margin-top: 30px; padding: 40px 30px 28px; } .coupon__verdi { width: 104px; font-size: 31px; right: 22px; top: 22px; } }

.head--les { font-size: clamp(40px, 14.2cqi, 92px); }
.reads { list-style: none; margin: 6px 0 4px; padding: 0; border-top: 2.5px solid var(--ink-b); }
.reads li { position: relative; padding: 13px 0 11px 30px; border-bottom: 2px dotted var(--ink-b); font-weight: 700; font-size: 1.1em; line-height: 1.35; }
.reads li::before { content: '*'; position: absolute; left: 4px; top: 12px; font-size: 1.5em; line-height: 1.1; color: var(--ink-b); }

/* ---------- back cover ---------- */
.back { position: relative; container-type: inline-size; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; padding: 30px 0 150px; }
.head--back { font-size: 15.4cqi; }
.back__lead { font-size: 1.1em; max-width: 30em; }
.back__mail { margin: 0; }
.back__mail a { display: inline-block; padding: 10px 0 8px; font-size: clamp(18px, 5.9cqi, 34px); }
.back__tel { margin: 0 0 18px; font-size: 1.1em; }
.back__tel a { display: inline-block; padding: 10px 0 8px; }
.back__terms { max-width: 30em; margin: 0; }
.back__side { position: relative; display: flow-root; }
.signoff { position: relative; float: right; display: flex; align-items: center; justify-content: center; width: 138px; aspect-ratio: 1; margin: -6px -6px 8px 16px; rotate: 6deg; shape-outside: circle(50%); }
.signoff svg { position: relative; width: 46%; height: auto; aspect-ratio: 1; margin: 6% -3% 0; stroke-width: 2.6; }
.signoff .signoff__2 { scale: -1 1; }
.sun--back { position: absolute; inset: 0; z-index: 1; }
.colophon p { max-width: 34em; }
.colophon .box__t { margin: 0 0 14px; }
.wordmark { font-size: 1.3em; }
.wordmark__dot { display: inline-block; width: .44em; height: .44em; margin-left: .2em; border-radius: 50%; background: var(--ink-a); --ox: 0px; --oy: 0px; }
.barcode { display: inline-flex; flex-direction: column; gap: 4px; margin: 4px 0 12px; }
.barcode svg { display: block; width: 200px; height: 46px; fill: var(--ink-b); }
.colophon__sm { margin: 0; }
.folio--back { bottom: 96px; }
@media (min-width: 900px) {
  .back { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 64px; padding: 44px 6px 130px; }
  .head--back { font-size: 8.9cqi; }
  .back__mail a { font-size: 34px; }
  .signoff { width: 200px; margin: -20px -10px 10px 22px; }
  .back__side { padding-top: 16px; }
  .folio--back { bottom: 30px; left: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .shot__print { transition: none; }
}
