/* =====================================================================
   Dirk's Digital Goods 2026 — "modern editorial schoolbook"
   Deep ink green on warm paper. Fraunces & Hanken Grotesk.
   Two languages, paired everywhere.
   ===================================================================== */

/* ------------------------------------------------------------- tokens */
:root {
	--paper:        #f6f1e5;
	--paper-deep:   #ede5d0;
	--paper-bright: #fdfaf2;
	--ink:          #1c2b22;
	--ink-soft:     #46584c;
	--ink-mute:     #71816f;
	--ochre:        #b65a1e;
	--ochre-deep:   #92450f;
	--sage:         #8d9c77;
	--red-pen:      #c0503c;
	--rule:         rgba(28, 43, 34, 0.16);
	--rule-faint:   rgba(28, 43, 34, 0.08);
	--rule-strong:  rgba(28, 43, 34, 0.55);

	--serif: "Fraunces", "Iowan Old Style", Georgia, serif;
	--sans:  "Hanken Grotesk", "Segoe UI", "Helvetica Neue", sans-serif;

	--measure: 68ch;
	--gutter: clamp(1.25rem, 4vw, 3.5rem);
	--site-max: 96rem;

	--shadow-plate: 0 1px 2px rgba(28, 43, 34, .12), 0 12px 32px -12px rgba(28, 43, 34, .35);
	--shadow-card:  0 1px 0 rgba(28, 43, 34, .06), 0 14px 28px -18px rgba(28, 43, 34, .35);
}

/* --------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1.0625rem;
	line-height: 1.65;
	font-feature-settings: "ss01" on;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

::selection { background: var(--ochre); color: var(--paper-bright); }

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

a { color: inherit; text-decoration-color: var(--rule-strong); text-underline-offset: .18em; }
a:hover { color: var(--ochre-deep); text-decoration-color: currentColor; }

:focus-visible {
	outline: 2px solid var(--ochre);
	outline-offset: 3px;
	border-radius: 2px;
}

h1, h2, h3, h4 {
	font-family: var(--serif);
	font-optical-sizing: auto;
	font-weight: 560;
	line-height: 1.08;
	letter-spacing: -0.015em;
	margin: 0 0 .5em;
	text-wrap: balance;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	background: var(--ink);
	color: var(--paper);
	padding: .75rem 1.25rem;
	font-family: var(--sans);
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Bilingual pairing — the house motif. */
.bi { display: block; }
.bi .bi-en { display: block; }
.bi .bi-af {
	display: block;
	font-style: italic;
	font-weight: 420;
	color: var(--ochre);
	font-size: .52em;
	letter-spacing: 0;
	margin-top: .45em;
}

.kicker {
	font-family: var(--sans);
	font-size: .72rem;
	font-weight: 640;
	text-transform: uppercase;
	letter-spacing: .22em;
	color: var(--ink-soft);
	margin: 0 0 1.1rem;
}
.kicker-light { color: var(--paper-deep); }

/* ------------------------------------------------------------ topline */
.topline {
	background: var(--ink);
	color: var(--paper);
}
.topline p {
	margin: 0 auto;
	max-width: var(--site-max);
	padding: .45rem var(--gutter);
	font-size: .72rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	font-weight: 560;
	text-align: center;
}
.topline em { font-style: italic; text-transform: none; letter-spacing: .06em; opacity: .8; }
.topline-dot { color: var(--ochre); margin: 0 .5em; }

/* ----------------------------------------------------------- masthead */
.masthead {
	position: sticky;
	top: 0;
	z-index: 60;
	background: color-mix(in srgb, var(--paper) 88%, transparent);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--rule);
	transition: box-shadow .3s ease;
}
.masthead.is-scrolled { box-shadow: 0 10px 30px -18px rgba(28, 43, 34, .4); }

.masthead-inner {
	max-width: var(--site-max);
	margin: 0 auto;
	padding: .85rem var(--gutter);
	display: flex;
	align-items: center;
	gap: 2rem;
}

.brand {
	display: flex;
	align-items: center;
	gap: .9rem;
	text-decoration: none;
	color: var(--ink);
	flex-shrink: 0;
}

.brand-stamp {
	width: 56px;
	height: 56px;
	color: var(--ink);
	transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}
.brand:hover .brand-stamp { transform: rotate(180deg); }
.brand-stamp-text {
	font-family: var(--sans);
	font-size: 10.2px;
	font-weight: 700;
	letter-spacing: .22em;
	fill: currentColor;
}
.brand-stamp-mono {
	font-family: var(--serif);
	font-size: 19px;
	font-weight: 600;
	fill: currentColor;
}

