/* ==========================================================================
   Custom Theme — main.css  ·  "Riso print shop"
   --------------------------------------------------------------------------
   A risograph job. One paper, a dark text ink and two spot inks — ink A
   (--mint, the bright one) and ink B (--amber, the second drum) — printed one
   over the other: where they overlap they mix (multiply on paper, screen on
   black paper), and the second impression sits a hair out of register.
   Pictures are printed as two-ink duotones in the scheme's own colours with a
   halftone screen, so every cover belongs to the scheme on screen. Crop
   marks, registration targets, colour bars, folios and rubber stamps are the
   furniture.

   Bricolage Grotesque for the figures, headlines and reading copy (its width
   and optical-size axes do the work of three faces), Instrument Serif italic
   for the editor's hand (decks, margin notes, quotes), DM Mono for the press
   room (issue numbers, folios, labels).

   Motion: overprinted figures slide into register as they scroll into view,
   the halftone screen settles on hover, numbers count in. All of it is off
   under reduced motion.

   Contents
     1. Tokens              8. Cards
     2. Base                9. Single post
     3. Primitives         10. Sidebar & issue card
     4. Buttons & tags     11. Archive, page, 404, thanks
     5. Press line/header  12. Newsletter band
     6. Footer             13. Layout voices
     7. Bands              14. Reveal & reduced motion
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
	/* Base colours — Fluoro. Overridden per scheme by inc/color-schemes.php. */
	--bg: #F6F1E7;
	--bg-2: #EFE7D8;
	--surface: #FBF8F1;
	--surface-2: #E4DACA;
	--tint: #0078BF;
	--panel: #FFE0F0;
	--field: rgba(251, 248, 241, 0.94);
	--scrim: #1B1F3B;
	--danger: #B3261E;
	--ink: #1B1F3B;
	--ink-2: #33375A;
	--muted: #5B5D72;
	--mint: #FF48B0;        /* ink A, as a FILL */
	--mint-2: #B8106E;      /* ink A as TEXT on the paper */
	--mint-ink: #1B1F3B;    /* text set on ink A */
	--mint-on-ink: #FF7CC6; /* ink A as text on a dark block */
	--amber: #0078BF;       /* ink B, the second drum */
	--amber-2: #00609A;     /* ink B as TEXT on the paper */
	--shadow-ink: var(--ink);
	--blend: multiply;

	/* Resolved copies, for the inverted blocks (see .invert). */
	--bg-c: var(--bg);
	--ink-c: var(--ink);
	--mint-2-c: var(--mint-2);
	--amber-2-c: var(--amber-2);

	/* Derived. */
	--accent: var(--mint);
	--line: color-mix(in srgb, var(--ink) 14%, transparent);
	--line-2: color-mix(in srgb, var(--ink) 30%, transparent);
	--off: color-mix(in srgb, var(--ink) 12%, var(--bg));
	--mix: color-mix(in srgb, var(--mint) 50%, var(--amber));
	--duo-dark: var(--amber);
	--duo-light: var(--bg);
	--dots: radial-gradient(circle at center, currentColor 0 32%, transparent 34%);

	/* Type. */
	--font-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
	--font-body: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;
	--font-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

	/* Space & shape. */
	--wrap: 1300px;
	--gutter: clamp(16px, 3.4vw, 36px);
	--bw: 2px;
	--frame: var(--bw) solid var(--ink);
	--radius: 6px;
	--mis: .045em;          /* how far the second impression sits off */
	--ease: cubic-bezier(.2, .7, .2, 1);
	--header-h: 70px;
	--logo-h: 40px;
}

/* An inverted block: the text ink becomes the ground, the paper the ink. */
.invert {
	--bg: var(--ink-c);
	--bg-2: var(--ink-c);
	--surface: color-mix(in srgb, var(--ink-c) 88%, var(--bg-c));
	--surface-2: color-mix(in srgb, var(--ink-c) 76%, var(--bg-c));
	--ink: var(--bg-c);
	--ink-2: color-mix(in srgb, var(--bg-c) 86%, var(--ink-c));
	--muted: color-mix(in srgb, var(--bg-c) 72%, var(--ink-c));
	--mint-2: var(--mint-on-ink);
	--amber-2: color-mix(in srgb, var(--amber) 55%, var(--bg-c));
	--line: color-mix(in srgb, var(--bg-c) 20%, transparent);
	--line-2: color-mix(in srgb, var(--bg-c) 34%, transparent);
	--off: color-mix(in srgb, var(--bg-c) 20%, var(--ink-c));
	--field: var(--surface);
	--frame: var(--bw) solid var(--bg-c);
	--blend: screen;
	background: var(--bg);
	color: var(--ink);
}

/* Black paper: inks are printed with screen, pictures go paper-to-ink. */
.scheme-is-dark { color-scheme: dark; --blend: screen; --duo-dark: var(--bg); --duo-light: var(--amber); }
.scheme-is-dark .invert { --blend: screen; }

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16.5px;
	font-optical-sizing: auto;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	font-variant-numeric: lining-nums;
}

/* Paper: a faint fibre noise over everything, printed once and fixed. */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 400;
	pointer-events: none;
	opacity: .32;
	mix-blend-mode: multiply;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .5 0 0 0 0 .42 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.scheme-is-dark body::before, body.scheme-is-dark::before { mix-blend-mode: screen; opacity: .16; }

body.nav-open, body.st-modal-open { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.02; text-wrap: balance; }
p { margin: 0; }
sup { font-size: .62em; line-height: 0; }

.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 500;
	padding: 10px 16px; background: var(--ink); color: var(--bg);
	font-weight: 700; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.site-main { display: block; }

/* The display voice: heavy, a touch condensed, ink traps showing. */
.display { font-family: var(--font-display); font-weight: 800; font-stretch: 82%; letter-spacing: -.025em; line-height: .9; }
.serif { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: 0; }

/* 3. Primitives -------------------------------------------------------------- */

.label { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }

/* The overprint: the figure in ink B, a second impression of it in ink A
   (from data-text), out of register, mixing where they overlap. main.js adds
   .is-in to pull it into register; .is-off knocks it out while the press
   line swaps figures. */
