/* =========================================================================
   Barry Rickert — theme styles
   Night, ember and photography. Bricolage Grotesque for headlines,
   Figtree for everything people read.
   ========================================================================= */

:root {
	--paper: #f4efe6;
	--paper-deep: #e7dfd0;
	--paper-line: rgba(20, 26, 23, 0.14);
	--ink: #141a17;
	--ink-soft: #3a453f;
	--muted: #66706a;
	--forest: #1e3d2e;
	--forest-deep: #13261c;
	--night: #101614;
	--orange: #ff5c24;
	--orange-deep: #e2410c;
	--navy: #1c3558;
	--white: #fffdf8;
	--on-dark: rgba(255, 253, 248, 0.88);
	--on-dark-muted: rgba(255, 253, 248, 0.64);
	--on-dark-line: rgba(255, 253, 248, 0.16);

	--font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
	--font-body: "Figtree", "Segoe UI", sans-serif;

	--container: 1180px;
	--narrow: 760px;
	--gutter: clamp(1.25rem, 4vw, 2.5rem);
	--section: clamp(4rem, 9vw, 7.5rem);
	--radius: 14px;
	--radius-sm: 8px;
	--shadow: 0 18px 40px -22px rgba(28, 34, 40, 0.45);
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

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

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

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

a {
	color: var(--forest);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
	transition: color 0.2s var(--ease);
}

a:hover {
	color: var(--orange-deep);
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-display);
	font-weight: 680;
	font-style: normal;
	line-height: 0.98;
	letter-spacing: -0.04em;
	margin: 0 0 0.5em;
	color: inherit;
	font-variation-settings: "opsz" 72, "wdth" 100;
}

p {
	margin: 0 0 1.1em;
}

ul,
ol {
	padding-left: 1.2em;
}

blockquote {
	margin: 0;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

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

.screen-reader-text:focus {
	background: var(--white);
	clip: auto !important;
	clip-path: none;
	color: var(--ink);
	display: block;
	font-size: 0.95rem;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 1rem 1.5rem;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	box-shadow: var(--shadow);
}

.skip-link {
	position: absolute;
}

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

.container--narrow {
	max-width: var(--narrow);
}

.container--wide {
	max-width: 1320px;
}

.section {
	padding-block: var(--section);
}

.section--tight {
	padding-block: clamp(2.5rem, 5vw, 4rem);
}

.section--paper-deep {
	background: var(--paper-deep);
}

.section--ink {
	background: var(--ink);
	color: var(--on-dark);
}

.section--forest {
	background: var(--forest);
	color: var(--on-dark);
}

.section--ink a,
.section--forest a {
	color: var(--white);
}

.section--ink a:hover,
.section--forest a:hover {
	color: #ffb86b;
}

.section--ink .eyebrow__num,
.section--forest .eyebrow__num {
	border-color: var(--on-dark-line);
	color: #ffb86b;
}

.section--ink .eyebrow__text,
.section--forest .eyebrow__text {
	color: var(--on-dark-muted);
}

.section__head {
	max-width: 760px;
	margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.section__head--row {
	max-width: none;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
}

.section__title {
	font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem);
	margin-bottom: 0.6em;
}

.section__lead,
.lead {
	font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
	line-height: 1.55;
	color: var(--ink-soft);
}

.section--ink .lead,
.section--forest .lead,
.section--ink .section__lead,
.section--forest .section__lead {
	color: var(--on-dark);
}

.section__cta {
	margin-top: clamp(2rem, 4vw, 3rem);
}

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 1.1rem;
	font-size: 0.78rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--muted);
}

.eyebrow__num {
	display: inline-grid;
	place-items: center;
	min-width: 2rem;
	height: 2rem;
	padding-inline: 0.5rem;
	border: 1px solid var(--paper-line);
	border-radius: 999px;
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 0.75rem;
	letter-spacing: 0.04em;
	color: var(--orange-deep);
}

.eyebrow__num:empty {
	display: none;
}

/* ---------- Buttons ---------- */
.button {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.9rem 1.4rem;
	border-radius: 999px;
	border: 1.5px solid var(--orange);
	background: var(--orange);
	color: #1a100c;
	font-weight: 700;
	font-size: 0.98rem;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.button:hover {
	background: var(--orange-deep);
	border-color: var(--orange-deep);
	color: var(--white);
	transform: translateY(-1px);
}

.section--ink a.button,
.section--forest a.button,
.hero a.button:not(.button--ghost-light) {
	color: #1a100c;
}

.section--ink a.button:hover,
.section--forest a.button:hover,
.hero a.button:not(.button--ghost-light):hover {
	color: var(--white);
}

.button .icon {
	width: 1.1em;
	height: 1.1em;
	transition: transform 0.2s var(--ease);
}

.button:hover .icon-arrow {
	transform: translateX(3px);
}

.button small {
	font-weight: 500;
	opacity: 0.75;
	font-size: 0.8em;
}

.button--small {
	padding: 0.65rem 1.05rem;
	font-size: 0.9rem;
}

.button--ghost {
	background: transparent;
	color: var(--ink);
}

.button--ghost:hover {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--white);
}

.button--light,
.section--ink a.button--light,
.section--forest a.button--light {
	background: var(--white);
	border-color: var(--white);
	color: var(--ink);
}

.button--light:hover,
.section--ink a.button--light:hover,
.section--forest a.button--light:hover {
	background: var(--orange);
	border-color: var(--orange);
	color: var(--ink);
}

.button--ghost-light,
.section--ink a.button--ghost-light,
.section--forest a.button--ghost-light {
	background: transparent;
	border-color: var(--on-dark-line);
	color: var(--white);
}

