/* ==========================================================================
   MAG Landing — editorial design system
   Print-inspired: paper ground, ink type, gold hairlines, no boxes.
   ========================================================================== */

:root {
	/* Ink & ground — taken from the printed cover, warmed for screen. */
	--mag-ink: #241017;
	--mag-maroon: #4A0B24;
	--mag-wine: #7A1038;
	--mag-gold: #B98E35;
	--mag-gold-lt: #DCBB6B;
	--mag-paper: #FAF5EC;
	--mag-paper-tint: #F2E8D8;
	--mag-blush: #EFD9DE;
	--mag-muted: #6E5862;
	--mag-rule: rgba(36, 16, 23, .16);
	--mag-rule-light: rgba(250, 245, 236, .24);

	--mag-display: "Fraunces", Georgia, "Times New Roman", serif;
	--mag-sans: "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

	--mag-wrap: 1240px;
	--mag-gutter: clamp(1.25rem, 5vw, 3rem);

	/* Fraunces axes — soft terminals, a little wonk. Not the default serif. */
	--mag-wonk: "SOFT" 24, "WONK" 1;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--mag-sans);
	font-size: clamp(1rem, .95rem + .22vw, 1.08rem);
	line-height: 1.68;
	color: var(--mag-ink);
	background: var(--mag-paper);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	font-variant-numeric: oldstyle-nums;
}

/* Paper grain. The single cheapest cure for flat digital gradients. */
body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: 9999;
	pointer-events: none;
	opacity: .055;
	mix-blend-mode: multiply;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

h1, h2, h3 {
	font-family: var(--mag-display);
	font-variation-settings: var(--mag-wonk);
	font-weight: 600;
	color: var(--mag-maroon);
	line-height: 1.04;
	letter-spacing: -.015em;
	margin: 0 0 .5em;
	text-wrap: balance;
}

p { margin: 0 0 1.15em; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }

a { color: inherit; }

::selection { background: var(--mag-gold-lt); color: var(--mag-ink); }

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

.mag-skip {
	position: absolute;
	left: -9999px;
	background: var(--mag-ink);
	color: var(--mag-paper);
	padding: .8rem 1.25rem;
	z-index: 10000;
}
.mag-skip:focus { left: 1rem; top: 1rem; }

/* ----------------------------------------------------------------- Layout */
.mag-wrap {
	width: min(100% - (2 * var(--mag-gutter)), var(--mag-wrap));
	margin-inline: auto;
}

.mag-section { padding: clamp(4rem, 9vw, 8rem) 0; }
.mag-section--paper { background: var(--mag-paper); }
.mag-section--tint { background: var(--mag-paper-tint); }
.mag-section--ink {
	background: var(--mag-ink);
	color: rgba(250, 245, 236, .82);
}
.mag-section--ink h2, .mag-section--ink h3 { color: var(--mag-paper); }

/* ------------------------------------------------------- Label / eyebrow */
/* Letterspaced small caps led by a short gold rule. Used everywhere instead
   of centered sub-headings. */
.mag-label {
	display: flex;
	align-items: center;
	gap: .85rem;
	font-family: var(--mag-sans);
	font-size: .7rem;
	font-weight: 600;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--mag-wine);
	margin: 0 0 1.4rem;
}
.mag-label__rule {
	display: block;
	width: 2.5rem;
	height: 1px;
	background: var(--mag-gold);
	flex: none;
}
.mag-label--light { color: var(--mag-gold-lt); }
.mag-label--light .mag-label__rule { background: var(--mag-gold); }

.mag-head { max-width: 46rem; margin: 0 0 clamp(2.5rem, 5vw, 4rem); }
.mag-head__title {
	font-size: clamp(2.1rem, 1.3rem + 2.9vw, 3.6rem);
	margin-bottom: .35em;
}
.mag-head__sub {
	font-family: var(--mag-display);
	font-variation-settings: var(--mag-wonk);
	font-style: italic;
	font-size: clamp(1.05rem, .98rem + .5vw, 1.35rem);
	color: var(--mag-muted);
	margin: 0;
	max-width: 34rem;
}

/* ---------------------------------------------------------------- Buttons */
.mag-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: var(--mag-sans);
	font-size: .76rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 1.15rem 2.2rem;
	border: 0;
	border-radius: 2px;
	cursor: pointer;
	background: var(--mag-maroon);
	color: var(--mag-paper);
	transition: background .3s ease, color .3s ease;
}
/* Hairline frame inset into the button — a bound-edge detail. */
.mag-btn::after {
	content: "";
	position: absolute;
	inset: 4px;
	border: 1px solid rgba(220, 187, 107, .45);
	border-radius: 1px;
	pointer-events: none;
	transition: border-color .3s ease;
}
.mag-btn:hover { background: var(--mag-ink); }
.mag-btn:hover::after { border-color: rgba(220, 187, 107, .8); }

.mag-btn--gold { background: var(--mag-gold); color: var(--mag-ink); }
.mag-btn--gold::after { border-color: rgba(36, 16, 23, .3); }
.mag-btn--gold:hover { background: var(--mag-gold-lt); color: var(--mag-ink); }
.mag-btn--gold:hover::after { border-color: rgba(36, 16, 23, .55); }