.riso {
	position: relative;
	display: inline-block;
	isolation: isolate;
	color: var(--amber-2);
	font-family: var(--font-display);
	font-weight: 800;
	font-stretch: 82%;
	line-height: .92;
	letter-spacing: -.02em;
	font-variant-numeric: lining-nums;
	white-space: nowrap;
}
.riso::after {
	content: attr(data-text);
	position: absolute;
	inset: 0;
	color: var(--mint);
	mix-blend-mode: var(--blend);
	transform: translate(calc(var(--mis) * 2.4), calc(var(--mis) * 1.6));
	transition: transform .9s var(--ease), opacity .25s linear;
	pointer-events: none;
	white-space: inherit;
}
.riso.is-in::after { transform: translate(var(--mis), calc(var(--mis) * .7)); }
.riso.is-off::after { transform: translate(calc(var(--mis) * 5), calc(var(--mis) * -2)); opacity: 0; }
.riso--sm { font-size: 15px; --mis: .07em; }
.riso--lg { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.no-js .riso::after { transform: translate(var(--mis), calc(var(--mis) * .7)); }

/* The count-up figures carry the same second impression. */
.countup { font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.countup.riso { white-space: nowrap; }

/* Order of magnitude: a halftone ramp, one dot a step bigger per power of ten. */
.mag { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.mag__blocks { display: flex; align-items: center; gap: 3px; }
.mag__blocks i { width: calc(5px + var(--i) * 1.1px); height: calc(5px + var(--i) * 1.1px); border-radius: 50%; background: var(--amber); transform: scale(1); }
.mag__blocks i:nth-child(3n) { background: var(--mint); }
.js .mag[data-inview] i { transform: scale(0); transition: transform .35s var(--ease) calc(var(--i) * 55ms); }
.js .mag.is-in i { transform: scale(1); }
.mag--on-accent { color: var(--mint-ink); }
.mag--on-accent .mag__blocks i { background: var(--mint-ink); }

/* Registration target. */
.regmark {
	display: inline-block;
	flex: none;
	width: 14px; height: 14px;
	border-radius: 50%;
	border: 1.5px solid currentColor;
	background:
		linear-gradient(currentColor, currentColor) center / 1.5px 100% no-repeat,
		linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat;
	vertical-align: -2px;
	margin-right: 10px;
	box-shadow: 1.5px 1px 0 -0px color-mix(in srgb, var(--mint) 70%, transparent);
}

/* Colour bar: a strip of the job's inks, as along the edge of a press sheet. */
.colorbar { display: inline-flex; gap: 0; margin-left: 12px; vertical-align: -1px; }
.colorbar i { width: 11px; height: 11px; }
.colorbar i:nth-child(1) { background: var(--mint); }
.colorbar i:nth-child(2) { background: var(--amber); }
.colorbar i:nth-child(3) { background: var(--mix); }
.colorbar i:nth-child(4) { background: var(--ink); outline: 1px solid color-mix(in srgb, var(--bg) 40%, transparent); outline-offset: -1px; }

/* Crop marks: hairline Ls just outside a box's corners. */
.crop { position: relative; }
.crop::before, .join__crop {
	content: "";
	position: absolute;
	inset: -16px;
	pointer-events: none;
	--c: var(--ink);
	background:
		linear-gradient(var(--c), var(--c)) 0 10px / 10px 1px no-repeat,
		linear-gradient(var(--c), var(--c)) 10px 0 / 1px 10px no-repeat,
		linear-gradient(var(--c), var(--c)) 100% 10px / 10px 1px no-repeat,
		linear-gradient(var(--c), var(--c)) calc(100% - 10px) 0 / 1px 10px no-repeat,
		linear-gradient(var(--c), var(--c)) 0 calc(100% - 10px) / 10px 1px no-repeat,
		linear-gradient(var(--c), var(--c)) 10px 100% / 1px 10px no-repeat,
		linear-gradient(var(--c), var(--c)) 100% calc(100% - 10px) / 10px 1px no-repeat,
		linear-gradient(var(--c), var(--c)) calc(100% - 10px) 100% / 1px 10px no-repeat;
}
.join__crop i { display: none; }

/* Halftone panel: a screen of ink-A dots fading across a pale wash. */
.halftone {
	position: relative;
	background: var(--panel);
	isolation: isolate;
}
.halftone::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	color: var(--mint);
	background-image: var(--dots);
	background-size: 9px 9px;
	-webkit-mask-image: linear-gradient(115deg, #000 0%, transparent 70%);
	mask-image: linear-gradient(115deg, #000 0%, transparent 70%);
	opacity: .55;
}

/* Duotone picture: grey picture, the shadows printed in --duo-dark, the
   highlights left as --duo-light, then an ink-A halftone a little out of
   register that settles on hover. */
.duo { position: relative; display: block; overflow: hidden; background: var(--duo-light); isolation: isolate; }
.duo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.12) brightness(1.04); }
.duo::before, .duo::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.duo::before { background: var(--duo-dark); mix-blend-mode: lighten; z-index: 1; }
.duo::after { background: var(--duo-light); mix-blend-mode: darken; z-index: 2; }
.duo__screen { position: absolute; inset: -6px; z-index: 3; pointer-events: none; color: var(--mint); background-image: var(--dots); background-size: 7px 7px; mix-blend-mode: var(--blend); opacity: .5; transform: translate(4px, 3px); transition: transform .6s var(--ease), opacity .6s var(--ease); -webkit-mask-image: radial-gradient(120% 90% at 85% 10%, #000 0 30%, transparent 75%); mask-image: radial-gradient(120% 90% at 85% 10%, #000 0 30%, transparent 75%); }
a:hover .duo__screen, .card:hover .duo__screen { transform: none; opacity: .62; }

/* A topic mark: the pictogram on a disc of the topic's colour, printed
   slightly out of register over the ink circle. */
.topicmark {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 40px; height: 40px;
	border-radius: 50%;
	background: var(--tag, var(--mark-tint, var(--mint)));
	color: var(--ink-c, var(--ink));
	flex: none;
	isolation: isolate;
}
.topicmark::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--ink); transform: translate(3px, 2px); }
.topicmark svg { width: 21px; height: 21px; color: #111; }
.scheme-is-dark .topicmark svg { color: #111; }

/* Rubber stamp. */
.stamp {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	padding: 5px 10px 4px;
	border: 2px solid currentColor;
	border-radius: 4px;
	box-shadow: inset 0 0 0 2px var(--bg), inset 0 0 0 3.5px currentColor;
	color: var(--mint-2);
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	transform: rotate(-3deg);
}

/* Reading progress on single posts: a strip of ink A over ink B. */
.read-progress { position: fixed; inset: 0 0 auto; z-index: 120; height: 5px; pointer-events: none; }
.read-progress__fill { width: 0; height: 100%; background: var(--mint); box-shadow: 0 3px 0 color-mix(in srgb, var(--amber) 80%, transparent); }

/* 4. Buttons & tags ---------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .5em;
	min-height: 50px;
	padding: .7rem 1.5rem;
	border: var(--frame);
	border-radius: 999px;
	background: var(--surface);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: -.005em;
	cursor: pointer;
	box-shadow: 4px 4px 0 var(--amber);
	transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--amber); }
.btn:active { transform: translate(4px, 4px); box-shadow: none; }
.btn--accent, .btn--mint { background: var(--mint); color: var(--mint-ink); }
.btn--ink { background: var(--ink); color: var(--bg); }
.btn--ghost { background: transparent; box-shadow: none; }
.btn--ghost:hover { box-shadow: 2px 2px 0 var(--mint); }
.btn--sm { min-height: 42px; padding: .45rem 1.1rem; font-size: .92rem; }

/* Topic tag: the topic's ink dot, then its name in mono capitals. */
.topic-tag, .chip {
	display: inline-flex;
	align-items: center;
	gap: .55em;
	font-family: var(--font-mono);
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ink-2);
}
.topic-tag::before, .chip::before { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--tag, var(--chip-bg, var(--mint))); box-shadow: 2px 1.5px 0 color-mix(in srgb, var(--ink) 55%, transparent); flex: none; }
.topic-tag:hover, .chip:hover { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--mint); }

.readout {
	display: inline-flex;
	align-items: center;
	gap: .7em;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: .04em;
	color: var(--muted);
	text-transform: uppercase;
	flex-wrap: wrap;
	row-gap: 4px;
}
.readout > * { white-space: nowrap; }
.readout__sep { width: 5px; height: 5px; border-radius: 50%; background: var(--mint); }

/* 5. Press line & header ------------------------------------------------------ */
.boardline { background: var(--ink); color: var(--bg); font-family: var(--font-mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; --blend: screen; --amber-2: color-mix(in srgb, var(--amber) 45%, var(--bg-c)); }
.scheme-is-dark .boardline { background: var(--surface); color: var(--ink); border-bottom: 1px solid var(--line); --amber-2: var(--amber); }
.boardline__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: 40px; }
.boardline__date { display: inline-flex; align-items: center; }
.boardline__count { justify-self: end; display: inline-flex; align-items: center; }
.boardline__now { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.boardline__label { color: inherit; }
.boardline__flap { color: var(--amber-2); }
.boardline__what { max-width: 30ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.boardline__now:hover .boardline__what { text-decoration: underline; text-decoration-color: var(--mint); }

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--bg);
	border-bottom: var(--frame);
}
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 4px; background: var(--mint); opacity: 0; transition: opacity .3s; pointer-events: none; }
.site-header--scrolled::after { opacity: 1; }

