/*
Theme Name: Marfilena Books
Theme URI: https://marfilena.com
Author: Marfilena Books LLC
Description: Thème éditorial sur mesure pour Marfilena Books — bilingue FR/EN, publications, blog, boutique numérique, formulaires.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: marfilena
*/

/* ==========================================================================
   1. Design tokens — palette derived from the Marfilena Books logo and brand
   ========================================================================== */
:root {
	--ivory: #F4EFE8;        /* brand background (social posts) */
	--paper: #FBF8F3;        /* raised surfaces */
	--sand: #EAE1D4;         /* tinted sections */
	--sand-2: #E1D5C4;
	--ink: #231F20;          /* logo charcoal */
	--ink-2: #3F393B;        /* body text */
	--muted: #6A6264;        /* secondary text, 5.0:1 on ivory */
	--gold: #B89B72;         /* brand gold — decorative, large text only */
	--gold-deep: #7A5C34;    /* gold for small text, 5.9:1 on ivory */
	--night: #1E1A1B;        /* dark sections */
	--night-2: #2A2526;
	--on-night: #F4EFE8;
	--on-night-muted: #C9BFB3;
	--line: rgba(35, 31, 32, 0.14);
	--line-strong: rgba(35, 31, 32, 0.28);
	--line-night: rgba(244, 239, 232, 0.16);
	--success: #2F6B47;
	--error: #A2352B;

	--serif: "Lora", Georgia, "Times New Roman", serif;
	--sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

	--fs-body: 1.0625rem;
	--fs-small: 0.9375rem;
	--fs-xs: 0.8125rem;
	--display-1: clamp(2.5rem, 2.2vw + 1.9rem, 4.5rem);
	--display-2: clamp(1.95rem, 1.6vw + 1.4rem, 3.1rem);
	--display-3: clamp(1.5rem, 0.9vw + 1.2rem, 2.1rem);

	--space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
	--space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem; --space-8: 4rem;
	--space-9: 6rem; --space-10: 8rem;
	--section: clamp(4rem, 6vw + 2rem, 8rem);

	--container: 1240px;
	--narrow: 760px;
	--gutter: clamp(1rem, 3vw, 2.5rem);
	--radius: 2px;
	--radius-md: 6px;
	--shadow-book: 0 1px 1px rgba(35,31,32,.08), 0 10px 18px -6px rgba(35,31,32,.28), 0 28px 50px -18px rgba(35,31,32,.38);
	--ease: cubic-bezier(.2, .7, .2, 1);
	--dur: 280ms;
	--header-h: 84px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0; background: var(--ivory); color: var(--ink-2);
	font-family: var(--sans); font-size: var(--fs-body); line-height: 1.7;
	-webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
	overflow-x: clip;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 500; line-height: 1.15; margin: 0 0 var(--space-4); letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0 0 var(--space-4); }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
::selection { background: var(--gold); color: var(--ink); }
main:focus { outline: none; }
.sr-only { 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: -100px; z-index: 1000; background: var(--ink); color: var(--ivory); padding: .75rem 1.25rem; text-decoration: none; }
.skip-link:focus { top: 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: calc(var(--narrow) + 2 * var(--gutter)); }

.display-1 { font-size: var(--display-1); line-height: 1.06; font-weight: 500; letter-spacing: -0.02em; }
.display-2 { font-size: var(--display-2); line-height: 1.12; }
.display-3 { font-size: var(--display-3); line-height: 1.2; }
.lead { font-size: 1.1875rem; line-height: 1.65; color: var(--ink-2); }
.muted { color: var(--muted); }
.label { font-family: var(--sans); font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--gold-deep); margin: 0 0 var(--space-3); display: block; }
.eyebrow { font-family: var(--sans); font-size: var(--fs-xs); letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--gold-deep); margin: 0 0 var(--space-5); display: flex; align-items: center; gap: .9rem; }
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: var(--gold); flex: none; }
.eyebrow a { text-decoration: none; }
.note-line { font-size: var(--fs-small); color: var(--muted); border-top: 1px solid var(--line); padding-top: var(--space-4); margin-top: var(--space-6); max-width: 62ch; }
.note-line--center { margin-left: auto; margin-right: auto; text-align: center; border-top: 0; }

/* ==========================================================================
   3. Buttons & links
   ========================================================================== */
.btn {
	--btn-bg: var(--ink); --btn-fg: var(--ivory); --btn-bd: var(--ink);
	display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
	min-height: 52px; padding: .85rem 1.75rem; border: 1px solid var(--btn-bd);
	background: var(--btn-bg); color: var(--btn-fg); border-radius: var(--radius);
	font-family: var(--sans); font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	text-decoration: none; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
	transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
	touch-action: manipulation;
}
.btn::after { content: ""; position: absolute; inset: 0; background: var(--gold-deep); transform: scaleX(0); transform-origin: right; transition: transform 420ms var(--ease); z-index: -1; }
.btn:hover::after { transform: scaleX(1); transform-origin: left; }
.btn:hover { border-color: var(--gold-deep); }
.btn--sm { min-height: 44px; padding: .6rem 1.15rem; font-size: .75rem; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--ghost::after { background: var(--ink); }
.btn--ghost:hover { color: var(--ivory); border-color: var(--ink); }
.btn--light { --btn-bg: var(--ivory); --btn-fg: var(--ink); --btn-bd: var(--ivory); }
.btn--light::after { background: var(--gold); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--on-night); --btn-bd: var(--line-night); }
.btn--ghost-light::after { background: var(--ivory); }
.btn--ghost-light:hover { color: var(--ink); border-color: var(--ivory); }
.btn[disabled], .btn.is-loading { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

.link-arrow { display: inline-flex; align-items: center; gap: .75rem; font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--ink); padding: .5rem 0; border-bottom: 1px solid var(--gold); }
.link-arrow .icon-arrow { transition: transform var(--dur) var(--ease); }
.link-arrow:hover .icon-arrow { transform: translateX(5px); }
.link-arrow--back .icon-arrow, .breadcrumb .icon-arrow { transform: scaleX(-1); }
.link-underline { text-decoration: underline; text-decoration-color: var(--gold); }

/* ==========================================================================
   4. Header & navigation
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid transparent; transition: border-color var(--dur), box-shadow var(--dur); }
/* The frosted background sits on a pseudo-element: a backdrop-filter on the header itself would
   trap the fixed mobile menu panel inside the header's height (the panel was clipped to ~70px). */
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(244, 239, 232, .92); backdrop-filter: saturate(1.2) blur(10px); -webkit-backdrop-filter: saturate(1.2) blur(10px); pointer-events: none; }
/* Logged-in owner: keep the header below the WordPress toolbar. */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--ink); flex: none; }
.brand .logo__mark { width: auto; height: 46px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-family: var(--sans); font-weight: 600; font-size: .875rem; letter-spacing: .26em; text-transform: uppercase; }
.brand__tag { font-size: .625rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); margin-top: .2rem; white-space: nowrap; }
/* The tagline sits under the name only where the header has room for it. */
@media (min-width: 1401px) { .site-header .brand__tag { display: none; } }

.nav__toggle { display: none; }
.nav__panel { display: flex; align-items: center; gap: var(--space-5); }
.nav__list { list-style: none; display: flex; gap: clamp(.75rem, 1.4vw, 1.6rem); }
.nav__link { font-size: .8125rem; font-weight: 500; letter-spacing: .04em; text-decoration: none; color: var(--ink-2); padding: .5rem 0; position: relative; white-space: nowrap; }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: .15rem; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--ink); }
.nav__extra { display: flex; align-items: center; gap: var(--space-4); padding-left: var(--space-5); border-left: 1px solid var(--line); }
.nav__link--studio { font-style: italic; font-family: var(--serif); font-size: .9375rem; letter-spacing: 0; }
.lang-switch { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 2px; }
.lang-switch__item { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; min-height: 30px; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-decoration: none; border-radius: 999px; color: var(--muted); }
.lang-switch__item.is-current { background: var(--ink); color: var(--ivory); }
.lang-switch a.lang-switch__item:hover { color: var(--ink); }

/* Desktop: seven links + language switch fill the 1240px header; the quote button (two lines,
   overflowing in French) stays in the mobile menu and in the page content instead. */
@media (min-width: 1401px) {
	.nav__extra .btn { display: none; }
	.nav__list { gap: 1.1rem; }
}
@media (max-width: 1400px) {
	.nav__toggle { display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; padding: 0 .25rem; background: none; border: 0; cursor: pointer; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
	.nav__toggle-bars { width: 22px; height: 10px; position: relative; display: inline-block; }
	.nav__toggle-bars span { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform var(--dur) var(--ease), top var(--dur) var(--ease); }
	.nav__toggle-bars span:first-child { top: 0; }
	.nav__toggle-bars span:last-child { top: 8px; }
	.nav__toggle[aria-expanded="true"] .nav__toggle-bars span:first-child { top: 4px; transform: rotate(45deg); }
	.nav__toggle[aria-expanded="true"] .nav__toggle-bars span:last-child { top: 4px; transform: rotate(-45deg); }
	.nav__panel { position: fixed; top: var(--nav-top, var(--header-h)); left: 0; right: 0; bottom: 0; z-index: 99; background: var(--ivory); flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: var(--space-5) var(--gutter) calc(var(--space-7) + env(safe-area-inset-bottom, 0px)); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur); }
	.nav__panel { pointer-events: none; }
	.nav.is-open .nav__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; pointer-events: auto; }
	.nav__list { flex-direction: column; gap: 0; }
	.nav__list li { border-bottom: 1px solid var(--line); }
	.nav__link { display: block; padding: 1rem 0; font-family: var(--serif); font-size: 1.5rem; letter-spacing: 0; color: var(--ink); }
	.nav__link::after { display: none; }
	.nav__link.is-active { color: var(--gold-deep); }
	.nav__extra { flex-direction: column; align-items: flex-start; border: 0; padding: var(--space-5) 0 0; gap: var(--space-5); }
	.nav__link--studio { font-size: 1.25rem; }
	body.nav-open { overflow: hidden; }
}
@media (max-width: 480px) { .brand__tag { display: none; } .brand__name { font-size: .75rem; letter-spacing: .2em; } .brand .logo__mark { height: 40px; } }

/* ==========================================================================
   5. Sections
   ========================================================================== */