.mag-btn--ghost {
	background: transparent;
	color: var(--mag-ink);
	box-shadow: inset 0 0 0 1px var(--mag-rule);
}
.mag-btn--ghost::after { border-color: transparent; }
.mag-btn--ghost:hover { background: var(--mag-ink); color: var(--mag-paper); }
.mag-btn--ghost:hover::after { border-color: rgba(220, 187, 107, .55); }

.mag-btn--sm { padding: .85rem 1.4rem; font-size: .68rem; letter-spacing: .14em; }
.mag-btn--sm::after { inset: 3px; }
.mag-btn--block { display: flex; width: 100%; }

/* Text link with a gold underline that grows. */
.mag-link {
	font-family: var(--mag-sans);
	font-size: .82rem;
	font-weight: 600;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-decoration: none;
	padding-bottom: 3px;
	background-image: linear-gradient(var(--mag-gold), var(--mag-gold));
	background-size: 100% 1px;
	background-repeat: no-repeat;
	background-position: 0 100%;
	transition: background-size .35s ease;
}
.mag-link:hover { background-size: 0 1px; }
.mag-link--light { color: var(--mag-paper); }

/* ----------------------------------------------------------------- Header */
.mag-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(250, 245, 236, .88);
	backdrop-filter: saturate(160%) blur(10px);
	border-bottom: 1px solid var(--mag-rule);
}
.mag-header__inner {
	display: flex;
	align-items: center;
	gap: 2rem;
	min-height: 74px;
}
.mag-header__title {
	display: flex;
	align-items: center;
	gap: .8rem;
	text-decoration: none;
}
.mag-header__mark {
	font-family: var(--mag-display);
	font-variation-settings: var(--mag-wonk);
	font-weight: 700;
	font-size: 1.4rem;
	letter-spacing: .1em;
	color: var(--mag-maroon);
}
.mag-header__rule { width: 1.5rem; height: 1px; background: var(--mag-gold); }
.mag-header__sub {
	font-size: .72rem;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--mag-muted);
}
.mag-nav { margin-left: auto; }
.mag-nav__list { display: flex; gap: 2rem; }
.mag-nav__list a {
	text-decoration: none;
	font-size: .74rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--mag-ink);
	padding-bottom: 2px;
	border-bottom: 1px solid transparent;
	transition: border-color .3s ease;
}
.mag-nav__list a:hover { border-color: var(--mag-gold); }

/* ------------------------------------------------------------------- Hero */
.mag-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(3.5rem, 7vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem);
}
/* Ink panel bleeding off the right edge — breaks the centered-everything grid. */
.mag-hero__block {
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	width: min(38vw, 540px);
	background: linear-gradient(170deg, var(--mag-maroon), var(--mag-ink) 85%);
}
.mag-hero__grid {
	position: relative;
	display: grid;
	grid-template-columns: 1.08fr .92fr;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: center;
}
.mag-hero__copy { position: relative; z-index: 2; }

.mag-hero__title {
	font-size: clamp(2.4rem, 1.1rem + 4.1vw, 4.35rem);
	line-height: 1.0;
	letter-spacing: -.028em;
	margin-bottom: .3em;
}
.mag-hero__title em {
	font-style: italic;
	font-variation-settings: "SOFT" 40, "WONK" 1;
	color: var(--mag-wine);
}
.mag-hero__sub {
	font-family: var(--mag-display);
	font-variation-settings: var(--mag-wonk);
	font-style: italic;
	font-size: clamp(1.15rem, 1rem + .8vw, 1.6rem);
	color: var(--mag-wine);
	margin-bottom: 1.3em;
	max-width: 24ch;
	line-height: 1.3;
}
.mag-hero__lede {
	max-width: 34rem;
	color: var(--mag-muted);
	font-size: 1.02rem;
}
.mag-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.6rem;
	margin: 2.2rem 0 1.8rem;
}
.mag-hero__meta {
	font-size: .7rem;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--mag-muted);
	margin: 0;
	padding-top: 1.4rem;
	border-top: 1px solid var(--mag-rule);
	max-width: 34rem;
}

.mag-hero__art { position: relative; z-index: 2; }

/* Vertical colophon strip running up the panel. */
.mag-hero__spec {
	position: absolute;
	right: -1.5rem;
	top: 50%;
	transform: translateY(-50%);
	writing-mode: vertical-rl;
	display: flex;
	gap: 1.6rem;
	margin: 0;
	font-size: .64rem;
	font-weight: 500;
	letter-spacing: .26em;
	text-transform: uppercase;
	color: rgba(250, 245, 236, .45);
}