.masthead { display: flex; align-items: center; gap: 18px; min-height: var(--header-h); }
.masthead__brand { flex: none; display: flex; align-items: center; padding-right: 8px; }
.custom-logo-link { display: block; }
.custom-logo { width: auto; height: var(--logo-h); max-height: var(--logo-h); }
.site-logo { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; font-stretch: 85%; letter-spacing: -.03em; }
.site-logo::after { content: ""; display: inline-block; width: .3em; height: .3em; margin-left: .08em; border-radius: 50%; background: var(--mint); }

.nav-primary { flex: 1; display: flex; justify-content: flex-end; min-width: 0; }
.nav-head, .nav-cta { display: none; }
.nav-menu { display: flex; }
.nav-list { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-list li { display: flex; }
.nav-list a {
	display: flex;
	align-items: center;
	padding: 8px 11px;
	border-radius: 999px;
	font-family: var(--font-mono);
	font-size: 11.5px;
	font-weight: 500;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--ink);
	background: linear-gradient(var(--mint), var(--mint)) center / 0 100% no-repeat;
	transition: background-size .25s var(--ease);
}
.nav-list a:hover, .nav-list .current-menu-item > a, .nav-list .current-cat > a { background-size: 100% 100%; color: var(--mint-ink); }
.nav-list .current-menu-item > a, .nav-list .current-cat > a { background-color: var(--mint); }

.masthead__util { display: flex; align-items: center; gap: 12px; }
.masthead__cta {
	display: flex;
	align-items: center;
	min-height: 42px;
	padding: 0 18px;
	border: var(--frame);
	border-radius: 999px;
	background: var(--mint);
	color: var(--mint-ink);
	font-weight: 700;
	font-size: .95rem;
	box-shadow: 3px 3px 0 var(--amber);
	transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.masthead__cta:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--amber); }

.menu-pill {
	display: none;
	place-items: center;
	width: 46px; height: 46px;
	border: var(--frame);
	border-radius: 50%;
	background: var(--surface);
	cursor: pointer;
}
.menu-pill__bars { display: grid; gap: 4px; width: 18px; }
.menu-pill__bars span { height: 2.5px; border-radius: 2px; background: var(--ink); transition: transform .25s var(--ease), opacity .2s; }
.menu-pill[aria-expanded="true"] .menu-pill__bars span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-pill[aria-expanded="true"] .menu-pill__bars span:nth-child(2) { opacity: 0; }
.menu-pill[aria-expanded="true"] .menu-pill__bars span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-scrim { position: fixed; inset: 0; z-index: 140; background: color-mix(in srgb, var(--scrim) 55%, transparent); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.nav-scrim.is-open { opacity: 1; visibility: visible; }

@media (max-width: 1200px) {
	.menu-pill { display: grid; }
	body.nav-open .site-header { z-index: 160; }
	.nav-primary {
		position: fixed;
		inset: 0 0 0 auto;
		z-index: 150;
		width: min(400px, 90vw);
		display: block;
		padding: 20px 24px 32px;
		background: var(--bg);
		border-left: var(--frame);
		overflow-y: auto;
		transform: translateX(102%);
		visibility: hidden;
		transition: transform .38s var(--ease), visibility .38s;
	}
	.nav-primary.is-open { transform: none; visibility: visible; }
	/* The panel leaves the masthead's flow: push the burger to the right and
	   stack the panel's parts (the desktop .nav-menu is a row). */
	.masthead__util { margin-left: auto; }
	.nav-menu { display: block; }
	/* Logged in: start the panel under the WordPress admin bar. */
	body.admin-bar .nav-primary { top: var(--wp-admin--admin-bar--height, 0px); }
	.nav-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 2px dashed var(--line-2); }
	.nav-head__title { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
	.nav-close { display: grid; place-items: center; width: 44px; height: 44px; border: var(--frame); border-radius: 50%; background: var(--surface); cursor: pointer; }
	.nav-close svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 2.4; }
	.nav-list { display: block; counter-reset: nav; }
	.nav-list li { display: block; counter-increment: nav; border-bottom: 2px dashed var(--line-2); }
	.nav-list a { display: flex; gap: 14px; align-items: baseline; padding: 14px 4px; border-radius: 0; font-family: var(--font-display); font-size: 1.75rem; font-weight: 800; font-stretch: 85%; letter-spacing: -.02em; text-transform: none; }
	.nav-list a::before { content: counter(nav, decimal-leading-zero); font-family: var(--font-mono); font-size: 11px; font-weight: 500; color: var(--mint-2); }
	.nav-list a:hover::before, .nav-list .current-menu-item > a::before { color: var(--mint-ink); }
	.nav-cta { display: block; margin-top: 28px; padding: 20px; border: var(--frame); border-radius: var(--radius); background: var(--surface); box-shadow: 5px 5px 0 var(--mint); }
	.nav-cta__text { margin-bottom: 14px; font-family: var(--font-serif); font-style: italic; font-size: 1.45rem; line-height: 1.15; }
	.nav-subscribe { width: 100%; }
}
@media (max-width: 700px) {
	.boardline__inner { grid-template-columns: 1fr; justify-items: center; min-height: 40px; }
	.boardline__date, .boardline__count, .boardline__what { display: none; }
}
@media (max-width: 560px) {
	:root { --header-h: 62px; }
	.masthead__cta { display: none; }
	.custom-logo { height: min(var(--logo-h), 46px); }
	.masthead__brand { padding-right: 0; }
}

