/* The First Twelve Days
   Design read: memoir author site for general readers, book clubs and media.
   Cinematic dark editorial language taken from the actual cover: stark silhouette,
   tall condensed capitals, one crimson accent. Antonio (display) + Geist (text). */

@font-face { font-family: "Antonio"; src: url("../fonts/antonio.woff2") format("woff2"); font-weight: 100 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/geist-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
	--bg: #0b0b0c;
	--bg-1: #111113;
	--bg-2: #17171a;
	--bg-3: #1e1e22;
	--ink: #ecebe8;
	--muted: #a1a1a6;
	--dim: #74747a;
	--hair: rgba(255, 255, 255, .07);
	--hair-2: rgba(255, 255, 255, .13);
	--accent: #d23b36;
	--accent-hi: #e2534d;
	--accent-ink: #fff;

	--display: "Antonio", "Arial Narrow", "Roboto Condensed", sans-serif;
	--sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

	--r-outer: 28px;
	--r-inner: 22px;
	--r-sm: 14px;
	--pill: 999px;

	--gutter: clamp(16px, 4.5vw, 56px);
	--max: 1320px;
	--sec: clamp(96px, 13vw, 176px);

	--ease: cubic-bezier(.32, .72, 0, 1);
	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--spring: cubic-bezier(.34, 1.36, .64, 1);

	--tab-h: 64px;
	--safe-b: env(safe-area-inset-bottom, 0px);
	--safe-t: env(safe-area-inset-top, 0px);
	color-scheme: dark;
}

/* z-index scale: grain 60, nav 40, island 44, tabs 45, sheet (top layer) */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 clamp(16px, .45vw + 14px, 18px)/1.62 var(--sans);
	letter-spacing: -.005em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
	-webkit-tap-highlight-color: transparent;
	text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
cite { font-style: italic; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-hi); outline-offset: 3px; border-radius: 6px; }
.ico { width: 1em; height: 1em; flex: none; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 70; padding: 12px 18px; background: var(--ink); color: var(--bg); border-radius: var(--pill); transform: translateY(-160%); transition: transform .3s var(--ease); }
.skip:focus { transform: none; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* Film grain: fixed, non-interactive, never on scrolling layers. */
.grain { position: fixed; inset: 0; z-index: 60; pointer-events: none; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Type ---------- */
.h2 { font-family: var(--display); font-weight: 300; font-size: clamp(44px, 6.2vw, 96px); line-height: .98; letter-spacing: -.01em; text-transform: uppercase; max-width: 14ch; text-wrap: balance; }
.h3 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.08; letter-spacing: 0; }
.link { display: inline-flex; align-items: center; gap: .4em; color: var(--ink); background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .5s var(--ease), color .3s; }
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.link .ico { width: .95em; height: .95em; transition: transform .5s var(--ease); }
.link:hover .ico { transform: translateX(3px); }

/* ---------- Double bezel ---------- */
.bezel { position: relative; padding: 6px; border-radius: var(--r-outer); background: rgba(255, 255, 255, .025); box-shadow: inset 0 0 0 1px var(--hair); }
.bezel__core { position: relative; height: 100%; border-radius: var(--r-inner); background: linear-gradient(180deg, var(--bg-2), var(--bg-1)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 30px 60px -40px rgba(0, 0, 0, .9); overflow: hidden; }

/* ---------- Buttons (island + button-in-button) ---------- */
.btn {
	--bx: 0px; --by: 0px;
	position: relative; display: inline-flex; align-items: center; gap: 14px;
	min-height: 56px; padding: 6px 6px 6px 26px;
	border-radius: var(--pill); border: 0; cursor: pointer;
	font: 500 15px/1 var(--sans); letter-spacing: .005em; white-space: nowrap;
	transform: translate3d(var(--bx), var(--by), 0);
	transition: transform .6s var(--ease), background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease);
	touch-action: manipulation;
}
.btn__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: transform .6s var(--ease), background-color .4s var(--ease); }
.btn__icon .ico { width: 18px; height: 18px; }
.btn:hover .btn__icon { transform: translate(3px, -1px) scale(1.06); }
.btn:active { transform: translate3d(var(--bx), var(--by), 0) scale(.97); transition-duration: .15s; }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 18px 40px -18px rgba(210, 59, 54, .7); }
.btn--primary .btn__icon { background: rgba(0, 0, 0, .2); }
.btn--primary:hover { background: var(--accent-hi); }
.btn--ghost { background: rgba(255, 255, 255, .04); color: var(--ink); box-shadow: inset 0 0 0 1px var(--hair-2); }
.btn--ghost .btn__icon { background: rgba(255, 255, 255, .07); }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); }
.btn--link { min-height: 44px; padding: 0; background: none; }
.btn--sm { min-height: 46px; padding: 4px 4px 4px 20px; font-size: 14px; gap: 10px; }
.btn--sm .btn__icon { width: 38px; height: 38px; }

