/* ==========================================================================
   Timeless Remedies — main stylesheet
   Brand DA: logo ink, olive green, tagline sage on warm paper.
   Playfair Display (titles) + Jost (everything else).
   ========================================================================== */

:root {
	/* Brand palette, taken from the logo and the existing site. */
	--paper: #f2f1ec;   /* site background */
	--paper-2: #e7e6dd; /* quiet bands */
	--ink: #1c2416;     /* logo ink */
	--moss: #4a5534;    /* secondary text (AA on paper) */
	--olive: #647146;   /* brand green: buttons, bands */
	--sage: #8fa86b;    /* logo tagline: rules, labels, accents */
	--line: #c9cdb8;    /* hairlines */

	--serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;

	/* Fluid type scale (360px → 1440px). */
	--t-xs: 0.8125rem;
	--t-sm: 0.9375rem;
	--t-base: clamp(1rem, 0.96rem + 0.18vw, 1.125rem);
	--t-lg: clamp(1.125rem, 1.05rem + 0.35vw, 1.375rem);
	--t-xl: clamp(1.5rem, 1.25rem + 1.1vw, 2.25rem);
	--t-2xl: clamp(2rem, 1.5rem + 2.2vw, 3.5rem);
	--t-3xl: clamp(2.6rem, 1.6rem + 4.6vw, 6.25rem);

	--gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
	--max: 1320px;
	--space-section: clamp(4rem, 2.8rem + 6vw, 9rem);
	--radius: 2px;

	--shadow-book: 1px 1px 0 rgba(28, 36, 22, 0.08), 6px 10px 18px -6px rgba(28, 36, 22, 0.28), 24px 36px 60px -24px rgba(28, 36, 22, 0.35);
	--ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: var(--t-base);
	line-height: 1.6;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--olive); }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.1; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }
.manifesto :focus-visible, .p-final :focus-visible, .collection :focus-visible, .site-footer :focus-visible { outline-color: var(--paper); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--paper); padding: 0.75rem 1rem; }
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Buttons & links ---------- */
.btn, .button, button.button, input.button, #place_order, .woocommerce a.button, .wc-block-components-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
	min-height: 3.25rem; padding: 0.9rem 1.6rem;
	border: 1px solid transparent; border-radius: var(--radius);
	font-family: var(--sans); font-size: var(--t-sm); font-weight: 500; letter-spacing: 0.01em;
	text-decoration: none; cursor: pointer; line-height: 1.2;
	transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn--primary, .button.alt, #place_order, .checkout-button, .wc-block-components-button { background: var(--olive); color: var(--paper); }
.btn--primary:hover, .button.alt:hover, #place_order:hover, .checkout-button:hover { background: var(--ink); color: var(--paper); }
.btn--ink, .button { background: var(--ink); color: var(--paper); }
.btn--ink:hover, .button:hover { background: var(--moss); color: var(--paper); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: var(--sage); color: var(--ink); }
.btn--wide { width: 100%; }

.link-text {
	font-weight: 500; text-decoration: underline; text-decoration-color: var(--sage);
	text-underline-offset: 0.35em; text-decoration-thickness: 1px;
	transition: text-decoration-color 0.2s;
}
.link-text:hover { text-decoration-color: currentColor; }

.tag {
	display: inline-block; margin: 0 0.6em 0 0; padding: 0.15em 0.55em;
	background: var(--sage); color: var(--ink);
	font-size: var(--t-xs); font-weight: 500; border-radius: var(--radius);
}

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 40;
	background: color-mix(in srgb, var(--paper) 94%, transparent);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: var(--wp-admin--admin-bar--height, 32px); }