.brand-word { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
	font-family: var(--serif);
	font-size: 1.32rem;
	font-weight: 600;
	letter-spacing: -.01em;
}
.brand-tag {
	font-size: .68rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ink-mute);
	margin-top: .3rem;
}
.brand-tag em { text-transform: none; letter-spacing: .04em; }

.site-nav { margin-left: auto; }
.nav-list {
	list-style: none;
	display: flex;
	gap: 1.6rem;
	margin: 0;
	padding: 0;
}
.nav-list a {
	font-size: .82rem;
	font-weight: 620;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: none;
	padding: .35rem 0;
	border-bottom: 2px solid transparent;
}
.nav-list a:hover,
.nav-list .current-menu-item a { border-bottom-color: var(--ochre); color: var(--ink); }

.masthead-tools { display: flex; align-items: center; gap: 1.2rem; }

.cart-link {
	display: inline-flex;
	align-items: baseline;
	gap: .45rem;
	text-decoration: none;
	font-size: .82rem;
	font-weight: 640;
	letter-spacing: .1em;
	text-transform: uppercase;
}
.cart-count {
	font-family: var(--serif);
	font-size: .9rem;
	background: var(--ink);
	color: var(--paper);
	min-width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	display: inline-grid;
	place-items: center;
	padding: 0 .3rem;
	transform: translateY(.1rem);
}
.cart-link:hover .cart-count { background: var(--ochre-deep); }

.nav-toggle {
	display: none;
	background: none;
	border: 1px solid var(--rule-strong);
	border-radius: 2px;
	font: inherit;
	color: inherit;
	padding: .45rem .8rem;
	cursor: pointer;
	align-items: center;
	gap: .5rem;
}
.nav-toggle-bar {
	width: 16px;
	height: 2px;
	background: currentColor;
	box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor;
}
.nav-toggle-label {
	font-size: .72rem;
	font-weight: 640;
	letter-spacing: .14em;
	text-transform: uppercase;
}

/* -------------------------------------------------------------- hero */
.hero {
	border-bottom: 1px solid var(--rule);
	background:
		/* faint exercise-book ruling */
		repeating-linear-gradient(
			to bottom,
			transparent 0,
			transparent calc(2.4rem - 1px),
			var(--rule-faint) calc(2.4rem - 1px),
			var(--rule-faint) 2.4rem
		),
		/* the red margin line */
		linear-gradient(to right,
			transparent 0,
			transparent calc(var(--gutter) + .5rem),
			rgba(192, 80, 60, .28) calc(var(--gutter) + .5rem),
			rgba(192, 80, 60, .28) calc(var(--gutter) + .5rem + 1px),
			transparent calc(var(--gutter) + .5rem + 1px)
		),
		var(--paper);
}

.hero-inner {
	max-width: var(--site-max);
	margin: 0 auto;
	padding: clamp(3.5rem, 8vw, 6.5rem) var(--gutter) clamp(3rem, 7vw, 5.5rem);
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}

.hero-title {
	font-size: clamp(2.7rem, 6.2vw, 4.9rem);
	font-weight: 600;
	margin-bottom: 1.4rem;
}
.hero-title .bi-af { font-size: .42em; }

.hero-lede {
	font-size: clamp(1.05rem, 1.6vw, 1.22rem);
	max-width: 46ch;
	color: var(--ink-soft);
	margin: 0 0 2.2rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* taped plates collage */
.hero-plates {
	position: relative;
	min-height: 320px;
	display: grid;
}
.plate {
	margin: 0;
	background: var(--paper-bright);
	padding: .9rem .9rem 1.1rem;
	border: 1px solid var(--rule);
	box-shadow: var(--shadow-plate);
}
.plate img { width: 100%; }
.plate-back {
	position: absolute;
	inset: 8% -2% auto auto;
	width: 62%;
	rotate: 2.5deg;
	opacity: .92;
}
.plate-front {
	position: relative;
	width: 84%;
	rotate: -2deg;
	z-index: 2;
	margin-top: 14%;
	transition: rotate .5s ease, translate .5s ease;
}
.hero-plates:hover .plate-front { rotate: -.6deg; translate: 0 -4px; }

.plate-tape {
	position: absolute;
	top: -12px;
	width: 86px;
	height: 26px;
	background: rgba(141, 156, 119, .5);
	border-left: 1px dashed rgba(255, 255, 255, .6);
	border-right: 1px dashed rgba(255, 255, 255, .6);
	z-index: 3;
}
.plate-tape-l { left: 6%; rotate: -4deg; }
.plate-tape-r { right: 6%; rotate: 5deg; }

.plate-caption {
	font-size: .72rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ink-mute);
	padding-top: .7rem;
	text-align: center;
}