/* --------------------------------------------------------- 3D book mockup */
/* Proportions come from the print edition: 6" x 8.5" trim, 0.63" spine. */
.mag-book {
	--book-w: clamp(200px, 23vw, 310px);
	--book-h: calc(var(--book-w) * 1.4167);
	--book-t: calc(var(--book-w) * 0.1037);

	position: relative;
	width: var(--book-w);
	height: var(--book-h);
	margin-inline: auto;
	perspective: 1900px;
	perspective-origin: 60% 50%;
}
.mag-book__inner {
	position: relative;
	width: 100%;
	height: 100%;
	transform-style: preserve-3d;
	transform: rotateY(26deg) rotateX(3deg);
	transition: transform .8s cubic-bezier(.2, .7, .3, 1);
}
.mag-book:hover .mag-book__inner { transform: rotateY(14deg) rotateX(1deg); }

.mag-book__face { position: absolute; inset: 0; }
.mag-book__face img { width: 100%; height: 100%; object-fit: cover; display: block; }

.mag-book__face--front {
	overflow: hidden;
	border-radius: 2px 5px 5px 2px;
	box-shadow:
		0 2px 4px rgba(20, 8, 12, .34),
		28px 42px 70px rgba(20, 8, 12, .46);
}
.mag-book__face--spine {
	inset: 0 auto 0 0;
	width: var(--book-t);
	transform-origin: left center;
	transform: rotateY(90deg);
	background: var(--mag-maroon);
	overflow: hidden;
	border-radius: 3px 0 0 3px;
}
.mag-book__crease {
	position: absolute;
	inset: 0 auto 0 0;
	width: 9%;
	pointer-events: none;
	background: linear-gradient(90deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.16) 38%, rgba(255,255,255,.1) 72%, transparent 100%);
}
.mag-book__gloss {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(104deg, rgba(255,255,255,.2) 0%, rgba(255,255,255,0) 40%);
}
.mag-book__shadow {
	position: absolute;
	left: 2%;
	right: -6%;
	bottom: -5%;
	height: 7%;
	background: radial-gradient(50% 50% at 50% 50%, rgba(12, 5, 8, .5), rgba(12, 5, 8, 0) 72%);
	filter: blur(10px);
	pointer-events: none;
}

/* ------------------------------------------------------------------- Hook */
.mag-hook {
	background: var(--mag-maroon);
	color: rgba(250, 245, 236, .78);
	padding: clamp(4rem, 9vw, 7.5rem) 0;
}
.mag-hook__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 5vw, 5rem);
	align-items: start;
}
.mag-hook .mag-label { grid-column: 1 / -1; }
.mag-hook__body p {
	font-size: clamp(1rem, .95rem + .3vw, 1.12rem);
	margin: 0;
	max-width: 36rem;
}
.mag-hook__body em { color: var(--mag-gold-lt); font-style: italic; }

.mag-hook__pull { margin: 0; position: relative; }
.mag-hook__pull p {
	font-family: var(--mag-display);
	font-variation-settings: "SOFT" 40, "WONK" 1;
	font-style: italic;
	font-size: clamp(1.6rem, 1.1rem + 2.1vw, 2.9rem);
	line-height: 1.12;
	letter-spacing: -.02em;
	color: var(--mag-paper);
	margin: 0;
	text-indent: -.42em;
}
.mag-hook__pull p::before { content: "\201C"; color: var(--mag-gold); }
.mag-hook__pull p::after { content: "\201D"; color: var(--mag-gold); }

/* ------------------------------------------- Ruled columns (replaces cards) */
.mag-columns {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
}
.mag-column {
	padding: 0 1.8rem 0 0;
	border-right: 1px solid var(--mag-rule);
}
.mag-column:last-child { border-right: 0; padding-right: 0; }
.mag-column:not(:first-child) { padding-left: 1.8rem; }

/* Gold rule, then the figure, then the heading — a masthead per column. */
.mag-column__num {
	display: block;
	position: relative;
	padding-top: 1.7rem;
	margin-bottom: 1.4rem;
	font-family: var(--mag-display);
	font-variation-settings: var(--mag-wonk);
	font-size: 2.1rem;
	font-weight: 500;
	line-height: 1;
	color: var(--mag-gold);
	letter-spacing: -.02em;
}
.mag-column__num::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 2.6rem;
	height: 2px;
	background: var(--mag-maroon);
	transition: width .45s cubic-bezier(.2, .7, .3, 1);
}
.mag-column:hover .mag-column__num::before { width: 4.6rem; }
.mag-column__title {
	font-size: clamp(1.3rem, 1.15rem + .4vw, 1.55rem);
	margin-bottom: .6em;
	line-height: 1.1;
}
.mag-column__body {
	margin: 0;
	font-size: .95rem;
	color: var(--mag-muted);
	line-height: 1.64;
}

/* ------------------------------------------------- Inside / table of contents */
.mag-inside {
	display: grid;
	grid-template-columns: .78fr 1.22fr;
	gap: clamp(2.5rem, 6vw, 5.5rem);
	align-items: start;
}
.mag-inside__art { margin: 0; }
.mag-inside__art img {
	border: 1px solid var(--mag-rule);
	box-shadow: 18px 24px 50px rgba(36, 16, 23, .18);
}
.mag-inside__art figcaption {
	margin-top: 1rem;
	font-size: .68rem;
	font-weight: 500;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--mag-muted);
}
.mag-head__title--left { margin-bottom: 1.6em; }