.section { padding: var(--section) 0; }
.section--tint { background: var(--sand); }
.section-title { margin-bottom: var(--space-7); }
.section-head { margin-bottom: var(--space-8); max-width: 760px; }
.section-head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .eyebrow::after { content: ""; width: 2.25rem; height: 1px; background: var(--gold); }
.section-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-6); max-width: none; flex-wrap: wrap; }
.section-head--split > div { max-width: 720px; }
.section-head--split .display-2 { margin: 0; }

/* Hero */
.hero { padding: clamp(3rem, 6vw, 6rem) 0 clamp(4rem, 7vw, 7rem); position: relative; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__title { font-size: clamp(2.75rem, 3.4vw + 1.6rem, 5.4rem); line-height: 1.03; letter-spacing: -0.025em; margin-bottom: var(--space-6); }
.hero__lede { font-size: clamp(1.125rem, .4vw + 1rem, 1.3rem); max-width: 34em; margin-bottom: var(--space-6); }
.hero__note { margin-top: var(--space-6); font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 1.0625rem; }
.hero__visual { position: relative; aspect-ratio: 1 / 1.02; }
.hero__visual::before { content: ""; position: absolute; inset: 6% 2% 0 8%; background: var(--sand); border-radius: 999px 999px 0 0; }
.hero__mark { position: absolute; width: 34%; right: -2%; top: -4%; opacity: .07; pointer-events: none; }
.hero__stage { position: absolute; inset: 0; }
.hero__book { position: absolute; display: block; transition: transform 600ms var(--ease); }
.hero__book .book { width: 100%; }
.hero__book--1 { width: 40%; left: 30%; top: 16%; z-index: 3; }
.hero__book--2 { width: 34%; left: 4%; top: 34%; z-index: 2; transform: rotate(-4deg); }
.hero__book--3 { width: 34%; right: 2%; top: 38%; z-index: 1; transform: rotate(4deg); }
.hero__book:hover { transform: translateY(-8px) rotate(0); }
@media (max-width: 900px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__visual { max-width: 520px; width: 100%; margin: 0 auto; aspect-ratio: 1 / .85; }
}

/* ---- Homepage v2: five compact sections ---- */
.hero--home { padding: clamp(2.5rem, 4.5vw, 4.5rem) 0 clamp(3rem, 5vw, 5rem); }
.hero--home .hero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 4vw, 4rem); }
.hero--home .hero__title { font-size: clamp(2.6rem, 2.9vw + 1.5rem, 4.75rem); margin-bottom: var(--space-5); }
.hero--home .hero__lede { margin-bottom: var(--space-6); max-width: 32em; }
.hero--home .hero__note { margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--line); max-width: 30em; }
.hero--home .hero__visual { aspect-ratio: 1 / .92; max-width: 540px; justify-self: end; width: 100%; }
.hero--home .hero__visual::before { inset: 8% 4% 0 6%; }
.hero--home .hero__book--1 { width: 38%; left: 31%; top: 14%; }
.hero--home .hero__book--2 { width: 32%; left: 5%; top: 33%; }
.hero--home .hero__book--3 { width: 32%; right: 4%; top: 36%; }
@media (max-width: 900px) {
	.hero--home .hero__grid { grid-template-columns: 1fr; }
	.hero--home .hero__visual { justify-self: center; max-width: 440px; aspect-ratio: 1 / .78; }
}
@media (max-width: 520px) {
	.hero--home .btn-row .btn { flex: 1 1 100%; }
}

.hsection { padding: clamp(3.5rem, 5vw, 5.5rem) 0; }
.hsection__head { margin-bottom: clamp(2rem, 3vw, 3rem); max-width: 760px; }
.hsection__head .display-2 { margin: 0; }
.hsection__head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--space-5); max-width: none; flex-wrap: wrap; }
.hsection--services { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.offer { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 2rem); }
.offer__card { display: flex; flex-direction: column; background: var(--ivory); border: 1px solid var(--line); border-top: 2px solid var(--gold); padding: clamp(1.75rem, 3vw, 2.75rem); transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.offer__card:hover { border-color: var(--line-strong); border-top-color: var(--gold-deep); }
.offer__num { font-family: var(--serif); font-style: italic; font-size: 1.125rem; color: var(--gold-deep); margin-bottom: var(--space-3); }
.offer__title { font-size: clamp(1.5rem, .8vw + 1.2rem, 1.9rem); margin-bottom: var(--space-3); }
.offer__text { margin-bottom: var(--space-5); }
.offer__list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--space-6); flex: 1; align-content: flex-start; }
.offer__list li { font-size: .8125rem; font-weight: 500; color: var(--ink); padding: .4rem .8rem; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--paper); }
.offer__card .link-arrow { align-self: flex-start; }
.offer__note { margin: var(--space-5) 0 0; font-size: var(--fs-small); color: var(--muted); max-width: 70ch; }
@media (max-width: 760px) { .offer { grid-template-columns: 1fr; } }

.hsection--shelf .shelf { gap: clamp(1rem, 2vw, 2rem); }
.hsection--shelf .book-card__stage { aspect-ratio: 5 / 6; }

.hsection--founder { background: var(--sand); }
/* Homepage: invitation to the manuscript readiness quiz (between Services and Publications). */
.hsection--quiz { padding-bottom: 0; }
.quiz-home { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(2rem, 4vw, 3.5rem); background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold); }
.quiz-home .eyebrow { margin-bottom: var(--space-4); }
.quiz-home__title { margin-bottom: var(--space-4); max-width: 17em; }
.quiz-home__text { max-width: 40em; margin-bottom: var(--space-5); }
.quiz-home__benefits { list-style: none; margin: 0 0 var(--space-6); padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.quiz-home__benefits li { display: inline-flex; align-items: center; gap: .5rem; font-size: .9375rem; font-weight: 500; color: var(--ink); }
.quiz-home__benefits svg { color: var(--gold-deep); flex: none; }
.quiz-home__visual { display: flex; justify-content: center; }
.quiz-home__sheet { width: min(100%, 250px); aspect-ratio: 3 / 4; background: var(--ivory); border: 1px solid var(--line-strong); box-shadow: 10px 12px 0 -1px var(--sand), 10px 12px 0 0 var(--line); padding: 1.6rem 1.4rem; transform: rotate(2deg); display: flex; flex-direction: column; }
.quiz-home__sheet-title { font-family: var(--serif); font-size: 1.05rem; color: var(--ink); margin: 0 0 1.1rem; padding-bottom: .7rem; border-bottom: 1px solid var(--gold); }
.quiz-home__sheet ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .95rem; }
.quiz-home__sheet li { display: flex; align-items: center; gap: .7rem; }
.quiz-home__sheet li span { flex: none; width: 13px; height: 13px; border: 1.4px solid var(--gold-deep); position: relative; }
.quiz-home__sheet li.is-done span::after { content: ""; position: absolute; left: 3px; top: 0; width: 4px; height: 8px; border: solid var(--ink); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.quiz-home__sheet li i { display: block; height: 6px; border-radius: 3px; background: var(--sand); }
.quiz-home__sheet li.is-done i { background: var(--line-strong); }
.quiz-home__meter { margin-top: auto; height: 4px; background: var(--sand); border-radius: 2px; overflow: hidden; }
.quiz-home__meter b { display: block; height: 100%; background: var(--gold-deep); }
@media (max-width: 860px) {
	.quiz-home { grid-template-columns: 1fr; }
	.quiz-home__visual { display: none; }
}
/* Free 15-point checklist (Resources card, homepage strip, quiz results). */
.ck__label { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--gold-deep); margin: 0 0 .5rem; }
.ck__meta { margin: .7rem 0 0; font-size: .8125rem; color: var(--muted); }
.ck-card img, .ck-strip img, .quiz-checklist img { display: block; width: 100%; height: auto; border: 1px solid var(--line); box-shadow: 6px 8px 0 -1px var(--sand), 6px 8px 0 0 var(--line); background: #F9F7F3; }
.res-tools { display: grid; gap: var(--space-5); }
.ck-card { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding: clamp(1.5rem, 3.5vw, 2.75rem); background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold); }
.ck-card__visual a { display: block; transform: rotate(-2deg); transition: transform var(--dur) var(--ease); }
.ck-card__visual a:hover { transform: rotate(0) translateY(-3px); }
.ck-card__title { font-size: clamp(1.5rem, 1.4vw + 1rem, 2.2rem); line-height: 1.2; margin: 0 0 .6rem; }
.ck-card__subtitle { font-family: var(--serif); font-style: italic; font-size: 1.125rem; color: var(--ink-2); margin: 0 0 .8rem; }
.ck-card__text { max-width: 40em; margin: 0 0 var(--space-5); }
.ck-strip { display: grid; grid-template-columns: 78px 1fr auto; gap: clamp(1rem, 3vw, 2.5rem); align-items: center; margin-top: var(--space-5); padding: clamp(1.1rem, 2.5vw, 1.6rem) clamp(1.25rem, 3vw, 2.25rem); border: 1px solid var(--line); background: var(--ivory); }
.ck-strip__thumb { display: block; transform: rotate(-3deg); }
.ck-strip__title { font-size: clamp(1.2rem, .8vw + 1rem, 1.5rem); line-height: 1.25; margin: 0 0 .35rem; }
.ck-strip__text { margin: 0; font-size: var(--fs-small); color: var(--ink-2); max-width: 46em; }
.ck-strip__action { text-align: center; }
.ck-strip__action .ck__meta { margin-top: .5rem; font-size: .75rem; }
.quiz-checklist { display: grid; grid-template-columns: 64px 1fr; gap: var(--space-5); align-items: start; margin-top: var(--space-7); padding: var(--space-5); background: var(--ivory); border: 1px solid var(--line); border-left: 3px solid var(--gold); }
.quiz-checklist__title { font-family: var(--serif); font-size: 1.15rem; line-height: 1.35; color: var(--ink); margin: 0 0 .35rem; }
.quiz-checklist__text { font-size: var(--fs-small); color: var(--ink-2); margin: 0 0 var(--space-4); }
.quiz-checklist__meta { margin: .5rem 0 0; font-size: .75rem; color: var(--muted); }
@media (max-width: 760px) {
	.ck-card { grid-template-columns: 1fr; }
	.ck-card__visual { max-width: 160px; }
	.ck-strip { grid-template-columns: 56px 1fr; }
	.ck-strip__action { grid-column: 1 / -1; text-align: left; }
}
@media (max-width: 520px) {
	.ck-card .btn, .ck-strip .btn { width: 100%; justify-content: center; text-align: center; }
	.quiz-checklist { grid-template-columns: 48px 1fr; padding: var(--space-4); }
	.quiz-checklist .btn { width: 100%; justify-content: center; }
}
.quiz-news { margin-top: var(--space-5); padding: var(--space-5); border: 1px solid var(--line); background: var(--paper); }
.quiz-news__title { font-family: var(--serif); font-size: 1.1rem; color: var(--ink); margin: 0 0 .3rem; }
.quiz-news__text { font-size: .8125rem; color: var(--muted); margin: 0 0 var(--space-4); }
.quiz-news .form--inline__row .btn { white-space: nowrap; }
@media print { .quiz-checklist, .quiz-news { display: none; } }
@media (max-width: 520px) {
	.quiz-home .btn { width: 100%; justify-content: center; }
	.quiz-home__benefits { flex-direction: column; }
}
.founder--compact { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); max-width: 1040px; }
.founder--compact .founder__photo { max-width: 360px; }
.founder--compact .founder__photo img { aspect-ratio: 4 / 4.6; }
.founder--compact .founder__photo::before { border-color: var(--gold-deep); opacity: .5; }
.founder--compact .founder__copy p { font-size: 1.0625rem; max-width: 52ch; }
.founder__sign { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--ink); margin: var(--space-2) 0 var(--space-5); }
@media (max-width: 800px) {
	.founder--compact { grid-template-columns: 1fr; }
	.founder--compact .founder__photo { max-width: 280px; }
}

