/*
Theme Name: Replaceable Premium
Theme URI: https://replaceablebook.com
Author: Nana K. Oware
Author URI: https://replaceablebook.com
Description: A cinematic, scroll-driven WordPress theme for Replaceable by Nana K. Oware.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: replaceable-premium
*/

:root {
	--ink: #090807;
	--ink-soft: #12100e;
	--ink-raised: #191612;
	--paper: #f5efe4;
	--paper-deep: #ded1ba;
	--muted: #aaa295;
	--gold: #f2bc46;
	--gold-hot: #ffd77d;
	--red: #e74a3b;
	--line: rgba(255, 255, 255, 0.12);
	--glass: rgba(255, 255, 255, 0.055);
	--serif: "Iowan Old Style", "Palatino Linotype", Palatino, Baskerville, Georgia, serif;
	--sans: Inter, "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
	--shell: 1220px;
	--ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: 94px;
}

body {
	margin: 0;
	background:
		radial-gradient(circle at 12% 22%, rgba(231, 74, 59, 0.05), transparent 27rem),
		radial-gradient(circle at 88% 58%, rgba(242, 188, 70, 0.045), transparent 32rem),
		var(--ink);
	color: var(--paper);
	font-family: var(--serif);
	font-size: 18px;
	line-height: 1.68;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

body.menu-open {
	overflow: hidden;
}

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

a {
	color: inherit;
}

button,
input {
	font: inherit;
}

button,
a {
	-webkit-tap-highlight-color: transparent;
}

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

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

.screen-reader-text,
.skip-link {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.skip-link:focus {
	clip: auto !important;
	clip-path: none;
	height: auto;
	left: 20px;
	padding: 12px 18px;
	top: 20px;
	width: auto;
	z-index: 1000;
	background: var(--paper);
	color: var(--ink);
}

.site-shell {
	width: min(calc(100% - 48px), var(--shell));
	margin-inline: auto;
}

.glass-panel,
.glass-card,
.glow-card {
	border: 1px solid var(--line);
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 30px 80px rgba(0, 0, 0, 0.25);
	-webkit-backdrop-filter: blur(18px) saturate(125%);
	backdrop-filter: blur(18px) saturate(125%);
}

.glow-card {
	border-color: rgba(242, 188, 70, 0.26);
	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.1),
		0 25px 90px rgba(0, 0, 0, 0.32),
		0 0 70px rgba(242, 188, 70, 0.08);
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--gold);
	font-family: var(--sans);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.25em;
	line-height: 1.4;
	text-transform: uppercase;
}

.eyebrow::before {
	width: 28px;
	height: 1px;
	background: currentColor;
	box-shadow: 0 0 14px currentColor;
	content: "";
}

.accent-rule {
	width: 70px;
	height: 2px;
	margin: 18px 0 30px;
	background: linear-gradient(90deg, var(--red), transparent);
	box-shadow: 0 0 16px rgba(231, 74, 59, 0.45);
}

h1,
h2,
h3,
p,
blockquote,
figure {
	margin-top: 0;
}

h1,
h2,
h3 {
	font-weight: 400;
}

h2 {
	max-width: 920px;
	margin-bottom: 0;
	font-size: clamp(38px, 5vw, 68px);
	letter-spacing: -0.045em;
	line-height: 1.03;
}

.lede {
	max-width: 730px;
	margin-top: 25px;
	color: var(--muted);
	font-size: clamp(18px, 2vw, 21px);
}

