/* ==========================================================================
   Gilt Noir
   Graphite ground, ivory type, one metal. Covers are the jewels; everything
   else stays quiet so they read first.
   ========================================================================== */

:root {
	--bg: #0e1013;
	--bg-2: #14171c;
	--bg-3: #1c2027;
	--line: rgba(236, 231, 222, 0.1);
	--line-2: rgba(236, 231, 222, 0.18);
	--ink: #ece7de;
	--ink-2: #aaa59c;
	--ink-3: #77736c;

	/* Overridden from the Customizer. */
	--metal: #c9a45c;
	--metal-soft: #e9d6a6;
	--metal-deep: #7d5f27;
	--metal-grad: linear-gradient(115deg, #7d5f27 0%, #c9a45c 22%, #f4e3b2 38%, #b38a3f 54%, #e8cf8f 72%, #8a6a2e 100%);

	--display: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
	--sans: "Manrope", "Helvetica Neue", Arial, sans-serif;

	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--block: clamp(64px, 9vw, 120px);
	--radius: 2px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* Base ------------------------------------------------------------------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background-color: var(--bg);
	background-image:
		radial-gradient(1200px 700px at 78% -10%, rgba(255, 255, 255, 0.045), transparent 60%),
		radial-gradient(900px 600px at -10% 40%, rgba(255, 255, 255, 0.025), transparent 60%),
		var(--texture-image, none);
	background-attachment: fixed, fixed, scroll;
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.65;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

/* Film grain over everything. Pure SVG, no image request. */
body::after {
	content: "";
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 100;
	opacity: 0;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
	mix-blend-mode: overlay;
}
body.texture-subtle::after { opacity: 0.22; }
body.texture-strong::after { opacity: 0.45; }

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

a { color: var(--ink); text-decoration-color: var(--metal); text-decoration-thickness: 1px; text-underline-offset: 0.22em; transition: color .2s; }
a:hover { color: var(--metal-soft); }

:focus-visible { outline: 2px solid var(--metal-soft); outline-offset: 3px; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.08; margin: 0 0 .5em; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
p { margin: 0 0 1em; }

.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; padding: 10px 16px; background: var(--ink); color: var(--bg); }
.skip-link:focus { top: 12px; }

.site-main:focus { outline: none; }

/* Layout ---------------------------------------------------------------- */

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: calc(760px + var(--gutter) * 2); }
.wrap--prose { max-width: calc(700px + var(--gutter) * 2); }

.block { position: relative; padding: var(--block) 0; }
.block--tight { padding: calc(var(--block) * .55) 0; }
.block--compact { padding: calc(var(--block) * .7) 0; }
/* On the front page the bands already separate blocks, so blocks touching a band breathe less */
.band + .block { padding-top: calc(var(--block) * .55); }
.block:has(+ .band) { padding-bottom: calc(var(--block) * .55); }

.block__head { margin-bottom: clamp(32px, 5vw, 56px); max-width: 720px; }
.block__head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

.block__title { font-size: clamp(34px, 4.6vw, 58px); }
.block__title::after {
	content: "";
	display: block;
	width: 56px;
	height: 1px;
	margin-top: .45em;
	background: var(--metal-grad);
}
.page-head--center .block__title::after,
.arc-call .block__title::after { margin-left: auto; margin-right: auto; }
.block__title--small { font-size: clamp(26px, 3vw, 36px); }

.block__lede { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 62ch; }
.block__lede p:last-child { margin-bottom: 0; }

.kicker { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .08em; color: var(--metal); margin: 0 0 18px; }

.text-link { font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--metal); }
.text-link:hover { color: var(--ink); }

.empty { color: var(--ink-2); }
.admin-hint { font-size: 14px; color: var(--ink-3); border: 1px dashed var(--line-2); padding: 10px 14px; display: inline-block; }

.crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 22px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--metal-soft); }
.crumbs span { margin: 0 .4em; }