/* 6. Footer ------------------------------------------------------------------ */
.site-footer { position: relative; padding: clamp(56px, 7vw, 88px) 0 30px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px clamp(24px, 3vw, 44px); }
.footer-brand .custom-logo-link { max-width: 15rem; }
.footer-brand .custom-logo { width: 100%; height: auto; max-height: none; }
.footer-brand__text { max-width: 38ch; margin: 18px 0 22px; font-size: 1rem; line-height: 1.55; color: var(--ink-2); }
.footer-col__heading { margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px dashed var(--line-2); font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.footer-links { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.footer-links a { font-weight: 600; font-size: 1rem; color: var(--ink); }
.footer-links a:hover { color: var(--mint-2); }
.footer-contact { margin-bottom: 12px; font-size: .95rem; color: var(--ink-2); }
.footer-contact__mail { font-family: var(--font-mono); font-size: .82rem; color: var(--mint-2); border-bottom: 2px solid currentColor; word-break: break-all; }
.site-footer > .container { container-type: inline-size; }
.footer__colophon { display: flex; align-items: center; gap: 14px; margin-top: clamp(36px, 5vw, 56px); font-family: var(--font-serif); font-style: italic; font-size: 1.15rem; color: var(--ink-2); }
.footer__inks { display: inline-flex; }
.footer__ink { width: 26px; height: 26px; border-radius: 50%; }
.footer__ink--a { background: var(--mint); }
.footer__ink--b { margin-left: -9px; background: var(--amber); mix-blend-mode: var(--blend); }
.footer__giant { position: relative; isolation: isolate; margin: 18px 0 clamp(24px, 3vw, 40px); font-family: var(--font-display); font-weight: 800; font-stretch: 80%; font-size: min(12rem, calc(100cqi / (var(--len, 18) * .5))); line-height: .86; letter-spacing: -.035em; color: var(--mint-2); white-space: nowrap; }
.footer__giant::after { content: attr(data-text); position: absolute; inset: 0; color: var(--amber); mix-blend-mode: var(--blend); transform: translate(.025em, .02em); pointer-events: none; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; padding-top: 20px; border-top: 2px dashed var(--line-2); font-family: var(--font-mono); font-size: 11px; letter-spacing: .03em; color: var(--muted); }
.footer-base a { color: inherit; }
@media (max-width: 1080px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* 7. Section bands (shared) ----------------------------------------------- */
.band { padding: clamp(52px, 7vw, 96px) 0; }
.band--rule { border-top: 2px dashed var(--line-2); }
.band--tint { background: var(--bg-2); }
.band__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px 24px; margin-bottom: clamp(26px, 3.4vw, 42px); }
.band__kicker { grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--mint-2); }
.band__kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; }
.band__kicker:empty { display: none; }
.band__title { font-family: var(--font-display); font-size: clamp(2.3rem, 5.2vw, 4.4rem); font-weight: 800; font-stretch: 80%; line-height: .92; letter-spacing: -.035em; }
.band__title em, .band__title .serif { font-family: var(--font-serif); font-weight: 400; font-style: italic; letter-spacing: -.01em; }
.band__text { grid-column: 1; max-width: 64ch; color: var(--ink-2); font-size: 1.05rem; }
.band__link { grid-row: 2; grid-column: 2; align-self: end; display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border: var(--frame); border-radius: 999px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; box-shadow: 3px 3px 0 var(--mint); transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.band__link::after { content: "→"; }
.band__link:hover { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--mint); }
@media (max-width: 700px) {
	.band__head { grid-template-columns: 1fr; }
	.band__link { grid-row: auto; grid-column: 1; justify-self: start; }
}

/* The number, explained: four notes on slips (homes). */
.explained__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; }
.explained__item { position: relative; padding: 22px 20px 24px; border-radius: var(--radius); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.explained__item:nth-child(even) { transform: rotate(.6deg); }
.explained__item:nth-child(odd) { transform: rotate(-.5deg); }
.explained__label { display: inline-block; margin-bottom: 12px; font-family: var(--font-serif); font-style: italic; font-size: 1.4rem; line-height: 1; color: var(--mint-2); }
.explained__text { font-size: .98rem; line-height: 1.5; color: var(--ink-2); }
@media (max-width: 960px) { .explained__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .explained__list { grid-template-columns: 1fr; } }

/* Topics as ink swatches (homes). */
.topicrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.topictile { position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 14px; height: 100%; min-height: 210px; padding: 0 0 14px; border-radius: var(--radius); background: var(--surface); box-shadow: 0 0 0 1px var(--line); overflow: hidden; transition: transform .2s var(--ease); }
.topictile::before { content: ""; height: 74px; background: var(--tag, var(--mint)); }
.topictile .topicmark { position: absolute; top: 50px; left: 14px; width: 48px; height: 48px; background: var(--surface); }
.topictile .topicmark svg { width: 24px; height: 24px; color: var(--ink); }
.topictile__name { padding: 22px 14px 0; font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; font-stretch: 85%; line-height: 1; letter-spacing: -.02em; }
.topictile__count { padding: 0 14px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.topictile:hover { transform: translateY(-4px) rotate(-.6deg); }

/* 8. Cards ------------------------------------------------------------------- */
.cardgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: clamp(26px, 3vw, 40px) clamp(20px, 2.4vw, 32px); }
.cardgrid > * { min-width: 0; }
.cardgrid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cardgrid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cardgrid--lead > :first-child { grid-column: span 2; }
@media (max-width: 1080px) { .cardgrid--three, .cardgrid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .cardgrid--three, .cardgrid--four { grid-template-columns: 1fr; } .cardgrid--lead > :first-child { grid-column: auto; } }

.card { position: relative; display: flex; flex-direction: column; height: 100%; }
.card__media { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); }
.card__media > .duo { height: 100%; border-radius: inherit; }
.card__img { width: 100%; height: 100%; object-fit: cover; }
.card__badge {
	position: absolute;
	left: 12px; bottom: -14px;
	z-index: 4;
	padding: 6px 12px 5px;
	border-radius: 999px;
	background: var(--mint);
	font-family: var(--font-display);
	font-weight: 800;
	font-stretch: 85%;
	font-size: 1.3rem;
	line-height: 1;
	letter-spacing: -.02em;
	color: var(--mint-ink);
	box-shadow: 3px 3px 0 var(--amber);
	transform: rotate(-3deg);
	transition: transform .25s var(--ease);
}
.card:hover .card__badge { transform: rotate(0); }
.card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 24px; flex: 1; }
.card__title { font-family: var(--font-display); font-stretch: 90%; font-size: clamp(1.3rem, 1.7vw, 1.55rem); font-weight: 750; line-height: 1.06; letter-spacing: -.02em; }
.card__title a { background: linear-gradient(color-mix(in srgb, var(--mint) 55%, transparent), color-mix(in srgb, var(--mint) 55%, transparent)) left 88% / 0 .38em no-repeat; transition: background-size .3s var(--ease); }
.card__title a:hover { background-size: 100% .38em; }
.card__text { font-size: .98rem; line-height: 1.5; color: var(--ink-2); }
.card .readout { margin-top: auto; padding-top: 6px; }