.hero-annotation {
	position: absolute;
	bottom: -1.4rem;
	left: 4%;
	z-index: 3;
	font-family: var(--serif);
	font-style: italic;
	font-size: 1.25rem;
	color: var(--red-pen);
	rotate: -6deg;
}

/* ticker */
.ticker {
	border-top: 1px solid var(--rule);
	overflow: hidden;
	background: var(--paper-bright);
}
.ticker-track {
	display: flex;
	align-items: center;
	gap: 2.2rem;
	width: max-content;
	padding: .7rem 0;
	animation: ticker 36s linear infinite;
}
.ticker-track span {
	font-family: var(--serif);
	font-style: italic;
	font-size: .98rem;
	color: var(--ink-soft);
	white-space: nowrap;
}
.ticker-track i { color: var(--ochre); font-style: normal; font-size: .7rem; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ------------------------------------------------------------ buttons */
.btn {
	display: inline-block;
	font-family: var(--sans);
	font-size: .82rem;
	font-weight: 660;
	letter-spacing: .12em;
	text-transform: uppercase;
	text-decoration: none;
	padding: .95rem 1.7rem;
	border: 1.5px solid var(--ink);
	border-radius: 2px;
	transition: background .25s ease, color .25s ease, translate .2s ease, box-shadow .25s ease;
	cursor: pointer;
}
.btn em { text-transform: none; letter-spacing: .03em; }
.btn-solid { background: var(--ink); color: var(--paper-bright); }
.btn-solid:hover { background: var(--ochre-deep); border-color: var(--ochre-deep); color: var(--paper-bright); translate: 0 -2px; box-shadow: 0 10px 20px -12px rgba(146, 69, 15, .7); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper-bright); translate: 0 -2px; }
.btn-paper { border-color: var(--paper); color: var(--paper); background: transparent; }
.btn-paper:hover { background: var(--paper); color: var(--ink); }

/* -------------------------------------------------------------- bands */
.band {
	max-width: var(--site-max);
	margin: 0 auto;
	padding: clamp(3.2rem, 7vw, 5.5rem) var(--gutter);
}

.band-head {
	display: flex;
	align-items: baseline;
	gap: 1.4rem;
	margin-bottom: clamp(2rem, 4vw, 3rem);
	border-bottom: 2px solid var(--ink);
	padding-bottom: 1.1rem;
	position: relative;
}
.band-head::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -5px;
	border-bottom: 1px solid var(--ink);
}
.band-no {
	font-family: var(--serif);
	font-size: .95rem;
	font-weight: 500;
	color: var(--ochre);
	letter-spacing: .08em;
}
.band-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 0; }
.band-title .bi-af { display: inline; margin-left: .6em; font-size: .55em; }
.band-title .bi-en { display: inline; }
.band-more {
	margin-left: auto;
	font-size: .8rem;
	font-weight: 660;
	letter-spacing: .12em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--ink-soft);
	white-space: nowrap;
}
.band-more:hover { color: var(--ochre-deep); }

/* ------------------------------------------------------- shelf cards */
.shelf-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.1rem;
}
.shelf-card {
	position: relative;
	background: var(--paper-bright);
	border: 1px solid var(--rule);
	border-top: 3px solid var(--ink);
	padding: 1.4rem 1.3rem 3.4rem;
	text-decoration: none;
	display: flex;
	flex-direction: column;
	gap: .55rem;
	transition: translate .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.shelf-card:nth-child(4n+1) { border-top-color: var(--ink); }
.shelf-card:nth-child(4n+2) { border-top-color: var(--ochre); }
.shelf-card:nth-child(4n+3) { border-top-color: var(--sage); }
.shelf-card:nth-child(4n+4) { border-top-color: var(--red-pen); }
.shelf-card:hover { translate: 0 -5px; box-shadow: var(--shadow-card); }
.shelf-no {
	font-family: var(--serif);
	font-size: .85rem;
	color: var(--ink-mute);
}
.shelf-name {
	font-family: var(--serif);
	font-size: 1.35rem;
	font-weight: 580;
	line-height: 1.15;
}
.shelf-count {
	font-size: .74rem;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ink-mute);
}
.shelf-arrow {
	position: absolute;
	bottom: 1.1rem;
	right: 1.2rem;
	font-size: 1.2rem;
	transition: translate .25s ease;
}
.shelf-card:hover .shelf-arrow { translate: 6px 0; color: var(--ochre-deep); }