.button--ghost-light:hover,
.section--ink a.button--ghost-light:hover,
.section--forest a.button--ghost-light:hover {
	background: rgba(255, 253, 249, 0.1);
	border-color: var(--white);
	color: var(--white);
}

.button[disabled] {
	opacity: 0.6;
	cursor: progress;
	transform: none;
}

/* ---------- Header ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	/* Sticky elements are containing blocks for the absolutely positioned mobile nav. */
	background: rgba(16, 22, 20, 0.92);
	backdrop-filter: saturate(140%) blur(14px);
	-webkit-backdrop-filter: saturate(140%) blur(14px);
	border-bottom: 1px solid rgba(255, 253, 248, 0.08);
	color: var(--white);
}

.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 76px;
}

.site-brand__link {
	display: inline-flex;
	flex-direction: column;
	text-decoration: none;
	color: var(--white);
	line-height: 1.1;
}

.site-brand__name {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.35rem;
	letter-spacing: -0.03em;
}

.site-brand__tag {
	font-size: 0.68rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(255, 253, 248, 0.55);
	margin-top: 0.3rem;
}

.custom-logo-link img {
	max-height: 56px;
	width: auto;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.site-nav__list {
	display: flex;
	gap: 0.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav__list a {
	display: inline-block;
	padding: 0.55rem 0.8rem;
	border-radius: 999px;
	color: rgba(255, 253, 248, 0.78);
	font-weight: 650;
	font-size: 0.95rem;
	text-decoration: none;
}

.site-nav__list a:hover,
.site-nav__list .current-menu-item > a,
.site-nav__list .current_page_parent > a {
	color: var(--white);
	background: rgba(255, 253, 248, 0.1);
}

.nav-toggle {
	display: none;
	align-items: center;
	gap: 0.6rem;
	background: transparent;
	border: 1.5px solid rgba(255, 253, 248, 0.22);
	color: var(--white);
	border-radius: 999px;
	padding: 0.55rem 0.9rem;
	font-weight: 700;
	font-size: 0.9rem;
	cursor: pointer;
}

.nav-toggle__bars {
	display: inline-flex;
	flex-direction: column;
	gap: 4px;
	width: 18px;
}

.nav-toggle__bars span {
	display: block;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) {
	opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 900px) {
	.nav-toggle {
		display: inline-flex;
	}

	.site-nav {
		position: absolute;
		inset: 100% 0 auto 0;
		flex-direction: column;
		align-items: stretch;
		gap: 0.75rem;
		padding: 1rem var(--gutter) 1.5rem;
		background: var(--night);
		border-bottom: 1px solid rgba(255, 253, 248, 0.08);
		box-shadow: var(--shadow);
		display: none;
	}

	.site-nav.is-open {
		display: flex;
	}

	.site-nav__list {
		flex-direction: column;
		gap: 0.1rem;
	}

	.site-nav__list a {
		display: block;
		padding: 0.8rem 0.9rem;
		font-size: 1.05rem;
	}

	.site-nav__cta {
		justify-content: center;
	}
}

/* ---------- Homepage hero ---------- */
.hero {
	position: relative;
	min-height: min(92vh, 980px);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	color: var(--white);
	background: var(--night);
	overflow: hidden;
	padding: 0;
}

.hero__split {
	position: relative;
	z-index: 1;
	flex: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.9fr);
	align-items: center;
	min-height: min(78vh, 820px);
}

.hero__copy {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 100%;
}

.hero__bg,
.hero__shade {
	position: absolute;
	inset: 0;
}

.hero__bg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center 40%;
}

.hero__shade {
	background:
		linear-gradient(90deg, rgba(10, 14, 12, 0.72) 0%, rgba(10, 14, 12, 0.28) 52%, rgba(10, 14, 12, 0.18) 100%),
		linear-gradient(180deg, rgba(10, 14, 12, 0.18) 0%, rgba(10, 14, 12, 0.05) 38%, rgba(10, 14, 12, 0.78) 100%);
}

.hero__copy-inner {
	position: relative;
	z-index: 2;
	width: 100%;
	padding: clamp(6.5rem, 14vh, 9rem) clamp(1.5rem, 4vw, 3.5rem) clamp(2rem, 5vw, 3.5rem) max(var(--gutter), calc((100vw - var(--container)) / 2));
}

.hero__kicker {
	font-size: 0.78rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 700;
	color: #ffb08a;
	margin-bottom: 1rem;
}

.hero__title {
	font-size: clamp(3.2rem, 1.4rem + 6.4vw, 7.2rem);
	font-weight: 760;
	letter-spacing: -0.055em;
	line-height: 0.88;
	margin-bottom: 0.35em;
	color: var(--white);
	max-width: 11ch;
	font-variation-settings: "opsz" 96, "wdth" 100;
}

.hero__lead {
	font-size: clamp(1.05rem, 1rem + 0.35vw, 1.25rem);
	color: rgba(255, 253, 248, 0.86);
	max-width: 38em;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.6rem;
}

.hero__signature {
	margin-top: 1.25rem;
	font-family: var(--font-body);
	font-style: italic;
	font-weight: 500;
	font-size: 1.15rem;
	color: rgba(255, 253, 248, 0.7);
}

.hero__media {
	position: relative;
	justify-self: center;
	width: min(92%, 520px);
	margin: clamp(5rem, 10vh, 7rem) 1.25rem clamp(1.5rem, 4vw, 2.5rem) 0;
	transform: rotate(-2deg);
}

.hero__media::after {
	content: "";
	position: absolute;
	inset: 8% -5% -7% 6%;
	border: 1.5px dashed rgba(255, 176, 138, 0.75);
	border-radius: 8px;
	z-index: -1;
	transform: rotate(2.5deg);
}