.cta-band--home { padding: clamp(3.5rem, 5vw, 5rem) 0; }
.cta-band--home .cta-band__inner { align-items: center; }
.cta-band--home .display-2 { margin-bottom: var(--space-3); }

/* Mission */
.mission { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 7rem); }
.mission__head .display-2 { margin: 0; }
.pillars-list { list-style: none; margin: var(--space-6) 0 0; border-top: 1px solid var(--line); }
.pillars-list li { display: grid; grid-template-columns: 3rem 1fr; gap: var(--space-4); padding: var(--space-4) 0; border-bottom: 1px solid var(--line); }
.pillars-list strong { color: var(--ink); font-weight: 600; }
.pillars-list__num, .pillar-row__num, .process__num, .service__num { font-family: var(--serif); font-style: italic; color: var(--gold-deep); }
@media (max-width: 860px) { .mission { grid-template-columns: 1fr; } }

/* Pillars */
.section--pillars { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillars { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.pillar { padding: clamp(2rem, 4vw, 3.75rem); display: flex; flex-direction: column; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar__num { font-family: var(--serif); font-size: 3.5rem; line-height: 1; color: var(--gold); margin-bottom: var(--space-5); font-style: italic; }
.pillar__title { font-size: var(--display-3); }
.pillar__text { margin-bottom: var(--space-5); }
.pillar .check-list { margin-bottom: var(--space-6); flex: 1; }
.pillar .link-arrow { align-self: flex-start; }
@media (max-width: 800px) { .pillars { grid-template-columns: 1fr; } .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); } }

.check-list { list-style: none; }
.check-list li { position: relative; padding: .55rem 0 .55rem 1.75rem; border-bottom: 1px solid var(--line); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 1.1rem; width: .9rem; height: 1px; background: var(--gold); }

/* Journey */
.section--journey { background: var(--night); color: var(--on-night-muted); }
.section--journey .display-2, .section--journey h3 { color: var(--on-night); }
.section--journey .eyebrow { color: var(--gold); }
.journey { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(2rem, 5vw, 5rem); }
.journey__head .display-2 { font-style: italic; }
.journey__tabs { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line-night); margin-bottom: var(--space-6); }
.journey__tab { appearance: none; background: transparent; border: 0; color: var(--on-night-muted); text-align: left; padding: 1.1rem 1.1rem 1.25rem; cursor: pointer; display: flex; flex-direction: column; gap: .5rem; min-height: 112px; transition: background var(--dur), color var(--dur); font-family: var(--serif); font-size: 1.0625rem; line-height: 1.35; }
.journey__tab + .journey__tab { border-left: 1px solid var(--line-night); }
.journey__tab-num { font-family: var(--sans); font-size: .75rem; letter-spacing: .16em; color: var(--gold); }
.journey__tab:hover { background: var(--night-2); color: var(--on-night); }
.journey__tab[aria-selected="true"] { background: var(--ivory); color: var(--ink); }
.journey__tab[aria-selected="true"] .journey__tab-num { color: var(--gold-deep); }
.journey__panel { animation: fadeUp 420ms var(--ease); }
.journey__panel-title { font-size: var(--display-3); }
.journey__panel-text { max-width: 58ch; }
.reco { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-night); border: 1px solid var(--line-night); margin-top: var(--space-6); }
.reco__item { background: var(--night); padding: 1.25rem; display: flex; flex-direction: column; gap: .6rem; }
.reco__kind { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 600; }
.reco__link { color: var(--on-night); font-family: var(--serif); font-size: 1.125rem; line-height: 1.35; text-decoration: none; }
.reco__link:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.reco__item--service { background: var(--night-2); }
@media (max-width: 1000px) { .journey { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
	.journey__tabs { grid-template-columns: 1fr 1fr; }
	.journey__tab:nth-child(3) { border-left: 0; }
	.journey__tab:nth-child(n+3) { border-top: 1px solid var(--line-night); }
	.reco { grid-template-columns: 1fr; }
}

/* Process */
.process { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.process__step { padding: var(--space-6) var(--space-6) var(--space-6) 0; border-bottom: 1px solid var(--line); }
.process__step:not(:nth-child(3n+1)) { padding-left: var(--space-6); border-left: 1px solid var(--line); }
.process__num { display: block; font-size: 1.25rem; margin-bottom: var(--space-4); }
.process__title { font-size: 1.375rem; margin-bottom: var(--space-3); }
.process__step p { margin: 0; font-size: var(--fs-small); color: var(--muted); }
@media (max-width: 900px) {
	.process { grid-template-columns: 1fr 1fr; }
	.process__step:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
	.process__step:nth-child(even) { padding-left: var(--space-5); border-left: 1px solid var(--line); }
}
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } .process__step:nth-child(even) { padding-left: 0; border-left: 0; } }

/* ==========================================================================
   6. Books — consistent presentation around the original cover artwork
   ========================================================================== */
.book { position: relative; width: 100%; }
.book__inner { position: relative; display: block; border-radius: 1px 3px 3px 1px; box-shadow: var(--shadow-book); transform: perspective(1400px) rotateY(-9deg); transform-origin: left center; transition: transform 600ms var(--ease), box-shadow 600ms var(--ease); }
.book__img { width: 100%; height: auto; border-radius: inherit; }
.book__spine { position: absolute; left: 0; top: 0; bottom: 0; width: 5%; border-radius: 1px 0 0 1px; background: linear-gradient(90deg, rgba(0,0,0,.28), rgba(255,255,255,.18) 45%, rgba(0,0,0,.08) 70%, rgba(0,0,0,0)); pointer-events: none; }
.book__sheen { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(105deg, rgba(255,255,255,0) 40%, rgba(255,255,255,.14) 55%, rgba(255,255,255,0) 70%); pointer-events: none; }
.book__inner::after { content: ""; position: absolute; top: 1.5%; bottom: 1.5%; right: -6px; width: 6px; background: repeating-linear-gradient(180deg, #fbf8f2 0 2px, #e6ddd0 2px 3px); border-radius: 0 2px 2px 0; transform: perspective(400px) rotateY(30deg); transform-origin: left; }
.book--square .book__inner::after { top: 1%; bottom: 1%; }
a:hover .book__inner, .book:hover .book__inner { transform: perspective(1400px) rotateY(-3deg) translateY(-4px); }
/* Covers supplied as ready-made 3D renders: shown as-is, white background melted into the stage. */
.book--mockup .book__inner { transform: none; box-shadow: none; }
.book--mockup .book__inner::after, .book--mockup .book__spine, .book--mockup .book__sheen { display: none; }
.book--mockup .book__img { mix-blend-mode: multiply; }
/* No transform on mockups: a transform would isolate the image and stop the white from blending. */
a:hover .book--mockup .book__inner, .book--mockup:hover .book__inner { transform: none; }
.book--empty { aspect-ratio: 2/3; background: var(--sand-2); }

.shelf { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.5vw, 2.5rem); }
.shelf--small { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .shelf, .shelf--small { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .shelf, .shelf--small { gap: 1rem; } }

.book-card__link { display: block; text-decoration: none; color: inherit; }
.book-card__stage { aspect-ratio: 4 / 5; background: radial-gradient(120% 80% at 50% 25%, var(--paper) 0%, var(--sand) 72%); display: flex; align-items: center; justify-content: center; padding: 12% 16%; position: relative; overflow: hidden; }
.book-card__stage::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: 9%; height: 1px; background: var(--line-strong); }
.book-card__stage .book { max-width: 100%; }
.book-card__stage .book--portrait { width: 82%; }
.book-card__stage .book--square { width: 100%; }
.book-card__stage .book--mockup { width: 145%; max-width: none; flex: none; }
.book-card__body { padding: var(--space-4) 0 0; }
.book-card__meta { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-bottom: .4rem; }
.book-card__title { font-size: 1.25rem; line-height: 1.25; margin-bottom: .25rem; transition: color var(--dur); }
.book-card__author { font-size: var(--fs-small); color: var(--muted); margin: 0; }
.book-card__link:hover .book-card__title { color: var(--gold-deep); }

/* Catalogue page */
.filters { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-7); align-items: center; padding-bottom: var(--space-5); margin-bottom: var(--space-7); border-bottom: 1px solid var(--line); }
.filters__group { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.filters__label { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-right: .5rem; }
.filters__count { margin: 0 0 0 auto; font-size: var(--fs-small); color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: var(--space-7); }
.chip { appearance: none; display: inline-flex; align-items: center; min-height: 40px; padding: .4rem 1rem; border: 1px solid var(--line-strong); background: transparent; border-radius: 999px; font-size: .8125rem; text-decoration: none; color: var(--ink-2); cursor: pointer; transition: all var(--dur) var(--ease); }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.catalogue { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem) clamp(1rem, 2.5vw, 2.5rem); }
.catalogue .book-card[hidden] { display: none; }
.catalogue__empty { text-align: center; color: var(--muted); padding: var(--space-7) 0; max-width: 46ch; margin: 0 auto; }
/* Title families: the language editions of one book, side by side. */
.families { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem); }
.family[hidden] { display: none; }
.family + .family { padding-top: clamp(2.5rem, 5vw, 4.5rem); border-top: 1px solid var(--line); }
.family__head { margin-bottom: var(--space-6); max-width: 56rem; }
.family__cat { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--gold-deep); margin: 0 0 .5rem; }
.family__title { font-size: var(--display-3); line-height: 1.2; margin: 0 0 .4rem; }
.family__meta { font-size: var(--fs-small); color: var(--muted); margin: 0; }
@media (max-width: 900px) { .catalogue { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .catalogue { grid-template-columns: 1fr; } }
.archive { display: grid; grid-template-columns: 4fr 8fr; gap: var(--space-7); align-items: start; }
.archive__list { display: grid; gap: var(--space-3); }
.archive__item { display: flex; gap: var(--space-5); align-items: center; padding: var(--space-4); background: var(--paper); text-decoration: none; border: 1px solid var(--line); transition: border-color var(--dur); }
.archive__item:hover { border-color: var(--ink); }
.archive__thumb { width: 64px; flex: none; }
.archive__thumb img { box-shadow: 0 6px 14px -6px rgba(0,0,0,.4); }
.archive__text { display: flex; flex-direction: column; }
.archive__text strong { font-family: var(--serif); font-weight: 500; font-size: 1.125rem; color: var(--ink); }
.archive__text span { font-size: var(--fs-xs); color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 800px) { .archive { grid-template-columns: 1fr; } }

/* Book detail */
.book-detail { padding: var(--space-6) 0 var(--section); }
.breadcrumb { margin-bottom: var(--space-6); }
.breadcrumb a { display: inline-flex; align-items: center; gap: .6rem; font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--ink); }
.book-detail__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.book-detail__visual { position: sticky; top: calc(var(--header-h) + 2rem); }
.book-detail__stage { aspect-ratio: 1 / 1.08; background: radial-gradient(120% 80% at 50% 25%, var(--paper) 0%, var(--sand) 75%); display: flex; align-items: center; justify-content: center; padding: 12%; }
.book-detail__stage .book--portrait { width: 70%; }
.book-detail__stage .book--square { width: 88%; }
.book-detail__stage .book--mockup { width: 104%; }
.book-detail__title { margin-bottom: var(--space-3); }
.book-detail__subtitle { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--muted); line-height: 1.45; }
.facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: var(--space-6); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: var(--space-5) 0; margin: var(--space-6) 0; }
.facts dt { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.facts dd { margin: .2rem 0 0; font-family: var(--serif); font-size: 1.125rem; color: var(--ink); }
.book-detail__synopsis { margin-bottom: var(--space-6); }
/* Purchase options (Amazon) and other language editions on a book page. */
.buy { margin: var(--space-6) 0 0; }
.buy__options { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.buy__btn { flex: 0 1 auto; }
.buy__note { margin: var(--space-4) 0 0; font-size: .8125rem; color: var(--muted); max-width: 52ch; }
.editions { margin-top: var(--space-7); }
.editions__title { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--gold-deep); margin: 0 0 var(--space-3); }
.editions__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.editions__list .related-edition { margin-top: 0; }
@media (max-width: 520px) { .buy__btn { flex: 1 1 100%; justify-content: center; text-align: center; letter-spacing: .1em; } }
.related-edition { display: flex; align-items: center; gap: var(--space-4); margin-top: var(--space-7); padding: var(--space-4); border: 1px solid var(--line); text-decoration: none; background: var(--paper); transition: border-color var(--dur); }
.related-edition:hover { border-color: var(--ink); }
.related-edition__thumb { width: 56px; flex: none; }
.related-edition strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.125rem; color: var(--ink); }
.related-edition .label { margin-bottom: .2rem; }
.related-edition .icon-arrow { margin-left: auto; flex: none; }
@media (max-width: 860px) { .book-detail__grid { grid-template-columns: 1fr; } .book-detail__visual { position: static; } .facts { grid-template-columns: 1fr 1fr; } }