/* Metal text, used sparingly */
.metal-text, .brand__name {
	background: var(--metal-grad);
	background-size: 220% 100%;
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* Buttons --------------------------------------------------------------- */

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.actions--center { justify-content: center; }

.btn {
	--pad: 15px 28px;
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: var(--pad);
	font-family: var(--sans);
	font-size: 15px;
	font-weight: 600;
	letter-spacing: .02em;
	line-height: 1.2;
	text-decoration: none;
	border-radius: var(--radius);
	cursor: pointer;
	transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-position .6s var(--ease), color .2s;
}
.btn--small { --pad: 10px 16px; min-height: 40px; font-size: 13.5px; }

.btn--metal {
	color: #16120a;
	background: var(--metal-grad);
	background-size: 220% 100%;
	background-position: 0% 0;
	box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 10px 30px -12px rgba(0, 0, 0, .8);
}
.btn--metal:hover { color: #16120a; background-position: 100% 0; transform: translateY(-1px); }

/* Gradient hairline border without border-image (keeps the radius) */
.btn--line {
	color: var(--ink);
	background:
		linear-gradient(var(--bg), var(--bg)) padding-box,
		var(--metal-grad) border-box;
	border: 1px solid transparent;
}
.btn--line:hover { color: var(--metal-soft); background: linear-gradient(var(--bg-3), var(--bg-3)) padding-box, var(--metal-grad) border-box; }

.btn--quiet { color: var(--ink-2); padding-left: 0; padding-right: 0; text-decoration: underline; text-decoration-color: var(--metal); }

/* Header ---------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	transition: background .35s var(--ease), border-color .35s var(--ease), backdrop-filter .35s;
	border-bottom: 1px solid transparent;
}
.site-header.is-scrolled,
body:not(.home) .site-header {
	background: rgba(14, 16, 19, .82);
	-webkit-backdrop-filter: blur(14px) saturate(120%);
	backdrop-filter: blur(14px) saturate(120%);
	border-bottom-color: var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.site-header__inner {
	max-width: calc(var(--wrap) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 18px var(--gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.brand__name {
	font-family: var(--display);
	font-size: 26px;
	font-weight: 500;
	letter-spacing: .02em;
	text-decoration: none;
	white-space: nowrap;
}
.brand__name:hover { color: transparent; }
.custom-logo { max-height: 56px; width: auto; }

.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(18px, 2.6vw, 36px); align-items: center; }
.nav__list a {
	position: relative;
	font-size: 15px;
	font-weight: 500;
	color: var(--ink-2);
	text-decoration: none;
	padding: 6px 0;
}
.nav__list a::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 1px;
	background: var(--metal-grad);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s var(--ease);
}
.nav__list a:hover, .nav__list .current-menu-item > a, .nav__list .current_page_item > a, .nav__list .current-menu-ancestor > a { color: var(--ink); }
.nav__list a:hover::after, .nav__list .current-menu-item > a::after, .nav__list .current_page_item > a::after { transform: scaleX(1); }
.nav__list a.is-external { display: inline-flex; align-items: center; }
.nav__list a.is-external::before { content: "↗"; order: 2; margin-left: 5px; font-size: 11px; color: var(--metal); }

/* Dropdowns */
.nav__list li { position: relative; }
.nav__list .sub-menu {
	list-style: none; margin: 0; padding: 10px 0;
	position: absolute; top: 100%; left: -16px; min-width: 220px;
	background: var(--bg-2); border: 1px solid var(--line);
	opacity: 0; visibility: hidden; transform: translateY(6px);
	transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__list .sub-menu a { display: block; padding: 8px 16px; }
.nav__list .sub-menu a::after { display: none; }
.nav__list li:hover > .sub-menu, .nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }

.nav-toggle { display: none; }

@media (max-width: 860px) {
	.nav-toggle {
		display: inline-flex; align-items: center; gap: 10px;
		background: none; border: 0; color: var(--ink); font: 600 14px var(--sans);
		padding: 8px 0; cursor: pointer; position: relative; z-index: 60;
	}
	.nav-toggle__bars { display: grid; gap: 6px; width: 22px; }
	.nav-toggle__bars span { height: 1px; background: var(--metal); transition: transform .3s var(--ease); }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child { transform: translateY(3.5px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

	.nav {
		position: fixed; inset: 0; z-index: 55;
		background: rgba(14, 16, 19, .97);
		display: flex; align-items: center; justify-content: center;
		opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
	}
	.nav.is-open { opacity: 1; visibility: visible; }
	.nav__list { flex-direction: column; gap: 22px; text-align: center; }
	.nav__list a { font-family: var(--display); font-size: 30px; color: var(--ink); }
	.nav__list .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; padding: 8px 0 0; }
	.nav__list .sub-menu a { font-size: 20px; color: var(--ink-2); }
	body.nav-open { overflow: hidden; }
}

/* Covers ---------------------------------------------------------------- */

.cover {
	position: relative;
	display: block;
	aspect-ratio: 2 / 3;
	background: var(--bg-3);
	border-radius: 1px 3px 3px 1px;
	overflow: hidden;
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, .04),
		0 30px 60px -25px rgba(0, 0, 0, .95),
		0 12px 24px -12px rgba(0, 0, 0, .8);
}
.cover__img { width: 100%; height: 100%; object-fit: cover; }

/* The bound edge: a soft crease near the left, like a real paperback */
.cover__spine {
	position: absolute; inset: 0 auto 0 0; width: 7%;
	background: linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(255,255,255,.12) 38%, rgba(0,0,0,.18) 62%, transparent 100%);
	pointer-events: none;
}
/* A faint diagonal light across the cover */
.cover__sheen {
	position: absolute; inset: 0;
	background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.09) 45%, transparent 60%);
	background-size: 250% 100%;
	background-position: 120% 0;
	transition: background-position 1.1s var(--ease);
	pointer-events: none;
}