.site-header__inner {
	max-width: var(--max); margin-inline: auto; padding: 0.85rem var(--gutter);
	display: flex; align-items: center; gap: 1.5rem;
}
.brand { text-decoration: none; display: inline-flex; align-items: center; gap: 0.7rem; margin-right: auto; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__logo { max-height: 44px; width: auto; }
/* Horizontal version of the logo: infinity-leaf mark + Timeless / REMEDIES. */
.brand__mark { width: 54px; height: auto; flex: none; }
.brand__type { display: grid; line-height: 1; }
.brand__name { font-family: var(--serif); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.005em; }
.brand__sub { font-family: var(--serif); font-weight: 700; font-size: 0.56rem; letter-spacing: 0.52em; margin-top: 0.3rem; padding-left: 0.1em; }
.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav__list { list-style: none; display: flex; gap: 1.75rem; }
.site-nav__list a { text-decoration: none; font-size: var(--t-sm); font-weight: 500; }
.site-nav__list a:hover, .site-nav__list .current-menu-item > a { text-decoration: underline; text-underline-offset: 0.4em; }
.site-nav__cta { min-height: 2.6rem; padding: 0.55rem 1.1rem; }
.cart-link { text-decoration: none; font-size: var(--t-sm); font-weight: 500; display: inline-flex; gap: 0.4em; align-items: center; }
.cart-link__count {
	display: inline-grid; place-items: center; min-width: 1.5rem; height: 1.5rem; padding-inline: 0.3rem;
	border: 1px solid var(--ink); border-radius: 999px; font-size: var(--t-xs);
}
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
	display: block; width: 22px; height: 1.5px; background: var(--ink); position: relative; transition: transform 0.25s var(--ease);
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
	.nav-toggle { display: inline-block; order: 3; margin-right: -10px; }
	.cart-link { order: 2; }
	.site-nav {
		position: absolute; inset: 100% 0 auto 0; flex-direction: column; align-items: stretch; gap: 1.5rem;
		padding: 1.5rem var(--gutter) 2rem; background: var(--paper); border-bottom: 1px solid var(--line);
		visibility: hidden; opacity: 0; transform: translateY(-8px);
		transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0s 0.25s;
	}
	.site-nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
	.site-nav__list { flex-direction: column; gap: 0; }
	.site-nav__list a { display: block; padding: 0.85rem 0; font-family: var(--serif); font-size: 1.75rem; font-weight: 500; border-bottom: 1px solid color-mix(in srgb, var(--sage) 50%, transparent); }
	.site-nav__cta { min-height: 3.25rem; }
}

/* ---------- Book objects ---------- */
.book {
	position: relative; display: block; aspect-ratio: 2 / 3;
	border-radius: 1px 3px 3px 1px; box-shadow: var(--shadow-book);
	background: var(--paper-2);
	transform-origin: left center;
	transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.book img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
/* Spine fold + page edge make a flat cover read as an object. */
.book::before {
	content: ""; position: absolute; inset: 0 auto 0 0; width: 7%; pointer-events: none; border-radius: 1px 0 0 1px;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.28), rgba(255, 255, 255, 0.18) 45%, rgba(0, 0, 0, 0.08) 70%, transparent);
}
.book::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
	background: linear-gradient(105deg, transparent 60%, rgba(255, 255, 255, 0.14) 80%, transparent 92%);
}
.book--blank { display: grid; place-items: center; padding: 1.25rem; background: var(--moss); color: var(--paper); text-align: center; font-family: var(--serif); font-size: 1.25rem; line-height: 1.15; }
.cover-photo { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.cover-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }

@media (hover: hover) {
	a:hover > .book, .guide:hover .book { transform: perspective(1200px) rotateY(-9deg) translateY(-4px); box-shadow: 1px 1px 0 rgba(28, 36, 22, 0.08), 14px 18px 26px -8px rgba(28, 36, 22, 0.32), 40px 50px 80px -30px rgba(28, 36, 22, 0.4); }
	.guide:hover .cover-photo img { transform: scale(1.03); }
}

/* ---------- Hero ---------- */
.hero {
	max-width: var(--max); margin-inline: auto;
	padding: clamp(2.5rem, 1rem + 6vw, 6.5rem) var(--gutter) clamp(3rem, 2rem + 4vw, 6rem);
	display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gutter); align-items: end;
}
.hero__text { grid-column: 1 / span 6; }
.hero__title {
	font-family: var(--serif); font-size: var(--t-3xl); font-weight: 500;
	line-height: 0.98; letter-spacing: -0.012em; max-width: 12ch; text-wrap: balance;
}
.hero__lede { margin: 1.75rem 0 2.25rem; font-size: var(--t-lg); max-width: 34ch; color: var(--moss); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }

.shelf { grid-column: 7 / -1; }
.shelf__row {
	list-style: none; display: flex; align-items: flex-end; gap: 0.6rem;
	padding: 0 0.5rem; border-bottom: 1px solid var(--ink);
}
.shelf__item { flex: 1 1 0; max-width: 52%; animation: tr-shelve 0.9s var(--ease) both; animation-delay: calc(0.25s + var(--i) * 0.11s); }
.shelf__item a { display: block; text-decoration: none; }
.shelf__item:nth-child(1) { flex-grow: 1.25; }
.shelf__item:nth-child(4) { transform-origin: bottom right; rotate: 5deg; margin-left: 0.5rem; }
.shelf__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@keyframes tr-shelve { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
	.hero { grid-template-columns: 1fr; row-gap: 2.75rem; align-items: start; }
	.hero__text, .shelf { grid-column: 1; }
	.shelf { order: -1; }
	.shelf__row { gap: 0.5rem; padding-inline: 0; }
	.shelf__item { max-width: none; }
	.hero__title { max-width: 14ch; }
	.hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--space-section); }