.hero__media img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center 22%;
	border: 10px solid var(--white);
	border-radius: 4px;
	box-shadow: 0 28px 50px -24px rgba(0, 0, 0, 0.75);
}

.hero__caption {
	position: absolute;
	left: 0.7rem;
	bottom: 0.9rem;
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	background: rgba(16, 22, 20, 0.78);
	color: var(--white);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.stats {
	position: relative;
	z-index: 2;
	list-style: none;
	margin: 0;
	width: 100%;
	max-width: none;
	padding: 1.35rem max(var(--gutter), calc((100vw - var(--container)) / 2)) 1.5rem;
	border-top: 1px solid rgba(255, 253, 248, 0.14);
	background: rgba(10, 14, 12, 0.55);
	backdrop-filter: blur(8px);
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stats__item {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.stats__value {
	font-family: var(--font-display);
	font-weight: 720;
	font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem);
	line-height: 1;
	letter-spacing: -0.04em;
	color: #ffd0b8;
}

.stats__label {
	font-size: 0.92rem;
	color: rgba(255, 253, 248, 0.72);
	max-width: 18em;
}

@media (max-width: 900px) {
	.hero__split {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.hero__title {
		max-width: 12ch;
	}

	.hero__media {
		width: min(78%, 380px);
		margin: 0 auto 2rem;
	}

	.stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* ---------- Manifesto ---------- */
.manifesto__inner {
	display: grid;
	gap: clamp(2rem, 5vw, 5rem);
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	align-items: start;
}

.manifesto .section__title {
	font-weight: 720;
	font-style: normal;
}

.manifesto__body p {
	max-width: 38em;
}

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

/* ---------- Route / timeline ---------- */
.route {
	list-style: none;
	margin: 0;
	padding: 0;
	position: relative;
}

.route::before {
	content: "";
	position: absolute;
	left: 22px;
	top: 12px;
	bottom: 12px;
	border-left: 2px dashed rgba(224, 115, 29, 0.55);
}

.route__stop,
.route__quote {
	position: relative;
	display: grid;
	grid-template-columns: 46px minmax(0, 1fr);
	gap: 1.25rem;
	padding-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.route__marker {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--paper);
	border: 2px solid var(--orange);
	color: var(--forest);
	box-shadow: 0 0 0 6px var(--paper);
}

.route--full .route__marker {
	background: var(--white);
}

.route__marker .icon {
	width: 22px;
	height: 22px;
}

.route__era {
	margin: 0 0 0.35rem;
	font-size: 0.8rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--orange-deep);
}

.route__place {
	color: var(--muted);
	letter-spacing: 0.06em;
	text-transform: none;
	font-weight: 500;
}

.route__title {
	font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.8rem);
	margin-bottom: 0.4em;
}

.route__title a {
	color: inherit;
	text-decoration-color: rgba(255, 92, 36, 0.45);
	text-underline-offset: 0.16em;
}

.route__title a:hover {
	color: var(--orange-deep);
}

.route__read {
	margin: 0.85rem 0 0;
}

.route__read a {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
}

.route__read .icon {
	width: 16px;
	height: 16px;
}

.route__text {
	max-width: 44em;
	color: var(--ink-soft);
	margin: 0;
}

.route__quote {
	grid-template-columns: 46px minmax(0, 1fr);
}

.route__quote .pull {
	grid-column: 2;
}

@media (max-width: 640px) {
	.route::before {
		left: 17px;
	}

	.route__stop,
	.route__quote {
		grid-template-columns: 36px minmax(0, 1fr);
		gap: 1rem;
	}

	.route__marker {
		width: 36px;
		height: 36px;
	}

	.route__marker .icon {
		width: 18px;
		height: 18px;
	}
}

/* Pull quotes */
.pull {
	position: relative;
	padding: 1.5rem 1.75rem 1.5rem 2.25rem;
	border-left: 3px solid var(--orange);
	background: var(--white);
	border-radius: 0 var(--radius) var(--radius) 0;
	font-family: var(--font-body);
	font-size: clamp(1.2rem, 1rem + 0.7vw, 1.55rem);
	font-style: italic;
	font-weight: 560;
	line-height: 1.35;
	color: var(--ink);
	margin-block: 1.5rem;
}

.pull p {
	margin: 0;
}

.pull cite {
	display: block;
	margin-top: 0.75rem;
	font-family: var(--font-body);
	font-style: normal;
	font-size: 0.8rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

.pull--wide {
	margin-block: 0.5rem 2.5rem;
}

.pull--card {
	margin: 0;
	height: 100%;
	border-left-width: 3px;
	box-shadow: var(--shadow);
}

/* ---------- Lessons ---------- */
.lessons__grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lesson {
	position: relative;
	background: var(--white);
	border-radius: var(--radius);
	padding: 1.75rem 1.5rem 1.5rem;
	border: 1px solid var(--paper-line);
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.lesson:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
}

.lesson__num {
	display: inline-block;
	font-family: var(--font-display);
	font-weight: 600;
	color: var(--orange-deep);
	margin-bottom: 0.75rem;
}

.lesson__title {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 0.5em;
}

.lesson__text {
	margin: 0;
	color: var(--ink-soft);
	font-size: 0.98rem;
}

.lessons__signup {
	display: grid;
	gap: 1.25rem 2.5rem;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	align-items: center;
	margin-top: clamp(2rem, 4vw, 3.5rem);
	padding: clamp(1.5rem, 3vw, 2.25rem);
	background: var(--night);
	color: var(--paper);
	border-radius: var(--radius);
}

.lessons__signup h3 {
	margin: 0 0 0.35em;
	color: var(--paper);
	font-size: clamp(1.45rem, 1.2rem + 0.8vw, 2rem);
}

.lessons__signup-copy p {
	margin: 0;
	max-width: 34em;
	color: var(--on-dark-muted);
}

.lessons__signup .form__inline {
	grid-template-columns: minmax(0, 1fr) auto;
}

.lessons__signup .form input {
	background: var(--white);
	border-color: transparent;
	min-height: 51px;
}

.lessons__signup .form .button {
	background: var(--orange);
	border-color: var(--orange);
	color: var(--ink);
}

.lessons__signup .form .button:hover {
	background: var(--white);
	border-color: var(--white);
}

.lessons__signup .form__hint {
	color: var(--on-dark-muted);
}

@media (max-width: 900px) {
	.lessons__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.lessons__signup {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 600px) {
	.lessons__grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- Book ---------- */
.book-promo__inner,
.book-hero__inner {
	display: grid;
	gap: clamp(2rem, 5vw, 5rem);
	grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
	align-items: center;
}

.book-cover {
	--w: min(100%, 300px);
	position: relative;
	display: block;
	width: var(--w);
	aspect-ratio: 2 / 3;
	margin-inline: auto;
	text-decoration: none;
	color: var(--ink);
	perspective: 1200px;
	transition: transform 0.35s var(--ease);
}

.book-cover--large {
	--w: min(100%, 340px);
}

.section--forest a.book-cover,
.section--ink a.book-cover {
	color: var(--ink);
}

a.book-cover:hover {
	transform: translateY(-4px);
}

.book-cover__spine {
	position: absolute;
	inset: 2% auto 2% -10px;
	width: 14px;
	background: linear-gradient(90deg, #0f1a14, var(--forest-deep));
	border-radius: 3px 0 0 3px;
	transform: skewY(-6deg);
}

.book-cover__face {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	padding: 1.5rem 1.4rem;
	background:
		linear-gradient(160deg, rgba(255, 255, 255, 0.06), transparent 40%),
		var(--paper);
	border-radius: 4px 10px 10px 4px;
	box-shadow:
		inset 6px 0 10px -8px rgba(0, 0, 0, 0.6),
		14px 20px 40px -20px rgba(0, 0, 0, 0.6);
	border: 1px solid rgba(28, 34, 40, 0.1);
}

.book-cover__face::before {
	content: "";
	position: absolute;
	inset: 10px;
	border: 1px solid rgba(224, 115, 29, 0.6);
	border-radius: 2px;
	pointer-events: none;
}

.book-cover__top {
	font-size: 0.7rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--orange-deep);
}

.book-cover__title {
	display: block;
	font-family: var(--font-display);
	font-weight: 500;
	font-size: clamp(1.6rem, 6cqi, 2.1rem);
	line-height: 1.02;
	letter-spacing: -0.02em;
	margin-top: 1.5rem;
	font-variation-settings: "opsz" 144, "SOFT" 60;
}

.book-cover__sub {
	display: block;
	font-size: 0.85rem;
	color: var(--muted);
	margin-top: 0.75rem;
	margin-bottom: auto;
	max-width: 18em;
}

.book-cover__author {
	display: block;
	font-family: var(--font-body);
	font-style: italic;
	font-weight: 560;
	font-size: 1.05rem;
	color: var(--forest);
	padding-top: 1rem;
	border-top: 1px solid rgba(28, 34, 40, 0.14);
}

.book-promo__actions,
.book-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 1.5rem 0 2rem;
}

.book-hero__meta {
	margin-top: 1rem;
	font-size: 0.85rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--on-dark-muted);
}

.book-hero .page-hero__title {
	color: var(--white);
}

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

	.book-cover {
		--w: 240px;
		margin-inline: 0;
	}
}

/* ---------- Audio player ---------- */
.player {
	background: var(--white);
	color: var(--ink);
	border-radius: var(--radius);
	padding: 1.25rem 1.25rem 1.1rem;
	box-shadow: var(--shadow);
	border: 1px solid var(--paper-line);
}

.player--compact {
	margin-top: 0.5rem;
}

.player__head {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 0.9rem;
}

.player__badge {
	display: inline-block;
	padding: 0.25rem 0.6rem;
	border-radius: 999px;
	background: var(--orange);
	color: var(--ink);
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.player__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: 1.05rem;
	font-weight: 600;
}

.player__audio {
	width: 100%;
}

.player.is-ready .player__audio {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.player__controls {
	display: grid;
	grid-template-columns: auto auto auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.6rem;
}

.player__btn {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	border: 1.5px solid var(--paper-line);
	background: transparent;
	cursor: pointer;
	color: var(--ink);
	transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.player__btn:hover {
	background: var(--paper-deep);
}

.player__btn--play {
	width: 54px;
	height: 54px;
	background: var(--ink);
	border-color: var(--ink);
	color: var(--white);
}

.player__btn--play:hover {
	background: var(--orange-deep);
	border-color: var(--orange-deep);
	transform: scale(1.04);
}

.player__btn--play .icon {
	width: 24px;
	height: 24px;
}

.player__icon-pause {
	display: none;
}

.player.is-playing .player__icon-play {
	display: none;
}

.player.is-playing .player__icon-pause {
	display: block;
}

.player__btn--skip .icon {
	width: 22px;
	height: 22px;
}

.player__timeline {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	padding-inline: 0.25rem;
}

.player__seek {
	width: 100%;
	height: 6px;
	margin: 0;
	appearance: none;
	-webkit-appearance: none;
	background: linear-gradient(to right, var(--orange) var(--progress, 0%), var(--paper-deep) var(--progress, 0%));
	border-radius: 999px;
	cursor: pointer;
}

.player__seek::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--ink);
	border: 2px solid var(--white);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.player__seek::-moz-range-thumb {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: var(--ink);
	border: 2px solid var(--white);
}

.player__seek::-moz-range-track {
	background: transparent;
}

.player__times {
	display: flex;
	justify-content: space-between;
	font-size: 0.78rem;
	font-variant-numeric: tabular-nums;
	color: var(--muted);
}

.player__speed select {
	appearance: none;
	-webkit-appearance: none;
	padding: 0.45rem 1.7rem 0.45rem 0.7rem;
	border-radius: 999px;
	border: 1.5px solid var(--paper-line);
	background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231c2228' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 0.65rem center;
	font-size: 0.85rem;
	font-weight: 700;
	cursor: pointer;
}

.player__foot {
	margin: 1rem 0 0;
	font-size: 0.85rem;
	color: var(--muted);
}

.player__foot a {
	margin-left: 0.4rem;
}

@media (max-width: 600px) {
	.player__controls {
		grid-template-columns: auto auto auto minmax(0, 1fr);
	}

	.player__speed {
		grid-column: 1 / -1;
		justify-self: end;
	}
}

/* ---------- Vision ---------- */
.vision__inner {
	display: grid;
	gap: clamp(2rem, 5vw, 5rem);
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
	align-items: start;
}

.vision__copy p {
	max-width: 40em;
}

.vision__aside {
	position: sticky;
	top: 110px;
	background: var(--ink);
	color: var(--on-dark);
	border-radius: var(--radius);
	padding: clamp(1.5rem, 3vw, 2.25rem);
}

.vision__aside-title {
	font-size: 1.35rem;
	color: var(--white);
}

.vision__list {
	margin: 1.25rem 0 0;
	padding: 0;
	list-style: none;
	counter-reset: vision;
	display: grid;
	gap: 1.25rem;
}

.vision__list li {
	position: relative;
	padding-left: 2.75rem;
	counter-increment: vision;
}

.vision__list li::before {
	content: counter(vision, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 0.1rem;
	font-family: var(--font-display);
	font-weight: 600;
	color: #ffb86b;
}

.vision__list strong {
	display: block;
	color: var(--white);
	margin-bottom: 0.25rem;
	line-height: 1.35;
}

.vision__list span {
	color: var(--on-dark-muted);
	font-size: 0.95rem;
}

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

	.vision__aside {
		position: static;
	}
}

/* ---------- Projects ---------- */
.projects__grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project {
	--accent: var(--forest);
	display: flex;
	flex-direction: column;
	background: var(--white);
	border-radius: 18px;
	border: 1px solid var(--paper-line);
	padding: 0 0 1.4rem;
	overflow: hidden;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.project--orange {
	--accent: var(--orange);
}

.project--navy {
	--accent: var(--navy);
}

.project:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
}

.project__media {
	margin: 0;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--night);
}

.project__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--ease);
}