/* ---------------------------------------------------- publication grid */
.pub-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem 1.6rem;
}
.pub-card { min-width: 0; }
.pub-link { text-decoration: none; display: block; }

.pub-cover {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border: 1px solid var(--rule);
	background: var(--paper-deep);
	margin-bottom: 1rem;
	position: relative;
}
.pub-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: scale .6s cubic-bezier(.2, .8, .2, 1);
}
.pub-link:hover .pub-cover img { scale: 1.045; }

.pub-meta {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	font-size: .72rem;
	font-weight: 640;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--ink-mute);
	border-bottom: 1px solid var(--rule);
	padding-bottom: .55rem;
	margin-bottom: .65rem;
}
.pub-price { color: var(--ochre-deep); white-space: nowrap; }
.pub-price .woocommerce-Price-amount { font-family: var(--serif); font-size: 1.05rem; letter-spacing: 0; }
.price-free { font-family: var(--serif); font-style: italic; font-size: .95rem; letter-spacing: .02em; text-transform: none; }

.pub-title {
	font-size: 1.28rem;
	margin: 0 0 .35rem;
	transition: color .2s ease;
}
.pub-link:hover .pub-title { color: var(--ochre-deep); }
.pub-blurb {
	font-size: .92rem;
	color: var(--ink-soft);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* typographic covers for unphotographed products */
.typo-cover {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 1.1rem 1.2rem;
	background:
		repeating-linear-gradient(
			to bottom,
			transparent 0,
			transparent calc(1.6rem - 1px),
			rgba(255, 255, 255, .14) calc(1.6rem - 1px),
			rgba(255, 255, 255, .14) 1.6rem
		);
}
.typo-cover.tint-sage  { background-color: var(--sage); color: #f8f6ec; }
.typo-cover.tint-ochre { background-color: var(--ochre); color: #fdf3e4; }
.typo-cover.tint-ink   { background-color: var(--ink); color: var(--paper); }
.typo-cover-rule { display: block; width: 2.4rem; border-top: 3px solid currentColor; }
.typo-cover-cat {
	font-size: .62rem;
	font-weight: 700;
	letter-spacing: .2em;
	text-transform: uppercase;
	opacity: .85;
	margin-top: .8rem;
}
.typo-cover-title {
	font-family: var(--serif);
	font-size: clamp(1.05rem, 1.6vw, 1.4rem);
	font-weight: 580;
	line-height: 1.16;
	flex: 1;
	display: flex;
	align-items: center;
	text-wrap: balance;
}
.typo-cover-press {
	font-size: .6rem;
	letter-spacing: .18em;
	text-transform: uppercase;
	opacity: .7;
}

/* --------------------------------------------------------- idiom band */
.band-idiom {
	max-width: none;
	background: var(--ink);
	color: var(--paper);
	border-block: 1px solid var(--ink);
}
.idiom-inner {
	max-width: var(--site-max);
	margin: 0 auto;
	text-align: center;
	padding: clamp(1rem, 2vw, 2rem) var(--gutter);
	position: relative;
}
.idiom-inner::before,
.idiom-inner::after {
	content: "\201C";
	position: absolute;
	font-family: var(--serif);
	font-size: clamp(7rem, 14vw, 12rem);
	line-height: 1;
	color: rgba(246, 241, 229, .12);
	pointer-events: none;
}
.idiom-inner::before { top: -1rem; left: var(--gutter); }
.idiom-inner::after { content: "\201D"; bottom: -4rem; right: var(--gutter); }
.idiom-en {
	font-family: var(--serif);
	font-size: clamp(2.1rem, 5vw, 3.8rem);
	font-weight: 560;
	letter-spacing: -.01em;
	margin: 0 0 .4rem;
}
.idiom-af {
	font-family: var(--serif);
	font-style: italic;
	font-size: clamp(1.15rem, 2.4vw, 1.7rem);
	color: var(--sage);
	margin: 0 0 2rem;
}
.band-idiom .kicker { color: rgba(246, 241, 229, .65); }

/* ------------------------------------------------------ reading rooms */
.room-list { display: flex; flex-direction: column; }
.room {
	display: flex;
	align-items: baseline;
	gap: 1.6rem;
	padding: 1.5rem .4rem;
	text-decoration: none;
	border-bottom: 1px solid var(--rule);
	transition: background .25s ease, padding .25s ease;
}
.room:first-child { border-top: 1px solid var(--rule); }
.room:hover { background: var(--paper-bright); padding-left: 1rem; }
.room-no {
	font-family: var(--serif);
	font-style: italic;
	font-size: 1rem;
	color: var(--ochre);
	min-width: 2rem;
}
.room-body { flex: 1; min-width: 0; }
.room-name { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 560; }
.room-name .bi-en { display: inline; }
.room-name .bi-af { display: inline; margin-left: .5em; font-size: .6em; }
.room-desc {
	display: block;
	font-size: .9rem;
	color: var(--ink-mute);
	margin-top: .3rem;
}
.room-arrow { font-size: 1.4rem; transition: translate .25s ease; }
.room:hover .room-arrow { translate: 8px 0; color: var(--ochre-deep); }

/* -------------------------------------------------------------- credo */
.band-credo { text-align: center; padding-top: clamp(2rem, 5vw, 4rem); }
.credo-quote {
	font-family: var(--serif);
	font-size: clamp(1.7rem, 4vw, 3rem);
	font-weight: 520;
	font-style: italic;
	max-width: 24ch;
	margin: 0 auto .8rem;
	text-wrap: balance;
}
.credo-trans { font-size: 1.02rem; color: var(--ink-soft); margin: 0 0 1.4rem; }
.credo-by {
	font-size: .76rem;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--ink-mute);
	margin: 0;
}
.credo-by em { text-transform: none; letter-spacing: .04em; }

/* ---------------------------------------------------------- page head */
.page-head {
	max-width: var(--site-max);
	margin: 0 auto;
	padding: clamp(2.6rem, 6vw, 4.5rem) var(--gutter) 0;
}
.page-title { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 18ch; }
.page-lede-sub {
	color: var(--ink-soft);
	font-size: 1.05rem;
	max-width: 56ch;
	margin: .4rem 0 0;
}

/* -------------------------------------------------------------- prose */
.prose-wrap {
	max-width: var(--site-max);
	margin: 0 auto;
	padding: clamp(1.6rem, 3.5vw, 2.8rem) var(--gutter) clamp(3.5rem, 7vw, 5.5rem);
}
/* Body text keeps a readable measure; the whole column sits centered. */
.prose { max-width: none; }
.prose > * { margin-block: 1.1em; margin-inline: auto; max-width: var(--measure); }
.prose > .wp-block-image,
.prose > .poem-sheet { max-width: min(58rem, 100%); }
.prose > .idiom-week-list { max-width: min(74rem, 100%); }
.prose h2 {
	font-size: clamp(1.5rem, 2.8vw, 2.1rem);
	margin-top: 2.2em;
	padding-top: 1.1em;
	border-top: 1px solid var(--rule);
}
.prose a { color: var(--ochre-deep); }
.prose .page-lede {
	font-family: var(--serif);
	font-size: clamp(1.15rem, 2vw, 1.45rem);
	font-weight: 460;
	line-height: 1.5;
	color: var(--ink-soft);
	max-width: 52ch;
}

/* poem scans displayed as taped plates */
.prose .poem-sheet {
	background: var(--paper-bright);
	border: 1px solid var(--rule);
	padding: 1rem;
	box-shadow: var(--shadow-plate);
	margin-block: 1.6em 2.6em;
	position: relative;
}
.prose .poem-sheet::before {
	content: "";
	position: absolute;
	top: -12px;
	left: 50%;
	translate: -50% 0;
	width: 96px;
	height: 24px;
	background: rgba(141, 156, 119, .45);
	border-left: 1px dashed rgba(255, 255, 255, .6);
	border-right: 1px dashed rgba(255, 255, 255, .6);
}
.prose .poem-sheet:nth-of-type(odd) { rotate: -.4deg; }
.prose .poem-sheet:nth-of-type(even) { rotate: .4deg; }

/* idiom ledger on the idioms page */
.idiom-week-list {
	list-style: none;
	counter-reset: week;
	margin: 1.6em 0;
	padding: 0;
	border-top: 2px solid var(--ink);
}
.idiom-week-list li {
	counter-increment: week;
	display: grid;
	grid-template-columns: 4.4rem 1fr 1fr;
	gap: 1rem;
	align-items: baseline;
	padding: .95rem .2rem;
	border-bottom: 1px solid var(--rule);
}
.idiom-week-list li::before {
	content: "wk " counter(week, decimal-leading-zero);
	font-size: .72rem;
	font-weight: 660;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--ochre);
}
.idiom-week-list .idiom-en { font-family: var(--serif); font-size: 1.12rem; font-weight: 540; }
.idiom-week-list .idiom-af { font-family: var(--serif); font-style: italic; color: var(--ink-soft); }

/* ---------------------------------------------------------- note list */
.note-list { max-width: var(--measure); }
.note-item { border-bottom: 1px solid var(--rule); }
.note-link { display: block; text-decoration: none; padding: 1.4rem .2rem; }
.note-date { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
.note-title { font-size: 1.4rem; margin: .3rem 0; }
.note-link:hover .note-title { color: var(--ochre-deep); }
.note-excerpt { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* ---------------------------------------------------------------- 404 */
.lost {
	max-width: var(--site-max);
	margin: 0 auto;
	padding: clamp(4rem, 10vw, 8rem) var(--gutter);
	text-align: center;
}
.lost-mark {
	font-family: var(--serif);
	font-size: clamp(4rem, 9vw, 7rem);
	color: var(--red-pen);
	margin: 0;
	line-height: 1;
	rotate: -8deg;
	display: inline-block;
}
.lost-title { font-size: clamp(2rem, 5vw, 3.4rem); margin-top: 1rem; }
.lost-note { color: var(--ink-soft); }
.lost-note a { color: var(--ochre-deep); }

/* ------------------------------------------------------- woocommerce */
.shop-wrap {
	max-width: var(--site-max);
	margin: 0 auto;
	padding: clamp(1.8rem, 4vw, 3rem) var(--gutter) clamp(3.5rem, 7vw, 5.5rem);
}

.woocommerce-breadcrumb {
	font-size: .74rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ink-mute);
	margin-bottom: 1.2rem;
}
.woocommerce-breadcrumb a { text-decoration: none; color: inherit; }
.woocommerce-breadcrumb a:hover { color: var(--ochre-deep); }

.woocommerce-result-count { color: var(--ink-mute); font-size: .85rem; float: none; margin: 0; }
.woocommerce-ordering { float: none; margin: 0; }
.woocommerce-ordering select {
	font: inherit;
	font-size: .85rem;
	background: var(--paper-bright);
	border: 1px solid var(--rule-strong);
	border-radius: 2px;
	padding: .45rem .7rem;
	color: var(--ink);
}
.woocommerce-notices-wrapper:empty { display: none; }

/* shop toolbar */
.shop-wrap-archive .woocommerce-result-count,
.shop-wrap-archive .woocommerce-ordering {
	display: inline-block;
	vertical-align: middle;
}
.shop-wrap-archive .woocommerce-ordering { float: right; margin-bottom: 1.6rem; }

/* product loop — mirror .pub-grid */
ul.products {
	list-style: none;
	margin: 1.4rem 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2.2rem 1.6rem;
}
ul.products li.product { position: relative; min-width: 0; }

ul.products li.product a.woocommerce-LoopProduct-link { text-decoration: none; display: block; }

ul.products li.product img,
ul.products li.product .typo-cover-holder {
	aspect-ratio: 4 / 3;
	width: 100%;
	object-fit: cover;
	border: 1px solid var(--rule);
	background: var(--paper-deep);
	transition: scale .5s cubic-bezier(.2, .8, .2, 1);
	margin-bottom: .9rem;
}
ul.products li.product .typo-cover {
	position: relative;
	aspect-ratio: 4 / 3;
	border: 1px solid var(--rule);
	margin-bottom: .9rem;
}
ul.products li.product:hover img { scale: 1.02; }

ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--serif);
	font-size: 1.26rem;
	font-weight: 560;
	padding: 0;
	margin: 0 0 .3rem;
	line-height: 1.2;
}
ul.products li.product:hover .woocommerce-loop-product__title { color: var(--ochre-deep); }