.section__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gutter); align-items: end; margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.section__title, .p-section__title { font-family: var(--serif); font-size: var(--t-2xl); letter-spacing: -0.015em; text-wrap: balance; }
.section__text { margin: 0; color: var(--moss); max-width: 42ch; }
@media (max-width: 760px) { .section__head { grid-template-columns: 1fr; gap: 1rem; } }

/* ---------- Guide cards ---------- */
.guides__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2.5rem, 1.5rem + 3vw, 4.5rem) var(--gutter); }
.guide { display: grid; gap: 1.5rem; align-content: start; }
.guide__cover { display: block; width: 78%; }
.guide__meta { margin: 0 0 0.6rem; font-size: var(--t-xs); color: var(--moss); font-weight: 500; }
.guide__title { font-family: var(--serif); font-size: var(--t-xl); letter-spacing: -0.01em; text-wrap: balance; }
.guide__title a { text-decoration: none; }
.guide__promise { margin: 0.85rem 0 0; color: var(--ink); max-width: 38ch; }
.guide__specs { margin: 0.6rem 0 0; font-size: var(--t-xs); color: var(--moss); }
.guide__actions { display: flex; align-items: baseline; gap: 1.5rem; margin-top: 1.25rem; }
.guide__price { font-family: var(--serif); font-size: 1.5rem; }
.guide__price del { font-size: 0.7em; color: var(--moss); margin-right: 0.3em; }
.guide__price ins { text-decoration: none; }

/* The first guide takes the stage. */
.guide--lead { grid-column: 1 / -1; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(2rem, 1rem + 5vw, 7rem); align-items: center; padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); border-bottom: 1px solid var(--line); }
.guide--lead .guide__cover { width: 82%; justify-self: end; }
.guide--lead .guide__title { font-size: var(--t-2xl); }
.guide--lead .guide__promise { font-size: var(--t-lg); }

.guides__grid--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.guides__grid--shop .guide:nth-child(3n + 2) { margin-top: clamp(0rem, 4vw, 4rem); }

@media (max-width: 900px) {
	.guides__grid, .guides__grid--compact { grid-template-columns: 1fr; }
	.guide, .guide--lead { grid-template-columns: minmax(0, 38%) minmax(0, 1fr); column-gap: 1.25rem; align-items: start; }
	.guide__cover, .guide--lead .guide__cover { width: 100%; justify-self: stretch; }
	.guide--lead { grid-template-columns: 1fr; }
	.guide--lead .guide__cover { width: 64%; }
	.guide__title, .guide--lead .guide__title { font-size: var(--t-xl); }
	.guide__actions { flex-wrap: wrap; gap: 0.5rem 1.25rem; }
	.guides__grid--shop .guide:nth-child(3n + 2) { margin-top: 0; }
}

/* ---------- Topics index ---------- */
.topics__list { list-style: none; margin-top: clamp(2rem, 1rem + 3vw, 3.5rem); border-top: 1px solid var(--ink); }
.topics__item { border-bottom: 1px solid var(--line); }
.topics__item a {
	position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 2rem; align-items: baseline;
	padding: clamp(1.25rem, 0.9rem + 1.4vw, 2.1rem) 0; text-decoration: none;
	transition: padding 0.35s var(--ease), background-color 0.35s;
}
.topics__need { font-family: var(--serif); font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.6rem); line-height: 1.12; letter-spacing: -0.01em; max-width: 26ch; }
.topics__name { font-size: var(--t-sm); font-weight: 500; text-align: right; white-space: nowrap; }
.topics__count { display: block; font-weight: 400; color: var(--moss); }
.topics__peek { position: absolute; right: 12rem; top: 50%; width: 92px; translate: 0 -50%; opacity: 0; rotate: 4deg; transition: opacity 0.3s, rotate 0.45s var(--ease); pointer-events: none; }
@media (hover: hover) {
	.topics__item a:hover { padding-left: 1.25rem; background: var(--paper-2); color: var(--ink); }
	.topics__item a:hover .topics__peek { opacity: 1; rotate: -3deg; }
}
@media (max-width: 760px) {
	.topics__item a { grid-template-columns: 1fr; }
	.topics__name { text-align: left; }
	.topics__count { display: inline; margin-left: 0.5em; }
	.topics__peek { display: none; }
}