.cover__blank {
	position: absolute; inset: 0;
	display: flex; flex-direction: column; justify-content: space-between; align-items: center;
	padding: 18% 12% 12%;
	text-align: center;
	background:
		linear-gradient(var(--bg-3), var(--bg-3)) padding-box,
		var(--metal-grad) border-box;
	border: 1px solid transparent;
}
.cover__blank-title { font-family: var(--display); font-size: clamp(18px, 2.2vw, 30px); line-height: 1.1; }
.cover__blank-author { font-size: 12px; letter-spacing: .14em; color: var(--metal); }

.cover-link { display: block; }

/* The stage: a spotlight from above, the cover, and a metal plinth.
   This is the one loud thing on the site. */
.stage {
	position: relative;
	width: min(100%, 440px);
	margin: 0 auto;
	padding: 40px 0 0;
	perspective: 1600px;
}
.stage__light {
	position: absolute;
	left: 50%; top: -14%;
	width: 160%; height: 115%;
	transform: translateX(-50%);
	background: radial-gradient(ellipse 50% 55% at 50% 30%, rgba(255, 246, 225, .14), rgba(255, 246, 225, .05) 45%, transparent 72%);
	pointer-events: none;
	filter: blur(2px);
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%);
	mask-image: linear-gradient(180deg, transparent 0%, #000 35%);
}
.stage__cover {
	position: relative;
	display: block;
	transform: rotateY(-9deg) rotateX(2deg);
	transform-origin: 40% 50%;
	transition: transform .9s var(--ease);
	z-index: 1;
}
.stage__cover .cover {
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, .05),
		-28px 50px 70px -30px rgba(0, 0, 0, .95),
		0 30px 50px -20px rgba(0, 0, 0, .9);
}
.stage:hover .stage__cover { transform: rotateY(-3deg) rotateX(1deg); }
.stage:hover .cover__sheen { background-position: -20% 0; }

.stage__plinth {
	position: relative;
	display: block;
	height: 1px;
	margin: 26px -10% 0;
	background: var(--metal-grad);
	opacity: .9;
}
.stage__plinth::after {
	content: "";
	position: absolute; left: 10%; right: 10%; top: 0; height: 60px;
	background: radial-gradient(ellipse 50% 100% at 50% 0%, color-mix(in srgb, var(--metal) 22%, transparent), transparent 70%);
}

/* Featured hero --------------------------------------------------------- */

.hero-book { padding-top: clamp(32px, 6vw, 80px); overflow: hidden; }
.hero-book__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(40px, 7vw, 110px);
	align-items: center;
}
.hero-book__title, .book-hero__title {
	font-size: clamp(46px, 7.4vw, 104px);
	line-height: .98;
	font-weight: 500;
	margin-bottom: .22em;
}
.hero-book__title a { color: inherit; text-decoration: none; }
.hero-book__title a:hover { color: var(--metal-soft); }