/* Tags */
.tag { display: inline-flex; align-items: center; min-height: 26px; padding: .15rem .65rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--ink-2); margin: 0; }
.tag--founder { border-color: var(--gold); color: var(--gold-deep); margin-bottom: var(--space-4); }
.tag--available { background: var(--success); border-color: var(--success); color: #fff; }
.tag--free { background: var(--ink); border-color: var(--ink); color: var(--ivory); }
.tag--planned, .tag--in_progress { border-style: dashed; color: var(--muted); }

/* ==========================================================================
   7. Blog
   ========================================================================== */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); }
.post-grid--home .post-card--lead, .post-grid .post-card--lead { grid-column: span 3; }
.post-card__link { display: grid; text-decoration: none; color: inherit; height: 100%; }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms var(--ease); }
.post-card__link:hover .post-card__media img { transform: scale(1.03); }
.post-card__media--plain { display: flex; align-items: center; justify-content: center; background: linear-gradient(160deg, var(--sand) 0%, var(--sand-2) 100%); position: relative; }
.post-card__media--plain::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(122, 92, 52, .25); }
.post-card__mark { font-family: var(--serif); font-size: 6rem; line-height: 1; color: var(--gold); transform: translateY(18%); }
.post-card__body { padding: var(--space-5) 0 0; }
.post-card__cat { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-bottom: .5rem; }
.post-card__title { font-size: 1.375rem; line-height: 1.28; margin-bottom: .5rem; transition: color var(--dur); }
.post-card__link:hover .post-card__title { color: var(--gold-deep); }
.post-card__meta { font-size: var(--fs-xs); color: var(--muted); margin: 0; }
.post-card--lead .post-card__link { grid-template-columns: 7fr 5fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.post-card--lead .post-card__media { aspect-ratio: 16 / 9; }
.post-card--lead .post-card__title { font-size: var(--display-3); }
.post-card--lead .post-card__mark { font-size: 9rem; }
@media (max-width: 900px) {
	.post-grid { grid-template-columns: 1fr 1fr; }
	.post-grid--home .post-card--lead, .post-grid .post-card--lead { grid-column: span 2; }
}
@media (max-width: 600px) {
	.post-grid { grid-template-columns: 1fr; }
	.post-grid--home .post-card--lead, .post-grid .post-card--lead { grid-column: auto; }
	.post-card--lead .post-card__link { grid-template-columns: 1fr; }
}
.post-grid--three .post-card--lead { grid-column: auto; }
.search { display: flex; gap: .5rem; max-width: 520px; margin-top: var(--space-6); }
.search input { flex: 1; min-width: 0; }
.results-title { font-size: 1.25rem; margin-bottom: var(--space-6); }
.empty-state { padding: var(--space-8) 0; text-align: center; color: var(--muted); }
.pager { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: var(--space-8); border-top: 1px solid var(--line); padding-top: var(--space-5); }
.pager__info { font-size: var(--fs-small); color: var(--muted); }

/* Article */
.article__head { padding: var(--space-6) 0 var(--space-7); }
.article__title { margin-bottom: var(--space-5); }
.article__lede { font-family: var(--serif); font-size: 1.375rem; line-height: 1.5; color: var(--ink-2); }
.article__meta { display: flex; flex-wrap: wrap; gap: .75rem; font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-top: 1px solid var(--line); padding-top: var(--space-4); margin-top: var(--space-5); }
.article__figure { margin: 0 auto var(--space-7); max-width: 1080px; }
.prose { font-size: 1.0625rem; }
.prose--article { font-family: var(--serif); font-size: 1.1875rem; line-height: 1.78; color: var(--ink-2); }
.prose--article h2 { font-size: 1.75rem; margin: 2.5rem 0 1rem; }
.prose--article h3 { font-size: 1.375rem; margin: 2rem 0 .75rem; }
.prose ul, .prose ol { padding-left: 1.4rem; margin: 0 0 1.25rem; }
.prose li { margin-bottom: .5rem; }
.prose li::marker { color: var(--gold-deep); }
.prose blockquote { margin: 2rem 0; padding: .25rem 0 .25rem 1.5rem; border-left: 2px solid var(--gold); font-style: italic; color: var(--ink); }
.prose a { color: var(--ink); text-decoration-color: var(--gold); }
.prose strong { color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.75rem 0 2rem; border: 1px solid var(--line); }
.prose table { width: 100%; min-width: 560px; border-collapse: collapse; font-family: var(--sans); font-size: .9375rem; line-height: 1.5; color: var(--ink-2); }
.prose th, .prose td { text-align: left; vertical-align: top; padding: .75rem 1rem; border-bottom: 1px solid var(--line); }
.prose thead th { background: var(--paper); color: var(--ink); font-weight: 600; }
.prose tbody th { color: var(--ink); font-weight: 600; width: 26%; }
.prose tbody tr:last-child th, .prose tbody tr:last-child td { border-bottom: 0; }
.prose .article-updated { font-family: var(--sans); font-size: .875rem; color: var(--ink-3, var(--ink-2)); margin-bottom: 1.5rem; }
/* Tables marked .table-stack turn into labelled cards on phones (no sideways scrolling). */
@media (max-width: 640px) {
	.prose .table-stack { border: 0; overflow: visible; }
	.prose .table-stack table { min-width: 0; }
	.prose .table-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.prose .table-stack tbody tr { display: block; border: 1px solid var(--line); margin-bottom: 1rem; }
	.prose .table-stack tbody th { display: block; width: auto; background: var(--paper); padding: .7rem 1rem; border-bottom: 1px solid var(--line); }
	.prose .table-stack tbody tr:last-child th { border-bottom: 1px solid var(--line); }
	.prose .table-stack tbody th:empty { display: none; }
	.prose .table-stack td { display: block; padding: .6rem 1rem; border-bottom: 1px solid var(--line); }
	.prose .table-stack td:last-child { border-bottom: 0; }
	.prose .table-stack td::before { content: attr(data-label); display: block; font-size: .6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .2rem; }
}
.prose .callout, .prose .wp-block-group.is-style-callout { background: var(--paper); border: 1px solid var(--line); padding: 1.25rem 1.5rem; font-family: var(--sans); font-size: 1rem; margin: 2rem 0; }
.article-cta { display: grid; grid-template-columns: auto 1fr; gap: var(--space-5); margin: var(--space-8) 0 var(--space-6); padding: var(--space-6); background: var(--paper); border: 1px solid var(--line); border-top: 2px solid var(--gold); }
.article-cta h2 { font-size: 1.5rem; margin-bottom: .5rem; }
@media (max-width: 560px) { .article-cta { grid-template-columns: 1fr; } }

/* ==========================================================================
   8. Shop, resources, studio
   ========================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.5vw, 2rem); }
@media (max-width: 1100px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .product-grid { grid-template-columns: 1fr; } }
.product-card__link { display: block; text-decoration: none; color: inherit; }
.product-visual { aspect-ratio: 4 / 5; display: flex; align-items: center; justify-content: center; padding: 14%; }
.product-visual--image { padding: 0; background: var(--sand); }
.product-visual--image img { width: 100%; height: 100%; object-fit: cover; }
.product-visual__sheet { width: 100%; aspect-ratio: 8.5 / 11; background: var(--paper); box-shadow: var(--shadow-book); padding: 12% 11%; display: flex; flex-direction: column; gap: .6rem; transition: transform 600ms var(--ease); }
.product-card__link:hover .product-visual__sheet { transform: translateY(-5px) rotate(-1deg); }
.product-visual__sheet img { width: 22px; height: auto; margin-bottom: auto; }
.product-visual__kicker { font-size: .5625rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }
.product-visual__title { font-family: var(--serif); font-size: clamp(1rem, 1.2vw + .5rem, 1.35rem); line-height: 1.15; color: var(--ink); }
.product-visual__rule { width: 30%; height: 1px; background: var(--gold); margin-top: .25rem; }
.product-visual--ink { background: var(--night); }
.product-visual--sand { background: var(--sand-2); }
.product-visual--gold { background: #CDB48F; }
.product-visual--clay { background: #D9C7B5; }
.product-card__body { padding-top: var(--space-4); }
.product-card__meta { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-bottom: .6rem; }
.product-card__title { font-size: 1.25rem; line-height: 1.25; margin-bottom: .35rem; }
.product-card__tagline { font-size: var(--fs-small); color: var(--muted); margin: 0; }
.product-card__price { font-weight: 600; font-size: var(--fs-small); }
.notice { display: flex; gap: .75rem; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-left: 2px solid var(--gold); padding: 1rem 1.25rem; font-size: var(--fs-small); margin-bottom: var(--space-7); }
.notice svg { flex: none; margin-top: .2rem; color: var(--gold-deep); }
.notice--strong { font-weight: 500; color: var(--ink); }
.shop-teaser { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.product-grid--teaser { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .shop-teaser { grid-template-columns: 1fr; } }
@media (max-width: 1000px) and (min-width: 600px) { .product-grid--teaser { grid-template-columns: repeat(4, 1fr); } }
.product-detail { padding: var(--space-6) 0 var(--section); }
.product-detail__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.product-detail__visual { position: sticky; top: calc(var(--header-h) + 2rem); }
.product-detail__visual .product-visual { aspect-ratio: 1; }
.product-detail__visual .product-visual__sheet { width: 64%; }
.product-detail__gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: .5rem; }
.product-detail__tagline { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--muted); }
.product-detail__action { margin-top: var(--space-7); padding-top: var(--space-6); border-top: 1px solid var(--line); }
.product-detail__price { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); }
@media (max-width: 860px) { .product-detail__grid { grid-template-columns: 1fr; } .product-detail__visual { position: static; } }
.signup { display: grid; grid-template-columns: 5fr 7fr; gap: var(--space-7); align-items: center; }
@media (max-width: 860px) { .signup { grid-template-columns: 1fr; } }

.stage { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(1.5rem, 5vw, 5rem); padding: clamp(2.5rem, 4vw, 3.5rem) 0; border-top: 1px solid var(--line-strong); }
.stage:first-child { border-top: 0; padding-top: 0; }
.stage__head { align-self: start; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.stage__num { font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--gold-deep); margin-bottom: var(--space-3); }
.stage__head .display-3 { margin-bottom: var(--space-3); }
.stage__head p:not(.stage__num) { font-size: var(--fs-small); color: var(--muted); }
.stage__list { list-style: none; border-top: 1px solid var(--line); }
.stage__item { border-bottom: 1px solid var(--line); }
.stage__link { display: grid; gap: .3rem; padding: 1.15rem 0; text-decoration: none; color: inherit; }
.stage__kind { font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--gold-deep); }
.stage__title { font-family: var(--serif); font-size: 1.3125rem; line-height: 1.3; color: var(--ink); transition: color var(--dur); }
.stage__desc { font-size: var(--fs-small); color: var(--muted); max-width: 62ch; }
.stage__link:hover .stage__title { color: var(--gold-deep); }
.stage__item--file .stage__kind { color: var(--success); }
@media (max-width: 860px) { .stage { grid-template-columns: 1fr; } .stage__head { position: static; } }
.res-section { padding: var(--space-7) 0; border-top: 1px solid var(--line-strong); }
.res-section:first-child { border-top: 0; padding-top: 0; }
.res-section__grid { display: grid; grid-template-columns: 8fr 4fr; gap: var(--space-7); margin-top: var(--space-5); }
.res-list { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
.res-item { background: var(--paper); border: 1px solid var(--line); padding: var(--space-5); display: flex; flex-direction: column; align-items: flex-start; }
.res-item.is-planned { background: transparent; border-style: dashed; }
.res-item__kind { font-size: .6875rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-bottom: .5rem; }
.res-item__title { font-size: 1.1875rem; margin-bottom: .5rem; }
.res-item__desc { font-size: var(--fs-small); color: var(--muted); flex: 1; }
.res-reads ul { list-style: none; border-top: 1px solid var(--line); }
.res-reads li { border-bottom: 1px solid var(--line); }
.res-reads a { display: block; padding: .8rem 0; font-family: var(--serif); font-size: 1.0625rem; text-decoration: none; color: var(--ink); line-height: 1.4; }
.res-reads a:hover { color: var(--gold-deep); }
@media (max-width: 900px) { .res-section__grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .res-list { grid-template-columns: 1fr; } }

.section--studio-teaser { background: var(--night); color: var(--on-night-muted); }
.section--studio-teaser .display-2 { color: var(--on-night); }
.section--studio-teaser .eyebrow { color: var(--gold); }
.studio-teaser { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
@media (max-width: 900px) { .studio-teaser { grid-template-columns: 1fr; } }
.studio-hero { background: var(--night); color: var(--on-night-muted); padding: clamp(3.5rem, 7vw, 7rem) 0; }
.studio-hero .display-1 { color: var(--on-night); }
.studio-hero .eyebrow { color: var(--gold); }
.studio-hero__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
@media (max-width: 900px) { .studio-hero__grid { grid-template-columns: 1fr; } }
.mock { background: var(--paper); border-radius: var(--radius-md); box-shadow: 0 30px 60px -20px rgba(0,0,0,.55); overflow: hidden; color: var(--ink-2); font-size: .8125rem; }
.mock__bar { display: flex; align-items: center; gap: 6px; padding: .7rem 1rem; background: var(--sand); }
.mock__bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--sand-2); }
.mock__bar em { margin-left: auto; font-style: normal; font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mock__body { display: grid; grid-template-columns: 34% 1fr; min-height: 280px; }
.mock__side { border-right: 1px solid var(--line); padding: 1rem; }
.mock__side ul { list-style: none; }
.mock__side li { padding: .45rem .6rem; border-radius: 4px; margin-bottom: 2px; }
.mock__side li.is-on { background: var(--ink); color: var(--ivory); }
.mock__main { padding: 1rem 1.25rem; }
.mock__label { font-size: .625rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin: .25rem 0 .6rem; }
.mock__progress { height: 6px; background: var(--sand); border-radius: 3px; overflow: hidden; margin-bottom: 1rem; }
.mock__progress span { display: block; height: 100%; background: var(--gold); }
.mock__rows div { display: flex; align-items: center; gap: .6rem; padding: .4rem 0; border-bottom: 1px solid var(--line); }
.mock__dot { width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--gold-deep); }
.mock__dot.is-done { background: var(--gold-deep); }
.mock__rows { margin-bottom: 1rem; }
.mock__bars { display: flex; align-items: flex-end; gap: 8px; height: 70px; }
.mock__bars span { flex: 1; background: var(--sand-2); border-radius: 2px 2px 0 0; }
.mock__bars span:nth-child(4) { background: var(--gold); }
.feature-grid { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: var(--space-7); }
.feature { background: var(--ivory); padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-4); }
.feature p { font-family: var(--serif); font-size: 1.125rem; line-height: 1.35; color: var(--ink); margin: 0; }
.feature .tag { align-self: flex-start; }
@media (max-width: 1000px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .feature-grid { grid-template-columns: 1fr; } }
.now-available { display: grid; grid-template-columns: 5fr 7fr; gap: var(--space-7); align-items: center; }
.now-available__list { list-style: none; display: grid; gap: var(--space-3); }
.now-available__list .link-arrow { justify-content: space-between; width: 100%; text-transform: none; letter-spacing: 0; font-family: var(--serif); font-size: 1.25rem; font-weight: 400; padding: .9rem 0; border-bottom-color: var(--line-strong); }
@media (max-width: 860px) { .now-available { grid-template-columns: 1fr; } }
.waitlist { text-align: center; }
.waitlist .form { text-align: left; margin-top: var(--space-6); }

/* ==========================================================================
   9. Inner pages
   ========================================================================== */
.page-hero { padding: clamp(3rem, 6vw, 6.5rem) 0 clamp(2.5rem, 4vw, 4rem); border-bottom: 1px solid var(--line); }
.page-hero__inner { max-width: 980px; }
.page-hero .display-1 { margin-bottom: var(--space-5); }
.page-hero__lede { font-size: clamp(1.125rem, .4vw + 1rem, 1.3rem); max-width: 40em; margin-bottom: 0; }
.page-hero--compact { padding-bottom: var(--space-6); }
/* Long, sentence-style headlines (Contact): same typeface, smaller size so the form stays close. */
.page-hero--long .display-1 { font-size: clamp(1.9rem, 2.2vw + 1.1rem, 3.4rem); line-height: 1.15; max-width: 22em; }
.page-hero--long .page-hero__lede { font-size: clamp(1.0625rem, .3vw + .95rem, 1.2rem); }
.jump { display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; margin-top: var(--space-6); }
.jump a { font-size: .8125rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; padding: .4rem 0; border-bottom: 1px solid var(--gold); }
.prose-split { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(2rem, 6vw, 6rem); }
.prose-split .prose { font-size: 1.125rem; }
@media (max-width: 800px) { .prose-split { grid-template-columns: 1fr; } }
.pillar-row { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-strong); border: 1px solid var(--line-strong); }
.pillar-row li { background: var(--sand); padding: var(--space-6) var(--space-5); }
.pillar-row h3 { font-size: 1.3rem; margin: var(--space-4) 0 .5rem; }
.pillar-row p { margin: 0; font-size: var(--fs-small); }
@media (max-width: 900px) { .pillar-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .pillar-row { grid-template-columns: 1fr; } }
.is-isnt { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.is-isnt__col { padding: var(--space-6); border: 1px solid var(--line); font-size: 1.0625rem; }
.is-isnt__col--yes { background: var(--paper); border-top: 2px solid var(--gold); }
.is-isnt__label { display: flex; align-items: center; gap: .5rem; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--ink); }
.is-isnt__col--yes .is-isnt__label { color: var(--gold-deep); }
@media (max-width: 700px) { .is-isnt { grid-template-columns: 1fr; } }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-6); margin: 0; }
.values dt { font-family: var(--serif); font-size: 1.5rem; color: var(--ink); margin-bottom: .5rem; padding-top: var(--space-4); border-top: 1px solid var(--gold); }
.values dd { margin: 0; font-size: var(--fs-small); }
@media (max-width: 900px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .values { grid-template-columns: 1fr; } }