/* ---------- Manifesto ---------- */
.manifesto { background: var(--olive); color: var(--paper); padding-block: var(--space-section); }
.manifesto__list { list-style: none; display: grid; gap: clamp(1.25rem, 0.8rem + 1.6vw, 2.25rem); counter-reset: none; }
.manifesto__list li {
	font-family: var(--serif); font-style: italic; font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3.6rem);
	line-height: 1.08; letter-spacing: -0.015em; max-width: 22ch; text-wrap: balance;
}
.manifesto__list li:nth-child(2) { margin-left: 12%; }
.manifesto__list li:nth-child(3) { margin-left: 4%; }
.manifesto__list li:nth-child(4) { margin-left: 22%; color: #d9dfc8; }
@media (max-width: 760px) { .manifesto__list li { margin-left: 0 !important; } }

/* ---------- Videos ---------- */
.clips {
	display: grid; grid-auto-flow: column; grid-auto-columns: clamp(210px, 21vw, 270px); gap: 1.25rem;
	overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
	padding: 0 var(--gutter) 1.5rem; margin-bottom: 1.5rem;
	scrollbar-width: thin; scrollbar-color: var(--sage) transparent;
}
@media (min-width: 1320px) { .clips { padding-inline: calc((100vw - var(--max)) / 2 + var(--gutter)); } }
.clips--grid { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); overflow: visible; padding: 0; gap: 2.5rem 1.25rem; }
.clip { scroll-snap-align: start; }
.clip__frame { position: relative; aspect-ratio: 9 / 16; background: var(--moss); overflow: hidden; border-radius: var(--radius); }
.clip__poster, .clip__frame video, .clip__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.clip__play { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, transparent 55%, rgba(28, 36, 22, 0.45)); border: 0; cursor: pointer; }
.clip__play-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; transition: transform 0.3s var(--ease); }
.clip__play-icon::after { content: ""; margin-left: 5px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent var(--ink); }
.clip__play:hover .clip__play-icon { transform: scale(1.08); }
.clip__body { padding-top: 0.9rem; }
.clip__title { font-family: var(--sans); font-size: 1.05rem; font-weight: 500; line-height: 1.3; }
.clip__title a { text-decoration: none; }
.clip__guide { margin: 0.4rem 0 0; font-size: var(--t-xs); color: var(--moss); }
.clip__guide a { color: var(--olive); font-weight: 500; }
.watch .wrap .link-text { display: inline-block; }

/* ---------- Collection band ---------- */
.collection { background: var(--olive); color: var(--paper); padding-block: var(--space-section); }
.collection a:not(.btn) { color: inherit; }
.collection__inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--gutter); align-items: center; }
.collection__stack { position: relative; height: clamp(280px, 30vw, 440px); }
.collection__book { position: absolute; bottom: 0; width: 42%; left: calc(var(--i) * 15%); rotate: calc(-6deg + var(--i) * 4deg); }
.collection__title { font-family: var(--serif); font-size: var(--t-2xl); letter-spacing: -0.015em; }
.collection__name { margin-top: 1rem; font-size: var(--t-lg); font-weight: 500; }
.collection__name a { text-decoration: none; }
.collection__promise { margin: 0.75rem 0 0; max-width: 40ch; opacity: 0.9; }
.collection__list { list-style: none; margin: 1.5rem 0; display: grid; gap: 0.35rem; }
.collection__list li::before { content: ""; display: inline-block; width: 1.2rem; height: 1px; background: var(--sage); vertical-align: middle; margin-right: 0.75rem; }
.collection__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1rem; margin: 0 0 1.5rem; }
.collection__now { font-family: var(--serif); font-size: var(--t-xl); }
.collection__then { font-size: var(--t-sm); opacity: 0.85; }
@media (max-width: 820px) { .collection__inner { grid-template-columns: 1fr; } .collection__stack { height: 240px; max-width: 360px; } }

/* ---------- Quotes ---------- */
.proof__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 1rem + 3vw, 4rem) var(--gutter); margin-top: 2.5rem; }
.quote { margin: 0; }
.quote blockquote { margin: 0; }
.quote p { font-family: var(--serif); font-style: italic; font-size: var(--t-xl); line-height: 1.25; }
.quote figcaption { font-size: var(--t-sm); color: var(--moss); }
.quote figcaption a { margin-left: 0.5em; }
@media (max-width: 760px) { .proof__list { grid-template-columns: 1fr; } }

/* ---------- Newsletter ---------- */
.section--nl { background: var(--paper-2); }
.newsletter { max-width: 640px; }
.newsletter__title { font-family: var(--serif); font-size: var(--t-2xl); line-height: 1.1; margin: 0 0 0.75rem; }
.newsletter--footer .newsletter__title { font-size: var(--t-xl); }
.newsletter__text { color: var(--moss); max-width: 46ch; }
.site-footer .newsletter__text { color: inherit; opacity: 0.8; }
.nl-form label { display: block; font-size: var(--t-sm); font-weight: 500; margin-bottom: 0.5rem; }
.nl-form__row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.nl-form input[type="email"] { flex: 1 1 14rem; }

