/*
Theme Name: Kumvp Ledger
Theme URI: https://kumvp.com/
Author: Kumvp
Description: A risograph-printed kitchen ledger for kumvp.com. Two-ink print look, market-ticket feed, seed-packet Popular Topics, header code area for Analytics and AdSense.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kumvp
Tags: blog, food-and-drink, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ---------- Fonts (bundled, no external requests) ---------- */
@font-face { font-family: "Young Serif"; src: url("assets/fonts/young-serif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("assets/fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("assets/fonts/instrument-sans-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("assets/fonts/dm-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("assets/fonts/dm-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
	--paper: #F3ECDD;
	--paper-2: #E9DEC6;
	--card: #FBF7EE;
	--ink: #17241D;
	--ink-soft: #4A574F;
	--tomato: #E8432B;
	--tomato-ink: #B3301B;
	--leaf: #2F7A55;
	--leaf-ink: #24603F;
	--turmeric: #E9B320;
	--rule: 2px solid var(--ink);

	--f-display: "Young Serif", "Iowan Old Style", Georgia, serif;
	--f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--f-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--shadow-t: 8px 8px 0 var(--tomato);
	--shadow-l: 8px 8px 0 var(--leaf);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 1.0625rem/1.65 var(--f-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
/* Paper grain */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 100;
	opacity: .14;
	mix-blend-mode: multiply;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .36 0 0 0 0 .3 0 0 0 0 .2 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
::selection { background: var(--turmeric); color: var(--ink); }
:focus-visible { outline: 3px solid var(--tomato); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 400; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1em; }

.wrap { 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: 200;
	background: var(--ink); color: var(--paper); padding: 10px 16px;
	font: 500 .875rem var(--f-mono); text-decoration: none;
}
.skip-link:focus { top: 12px; }

.num, .stamp {
	font-family: var(--f-mono);
	font-size: .75rem;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.num { color: var(--tomato-ink); font-weight: 500; }
.stamp { color: var(--ink-soft); }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; gap: .5em;
	min-height: 46px; padding: 0 22px;
	font: 500 .8125rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
	text-decoration: none; cursor: pointer;
	border: var(--rule); border-radius: 0;
	box-shadow: 4px 4px 0 var(--ink);
	transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn--tomato { background: var(--tomato); color: #fff; }
.btn--ink { background: var(--ink); color: var(--paper); box-shadow: 4px 4px 0 var(--tomato); }
.btn--ink:hover { box-shadow: 6px 6px 0 var(--tomato); }

/* ---------- Masthead ---------- */
.masthead { position: relative; z-index: 20; background: var(--paper); }
.masthead__strip { background: var(--ink); color: var(--paper); }
.masthead__strip-inner {
	display: flex; justify-content: space-between; gap: 16px;
	padding-block: 8px;
	font: 400 .75rem/1.3 var(--f-mono); letter-spacing: .12em; text-transform: uppercase;
}
.masthead__strip p { margin: 0; }
.masthead__edition { color: var(--turmeric); white-space: nowrap; }
.masthead__bar {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 24px;
	padding-block: 14px;
}
.masthead::after {
	/* perforated tear line */
	content: "";
	display: block;
	height: 10px;
	border-top: var(--rule);
	background: radial-gradient(circle at 6px 0, var(--ink) 2.2px, transparent 2.6px) 0 3px / 14px 10px repeat-x;
}
.brand { display: inline-block; line-height: 0; }
.brand__img { width: auto; height: 58px; }

.mainnav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 6px; }
.mainnav__list li { position: relative; }
.mainnav .nav-link {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px;
	font: 500 .8125rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
	text-decoration: none;
	background: linear-gradient(var(--turmeric), var(--turmeric)) 12px 70% / 0 9px no-repeat;
	transition: background-size .25s var(--ease);
}
.mainnav .nav-link:hover,
.mainnav .current-menu-item > .nav-link { background-size: calc(100% - 24px) 9px; }
.mainnav .sub-menu {
	list-style: none; margin: 0; padding: 8px 0;
	position: absolute; left: 0; top: 100%; min-width: 220px;
	background: var(--card); border: var(--rule); box-shadow: var(--shadow-l);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .18s, transform .18s var(--ease), visibility .18s;
}
.mainnav li:hover > .sub-menu,
.mainnav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.mainnav .sub-menu .nav-link { width: 100%; }

.masthead__tools { display: flex; gap: 8px; }
.tool {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-width: 46px; min-height: 46px; padding: 0 12px;
	background: var(--card); color: var(--ink);
	border: var(--rule); cursor: pointer;
	font: 500 .75rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
	transition: background .15s;
}
.tool:hover, .tool[aria-expanded="true"] { background: var(--turmeric); }
.tool--menu { display: none; }
.tool__bars, .tool__bars::before, .tool__bars::after {
	display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .2s var(--ease);
}
.tool__bars::before, .tool__bars::after { content: ""; position: absolute; left: 0; }
.tool__bars::before { top: -6px; }
.tool__bars::after { top: 6px; }
.nav-open .tool__bars { background: transparent; }
.nav-open .tool__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-open .tool__bars::after { transform: translateY(-6px) rotate(-45deg); }

.searchpanel { border-top: var(--rule); background: var(--paper-2); padding-block: 22px; }
.searchform__label { display: block; font: 500 .75rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
.searchform__row { display: flex; gap: 12px; }
.searchform__input {
	flex: 1; min-width: 0; min-height: 50px; padding: 0 16px;
	font: 400 1.125rem var(--f-body); color: var(--ink);
	background: var(--card); border: var(--rule); border-radius: 0;
}
.searchform__input:focus { outline: 3px solid var(--tomato); outline-offset: 0; }

/* Header code area: invisible wrapper only if a widget prints markup */
.masthead + script, .masthead + ins { display: block; }

/* ---------- Page heading ---------- */
.pagehead { padding-block: clamp(36px, 6vw, 72px) 28px; }
.pagehead__kicker, .popular__kicker, .empty__kicker {
	display: inline-block;
	font: 500 .75rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
	background: var(--ink); color: var(--paper); padding: 6px 10px; margin-bottom: 14px;
}
.pagehead__title { font-size: clamp(2.4rem, 6vw, 4.75rem); margin: 0; }
.pagehead__desc { max-width: 60ch; color: var(--ink-soft); margin-top: 14px; }

/* ---------- Lead story ---------- */
.feed { padding-top: clamp(28px, 5vw, 56px); }
.lead {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	align-items: center;
	margin-bottom: clamp(48px, 7vw, 88px);
}
.lead__media {
	grid-column: 1 / 9; grid-row: 1;
	position: relative;
	border: var(--rule);
	box-shadow: var(--shadow-t);
	background: var(--leaf);
	aspect-ratio: 16 / 10;
}
.lead__img { width: 100%; height: 100%; object-fit: cover; }
.lead__initial, .ticket__initial, .packet__initial {
	display: grid; place-items: center; width: 100%; height: 100%;
	font: 400 clamp(4rem, 10vw, 8rem)/1 var(--f-display); color: var(--paper);
	background:
		radial-gradient(circle at 30% 70%, rgba(233, 179, 32, .55) 0 22%, transparent 23%),
		var(--leaf);
}
.lead__badge {
	position: absolute; top: -26px; left: -18px;
	width: 96px; height: 96px; border-radius: 50%;
	display: grid; place-items: center; text-align: center;
	background: var(--turmeric); border: var(--rule);
	font: 500 .75rem/1.2 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
	transform: rotate(-12deg);
}
.lead__card {
	grid-column: 8 / 13; grid-row: 1;
	position: relative; z-index: 2;
	background: var(--card);
	border: var(--rule);
	box-shadow: var(--shadow-l);
	padding: clamp(22px, 3vw, 40px);
}
.lead__meta { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.lead__title { font-size: clamp(1.9rem, 3.4vw, 3.1rem); margin-bottom: .45em; }
.lead__link, .ticket__link { text-decoration: none; background: linear-gradient(var(--turmeric), var(--turmeric)) 0 88% / 0 .32em no-repeat; transition: background-size .3s var(--ease); }
.lead__link:hover, .ticket__link:hover { background-size: 100% .32em; }
.lead__excerpt { color: var(--ink-soft); }
.lead__foot { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 22px 0 0; }
.lead__time, .ticket__time { font: 400 .75rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }

/* ---------- Board of tickets ---------- */
.board {
	list-style: none; margin: 0; padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 48px 32px;
}
.ticket {
	position: relative;
	display: flex; flex-direction: column;
	background: var(--card);
	border: var(--rule);
	transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.ticket:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-t); }
.ticket__media { display: block; text-decoration: none; aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 2px dashed var(--ink); position: relative; }
.ticket__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.ticket:hover .ticket__img { transform: scale(1.04); }
/* ticket notches on the tear line */
.ticket__body { position: relative; }
.ticket__body::before, .ticket__body::after {
	content: ""; position: absolute; top: -12px;
	width: 22px; height: 22px; border-radius: 50%;
	background: var(--paper); border: var(--rule);
}
.ticket__body::before { left: -13px; clip-path: inset(0 0 0 50%); }
.ticket__body::after { right: -13px; clip-path: inset(0 50% 0 0); }
.ticket__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.ticket__meta { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.ticket__title { font-size: 1.5rem; margin-bottom: .5em; }
.ticket__excerpt { color: var(--ink-soft); font-size: .975rem; margin-bottom: 14px; }
.ticket__time { margin: auto 0 0; }

/* ---------- Pagination ---------- */
.pager { margin-top: 64px; }
.pager ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pager li > .page-numbers {
	display: inline-grid; place-items: center; min-width: 46px; min-height: 46px; padding: 0 14px;
	border: var(--rule); background: var(--card);
	font: 500 .8125rem var(--f-mono); text-decoration: none; white-space: nowrap;
}
.pager a.page-numbers:hover { background: var(--turmeric); }
.pager li > .current { background: var(--ink); color: var(--paper); }
.pager li > .dots { border-color: transparent; background: none; }

/* ---------- Popular Topics: seed packets ---------- */
.popular {
	position: relative;
	margin-block: clamp(56px, 8vw, 96px);
	padding: clamp(28px, 4vw, 48px);
	background: var(--leaf-ink);
	color: var(--paper);
	border: var(--rule);
	box-shadow: 10px 10px 0 var(--ink);
}
.popular::before {
	/* registration marks */
	content: "";
	position: absolute; top: 14px; right: 14px; width: 26px; height: 26px;
	border: 2px solid var(--paper); border-radius: 50%;
	background: linear-gradient(var(--paper), var(--paper)) center / 2px 100% no-repeat, linear-gradient(var(--paper), var(--paper)) center / 100% 2px no-repeat;
	opacity: .55;
}
.popular__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 24px; margin-bottom: 32px; }
.popular__kicker { background: var(--turmeric); color: var(--ink); margin: 0; }
.popular__title { font-size: clamp(2rem, 4.5vw, 3.4rem); margin: 0; order: -1; flex-basis: 100%; }
.popular__grid {
	list-style: none; margin: 0; padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 30px 24px;
}
.packet { --tilt: -1.2deg; transform: rotate(var(--tilt)); transition: transform .25s var(--ease); }
.packet:nth-child(even) { --tilt: 1deg; }
.packet:nth-child(3n) { --tilt: -.4deg; }
.packet:hover, .packet:focus-within { transform: rotate(0) translateY(-4px); }
.packet__link {
	display: flex; flex-direction: column; height: 100%;
	text-decoration: none; color: var(--ink);
	background: var(--card);
	border: var(--rule);
	box-shadow: 6px 6px 0 var(--tomato);
	/* zigzag crimp on top */
	-webkit-mask: conic-gradient(from -45deg at bottom, #000 90deg, #0000 0) 50% 0 / 14px 7px repeat-x, linear-gradient(#000 0 0) 0 7px / 100% calc(100% - 7px) no-repeat;
	mask: conic-gradient(from -45deg at bottom, #000 90deg, #0000 0) 50% 0 / 14px 7px repeat-x, linear-gradient(#000 0 0) 0 7px / 100% calc(100% - 7px) no-repeat;
	padding-top: 7px;
}
.packet__media { display: block; aspect-ratio: 5 / 4; margin: 10px 10px 0; overflow: hidden; border: var(--rule); background: var(--leaf); }
.packet__img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.08) contrast(1.03); }
.packet__initial { font-size: 4rem; }
.packet__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 14px 16px; flex: 1; }
.packet__num { font: 500 .6875rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--tomato-ink); }
.packet__title { font: 400 1.125rem/1.2 var(--f-display); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.packet__meta { margin-top: auto; padding-top: 8px; border-top: 1px dashed var(--ink-soft); font: 400 .6875rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.packet__link:hover .packet__title { text-decoration: underline; text-decoration-color: var(--tomato); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.packet__link:focus-visible { outline-color: var(--turmeric); }

/* ---------- Single entry ---------- */
.entry__head { padding-block: clamp(36px, 6vw, 72px) clamp(24px, 4vw, 40px); max-width: 1000px; }
.entry__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 20px; }
.entry__time { font: 400 .75rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
.tags { display: inline-flex; gap: 8px; flex-wrap: wrap; }
.tag {
	display: inline-flex; align-items: center; min-height: 30px; padding: 0 10px;
	background: var(--turmeric); border: var(--rule); text-decoration: none;
	font: 500 .6875rem var(--f-mono); letter-spacing: .12em; text-transform: uppercase;
}
.tag:hover { background: var(--card); }
.entry__title { font-size: clamp(2.3rem, 6vw, 5rem); margin: 0; }
.entry__dek { font-size: 1.25rem; color: var(--ink-soft); max-width: 60ch; margin-top: 18px; }
.entry__hero { margin-block: 0 clamp(36px, 5vw, 64px); }
.entry__img { width: 100%; max-height: 720px; object-fit: cover; border: var(--rule); box-shadow: 12px 12px 0 var(--tomato); }

.prose { max-width: 720px; margin-inline: auto; padding-inline: var(--gutter); font-size: 1.1rem; }
.prose > * + * { margin-top: 1.15em; }
.prose p { margin: 0; }
.prose > p:first-of-type::first-letter {
	float: left; font: 400 4.6em/.8 var(--f-display); color: var(--tomato);
	margin: .06em .1em 0 0; text-shadow: 3px 3px 0 var(--ink);
}
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 1.8em; }
.prose h3 { font-size: 1.45rem; margin-top: 1.6em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose a { color: var(--leaf-ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose a:hover { color: var(--tomato-ink); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose ul li::marker { content: "■  "; color: var(--tomato); font-size: .8em; }
.prose ol li::marker { font-family: var(--f-mono); color: var(--tomato-ink); font-weight: 500; }
.prose li + li { margin-top: .35em; }
.prose blockquote {
	margin-inline: 0; padding: 18px 24px;
	border-left: 8px solid var(--leaf);
	background: var(--card);
	font: 400 1.35rem/1.4 var(--f-display);
}
.prose blockquote p { margin: 0; }
.prose img, .prose figure img { border: var(--rule); }
.prose figure { margin-inline: 0; }
.prose figcaption, .wp-caption-text { font: 400 .8125rem/1.5 var(--f-mono); color: var(--ink-soft); margin-top: 8px; }
.prose hr { border: 0; height: 10px; background: radial-gradient(circle, var(--ink) 2px, transparent 2.5px) 0 0 / 14px 10px repeat-x; margin-block: 2.4em; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { border: 1px solid var(--ink); padding: 8px 10px; text-align: left; }
.prose th { background: var(--paper-2); font-family: var(--f-mono); font-weight: 500; text-transform: uppercase; font-size: .75rem; letter-spacing: .08em; }
.prose pre, .prose code { font-family: var(--f-mono); font-size: .9em; background: var(--paper-2); }
.prose pre { padding: 16px; overflow-x: auto; border: var(--rule); }
.prose .alignwide { max-width: min(1100px, 100vw - 2 * var(--gutter)); margin-inline: 50%; transform: translateX(-50%); width: 100vw; }
.prose .alignfull { width: 100vw; max-width: 100vw; margin-inline: 50%; transform: translateX(-50%); }
.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%; }
.page-links { font-family: var(--f-mono); margin-top: 2em; }

/* Post navigation */
.postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 64px; }
.postnav__item a {
	display: flex; flex-direction: column; gap: 6px; height: 100%;
	padding: 22px; border: var(--rule); background: var(--card); text-decoration: none;
	transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.postnav__item a:hover { box-shadow: var(--shadow-l); transform: translate(-2px, -2px); }
.postnav__item--next { text-align: right; }
.postnav__label { font: 500 .6875rem var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--tomato-ink); }
.postnav__title { font: 400 1.25rem/1.25 var(--f-display); }

/* ---------- Comments ---------- */
.comments { max-width: 820px; margin-bottom: 80px; }
.comments__title { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.comments__list, .comments__list .children { list-style: none; margin: 0; padding: 0; }
.comments__list .children { margin-left: clamp(16px, 4vw, 48px); }
.comment-card { border: var(--rule); background: var(--card); padding: 18px 20px; margin-bottom: 18px; }
.comment-card__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.comment-card__avatar { border-radius: 50%; border: var(--rule); }
.comment-card__author { font-weight: 600; }
.comment-card__date { font: 400 .75rem var(--f-mono); color: var(--ink-soft); text-decoration: none; margin-left: auto; }
.comment-card__reply a { font: 500 .75rem var(--f-mono); text-transform: uppercase; letter-spacing: .1em; color: var(--tomato-ink); }
.comment-form label { display: block; font: 500 .75rem var(--f-mono); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: 12px 14px; font: inherit; color: var(--ink); background: var(--card); border: var(--rule); border-radius: 0;
}
.comment-form p { margin-bottom: 16px; }
.comment-form .comment-form-cookies-consent label { display: inline; text-transform: none; letter-spacing: 0; font: inherit; }

/* ---------- Empty / 404 ---------- */
.empty { padding-block: clamp(48px, 8vw, 110px) 24px; max-width: 760px; }
.empty__title { font-size: clamp(2.2rem, 5vw, 4rem); }

/* ---------- Footer ---------- */
.colophon { background: var(--paper-2); border-top: var(--rule); margin-top: 40px; }
.colophon__marquee {
	overflow: hidden; white-space: nowrap;
	background: var(--ink); color: var(--paper);
	font: 400 clamp(1.4rem, 3vw, 2.2rem)/1 var(--f-display);
	padding-block: 16px;
}
.colophon__marquee span { display: inline-block; padding-left: 100%; animation: kumvp-marquee 38s linear infinite; }
@keyframes kumvp-marquee { to { transform: translateX(-100%); } }
.colophon__grid {
	display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px;
	padding-block: clamp(40px, 6vw, 72px);
}
.colophon__about { max-width: 38ch; color: var(--ink-soft); margin-top: 16px; }
.colophon__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; justify-items: start; }
.colophon__list .nav-link {
	display: inline-flex; align-items: center; min-height: 40px;
	font: 400 1.25rem var(--f-display); text-decoration: none;
	background: linear-gradient(var(--turmeric), var(--turmeric)) 0 75% / 0 .4em no-repeat;
	transition: background-size .25s var(--ease);
}
.colophon__list .nav-link:hover { background-size: 100% .4em; }
.colophon__widgets { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.footer-widget__title { font-size: 1.2rem; }
.colophon__base {
	display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
	padding-block: 18px 26px; border-top: 1px dashed var(--ink-soft);
	font: 400 .75rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase;
}
.colophon__base p { margin: 0; }
.colophon__top { text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.colophon__top:hover { color: var(--tomato-ink); }

/* ---------- Responsive ---------- */
@media (min-width: 1025px) {
	.board > li:nth-child(3n + 2) { transform: translateY(32px); }
	.board > li:nth-child(3n + 2):hover { transform: translate(-3px, 29px); }
}
@media (max-width: 1024px) {
	.board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.popular__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lead__media { grid-column: 1 / -1; }
	.lead__card { grid-column: 2 / -1; grid-row: 2; margin-top: -64px; }
}
@media (max-width: 860px) {
	.masthead__bar { grid-template-columns: 1fr auto; }
	.tool--menu { display: inline-flex; }
	.mainnav {
		grid-column: 1 / -1; grid-row: 2;
		display: none;
		border-top: var(--rule);
		padding-top: 10px;
	}
	.nav-open .mainnav { display: block; }
	.mainnav__list { flex-direction: column; align-items: stretch; }
	.mainnav .nav-link { width: 100%; font-size: .9rem; }
	.mainnav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 16px; background: none; }
	.masthead__edition { display: none; }
}
@media (max-width: 640px) {
	body { font-size: 1rem; }
	.brand__img { height: 46px; }
	.board { grid-template-columns: 1fr; gap: 28px; }
	.lead__card { grid-column: 1 / -1; margin: -40px 10px 0; }
	.lead__badge { width: 76px; height: 76px; top: -18px; left: -6px; font-size: .625rem; }
	.popular { padding: 24px 16px 28px; box-shadow: 6px 6px 0 var(--ink); }
	.popular__grid { gap: 22px 14px; }
	.packet__media { margin: 8px 8px 0; }
	.packet__body { padding: 10px 10px 12px; }
	.packet__title { font-size: 1rem; }
	.packet__meta { display: none; }
	.postnav, .colophon__grid { grid-template-columns: 1fr; }
	.postnav__item--next { text-align: left; }
	.searchform__row { flex-direction: column; }
	.prose > p:first-of-type::first-letter { font-size: 3.8em; }
	.alignleft, .alignright { float: none; margin: 1em 0; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.packet, .packet:nth-child(n) { transform: none; }
	.colophon__marquee span { padding-left: 0; }
}

@media print {
	body::before, .masthead__tools, .popular, .colophon__marquee, .postnav, .comments { display: none; }
}