.project:hover .project__media img {
	transform: scale(1.05);
}

.project__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.25rem 1.35rem 0;
}

.project__mark {
	display: none;
}

.project__name {
	font-size: 1.45rem;
	margin-bottom: 0.3em;
}

.project__tagline {
	font-family: var(--font-body);
	font-style: italic;
	font-weight: 560;
	color: var(--accent);
	margin-bottom: 1rem;
}

.project__text {
	color: var(--ink-soft);
	font-size: 0.98rem;
}

.project__facts {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
	display: grid;
	gap: 0.5rem;
	font-size: 0.92rem;
}

.project__facts li {
	display: flex;
	gap: 0.5rem;
	align-items: flex-start;
}

.project__facts .icon {
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 0.15rem;
	color: var(--accent);
}

.project__link {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 700;
	text-decoration: none;
	color: var(--ink);
	border-top: 1px solid var(--paper-line);
	padding-top: 1rem;
}

.project__link .icon {
	width: 18px;
	height: 18px;
	transition: transform 0.2s var(--ease);
}

.project__link:hover .icon {
	transform: translate(2px, -2px);
}

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

/* ---------- Cards (blog) ---------- */
.cards {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
	display: flex;
	flex-direction: column;
	background: var(--white);
	border-radius: var(--radius);
	border: 1px solid var(--paper-line);
	overflow: hidden;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow);
}