/* ---------- Forms (shared with WooCommerce) ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"], input[type="number"], select, textarea, .select2-container .select2-selection--single {
	width: 100%; min-height: 3.25rem; padding: 0.8rem 1rem;
	background: #fbfcf8; color: var(--ink);
	border: 1px solid var(--line); border-radius: var(--radius);
	font: inherit; font-size: 1rem;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--olive); outline-offset: 0; border-color: var(--olive); }
.select2-container .select2-selection--single .select2-selection__rendered { line-height: 1.6; padding: 0; }
.select2-container .select2-selection--single .select2-selection__arrow { height: 3.1rem; }

/* ---------- Product page ---------- */
.crumbs { padding-top: 1.75rem; font-size: var(--t-xs); color: var(--moss); display: flex; gap: 0.6rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

.p-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 1rem + 5vw, 7rem); align-items: center; padding-block: clamp(2rem, 1rem + 3vw, 4rem) var(--space-section); }
.p-hero__cover { justify-self: center; width: min(100%, 440px); }
.p-hero__cover .book { animation: tr-shelve 0.9s var(--ease) both 0.1s; }
.p-hero__title { font-family: var(--serif); font-size: clamp(2.3rem, 1.5rem + 3.2vw, 4.4rem); line-height: 1; letter-spacing: -0.012em; text-wrap: balance; margin-top: 0.75rem; }
.p-hero__promise { margin: 1.25rem 0 0; font-size: var(--t-lg); max-width: 34ch; }
.p-hero__short { margin-top: 1rem; color: var(--moss); max-width: 52ch; }
.buybox { margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid var(--ink); max-width: 30rem; }
.buybox__price { font-family: var(--serif); font-size: var(--t-2xl); line-height: 1; margin: 0; }
.buybox__price del { font-size: 0.5em; color: var(--moss); }
.buybox__price ins { text-decoration: none; }
.buybox__specs { margin: 0.5rem 0 1.25rem; font-size: var(--t-sm); color: var(--moss); }
.buybox__note { margin: 0.85rem 0 0; font-size: var(--t-xs); color: var(--moss); }
.p-final .buybox__note { color: inherit; opacity: 0.75; }

.p-section { padding-bottom: var(--space-section); }
.p-section > .p-section__title, .p-section .wrap > .p-section__title { margin-bottom: 2rem; }

.p-why { align-items: start; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 1rem + 5vw, 7rem); padding-bottom: var(--space-section); }
.p-why .p-section__title { margin-bottom: 1.5rem; }
.prose { max-width: 66ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-family: var(--serif); font-size: var(--t-xl); margin-top: 2em; }
.prose h3 { font-size: var(--t-lg); font-weight: 500; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 0.4em; }
.prose blockquote { margin: 1.5em 0; padding-left: 1.25rem; border-left: 2px solid var(--olive); font-family: var(--serif); font-style: italic; font-size: var(--t-lg); }

.checklist { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line); }
.checklist li { position: relative; padding: 1rem 0 1rem 2rem; border-bottom: 1px solid var(--line); }
.checklist li::before { content: ""; position: absolute; left: 0; top: 1.45rem; width: 0.85rem; height: 0.85rem; border: 1.5px solid var(--olive); border-radius: 50%; }

.p-benefits { background: var(--paper-2); padding-block: var(--space-section); margin-bottom: var(--space-section); }
.benefits { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem var(--gutter); margin-top: 2.5rem; }
.benefits li { border-top: 1px solid var(--ink); padding-top: 1.25rem; }
.benefits__main { display: block; font-family: var(--serif); font-size: var(--t-xl); line-height: 1.15; letter-spacing: -0.01em; }
.benefits__detail { display: block; margin-top: 0.6rem; color: var(--moss); max-width: 46ch; }