.mag-toc { border-top: 1px solid var(--mag-rule); }
.mag-toc__item {
	display: grid;
	grid-template-columns: 2.6rem 9rem 1fr;
	gap: 1.2rem;
	align-items: baseline;
	padding: 1.35rem 0;
	border-bottom: 1px solid var(--mag-rule);
}
.mag-toc__num {
	font-family: var(--mag-display);
	font-variation-settings: var(--mag-wonk);
	font-size: .88rem;
	color: var(--mag-gold);
	letter-spacing: .06em;
}
.mag-toc__name {
	font-family: var(--mag-display);
	font-variation-settings: var(--mag-wonk);
	font-size: clamp(1.35rem, 1.1rem + .9vw, 1.95rem);
	font-weight: 600;
	color: var(--mag-maroon);
	line-height: 1;
}
.mag-toc__line { font-size: .95rem; color: var(--mag-muted); }

.mag-note {
	margin: 2rem 0 0;
	font-family: var(--mag-display);
	font-variation-settings: var(--mag-wonk);
	font-style: italic;
	font-size: 1.05rem;
	color: var(--mag-wine);
	max-width: 34rem;
}

/* ------------------------------------------- Specification list w/ leaders */
.mag-edition {
	display: grid;
	grid-template-columns: .72fr 1.28fr;
	gap: clamp(2rem, 5vw, 5rem);
	align-items: start;
}
.mag-edition__head { position: sticky; top: 110px; }
.mag-edition__lede {
	font-family: var(--mag-display);
	font-variation-settings: var(--mag-wonk);
	font-style: italic;
	font-size: 1.08rem;
	color: var(--mag-muted);
	margin: 0;
	max-width: 24rem;
}
.mag-spec { border-top: 1px solid var(--mag-rule); }
/* Dotted leaders running from key to value — a contents-page convention. */
.mag-spec__row {
	display: flex;
	align-items: baseline;
	gap: .9rem;
	padding: 1.15rem 0;
	border-bottom: 1px solid var(--mag-rule);
}
.mag-spec__key {
	flex: none;
	font-size: .7rem;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--mag-wine);
}
.mag-spec__leader {
	flex: 1 1 auto;
	min-width: 1.5rem;
	align-self: center;
	border-bottom: 1px dotted rgba(36, 16, 23, .34);
	transform: translateY(-.18em);
}
.mag-spec__val {
	flex: none;
	margin: 0;
	text-align: right;
	font-family: var(--mag-display);
	font-variation-settings: var(--mag-wonk);
	font-size: clamp(1.05rem, .98rem + .35vw, 1.3rem);
	font-weight: 500;
	color: var(--mag-maroon);
	line-height: 1.25;
}

/* ----------------------------------------------------------------- Author */
/* The portrait is a studio shot on black; the panel darkens toward it so the
   photograph merges with the page instead of sitting in a visible box. */