.card__media img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.5rem;
}

.card__title {
	font-size: 1.35rem;
	margin-bottom: 0.5em;
}

.card__title a {
	color: inherit;
	text-decoration: none;
}

.card__title a:hover {
	color: var(--orange-deep);
}

.card__excerpt {
	color: var(--ink-soft);
	font-size: 0.98rem;
}

.card__excerpt p {
	margin-bottom: 0.75em;
}

.card__more {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	font-weight: 700;
	text-decoration: none;
	padding-top: 0.75rem;
}

.card__more .icon {
	width: 18px;
	height: 18px;
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0 0 0.75rem;
	font-size: 0.8rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
	font-weight: 700;
}

@media (max-width: 900px) {
	.cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 600px) {
	.cards {
		grid-template-columns: 1fr;
	}
}

/* ---------- Newsletter ---------- */
.newsletter__inner {
	display: grid;
	gap: clamp(2rem, 5vw, 5rem);
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
}

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

/* ---------- Forms ---------- */
.form__hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.form__field {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin: 0 0 1rem;
}

.form__field label {
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.form input[type="text"],
.form input[type="email"],
.form select,
.form textarea,
.search-form__input,
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 0.85rem 1rem;
	border-radius: var(--radius-sm);
	border: 1.5px solid var(--paper-line);
	background: var(--white);
	color: var(--ink);
	transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.form input:focus,
.form select:focus,
.form textarea:focus,
.search-form__input:focus,
.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: var(--orange);
	box-shadow: 0 0 0 4px rgba(224, 115, 29, 0.18);
}