.inside {
	list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: clamp(240px, 30vw, 420px); gap: 1.5rem;
	overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.5rem var(--gutter) 2rem; scroll-padding-inline: var(--gutter);
}
@media (min-width: 1320px) { .inside { padding-inline: calc((100vw - var(--max)) / 2 + var(--gutter)); } }
.inside__page { scroll-snap-align: start; background: #fff; box-shadow: var(--shadow-book); }
.inside__page img { width: 100%; }

.faq { border-top: 1px solid var(--ink); max-width: 60rem; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; font-size: var(--t-lg); font-weight: 500; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-family: var(--serif); font-size: 1.6rem; line-height: 1; transition: rotate 0.25s var(--ease); }
.faq__item[open] summary::after { rotate: 45deg; }
.faq__item p { margin: 0 0 1.5rem; color: var(--moss); max-width: 62ch; }

.p-final { background: var(--ink); color: var(--paper); padding-block: clamp(3.5rem, 2rem + 5vw, 7rem); margin-bottom: var(--space-section); }
.p-final__inner { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.p-final__title { font-family: var(--serif); font-size: var(--t-2xl); letter-spacing: -0.015em; margin-bottom: 0.75rem; }
.p-final p { max-width: 44ch; }
.p-final .btn { margin-top: 0.75rem; }

.disclaimer { font-size: var(--t-xs); color: var(--moss); max-width: 80ch; }
.disclaimer--product { padding-bottom: 3rem; }

.buybar {
	position: fixed; inset: auto 0 0 0; z-index: 45; display: none;
	align-items: center; justify-content: space-between; gap: 1rem;
	padding: 0.7rem var(--gutter) calc(0.7rem + env(safe-area-inset-bottom));
	background: var(--paper); border-top: 1px solid var(--line);
	transform: translateY(100%); visibility: hidden; transition: transform 0.3s var(--ease), visibility 0s 0.3s;
}
.buybar.is-visible { transform: none; visibility: visible; transition-delay: 0s; }
.buybar__title { font-family: var(--serif); font-size: 1.05rem; line-height: 1.2; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.buybar .btn { min-height: 2.9rem; padding: 0.6rem 1.1rem; white-space: nowrap; }

@media (max-width: 860px) {
	.p-hero, .p-why { grid-template-columns: 1fr; }
	.p-hero { padding-top: 1.5rem; }
	.p-hero__cover { width: min(64%, 300px); }
	.benefits { grid-template-columns: 1fr; }
	.p-final__inner { grid-template-columns: 110px minmax(0, 1fr); align-items: start; }
	.buybar:not([hidden]) { display: flex; }
	.product-page { padding-bottom: 4.5rem; }
}

/* ---------- Shop & listings ---------- */
.shop__head, .listing__head { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) clamp(2rem, 1rem + 3vw, 4rem); }
.shop__title, .listing__title, .page__title, .notfound__title, .article__title, .video-page__title {
	font-family: var(--serif); font-size: var(--t-3xl); line-height: 0.98; letter-spacing: -0.012em; text-wrap: balance; max-width: 16ch;
}
.page__title, .article__title, .video-page__title { font-size: clamp(2.3rem, 1.5rem + 3.2vw, 4.4rem); }
.shop__text, .listing__text { margin: 1.25rem 0 0; max-width: 46ch; font-size: var(--t-lg); color: var(--moss); }
.filters { display: flex; flex-wrap: wrap; gap: 0.25rem 1.75rem; margin-top: 2.5rem; border-bottom: 1px solid var(--line); }
.filters__item { padding: 0.75rem 0; text-decoration: none; font-weight: 500; font-size: var(--t-sm); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.filters__item[aria-current="page"] { border-color: var(--olive); color: var(--olive); }
.shop .guides__grid { padding-bottom: var(--space-section); }
.empty { padding-block: 3rem var(--space-section); }

.entries { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem var(--gutter); padding-bottom: var(--space-section); }
.entry-card__img img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; margin-bottom: 1.25rem; }
.entry-card__title { font-family: var(--serif); font-size: var(--t-xl); }
.entry-card__title a { text-decoration: none; }
.entry-card__excerpt { margin-top: 0.75rem; color: var(--moss); }
@media (max-width: 860px) { .entries { grid-template-columns: 1fr; } }

.page article, .article article { padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) var(--space-section); }
.page__title { margin-bottom: 2.5rem; }
.page--builder { padding: 0; }
.article__head { max-width: 60rem; margin-bottom: 2.5rem; }
.article__meta { margin-top: 1rem; color: var(--moss); font-size: var(--t-sm); }
.article__img { margin: 0 0 3rem; }
.article .prose { margin-inline: auto; font-size: var(--t-lg); line-height: 1.7; }
.article__next { padding-bottom: var(--space-section); }
.article__next .p-section__title { margin-bottom: 2rem; }

.notfound { padding-block: var(--space-section); }
.notfound p { margin: 1.5rem 0 2rem; font-size: var(--t-lg); color: var(--moss); max-width: 40ch; }

.video-page { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(2rem, 1rem + 5vw, 6rem); padding-block: clamp(2rem, 1rem + 4vw, 5rem) var(--space-section); align-items: start; }
.video-page__player { max-width: 380px; }
.video-page__player .clip__body { display: none; }
.video-page__lede { margin-top: 1.25rem; font-size: var(--t-lg); color: var(--moss); max-width: 40ch; }
.video-page__guides { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--ink); }
.video-page__guides .p-section__title { margin-bottom: 2rem; font-size: var(--t-xl); }
@media (max-width: 760px) { .video-page { grid-template-columns: 1fr; } .video-page__player { max-width: 300px; } }