#mag-author {
	/* True black behind the portrait so its studio backdrop disappears, with a
	   warm maroon bloom behind the text column. */
	background:
		radial-gradient(76% 96% at 14% 50%, rgba(74, 11, 36, .62) 0%, rgba(74, 11, 36, .18) 46%, rgba(0, 0, 0, 0) 70%),
		#000;
}
.mag-author {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: clamp(2.5rem, 6vw, 5rem);
	align-items: center;
}
.mag-author__copy {
	position: relative;
	padding-right: clamp(0rem, 2vw, 2.5rem);
}
.mag-author__name {
	font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem);
	color: var(--mag-paper);
	margin-bottom: .7em;
}
.mag-author__copy p { color: rgba(250, 245, 236, .8); }
.mag-author__family {
	font-family: var(--mag-display);
	font-variation-settings: var(--mag-wonk);
	font-style: italic;
	color: var(--mag-gold-lt) !important;
	font-size: 1.05rem;
	padding-top: 1.4rem;
	border-top: 1px solid var(--mag-rule-light);
	max-width: 32rem;
}
/* Drop cap — a print convention, not a web one. */
.mag-dropcap::first-letter {
	float: left;
	font-family: var(--mag-display);
	font-variation-settings: var(--mag-wonk);
	font-size: 3.9em;
	line-height: .82;
	font-weight: 600;
	color: var(--mag-gold);
	padding: .06em .14em 0 0;
}
.mag-author__art { position: relative; margin: 0; }
.mag-author__art img {
	width: 100%;
	/* Only the lower edge needs feathering — the rest is black on black. */
	-webkit-mask-image: linear-gradient(180deg, #000 74%, transparent 100%);
	mask-image: linear-gradient(180deg, #000 74%, transparent 100%);
}

/* ------------------------------------------------------- Offer / bookplate */
.mag-plate {
	position: relative;
	background: var(--mag-paper);
	border: 1px solid var(--mag-rule);
	padding: clamp(1.5rem, 3vw, 2.5rem);
}
/* Second, inset hairline — the double-rule of a bookplate. */
.mag-plate__rule {
	position: absolute;
	inset: 10px;
	border: 1px solid var(--mag-gold);
	opacity: .5;
	pointer-events: none;
}
.mag-plate__inner {
	position: relative;
	display: grid;
	grid-template-columns: .62fr 1.38fr;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: center;
	padding: clamp(1rem, 2.5vw, 2rem);
}
.mag-plate__art { margin: 0; display: flex; justify-content: center; }
/* Same mockup as the hero, turned less — a product shot rather than a statement. */
.mag-book--plate {
	--book-w: clamp(150px, 16vw, 215px);
}
.mag-book--plate .mag-book__inner { transform: rotateY(17deg) rotateX(2deg); }
.mag-book--plate:hover .mag-book__inner { transform: rotateY(8deg); }
.mag-book--plate .mag-book__face--front {
	box-shadow: 0 2px 4px rgba(36, 16, 23, .22), 18px 26px 48px rgba(36, 16, 23, .26);
}
.mag-plate__title {
	font-size: clamp(1.8rem, 1.3rem + 1.9vw, 2.7rem);
	margin-bottom: .18em;
}
.mag-plate__vol {
	font-family: var(--mag-display);
	font-variation-settings: var(--mag-wonk);
	font-style: italic;
	color: var(--mag-muted);
	margin-bottom: 0;
	padding-bottom: 1.4rem;
}
.mag-plate__price {
	display: flex;
	align-items: baseline;
	gap: 1rem;
	padding: 1.2rem 0;
	border-top: 1px solid var(--mag-rule);
	border-bottom: 1px solid var(--mag-rule);
	margin-bottom: 1.8rem;
}
.mag-plate__now {
	font-family: var(--mag-display);
	font-variation-settings: var(--mag-wonk);
	font-size: clamp(2.4rem, 1.7rem + 2.4vw, 3.6rem);
	font-weight: 600;
	color: var(--mag-maroon);
	line-height: 1;
	letter-spacing: -.03em;
}
.mag-plate__unit {
	font-size: .72rem;
	font-weight: 500;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--mag-muted);
}
.mag-plate__switch { font-size: .85rem; margin: 1rem 0 0; text-align: center; }
.mag-plate__fine {
	margin: 1.4rem 0 0;
	font-size: .7rem;
	font-weight: 500;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--mag-muted);
}
/* Print edition is a separate purchase elsewhere — set apart, not compared. */
.mag-plate__print {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: .45rem .9rem;
	margin: 1.6rem 0 0;
	padding-top: 1.3rem;
	border-top: 1px solid var(--mag-rule);
}
.mag-plate__print-label {
	font-size: .66rem;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--mag-muted);
}

/* -------------------------------------------------------------------- FAQ */
.mag-faq {
	display: grid;
	grid-template-columns: .68fr 1.32fr;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: start;
}
.mag-faq__head { position: sticky; top: 110px; }
.mag-faq__list { border-top: 1px solid var(--mag-rule); }
.mag-faq__item { border-bottom: 1px solid var(--mag-rule); }
.mag-faq__q {
	display: grid;
	grid-template-columns: 2.6rem 1fr;
	gap: 1rem;
	align-items: baseline;
	cursor: pointer;
	list-style: none;
	padding: 1.5rem 2.5rem 1.5rem 0;
	position: relative;
	font-family: var(--mag-display);
	font-variation-settings: var(--mag-wonk);
	font-size: clamp(1.1rem, 1rem + .45vw, 1.4rem);
	font-weight: 600;
	color: var(--mag-maroon);
	line-height: 1.18;
	transition: color .25s ease;
}
.mag-faq__q::-webkit-details-marker { display: none; }
.mag-faq__q:hover { color: var(--mag-wine); }
.mag-faq__num {
	font-size: .8rem;
	color: var(--mag-gold);
	font-weight: 600;
	letter-spacing: .06em;
}
.mag-faq__q::after {
	content: "";
	position: absolute;
	right: .4rem;
	top: 2.05rem;
	width: 13px;
	height: 1px;
	background: var(--mag-gold);
}
.mag-faq__q::before {
	content: "";
	position: absolute;
	right: .4rem;
	top: 2.05rem;
	width: 13px;
	height: 1px;
	background: var(--mag-gold);
	transform: rotate(90deg);
	transition: transform .3s ease, opacity .3s ease;
}
.mag-faq__item[open] .mag-faq__q::before { transform: rotate(0deg); opacity: 0; }
.mag-faq__a {
	padding: 0 2.5rem 1.7rem 3.6rem;
	max-width: 44rem;
}
.mag-faq__a p { margin: 0; color: var(--mag-muted); font-size: .97rem; }

/* ----------------------------------------------------------------- Praise */
.mag-praise {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	border-top: 1px solid var(--mag-rule);
}
.mag-praise__item {
	margin: 0;
	padding: 2.2rem 1.8rem 0 0;
	border-right: 1px solid var(--mag-rule);
}
.mag-praise__item:last-child { border-right: 0; }
.mag-praise__item:not(:first-child) { padding-left: 1.8rem; }
.mag-praise blockquote {
	margin: 0 0 1.2rem;
	font-family: var(--mag-display);
	font-variation-settings: var(--mag-wonk);
	font-style: italic;
	font-size: 1.12rem;
	line-height: 1.42;
	color: var(--mag-ink);
}
.mag-praise__name {
	display: block;
	font-size: .7rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--mag-wine);
}
.mag-praise__role { display: block; font-size: .85rem; color: var(--mag-muted); }