.founder { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.founder__photo { margin: 0; position: relative; }
.founder__photo::before { content: ""; position: absolute; inset: 6% -6% -6% 6%; border: 1px solid var(--gold); z-index: -1; }
.founder__photo { isolation: isolate; }
.founder__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; }
.founder__quote { margin: 0 0 var(--space-5); font-family: var(--serif); font-style: italic; font-size: 1.5rem; line-height: 1.45; color: var(--ink); }
.founder__quote p { margin: 0; }
.founder__quote p::before { content: "« "; color: var(--gold); }
.founder__quote p::after { content: " »"; color: var(--gold); }
html[lang="en"] .founder__quote p::before { content: "“"; }
html[lang="en"] .founder__quote p::after { content: "”"; }
@media (max-width: 800px) { .founder { grid-template-columns: 1fr; } .founder__photo { max-width: 420px; } }

.service-section__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.service-section__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.service-list { border-top: 1px solid var(--line-strong); }
.service { border-bottom: 1px solid var(--line-strong); }
.service__summary, .faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: var(--space-4); padding: 1.35rem 0; min-height: 56px; }
.service__summary::-webkit-details-marker, .faq__item summary::-webkit-details-marker { display: none; }
.service__title { font-family: var(--serif); font-size: 1.375rem; color: var(--ink); line-height: 1.3; flex: 1; }
.service__num { flex: none; width: 2rem; }
.service__icon { flex: none; width: 18px; height: 18px; position: relative; margin-left: auto; }
.service__icon::before, .service__icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ink); transition: transform var(--dur) var(--ease); }
.service__icon::after { transform: rotate(90deg); }
details[open] > summary .service__icon::after { transform: rotate(0); }
.service__body { padding: 0 0 var(--space-5) 3rem; animation: fadeUp 360ms var(--ease); }
.service__label { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--gold-deep); margin: var(--space-4) 0 0; }
@media (max-width: 900px) { .service-section__grid { grid-template-columns: 1fr; } .service-section__intro { position: static; } .service__body { padding-left: 0; } }
.service-section__for { font-size: var(--fs-small); color: var(--muted); border-left: 2px solid var(--gold); padding-left: var(--space-4); margin: var(--space-5) 0 var(--space-6); }
.service-section__for strong { color: var(--ink); font-weight: 600; }
.service-list__note { font-size: var(--fs-small); color: var(--muted); margin: var(--space-5) 0 0; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: none; border-top: 1px solid var(--line-strong); }
.steps__item { position: relative; padding: var(--space-5) var(--space-5) var(--space-5) 0; }
.steps__item + .steps__item { padding-left: var(--space-5); border-left: 1px solid var(--line); }
.steps__num { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--gold); font-family: var(--serif); font-style: italic; color: var(--gold-deep); margin-bottom: var(--space-4); background: var(--ivory); }
.steps__title { font-size: 1.1875rem; margin-bottom: .4rem; }
.steps__item p { font-size: var(--fs-small); color: var(--muted); margin: 0; }
@media (max-width: 960px) {
	.steps { grid-template-columns: 1fr; border-top: 0; }
	.steps__item, .steps__item + .steps__item { display: grid; grid-template-columns: 38px 1fr; column-gap: var(--space-4); padding: var(--space-4) 0; border-left: 0; border-top: 1px solid var(--line); }
	.steps__num { grid-row: span 2; margin: 0; }
}
mark.todo { background: #F3DFC2; color: var(--ink); padding: .05em .35em; border-radius: 2px; font-family: var(--sans); font-size: .9em; }
mark.todo::before { content: "⟨"; color: var(--gold-deep); margin-right: .15em; }
mark.todo::after { content: "⟩"; color: var(--gold-deep); margin-left: .15em; }
.secure-note { display: flex; gap: .65rem; align-items: flex-start; margin: var(--space-5) 0 0; padding: .9rem 1rem; background: #F7F0E5; border: 1px solid rgba(122, 92, 52, .3); font-size: var(--fs-small); color: var(--ink); line-height: 1.55; }
.secure-note svg { flex: none; color: var(--gold-deep); margin-top: .15rem; }
.form .secure-note { margin: 0 0 var(--space-6); }
.scope { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.scope__col { padding: clamp(1.75rem, 3vw, 2.75rem); border: 1px solid var(--line); }
.scope__col--provide { background: var(--paper); border-top: 2px solid var(--gold); }
.scope__col--provide .is-isnt__label { color: var(--gold-deep); }
.scope__col .display-3 { margin-bottom: var(--space-3); }
.scope__not { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 var(--space-5); }
.scope__not li { font-size: .8125rem; padding: .35rem .8rem; border: 1px dashed var(--line-strong); border-radius: 999px; color: var(--ink-2); }
@media (max-width: 800px) { .scope { grid-template-columns: 1fr; } }
.quote-box { display: grid; grid-template-columns: 7fr 5fr; gap: var(--space-7); align-items: center; padding: clamp(2rem, 5vw, 4rem); border: 1px solid var(--line-strong); background: var(--paper); }
.quote-box .btn-row { justify-content: flex-end; }
@media (max-width: 860px) { .quote-box { grid-template-columns: 1fr; } .quote-box .btn-row { justify-content: flex-start; } }
.faq { display: grid; grid-template-columns: 4fr 8fr; gap: var(--space-7); }
.faq__list { border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__item summary { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); justify-content: space-between; }
.faq__item p { padding-bottom: var(--space-5); margin: 0; max-width: 62ch; }
@media (max-width: 800px) { .faq { grid-template-columns: 1fr; } }

.timeline { list-style: none; position: relative; max-width: 980px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 39px; top: 0; bottom: 0; width: 1px; background: var(--line-strong); }
.timeline__step { display: grid; grid-template-columns: 80px 1fr; gap: clamp(1.5rem, 4vw, 3rem); padding-bottom: var(--space-8); position: relative; }
.timeline__marker span { display: flex; align-items: center; justify-content: center; width: 80px; height: 80px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--gold); font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: var(--gold-deep); position: relative; }
.timeline__kicker { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--muted); margin-bottom: .4rem; }
.timeline__summary { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--ink); }
.timeline__content > p:last-child { max-width: 64ch; }
@media (max-width: 600px) { .timeline::before { left: 27px; } .timeline__step { grid-template-columns: 56px 1fr; } .timeline__marker span { width: 56px; height: 56px; font-size: 1.15rem; } }