.button {
	display: inline-flex;
	min-height: 52px;
	align-items: center;
	justify-content: center;
	padding: 14px 25px;
	border: 1px solid rgba(255, 255, 255, 0.28);
	font-family: var(--sans);
	font-size: 11px;
	font-weight: 750;
	letter-spacing: 0.16em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	transition: transform 180ms var(--ease), border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover {
	transform: translateY(-2px);
}

.button-small {
	min-height: 38px;
	padding: 10px 16px;
	font-size: 10px;
}

.button-gold {
	border-color: var(--gold);
	background: linear-gradient(135deg, var(--gold-hot), var(--gold));
	box-shadow: 0 8px 30px rgba(242, 188, 70, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.45);
	color: var(--ink);
}

.button-gold:hover {
	box-shadow: 0 14px 38px rgba(242, 188, 70, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.button-ghost {
	background: rgba(255, 255, 255, 0.035);
	color: var(--paper);
}

.button-ghost:hover {
	border-color: rgba(255, 255, 255, 0.65);
	background: rgba(255, 255, 255, 0.08);
}

/* Navigation */
.site-nav {
	position: fixed;
	z-index: 100;
	top: 14px;
	right: 0;
	left: 0;
	pointer-events: none;
}

.admin-bar .site-nav {
	top: 60px;
}

.nav-inner {
	display: flex;
	height: 68px;
	align-items: center;
	justify-content: space-between;
	padding: 0 15px 0 24px;
	border-radius: 16px;
	background: rgba(10, 9, 8, 0.64);
	pointer-events: auto;
	transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

.site-nav.is-scrolled .nav-inner {
	border-color: rgba(242, 188, 70, 0.2);
	background: rgba(10, 9, 8, 0.86);
}

.wordmark,
.footer-mark {
	position: relative;
	font-family: var(--sans);
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.28em;
	line-height: 1;
	text-decoration: line-through;
	text-decoration-color: var(--red);
	text-decoration-thickness: 2px;
}

.wordmark span {
	color: var(--paper);
}

.nav-links {
	display: flex;
	align-items: center;
	gap: 23px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav-links > li > a:not(.button) {
	color: rgba(245, 239, 228, 0.68);
	font-family: var(--sans);
	font-size: 10px;
	font-weight: 650;
	letter-spacing: 0.12em;
	text-decoration: none;
	text-transform: uppercase;
	transition: color 160ms ease;
}

.nav-links > li > a:not(.button):hover {
	color: var(--paper);
}

.menu-toggle {
	display: none;
	align-items: center;
	gap: 12px;
	padding: 10px;
	border: 0;
	background: transparent;
	color: var(--paper);
	font-family: var(--sans);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.menu-toggle i,
.menu-toggle i::before,
.menu-toggle i::after {
	display: block;
	width: 20px;
	height: 1px;
	background: currentColor;
	content: "";
	transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle i::before {
	transform: translateY(-6px);
}

.menu-toggle i::after {
	transform: translateY(5px);
}

.menu-toggle[aria-expanded="true"] i {
	background: transparent;
}

.menu-toggle[aria-expanded="true"] i::before {
	transform: translateY(0) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] i::after {
	transform: translateY(-1px) rotate(-45deg);
}

/* Scroll-driven book hero */
.book-story {
	position: relative;
	height: 610vh;
	min-height: 3600px;
	--book-open: 0;
	--turn-one: 0;
	--turn-two: 0;
	--turn-three: 0;
	--story-progress: 0;
	--book-shift: -50%;
	--book-tilt: -2deg;
	--cover-angle: 0deg;
	--leaf-one-angle: 0deg;
	--leaf-two-angle: 0deg;
	--leaf-three-angle: 0deg;
	--book-glow-opacity: 0.55;
	--book-glow-scale: 0.82;
	--book-shadow-width: 100%;
	--book-shadow-left: 0%;
	--book-spine-opacity: 0.82;
	--scroll-cue-opacity: 0.62;
	--rail-progress: 0%;
	--glow-one-y: 0vh;
	--glow-two-x: 0vw;
	background: var(--ink);
}

.story-sticky {
	position: sticky;
	top: 0;
	height: 100svh;
	min-height: 680px;
	overflow: hidden;
}

.story-atmosphere,
.grain {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.story-atmosphere {
	background:
		linear-gradient(110deg, rgba(4, 4, 3, 0.4), transparent 50%, rgba(4, 4, 3, 0.2)),
		radial-gradient(circle at 72% 48%, rgba(242, 188, 70, 0.09), transparent 30%),
		#090807;
}

.glow {
	position: absolute;
	border-radius: 999px;
	filter: blur(70px);
	opacity: 0.32;
	transform: translate3d(0, 0, 0);
}

.glow-one {
	width: 36vw;
	height: 36vw;
	right: 5vw;
	top: 15%;
	background: rgba(242, 188, 70, 0.16);
	transform: translateY(var(--glow-one-y));
}

.glow-two {
	width: 28vw;
	height: 28vw;
	left: -8vw;
	bottom: -8vw;
	background: rgba(231, 74, 59, 0.1);
	transform: translateX(var(--glow-two-x));
}

.grain {
	opacity: 0.065;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
	mix-blend-mode: soft-light;
}

.story-layout {
	position: relative;
	display: grid;
	height: 100%;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	align-items: center;
	gap: 3vw;
	padding-top: 90px;
}

.story-copy {
	position: relative;
	z-index: 10;
	height: min(600px, 68vh);
}

.story-scene {
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	max-width: 620px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
	transform: translate3d(0, 38px, 0);
	transition: opacity 260ms ease, transform 420ms var(--ease);
}

.story-scene.is-active {
	opacity: 1;
	pointer-events: auto;
	transform: translate3d(0, -50%, 0);
}

.story-scene h1 {
	margin: 24px 0 0;
	font-size: clamp(64px, 8.3vw, 126px);
	font-weight: 400;
	letter-spacing: 0.045em;
	line-height: 0.88;
	text-shadow: 0 14px 60px rgba(0, 0, 0, 0.5);
}

.story-scene h1::after {
	display: block;
	width: 78%;
	height: clamp(3px, 0.35vw, 6px);
	margin-top: -0.48em;
	background: var(--red);
	box-shadow: 0 0 24px rgba(231, 74, 59, 0.45);
	content: "";
	transform: rotate(-1.8deg);
}

.story-subtitle {
	max-width: 540px;
	margin: 30px 0 0;
	color: rgba(245, 239, 228, 0.74);
	font-size: clamp(21px, 2.25vw, 31px);
	font-style: italic;
	line-height: 1.35;
}

.series-note {
	margin: 36px 0 0;
	color: rgba(245, 239, 228, 0.42);
	font-family: var(--sans);
	font-size: 10px;
	font-weight: 650;
	letter-spacing: 0.18em;
	line-height: 1.8;
	text-transform: uppercase;
}

.story-scene h2 {
	max-width: 640px;
	margin-top: 23px;
	font-size: clamp(40px, 5vw, 68px);
}

.story-scene > p:not(.story-subtitle, .series-note) {
	max-width: 560px;
	margin: 24px 0 0;
	color: rgba(245, 239, 228, 0.68);
	font-size: 19px;
}

.cold-open {
	margin-top: 25px;
}

.cold-open p {
	margin: 0 0 8px;
	font-size: clamp(26px, 3.15vw, 46px);
	letter-spacing: -0.025em;
	line-height: 1.18;
}

.cold-open p:nth-child(3) {
	margin-top: 23px;
	color: var(--muted);
	font-size: clamp(20px, 2.25vw, 30px);
}

.cold-open p:last-child {
	color: var(--gold);
	font-style: italic;
}

.story-scene blockquote {
	max-width: 600px;
	margin: 25px 0 0;
	font-size: clamp(31px, 4vw, 55px);
	font-style: italic;
	letter-spacing: -0.035em;
	line-height: 1.18;
}

.story-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 34px;
}

.book-stage {
	position: relative;
	z-index: 5;
	display: grid;
	height: min(680px, 78vh);
	min-height: 560px;
	place-items: center;
	perspective: 1900px;
	perspective-origin: 50% 44%;
}

.book-glow {
	position: absolute;
	width: 85%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(242, 188, 70, 0.17), rgba(231, 74, 59, 0.045) 42%, transparent 67%);
	filter: blur(25px);
	opacity: var(--book-glow-opacity);
	transform: scale(var(--book-glow-scale));
}

.book-volume {
	--book-width: clamp(230px, 23vw, 330px);
	position: relative;
	width: var(--book-width);
	aspect-ratio: 2 / 3;
	transform: translateX(var(--book-shift)) rotateX(5deg) rotateZ(var(--book-tilt));
	transform-style: preserve-3d;
	will-change: transform;
}

.book-back-cover,
.book-front-cover,
.book-page,
.book-leaf {
	position: absolute;
	inset: 0;
	border-radius: 2px 10px 10px 2px;
	transform-origin: 0 50%;
	transform-style: preserve-3d;
}

.book-back-cover {
	z-index: 1;
	background: #211a12;
	box-shadow: 12px 20px 45px rgba(0, 0, 0, 0.45);
	transform: translateZ(-14px);
}

.book-page {
	z-index: 3;
	overflow: hidden;
	background: var(--paper);
	box-shadow: inset 16px 0 20px rgba(77, 57, 32, 0.1), 4px 2px 10px rgba(0, 0, 0, 0.15);
	color: #1c1814;
	transform: translateZ(0);
}

.book-page::after,
.leaf-face::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(79, 55, 28, 0.12), transparent 15%, transparent 82%, rgba(79, 55, 28, 0.04));
	content: "";
	pointer-events: none;
}

.book-leaf {
	background: transparent;
	will-change: transform;
}

.leaf-three {
	z-index: 5;
	transform: translateZ(3px) rotateY(var(--leaf-three-angle));
}

.leaf-two {
	z-index: 7;
	transform: translateZ(5px) rotateY(var(--leaf-two-angle));
}

.leaf-one {
	z-index: 9;
	transform: translateZ(7px) rotateY(var(--leaf-one-angle));
}

.leaf-face {
	position: absolute;
	inset: 0;
	overflow: hidden;
	border-radius: 2px 9px 9px 2px;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	background: var(--paper);
	box-shadow: inset 13px 0 20px rgba(77, 57, 32, 0.1), 3px 2px 10px rgba(0, 0, 0, 0.15);
	color: #1c1814;
}

.leaf-back {
	border-radius: 9px 2px 2px 9px;
	transform: rotateY(180deg);
}

.leaf-back::after {
	background: linear-gradient(270deg, rgba(79, 55, 28, 0.14), transparent 18%, transparent 84%, rgba(79, 55, 28, 0.04));
}

.book-front-cover {
	z-index: 14;
	background: transparent;
	transform: translateZ(12px) rotateY(var(--cover-angle));
	will-change: transform;
}

.cover-face {
	position: absolute;
	inset: 0;
	overflow: hidden;
	border-radius: 2px 10px 10px 2px;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	box-shadow: 10px 22px 48px rgba(0, 0, 0, 0.48), 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.cover-outer::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(110deg, rgba(255, 255, 255, 0.14), transparent 26%, transparent 78%, rgba(0, 0, 0, 0.18));
	content: "";
	mix-blend-mode: soft-light;
	pointer-events: none;
}

.cover-outer img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cover-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 14%;
	background: linear-gradient(145deg, rgba(242, 188, 70, 0.09), transparent 36%), #1c1711;
	color: rgba(245, 239, 228, 0.72);
	text-align: center;
	transform: rotateY(180deg);
}

.cover-inner::before {
	position: absolute;
	inset: 6%;
	border: 1px solid rgba(242, 188, 70, 0.22);
	content: "";
}

.cover-inner span,
.cover-inner small {
	font-family: var(--sans);
	font-size: clamp(6px, 0.7vw, 9px);
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.cover-inner strong {
	margin: 13% 0;
	color: var(--paper);
	font-family: var(--serif);
	font-size: clamp(18px, 2.2vw, 30px);
	font-weight: 400;
	letter-spacing: 0.1em;
	text-decoration: line-through;
	text-decoration-color: var(--red);
}

.cover-edge {
	position: absolute;
	top: 1%;
	right: 0;
	bottom: 1%;
	width: 4px;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.3));
}

.book-spine {
	position: absolute;
	z-index: 20;
	top: 0;
	bottom: 0;
	left: -4px;
	width: 8px;
	border-radius: 6px;
	background: linear-gradient(90deg, #241b12, #7b5830 47%, #241b12);
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.65);
	opacity: var(--book-spine-opacity);
	transform: translateZ(14px);
}

.book-volume::after {
	position: absolute;
	z-index: -3;
	width: var(--book-shadow-width);
	height: 18%;
	left: var(--book-shadow-left);
	bottom: -12%;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.72);
	content: "";
	filter: blur(25px);
	transform: rotateX(76deg) translateZ(-40px);
}

.paper-inner {
	position: relative;
	z-index: 2;
	display: flex;
	height: 100%;
	flex-direction: column;
	justify-content: center;
	padding: 11% 10%;
}

.paper-kicker {
	display: block;
	margin-bottom: 12%;
	color: #a53028;
	font-family: var(--sans);
	font-size: clamp(7px, 0.75vw, 10px);
	font-weight: 800;
	letter-spacing: 0.17em;
	text-transform: uppercase;
}

.paper-inner strong {
	display: block;
	font-size: clamp(18px, 2.2vw, 31px);
	font-weight: 400;
	letter-spacing: -0.035em;
	line-height: 1.1;
}

.paper-inner p {
	margin: 10% 0 0;
	font-size: clamp(11px, 1.15vw, 16px);
	line-height: 1.45;
}

.paper-inner em {
	margin-top: auto;
	padding-top: 8%;
	border-top: 1px solid rgba(28, 24, 20, 0.22);
	color: #a53028;
	font-size: clamp(10px, 1.15vw, 15px);
}

.paper-inner small {
	margin-top: 6%;
	font-family: var(--sans);
	font-size: clamp(7px, 0.7vw, 9px);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.paper-equation {
	margin: 10% 0;
	padding: 8% 0;
	border-top: 1px solid rgba(28, 24, 20, 0.22);
	border-bottom: 1px solid rgba(28, 24, 20, 0.22);
	color: #a53028;
	font-family: var(--sans);
	font-size: clamp(22px, 3vw, 42px);
	font-weight: 300;
	letter-spacing: 0.08em;
	text-align: center;
}

.architecture-page ol {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.architecture-page li {
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 7px 10px;
	border: 1px solid rgba(28, 24, 20, 0.19);
	font-family: var(--sans);
	font-size: clamp(8px, 0.95vw, 12px);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.architecture-page li b {
	width: 24px;
	color: #a53028;
}

.left-page {
	text-align: right;
}

.left-page .paper-kicker {
	align-self: flex-end;
}

.folio {
	position: absolute;
	right: 10%;
	bottom: 6%;
	font-family: var(--sans);
	font-size: 9px;
}

.scroll-cue {
	position: absolute;
	right: 7%;
	bottom: 1%;
	display: flex;
	align-items: center;
	gap: 12px;
	color: rgba(245, 239, 228, 0.72);
	font-family: var(--sans);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	opacity: var(--scroll-cue-opacity);
}

.scroll-cue i {
	position: relative;
	display: block;
	width: 1px;
	height: 45px;
	background: rgba(255, 255, 255, 0.2);
}

.scroll-cue b {
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: 15px;
	background: var(--gold);
	box-shadow: 0 0 8px var(--gold);
	animation: scrollCue 1.7s ease-in-out infinite;
}

@keyframes scrollCue {
	50% { transform: translateY(30px); }
}

.story-rail {
	position: absolute;
	z-index: 20;
	top: 50%;
	right: 24px;
	display: flex;
	height: 210px;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	transform: translateY(-50%);
}

.story-rail::before,
.story-rail-fill {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 1px;
	content: "";
}

.story-rail::before {
	background: rgba(255, 255, 255, 0.14);
}

.story-rail-fill {
	bottom: auto;
	height: var(--rail-progress);
	background: var(--gold);
	box-shadow: 0 0 10px var(--gold);
}

.story-rail i {
	position: relative;
	z-index: 2;
	display: block;
	width: 7px;
	height: 7px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	border-radius: 50%;
	background: var(--ink);
	transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.story-rail i.is-active {
	border-color: var(--gold);
	background: var(--gold);
	box-shadow: 0 0 12px rgba(242, 188, 70, 0.8);
}

/* Main sections */
.stat-strip {
	position: relative;
	z-index: 5;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.025);
}

.stat-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

.stat-cell {
	padding: 38px 32px;
	border-left: 1px solid var(--line);
}

.stat-cell:first-child {
	border-left: 0;
	padding-left: 0;
}

.stat-cell b {
	display: block;
	margin-bottom: 9px;
	color: var(--gold-hot);
	font-size: 25px;
	font-weight: 400;
	letter-spacing: -0.025em;
}

.stat-cell span {
	display: block;
	color: var(--muted);
	font-family: var(--sans);
	font-size: 12px;
	line-height: 1.65;
}

.content-section {
	position: relative;
	overflow: hidden;
	padding: 150px 0;
}

.problem-section {
	background:
		radial-gradient(circle at 85% 35%, rgba(231, 74, 59, 0.075), transparent 25rem),
		linear-gradient(180deg, #0c0a09, var(--ink));
}

.problem-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 28px;
	margin-top: 70px;
}

.large-copy,
.author-copy {
	padding: clamp(30px, 4vw, 56px);
	border-radius: 24px;
}

.large-copy p {
	margin-bottom: 22px;
	font-size: clamp(20px, 2.15vw, 27px);
	line-height: 1.58;
}

.large-copy p:last-child,
.risk-disclosure p:last-child,
.author-copy p:last-of-type {
	margin-bottom: 0;
}

.risk-disclosure {
	position: relative;
	padding: clamp(32px, 4vw, 55px);
	border-radius: 24px;
	background:
		linear-gradient(145deg, rgba(231, 74, 59, 0.11), rgba(242, 188, 70, 0.035)),
		rgba(255, 255, 255, 0.03);
}

.card-index,
.format-number {
	position: absolute;
	top: 22px;
	right: 25px;
	color: rgba(242, 188, 70, 0.38);
	font-family: var(--sans);
	font-size: 12px;
	letter-spacing: 0.14em;
}

.risk-disclosure h3 {
	max-width: 360px;
	margin: 0 0 28px;
	color: var(--gold-hot);
	font-size: 29px;
	line-height: 1.2;
}

.risk-disclosure p {
	color: rgba(245, 239, 228, 0.72);
}

.risk-disclosure em {
	color: #ff7a68;
	font-style: normal;
	font-weight: 700;
}

.calculator-section {
	background: #0d0b09;
}

.section-glow,
.buy-glow,
.quote-glow {
	position: absolute;
	width: 620px;
	height: 620px;
	border-radius: 50%;
	background: rgba(242, 188, 70, 0.08);
	filter: blur(130px);
	pointer-events: none;
}

.section-glow {
	top: 12%;
	right: -260px;
}

.calculator-grid {
	display: grid;
	grid-template-columns: 1.16fr 0.84fr;
	gap: 0;
	margin-top: 68px;
	overflow: hidden;
	border-radius: 28px;
}

.slider-stack {
	padding: clamp(34px, 5vw, 66px);
}

.slider-row + .slider-row {
	margin-top: 48px;
}

.slider-row label {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 8px;
	font-family: var(--sans);
	font-size: 11px;
	font-weight: 750;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.slider-row output {
	color: var(--gold-hot);
	font-family: var(--serif);
	font-size: 30px;
	font-weight: 400;
	letter-spacing: 0;
	text-shadow: 0 0 20px rgba(242, 188, 70, 0.3);
}

.slider-row p {
	max-width: 600px;
	margin-bottom: 19px;
	color: var(--muted);
	font-size: 15px;
	font-style: italic;
}

input[type="range"] {
	width: 100%;
	height: 3px;
	margin: 8px 0;
	-webkit-appearance: none;
	appearance: none;
	border: 0;
	border-radius: 4px;
	background: linear-gradient(90deg, var(--gold) var(--range, 44.44%), rgba(255, 255, 255, 0.16) var(--range, 44.44%));
	cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
	width: 20px;
	height: 20px;
	-webkit-appearance: none;
	appearance: none;
	border: 4px solid var(--ink);
	border-radius: 50%;
	background: var(--gold-hot);
	box-shadow: 0 0 0 1px var(--gold), 0 0 20px rgba(242, 188, 70, 0.5);
}

input[type="range"]::-moz-range-thumb {
	width: 14px;
	height: 14px;
	border: 4px solid var(--ink);
	border-radius: 50%;
	background: var(--gold-hot);
	box-shadow: 0 0 0 1px var(--gold), 0 0 20px rgba(242, 188, 70, 0.5);
}

.score-card {
	display: flex;
	min-height: 600px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: clamp(35px, 5vw, 65px);
	border-left: 1px solid var(--line);
	background:
		radial-gradient(circle at 50% 38%, rgba(242, 188, 70, 0.12), transparent 48%),
		rgba(0, 0, 0, 0.16);
	text-align: center;
}

.equation-label,
.score-max,
.multiply-note {
	font-family: var(--sans);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.equation-label,
.score-max {
	color: var(--muted);
}

.score-number {
	margin: 22px 0 0;
	color: var(--gold-hot);
	font-size: clamp(82px, 10vw, 132px);
	letter-spacing: -0.07em;
	line-height: 0.85;
	text-shadow: 0 0 60px rgba(242, 188, 70, 0.22);
}

.score-max {
	margin-top: 14px;
}

.verdict {
	min-height: 105px;
	margin: 30px 0 0;
	font-size: 17px;
	font-style: italic;
}

.multiply-note {
	margin: 0;
	color: var(--gold);
}

.score-note {
	margin: 25px 0 0;
	padding-top: 24px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 14px;
}

.inside-section {
	background:
		radial-gradient(circle at 5% 55%, rgba(231, 74, 59, 0.06), transparent 27rem),
		var(--ink-soft);
}

.architecture {
	max-width: 800px;
	margin: 80px auto 0;
}

.architecture-layer {
	display: grid;
	grid-template-columns: 55px 1fr auto;
	align-items: center;
	gap: 18px;
	margin: 0 auto 10px;
	padding: 19px 26px;
	border: 1px solid rgba(242, 188, 70, 0.2);
	background: linear-gradient(90deg, rgba(242, 188, 70, 0.11), rgba(255, 255, 255, 0.025));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 15px 45px rgba(0, 0, 0, 0.2);
	transition: border-color 240ms ease, transform 240ms var(--ease), background 240ms ease;
}

.architecture-layer:hover {
	border-color: rgba(242, 188, 70, 0.52);
	background: linear-gradient(90deg, rgba(242, 188, 70, 0.17), rgba(255, 255, 255, 0.04));
	transform: translateY(-3px);
}

.architecture-layer:nth-child(1) { width: 58%; }
.architecture-layer:nth-child(2) { width: 68%; }
.architecture-layer:nth-child(3) { width: 78%; }
.architecture-layer:nth-child(4) { width: 89%; }
.architecture-layer:nth-child(5) { width: 100%; }

.architecture-layer span {
	color: var(--gold);
	font-family: var(--sans);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.12em;
}

.architecture-layer b {
	font-family: var(--sans);
	font-size: 13px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.architecture-layer i {
	color: var(--muted);
	font-size: 14px;
}

.architecture-base {
	max-width: 800px;
	margin: 18px auto 0;
	padding-top: 18px;
	border-top: 1px solid rgba(242, 188, 70, 0.42);
	color: var(--muted);
	font-size: 15px;
	font-style: italic;
	text-align: center;
}

.framework-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1px;
	margin-top: 90px;
	border: 1px solid var(--line);
	background: var(--line);
}

.framework-card {
	position: relative;
	min-height: 250px;
	padding: 32px 30px;
	background: var(--ink-soft);
	overflow: hidden;
	transition: background 220ms ease;
}

.framework-card::before,
.tool-card::before {
	position: absolute;
	width: 120px;
	height: 120px;
	top: -90px;
	right: -60px;
	border-radius: 50%;
	background: rgba(242, 188, 70, 0.18);
	content: "";
	filter: blur(35px);
	opacity: 0;
	transition: opacity 220ms ease;
}

.framework-card:hover,
.tool-card:hover {
	background: #18140f;
}

.framework-card:hover::before,
.tool-card:hover::before {
	opacity: 1;
}

.framework-card .tag,
.tool-card .kind {
	display: block;
	margin-bottom: 17px;
	color: var(--gold);
	font-family: var(--sans);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.framework-card b,
.tool-card b {
	display: block;
	margin-bottom: 11px;
	font-size: 20px;
	font-weight: 400;
	line-height: 1.25;
}

.framework-card p,
.tool-card p {
	margin: 0;
	color: var(--muted);
	font-family: var(--sans);
	font-size: 13px;
	line-height: 1.7;
}

.quote-section {
	position: relative;
	overflow: hidden;
	padding: 140px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: #0e0c0a;
}

.quote-glow {
	top: -310px;
	left: 50%;
	transform: translateX(-50%);
}

.diamond {
	color: var(--gold);
	font-size: 13px;
	letter-spacing: 0.6em;
	text-align: center;
	text-shadow: 0 0 15px var(--gold);
}

.quote-viewport {
	position: relative;
	min-height: 240px;
	margin-top: 35px;
}

.quote-slide {
	position: absolute;
	top: 50%;
	left: 50%;
	width: min(900px, 90%);
	margin: 0;
	opacity: 0;
	font-size: clamp(30px, 4.4vw, 60px);
	font-style: italic;
	letter-spacing: -0.035em;
	line-height: 1.25;
	text-align: center;
	transform: translate(-50%, calc(-50% + 18px));
	transition: opacity 380ms ease, transform 480ms var(--ease);
}

.quote-slide.is-active {
	opacity: 1;
	transform: translate(-50%, -50%);
}

.quote-dots {
	display: flex;
	justify-content: center;
	gap: 13px;
	margin-top: 28px;
}

.quote-dots button {
	width: 9px;
	height: 9px;
	padding: 0;
	border: 1px solid rgba(242, 188, 70, 0.45);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.quote-dots button.is-active {
	background: var(--gold);
	box-shadow: 0 0 12px rgba(242, 188, 70, 0.8);
	transform: scale(1.25);
}

.author-section {
	background:
		radial-gradient(circle at 18% 35%, rgba(242, 188, 70, 0.07), transparent 24rem),
		var(--ink);
}

.author-grid {
	display: grid;
	grid-template-columns: 0.78fr 1.22fr;
	align-items: start;
	gap: 28px;
	margin-top: 70px;
}

.author-portrait {
	position: sticky;
	top: 110px;
	margin: 0;
	overflow: hidden;
	border-radius: 24px;
}

.author-portrait img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	filter: saturate(0.82) contrast(1.04);
}

.author-portrait::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 58%, rgba(8, 7, 6, 0.9));
	content: "";
	pointer-events: none;
}

.author-portrait figcaption {
	position: absolute;
	z-index: 2;
	right: 28px;
	bottom: 25px;
	left: 28px;
}

.author-portrait figcaption span,
.author-portrait figcaption small {
	display: block;
}

.author-portrait figcaption span {
	font-size: 27px;
}

.author-portrait figcaption small {
	margin-top: 4px;
	color: var(--gold);
	font-family: var(--sans);
	font-size: 9px;
	font-weight: 750;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.author-copy p {
	color: rgba(245, 239, 228, 0.75);
	font-size: 18px;
}

.author-copy p + p {
	margin-top: 22px;
}

.credentials {
	margin-top: 38px;
	padding-top: 31px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-family: var(--sans);
	font-size: 12px;
	line-height: 1.85;
}

.credentials b {
	color: var(--paper);
}

.tools-section {
	background: var(--ink-soft);
}

.tool-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-top: 68px;
}

.tool-card {
	position: relative;
	display: flex;
	min-height: 310px;
	flex-direction: column;
	padding: 31px 28px;
	overflow: hidden;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.025);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
	transition: transform 240ms var(--ease), border-color 220ms ease, background 220ms ease;
}

.tool-card:hover {
	border-color: rgba(242, 188, 70, 0.24);
	transform: translateY(-5px);
}

.tool-card a {
	align-self: flex-start;
	margin-top: auto;
	padding-top: 20px;
	border-bottom: 1px solid var(--gold);
	color: var(--paper);
	font-family: var(--sans);
	font-size: 10px;
	font-weight: 750;
	letter-spacing: 0.15em;
	text-decoration: none;
	text-transform: uppercase;
}

.gate-note {
	margin: 35px 0 0;
	color: var(--muted);
	font-size: 15px;
	font-style: italic;
	text-align: center;
}

.buy-section {
	background: #0b0908;
}

.buy-glow {
	bottom: -320px;
	left: 50%;
	transform: translateX(-50%);
}

.format-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-top: 65px;
}

.format-card {
	position: relative;
	display: flex;
	min-height: 410px;
	flex-direction: column;
	padding: 38px 32px;
	border-radius: 22px;
}

.format-card h3 {
	margin: 45px 0 16px;
	font-size: 33px;
	letter-spacing: -0.03em;
}

.format-card p {
	color: var(--muted);
	font-size: 16px;
}

.format-card .button {
	align-self: stretch;
	margin-top: auto;
}

.featured-format {
	background:
		radial-gradient(circle at 50% 0, rgba(242, 188, 70, 0.12), transparent 50%),
		rgba(255, 255, 255, 0.045);
	transform: translateY(-14px);
}

.retailers {
	margin-top: 60px;
	padding: 36px;
	border-radius: 22px;
}

.retailers h3 {
	margin: 0 0 22px;
	font-family: var(--sans);
	font-size: 10px;
	font-weight: 750;
	letter-spacing: 0.19em;
	text-transform: uppercase;
}

.retailer-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.retailer-row a {
	padding: 10px 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	color: rgba(245, 239, 228, 0.72);
	font-family: var(--sans);
	font-size: 11px;
	text-decoration: none;
	transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}

.retailer-row a:hover {
	border-color: rgba(242, 188, 70, 0.5);
	background: rgba(242, 188, 70, 0.08);
	color: var(--paper);
}

.bulk-panel {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 35px;
	margin-top: 22px;
	padding: 38px;
	border-radius: 22px;
}

.bulk-panel p {
	max-width: 850px;
	margin: 0;
	color: rgba(245, 239, 228, 0.74);
}

.newsletter-section {
	padding: 100px 0;
	background:
		radial-gradient(circle at 15% 50%, rgba(231, 74, 59, 0.08), transparent 24rem),
		var(--ink-soft);
}

.newsletter-panel {
	display: grid;
	grid-template-columns: 1fr 0.8fr;
	align-items: end;
	gap: 70px;
	padding: clamp(38px, 6vw, 78px);
	border-radius: 28px;
}

.newsletter-panel h2 {
	margin-top: 17px;
	font-size: clamp(38px, 5vw, 64px);
}

.newsletter-panel p {
	max-width: 690px;
	margin: 22px 0 0;
	color: var(--muted);
}

.signup-form {
	position: relative;
	display: flex;
	border-bottom: 1px solid rgba(245, 239, 228, 0.36);
}

.signup-form input {
	width: 100%;
	min-width: 0;
	padding: 17px 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--paper);
	font-family: var(--sans);
	font-size: 15px;
}

.signup-form input::placeholder {
	color: rgba(245, 239, 228, 0.35);
}

.signup-form button {
	flex: 0 0 auto;
	padding: 17px 0 17px 18px;
	border: 0;
	background: transparent;
	color: var(--gold);
	cursor: pointer;
	font-family: var(--sans);
	font-size: 10px;
	font-weight: 750;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.signup-form button span {
	display: inline-block;
	margin-left: 8px;
	transition: transform 180ms ease;
}

.signup-form button:hover span {
	transform: translateX(4px);
}

.signup-success {
	position: absolute;
	top: calc(100% + 12px);
	left: 0;
	display: none;
	margin: 0 !important;
	color: var(--gold-hot) !important;
	font-size: 13px;
	font-style: italic;
}

.signup-form.is-success .signup-success {
	display: block;
}

.site-footer {
	padding: 42px 0;
	border-top: 1px solid var(--line);
	background: #070605;
}

.footer-inner {
	display: grid;
	grid-template-columns: 1fr auto auto;
	align-items: center;
	gap: 25px;
	color: rgba(245, 239, 228, 0.46);
	font-family: var(--sans);
	font-size: 10px;
	letter-spacing: 0.06em;
}

.footer-mark {
	grid-row: span 2;
	color: var(--paper);
	text-decoration-color: var(--red);
}

.footer-inner a {
	text-decoration-color: rgba(245, 239, 228, 0.25);
	text-underline-offset: 4px;
}

.footer-inner span:last-child {
	grid-column: 2 / -1;
	text-align: right;
}

.reveal {
	opacity: 0;
	transform: translateY(35px);
	transition: opacity 700ms ease, transform 850ms var(--ease);
}

.reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* Fallback WordPress content */
.editorial-page {
	min-height: 70vh;
	padding: 150px 0 100px;
}

.prose-shell {
	max-width: 900px;
}

.editorial-entry {
	padding: clamp(30px, 6vw, 70px);
	border-radius: 24px;
}

.editorial-entry h1 {
	font-size: clamp(44px, 7vw, 80px);
}

@media (min-width: 783px) {
	.admin-bar .site-nav { top: 46px; }
}

@media (max-width: 1080px) {
	.nav-links { gap: 14px; }
	.nav-links > li > a:not(.button) { font-size: 9px; }
	.story-layout { grid-template-columns: 0.95fr 1.05fr; }
	.framework-grid { grid-template-columns: repeat(2, 1fr); }
	.tool-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 920px) {
	.site-shell { width: min(calc(100% - 34px), var(--shell)); }
	.menu-toggle { display: flex; }
	.nav-links {
		position: fixed;
		top: 96px;
		right: 17px;
		left: 17px;
		display: flex;
		max-height: calc(100svh - 115px);
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 18px;
		overflow: auto;
		border: 1px solid var(--line);
		border-radius: 18px;
		background: rgba(12, 10, 9, 0.96);
		box-shadow: 0 30px 70px rgba(0, 0, 0, 0.55);
		opacity: 0;
		pointer-events: none;
		transform: translateY(-12px);
		transition: opacity 180ms ease, transform 220ms var(--ease);
	}
	.nav-links.is-open { opacity: 1; pointer-events: auto; transform: none; }
	.nav-links > li > a:not(.button) { display: block; padding: 14px; font-size: 11px; }
	.nav-links .button { width: 100%; margin-top: 10px; }
	.book-story { height: 560vh; min-height: 3200px; }
	.story-sticky { min-height: 650px; }
	.story-layout { display: block; padding-top: 0; }
	.story-copy {
		position: absolute;
		z-index: 15;
		right: 0;
		bottom: 24px;
		left: 0;
		height: 42%;
	}
	.story-scene {
		top: 50%;
		max-width: 720px;
		padding: 24px 26px;
		border: 1px solid rgba(255, 255, 255, 0.11);
		border-radius: 20px;
		background: linear-gradient(135deg, rgba(10, 9, 8, 0.88), rgba(10, 9, 8, 0.58));
		box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
		-webkit-backdrop-filter: blur(16px);
		backdrop-filter: blur(16px);
	}
	.story-scene h1 { font-size: clamp(48px, 12vw, 86px); }
	.story-scene h2 { font-size: clamp(31px, 6vw, 47px); }
	.story-scene blockquote { font-size: clamp(27px, 5.7vw, 43px); }
	.book-stage {
		position: absolute;
		top: 68px;
		right: 0;
		left: 0;
		height: 54%;
		min-height: 350px;
	}
	.book-volume { --book-width: clamp(180px, 28vw, 255px); }
	.scroll-cue { right: 4%; bottom: 4%; }
	.story-rail { display: none; }
	.problem-grid,
	.calculator-grid,
	.author-grid,
	.newsletter-panel { grid-template-columns: 1fr; }
	.score-card { min-height: 500px; border-top: 1px solid var(--line); border-left: 0; }
	.author-portrait { position: relative; top: 0; max-width: 520px; }
	.format-grid { grid-template-columns: 1fr; }
	.format-card { min-height: 320px; }
	.featured-format { transform: none; }
	.newsletter-panel { gap: 40px; }
}

@media (max-width: 720px) {
	body { font-size: 17px; }
	.site-shell { width: min(calc(100% - 28px), var(--shell)); }
	.nav-inner { height: 62px; padding-left: 17px; border-radius: 14px; }
	.wordmark { font-size: 11px; }
	.nav-links { top: 89px; right: 14px; left: 14px; }
	.content-section { padding: 105px 0; }
	h2 { font-size: clamp(35px, 10vw, 51px); }
	.stat-grid { grid-template-columns: 1fr; }
	.stat-cell,
	.stat-cell:first-child { padding: 27px 0; border-top: 1px solid var(--line); border-left: 0; }
	.stat-cell:first-child { border-top: 0; }
	.story-sticky { min-height: 620px; }
	.story-copy { bottom: 14px; height: 45%; }
	.story-scene { padding: 20px; border-radius: 16px; }
	.story-scene h1 { margin-top: 16px; }
	.story-scene h2 { margin-top: 15px; font-size: clamp(27px, 8vw, 39px); }
	.story-scene > p:not(.story-subtitle, .series-note) { margin-top: 15px; font-size: 15px; line-height: 1.5; }
	.story-subtitle { margin-top: 18px; font-size: 18px; }
	.series-note { margin-top: 18px; font-size: 8px; }
	.eyebrow { font-size: 9px; }
	.cold-open { margin-top: 14px; }
	.cold-open p { margin-bottom: 5px; font-size: clamp(20px, 6.8vw, 30px); }
	.cold-open p:nth-child(3) { margin-top: 10px; font-size: 17px; }
	.story-scene blockquote { margin-top: 14px; font-size: clamp(24px, 7vw, 34px); }
	.story-actions { margin-top: 18px; }
	.story-actions .button { min-height: 43px; padding: 12px 16px; font-size: 9px; }
	.book-stage { top: 72px; height: 48%; }
	.book-volume { --book-width: clamp(148px, 34vw, 205px); }
	.book-glow { width: 100%; }
	.scroll-cue { display: none; }
	.problem-grid { margin-top: 48px; }
	.large-copy,
	.risk-disclosure,
	.author-copy { padding: 29px 24px; border-radius: 18px; }
	.large-copy p { font-size: 19px; }
	.calculator-grid { margin-top: 47px; border-radius: 20px; }
	.slider-stack { padding: 30px 23px; }
	.slider-row + .slider-row { margin-top: 38px; }
	.slider-row label { align-items: flex-start; font-size: 9px; }
	.slider-row output { font-size: 25px; }
	.score-card { min-height: 470px; padding: 38px 24px; }
	.architecture { margin-top: 60px; }
	.architecture-layer {
		width: 100% !important;
		grid-template-columns: 35px 1fr;
		gap: 8px;
		padding: 15px 16px;
	}
	.architecture-layer i { display: none; }
	.framework-grid,
	.tool-grid { grid-template-columns: 1fr; }
	.framework-card { min-height: 220px; }
	.quote-section { padding: 100px 0; }
	.quote-viewport { min-height: 320px; }
	.quote-slide { font-size: clamp(29px, 8vw, 42px); }
	.author-grid { margin-top: 50px; }
	.tool-card { min-height: 275px; }
	.bulk-panel { align-items: flex-start; flex-direction: column; }
	.retailers,
	.bulk-panel { padding: 28px 23px; }
	.newsletter-section { padding: 70px 0; }
	.newsletter-panel { padding: 32px 23px 45px; border-radius: 20px; }
	.signup-form { display: block; border-bottom: 0; }
	.signup-form input { border-bottom: 1px solid rgba(245, 239, 228, 0.36); }
	.signup-form button { width: 100%; margin-top: 14px; padding: 15px; background: var(--gold); color: var(--ink); }
	.signup-success { position: static; margin-top: 12px !important; }
	.footer-inner { grid-template-columns: 1fr; text-align: left; }
	.footer-mark { grid-row: auto; margin-bottom: 14px; }
	.footer-inner span:last-child { grid-column: auto; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
	.book-story { height: 100svh; min-height: 720px; --book-open: 0 !important; --turn-one: 0 !important; --turn-two: 0 !important; --turn-three: 0 !important; }
	.story-sticky { position: relative; }
	.story-scene:not(:first-child) { display: none; }
	.reveal { opacity: 1; transform: none; }
}