/* ------------------------------------------------------------ Final / CTA */
.mag-final {
	background: var(--mag-ink);
	padding: clamp(5rem, 11vw, 9rem) 0;
	text-align: center;
}
.mag-final__quote { margin: 0 0 3rem; }
.mag-final__quote p {
	font-family: var(--mag-display);
	font-variation-settings: "SOFT" 40, "WONK" 1;
	font-style: italic;
	font-size: clamp(2rem, 1.1rem + 3.6vw, 4.2rem);
	line-height: 1.06;
	letter-spacing: -.028em;
	color: var(--mag-paper);
	margin: 0 auto .9rem;
	max-width: 18ch;
	text-wrap: balance;
}
.mag-final__quote cite {
	display: block;
	font-family: var(--mag-sans);
	font-style: normal;
	font-size: .7rem;
	font-weight: 600;
	letter-spacing: .24em;
	text-transform: uppercase;
	color: var(--mag-gold);
}
.mag-final__quote cite::before { content: "— "; }

/* ----------------------------------------------------- Footer / colophon */
.mag-footer {
	background: var(--mag-ink);
	color: rgba(250, 245, 236, .6);
	padding: 0 0 2.5rem;
	font-size: .9rem;
}
.mag-colophon {
	display: grid;
	grid-template-columns: 1fr 1.5fr 1fr;
	gap: clamp(2rem, 5vw, 4rem);
	padding: clamp(3rem, 6vw, 4.5rem) 0;
	border-top: 1px solid var(--mag-rule-light);
}
.mag-footer a { color: var(--mag-gold-lt); text-decoration: none; }
.mag-footer a:hover { color: var(--mag-paper); }
.mag-colophon__mark {
	font-family: var(--mag-display);
	font-variation-settings: var(--mag-wonk);
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: .1em;
	color: var(--mag-gold);
}
.mag-colophon__tag { margin: .5rem 0 .1rem; color: var(--mag-paper); }
.mag-colophon__series {
	font-family: var(--mag-display);
	font-variation-settings: var(--mag-wonk);
	font-style: italic;
	color: rgba(250, 245, 236, .5);
	margin: 0;
}
.mag-colophon__spec div {
	display: grid;
	grid-template-columns: 6rem 1fr;
	gap: 1rem;
	padding: .55rem 0;
	border-bottom: 1px solid var(--mag-rule-light);
}
.mag-colophon__spec dt {
	font-size: .66rem;
	font-weight: 600;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--mag-gold);
	padding-top: .2rem;
}
.mag-colophon__spec dd { margin: 0; font-size: .88rem; }
.mag-colophon__links p { margin: 0 0 .5rem; }
.mag-colophon__menu li { margin-bottom: .5rem; }
.mag-footer__legal {
	margin: 0;
	padding-top: 2rem;
	border-top: 1px solid var(--mag-rule-light);
	font-size: .76rem;
	letter-spacing: .04em;
	color: rgba(250, 245, 236, .42);
}

/* -------------------------------------------------------------- Inner page */
.mag-page { padding: clamp(3.5rem, 7vw, 6rem) 0; max-width: 44rem; }
.mag-page--center { text-align: center; }
.mag-page__title { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); }
.mag-entry__content { font-size: 1.02rem; }
.mag-entry__title { font-size: 1.6rem; }

/* ---------------------------------------------------------- Region notice */
.mag-region-switch {
	font-size: .78rem;
	letter-spacing: .06em;
	color: var(--mag-wine);
}

/* ------------------------------------------------------------------ Reveal */
.mag-reveal { opacity: 0; transform: translateY(14px); }
.mag-reveal.is-in {
	opacity: 1;
	transform: none;
	transition: opacity .9s cubic-bezier(.2, .7, .3, 1), transform .9s cubic-bezier(.2, .7, .3, 1);
}

/* -------------------------------------------------------------- Responsive */
@media (max-width: 1040px) {
	.mag-columns { grid-template-columns: repeat(2, 1fr); }
	.mag-column:nth-child(2) { border-right: 0; padding-right: 0; }
	.mag-column:nth-child(3) { border-left: 0; padding-left: 0; padding-right: 1.8rem; border-right: 1px solid var(--mag-rule); }
	.mag-column:nth-child(3),
	.mag-column:nth-child(4) { border-top: 1px solid var(--mag-rule); margin-top: 2rem; }
	.mag-praise { grid-template-columns: 1fr; }
	.mag-praise__item { border-right: 0; padding: 2rem 0; border-bottom: 1px solid var(--mag-rule); }
	.mag-praise__item:not(:first-child) { padding-left: 0; }
}