/* CTA band */
.cta-band { background: var(--night); color: var(--on-night-muted); padding: clamp(4rem, 7vw, 7rem) 0; position: relative; overflow: hidden; }
.cta-band__inner { display: grid; grid-template-columns: 1fr auto; gap: var(--space-7); align-items: end; position: relative; }
.cta-band .display-2 { color: var(--on-night); }
.cta-band__copy { max-width: 640px; }
.cta-band__copy p { margin: 0; font-size: 1.125rem; }
.cta-band__mark { position: absolute; right: -4%; top: 50%; width: 260px; transform: translateY(-50%); opacity: .06; pointer-events: none; }
@media (max-width: 860px) { .cta-band__inner { grid-template-columns: 1fr; } }

/* Contact */
.contact { display: grid; grid-template-columns: 8fr 4fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact__aside { display: grid; gap: var(--space-5); position: sticky; top: calc(var(--header-h) + 2rem); }
.contact__card { background: var(--paper); border: 1px solid var(--line); padding: var(--space-6); font-size: var(--fs-small); }
.contact__card img { width: 34px; margin-bottom: var(--space-4); }
.contact__card-title { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); margin-bottom: .5rem; }
.contact__card .label { margin-top: var(--space-5); }
.contact__social { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.contact__card--news { background: var(--sand); }
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } .contact__aside { position: static; } }
.tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line-strong); margin-bottom: var(--space-6); }
.tabs__tab { padding: 1rem 1.25rem; min-height: 52px; display: inline-flex; align-items: center; text-decoration: none; font-size: .875rem; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs__tab:hover { color: var(--ink); }
.tabs__tab[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--gold-deep); }
@media (max-width: 520px) { .tabs__tab { flex: 1 1 auto; padding: .75rem; font-size: .8125rem; justify-content: center; } }

/* ==========================================================================
   10. Forms
   ========================================================================== */