/* Feature: the lead of a section. */
.card--feature .card__media { aspect-ratio: 16 / 10; }
.card--feature .card__title { font-size: clamp(1.8rem, 3.1vw, 2.6rem); font-weight: 800; }
.card--feature .card__text { font-size: 1.06rem; }
.card__bignum { font-size: clamp(2.8rem, 5.4vw, 4.6rem); }
.card__bignum .countup { color: var(--amber-2); }
.card__bignumlabel { margin-top: -2px; font-family: var(--font-serif); font-style: italic; font-size: 1.25rem; color: var(--mint-2); }
.cardgrid--lead .card--feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0 32px; align-items: start; }
.cardgrid--lead .card--feature .card__body { padding-top: 0; }
@media (max-width: 900px) { .cardgrid--lead .card--feature { display: flex; } .cardgrid--lead .card--feature .card__body { padding-top: 24px; } }

/* Plate: a number printed on a halftone panel instead of a picture. */
.card__plate { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 10px; aspect-ratio: 4 / 3; padding: 20px 20px 18px; border-radius: var(--radius); color: var(--ink); container-type: inline-size; overflow: hidden; }
.card__figure { font-size: clamp(2.4rem, 17cqi, 5.4rem); overflow-wrap: anywhere; white-space: normal; }
.card__figlabel { font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; line-height: 1.1; color: var(--ink-2); }
.card--ink .card__plate { background: var(--ink); color: var(--bg); --panel: var(--ink); --amber-2: color-mix(in srgb, var(--amber) 45%, var(--bg-c)); --ink-2: var(--bg); --blend: screen; }
.scheme-is-dark .card--ink .card__plate { background: var(--mint); color: var(--mint-ink); --panel: var(--mint); --ink-2: var(--mint-ink); --amber-2: var(--mint-ink); --blend: multiply; }
.scheme-is-dark .card--ink .riso::after { color: var(--amber); }
.cardgrid--lead > :first-child .card__plate { aspect-ratio: 2 / 1; }

/* Row: small square picture beside the headline. */
.card--row { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; height: auto; }
.card--row .card__media { aspect-ratio: 1; }
.card--row .card__body { padding-top: 0; gap: 8px; }
.card--row .card__title { font-size: 1.15rem; }
@media (max-width: 480px) { .card--row { grid-template-columns: 88px minmax(0, 1fr); } }

/* Line: a numbered headline row, like a contents page. */
.card--line { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; height: auto; padding: 18px 0; border-top: 2px dashed var(--line-2); }
.card__index { font-family: var(--font-serif); font-style: italic; font-size: 2.6rem; line-height: .9; color: var(--mint-2); }
.card--line .card__body { padding-top: 0; gap: 8px; }
.card__linenum { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .02em; padding: 3px 9px 2px; border-radius: 999px; background: var(--panel); color: var(--ink); }
.card--line .card__title { font-size: 1.3rem; }