@media (max-width: 960px) {
	.mag-hero__block { display: none; }
	.mag-hero__grid,
	.mag-inside,
	.mag-author,
	.mag-faq,
	.mag-edition,
	.mag-plate__inner,
	.mag-hook__grid { grid-template-columns: 1fr; }
	.mag-hero__art { order: -1; margin-bottom: 2.5rem; }
	.mag-hero__spec { display: none; }
	.mag-author__art { order: -1; max-width: 300px; }
	.mag-inside__art { max-width: 340px; }
	.mag-plate__art { margin-inline: auto; }
	.mag-faq__head,
	.mag-edition__head { position: static; }
	.mag-nav { display: none; }
	.mag-header__inner { gap: 1rem; }
	.mag-colophon { grid-template-columns: 1fr; }
	.mag-edition__lede { max-width: 38rem; }
	.mag-hook__pull { padding-top: 2rem; border-top: 1px solid var(--mag-rule-light); }
}

@media (max-width: 620px) {
	.mag-columns { grid-template-columns: 1fr; }
	.mag-column {
		border-right: 0 !important;
		border-left: 0 !important;
		padding: 1.8rem 0 !important;
		border-bottom: 1px solid var(--mag-rule);
		margin-top: 0 !important;
	}
	.mag-column:last-child { border-bottom: 0; }
	.mag-toc__item { grid-template-columns: 2.2rem 1fr; row-gap: .3rem; }
	.mag-toc__line { grid-column: 2; }
	.mag-header__sub, .mag-header__rule { display: none; }
	.mag-hero__actions { gap: 1.1rem; }
	.mag-hero__actions .mag-btn { width: 100%; }
	.mag-faq__a { padding-left: 0; }
	.mag-colophon__spec div { grid-template-columns: 1fr; gap: .1rem; }
	/* Leaders need a line to run along; stack instead on narrow screens. */
	.mag-spec__row { flex-wrap: wrap; gap: .25rem .9rem; }
	.mag-spec__leader { display: none; }
	.mag-spec__key { flex: 0 0 100%; }
	.mag-spec__val { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
	}
	.mag-reveal { opacity: 1; transform: none; }
	.mag-book:hover .mag-book__inner { transform: rotateY(26deg) rotateX(3deg); }
}

/* ==========================================================================
   WooCommerce pages — checkout, order received, my account
   Woo ships its own purple; these pages are part of the book's experience.
   ========================================================================== */

.woocommerce,
.wc-block-components-form,
.wp-block-woocommerce-checkout {
	font-family: var(--mag-sans);
	color: var(--mag-ink);
}

.woocommerce h1, .woocommerce h2, .woocommerce h3,
.wc-block-components-title,
.wc-block-components-checkout-step__title,
.woocommerce-order h2 {
	font-family: var(--mag-display);
	font-variation-settings: var(--mag-wonk);
	color: var(--mag-maroon);
	letter-spacing: -.015em;
}

/* Buttons: the maroon rectangle with its inset gold rule, same as the page. */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wc-block-components-button:not(.is-link),
.wp-element-button,
.woocommerce-button {
	background: var(--mag-maroon) !important;
	color: var(--mag-paper) !important;
	border: 0 !important;
	border-radius: 2px !important;
	font-family: var(--mag-sans) !important;
	font-size: .76rem !important;
	font-weight: 600 !important;
	letter-spacing: .14em !important;
	text-transform: uppercase !important;
	padding: 1rem 1.8rem !important;
	box-shadow: inset 0 0 0 1px rgba(220, 187, 107, .0), 0 0 0 0 transparent;
	transition: background .3s ease;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.wc-block-components-button:not(.is-link):hover,
.wp-element-button:hover,
.woocommerce-button:hover {
	background: var(--mag-ink) !important;
	color: var(--mag-paper) !important;
}

.wc-block-components-button__text { letter-spacing: .14em; }

/* Links and accents */
.woocommerce a:not(.button),
.wc-block-components-button.is-link {
	color: var(--mag-wine);
}

/* Tables and panels: hairlines, not heavy fills. */
.woocommerce table.shop_table,
.woocommerce-order-details table,
.woocommerce-table {
	border: 1px solid var(--mag-rule);
	border-collapse: collapse;
	background: transparent;
}
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	border-color: var(--mag-rule) !important;
}
.woocommerce-order,
.woocommerce-account .woocommerce {
	max-width: var(--mag-wrap);
	margin-inline: auto;
	padding: clamp(2.5rem, 6vw, 5rem) var(--mag-gutter);
}
.woocommerce-order-overview,
.woocommerce-thankyou-order-details {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	padding: 1.2rem 0;
	border-top: 1px solid var(--mag-rule);
	border-bottom: 1px solid var(--mag-rule);
	margin-bottom: 2.5rem;
}
.woocommerce-order-overview li {
	font-size: .7rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--mag-muted);
}
.woocommerce-order-overview li strong {
	display: block;
	margin-top: .35rem;
	font-family: var(--mag-display);
	font-variation-settings: var(--mag-wonk);
	font-size: 1.15rem;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	color: var(--mag-maroon);
}