.form__intro { font-size: 1.0625rem; margin-bottom: var(--space-6); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--space-5); }
.form__grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 700px) { .form__grid, .form__grid--3 { grid-template-columns: 1fr; } }
.form__group { border: 0; padding: 0; margin: 0 0 var(--space-5); }
.form__group legend { font-family: var(--serif); font-size: 1.25rem; color: var(--ink); margin-bottom: var(--space-4); padding: 0; }
.field { margin-bottom: var(--space-5); }
.field label, .form__group.field legend { display: block; font-size: .875rem; font-weight: 600; color: var(--ink); margin-bottom: .45rem; }
.req { color: var(--error); }
.opt { font-weight: 400; color: var(--muted); font-size: .8125rem; }
input[type="text"], input[type="email"], input[type="search"], input[type="url"], select, textarea {
	width: 100%; min-height: 52px; padding: .8rem 1rem; background: var(--paper); border: 1px solid var(--line-strong); border-radius: var(--radius); font-size: 1rem; color: var(--ink); transition: border-color var(--dur), box-shadow var(--dur);
}
textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23231F20' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(184, 155, 114, .35); }
input::placeholder, textarea::placeholder { color: #8C8486; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field__error { color: var(--error); font-size: .875rem; margin: .4rem 0 0; min-height: 0; }
.field__error:empty { display: none; }
.field--check { display: grid; grid-template-columns: auto 1fr; gap: .75rem; align-items: start; }
.field--check label { font-weight: 400; font-size: var(--fs-small); color: var(--ink-2); margin: 0; }
.field--check .field__error { grid-column: 2; }
input[type="checkbox"] { width: 20px; height: 20px; margin: .2rem 0 0; accent-color: var(--ink); flex: none; }
.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.check { display: flex; gap: .6rem; align-items: flex-start; padding: .7rem .85rem; background: var(--paper); border: 1px solid var(--line); cursor: pointer; font-size: var(--fs-small); font-weight: 400 !important; color: var(--ink-2) !important; min-height: 48px; transition: border-color var(--dur); }
.check:hover { border-color: var(--ink); }
.check:has(input:checked) { border-color: var(--gold-deep); background: #F7F0E5; }
.check input { margin-top: .1rem; }
@media (max-width: 800px) { .checks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .checks { grid-template-columns: 1fr; } }
.form__foot { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; margin-top: var(--space-5); }
.form__note { font-size: var(--fs-xs); color: var(--muted); margin: 0; }
.form-status { margin-top: var(--space-5); padding: 1rem 1.25rem; font-size: var(--fs-small); border: 1px solid; }
.form-status.is-success { border-color: var(--success); color: var(--success); background: #EEF4EF; }
.form-status.is-error { border-color: var(--error); color: var(--error); background: #F8ECEA; }
.form-status:focus { outline: 2px solid currentColor; outline-offset: 2px; }
.form.is-sent .form--inline__row, .form.is-sent .field--check, .form.is-sent > *:not(.form-status) { display: none; }
.form--inline__row { display: flex; gap: .5rem; align-items: flex-start; }
.form--inline__row .field { flex: 1; margin-bottom: var(--space-3); }
.form--inline .field--check { margin-bottom: 0; }
@media (max-width: 520px) { .form--inline__row { flex-direction: column; align-items: stretch; } .form--inline__row .btn { width: 100%; } }

/* ==========================================================================
   11. Footer
   ========================================================================== */
.site-footer { background: var(--night); color: var(--on-night-muted); padding: var(--space-9) 0 var(--space-6); border-top: 1px solid var(--line-night); font-size: var(--fs-small); }
.cta-band + .site-footer { padding-top: var(--space-8); }
.site-footer a { color: var(--on-night); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer__top { display: grid; grid-template-columns: 4fr 2fr 2fr 4fr; gap: var(--space-7); padding-bottom: var(--space-7); border-bottom: 1px solid var(--line-night); }
.brand--footer { color: var(--on-night); margin-bottom: var(--space-5); }
.brand--footer .brand__tag { color: var(--gold); }
.site-footer__about { max-width: 34ch; }
.site-footer__heading { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--gold); margin-bottom: var(--space-4); }
.site-footer__nav ul { list-style: none; display: grid; gap: 0; }
.site-footer__nav a, .site-footer__bottom a, .site-footer__social a { display: inline-block; padding: .45rem 0; min-height: 32px; }
.site-footer__social { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem; margin-top: var(--space-4); }
.site-footer__small { font-size: var(--fs-small); }
.site-footer input[type="email"] { background: var(--night-2); border-color: var(--line-night); color: var(--on-night); }
.site-footer input::placeholder { color: #9b918a; }
.site-footer .field--check label { color: var(--on-night-muted); font-size: var(--fs-xs); }
.site-footer .field--check label a { text-decoration: underline; }
.site-footer .field__error { color: #F0A79E; }
.site-footer .form-status.is-success { background: transparent; color: #A8D5B5; border-color: #5d9b72; }
.site-footer .form-status.is-error { background: transparent; color: #F0A79E; border-color: #c26a5f; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-4); padding-top: var(--space-5); font-size: var(--fs-xs); }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.25rem; }
@media (max-width: 1000px) { .site-footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__top { grid-template-columns: 1fr; } }

.notfound { text-align: center; }
.notfound__mark { width: 90px; margin: 0 auto var(--space-6); opacity: .9; }
.notfound .eyebrow { justify-content: center; }
.notfound .btn-row { justify-content: center; margin-top: var(--space-6); }
.notfound .page-hero__lede { margin: 0 auto; }

/* ==========================================================================
   12. Motion — restrained, and off when the visitor prefers reduced motion
   ========================================================================== */
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.js .reveal { opacity: 1; transform: none; }
	.book__inner, a:hover .book__inner { transform: none; }
}
/* ---------- Manuscript readiness quiz ---------- */
.page-hero--quiz .display-1 { font-size: clamp(2.1rem, 2.6vw + 1.2rem, 3.8rem); max-width: 18em; }
.quiz-hero__subtitle { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, .5vw + 1rem, 1.4rem); color: var(--ink-2); margin: 0 0 var(--space-4); }
.quiz-facts { list-style: none; margin: var(--space-5) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.quiz-facts li { font-size: .8125rem; font-weight: 500; color: var(--ink); padding: .4rem .85rem; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--paper); }
.quiz-section { padding-top: clamp(2.5rem, 4vw, 4rem); }
.quiz { background: var(--paper); border: 1px solid var(--line); padding: clamp(1.5rem, 4vw, 3rem); }
.quiz [hidden] { display: none !important; }
.quiz__privacy { margin: var(--space-5) 0 0; font-size: var(--fs-small); color: var(--muted); }
.quiz__progress { margin-bottom: var(--space-6); }
.quiz__count { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--gold-deep); margin: 0 0 .6rem; }
.quiz__bar { height: 4px; background: var(--sand); border-radius: 999px; overflow: hidden; }
.quiz__bar span { display: block; height: 100%; width: 0; background: var(--gold-deep); transition: width var(--dur) var(--ease); }
.quiz__q { border: 0; margin: 0; padding: 0; min-width: 0; }
.quiz__question { display: flex; gap: .9rem; align-items: baseline; padding: 0; margin-bottom: var(--space-5); font-family: var(--serif); font-size: clamp(1.35rem, 1vw + 1rem, 1.75rem); line-height: 1.3; color: var(--ink); }
.quiz__qnum { font-family: var(--sans); font-size: .8125rem; font-weight: 600; letter-spacing: .1em; color: var(--gold-deep); flex: none; }
.quiz__qtext:focus { outline: none; }
.quiz__options { display: grid; gap: .65rem; }
.quiz__option { position: relative; display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; border: 1px solid var(--line-strong); background: var(--ivory); cursor: pointer; transition: border-color var(--dur), background var(--dur); }
.quiz__option:hover { border-color: var(--ink); }
.quiz__option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.quiz__mark { flex: none; width: 20px; height: 20px; border: 1.5px solid var(--ink-2); border-radius: 50%; display: grid; place-items: center; }
.quiz__mark::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); transform: scale(0); transition: transform var(--dur) var(--ease); }
.quiz__option:has(input:checked) { border-color: var(--ink); background: var(--paper); box-shadow: inset 3px 0 0 var(--gold-deep); }
.quiz__option input:checked + .quiz__mark::after { transform: scale(1); }
.quiz__option:has(input:focus-visible) { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.quiz__label { font-size: 1rem; color: var(--ink); line-height: 1.45; }
.quiz__error { min-height: 1.4em; margin: var(--space-4) 0 0; font-size: var(--fs-small); color: #9B2C2C; }
.quiz__nav { display: flex; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-4); padding-top: var(--space-5); border-top: 1px solid var(--line); }
.quiz__nav .btn[disabled] { opacity: .4; cursor: default; pointer-events: none; }
/* Result */
.quiz-result__score { display: inline-flex; gap: .6rem; align-items: baseline; margin: 0 0 var(--space-4); padding: .35rem .9rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .8125rem; color: var(--muted); }
.quiz-result__score strong { color: var(--ink); font-size: 1rem; }
.quiz-result__title { font-size: clamp(1.7rem, 1.6vw + 1.1rem, 2.5rem); line-height: 1.2; margin: 0 0 var(--space-4); }
.quiz-result__title:focus, .quiz-plan:focus { outline: none; }
.quiz-result__text { font-size: 1.0625rem; max-width: 46em; }
.quiz-result__sub { font-family: var(--sans); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--gold-deep); margin: var(--space-6) 0 var(--space-3); }
.quiz-stages { margin: 0; padding-left: 1.3rem; display: grid; gap: .4rem; }
.quiz-stages li::marker { color: var(--gold-deep); font-weight: 600; }
.quiz-result__note { margin-top: var(--space-4); font-size: var(--fs-small); color: var(--muted); }
.quiz-result__actions { margin-top: var(--space-6); }
.quiz-result__disclaimer { margin: var(--space-5) 0 0; font-size: .8125rem; font-style: italic; color: var(--muted); }
/* Action plan */
.quiz-plan { margin-top: var(--space-7); padding-top: var(--space-6); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 1rem); }
.quiz-plan__title { font-size: clamp(1.4rem, 1vw + 1rem, 1.9rem); margin-bottom: var(--space-3); }
.quiz-plan__intro { color: var(--muted); font-size: var(--fs-small); }
.quiz-plan__progress { margin: var(--space-5) 0; }
.quiz-plan__progress p { font-size: .8125rem; font-weight: 600; color: var(--gold-deep); margin: 0 0 .5rem; }
.quiz-tasks { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-4); }
.quiz-task { border: 1px solid var(--line); background: var(--ivory); padding: var(--space-5); transition: opacity var(--dur); }
.quiz-task__head { display: flex; gap: .85rem; align-items: flex-start; }
.quiz-task__head input { flex: none; width: 22px; height: 22px; margin: .15rem 0 0; accent-color: var(--ink); cursor: pointer; }
.quiz-task__head label { cursor: pointer; display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; font-family: var(--serif); font-size: 1.15rem; line-height: 1.35; color: var(--ink); }
.quiz-task__num { font-family: var(--sans); font-size: .75rem; font-weight: 600; color: var(--gold-deep); }
.quiz-task__tag { font-family: var(--sans); font-size: .6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); border: 1px solid var(--gold); border-radius: 999px; padding: .1rem .55rem; }
.quiz-task__steps { margin: var(--space-3) 0 0 2.2rem; padding-left: 1rem; display: grid; gap: .35rem; font-size: var(--fs-small); color: var(--ink-2); }
.quiz-task__steps li::marker { color: var(--gold); }
.quiz-task__read { margin: var(--space-3) 0 0 2.2rem; font-size: .875rem; }
.quiz-task__read > span:first-child { font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin-right: .4rem; }
.quiz-task.is-done { opacity: .62; }
.quiz-task.is-done .quiz-task__title { text-decoration: line-through; text-decoration-color: var(--gold); }
.quiz-plan__after { margin-top: var(--space-5); font-style: italic; color: var(--ink-2); }
.quiz-tools { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px solid var(--line); }
.quiz-tools__status { min-height: 1.3em; margin: var(--space-3) 0 0; font-size: var(--fs-small); color: var(--gold-deep); }
@media (max-width: 560px) {
	.quiz { padding: 1.25rem 1rem; border-left: 0; border-right: 0; margin: 0 calc(-1 * var(--gutter)); }
	.quiz__option { padding: .9rem; }
	.quiz__nav .btn { flex: 1 1 0; justify-content: center; }
	.quiz-result__actions .btn { flex: 1 1 100%; justify-content: center; text-align: center; }
	.quiz-task { padding: var(--space-4); }
	.quiz-task__steps, .quiz-task__read { margin-left: 0; }
	.quiz-tools .btn { flex: 1 1 calc(50% - .6rem); justify-content: center; }
}
/* Quiz entry points (Resources, Contact, Services, blog) */
.quiz-teaser { display: grid; grid-template-columns: 1fr auto; gap: var(--space-5); align-items: center; padding: var(--space-6); background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--gold-deep); }
.quiz-teaser__label { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--gold-deep); margin: 0 0 .4rem; }
.quiz-teaser__title { font-size: clamp(1.25rem, .8vw + 1rem, 1.6rem); line-height: 1.25; margin: 0 0 .4rem; }
.quiz-teaser p { margin: 0; }
.quiz-teaser__text { font-size: var(--fs-small); color: var(--ink-2); }
@media (max-width: 760px) { .quiz-teaser { grid-template-columns: 1fr; } .quiz-teaser .btn { justify-self: start; } }
.nowrap { white-space: nowrap; }
.quiz-link { font-size: var(--fs-small); color: var(--ink-2); margin: var(--space-4) 0 0; }
.section--quiz-teaser { padding-bottom: 0; }
.form .quiz-link { margin: 0 0 var(--space-5); }