.hero-book__series { font-family: var(--display); font-style: italic; font-size: clamp(19px, 1.8vw, 23px); color: var(--metal); margin-bottom: 20px; }
.hero-book__tagline { font-size: clamp(18px, 1.7vw, 21px); color: var(--ink); max-width: 36ch; margin-bottom: 26px; }
.book-hero__subtitle { font-family: var(--display); font-style: italic; font-size: clamp(22px, 2.4vw, 30px); color: var(--ink-2); margin: -.1em 0 .5em; }

.hero-book__empty { text-align: center; padding: 10vh 0; color: var(--ink-2); }
.hero-book__empty-title { font-family: var(--display); font-size: clamp(48px, 8vw, 110px); line-height: 1; margin-bottom: 24px; }
.hero-book__empty-title { background: var(--metal-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.tropes { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tropes li, .tropes a {
	font-size: 13px;
	font-weight: 500;
	color: var(--ink-2);
	text-decoration: none;
}
.tropes li { border: 1px solid var(--line-2); padding: 5px 11px; border-radius: 40px; }
.tropes a:hover { color: var(--metal-soft); }

.facts { display: flex; flex-wrap: wrap; gap: 14px 36px; margin: 0; padding: 20px 0 0; border-top: 1px solid var(--line); max-width: 560px; }
.facts__item { min-width: 0; }
.facts dt { font-size: 12.5px; color: var(--ink-3); margin-bottom: 2px; }
.facts dd { margin: 0; font-size: 15px; color: var(--ink); }

.heat { display: inline-flex; gap: 4px; vertical-align: middle; }
.heat__mark { width: 9px; height: 9px; transform: rotate(45deg); border: 1px solid var(--metal); opacity: .5; }
.heat__mark.is-on { background: var(--metal-grad); opacity: 1; }

.ku-note { margin-top: 14px; font-size: 14px; color: var(--ink-3); }

@media (max-width: 900px) {
	.hero-book__grid, .book-hero__grid { grid-template-columns: 1fr; }
	.stage { width: min(72%, 340px); }
	.hero-book__text, .book-hero__text { text-align: left; }
}

/* Parallax bands -------------------------------------------------------- */

.band {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	isolation: isolate;
}
.band--short { min-height: 28vh; }
.band--medium { min-height: 48vh; }
.band--tall { min-height: 72vh; }
.band--plain.band--short { min-height: 14vh; }
.band--plain.band--medium { min-height: 22vh; }
.band--plain.band--tall { min-height: 34vh; }

.band__media { position: absolute; left: 0; right: 0; top: -20%; height: 140%; z-index: -2; will-change: transform; }
.band__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) contrast(1.05); }

/* Fade the image into the page above and below, and darken it for text */
/* The image dissolves into the page above and below, whatever the background */
.band--image {
	-webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 76%, transparent 100%);
	mask-image: linear-gradient(180deg, transparent 0%, #000 24%, #000 76%, transparent 100%);
}
.band--image::before {
	content: "";
	position: absolute; inset: 0; z-index: -1;
	background: radial-gradient(ellipse at center, rgba(14,16,19,.25), rgba(14,16,19,.6));
}
/* A plain band is a single hairline of metal */
.band--plain::before {
	content: "";
	width: min(240px, 40vw);
	height: 1px;
	background: var(--metal-grad);
	opacity: .7;
}
.band--plain:has(.band__text)::before { display: none; }

.band__text {
	margin: 0;
	padding: 0 var(--gutter);
	max-width: 900px;
	text-align: center;
	font-family: var(--display);
	font-style: italic;
	font-size: clamp(24px, 3.4vw, 44px);
	line-height: 1.25;
	color: var(--ink);
	text-shadow: 0 2px 30px rgba(0,0,0,.6);
}
.band__text p { margin: 0; }

/* Newsletter ------------------------------------------------------------ */

.subscribe__grid { display: grid; grid-template-columns: 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; max-width: 900px; }
.subscribe--cover .subscribe__grid { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); max-width: var(--wrap); }
.subscribe__cover { margin: 0; }
.subscribe__cover .cover { transform: rotate(-3deg); }
.subscribe__cover figcaption { margin-top: 22px; font-family: var(--display); font-style: italic; color: var(--ink-2); text-align: center; }
.subscribe__embed { margin-top: 28px; }
.subscribe__embed input[type="email"], .subscribe__embed input[type="text"] {
	background: var(--bg-2); color: var(--ink); border: 1px solid var(--line-2); padding: 14px 16px; font: inherit; border-radius: var(--radius);
}
.block--compact { border-top: 1px solid var(--line); }