.nav-links { display: flex; gap: 1rem; padding-bottom: var(--space-section); }
.nav-links .page-numbers { padding: 0.5rem 0.8rem; text-decoration: none; }
.nav-links .current { border-bottom: 2px solid var(--olive); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-top: clamp(3.5rem, 2rem + 5vw, 7rem); }
.site-footer a { color: inherit; }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 5fr); gap: 3rem var(--gutter); padding-bottom: 3.5rem; }
.brand--footer, .brand--footer:hover { color: var(--paper); }
.brand--footer .brand__mark { width: 72px; }
.brand--footer .brand__name { font-size: 1.9rem; }
.brand--footer .brand__sub { font-size: 0.7rem; }
.brand--footer .brand__logo { max-height: 56px; filter: brightness(0) invert(0.95); }
.site-footer__line { margin-top: 1rem; opacity: 0.8; max-width: 30ch; }
.site-footer__nav ul, .social, .legal-menu { list-style: none; }
.site-footer__nav li + li { margin-top: 0.5rem; }
.site-footer__nav a { text-decoration: none; }
.site-footer__nav a:hover, .social a:hover, .legal-menu a:hover { color: var(--sage); text-decoration: underline; }
.social { display: flex; gap: 1.25rem; margin-top: 1.5rem; font-size: var(--t-sm); font-weight: 500; }
.site-footer__legal { border-top: 1px solid color-mix(in srgb, var(--paper) 25%, transparent); padding-block: 2rem 2.5rem; display: grid; gap: 1rem; }
.site-footer .disclaimer { color: inherit; opacity: 0.75; }
.legal-menu { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; font-size: var(--t-xs); }
.legal-menu a { text-decoration: none; }
.site-footer__copy { margin: 0; font-size: var(--t-xs); opacity: 0.75; }
.site-footer__publisher { display: block; margin-top: 0.25rem; }
.site-footer .btn--ink { background: var(--paper); color: var(--ink); }
.site-footer input[type="email"] { background: transparent; color: var(--paper); border-color: color-mix(in srgb, var(--paper) 45%, transparent); }
.site-footer input::placeholder { color: color-mix(in srgb, var(--paper) 60%, transparent); }
@media (max-width: 860px) { .site-footer__top { grid-template-columns: 1fr; } }