ul.products li.product .price {
	display: block;
	font-family: var(--serif);
	color: var(--ochre-deep);
	font-size: 1.02rem;
	margin-bottom: .8rem;
}
ul.products li.product .price del { opacity: .5; margin-right: .5em; }

ul.products li.product .button {
	display: inline-block;
	font-size: .76rem;
	font-weight: 660;
	letter-spacing: .12em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--ink);
	background: transparent;
	border: 1.5px solid var(--ink);
	border-radius: 2px;
	padding: .6rem 1.1rem;
	transition: background .25s ease, color .25s ease;
	cursor: pointer;
}
ul.products li.product .button:hover { background: var(--ink); color: var(--paper-bright); }
ul.products li.product .button.added { display: none; }
ul.products li.product .added_to_cart {
	display: inline-block;
	font-size: .76rem;
	font-weight: 660;
	letter-spacing: .12em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--paper-bright);
	background: var(--ink);
	border: 1.5px solid var(--ink);
	border-radius: 2px;
	padding: .6rem 1.1rem;
}

.onsale {
	position: absolute;
	top: .8rem;
	left: .8rem;
	z-index: 2;
	background: var(--red-pen);
	color: var(--paper-bright);
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	padding: .35rem .7rem;
	rotate: -3deg;
}

/* single product */
.shop-wrap-single div.product {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}
.shop-wrap-single div.product .woocommerce-product-gallery,
.shop-wrap-single div.product > .typo-cover {
	position: relative;
	border: 1px solid var(--rule);
	background: var(--paper-bright);
	padding: .8rem;
	box-shadow: var(--shadow-plate);
	rotate: -.5deg;
}
.shop-wrap-single div.product > .typo-cover { position: relative; aspect-ratio: 4/3; }
.shop-wrap-single .woocommerce-product-gallery img { width: 100%; }