@media (max-width: 760px) {
	.subscribe--cover .subscribe__grid { grid-template-columns: 1fr; }
	.subscribe__cover { width: min(60%, 240px); margin: 0 auto; }
}

/* ARC call -------------------------------------------------------------- */

.arc-call__inner { text-align: center; }
.arc-call .block__lede { margin: 0 auto; }
.arc-call__mark {
	display: block; width: 14px; height: 14px; margin: 0 auto 28px;
	transform: rotate(45deg);
	border: 1px solid var(--metal);
}

/* Video / gallery ------------------------------------------------------- */

.media-grid { display: grid; gap: clamp(16px, 2.4vw, 32px); }
.media { margin: 0; }
.media__frame {
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--bg-2);
	overflow: hidden;
	box-shadow: 0 0 0 1px var(--line), 0 40px 80px -40px rgba(0,0,0,.9);
}
.media__frame > iframe, .media__frame > video, .media__frame > img, .media__frame .media__oembed, .media__frame .media__oembed iframe {
	position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover;
}
.media figcaption { margin-top: 12px; font-size: 14px; color: var(--ink-2); }

.media-block--vertical .media__frame { aspect-ratio: 9 / 16; }
.media-block--square .media__frame { aspect-ratio: 1 / 1; }

.media-block--single .media-grid { max-width: 1040px; margin: 0 auto; }
.media-block--single .block__head,
.media-block--vertical .block__head { text-align: center; margin-left: auto; margin-right: auto; }
.media-block--single .block__title::after,
.media-block--vertical .block__title::after { margin-left: auto; margin-right: auto; }
.media-block--single .block__lede,
.media-block--vertical .block__lede { margin: 0 auto; }
.media-block--single.media-block--vertical .media-grid { max-width: 400px; margin: 0 auto; }
.media-block--single.media-block--square .media-grid { max-width: 640px; margin: 0 auto; }
.media-block--single.media-block--vertical .block__head,
.media-block--single.media-block--square .block__head { text-align: center; margin-left: auto; margin-right: auto; }
.media-block--single.media-block--vertical .block__title::after,
.media-block--single.media-block--square .block__title::after { margin-left: auto; margin-right: auto; }

.media-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.media-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.media-block--vertical .media-grid--3 { max-width: 1000px; margin: 0 auto; }
.media-block--vertical .media-grid--2 { max-width: 680px; margin: 0 auto; }

@media (max-width: 760px) {
	.media-block--horizontal .media-grid--3, .media-block--horizontal .media-grid--2,
	.media-block--square .media-grid--3, .media-block--square .media-grid--2 { grid-template-columns: 1fr; }
	/* Vertical videos sit side by side and scroll sideways on phones */
	.media-block--vertical .media-grid--3, .media-block--vertical .media-grid--2 {
		grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%;
		overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
	}
	.media-block--vertical .media { scroll-snap-align: center; }
}

/* Shelves & cards ------------------------------------------------------- */

.shelf { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(28px, 3.5vw, 48px) clamp(20px, 3vw, 40px); }
.shelf--grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.shelf--1 { grid-template-columns: minmax(0, 260px); }
.shelf--2 { grid-template-columns: repeat(2, minmax(0, 260px)); }
.shelf--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shelf--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .shelf--4, .shelf--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
	.shelf--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.shelf--2, .shelf--1 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.card { position: relative; display: flex; flex-direction: column; height: 100%; }
.card .cover { transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card:hover .cover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(255,255,255,.06), 0 40px 60px -25px rgba(0,0,0,1), 0 0 0 1px color-mix(in srgb, var(--metal) 30%, transparent); }
.card:hover .cover__sheen { background-position: -20% 0; }