/* ---------- Floating island nav ---------- */
.admin-bar .nav { margin-top: 32px; }
@media (max-width: 782px) { .admin-bar .nav { margin-top: 46px; } }
.nav { position: fixed; top: calc(14px + var(--safe-t)); left: 0; right: 0; z-index: 40; display: flex; justify-content: center; pointer-events: none; transition: transform .7s var(--ease); }
.nav.is-hidden { transform: translateY(-140%); }
.nav__island { pointer-events: auto; display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: var(--pill); background: rgba(17, 17, 19, .62); backdrop-filter: blur(22px) saturate(160%); -webkit-backdrop-filter: blur(22px) saturate(160%); box-shadow: inset 0 0 0 1px var(--hair-2), inset 0 1px 0 rgba(255, 255, 255, .08), 0 20px 50px -24px rgba(0, 0, 0, .9); }
.nav__mark { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 8px; }
.nav__num { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font: 500 12px/1 var(--display); letter-spacing: .06em; }
.nav__word { font: 400 15px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.nav__links { display: none; align-items: center; gap: 2px; }
.nav__links a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: var(--pill); font-size: 14px; color: var(--muted); transition: color .3s, background-color .4s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a[aria-current="page"] { color: var(--ink); background: rgba(255, 255, 255, .07); }
.nav__cta { display: none; }
@media (min-width: 960px) {
	.nav__links, .nav__cta { display: inline-flex; }
	.nav__island { gap: 10px; }
}

/* ---------- Reveal defaults ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(40px); filter: blur(6px); }
.js [data-split] { visibility: hidden; }
.js .is-split[data-split] { visibility: visible; }
.split-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.js [data-hero-fade] { opacity: 0; }
.js .hero__title .line > span { transform: translateY(105%); }
@media (prefers-reduced-motion: reduce) {
	.js [data-reveal], .js [data-hero-fade] { opacity: 1; transform: none; filter: none; }
	.js [data-split] { visibility: visible; }
	.js .hero__title .line > span { transform: none; }
}

section { position: relative; }

/* ---------- Hero ---------- */
.hero { min-height: 100dvh; display: flex; align-items: center; padding: calc(96px + var(--safe-t)) 0 64px; overflow: clip; }
.hero__glow { position: absolute; right: -10vw; top: 50%; width: 70vw; height: 70vw; max-width: 980px; max-height: 980px; transform: translateY(-50%); background: radial-gradient(closest-side, rgba(210, 59, 54, .2), rgba(210, 59, 54, .05) 55%, transparent 72%); pointer-events: none; }
.hero__grid { position: relative; display: grid; gap: 36px; align-items: center; }
.hero__author { margin: 0 0 18px; font: 400 15px/1 var(--display); letter-spacing: .32em; text-transform: uppercase; color: var(--accent-hi); }
.hero__title { font-family: var(--display); font-weight: 200; text-transform: uppercase; font-size: clamp(60px, 8.6vw, 140px); line-height: .9; letter-spacing: .005em; }
.hero__title--md { font-size: clamp(56px, 7.4vw, 120px); }
.hero__title .line > span { white-space: nowrap; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; }
.hero__lede { margin: 26px 0 0; max-width: 34ch; font-size: clamp(17px, 1.3vw, 20px); color: var(--muted); text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__book { display: grid; place-items: center; }
@media (min-width: 960px) {
	.hero__grid { grid-template-columns: 1.3fr .7fr; gap: 32px; }
}
@media (max-width: 959px) {
	.hero { padding: calc(76px + var(--safe-t)) 0 calc(var(--tab-h) + 40px); align-items: flex-start; }
	.hero__book { order: -1; }
	.hero__grid { gap: 14px; justify-items: start; }
	.hero .book3d__hint { display: none; }
	.hero__book { justify-self: stretch; }
	.hero__author { margin-bottom: 12px; font-size: 13px; }
	.hero__title { font-size: clamp(54px, 15.5vw, 92px); }
	.hero__title--md { font-size: clamp(50px, 14vw, 84px); }
	.hero__lede { margin-top: 12px; font-size: 16px; line-height: 1.5; }
	.hero__ctas { margin-top: 18px; width: 100%; gap: 10px; }
	.hero__ctas .btn { flex: 1 1 100%; justify-content: space-between; min-height: 52px; }
	.hero__ctas .btn__icon { width: 40px; height: 40px; }
}
@media (max-width: 959px) and (max-height: 760px) {
	.hero .book3d { --w: min(28vw, 112px); }
	.hero__title { font-size: clamp(48px, 13.5vw, 70px); }
	.hero__author { margin-bottom: 8px; }
}

/* ---------- 3D book ---------- */
.book3d { --w: min(38vw, 168px); --d: calc(var(--w) * .07); --h: calc(var(--w) * 1.5); display: grid; justify-items: center; gap: 18px; user-select: none; -webkit-user-select: none; }
@media (min-width: 960px) { .book3d--lg { --w: clamp(260px, 25vw, 370px); } .book3d--md { --w: clamp(240px, 22vw, 320px); } }
.book3d__stage { position: relative; width: var(--w); height: var(--h); perspective: 1800px; touch-action: pan-y; cursor: grab; }
.book3d__stage:active { cursor: grabbing; }
.book3d__obj { --rx: 4deg; --ry: -26deg; position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); transition: transform 1.1s var(--ease); will-change: transform; }
.book3d__obj.is-live { transition: transform .14s linear; }
.book3d__face { position: absolute; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.book3d__front { inset: 0; transform: translateZ(calc(var(--d) / 2)); border-radius: 2px 7px 7px 2px; overflow: hidden; background: #f4f4f2; }
.book3d__front img { width: 100%; height: 100%; object-fit: cover; }
.book3d__front::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 12px; background: linear-gradient(90deg, rgba(0, 0, 0, .3), transparent); }
.book3d__sheen { position: absolute; inset: 0; background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, .34) 48%, transparent 62%); mix-blend-mode: soft-light; transform: translateX(calc(var(--sheen, 0) * 1%)); pointer-events: none; }
.book3d__back { inset: 0; transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); background: #f4f4f2; color: #111; display: grid; place-items: center; padding: 16%; border-radius: 7px 2px 2px 7px; }
.book3d__back p { margin: 0; font: 300 calc(var(--w) * .09)/1.05 var(--display); letter-spacing: .16em; text-transform: uppercase; text-align: center; }
.book3d__back p span { display: block; margin-top: .8em; font-size: .5em; color: #b0151d; letter-spacing: .3em; }
.book3d__spine { top: 0; left: 0; width: var(--d); height: 100%; transform: rotateY(-90deg) translateZ(calc(var(--d) / 2)); background: linear-gradient(90deg, #e2e2df, #fbfbf9 50%, #dcdcd8); display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 14px 0; color: #111; font: 400 calc(var(--d) * .46)/1 var(--display); writing-mode: vertical-rl; letter-spacing: .2em; text-transform: uppercase; }
.book3d__spine span:last-child { color: #b0151d; }
.book3d__pages { top: 3px; right: 0; width: calc(var(--d) - 2px); height: calc(100% - 6px); transform: rotateY(90deg) translateZ(calc(var(--w) - var(--d) / 2 - 1px)); left: calc(var(--d) * -.5 + 1px); background: repeating-linear-gradient(90deg, #f3f3f0 0 1px, #d8d8d3 1px 2px); }
.book3d__top { left: 0; top: 0; width: 100%; height: var(--d); transform: rotateX(90deg) translateZ(calc(var(--d) / 2)); background: repeating-linear-gradient(0deg, #f3f3f0 0 1px, #d8d8d3 1px 2px); }
.book3d__shadow { position: absolute; left: 4%; right: 4%; bottom: -34px; height: 46px; background: radial-gradient(closest-side, rgba(0, 0, 0, .85), transparent); filter: blur(10px); transform: translateX(calc(var(--ry-n, -.4) * -20px)); z-index: -1; }
.book3d__hint { margin: 6px 0 0; font-size: 12px; letter-spacing: .04em; color: var(--dim); }
.only-touch { display: none; }
@media (hover: none) { .only-touch { display: inline; } .only-fine { display: none; } }
@media (prefers-reduced-motion: reduce) { .book3d__obj { transition: none; } }

/* ---------- Count (signature, pinned) ---------- */
.count { background: var(--bg); }
.count__pin { min-height: 100dvh; display: flex; align-items: center; padding-block: 96px; overflow: hidden; }
.count__grid { display: grid; gap: 28px; align-items: center; }
.count__h { font-family: var(--display); font-weight: 300; text-transform: uppercase; font-size: clamp(40px, 5.2vw, 80px); line-height: .98; }
.count__h span { color: var(--dim); }
.count__ticks { display: grid; grid-template-columns: repeat(12, 1fr); gap: 6px; list-style: none; margin: 34px 0 30px; padding: 0; max-width: 520px; }
.count__ticks li { height: 4px; border-radius: 2px; background: var(--hair-2); transition: background-color .45s var(--ease), transform .45s var(--spring); transform-origin: bottom; }
.count__ticks li.is-on { background: var(--accent); }
.count__words { display: grid; gap: 14px; max-width: 520px; }
.count__words p { margin: 0; color: var(--muted); opacity: .25; transform: translateY(8px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.count__words p.is-on { opacity: 1; transform: none; }
.count__words strong { font: 400 1.25em/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--ink); margin-right: 6px; }
.count__num { margin: 0; display: flex; flex-direction: column; align-items: flex-end; font-family: var(--display); font-weight: 100; line-height: .8; }
.count__num [data-count-num] { font-size: clamp(170px, 30vw, 460px); letter-spacing: -.02em; font-variant-numeric: tabular-nums; color: var(--ink); }
.count__day { font-weight: 400; font-size: clamp(16px, 1.4vw, 20px); letter-spacing: .4em; text-transform: uppercase; color: var(--accent-hi); margin-right: .6em; }
@media (min-width: 960px) { .count__grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
@media (max-width: 959px) {
	.count__pin { padding-block: 72px; }
	.count__num { order: -1; align-items: flex-start; }
	.count__num [data-count-num] { font-size: clamp(150px, 46vw, 260px); }
}

/* ---------- Sticky stack ---------- */
.stack { padding-top: var(--sec); }
.stack__head { margin-bottom: 48px; }
.stack__list { position: relative; width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.stack__card { position: sticky; top: calc(96px + var(--i) * 14px); height: min(72dvh, 620px); margin-bottom: 18vh; transform-origin: 50% 0; will-change: transform; }
.stack__card:last-child { margin-bottom: 0; }
.stack__card > .bezel { height: 100%; }
.stack__core { display: grid; grid-template-rows: auto 1fr auto auto; padding: clamp(28px, 4vw, 64px); }
.stack__card:nth-child(2) .stack__core { background: linear-gradient(160deg, #1a1a1d, #101012); }
.stack__card:nth-child(3) .stack__core { background: radial-gradient(120% 90% at 100% 0%, rgba(210, 59, 54, .28), transparent 60%), linear-gradient(180deg, #19171a, #0f0f11); }
.stack__card:nth-child(4) .stack__core { background: linear-gradient(200deg, #1d1d21, #0f0f11); }
.stack__card:nth-child(5) .stack__core { background: radial-gradient(90% 70% at 0% 100%, rgba(255, 255, 255, .06), transparent 60%), linear-gradient(180deg, #161618, #0e0e10); }
.stack__n { position: absolute; top: clamp(18px, 3vw, 40px); right: clamp(22px, 3.5vw, 56px); font: 100 clamp(110px, 16vw, 240px)/.8 var(--display); color: rgba(255, 255, 255, .06); }
.stack__ico { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(210, 59, 54, .14); color: var(--accent-hi); box-shadow: inset 0 0 0 1px rgba(210, 59, 54, .3); }
.stack__ico .ico { width: 28px; height: 28px; }
.stack__title { grid-row: 3; font: 300 clamp(48px, 7vw, 112px)/.95 var(--display); text-transform: uppercase; letter-spacing: -.005em; }
.stack__text { grid-row: 4; margin: 18px 0 0; max-width: 44ch; color: var(--muted); font-size: clamp(16px, 1.3vw, 20px); }
@media (max-width: 959px) {
	.stack__card { top: calc(80px + var(--i) * 10px); height: min(64dvh, 520px); margin-bottom: 14vh; }
	.stack__ico { width: 48px; height: 48px; }
}

/* ---------- Manifesto (brighten) ---------- */
.manifesto { padding-block: var(--sec); }
.manifesto__text { font: 300 clamp(30px, 3.9vw, 60px)/1.12 var(--display); letter-spacing: .005em; max-width: 26ch; margin: 0; text-wrap: pretty; }
.manifesto__text .w, .pull__text .w { color: rgba(236, 235, 232, .14); transition: color .35s var(--ease); }
.manifesto__text .w.is-lit, .pull__text .w.is-lit { color: var(--ink); }
.reduced .manifesto__text .w, .reduced .pull__text .w { color: var(--ink); }
.manifesto__foot { display: grid; gap: 22px; margin-top: 48px; max-width: 520px; margin-left: auto; }
.manifesto__foot p { margin: 0; color: var(--muted); }
.manifesto__foot .btn { justify-self: start; }

/* ---------- Reviews ---------- */
.reviews { padding-block: var(--sec); }
.reviews__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.reviews__score { display: flex; align-items: center; gap: 16px; margin: 0; }
.reviews__big { font: 200 clamp(72px, 7vw, 110px)/.8 var(--display); }
.reviews__score > span:last-child { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.stars { display: inline-flex; gap: 3px; color: var(--accent-hi); }
.stars .ico { width: 16px; height: 16px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(84vw, 400px); gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 6px var(--gutter) 24px; scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 1100px) { .rail { padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); } }
.review { margin: 0; }
.review__core { display: flex; flex-direction: column; gap: 22px; padding: 30px; min-height: 290px; }
.review__mark { width: 30px; height: 30px; color: var(--accent-hi); }
.review__text { margin: 0; flex: 1; font: 300 22px/1.25 var(--display); letter-spacing: .01em; }
.review__text p { margin: 0; }
.review__by { display: grid; gap: 3px; font-size: 14px; }
.review__by span { color: var(--dim); }
.reviews__foot { margin-top: 26px; }

/* ---------- Portrait (expanding frame) ---------- */
.portrait { padding-block: 0 var(--sec); }
.portrait__frame { position: relative; height: 104dvh; min-height: 640px; overflow: hidden; clip-path: inset(0 var(--gutter) round var(--r-outer)); }
.portrait__img { position: absolute; inset: 0; width: 100%; height: 112%; object-fit: cover; object-position: 50% 6%; filter: grayscale(1) contrast(1.08) brightness(.82); }
.portrait__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 11, 12, .1) 30%, rgba(11, 11, 12, .65) 65%, var(--bg) 100%); }
.portrait__copy { position: absolute; left: 0; right: 0; bottom: clamp(40px, 7vw, 96px); margin-inline: auto; }
.portrait__name { font: 200 clamp(64px, 11vw, 176px)/.88 var(--display); text-transform: uppercase; }
.portrait__bio { max-width: 46ch; margin: 22px 0 26px; color: rgba(236, 235, 232, .82); }
@media (max-width: 959px) { .portrait__frame { height: 100dvh; min-height: 560px; } }

/* ---------- Pull (promise) ---------- */
.pull { padding-block: var(--sec); }
.pull__text { font: 200 clamp(48px, 8.4vw, 136px)/.95 var(--display); text-transform: uppercase; max-width: 12ch; margin: 0; }

/* ---------- Comparables bento ---------- */
.comps { padding-block: var(--sec); }
.comps__lede { margin: 20px 0 44px; color: var(--muted); }
.comps__grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.comp__core { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 32px; min-height: 240px; }
.comp__title { margin: 0; font: 300 clamp(28px, 2.6vw, 40px)/1 var(--display); text-transform: uppercase; }
.comp__title cite { font-style: normal; }
.comp__author { margin: 0; color: var(--accent-hi); font-size: 14px; letter-spacing: .02em; }
.comp__why { margin: 14px 0 0; color: var(--muted); max-width: 40ch; }
.comp--0 .comp__core { background: radial-gradient(110% 100% at 100% 0%, rgba(210, 59, 54, .32), transparent 55%), linear-gradient(180deg, #1a1719, #0f0f11); min-height: 320px; }
.comp--2 .comp__core { background: linear-gradient(140deg, #222226, #121214); }
@media (min-width: 900px) {
	.comps__grid { grid-template-columns: repeat(6, 1fr); }
	.comp--0 { grid-column: span 4; grid-row: span 2; }
	.comp--1 { grid-column: span 2; }
	.comp--2 { grid-column: span 2; }
	.comp--3 { grid-column: span 6; }
	.comp--0 .comp__core { min-height: 100%; }
	.comp--0 .comp__title { font-size: clamp(40px, 4.4vw, 68px); }
	.comp--3 .comp__core { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 32px; min-height: 180px; }
	.comp--3 .comp__why { margin: 0; text-align: right; }
}

/* ---------- Buy ---------- */
.buy { padding-block: var(--sec); background: radial-gradient(70% 60% at 85% 20%, rgba(210, 59, 54, .14), transparent 70%); }
.buy__grid { display: grid; gap: 44px; grid-template-columns: minmax(0, 1fr); }
.buy__lede { margin: 22px 0 28px; max-width: 36ch; color: var(--muted); }
.buy__editions { display: grid; gap: 14px; }
.edition__core { display: grid; grid-template-columns: 92px minmax(0, 1fr); grid-template-rows: auto auto; gap: 20px 22px; padding: 22px; align-items: center; }
.edition__cover img { width: 92px; border-radius: 3px 6px 6px 3px; box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .9); transition: transform .8s var(--ease); }
.edition:hover .edition__cover img { transform: translateY(-4px) rotate(-1.5deg); }
.edition__format { font: 400 15px/1 var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.edition__price { margin: 10px 0 6px; font: 200 56px/.9 var(--display); }
.edition__isbn { margin: 0; font-size: 13px; color: var(--dim); font-variant-numeric: tabular-nums; }
.edition__btn { grid-column: 1 / -1; justify-content: space-between; }
@media (min-width: 960px) {
	.buy__grid { grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
	.buy__editions { grid-template-columns: 1fr 1fr; }
	.edition__core { grid-template-columns: 1fr; padding: 28px; }
	.edition__cover img { width: 128px; }
}

/* ---------- Footer ---------- */
.foot { padding: 80px 0 calc(28px + var(--safe-b)); border-top: 1px solid var(--hair); }
.foot__top { display: grid; gap: 48px; }
.foot__top > * { min-width: 0; }
.foot__h { font: 300 clamp(30px, 3vw, 44px)/1 var(--display); text-transform: uppercase; margin-bottom: 12px; }
.foot__p { color: var(--muted); max-width: 40ch; }
.news { margin-top: 18px; max-width: 460px; }
.news__field { display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: var(--pill); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--hair-2); transition: box-shadow .3s; }
.news__field:focus-within { box-shadow: inset 0 0 0 1px var(--accent-hi); }
.news__field input { flex: 1; min-width: 0; min-height: 46px; padding: 0 16px; border: 0; background: none; color: var(--ink); font: inherit; font-size: 16px; outline: none; }
.news__field input::placeholder { color: var(--dim); }
.form-status { margin: 10px 0 0; min-height: 1.3em; font-size: 14px; color: var(--muted); }
.form-status.is-ok { color: #9ed6a8; }
.form-status.is-err { color: #ff9f97; }
form.is-busy button[type="submit"] { opacity: .6; pointer-events: none; }
.foot__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; align-content: start; }
.foot__nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); transition: color .3s; }
.foot__nav a:hover { color: var(--ink); }
.foot__word { margin: 72px 0 0; font: 200 min(8.4vw, 132px)/.85 var(--display); text-transform: uppercase; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(236, 235, 232, .2); letter-spacing: -.005em; overflow: hidden; }
.foot__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; margin-top: 28px; font-size: 14px; color: var(--dim); }
.foot__base p { margin: 0; }
.foot__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; }
.foot__legal a { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); }
.foot__legal span a { min-height: auto; color: var(--ink); background: linear-gradient(var(--hair-2), var(--hair-2)) 0 100% / 100% 1px no-repeat; }
@media (min-width: 960px) { .foot__top { grid-template-columns: 1.2fr 1fr; } .foot__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.social { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.social a { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; border-radius: var(--pill); color: var(--muted); transition: color .3s, background-color .4s var(--ease); }
.social a:hover { color: var(--ink); background: rgba(255, 255, 255, .06); }
.social .ico { width: 20px; height: 20px; }
.social--foot span, .social--sheet span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.social--pills { margin-top: 28px; }
.social--pills a { padding: 0 18px; box-shadow: inset 0 0 0 1px var(--hair-2); font-size: 14px; }
.social--list { flex-direction: column; gap: 0; }
.social--list a { justify-content: flex-start; }

/* ---------- Inner page hero ---------- */
.phero { padding: calc(150px + var(--safe-t)) 0 clamp(40px, 6vw, 80px); }
.phero__title { font: 200 clamp(56px, 8.6vw, 140px)/.9 var(--display); text-transform: uppercase; max-width: 13ch; text-wrap: balance; }
.phero__lede { margin: 26px 0 0; max-width: 46ch; color: var(--muted); font-size: clamp(17px, 1.3vw, 20px); }
.phero--story { padding-bottom: 24px; }
@media (max-width: 959px) { .phero { padding-top: calc(104px + var(--safe-t)); } .phero__title { font-size: clamp(52px, 15vw, 88px); } }
.hero--inner { min-height: auto; padding-top: calc(140px + var(--safe-t)); }
@media (min-width: 960px) { .hero--inner { min-height: 92dvh; } }

/* ---------- Prose split ---------- */
.prose-split { padding-block: var(--sec); }
.prose-split__grid { display: grid; gap: 30px; }
.prose-split__grid > * { min-width: 0; }
@media (min-width: 960px) { .prose-split__grid { grid-template-columns: .9fr 1.1fr; gap: 72px; } .prose-split__h { position: sticky; top: 120px; align-self: start; } }
.prose { max-width: 62ch; }
.prose p { color: var(--muted); }
.prose p:first-child { color: var(--ink); font-size: 1.12em; }
.prose h2 { font: 300 32px/1.05 var(--display); text-transform: uppercase; margin: 1.6em 0 .5em; }
.prose a { background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 1px no-repeat; }
.prose__em { font: 300 clamp(24px, 2.2vw, 32px)/1.2 var(--display); color: var(--ink) !important; padding-left: 22px; box-shadow: inset 2px 0 0 var(--accent); }

/* ---------- Book page ---------- */
.themes { padding-block: var(--sec); }
.themes .h2 { margin-bottom: 44px; }
.themes__grid { display: grid; gap: 14px; }
.theme__core { padding: 30px; min-height: 230px; display: flex; flex-direction: column; gap: 12px; }
.theme__core p { margin: 0; color: var(--muted); }
.theme__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(210, 59, 54, .14); color: var(--accent-hi); margin-bottom: auto; }
.theme__ico .ico { width: 24px; height: 24px; }
.theme__title { font: 300 clamp(30px, 2.8vw, 44px)/1 var(--display); text-transform: uppercase; margin-top: 28px; }
.theme--0 .theme__core { background: radial-gradient(110% 100% at 100% 0%, rgba(210, 59, 54, .26), transparent 60%), linear-gradient(180deg, #19171a, #0f0f11); }
.theme--3 .theme__core { background: linear-gradient(150deg, #222226, #111113); }
@media (min-width: 900px) {
	.themes__grid { grid-template-columns: repeat(6, 1fr); }
	.theme--0 { grid-column: span 4; } .theme--1 { grid-column: span 2; }
	.theme--2, .theme--3, .theme--4 { grid-column: span 2; }
	.theme--0 .theme__title { font-size: clamp(44px, 4.4vw, 68px); }
}

.facts { padding-block: 0 var(--sec); }
.facts .h2 { margin-bottom: 44px; }
.facts__grid { display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.fact--wide { grid-column: 1 / -1; }
.fact__core { padding: 24px; min-height: 150px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.fact__k { font: 400 13px/1 var(--display); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: auto; }
.fact__v { font: 300 clamp(22px, 2vw, 30px)/1.1 var(--display); overflow-wrap: anywhere; }
.fact__v--big { font-size: clamp(64px, 6vw, 96px); font-weight: 200; line-height: .85; }
.fact__v--mono { font-family: var(--sans); font-size: clamp(16px, 1.4vw, 20px); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.fact__s { font-size: 13px; color: var(--dim); }
@media (min-width: 900px) { .facts__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .fact--wide { grid-column: span 2; grid-row: span 2; } .fact--wide .fact__v { font-size: clamp(34px, 3vw, 48px); text-transform: uppercase; } .fact--wide .fact__core { min-height: 314px; } }

.sample { padding-block: 0 var(--sec); }
.sample__core { display: grid; gap: 22px; padding: clamp(28px, 4vw, 48px); background: radial-gradient(90% 120% at 0% 0%, rgba(210, 59, 54, .3), transparent 60%), linear-gradient(180deg, #19171a, #0f0f11); }
.sample__core p { color: var(--muted); margin: 10px 0 0; }
@media (min-width: 900px) { .sample__core { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- FAQ: side-by-side list ---------- */
.faq-sec { padding-block: var(--sec); }
.faq-sec .h2 { margin-bottom: 44px; }
.faq-sec--page { padding-top: 0; }
.qa { margin: 0; display: grid; gap: clamp(32px, 4vw, 52px); }
.qa__row { display: grid; gap: 10px; }
.qa__q { font: 300 clamp(24px, 2.2vw, 32px)/1.1 var(--display); text-transform: uppercase; }
.qa__a { margin: 0; color: var(--muted); max-width: 62ch; }
@media (min-width: 900px) { .qa__row { grid-template-columns: 5fr 7fr; gap: 48px; } }
.faq-sec__more { margin-top: 44px; color: var(--muted); }

/* ---------- Story arc ---------- */
.arc { position: relative; padding-bottom: 32px; }
.arc__track { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px var(--gutter) 28px; scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
.arc__track::-webkit-scrollbar { display: none; }
.arc__panel { flex: 0 0 min(84vw, 460px); scroll-snap-align: start; min-height: min(68dvh, 560px); }
.arc__core { display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 32px; }
.arc__n { position: absolute; top: 18px; right: 26px; font: 100 120px/.8 var(--display); color: rgba(255, 255, 255, .06); }
.arc__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(210, 59, 54, .14); color: var(--accent-hi); margin-bottom: auto; }
.arc__ico .ico { width: 26px; height: 26px; }
.arc__title { font: 300 clamp(40px, 4vw, 64px)/.95 var(--display); text-transform: uppercase; }
.arc__text { color: var(--muted); margin: 0; max-width: 34ch; }
.arc__big { font: 200 clamp(44px, 5vw, 80px)/.92 var(--display); text-transform: uppercase; margin: 0 0 auto; }
.arc__panel--lead { display: flex; flex-direction: column; justify-content: space-between; padding: 6px 12px 6px 0; }
.arc__panel--end .arc__core { background: radial-gradient(120% 100% at 100% 0%, rgba(255, 255, 255, .14), transparent 60%), var(--accent); }
.arc__panel--end .arc__text { color: rgba(255, 255, 255, .86); }
.arc__panel--end .btn--primary { background: #fff; color: #111; align-self: flex-start; }
.arc__panel--end .btn--primary .btn__icon { background: rgba(0, 0, 0, .08); }
.arc__progress { display: none; }
@media (min-width: 960px) {
	.arc.is-pinned { height: 100dvh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 0; }
	.arc.is-pinned .arc__track { overflow: visible; scroll-snap-type: none; padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); will-change: transform; }
	.arc__panel { flex-basis: 460px; }
	.arc.is-pinned .arc__progress { display: block; position: absolute; left: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); right: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); bottom: 48px; height: 2px; border-radius: 1px; background: var(--hair-2); overflow: hidden; }
	.arc__progress span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
}

.triad { padding-block: var(--sec); }
.triad__lede { color: var(--muted); margin: 18px 0 44px; }
.triad__grid { display: grid; gap: 14px; }
.triad__core { padding: 32px; min-height: 240px; display: flex; flex-direction: column; justify-content: flex-end; }
.triad__core > .ico { width: 34px; height: 34px; color: var(--accent-hi); margin-bottom: auto; }
.triad__core h3 { font: 200 clamp(48px, 5vw, 84px)/.9 var(--display); text-transform: uppercase; margin: 32px 0 12px; }
.triad__core p { margin: 0; color: var(--muted); max-width: 40ch; }
.triad__item--0 .triad__core { background: radial-gradient(110% 100% at 100% 0%, rgba(210, 59, 54, .26), transparent 60%), linear-gradient(180deg, #19171a, #0f0f11); }
@media (min-width: 900px) { .triad__grid { grid-template-columns: 1.3fr 1fr; } .triad__item--0 { grid-row: span 2; } .triad__item--0 .triad__core { min-height: 100%; } }

/* ---------- Author page ---------- */
.ahero { padding: calc(130px + var(--safe-t)) 0 var(--sec); }
.ahero__grid { display: grid; gap: 40px; align-items: end; }
.ahero__core { aspect-ratio: 4 / 5; }
.ahero__core img { position: absolute; inset: -6% 0 0; width: 100%; height: 112%; object-fit: cover; object-position: 50% 24%; filter: grayscale(1) contrast(1.06); }
@media (min-width: 960px) { .ahero__grid { grid-template-columns: .85fr 1.15fr; gap: 72px; } }
@media (max-width: 959px) { .ahero { padding-top: calc(92px + var(--safe-t)); } }

.press { padding-block: 0 var(--sec); }
.press .h2 { margin-bottom: 36px; }
.press__item { display: block; max-width: 760px; margin-bottom: 26px; }
.press__core { display: flex; align-items: center; gap: 18px; padding: 18px 18px 18px 20px; }
.press__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: rgba(210, 59, 54, .14); color: var(--accent-hi); flex: none; }
.press__ico .ico { width: 24px; height: 24px; }
.press__body { display: grid; flex: 1; gap: 4px; }
.press__body strong { font: 300 26px/1 var(--display); text-transform: uppercase; }
.press__body span { color: var(--dim); font-size: 14px; }
.press__go { background: rgba(255, 255, 255, .07); }
.press__item:hover .press__go { transform: translate(3px, -1px) scale(1.06); }
.press__more { color: var(--muted); }

/* ---------- Buy page ---------- */
.gift { padding-block: 0 var(--sec); }
.gift__grid { display: grid; gap: 14px; }
.gift__core { padding: 32px; display: flex; flex-direction: column; gap: 14px; height: 100%; }
.gift__core > .ico { width: 30px; height: 30px; color: var(--accent-hi); margin-bottom: 18px; }
.gift__core p { margin: 0; color: var(--muted); }
.gift__core .link { margin-top: auto; align-self: flex-start; }
.gift__item--lead .gift__core { background: radial-gradient(110% 100% at 0% 0%, rgba(210, 59, 54, .24), transparent 60%), linear-gradient(180deg, #19171a, #0f0f11); }
@media (min-width: 900px) { .gift__grid { grid-template-columns: 1.4fr 1fr; } .gift__item--lead { grid-row: span 2; } }

/* ---------- Contact ---------- */
.contact { padding-block: 0 var(--sec); }
.contact__grid { display: grid; gap: 14px; }
.contact__grid > * { min-width: 0; }
.contact__form { display: grid; gap: 22px; padding: clamp(24px, 4vw, 44px); }
.field { display: grid; gap: 10px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 14px; font-weight: 500; color: var(--muted); padding: 0; }
.field input, .field textarea { width: 100%; min-height: 54px; padding: 14px 18px; border-radius: var(--r-sm); border: 0; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--hair-2); color: var(--ink); font: inherit; font-size: 16px; transition: box-shadow .3s; }
.field input:focus, .field textarea:focus { outline: none; box-shadow: inset 0 0 0 1px var(--accent-hi); }
.field textarea { resize: vertical; min-height: 170px; }
.field--chips { display: flex; flex-wrap: wrap; gap: 8px; }
.field--chips legend { width: 100%; margin-bottom: 10px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--pill); box-shadow: inset 0 0 0 1px var(--hair-2); font-size: 14px; transition: background-color .35s var(--ease), color .35s var(--ease); }
.chip input:checked + span { background: var(--ink); color: var(--bg); }
.chip input:focus-visible + span { outline: 2px solid var(--accent-hi); outline-offset: 2px; }
.contact__form .btn { justify-self: start; }
.contact__aside { display: grid; gap: 14px; align-content: start; }
.contact__card .bezel__core { padding: 26px; }
.contact__card .h3 { margin-bottom: 12px; font-size: 26px; text-transform: uppercase; font-weight: 300; }
.contact__card p { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
@media (max-width: 599px) { .contact__form .btn { width: 100%; justify-content: space-between; } }
@media (min-width: 960px) { .contact__grid { grid-template-columns: 1.35fr .65fr; } }

/* ---------- Press kit ---------- */
.kit { padding-block: 0 var(--sec); }
.kit__grid { display: grid; gap: 14px; }
.kit__card { min-width: 0; }
.kit__card > .bezel__core { padding: 28px; }
.kit__card p, .kit__card li { color: var(--muted); }
.kit__card .h3 { margin-bottom: 14px; text-transform: uppercase; font-weight: 300; }
.kit__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.kit__head .h3 { margin: 0; }
.copy { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: var(--pill); border: 0; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px var(--hair-2); cursor: pointer; font-size: 14px; transition: background-color .35s var(--ease), color .35s var(--ease); }
.copy:hover { background: rgba(255, 255, 255, .1); }
.copy.is-done { background: var(--ink); color: var(--bg); }
.copy--sm { min-height: 36px; min-width: 44px; padding: 0 10px; justify-content: center; vertical-align: middle; }
.facts__table { margin: 0; display: grid; gap: 14px; }
.facts__table > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; font-size: 15px; }
.facts__table dt { color: var(--dim); }
.facts__table dd { margin: 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.kit__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.kit__imgs figure { margin: 0; display: grid; gap: 12px; }
.kit__imgs img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: var(--r-sm); }
.kit__imgs .btn { width: 100%; justify-content: space-between; }
.ticks { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; }
.ticks li::marker { color: var(--accent-hi); }
@media (min-width: 900px) { .kit__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .kit__card--wide { grid-column: span 2; } }

/* ---------- Book club ---------- */
.guide { padding-block: 0 var(--sec); }
.guide__grid { display: grid; gap: 40px; }
.guide__card .bezel__core { padding: 28px; }
.guide__card p { color: var(--muted); }
.guide__label { font: 400 14px/1 var(--display) !important; letter-spacing: .24em; text-transform: uppercase; color: var(--accent-hi) !important; }
.guide__qs { margin: 0; padding: 0; list-style: none; counter-reset: q; display: grid; gap: clamp(28px, 3.4vw, 44px); }
.guide__qs li { counter-increment: q; display: grid; grid-template-columns: 64px 1fr; gap: 14px; font: 300 clamp(22px, 2vw, 30px)/1.2 var(--display); }
.guide__qs li::before { content: counter(q, decimal-leading-zero); font: 200 40px/.8 var(--display); color: var(--accent-hi); }
@media (min-width: 960px) { .guide__grid { grid-template-columns: .55fr 1.45fr; gap: 72px; } .guide__aside { position: sticky; top: 120px; align-self: start; } }
.guide-cta { padding-bottom: var(--sec); }
.guide-cta__core { padding: clamp(28px, 4vw, 48px); display: grid; gap: 14px; justify-items: start; background: radial-gradient(90% 120% at 0% 0%, rgba(210, 59, 54, .26), transparent 60%), linear-gradient(180deg, #19171a, #0f0f11); }
.guide-cta__core p { color: var(--muted); margin: 0; }

/* ---------- Notes ---------- */
.notes { padding-block: 0 var(--sec); }
.notes__grid { display: grid; gap: 14px; }
@media (min-width: 700px) { .notes__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .notes__grid { grid-template-columns: repeat(3, 1fr); } }
.note__link { display: block; height: 100%; }
.note__core { display: grid; gap: 10px; padding: 24px; height: 100%; }
.note__img { border-radius: var(--r-sm); overflow: hidden; margin-bottom: 6px; }
.note__date { font-size: 13px; color: var(--dim); }
.note__title { font: 300 30px/1.02 var(--display); text-transform: uppercase; }
.note__ex { margin: 0; color: var(--muted); }
.empty__core { text-align: center; padding: 64px 24px; display: grid; gap: 12px; justify-items: center; }
.empty__core p { color: var(--muted); margin: 0; }
.empty__ico .ico { width: 36px; height: 36px; color: var(--accent-hi); }
.pager { margin-top: 32px; display: flex; gap: 8px; flex-wrap: wrap; }
.pager .page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: var(--pill); box-shadow: inset 0 0 0 1px var(--hair-2); }
.pager .current { background: var(--ink); color: var(--bg); }
.phero--single { padding-bottom: 32px; }
.single__meta { display: flex; gap: 18px; align-items: center; color: var(--dim); font-size: 14px; margin-bottom: 20px; }
.single__meta a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
.single__img { margin-bottom: 44px; }
.single__img img { border-radius: var(--r-outer); }
.single__body { padding-bottom: var(--sec); }
.single__body p { color: var(--ink); opacity: .9; }

/* ---------- Legal / 404 ---------- */
.legal { padding-block: 0 var(--sec); }
.legal .prose p:first-child { font-size: 1em; }
.nf { min-height: 100dvh; display: grid; place-items: center; padding-block: 120px 96px; text-align: center; }
.nf__inner { display: grid; justify-items: center; gap: 8px; }
.nf__num { font: 100 clamp(140px, 26vw, 300px)/.8 var(--display); color: var(--accent-hi); margin: 0; }
.nf .phero__title { max-width: 16ch; font-size: clamp(40px, 5vw, 72px); }
.nf .hero__ctas { justify-content: center; }

/* ---------- Mobile app chrome ---------- */
.tabs, .island { display: none; }
@media (max-width: 959px) {
	body { padding-bottom: calc(var(--tab-h) + var(--safe-b) + 24px); }
	.nav { top: calc(10px + var(--safe-t)); }
	.nav__island { padding: 5px; }
	.nav__mark { padding: 0 14px 0 4px; }
	.nav__num { width: 32px; height: 32px; }
	.nav__word { font-size: 14px; letter-spacing: .12em; }

	.tabs {
		position: fixed; left: 12px; right: 12px; bottom: calc(10px + var(--safe-b)); z-index: 45;
		display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
		height: var(--tab-h); padding: 6px; border-radius: 26px;
		background: rgba(20, 20, 22, .72); backdrop-filter: blur(24px) saturate(170%); -webkit-backdrop-filter: blur(24px) saturate(170%);
		box-shadow: inset 0 0 0 1px var(--hair-2), inset 0 1px 0 rgba(255, 255, 255, .08), 0 24px 50px -20px rgba(0, 0, 0, .95);
		view-transition-name: tabs;
	}
	.tabs__pill { position: absolute; top: 6px; bottom: 6px; left: 0; width: var(--pill-w, 0); border-radius: 20px; background: rgba(255, 255, 255, .09); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); transform: translateX(var(--pill-x, 0)); transition: transform .55s var(--spring), width .55s var(--ease); pointer-events: none; }
	.tabs__item { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 100%; min-height: 44px; border: 0; background: none; color: var(--dim); font-size: 10.5px; font-weight: 500; letter-spacing: .02em; cursor: pointer; transition: color .3s, transform .25s var(--ease); }
	.tabs__ico { position: relative; width: 24px; height: 24px; }
	.tabs__ico .ico { position: absolute; inset: 0; width: 24px; height: 24px; transition: opacity .3s, transform .45s var(--spring); }
	.tabs__ico .ico--on { opacity: 0; transform: scale(.6); color: var(--accent-hi); }
	.tabs__item.is-active { color: var(--ink); }
	.tabs__item.is-active .ico--on { opacity: 1; transform: scale(1); }
	.tabs__item.is-active .ico:not(.ico--on) { opacity: 0; }
	.tabs__item:active { transform: scale(.9); }

	.island {
		position: fixed; left: 50%; bottom: calc(var(--tab-h) + 22px + var(--safe-b)); z-index: 44;
		display: block; width: min(calc(100% - 24px), 420px);
		transform: translate(-50%, 24px) scale(.92); opacity: 0; pointer-events: none;
		transition: transform .6s var(--spring), opacity .35s var(--ease);
	}
	.island.is-shown { transform: translate(-50%, 0) scale(1); opacity: 1; pointer-events: auto; }
	.island__link { width: 100%; display: flex; align-items: center; gap: 12px; padding: 7px 7px 7px 9px; border-radius: 22px; background: rgba(20, 20, 22, .86); backdrop-filter: blur(20px) saturate(160%); -webkit-backdrop-filter: blur(20px) saturate(160%); box-shadow: inset 0 0 0 1px var(--hair-2), 0 20px 40px -18px rgba(0, 0, 0, .95); }
	.island__cover { width: 28px; height: auto; border-radius: 2px; }
	.island__text { flex: 1 1 auto; display: grid; min-width: 0; overflow: hidden; line-height: 1.25; }
	.island__btn { flex: none; }
	.island__text strong { font: 400 14px/1.2 var(--display); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.island__text span { font-size: 11.5px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.island__btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 16px; background: var(--accent); color: #fff; font-weight: 600; font-size: 14px; }
	.island__btn .ico { width: 16px; height: 16px; }
	.island__link:active { transform: scale(.98); }
}

/* Bottom sheet */
.sheet { padding: 0; border: 0; margin: 0; max-width: none; max-height: none; width: 100%; height: 100%; background: transparent; color: var(--ink); }
.sheet::backdrop { background: rgba(0, 0, 0, .5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sheet[open] { display: flex; align-items: flex-end; }
.sheet__panel { width: 100%; max-height: 88dvh; overflow: auto; margin: 0 8px 8px; padding: 0 18px calc(22px + var(--safe-b)); border-radius: 30px; background: rgba(22, 22, 25, .9); backdrop-filter: blur(30px) saturate(170%); -webkit-backdrop-filter: blur(30px) saturate(170%); box-shadow: inset 0 0 0 1px var(--hair-2), inset 0 1px 0 rgba(255, 255, 255, .08); transform: translateY(var(--sheet-y, 0)); animation: sheet-in .55s var(--ease); touch-action: pan-y; }
.sheet.is-closing .sheet__panel { animation: sheet-out .32s cubic-bezier(.4, 0, 1, 1) forwards; }
@keyframes sheet-in { from { transform: translateY(105%); } }
@keyframes sheet-out { to { transform: translateY(105%); } }
.sheet__grab { display: grid; place-items: center; height: 30px; cursor: grab; touch-action: none; }
.sheet__grab span { width: 42px; height: 5px; border-radius: 3px; background: var(--hair-2); }
.sheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.sheet__title { margin: 0; font: 300 34px/1 var(--display); text-transform: uppercase; }
.sheet__close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .07); cursor: pointer; }
.sheet__close .ico { width: 20px; height: 20px; }
.sheet__list { list-style: none; margin: 8px 0 0; padding: 0; }
.sheet__list li { opacity: 0; transform: translateY(16px); animation: sheet-item .6s var(--ease) forwards; }
.sheet__list li:nth-child(1) { animation-delay: .08s; } .sheet__list li:nth-child(2) { animation-delay: .12s; } .sheet__list li:nth-child(3) { animation-delay: .16s; }
.sheet__list li:nth-child(4) { animation-delay: .2s; } .sheet__list li:nth-child(5) { animation-delay: .24s; } .sheet__list li:nth-child(6) { animation-delay: .28s; }
@keyframes sheet-item { to { opacity: 1; transform: none; } }
.sheet__list a { display: flex; align-items: center; gap: 14px; min-height: 58px; border-radius: 16px; padding: 0 8px; transition: background-color .25s; }
.sheet__list a:active { background: rgba(255, 255, 255, .06); }
.sheet__label { font: 300 24px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.sheet__list a[aria-current="page"] .sheet__label { color: var(--accent-hi); }
.sheet__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .06); }
.sheet__ico .ico { width: 20px; height: 20px; }
.sheet__chev { margin-left: auto; color: var(--dim); width: 18px; height: 18px; }
.sheet__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 16px; }
@media (min-width: 960px) { .sheet { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .sheet__panel, .sheet.is-closing .sheet__panel, .sheet__list li { animation: none; opacity: 1; transform: none; } }
@media (prefers-reduced-transparency: reduce) { .nav__island, .tabs, .island__link, .sheet__panel { background: #17171a; backdrop-filter: none; -webkit-backdrop-filter: none; } }

/* ---------- View transitions ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vt-in .5s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: scale(.985); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* ---------- Print (book club guide) ---------- */
@media print {
	:root { --bg: #fff; --bg-1: #fff; --bg-2: #fff; --ink: #000; --muted: #222; --dim: #444; }
	body { background: #fff; color: #000; padding: 0; font-size: 12pt; }
	.nav, .foot, .tabs, .island, .sheet, .guide-cta, .guide__aside, .grain, .skip { display: none !important; }
	.js [data-reveal], .js [data-split] { opacity: 1 !important; transform: none !important; filter: none !important; visibility: visible !important; }
	.phero { padding: 0 0 12pt; }
	.phero__title { font-size: 32pt; }
	.guide__grid { display: block; }
	.guide__qs li { break-inside: avoid; font-size: 14pt; }
}