.shop-wrap-single .summary { padding-top: .4rem; }
.shop-wrap-single .product_title {
	font-size: clamp(1.9rem, 4vw, 3rem);
	margin-bottom: .6rem;
}
.shop-wrap-single .summary .price {
	font-family: var(--serif);
	font-size: 1.7rem;
	color: var(--ochre-deep);
	margin: 0 0 1.2rem;
}
.shop-wrap-single .woocommerce-product-details__short-description {
	font-size: 1.05rem;
	color: var(--ink-soft);
	border-top: 1px solid var(--rule);
	padding-top: 1.2rem;
	max-width: 52ch;
}
.shop-wrap-single form.cart { margin: 1.6rem 0; display: flex; gap: .8rem; align-items: stretch; }
.shop-wrap-single form.cart .quantity .qty {
	font: inherit;
	width: 4.2rem;
	padding: .8rem .6rem;
	text-align: center;
	background: var(--paper-bright);
	border: 1.5px solid var(--ink);
	border-radius: 2px;
}
.shop-wrap-single form.cart .single_add_to_cart_button,
.woocommerce button.button.alt {
	font-family: var(--sans);
	font-size: .84rem;
	font-weight: 680;
	letter-spacing: .12em;
	text-transform: uppercase;
	background: var(--ink);
	color: var(--paper-bright);
	border: 1.5px solid var(--ink);
	border-radius: 2px;
	padding: .95rem 1.8rem;
	cursor: pointer;
	transition: background .25s ease, border-color .25s ease;
}
.shop-wrap-single form.cart .single_add_to_cart_button:hover,
.woocommerce button.button.alt:hover { background: var(--ochre-deep); border-color: var(--ochre-deep); }