.card__flag { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--metal); margin: 0 0 4px; }
.card__body { display: flex; flex-direction: column; flex: 1; padding-top: 18px; }
.card__title { font-size: clamp(20px, 1.8vw, 24px); margin: 0 0 4px; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--metal-soft); }
.card__series { font-family: var(--display); font-style: italic; font-size: 15px; color: var(--metal); margin: 0 0 8px; }
.card__tagline { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; margin: 0 0 16px;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
@media (max-width: 520px) {
	.card__actions .btn { flex: 1 1 100%; }
	.card__tagline { display: none; }
}

/* About ----------------------------------------------------------------- */

.about__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.about--no-photo .about__grid { grid-template-columns: minmax(0, 760px); }
.about__photo { margin: 0; position: relative; isolation: isolate; }
.about__photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(.25) contrast(1.05); }
.about__photo::after {
	content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: 0;
	border: 1px solid transparent;
	background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--metal-grad) border-box;
}
@media (max-width: 760px) {
	.about__grid { grid-template-columns: 1fr; }
	.about__photo { width: min(80%, 360px); }
}

/* Prose ----------------------------------------------------------------- */

.prose { font-size: 18px; line-height: 1.75; color: var(--ink); }
.prose > *:last-child { margin-bottom: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.15em; }
.prose h2 { font-size: 34px; margin-top: 1.6em; }
.prose h3 { font-size: 26px; margin-top: 1.4em; }
.prose blockquote { margin: 1.6em 0; padding-left: 24px; border-left: 1px solid var(--metal); font-family: var(--display); font-style: italic; font-size: 22px; }
.prose img { margin: 1.6em 0; }
.prose a { color: var(--ink); }
.prose hr { border: 0; height: 1px; background: var(--line-2); margin: 2.4em 0; }

.page-image { margin-bottom: 40px; }

/* Page head ------------------------------------------------------------- */

.page-head { padding-bottom: 0; padding-top: clamp(48px, 7vw, 100px); }
.page-head__title { font-size: clamp(48px, 7vw, 92px); line-height: 1; margin-bottom: .3em; }
.page-head--center { text-align: center; }
.page-head--center .block__lede { margin: 0 auto; }

/* Books page ------------------------------------------------------------ */

.filters {
	display: flex; flex-wrap: wrap; gap: 6px 4px;
	margin: 0 0 clamp(40px, 5vw, 64px);
	padding-bottom: 14px;
	border-bottom: 1px solid var(--line);
}
.filters__item {
	position: relative;
	padding: 8px 14px;
	font-size: 15px; font-weight: 500;
	color: var(--ink-2);
	text-decoration: none;
	border-radius: 40px;
	transition: color .2s, background .2s;
}
.filters__item:hover { color: var(--ink); background: var(--bg-2); }
.filters__item.is-active { color: var(--ink); background: var(--bg-3); box-shadow: inset 0 0 0 1px var(--line-2); }
.filters__count { font-size: 12px; color: var(--ink-3); margin-left: 4px; }
.filters__item.is-active .filters__count { color: var(--metal); }

.collection-head { margin-bottom: 40px; max-width: 720px; }
.collection-head__title { font-size: clamp(32px, 4vw, 52px); margin-bottom: .2em; }
.page-head .collection-head__title { font-size: clamp(48px, 7vw, 92px); }
.collection-head__meta { font-family: var(--display); font-style: italic; color: var(--metal); font-size: 19px; }
.collection-head__desc { color: var(--ink-2); }

/* Single book ----------------------------------------------------------- */

.book-hero { padding-top: clamp(32px, 5vw, 70px); padding-bottom: calc(var(--block) * .5); overflow: hidden; }
.book-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(40px, 7vw, 110px);
	align-items: center;
}

@media (max-width: 900px) {
	.book-hero__grid { grid-template-columns: 1fr; }
}

.book-body { border-top: 1px solid var(--line); }
.book-body__grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(40px, 7vw, 110px); align-items: start; }
.book-body__main { max-width: 700px; }
.blurb > p:first-child { font-family: var(--display); font-size: clamp(22px, 2.2vw, 27px); line-height: 1.45; color: var(--ink); }
@media (max-width: 900px) { .book-body__grid { grid-template-columns: 1fr; } }