/* The block checkout sits on paper like everything else. */
.wp-block-woocommerce-checkout .wc-block-components-sidebar,
.wc-block-components-order-summary {
	background: var(--mag-paper-tint);
}

/* ------------------------------------------------- Formats (choose a copy) */
.mag-formats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0;
	border-top: 1px solid var(--mag-rule);
}
.mag-format {
	display: flex;
	flex-direction: column;
	padding: 2.4rem 1.9rem 2.2rem 0;
	border-right: 1px solid var(--mag-rule);
}
.mag-format:last-child { border-right: 0; padding-right: 0; }
.mag-format:not(:first-child) { padding-left: 1.9rem; }
.mag-format--feature { position: relative; }
.mag-format--feature::before {
	content: "";
	position: absolute;
	top: -1px; left: 0; right: 0;
	height: 2px;
	background: var(--mag-gold);
}
.mag-format__flag {
	font-family: var(--mag-sans);
	font-size: .6rem;
	font-weight: 600;
	letter-spacing: .2em;
	text-transform: uppercase;
	color: var(--mag-maroon);
	margin-bottom: .9em;
}
.mag-format__flag::before {
	content: "";
	display: inline-block;
	width: 1.4em;
	height: 1px;
	background: var(--mag-gold);
	vertical-align: middle;
	margin-right: .6em;
}
.mag-format__name {
	font-size: 1.3rem;
	margin-bottom: .35em;
}
/* The featured column carries the flag; the others start level with its name. */
.mag-format:not(.mag-format--feature) .mag-format__name { margin-top: 2.1em; }
@media (max-width: 860px) {
	.mag-format:not(.mag-format--feature) .mag-format__name { margin-top: 0; }
}
.mag-format__price {
	font-family: var(--mag-display);
	font-variation-settings: var(--mag-wonk);
	font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.5rem);
	font-weight: 600;
	color: var(--mag-maroon);
	line-height: 1;
	letter-spacing: -.03em;
	margin-bottom: .7em;
}
.mag-format__price span {
	font-family: var(--mag-sans);
	font-size: .62rem;
	font-weight: 600;
	letter-spacing: .18em;
	color: var(--mag-muted);
	vertical-align: middle;
	margin-left: .2em;
}
.mag-format__body {
	font-size: .95rem;
	color: var(--mag-muted);
	margin-bottom: 1.6rem;
}
.mag-format .mag-btn { margin-top: auto; }
.mag-format__pending {
	margin-top: auto;
	font-size: .7rem;
	font-weight: 600;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--mag-muted);
	border: 1px dashed var(--mag-rule);
	padding: 1rem;
	text-align: center;
}
.mag-format__fine {
	margin: 1rem 0 0;
	font-size: .78rem;
	line-height: 1.5;
	color: var(--mag-muted);
}

/* Stacked variant of the contents rows, for Read / Reflect / Get aligned. */
.mag-toc__item--stacked { grid-template-columns: 2.6rem 1fr; row-gap: .35rem; }
.mag-toc__item--stacked .mag-toc__line { grid-column: 2; }

/* ----------------------------------------------------------- Closing block */
.mag-final__body { max-width: 44rem; margin: 0 auto 2.5rem; }
.mag-final__title {
	font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem);
	color: var(--mag-paper);
	margin-bottom: .5em;
}
.mag-final__cta { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; }

/* ------------------------------------------------------------ Updates form */
.mag-updates {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: start;
}
.mag-updates__lede { color: var(--mag-muted); max-width: 28rem; }
.mag-form__row { margin-bottom: 1.1rem; }
.mag-form__label {
	display: block;
	font-size: .7rem;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--mag-wine);
	margin-bottom: .4rem;
}
.mag-form__input {
	width: 100%;
	padding: .85rem 1rem;
	font-family: var(--mag-sans);
	font-size: 1rem;
	color: var(--mag-ink);
	background: var(--mag-paper);
	border: 1px solid var(--mag-rule);
	border-radius: 2px;
}
.mag-form__input:focus { outline: 2px solid var(--mag-gold); outline-offset: 1px; }
.mag-form__consent {
	display: flex;
	gap: .7rem;
	align-items: flex-start;
	font-size: .88rem;
	color: var(--mag-muted);
	margin: 1.2rem 0 1.6rem;
	cursor: pointer;
}
.mag-form__consent input { margin-top: .25rem; flex: none; }
/* Honeypot: present for bots, gone for everyone else. */
.mag-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.mag-notice {
	padding: .9rem 1.1rem;
	margin-bottom: 1.4rem;
	font-size: .92rem;
	border-left: 3px solid var(--mag-gold);
	background: var(--mag-paper);
}
.mag-notice--warn { border-left-color: var(--mag-wine); }

@media (max-width: 1040px) {
	.mag-formats { grid-template-columns: 1fr; }
	.mag-format {
		border-right: 0 !important;
		border-bottom: 1px solid var(--mag-rule);
		padding: 2rem 0 !important;
	}
	.mag-format:last-child { border-bottom: 0; }
	.mag-format--feature::before { display: none; }
	.mag-updates { grid-template-columns: 1fr; }
}