@media print {
	.site-header, .site-footer, .cta-band, .article-cta { display: none; }
	.route-quiz .page-hero, .route-quiz .skip-link, .quiz-tools, .quiz-tools__status, .quiz-result__actions, .quiz-plan__progress .quiz__bar { display: none !important; }
	.route-quiz .quiz { border: 0; padding: 0; background: #fff; }
	.route-quiz .quiz-section { padding: 0; }
	.route-quiz .quiz-result::before { content: "MARFILENA BOOKS — marfilena.com"; display: block; font: 600 9pt/1 var(--sans); letter-spacing: .2em; color: #7A5C34; border-bottom: 1px solid #B89B72; padding-bottom: 8pt; margin-bottom: 14pt; }
	.quiz-task { break-inside: avoid; background: #fff; opacity: 1 !important; }
	.quiz-task a { color: #231F20; }
	.quiz-task__read a::after { content: " (" attr(href) ")"; font-size: 8pt; color: #6A6264; word-break: break-all; }
	body { background: #fff; }
}

/* ===== Link-in-bio page (/liens/, /en/links/) — standalone, mobile first ===== */
.route-links { background: var(--ivory); }
.bio { max-width: 34rem; margin: 0 auto; min-height: 100vh; min-height: 100dvh; padding: 1rem 1.25rem 2.5rem; display: flex; flex-direction: column; }
.bio__top { display: flex; justify-content: flex-end; }
.bio .lang-switch__item { min-width: 46px; min-height: 40px; }
.bio__head { text-align: center; padding: 1.25rem 0 2rem; }
.bio__brand { display: inline-flex; flex-direction: column; align-items: center; gap: .85rem; text-decoration: none; color: var(--ink); }
.bio__brand img { width: 54px; height: auto; }
.bio__brand span { font-family: var(--sans); font-weight: 600; font-size: .75rem; letter-spacing: .32em; text-transform: uppercase; }
.bio__title { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 8.5vw, 2.65rem); line-height: 1.12; letter-spacing: -0.01em; color: var(--ink); margin: 1.75rem 0 1rem; text-wrap: balance; }
.bio__lede { font-family: var(--sans); font-size: 1rem; line-height: 1.6; color: var(--ink-2); margin: 0 auto; max-width: 30rem; }
.bio__links { display: grid; gap: .75rem; }
.bio-link { display: flex; align-items: center; gap: 1rem; min-height: 4.75rem; padding: 1rem 1.15rem; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--gold); color: var(--ink); text-decoration: none; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.bio-link:hover, .bio-link:focus-visible { border-color: var(--gold); box-shadow: 0 6px 18px rgba(35, 31, 32, .07); transform: translateY(-1px); }
.bio-link:active { transform: translateY(0); }
.bio-link__num { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--gold-deep); min-width: 1.6rem; }
.bio-link__text { flex: 1; display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.bio-link__title { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; line-height: 1.25; }
.bio-link__desc { font-family: var(--sans); font-size: .875rem; line-height: 1.45; color: var(--ink-2); }
.bio-link .icon-arrow { flex: none; color: var(--gold-deep); }
.bio__foot { margin-top: auto; padding-top: 2.5rem; text-align: center; }
.bio__social { list-style: none; margin: 0 0 1.25rem; padding: 0; display: flex; justify-content: center; gap: .5rem; }
.bio__social a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); border: 1px solid var(--line); transition: color .2s ease, border-color .2s ease; }
.bio__social a:hover, .bio__social a:focus-visible { color: var(--gold-deep); border-color: var(--gold); }
.bio__tagline { font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--gold-deep); margin: 0 0 .5rem; }
.bio__site { font-family: var(--sans); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); text-decoration: none; }
.bio__site:hover { color: var(--ink); }
@media (min-width: 640px) {
	.bio { padding-top: 2rem; }
	.bio__head { padding: 2rem 0 2.5rem; }
	.bio-link { padding: 1.15rem 1.4rem; }
}
@media (prefers-reduced-motion: reduce) { .bio-link { transition: none; } .bio-link:hover { transform: none; } }

/* ===== Solutions Éditeurs (/solutions-editeurs/) — same design system, slightly more institutional ===== */
.pub-hero { background: var(--night); color: var(--on-night-muted); padding: clamp(4rem, 9vw, 8rem) 0 clamp(3.5rem, 7vw, 6rem); }
.pub-hero .eyebrow { color: var(--gold); }
.pub-hero h1 { color: var(--on-night); max-width: 16ch; margin-bottom: var(--space-4); }
.pub-hero__subtitle { font-family: var(--serif); font-style: italic; font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.4; color: var(--gold); max-width: 40ch; margin: 0 0 var(--space-5); }
.pub-hero__intro { max-width: 62ch; font-size: 1.0625rem; line-height: 1.75; margin: 0 0 var(--space-6); }
.pub-lede { max-width: 66ch; color: var(--ink-2); margin: var(--space-4) 0 0; }
.pub-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pub-card { background: var(--ivory); padding: clamp(1.5rem, 2.5vw, 2.25rem); }
.pub-card__num { display: block; font-family: var(--serif); font-style: italic; color: var(--gold-deep); margin-bottom: var(--space-3); }
.pub-card__title { font-size: 1.25rem; margin: 0 0 .5rem; }
.pub-card p, .pub-training__item p { margin: 0; color: var(--ink-2); font-size: var(--fs-small); line-height: 1.65; }
.pub-cols { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
.pub-subhead { font-family: var(--sans); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 var(--space-4); }
.pub-subhead__note { font-weight: 400; letter-spacing: .04em; text-transform: none; color: var(--muted); margin-left: .35rem; }
.pub-list li { line-height: 1.6; }
.pub-box { background: var(--paper); border: 1px solid var(--line); padding: clamp(1.25rem, 2.5vw, 1.75rem); }
.pub-box + .pub-box { margin-top: var(--space-4); }
.pub-box--rule { border-left: 3px solid var(--gold); }
.pub-box p { margin: 0 0 .75rem; }
.pub-box p:last-child { margin-bottom: 0; }
.pub-small { font-size: var(--fs-small); color: var(--muted); }
.pub-actions { margin-top: clamp(2rem, 3vw, 2.75rem); }
.pub-training { list-style: none; margin: 0 0 clamp(2.5rem, 4vw, 3.5rem); padding: 0; border-top: 1px solid var(--line-strong); }
.pub-training__item { display: grid; grid-template-columns: 3rem 1fr; gap: var(--space-4); padding: var(--space-5) 0; border-bottom: 1px solid var(--line); }
.pub-training__item .pub-card__num { margin: .15rem 0 0; font-size: 1.15rem; }
.pub-badge { display: inline-block; font-family: var(--sans); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); border: 1px solid var(--gold); padding: .3rem .7rem; margin: 0 0 .9rem !important; }
.pub-box--soon { background: transparent; border-style: dashed; }
.steps--4 { grid-template-columns: repeat(4, 1fr); }
.pub-price { max-width: 760px; }
.pub-price p { max-width: 64ch; }
.pub-form fieldset.pub-cond { border: 1px solid var(--line); padding: var(--space-4) var(--space-5) var(--space-2); margin: 0 0 var(--space-5); }
.pub-form fieldset.pub-cond legend { font-family: var(--sans); font-size: var(--fs-xs); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); padding: 0 .5rem; }
.pub-form .checks { grid-template-columns: 1fr 1fr; }
.field__label { font-weight: 600; font-size: var(--fs-small); color: var(--ink); margin: 0 0 .5rem; }
.pub-note { margin: 0; padding: var(--space-4) var(--space-5); border-left: 3px solid var(--gold); background: var(--paper); }
.pub-note--inline { margin: 0 0 var(--space-5); font-size: var(--fs-small); }
.section--pub-note { padding-top: 0; }
@media (max-width: 900px) {
	.pub-grid { grid-template-columns: 1fr 1fr; }
	.pub-cols { grid-template-columns: 1fr; }
	.steps--4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.pub-grid { grid-template-columns: 1fr; }
	.pub-form .checks { grid-template-columns: 1fr; }
	.pub-form fieldset.pub-cond { padding: var(--space-4); }
	.pub-hero .btn-row .btn { width: 100%; justify-content: center; }
}
@media (max-width: 800px) { .steps--4 { grid-template-columns: 1fr; } }