.stores { position: sticky; top: 110px; display: grid; gap: 32px; }
.stores__group { border-top: 1px solid var(--line-2); padding-top: 16px; }
.stores__title { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--metal); margin: 0 0 10px; }
.stores__meta { font-size: 14.5px; color: var(--ink-2); margin: 0 0 10px; }
.stores__list { list-style: none; margin: 0; padding: 0; }
.stores__list li + li { border-top: 1px solid var(--line); }
.stores__list a {
	display: flex; justify-content: space-between; align-items: center;
	padding: 11px 0;
	font-size: 16px; color: var(--ink); text-decoration: none;
}
.stores__list a::after { content: "↗"; font-size: 13px; color: var(--ink-3); transition: transform .25s var(--ease), color .2s; }
.stores__list a:hover { color: var(--metal-soft); }
.stores__list a:hover::after { color: var(--metal); transform: translate(2px, -2px); }

.notes { margin-top: 44px; border: 1px solid var(--line-2); border-radius: var(--radius); }
.notes summary {
	cursor: pointer; list-style: none;
	padding: 16px 20px;
	font-weight: 600; font-size: 15px;
	display: flex; justify-content: space-between; align-items: center;
}
.notes summary::-webkit-details-marker { display: none; }
.notes summary::after { content: "+"; font-family: var(--display); font-size: 22px; line-height: 1; color: var(--metal); transition: transform .3s var(--ease); }
.notes[open] summary::after { transform: rotate(45deg); }
.notes__body { padding: 0 20px 18px; color: var(--ink-2); font-size: 16px; }
.notes__body ul { margin: 0; padding-left: 1.1em; }
.notes__body li { margin-bottom: 4px; }

/* Praise */
.praise { border-top: 1px solid var(--line); }
.praise__list { display: grid; gap: clamp(32px, 5vw, 64px); }
.praise__list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.praise__list--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.praise__list--1 { max-width: 820px; margin: 0 auto; text-align: center; }
@media (max-width: 860px) { .praise__list--2, .praise__list--3 { grid-template-columns: 1fr; } }
.quote { margin: 0; }
.quote blockquote { margin: 0; font-family: var(--display); font-style: italic; font-size: clamp(21px, 2vw, 26px); line-height: 1.4; }
.quote blockquote p { margin: 0; }
.quote blockquote p::before { content: "“"; color: var(--metal); }
.quote blockquote p::after { content: "”"; color: var(--metal); }
.praise__list--1 .quote blockquote { font-size: clamp(26px, 3vw, 36px); }
.quote figcaption { margin-top: 14px; font-size: 14px; color: var(--ink-3); }
.quote figcaption::before { content: ""; display: inline-block; width: 18px; height: 1px; background: var(--metal); vertical-align: middle; margin-right: 10px; }