.form textarea {
	resize: vertical;
	min-height: 150px;
}

.form select {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231c2228' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 0.9rem center;
	padding-right: 2.5rem;
}

.form__row--2 {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form__inline {
	display: grid;
	gap: 0.75rem;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
}

.form__field--submit .button {
	height: 100%;
	min-height: 51px;
	justify-content: center;
}

.form__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem;
	margin: 0.5rem 0 0;
}

.form__hint {
	font-size: 0.85rem;
	color: var(--muted);
	margin: 0.5rem 0 0;
}

.section--ink .form__hint,
.section--forest .form__hint {
	color: var(--on-dark-muted);
}

.section--ink .form input,
.section--ink .form select,
.section--ink .form textarea,
.section--forest .form input,
.section--forest .form select,
.section--forest .form textarea {
	border-color: transparent;
}

.section--ink .form .button,
.section--forest .form .button {
	background: var(--orange);
	border-color: var(--orange);
	color: var(--ink);
}

.section--ink .form .button:hover,
.section--forest .form .button:hover {
	background: var(--white);
	border-color: var(--white);
}

.form__notice:empty {
	display: none;
}

.form__notice,
.form-notice {
	margin: 0 0 1rem;
	padding: 0.85rem 1rem;
	border-radius: var(--radius-sm);
	background: var(--paper-deep);
	color: var(--ink);
	font-weight: 700;
	font-size: 0.95rem;
	border-left: 4px solid var(--forest);
}

.form__notice.is-error,
.form-notice.is-error {
	border-left-color: #c1351d;
	background: #fbe9e4;
}

.form__notice.is-ok,
.form-notice.is-ok {
	border-left-color: var(--forest);
	background: #e3efe6;
}

@media (max-width: 640px) {
	.form__row--2,
	.form__inline {
		grid-template-columns: 1fr;
	}
}

/* ---------- Contact ---------- */
.contact__inner {
	display: grid;
	gap: clamp(2rem, 5vw, 5rem);
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	align-items: start;
}

.contact__details {
	list-style: none;
	margin: 2rem 0 0;
	padding: 0;
	display: grid;
	gap: 0.9rem;
}

.contact__details li {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	font-weight: 700;
}

.contact__details .icon {
	flex: none;
	width: 22px;
	height: 22px;
	color: var(--orange-deep);
}

.contact__form {
	background: var(--white);
	border: 1px solid var(--paper-line);
	border-radius: var(--radius);
	padding: clamp(1.5rem, 3vw, 2.25rem);
	box-shadow: var(--shadow);
}

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

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
	padding-block: clamp(3rem, 7vw, 5.5rem) clamp(1.5rem, 4vw, 3rem);
	border-bottom: 1px solid var(--paper-line);
}

.page-hero__inner {
	max-width: 860px;
}

.breadcrumbs {
	margin: 0 0 1rem;
}

.breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.breadcrumbs a {
	color: var(--muted);
	text-decoration: none;
}

.breadcrumbs a:hover {
	color: var(--orange-deep);
}

.breadcrumbs [aria-current="page"] {
	color: var(--ink-soft);
}

.breadcrumbs__sep {
	color: var(--muted);
}

.section--forest .breadcrumbs a,
.section--forest .breadcrumbs [aria-current="page"],
.section--forest .breadcrumbs__sep {
	color: rgba(255, 253, 248, 0.72);
}

.section--forest .breadcrumbs a:hover {
	color: var(--white);
}

.page-hero__title {
	font-size: clamp(2.2rem, 1.4rem + 3.2vw, 4rem);
	font-weight: 500;
	letter-spacing: -0.025em;
	line-height: 1.02;
	margin-bottom: 0.5em;
}

.page-hero__lead {
	font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
	color: var(--ink-soft);
	margin: 0;
}

.page-hero--post .page-hero__inner {
	margin-inline: auto;
}

/* ---------- Entry content ---------- */
.entry__thumb {
	margin: 0 auto 2rem;
}

.entry__thumb img {
	border-radius: var(--radius);
	width: 100%;
}

.entry__thumb figcaption {
	margin-top: 0.5rem;
	font-size: 0.85rem;
	color: var(--muted);
}

.entry-content {
	font-size: 1.1rem;
	line-height: 1.7;
}

.entry-content > * {
	margin-bottom: 1.4em;
}

.entry-content h2 {
	font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem);
	margin-top: 1.6em;
}

.entry-content h3 {
	font-size: 1.4rem;
	margin-top: 1.4em;
}

.entry-content blockquote {
	padding: 0.5rem 0 0.5rem 1.5rem;
	border-left: 3px solid var(--orange);
	font-family: var(--font-body);
	font-style: italic;
	font-weight: 560;
	font-size: 1.25em;
	line-height: 1.4;
}

.entry-content img {
	border-radius: var(--radius-sm);
}

.entry-content .alignwide {
	width: min(100vw - 2 * var(--gutter), 1100px);
	margin-left: 50%;
	transform: translateX(-50%);
}

.entry-content .alignfull {
	width: 100vw;
	margin-left: 50%;
	transform: translateX(-50%);
	max-width: none;
}

.entry-content .alignleft {
	float: left;
	margin: 0.4rem 1.5rem 1rem 0;
}

.entry-content .alignright {
	float: right;
	margin: 0.4rem 0 1rem 1.5rem;
}

.entry-content .aligncenter {
	margin-inline: auto;
}

.wp-caption,
.wp-block-image figcaption,
.gallery-caption {
	font-size: 0.85rem;
	color: var(--muted);
}