/* 9. Single post ------------------------------------------------------------ */
.post-head { padding: clamp(36px, 5vw, 64px) 0 0; }
.post-head__grid { display: grid; gap: clamp(24px, 4vw, 56px); align-items: stretch; }
.post-head__grid--num { grid-template-columns: minmax(0, 1fr) minmax(280px, 420px); }
.post-head__copy { padding: 6px 0 0; }
.post-head__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-bottom: 24px; }
.post-head__day { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mint-2); border: 2px solid currentColor; border-radius: 4px; padding: 3px 8px 2px; transform: rotate(-2deg); }
.post-head__title { max-width: 20ch; font-family: var(--font-display); font-size: clamp(2.5rem, 5.8vw, 5rem); font-weight: 800; font-stretch: 82%; line-height: .94; letter-spacing: -.035em; }
.post-head__standfirst { max-width: 50ch; margin-top: 22px; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.28; color: var(--ink-2); }
.post-head__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; padding-top: 16px; border-top: 2px dashed var(--line-2); }
.post-head__updated { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--mint-2); }
.post-head__figure { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: clamp(22px, 3vw, 34px); border-radius: var(--radius); container-type: inline-size; }
.post-head__figure { background: var(--panel); }
.post-head__figure::before { content: ""; position: absolute; inset: 0; border-radius: inherit; color: var(--mint); background-image: var(--dots); background-size: 9px 9px; opacity: .5; -webkit-mask-image: linear-gradient(200deg, #000, transparent 65%); mask-image: linear-gradient(200deg, #000, transparent 65%); pointer-events: none; }
.post-head__figkicker { position: relative; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.post-head__value { font-size: min(4.6rem, calc(100cqi / (var(--len) * .62))); }
.post-head__figlabel { position: relative; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.05; color: var(--ink); }
.post-head__figure .mag { position: relative; color: var(--ink-2); }
.post-head__figure .mag--on-accent .mag__blocks i { background: var(--amber); }
.post-head__figure .mag--on-accent .mag__blocks i:nth-child(3n) { background: var(--mint); }
@media (max-width: 900px) { .post-head__grid--num { grid-template-columns: 1fr; } }

.post-hero { margin: clamp(28px, 3.4vw, 44px) 0 0; border-radius: var(--radius); }
.post-hero.duo .post-hero__img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.post-hero:not(.duo) .post-hero__img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: var(--radius); }

.layout__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(36px, 5vw, 72px); align-items: start; padding-top: clamp(32px, 4.4vw, 56px); padding-bottom: clamp(56px, 7vw, 96px); }
.layout__main { min-width: 0; }
.issuecard-mobile { display: none; }
@media (max-width: 1080px) {
	.layout__grid { grid-template-columns: 1fr; }
	.issuecard-mobile { display: block; margin-bottom: 36px; }
	.sidebar__issue { display: none; }
}

/* Long-form reading text. */
.entry-content { max-width: 68ch; font-family: var(--font-body); font-size: clamp(1.08rem, 1.2vw, 1.17rem); line-height: 1.7; color: var(--ink); counter-reset: section; }
.entry-content > * + * { margin-top: 1.15em; }
.entry-content > p:first-child { font-size: 1.22em; line-height: 1.5; font-weight: 500; }
.entry-content > p:first-child::first-letter { float: left; margin: .08em .1em 0 0; font-family: var(--font-display); font-weight: 800; font-stretch: 80%; font-size: 3.4em; line-height: .78; color: var(--amber-2); text-shadow: var(--mis) calc(var(--mis) * .7) 0 color-mix(in srgb, var(--mint) 75%, transparent); }
.entry-content a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--mint); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.entry-content a:hover { background: color-mix(in srgb, var(--mint) 35%, transparent); }
.entry-content strong { font-weight: 700; }
.entry-content > h2 { counter-increment: section; display: grid; grid-template-columns: auto 1fr; align-items: baseline; gap: 14px; margin-top: 2.1em; font-family: var(--font-display); font-stretch: 85%; font-size: clamp(1.7rem, 2.7vw, 2.25rem); font-weight: 800; line-height: 1.04; letter-spacing: -.03em; }
.entry-content > h2::before { content: counter(section, decimal-leading-zero); font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 1.15em; color: var(--mint-2); letter-spacing: 0; }
.entry-content h3 { margin-top: 1.8em; font-size: 1.35rem; font-weight: 750; letter-spacing: -.015em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: .4em; }
.entry-content ul li::marker { content: "●  "; color: var(--mint); font-size: .75em; }
.entry-content ol li::marker { font-family: var(--font-mono); font-size: .8em; color: var(--mint-2); }
.entry-content img { border-radius: var(--radius); }
.entry-content figcaption, .wp-caption-text { margin-top: 8px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.entry-content hr { border: 0; border-top: 2px dashed var(--line-2); margin: 2.4em 0; }
.entry-content blockquote:not(.jn-pullquote) { margin-inline: 0; padding: 4px 0 4px 1.1em; border-left: 4px solid var(--mint); font-family: var(--font-serif); font-style: italic; font-size: 1.2em; color: var(--ink-2); }

/* By the numbers: three figures overprinted on a halftone strip. */
.jn-numbers { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 2.2em 0; padding: 0; border-radius: var(--radius); background: var(--panel); font-family: var(--font-body); overflow: hidden; }
.jn-numbers::before { content: "By the numbers"; grid-column: 1 / -1; padding: 12px 18px 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.jn-numbers__item { display: flex; flex-direction: column; gap: 10px; padding: 14px 18px 22px; container-type: inline-size; }
.jn-numbers__item + .jn-numbers__item { border-left: 2px dashed color-mix(in srgb, var(--ink) 24%, transparent); }
.jn-numbers__item strong { font-family: var(--font-display); font-size: clamp(2rem, 19cqi, 3rem); font-weight: 800; font-stretch: 82%; line-height: .92; letter-spacing: -.03em; color: var(--amber-2); text-shadow: var(--mis) calc(var(--mis) * .7) 0 color-mix(in srgb, var(--mint) 80%, transparent); overflow-wrap: anywhere; }
.jn-numbers__item span { font-size: .92rem; line-height: 1.4; color: var(--ink-2); }
@media (max-width: 640px) { .jn-numbers { grid-template-columns: 1fr; } .jn-numbers__item + .jn-numbers__item { border-left: 0; border-top: 2px dashed color-mix(in srgb, var(--ink) 24%, transparent); } }

/* Pull-quote: the editor's hand, big, with an overprinted quote mark. */
.jn-pullquote { position: relative; margin: 2.4em 0; padding: 14px 0 0 clamp(56px, 8vw, 96px); border: 0; }
.jn-pullquote::before { content: "“"; position: absolute; left: 0; top: -.1em; font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 11vw, 9rem); line-height: 1; color: var(--mint); text-shadow: .05em .03em 0 color-mix(in srgb, var(--amber) 70%, transparent); }
.jn-pullquote p { max-width: 30ch; font-family: var(--font-serif); font-style: italic; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 400; line-height: 1.12; }
.jn-pullquote cite { display: block; margin-top: 16px; font-family: var(--font-mono); font-size: 11px; font-style: normal; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }

/* Tables: a printer's price list. */
.entry-content table { width: 100%; margin: 2em 0; border-collapse: collapse; font-family: var(--font-body); font-size: .94rem; line-height: 1.4; font-variant-numeric: lining-nums tabular-nums; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.entry-content thead th { padding: 11px 12px; background: var(--ink); color: var(--bg); font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; text-align: left; vertical-align: bottom; }
.entry-content td { padding: 11px 12px; border-top: 1px dashed var(--line-2); vertical-align: top; }
.entry-content td + td, .entry-content th + th { border-left: 1px solid var(--line); }
.entry-content tbody tr:hover td { background: color-mix(in srgb, var(--mint) 10%, var(--surface)); }
.entry-content td:first-child { font-weight: 650; }
@media (max-width: 720px) { .entry-content table { display: block; overflow-x: auto; white-space: nowrap; } }

.jn-disclaimer { padding: 12px 14px; border: 2px dashed var(--line-2); border-radius: var(--radius); font-family: var(--font-mono); font-size: 11.5px !important; letter-spacing: .01em; color: var(--muted); }

/* Sources: small, numbered, quiet. */
.jn-sources { margin-top: 2.6em !important; padding-top: 16px; border-top: 2px dashed var(--line-2); font-family: var(--font-body); font-size: .88rem; line-height: 1.5; color: var(--ink-2); }
.jn-sources h2 { margin: 0 0 12px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.jn-sources ol { margin: 0; padding-left: 1.8em; }
.jn-sources li { padding-left: 4px; }
.jn-sources li::marker { font-family: var(--font-mono); font-size: .8em; color: var(--ink); }
.jn-sources a { word-break: break-word; text-decoration-thickness: 2px; }
.entry-content > p:last-child em, .entry-content .jn-series-note { color: var(--muted); }

.single-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.single-tags a { padding: 5px 12px; border: var(--frame); border-radius: 999px; font-family: var(--font-mono); font-size: 11.5px; }

.single-share { margin-top: 36px; padding-top: 18px; border-top: 2px dashed var(--line-2); }
.share-row { display: flex; align-items: center; gap: 8px; }
.share-row__label { margin-right: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.share-row__link { display: grid; place-items: center; width: 44px; height: 44px; border: var(--frame); border-radius: 50%; color: var(--ink); background: var(--surface); transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.share-row__link svg { width: 18px; height: 18px; fill: currentColor; }
.share-row__link:hover { transform: translate(-2px, -2px); box-shadow: 2px 2px 0 var(--mint); }

.postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
.postnav__item { display: grid; gap: 8px; padding: 18px 20px; border: var(--frame); border-radius: var(--radius); background: var(--surface); transition: transform .15s var(--ease), box-shadow .15s var(--ease); }
.postnav__item--next { text-align: right; grid-column: 2; }
.postnav__item:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--mint); }
.postnav__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mint-2); }
.postnav__title { font-weight: 750; font-size: 1.2rem; line-height: 1.12; letter-spacing: -.015em; }
@media (max-width: 640px) { .postnav { grid-template-columns: 1fr; } .postnav__item--next { grid-column: auto; } }

/* 10. Sidebar & issue card ---------------------------------------------------- */
.sidebar { display: grid; gap: 34px; min-width: 0; }
.widget__title { margin-bottom: 10px; padding-bottom: 8px; border-bottom: 2px dashed var(--line-2); font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.widget__title--lg { padding: 0; border: 0; color: var(--ink); font-family: var(--font-display); font-size: 1.9rem; font-weight: 800; font-stretch: 82%; letter-spacing: -.03em; line-height: .95; text-transform: none; }
.widget__kicker { margin-bottom: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mint-2); }
.widget__text { margin: 12px 0 18px; font-size: .96rem; color: var(--ink-2); }

.topiclist { margin: 0; padding: 0; list-style: none; }
.topiclist li + li { border-top: 1px dashed var(--line-2); }
.topiclist__link { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 9px 4px; }
.topiclist__link .topicmark { width: 30px; height: 30px; }
.topiclist__link .topicmark svg { width: 16px; height: 16px; }
.topiclist__link .topicmark::after { transform: translate(2px, 1.5px); }
.topiclist__name { font-weight: 600; font-size: 1rem; }
.topiclist__count { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
.topiclist__link:hover .topiclist__name { text-decoration: underline; text-decoration-color: var(--mint); text-decoration-thickness: 3px; text-underline-offset: 3px; }

.minilist { margin: 0; padding: 0; list-style: none; }
.minilist__item + .minilist__item { border-top: 1px dashed var(--line-2); }
.minilist__link { display: grid; gap: 6px; padding: 12px 0; }
.minilist__num { font-family: var(--font-display); font-weight: 800; font-stretch: 82%; font-size: 1.6rem; line-height: 1; letter-spacing: -.02em; color: var(--amber-2); }
.minilist__title { font-weight: 600; font-size: 1rem; line-height: 1.22; }
.minilist__link:hover .minilist__title { text-decoration: underline; text-decoration-color: var(--mint); text-decoration-thickness: 3px; }

.sidebar__sticky { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 34px; }
.toc { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc li + li { border-top: 1px dashed var(--line); }
.toc a { display: grid; grid-template-columns: 30px 1fr; gap: 6px; padding: 8px 8px; border-radius: 4px; font-size: .92rem; line-height: 1.35; color: var(--ink-2); }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-mono); font-size: 11px; color: var(--muted); padding-top: 3px; }
.toc a:hover { color: var(--ink); }
.toc a.is-current { background: color-mix(in srgb, var(--mint) 30%, transparent); color: var(--ink); }
.toc a.is-current::before { color: var(--ink); }

.widget--news { position: relative; padding: 24px 22px; border: var(--frame); border-radius: var(--radius); background: var(--surface); box-shadow: 6px 6px 0 var(--mint); }

/* The number, explained: an index card with its notes. */
.issuecard { position: relative; border-radius: var(--radius); background: var(--surface); box-shadow: 0 0 0 1px var(--line), 5px 5px 0 var(--amber); }
.issuecard__head { display: flex; justify-content: space-between; gap: 10px; padding: 12px 16px 10px; border-bottom: 2px dashed var(--line-2); font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.issuecard__day { color: var(--mint-2); }
.issuecard__figure { padding: 18px 16px 0; font-size: clamp(2.2rem, 3vw, 2.9rem); }
.issuecard__figure .countup { white-space: normal; overflow-wrap: anywhere; color: var(--amber-2); }
.issuecard__label { padding: 6px 16px 0; font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; color: var(--mint-2); }
.issuecard__notes { margin: 6px 0 0; }
.issuecard__note { padding: 12px 16px; }
.issuecard__note + .issuecard__note { border-top: 1px dashed var(--line-2); }
.issuecard__note dt { display: inline-block; margin-bottom: 4px; font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; line-height: 1.1; color: var(--mint-2); }
.issuecard__note dd { margin: 0; font-size: .94rem; line-height: 1.45; color: var(--ink-2); }
.issuecard--inline .issuecard__notes { display: grid; grid-template-columns: 1fr 1fr; }
.issuecard--inline .issuecard__note:nth-child(even) { border-left: 1px dashed var(--line-2); }
.issuecard--inline .issuecard__note + .issuecard__note:nth-child(2) { border-top: 0; }
@media (max-width: 560px) { .issuecard--inline .issuecard__notes { grid-template-columns: 1fr; } .issuecard--inline .issuecard__note:nth-child(even) { border-left: 0; } .issuecard--inline .issuecard__note + .issuecard__note:nth-child(2) { border-top: 1px dashed var(--line-2); } }

/* 11. Archive, page, 404, thanks ---------------------------------------------- */
.page-head { padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 52px); border-bottom: 2px dashed var(--line-2); }
.page-head__inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: end; }
.page-head__eyebrow { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 18px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.page-head__eyebrow .topicmark { width: 50px; height: 50px; }
.page-head__eyebrow .topicmark svg { width: 26px; height: 26px; }
.page-head__title { font-family: var(--font-display); font-size: clamp(2.8rem, 7.6vw, 7rem); font-weight: 800; font-stretch: 78%; line-height: .88; letter-spacing: -.04em; }
.page-head__text { max-width: 58ch; margin-top: 18px; font-family: var(--font-serif); font-style: italic; font-size: 1.45rem; line-height: 1.3; color: var(--ink-2); }
.page-head__count { position: relative; display: grid; justify-items: end; padding: 18px 22px 16px; border-radius: var(--radius); line-height: 1; background: var(--panel); }
.page-head__countnum { font-size: clamp(3rem, 7vw, 6rem); color: var(--amber-2); }
.page-head__count > span:last-child { margin-top: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.page-head__date { margin-top: 14px; font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.page-head--center { text-align: center; }
.page-head--center .page-head__title, .page-head--center .page-head__text { margin-inline: auto; }
.page-head__huge { display: inline-block; margin-bottom: 18px; font-size: clamp(6rem, 22vw, 15rem); }
@media (max-width: 700px) { .page-head__inner { grid-template-columns: 1fr; } .page-head__count { justify-items: start; justify-self: start; } }

.page-content { margin: clamp(40px, 6vw, 72px) auto clamp(64px, 8vw, 104px); }
.page-main .post-hero { margin-top: 40px; }

.pagination { margin-top: 52px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border: var(--frame); border-radius: 999px; background: var(--surface); font-family: var(--font-mono); font-size: 13px; }
.page-numbers.current { background: var(--ink); color: var(--bg); }
a.page-numbers:hover { box-shadow: 3px 3px 0 var(--mint); }

.notice-page { max-width: 560px; margin: 0 auto; padding: 40px 0; text-align: center; }
.notice-page__zero { font-family: var(--font-display); font-weight: 800; font-size: 9rem; line-height: 1; color: var(--amber-2); text-shadow: var(--mis) calc(var(--mis) * .7) 0 color-mix(in srgb, var(--mint) 80%, transparent); }
.notice-page__title { font-family: var(--font-display); font-weight: 800; font-stretch: 82%; letter-spacing: -.03em; font-size: 2.4rem; }
.notice-page__text { margin-top: 12px; color: var(--ink-2); }
.notice-page__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }

.thanks .container { max-width: 820px; }
.thanks__equation { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-bottom: 30px; font-family: var(--font-display); font-weight: 800; font-stretch: 85%; letter-spacing: -.02em; font-size: clamp(1.5rem, 3.6vw, 2.5rem); }
.thanks__equation > span { padding: 8px 16px 6px; border: var(--frame); border-radius: 999px; background: var(--surface); line-height: 1; }
.thanks__equation > .thanks__op { border: 0; background: none; padding: 0 2px; color: var(--mint-2); }
.thanks__equation > .thanks__result { background: var(--mint); color: var(--mint-ink); box-shadow: 4px 4px 0 var(--amber); }
.thanks__mark { display: inline-grid; place-items: center; width: 76px; height: 76px; margin-bottom: 20px; border-radius: 50%; background: var(--mint); color: var(--mint-ink); box-shadow: 5px 4px 0 var(--amber); }
.thanks__mark svg { width: 34px; height: 34px; stroke-width: 3; }
.thanks__tick { stroke-dasharray: 1; stroke-dashoffset: 1; animation: tick .8s var(--ease) .4s forwards; }
@keyframes tick { to { stroke-dashoffset: 0; } }
.thanks__note { margin-top: 16px; font-size: .95rem; color: var(--muted); }

/* WordPress core bits. */
.alignleft { float: left; margin: .3em 1.4em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.4em; }
.aligncenter { margin-inline: auto; }
.wp-caption { max-width: 100%; }

/* 12. Newsletter band ------------------------------------------------------- */
.join { position: relative; background: var(--mint); color: var(--mint-ink); overflow: hidden; isolation: isolate; }
.join::before { content: ""; position: absolute; right: -10%; top: -30%; z-index: -1; width: 70%; aspect-ratio: 1; border-radius: 50%; color: var(--amber); background-image: var(--dots); background-size: 12px 12px; mix-blend-mode: var(--blend); opacity: .55; -webkit-mask-image: radial-gradient(circle, #000 0 40%, transparent 70%); mask-image: radial-gradient(circle, #000 0 40%, transparent 70%); }
.join__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.join__copy { --ink: var(--mint-ink); --ink-2: var(--mint-ink); --muted: var(--mint-ink); --mint-2: var(--mint-ink); }
.join__copy .band__kicker { color: var(--mint-ink); }
.join__title { max-width: 15ch; margin-top: 16px; font-family: var(--font-display); font-size: clamp(2.6rem, 5.6vw, 4.8rem); font-weight: 800; font-stretch: 80%; line-height: .9; letter-spacing: -.04em; }
.join__list { margin: 30px 0 0; padding: 0; list-style: none; }
.join__list li { display: grid; grid-template-columns: 48px 1fr; gap: 6px; padding: 13px 0; border-top: 2px dashed color-mix(in srgb, currentColor 40%, transparent); font-size: 1.06rem; font-weight: 500; }
.join__n { font-family: var(--font-serif); font-style: italic; font-size: 1.6rem; line-height: .9; }
.join__sum { margin-top: 18px; font-family: var(--font-serif); font-style: italic; font-size: 1.6rem; line-height: 1.15; }
.join__panel { position: relative; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); background: var(--surface); color: var(--ink); box-shadow: 10px 10px 0 color-mix(in srgb, var(--ink-c) 85%, transparent); transform: rotate(1deg); }
.join__panel::before { content: ""; position: absolute; top: -9px; left: 50%; width: 54px; height: 16px; margin-left: -27px; background: color-mix(in srgb, var(--bg-c) 55%, transparent); border: 1px solid color-mix(in srgb, var(--ink-c) 15%, transparent); transform: rotate(-3deg); }
.join__panelhead { display: flex; justify-content: space-between; margin-bottom: 16px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.join__free { color: var(--mint-2); border: 2px solid currentColor; border-radius: 4px; padding: 2px 7px 1px; transform: rotate(-4deg); }
.join__paneltitle { margin-bottom: 18px; font-family: var(--font-display); font-weight: 800; font-stretch: 82%; letter-spacing: -.03em; font-size: 2rem; line-height: .95; }
.join__crop { display: none; }
@media (max-width: 900px) { .join__grid { grid-template-columns: 1fr; } .join__panel { box-shadow: 6px 6px 0 color-mix(in srgb, var(--ink-c) 85%, transparent); transform: none; } }

/* 13. Layout voices -------------------------------------------------------
   The shared furniture takes the shape of the site's layout (body class
   layout-{slug}): Issue is the default above. */

/* Daily: a red press line, a coupon with a perforated top, a paper footer. */
.layout-daily .boardline { background: var(--mint); color: var(--mint-ink); --amber-2: var(--mint-ink); --blend: multiply; }
.layout-daily .boardline .riso::after { color: var(--surface); mix-blend-mode: normal; }
.layout-daily .boardline .colorbar i:nth-child(1) { background: var(--surface); }
.join--daily { background: var(--bg-2); color: var(--ink); }
.join--daily .join__copy { --ink: inherit; --ink-2: inherit; --muted: inherit; --mint-2: var(--mint-2-c); }
.join--daily .join__copy .band__kicker { color: var(--mint-2); }
.join--daily .join__list li { border-top-color: var(--line-2); }
.join--daily::before { color: var(--mint); }
.join--daily .join__panel { transform: none; border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 0 0 1px var(--line), 8px 8px 0 var(--amber); padding-top: clamp(34px, 4vw, 46px); }
.join--daily .join__panel::before { top: 0; left: 0; right: 0; width: auto; height: 22px; margin: 0; border: 0; transform: none; background: var(--amber); -webkit-mask: radial-gradient(circle at 10px 22px, transparent 5px, #000 5.5px) 0 0 / 20px 22px repeat-x; mask: radial-gradient(circle at 10px 22px, transparent 5px, #000 5.5px) 0 0 / 20px 22px repeat-x; }
.site-footer--paper { background: var(--bg-2); color: var(--ink); border-top: var(--frame); }
.site-footer--paper .footer__giant { color: var(--amber-2); }

/* Curio: a quiet black strip, a glowing note for the newsletter. */
.layout-curio .boardline { background: var(--bg); color: var(--ink-2); border-bottom: 1px solid var(--line); --amber-2: var(--amber-2-c); --blend: multiply; }
.scheme-is-dark.layout-curio .boardline { --blend: screen; }
.join--curio { background: var(--surface); color: var(--ink); }
.join--curio .join__copy { --ink: inherit; --ink-2: inherit; --muted: inherit; --mint-2: var(--mint-2-c); }
.join--curio .join__copy .band__kicker { color: var(--mint-2); }
.join--curio .join__title { color: var(--mint-2); }
.join--curio .join__list li { border-top-color: var(--line-2); }
.join--curio .join__panel { transform: none; box-shadow: 0 0 0 2px var(--mint), 0 0 40px color-mix(in srgb, var(--mint) 25%, transparent); }
.join--curio .join__panel::before { display: none; }

/* Press: kraft press line with its colour bar, an order form with crop marks. */
.layout-press .boardline { background: var(--bg-2); color: var(--ink); border-bottom: 1px solid var(--line-2); --blend: multiply; --amber-2: var(--amber-2-c); }
.layout-press .boardline .colorbar i { width: 16px; height: 14px; }
.join--press { background: var(--bg-2); color: var(--ink); }
.join--press .join__copy { --ink: inherit; --ink-2: inherit; --muted: inherit; --mint-2: var(--mint-2-c); }
.join--press .join__copy .band__kicker { color: var(--ink); }
.join--press .join__list li { border-top-color: var(--line-2); }
.join--press .join__panel { transform: none; border-radius: 0; box-shadow: 0 0 0 1px var(--line); }
.join--press .join__panel::before { display: none; }
.join--press .join__crop { display: block; }
.layout-press .site-footer--paper { background: var(--bg-2); }

/* 14. Reveal & reduced motion ---------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
	.js .mag[data-inview] i { transform: scale(1); }
	.riso::after { transform: translate(var(--mis), calc(var(--mis) * .7)); }
}

/* The floating reCAPTCHA badge. Hidden (visibility, not display:none, which
   can stop reCAPTCHA from working); the forms carry Google's notice instead,
   as Google requires when the badge is hidden. */
.grecaptcha-badge { visibility: hidden !important; opacity: 0 !important; pointer-events: none !important; }

@media print {
	body::before { display: none; }
	.site-header, .boardline, .sidebar, .site-footer, .join, .related, .single-share, .postnav, .read-progress { display: none !important; }
}