/* Sample chapter */
.sample { border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.sample summary { list-style: none; cursor: pointer; padding: 26px 0; text-align: center; }
.sample summary::-webkit-details-marker { display: none; }
.sample__label { font-family: var(--display); font-size: clamp(26px, 3vw, 36px); }
.sample__label::after { content: "+"; display: inline-block; margin-left: 14px; color: var(--metal); transition: transform .3s var(--ease); }
.sample[open] .sample__label::after { transform: rotate(45deg); }
.sample__body { padding: 10px 0 40px; }
.sample__body p:first-of-type::first-letter { font-family: var(--display); font-size: 3.4em; float: left; line-height: .85; margin: .06em .1em 0 0; color: var(--metal); }
.sample .actions { padding-bottom: 40px; margin-top: 0; }

.bonus__inner { text-align: center; }
.bonus__inner p { font-family: var(--display); font-style: italic; font-size: 24px; color: var(--ink-2); margin-bottom: 18px; }

/* Series row */
.series { border-top: 1px solid var(--line); }
.series__row { list-style: none; margin: 0; padding: 0 0 10px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(130px, 170px); gap: 24px; overflow-x: auto; scroll-snap-type: x proximity; }
.series__row li { scroll-snap-align: start; }
.series__row a { display: block; text-decoration: none; }
.series__row .cover { transition: transform .4s var(--ease), opacity .3s; opacity: .62; }
.series__row a:hover .cover, .series__row .is-current .cover { opacity: 1; }
.series__row a:hover .cover { transform: translateY(-4px); }
.series__row .is-current .cover { box-shadow: 0 0 0 1px var(--metal), 0 30px 50px -25px rgba(0,0,0,.9); }
.series__num { display: block; margin-top: 12px; font-size: 12.5px; color: var(--metal); }
.series__title { display: block; font-family: var(--display); font-size: 17px; line-height: 1.25; color: var(--ink); }
.series__row .is-current .series__title { color: var(--metal-soft); }

.pager { display: flex; justify-content: space-between; gap: 20px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.pager a { font-family: var(--display); font-size: 21px; text-decoration: none; max-width: 48%; }
.pager__next { margin-left: auto; text-align: right; }
.pager__dir { display: block; font-family: var(--sans); font-size: 13px; color: var(--ink-3); margin-bottom: 2px; }

.related { border-top: 1px solid var(--line); }
.related .block__title { margin-bottom: 40px; }

/* ARC & Street Team page ----------------------------------------------- */

.teams__grid { display: grid; gap: clamp(24px, 3vw, 40px); }
.teams__grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.teams__grid--1 { max-width: 720px; }
@media (max-width: 860px) { .teams__grid--2 { grid-template-columns: 1fr; } }

.team {
	position: relative;
	display: flex; flex-direction: column;
	padding: clamp(28px, 4vw, 52px);
	background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
	border: 1px solid var(--line);
}
.team--arc {
	border: 1px solid transparent;
	background:
		linear-gradient(var(--bg-2), var(--bg)) padding-box,
		var(--metal-grad) border-box;
}
.team__title { font-size: clamp(30px, 3.2vw, 42px); }
.team__text { color: var(--ink-2); }
.team__sub { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--metal); margin: 26px 0 10px; }
.team__action { margin-top: auto; padding-top: 32px; }

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 7px 0 7px 26px; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 7px; height: 7px; transform: rotate(45deg); background: var(--metal-grad); }
.ticks--plain li::before { background: none; border: 1px solid var(--metal); }

/* Posts ----------------------------------------------------------------- */

.post-date { font-size: 14px; color: var(--metal); }
.post-list__item { padding: 32px 0; border-bottom: 1px solid var(--line); }
.post-list__title { font-size: 32px; }
.post-list__title a { text-decoration: none; }
.nav-links { display: flex; gap: 14px; margin-top: 40px; }

/* Footer ---------------------------------------------------------------- */

.site-footer { position: relative; margin-top: var(--block); padding: 0 0 36px; color: var(--ink-2); font-size: 15px; }
.site-footer__rule { height: 1px; background: var(--metal-grad); opacity: .55; }
.site-footer__inner {
	max-width: calc(var(--wrap) + var(--gutter) * 2);
	margin: 0 auto;
	padding: 56px var(--gutter) 40px;
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px;
}
.brand__name--footer { font-size: 30px; display: inline-block; margin-bottom: 14px; }
.site-footer__note { max-width: 40ch; font-size: 14px; color: var(--ink-3); }
.footer-menu, .socials { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; align-content: start; }
.footer-menu a, .socials a { color: var(--ink-2); text-decoration: none; }
.footer-menu a:hover, .socials a:hover { color: var(--metal-soft); }
.site-footer__copy { max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); font-size: 13px; color: var(--ink-3); }
@media (max-width: 760px) { .site-footer__inner { grid-template-columns: 1fr; } }

/* Customizer pencils sit above our layers */
.customize-partial-edit-shortcut { z-index: 60; }

/* Entrance: one orchestrated moment, the featured cover arriving ---------- */

@media (prefers-reduced-motion: no-preference) {
	.js .hero-book .stage__cover, .js .book-hero .stage__cover { animation: gn-arrive 1.4s var(--ease) backwards; }
	.js .hero-book .stage__light, .js .book-hero .stage__light { animation: gn-light 2s ease-out backwards; }
	@keyframes gn-arrive { from { opacity: 0; transform: rotateY(-22deg) translateY(24px); } to { opacity: 1; transform: rotateY(-9deg) rotateX(2deg); } }
	@keyframes gn-light { from { opacity: 0; } to { opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation: none !important; }
	.band__media { top: 0; height: 100%; transform: none !important; }
}