.sticky {
	border-color: var(--orange);
}

.bypostauthor > .comment-body {
	border-left: 3px solid var(--orange);
}

.entry__footer {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--paper-line);
}

.entry__tags a {
	display: inline-block;
	margin: 0 0.4rem 0.4rem 0;
	padding: 0.3rem 0.75rem;
	border-radius: 999px;
	background: var(--paper-deep);
	font-size: 0.85rem;
	font-weight: 700;
	text-decoration: none;
}

.post-navigation .nav-links {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 1.5rem;
}

.post-navigation .nav-next {
	text-align: right;
}

.post-navigation a {
	display: block;
	text-decoration: none;
	color: var(--ink);
}

.post-navigation .nav-label {
	display: block;
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 0.25rem;
}

.post-navigation .nav-title {
	font-family: var(--font-display);
	font-size: 1.15rem;
	font-weight: 600;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 3rem;
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	min-height: 42px;
	padding: 0.5rem 0.9rem;
	border-radius: 999px;
	border: 1.5px solid var(--paper-line);
	text-decoration: none;
	font-weight: 700;
}

.pagination .page-numbers.current {
	background: var(--ink);
	border-color: var(--ink);
	color: var(--white);
}

.page-links {
	margin-top: 2rem;
	font-weight: 700;
}

/* ---------- Comments ---------- */
.comments {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--paper-line);
}

.comments__title {
	font-size: 1.5rem;
}

.comment-list {
	list-style: none;
	padding: 0;
	margin: 0 0 2rem;
}

.comment-list .children {
	list-style: none;
	padding-left: 2rem;
}

.comment-body {
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--paper-line);
}

.comment-author .avatar {
	border-radius: 50%;
	float: left;
	margin-right: 0.75rem;
}

.comment-metadata {
	font-size: 0.8rem;
	color: var(--muted);
}

.comment-form label {
	display: block;
	font-weight: 700;
	font-size: 0.9rem;
	margin-bottom: 0.3rem;
}

.comment-form p {
	margin-bottom: 1rem;
}

.comments__closed {
	color: var(--muted);
}

.entry__newsletter {
	margin-top: 2.75rem;
	padding: 1.5rem 1.5rem 1.25rem;
	background: var(--paper-deep);
	border-radius: var(--radius);
}

.entry__newsletter h2 {
	font-size: 1.6rem;
	margin-bottom: 0.35em;
}

.entry__newsletter > p {
	margin-top: 0;
	color: var(--ink-soft);
}

.comment-form-newsletter label {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	font-weight: 650;
}

.comment-form-newsletter input {
	margin-top: 0.2rem;
	flex: none;
}

/* ---------- Search, empty, 404 ---------- */
.search-form {
	display: flex;
	gap: 0.5rem;
	max-width: 480px;
}

.empty {
	text-align: center;
	max-width: 560px;
	margin-inline: auto;
}

.empty .search-form {
	margin-inline: auto;
}

.error-404__links {
	list-style: none;
	padding: 0;
	margin: 0 0 2rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	font-weight: 700;
}

/* ---------- Book page extras ---------- */
.chapters__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.5rem;
}

.chapter {
	position: relative;
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 1rem;
	align-items: start;
	padding: 1.1rem 1.25rem;
	background: var(--white);
	border-radius: var(--radius-sm);
	border: 1px solid var(--paper-line);
	transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.chapter:has(a):hover {
	border-color: var(--orange);
	transform: translateY(-2px);
}

.chapter__num {
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 1.1rem;
	color: var(--orange-deep);
	padding-top: 0.15rem;
}

.chapter__title {
	font-size: 1.15rem;
	margin-bottom: 0.2em;
}

.chapter__title a {
	color: inherit;
	text-decoration: none;
}

.chapter__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.chapter__title a:hover {
	color: var(--orange-deep);
}

.chapter__blurb {
	margin: 0;
	color: var(--muted);
	font-size: 0.95rem;
}

.excerpts__grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.part-two .form--newsletter {
	margin-top: 1.5rem;
}

.closing .section__title {
	font-style: normal;
	font-weight: 720;
}

.closing .hero__actions {
	margin-top: 2rem;
}

/* ---------- Footer ---------- */
.site-footer {
	background: var(--ink);
	color: var(--on-dark);
	padding-block: clamp(3rem, 6vw, 5rem) 2rem;
}

.site-footer a {
	color: var(--on-dark);
	text-decoration: none;
}

.site-footer a:hover {
	color: #ffb86b;
}

.site-footer__grid {
	display: grid;
	gap: 2.5rem;
	grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
	padding-bottom: 2.5rem;
	border-bottom: 1px solid var(--on-dark-line);
}

.site-footer__name {
	font-family: var(--font-display);
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--white);
}

.site-footer__note {
	font-family: var(--font-body);
	font-style: italic;
	font-weight: 500;
	font-size: 1.15rem;
	margin: 0.75rem 0;
	color: var(--white);
}

.site-footer__small {
	font-size: 0.9rem;
	color: var(--on-dark-muted);
	max-width: 32em;
}

.site-footer__heading {
	font-family: var(--font-body);
	font-size: 0.75rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--on-dark-muted);
	margin-bottom: 1rem;
}

.site-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.5rem;
	font-size: 0.95rem;
}

.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.75rem;
	padding-top: 1.5rem;
	font-size: 0.85rem;
	color: var(--on-dark-muted);
}

.site-footer__bottom p {
	margin: 0;
}

.site-footer__tagline {
	font-family: var(--font-body);
	font-style: italic;
}

@media (max-width: 900px) {
	.site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 520px) {
	.site-footer__grid {
		grid-template-columns: 1fr;
	}
}