.shop-wrap-single .product_meta {
	font-size: .78rem;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ink-mute);
	border-top: 1px solid var(--rule);
	padding-top: 1rem;
	display: flex;
	flex-direction: column;
	gap: .3rem;
}
.shop-wrap-single .product_meta a { color: var(--ochre-deep); text-decoration: none; }

/* tabs */
.woocommerce-tabs { grid-column: 1 / -1; margin-top: clamp(2rem, 4vw, 3rem); }
.woocommerce-tabs ul.tabs {
	list-style: none;
	display: flex;
	gap: 1.8rem;
	margin: 0 0 1.4rem;
	padding: 0 0 .7rem;
	border-bottom: 2px solid var(--ink);
}
.woocommerce-tabs ul.tabs a {
	font-size: .8rem;
	font-weight: 660;
	letter-spacing: .12em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--ink-mute);
}
.woocommerce-tabs ul.tabs li.active a { color: var(--ink); border-bottom: 2px solid var(--ochre); padding-bottom: .76rem; }
.woocommerce-tabs .panel h2:first-child { display: none; }
.woocommerce-tabs .panel { max-width: var(--measure); }

/* related */
.related.products { grid-column: 1 / -1; margin-top: clamp(2.5rem, 5vw, 4rem); }
.related.products > h2 {
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	border-bottom: 2px solid var(--ink);
	padding-bottom: .8rem;
	margin-bottom: 1.6rem;
}

/* notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	list-style: none;
	background: var(--paper-bright);
	border: 1px solid var(--rule);
	border-left: 4px solid var(--sage);
	padding: 1rem 1.3rem;
	margin: 0 0 1.6rem;
	font-size: .95rem;
}
.woocommerce-info { border-left-color: var(--ochre); }
.woocommerce-error { border-left-color: var(--red-pen); }
.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
	float: right;
	font-weight: 660;
	font-size: .76rem;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--ochre-deep);
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

/* forms (account, checkout fallbacks) */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-page form input[type="text"],
.woocommerce-page form input[type="email"],
.woocommerce-page form input[type="tel"],
.woocommerce-page form input[type="password"] {
	font: inherit;
	background: var(--paper-bright);
	border: 1px solid var(--rule-strong);
	border-radius: 2px;
	padding: .7rem .9rem;
	color: var(--ink);
	width: 100%;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce-page form input:focus { outline: 2px solid var(--ochre); outline-offset: 1px; border-color: var(--ochre); }

/* block cart/checkout cohesion */
.wc-block-components-button:not(.is-link) {
	background: var(--ink) !important;
	color: var(--paper-bright) !important;
	border-radius: 2px !important;
	font-family: var(--sans) !important;
	letter-spacing: .1em;
	text-transform: uppercase;
	font-size: .84rem !important;
	font-weight: 680 !important;
}
.wc-block-components-button:not(.is-link):hover { background: var(--ochre-deep) !important; }

/* ------------------------------------------------------------ footer */
.colophon {
	background: var(--ink);
	color: var(--paper);
	margin-top: clamp(2rem, 5vw, 4rem);
}
.colophon a { color: inherit; text-decoration: none; opacity: .85; }
.colophon a:hover { opacity: 1; color: var(--paper); text-decoration: underline; text-decoration-color: var(--ochre); }

.colophon-inner {
	max-width: var(--site-max);
	margin: 0 auto;
	padding: clamp(3rem, 6vw, 5rem) var(--gutter) clamp(2rem, 4vw, 3rem);
	display: grid;
	grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2.4fr));
	gap: 2.5rem;
}

.colophon-word {
	font-family: var(--serif);
	font-size: clamp(2.2rem, 4vw, 3.2rem);
	font-weight: 600;
	line-height: .98;
	letter-spacing: -.02em;
	margin: 0 0 1.2rem;
}
.colophon-mission {
	font-size: .95rem;
	color: rgba(246, 241, 229, .72);
	max-width: 34ch;
	margin: 0;
}

.colophon-h {
	font-family: var(--sans);
	font-size: .72rem;
	font-weight: 680;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--sage);
	margin: .4rem 0 1.1rem;
}
.colophon-h em { text-transform: none; letter-spacing: .05em; }
.colophon-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: .55rem;
	font-size: .92rem;
}

.colophon-base {
	border-top: 1px solid rgba(246, 241, 229, .18);
	max-width: var(--site-max);
	margin: 0 auto;
	padding: 1.3rem var(--gutter) 1.6rem;
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
	font-size: .78rem;
	letter-spacing: .08em;
	color: rgba(246, 241, 229, .6);
}
.colophon-base p { margin: 0; }

/* ------------------------------------------------------------ reveals */
[data-reveal] {
	opacity: 0;
	translate: 0 22px;
	transition: opacity .7s ease, translate .7s ease;
	transition-delay: calc(var(--reveal-i, 0) * 90ms);
}
[data-reveal].is-in { opacity: 1; translate: 0 0; }
.no-js [data-reveal] { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
	[data-reveal] { opacity: 1; translate: 0 0; transition: none; }
}

/* --------------------------------------------------------- responsive */
@media (min-width: 1400px) {
	/* Big desktops: four-up shop grid, larger base type. */
	ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	body { font-size: 1.125rem; }
}

@media (max-width: 1100px) {
	.shelf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pub-grid, ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--paper-bright);
		border-bottom: 1px solid var(--rule);
		box-shadow: 0 24px 40px -24px rgba(28, 43, 34, .45);
	}
	body.nav-open .site-nav { display: block; }
	.nav-list { flex-direction: column; gap: 0; padding: .6rem var(--gutter) 1rem; }
	.nav-list a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--rule-faint); font-size: .95rem; }
	.hero-inner { grid-template-columns: 1fr; }
	.hero-plates { max-width: 30rem; }
	.shop-wrap-single div.product { grid-template-columns: 1fr; }
	.colophon-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
	body { font-size: 1rem; }
	.brand-tag { display: none; }
	.cart-word { display: none; }
	.shelf-grid { grid-template-columns: 1fr; }
	.pub-grid, ul.products { grid-template-columns: 1fr; }
	.idiom-week-list li { grid-template-columns: 3.6rem 1fr; }
	.idiom-week-list .idiom-af { grid-column: 2; }
	.room { gap: .9rem; }
	.colophon-inner { grid-template-columns: 1fr; gap: 2rem; }
	.hero-annotation { display: none; }
}