/* ---------- WooCommerce: notices, cart, checkout, account ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-error, .woocommerce-message, .woocommerce-info {
	list-style: none; margin: 1.5rem auto; padding: 1rem 1.25rem; max-width: var(--max);
	border-left: 3px solid var(--olive); background: #fbfcf8; font-size: var(--t-sm);
	display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; justify-content: space-between;
}
.woocommerce-message, .woocommerce-info { border-left-color: var(--moss); }
.woocommerce-error li + li { margin-top: 0.3rem; }

.shop-flow { max-width: 1100px; }
.shop-flow table.shop_table { width: 100%; border-collapse: collapse; margin-bottom: 2rem; }
.shop-flow table.shop_table th, .shop-flow table.shop_table td { padding: 1rem 0.5rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.shop-flow table.shop_table th { font-size: var(--t-xs); font-weight: 500; color: var(--moss); }
.shop-flow .product-thumbnail img { width: 64px; }
.shop-flow .product-remove a { text-decoration: none; font-size: 1.4rem; }
.shop-flow .product-name a { font-family: var(--serif); font-size: 1.25rem; text-decoration: none; }
.shop-flow .actions .coupon { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.shop-flow .actions .coupon input { width: auto; flex: 1 1 12rem; }
.shop-flow .cart-collaterals { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gutter); }
.shop-flow .cart_totals h2, .shop-flow .cross-sells h2, .shop-flow #order_review_heading, .shop-flow .woocommerce-billing-fields h3, .shop-flow .woocommerce-additional-fields h3 { font-family: var(--serif); font-size: var(--t-xl); margin-bottom: 1rem; }
.shop-flow .cross-sells ul.products { list-style: none; }
.shop-flow .cross-sells .product img { width: 120px; margin-bottom: 0.75rem; }
.shop-flow .cross-sells .woocommerce-loop-product__title { font-family: var(--serif); font-size: 1.25rem; }
.shop-flow .wc-proceed-to-checkout .button { width: 100%; }
.shop-flow .quantity { display: none; }

.shop-flow form.checkout { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 0 clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
.shop-flow form.checkout > .woocommerce-NoticeGroup, .shop-flow form.checkout > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.shop-flow #customer_details { grid-column: 1; grid-row: 1 / span 3; }
.shop-flow #order_review_heading, .shop-flow #order_review { grid-column: 2; }
.shop-flow #order_review { background: #fbfcf8; padding: 1.5rem; border: 1px solid var(--line); position: sticky; top: 6rem; }
.shop-flow .col2-set .col-1, .shop-flow .col2-set .col-2 { width: 100%; float: none; }
.shop-flow .form-row { margin: 0 0 1.1rem; }
.shop-flow .form-row label { display: block; font-size: var(--t-sm); font-weight: 500; margin-bottom: 0.35rem; }
.shop-flow .form-row .description { font-size: var(--t-xs); color: var(--moss); margin-top: 0.35rem; }
.shop-flow .required { color: var(--olive); text-decoration: none; border: 0; }
.shop-flow #payment ul.payment_methods { list-style: none; margin: 1.5rem 0; }
.shop-flow #payment li + li { margin-top: 0.75rem; }
.shop-flow #payment .payment_box { margin-top: 0.75rem; font-size: var(--t-sm); }
.shop-flow .woocommerce-terms-and-conditions-wrapper, .shop-flow .tr-waiver { font-size: var(--t-sm); }
.shop-flow .woocommerce-form__label-for-checkbox { display: flex; gap: 0.75rem; align-items: flex-start; font-weight: 400; }
.shop-flow input[type="checkbox"] { width: 1.25rem; height: 1.25rem; margin-top: 0.15rem; flex: none; accent-color: var(--olive); }
.shop-flow #place_order { width: 100%; margin-top: 1rem; min-height: 3.5rem; font-size: 1rem; }
.shop-flow .woocommerce-form-coupon-toggle .woocommerce-info { margin-inline: 0; }
.shop-flow .woocommerce-order-overview { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; margin: 2rem 0; padding: 1.5rem; background: #fbfcf8; border: 1px solid var(--line); }
.shop-flow .woocommerce-order-downloads { margin: 2rem 0; }
.shop-flow .woocommerce-MyAccount-navigation ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line); }
.shop-flow .woocommerce-MyAccount-navigation a { display: block; padding: 0.75rem 0; text-decoration: none; font-weight: 500; }
.shop-flow .woocommerce-MyAccount-navigation .is-active a { color: var(--olive); box-shadow: inset 0 -2px var(--olive); }
@media (max-width: 860px) {
	.shop-flow form.checkout, .shop-flow .cart-collaterals { grid-template-columns: 1fr; }
	.shop-flow #customer_details, .shop-flow #order_review_heading, .shop-flow #order_review { grid-column: 1; grid-row: auto; }
	.shop-flow #order_review { position: static; }
	.shop-flow table.cart .product-thumbnail { display: none; }
}

/* ---------- Coming soon ---------- */
.cs { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); overflow-x: hidden; }
.cs__main { display: flex; flex-direction: column; gap: 3rem; padding: clamp(1.5rem, 1rem + 2vw, 3rem) var(--gutter); min-height: 100svh; }
.cs__body { margin-block: auto; }
.cs__title { font-family: var(--serif); font-size: clamp(2.5rem, 1.4rem + 4.8vw, 6rem); line-height: 0.98; letter-spacing: -0.012em; max-width: 13ch; text-wrap: balance; animation: tr-shelve 1s var(--ease) both; }
.cs__logo { width: clamp(150px, 14vw, 210px); height: auto; }
.cs__text { margin: 1.75rem 0 2.25rem; font-size: var(--t-lg); color: var(--moss); max-width: 36ch; }
.nl-form--cs { max-width: 32rem; }
.cs__foot { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; font-size: var(--t-sm); }
.cs__foot .social { margin: 0; }
.cs__login { color: var(--moss); text-decoration: none; margin-left: auto; }
.cs__login:hover { text-decoration: underline; }
.cs__shelf {
	position: relative; background: var(--paper-2); border-left: 1px solid var(--line);
	display: flex; align-items: flex-end; justify-content: center; gap: 0.6rem; padding: 0 2rem 18vh;
}
.cs__shelf::after { content: ""; position: absolute; left: 0; right: 0; bottom: 18vh; height: 1px; background: var(--ink); }
.cs__shelf > * { width: 30%; max-width: 170px; flex: none; animation: tr-shelve 0.9s var(--ease) both; }
.cs__shelf > *:nth-child(2) { animation-delay: 0.12s; }
.cs__shelf > *:nth-child(3) { animation-delay: 0.24s; rotate: 6deg; transform-origin: bottom right; margin-left: 0.6rem; }
.cs__shelf > *:nth-child(n + 4) { display: none; }
.cs__shelf:empty::before { content: ""; width: 38%; aspect-ratio: 2 / 3; background: var(--moss); box-shadow: var(--shadow-book); }
@media (max-width: 860px) {
	.cs { grid-template-columns: 1fr; }
	.cs__main { min-height: auto; }
	.cs__shelf { order: -1; min-height: 34vh; border-left: 0; border-bottom: 1px solid var(--line); padding: 2.5rem 1.5rem 3rem; }
	.cs__shelf::after { bottom: 3rem; }
	.cs__shelf > * { max-width: 110px; }
	.cs__login { margin-left: 0; }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Print: legal pages and receipts ---------- */
@media print {
	.site-header, .site-footer, .buybar, .nav-toggle { display: none !important; }
	body { background: #fff; }
}