/* ---------- Reveal on scroll (progressive) ---------- */
.js .reveal {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
	.js .reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

/* ---------- Photo reel ---------- */
.reel {
	position: relative;
	background:
		radial-gradient(ellipse 55% 45% at 85% 0%, rgba(255, 92, 36, 0.2), transparent 60%),
		radial-gradient(ellipse 40% 50% at 8% 100%, rgba(255, 176, 138, 0.1), transparent 55%),
		var(--night);
	color: var(--white);
	padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(2.5rem, 6vw, 4rem);
	overflow: hidden;
	border-top: 1px solid rgba(255, 176, 138, 0.22);
}

.reel::before {
	content: "";
	position: absolute;
	top: 0;
	left: max(var(--gutter), calc((100vw - var(--container)) / 2));
	width: min(180px, 30vw);
	height: 2px;
	background: linear-gradient(90deg, var(--orange), transparent);
}

.reel__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.25rem;
	margin-bottom: 0.5rem;
}

.reel__head .section__title {
	color: var(--white);
	max-width: 14ch;
	margin: 0;
	font-size: clamp(2.4rem, 1.4rem + 3vw, 4.2rem);
	line-height: 0.92;
}

.reel .eyebrow__text {
	color: rgba(255, 253, 248, 0.55);
}

.reel .eyebrow__num {
	color: #ffb08a;
	border-color: rgba(255, 253, 248, 0.2);
}

.reel__hint {
	margin: 0 0 0.4rem;
	padding: 0.45rem 0.85rem;
	border: 1px solid rgba(255, 176, 138, 0.35);
	border-radius: 999px;
	font-size: 0.72rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	font-weight: 700;
	color: #ffb08a;
}

.reel__track {
	overflow: hidden;
	padding: 2.25rem 0 2.5rem max(var(--gutter), calc((100vw - var(--container)) / 2));
	scrollbar-width: none;
}

.reel__track::-webkit-scrollbar {
	display: none;
}

.reel__strip {
	display: flex;
	width: max-content;
	animation: reel-marquee 46s linear infinite;
}

.reel__track:hover .reel__strip,
.reel__track:focus-within .reel__strip {
	animation-play-state: paused;
}

.reel__set {
	display: flex;
	gap: 1.35rem;
	padding-right: 1.35rem;
}

@keyframes reel-marquee {
	from {
		transform: translateX(0);
	}
	to {
		transform: translateX(-50%);
	}
}

.reel__card {
	flex: 0 0 min(82vw, 420px);
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	padding: 0.7rem 0.7rem 1.05rem;
	background: linear-gradient(180deg, #fffdf8 0%, #f3ecdf 100%);
	color: var(--ink);
	border-radius: 4px;
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.65) inset,
		0 30px 50px -28px rgba(0, 0, 0, 0.85);
	transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.reel__card:nth-child(odd) {
	transform: rotate(-1.35deg);
}

.reel__card:nth-child(even) {
	transform: rotate(1.15deg);
	margin-top: 1.25rem;
}

.reel__card:hover {
	transform: rotate(0deg) translateY(-10px);
	box-shadow:
		0 1px 0 rgba(255, 255, 255, 0.7) inset,
		0 36px 60px -24px rgba(0, 0, 0, 0.9);
	z-index: 2;
}

.reel__index {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.15rem 0.35rem 0;
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 0.08em;
	color: var(--orange-deep);
}

.reel__index::after {
	content: "";
	width: 42%;
	height: 1px;
	background: rgba(20, 26, 23, 0.18);
}

.reel__card img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 2px;
}

.reel__card figcaption {
	padding: 0.15rem 0.4rem 0.15rem;
}

.reel__era {
	display: block;
	font-size: 0.68rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 700;
	color: var(--orange-deep);
	margin-bottom: 0.3rem;
}

.reel__line {
	display: block;
	font-family: var(--font-display);
	font-weight: 680;
	font-size: 1.28rem;
	letter-spacing: -0.035em;
	line-height: 1.12;
	color: var(--ink);
}

@media (prefers-reduced-motion: reduce) {
	.reel__strip {
		animation: none;
	}

	.reel__card,
	.reel__card:nth-child(odd),
	.reel__card:nth-child(even),
	.reel__card:hover {
		transform: none;
		margin-top: 0;
	}
}

.band {
	margin: 0 0 clamp(2rem, 5vw, 3.5rem);
	position: relative;
}

.band img {
	width: 100%;
	max-height: 560px;
	object-fit: cover;
	border-radius: 18px;
}

.story-banner {
	margin: 0;
	background: var(--night);
}

.story-banner img {
	width: 100%;
	max-height: 70vh;
	object-fit: cover;
	object-position: center 45%;
}

.story-banner--inset {
	width: min(100% - 2 * var(--gutter), var(--container));
	margin: clamp(2rem, 5vw, 3.5rem) auto 0;
}

.story-banner--inset img {
	border-radius: 18px;
	max-height: 520px;
}

.band figcaption {
	position: absolute;
	left: 1rem;
	bottom: 1rem;
	max-width: 28em;
	padding: 0.7rem 0.95rem;
	border-radius: 12px;
	background: rgba(16, 22, 20, 0.72);
	color: var(--white);
	font-family: var(--font-display);
	font-weight: 640;
	letter-spacing: -0.03em;
	font-size: 1.05rem;
	line-height: 1.25;
}

.section__title {
	font-weight: 720;
}

/* ---------- Print ---------- */
@media print {
	.site-header,
	.site-footer,
	.player__controls,
	.form,
	.nav-toggle {
		display: none !important;
	}

	body {
		background: #fff;
		color: #000;
	}
}
