/* ColorLull — "an easy lull in your day".
   Design system for every page of the site (lot v1-design). No framework, no JavaScript,
   no external resource: fonts are OFL files served from /static/fonts/.
   The line art is the star: off-white paper, near-black ink, ONE accent color per page or
   per card (set --accent, or data-accent="sea|sage|clay|plum|ochre|berry" on any element).
   Every text color below passes WCAG AA (4.5:1) on --paper, --paper-2 and --sheet
   (checked by tests/site/test_design.py). */

/* ------------------------------------------------------------------ fonts */
@font-face { font-family: "Young Serif"; src: url("fonts/YoungSerif-Regular.woff2?v=1e9a34a5de") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/InstrumentSans-Regular.woff2?v=bec624bb00") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/InstrumentSans-Italic.woff2?v=e729c8a137") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/InstrumentSans-Bold.woff2?v=ba871bd461") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap; }

/* ------------------------------------------------------------------ tokens */
:root {
  /* color */
  --paper: #faf7f1;        /* page background, off-white paper */
  --paper-2: #f1ece2;      /* bands, quiet surfaces */
  --sheet: #ffffff;        /* frame behind line art (images are black on white) */
  --ink: #1e1c19;          /* text, line work: 15.9:1 on paper */
  --ink-2: #57524b;        /* secondary text: 7.2:1 on paper */
  --rule: #d9d1c3;         /* hairlines (decorative) */
  --rule-strong: #8f877b;  /* input borders, 3.3:1 on paper (non-text UI) */
  --accent: #2e5c77;       /* default accent "sea", 6.7:1 on paper */
  --accent-soft: #e7ecee;  /* fallback tint when color-mix() is unsupported */
  --on-accent: #ffffff;    /* text on a filled accent: >= 6:1 for every accent */
  --focus: #2e5c77;
  --brand: #b4532a;        /* ColorLull terracotta (logo, "Lull", home accents; user 2026-11-13): 4.66:1 on paper */

  /* type */
  --font-display: "Young Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text-xs: .8125rem;     /* 13px: kickers, fine print */
  --text-sm: .9375rem;     /* 15px: meta, nav */
  --text-md: 1.0625rem;    /* 17px: body */
  --text-lg: 1.1875rem;    /* 19px: lede */
  --h3: 1.25rem;           /* 20px */
  --h2: clamp(1.5rem, 1.2rem + 1.3vw, 2rem);         /* 24 -> 32px */
  --h1: clamp(2rem, 1.45rem + 2.6vw, 3.25rem);       /* 32 -> 52px */
  --display: clamp(2.5rem, 1.6rem + 4.4vw, 4.25rem); /* 40 -> 68px */
  --leading: 1.6;
  --leading-tight: 1.12;
  --measure: 38rem;        /* comfortable line length for prose */

  /* space (4px base) */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4.5rem;

  /* layout */
  --wrap: 72rem;           /* 1152px */
  --gutter: 1rem;          /* 16px side gutter on phones */
  --tile-min: 15rem;       /* big thumbnails: 1 column on phones, up to 4 on desktop */
  --tile-min-sm: 10rem;    /* compact grids (themes): 2 columns on phones */
  --radius: 6px;
  --radius-pill: 999px;
  --shadow-sheet: 0 1px 2px rgba(30, 28, 25, .08), 0 8px 24px -14px rgba(30, 28, 25, .35);
  --ease: 160ms ease;

  color-scheme: light;
}
@media (min-width: 48rem) { :root { --gutter: 1.5rem; } }

/* one accent per series / theme: data-accent on any element re-colors its subtree */
[data-accent="sea"]   { --accent: #2e5c77; --accent-soft: #e7ecee; }
[data-accent="sage"]  { --accent: #46663f; --accent-soft: #e8ece3; }
[data-accent="clay"]  { --accent: #a0452b; --accent-soft: #f3e6df; }
[data-accent="plum"]  { --accent: #6b4a76; --accent-soft: #ece6ec; }
[data-accent="ochre"] { --accent: #7e5d14; --accent-soft: #f0e9da; }
[data-accent="berry"] { --accent: #8a3b50; --accent-soft: #f1e4e5; }
@supports (background: color-mix(in srgb, red 10%, white)) {
  :root, [data-accent] { --accent-soft: color-mix(in srgb, var(--accent) 11%, var(--paper)); }
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 var(--text-md)/var(--leading) var(--font-text);
  text-rendering: optimizeLegibility; overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; }
img { display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: var(--leading-tight);
  margin: 0 0 var(--s-4); text-wrap: balance; }
p, ul, ol, dl, figure { margin: 0 0 var(--s-4); }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--accent-soft); color: var(--ink); }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: var(--s-2); top: -4rem; z-index: 10; background: var(--ink); color: var(--paper);
  padding: var(--s-2) var(--s-4); border-radius: var(--radius); text-decoration: none; }
.skip:focus { top: var(--s-2); color: var(--paper); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ------------------------------------------------------------------ masthead */
.masthead { border-bottom: 1px solid var(--rule); background: var(--paper); }
.masthead__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  column-gap: var(--s-5); row-gap: 0; padding-block: var(--s-3); }
.brand { display: inline-flex; align-items: center; gap: var(--s-2); color: var(--ink); text-decoration: none;
  min-height: 44px; }
.brand:hover { color: var(--ink); }
.brand__name { font-family: var(--font-display); font-size: 1.5rem; line-height: 1; letter-spacing: -.005em; white-space: nowrap; }
.brand__lull { color: var(--brand); }
.mark { flex: none; width: 2rem; height: 2rem; }
.mark__fill { fill: var(--brand); }
.mark__line { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

.nav { display: flex; gap: var(--s-1); overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--s-3)); }
.nav::-webkit-scrollbar { display: none; }
.nav a { flex: none; display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-3);
  color: var(--ink); text-decoration: none; font-size: var(--text-sm); font-weight: 700; border-radius: var(--radius); }
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: 3px; text-underline-offset: .45em; }
/* the nav scrolls sideways on phones (overflow clips an outer outline): draw focus inside */
.nav a:focus-visible { outline-offset: -3px; }
/* lot v6-media (recette 4 parcours c6): below ~390px the four entries no longer fit; they wrap
   onto a second row instead of being clipped by the hidden scrollbar */
@media (max-width: 24.4rem) {
  .nav { flex-wrap: wrap; overflow-x: visible; column-gap: 0; }
  .nav a { padding: 0 var(--s-2); }
}
@media (max-width: 40rem) {
  /* compact phone masthead (lot v3-mobile): brand and nav on two tight rows, ~96px instead of ~110px */
  .nav { flex-basis: 100%; }
  .masthead__row { padding-block: var(--s-1); }
  .brand__name { font-size: 1.3125rem; }
  .mark { width: 1.75rem; height: 1.75rem; }
  /* drawing pages: only the theme crumb on phones ("‹ Ocean Life"), one 44px row instead of two */
  .crumbs.crumbs--fp { padding-top: var(--s-2); }
  .crumbs--fp li:not(:nth-last-child(2)) { display: none; }
  /* decorative chevron: empty alt text so screen readers do not announce it (first line = fallback) */
  .crumbs--fp li:nth-last-child(2)::before { content: "\2039"; content: "\2039" / ""; color: var(--ink-2); }
}

/* ------------------------------------------------------------------ type helpers */
.kicker { font-family: var(--font-text); font-size: var(--text-xs); font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 var(--s-2); }
.kicker a { color: inherit; }
.hero__kicker { display: block; line-height: 1.5; }  /* kicker inside the home H1 (lot v4-seo) */
.display { font-size: var(--display); line-height: 1.04; letter-spacing: -.015em; margin-bottom: var(--s-4); }
.h1 { font-size: var(--h1); }
.h2 { font-size: var(--h2); }
.h3 { font-size: var(--h3); }
.lede { font-size: var(--text-lg); color: var(--ink-2); max-width: var(--measure); }
.meta, .fineprint { font-size: var(--text-sm); color: var(--ink-2); }
.fineprint { font-size: var(--text-xs); }
.empty { color: var(--ink-2); font-style: italic; }
.prose { max-width: var(--measure); }
.prose h2 { margin-top: var(--s-6); }
.prose h3 { font-size: var(--h3); margin-top: var(--s-5); }
.prose li + li { margin-top: var(--s-1); }
.prose img { border-radius: var(--radius); }
.prose blockquote { margin: var(--s-5) 0; padding-left: var(--s-4); border-left: 3px solid var(--accent); color: var(--ink-2); }

/* ------------------------------------------------------------------ sections */
.section { padding-block: var(--s-6); }
@media (min-width: 48rem) { .section { padding-block: var(--s-7); } }
.section + .section { padding-top: 0; }
.section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: var(--s-2) var(--s-4); margin-bottom: var(--s-5); }
.section__head .h2 { margin: 0; }
.more { font-weight: 700; font-size: var(--text-sm); }
.band { background: var(--paper-2); }
.band--accent { background: var(--accent-soft); }
.page-head { padding-bottom: var(--s-4); }
.page-head .lede { margin-bottom: 0; }

/* ------------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2); min-height: 48px;
  padding: var(--s-3) var(--s-5); border: 1.5px solid var(--ink); border-radius: var(--radius-pill);
  background: var(--ink); color: var(--paper); font: 700 var(--text-md)/1.2 var(--font-text); text-decoration: none;
  cursor: pointer; transition: background-color var(--ease), color var(--ease), transform var(--ease); }
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--accent-soft); border-color: var(--ink); color: var(--ink); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn--accent:hover { background: var(--ink); border-color: var(--ink); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin: var(--s-5) 0 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* ------------------------------------------------------------------ forms (shared; the e-mail gate uses these) */
.field { display: grid; gap: var(--s-1); margin-bottom: var(--s-4); }
.field label, .label { font-weight: 700; font-size: var(--text-sm); }
input[type="email"], input[type="text"], input[type="search"], textarea, select {
  width: 100%; min-height: 48px; padding: var(--s-3) var(--s-4); border: 1.5px solid var(--rule-strong);
  border-radius: var(--radius); background: var(--sheet); color: var(--ink); font: inherit; }
input:focus-visible, textarea:focus-visible, select:focus-visible { border-color: var(--focus); }
.check { display: flex; gap: var(--s-3); align-items: flex-start; font-size: var(--text-sm); }
.check input { width: 1.25rem; height: 1.25rem; margin: .15rem 0 0; accent-color: var(--accent); flex: none; }
.notice { padding: var(--s-4); border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: var(--radius); }
.error { color: #9b2c1f; font-weight: 700; }  /* 6.3:1 on paper */

/* ------------------------------------------------------------------ hero */
.hero { padding-block: var(--s-6) var(--s-7); }
.hero__grid { display: grid; gap: var(--s-6); align-items: center; }
@media (min-width: 52rem) { .hero__grid { grid-template-columns: 1.1fr .9fr; gap: var(--s-7); } }
.hero .lede { margin-bottom: var(--s-5); }
.hero__art { position: relative; justify-self: center; width: min(100%, 22rem); }
.hero__art .sheet:nth-child(2) { position: absolute; inset: 0; transform: rotate(4deg) translate(6%, 2%); z-index: -1; }
.hero__art .sheet:nth-child(2) img { opacity: .55; }

/* a sheet of paper holding line art: the star of every page */
.sheet { margin: 0; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius);
  box-shadow: var(--shadow-sheet); padding: 5%; }
.sheet img { width: 100%; }
.sheet--empty { aspect-ratio: 8.5 / 11; }
.hero__art { isolation: isolate; }

/* ------------------------------------------------------------------ grids and tiles */
.grid { display: grid; gap: var(--s-5) var(--s-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--tile-min)), 1fr));
  list-style: none; padding: 0; margin: 0; }
.grid--compact { grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--tile-min-sm)), 1fr)); gap: var(--s-4); }

.tile { position: relative; display: flex; flex-direction: column; gap: var(--s-2); }
.tile__media { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius);
  aspect-ratio: 8.5 / 11; display: grid; place-items: center; overflow: hidden; padding: 6%;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease); }
.tile__media img { width: 100%; height: 100%; object-fit: contain; }
.tile__title { font-family: var(--font-display); font-size: var(--h3); line-height: 1.25; margin: 0; }
.tile__title a { color: var(--ink); text-decoration: none; }
.tile__title a::after { content: ""; position: absolute; inset: 0; }  /* whole tile is the link */
.tile__meta { margin: 0; font-size: var(--text-sm); color: var(--ink-2); }
.tile__tag { align-self: flex-start; font-size: var(--text-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); margin: 0; }
.tile:hover .tile__media { border-color: var(--accent); box-shadow: var(--shadow-sheet); transform: translateY(-2px); }
.tile:hover .tile__title a { text-decoration: underline; text-decoration-color: var(--accent); }
.tile:focus-within .tile__media { border-color: var(--accent); }
.tile--theme .tile__media { aspect-ratio: 1; background: var(--accent-soft); border-color: transparent; }
.tile--theme .tile__media--blank::before { content: ""; width: 40%; aspect-ratio: 1; border: 2px solid var(--accent); border-radius: 50%; }
.tile--post .tile__media { aspect-ratio: 3 / 2; padding: 0; }
.tile--post .tile__media img { object-fit: cover; }
.tile__excerpt { margin: 0; color: var(--ink-2); font-size: var(--text-sm); }

/* book cards keep their own class names (tests and other lots rely on .card) */
.card { position: relative; display: flex; flex-direction: column; gap: var(--s-2); }
.card__link { color: var(--ink); text-decoration: none; display: flex; flex-direction: column; gap: var(--s-3); }
.card__link:hover { color: var(--ink); }
.card__link:hover .cover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-sheet); }
.card__title { font-size: var(--h3); line-height: 1.25; margin: 0; }
.card__link:hover .card__title { text-decoration: underline; text-decoration-color: var(--accent); }
.card__meta { margin: 0; font-size: var(--text-sm); color: var(--ink-2); }

/* covers: real cover art, or a typographic card built around one line-art page */
.cover { aspect-ratio: 8.5 / 11; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden;
  background: var(--sheet); transition: border-color var(--ease), transform var(--ease), box-shadow var(--ease); }
.cover__img { width: 100%; height: 100%; object-fit: cover; }
.cover--type { display: grid; grid-template-rows: 1fr auto; background: var(--sheet); }
.cover__art { display: grid; place-items: center; padding: 10% 12% 0; overflow: hidden; }
.cover__line { width: 100%; height: 100%; object-fit: contain; }
.cover__label { display: grid; gap: var(--s-1); padding: var(--s-3) var(--s-4) var(--s-4); background: var(--accent-soft);
  border-top: 3px solid var(--accent); }
.cover__series { font-size: var(--text-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.cover__title { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.2; color: var(--ink); }
.cover__author { font-size: var(--text-xs); color: var(--ink-2); }

/* chips (theme / series lists) */
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; padding: 0; margin: 0; }
.chip { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; padding: 0 var(--s-4);
  border: 1.5px solid var(--ink); border-radius: var(--radius-pill); color: var(--ink); text-decoration: none; font-weight: 700;
  font-size: var(--text-sm); background: var(--paper); }
.chip:hover { background: var(--accent-soft); color: var(--ink); }
.chip small { font-weight: 400; color: var(--ink-2); }

/* numbered steps ("how it works") */
.steps { display: grid; gap: var(--s-5); list-style: none; padding: 0; margin: 0; counter-reset: step; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; display: grid; gap: var(--s-1); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.25rem; height: 2.25rem;
  border: 1.5px solid var(--accent); border-radius: 50%; color: var(--accent); font-family: var(--font-display); font-size: 1.1rem; }
.steps h3 { font-size: var(--h3); margin: var(--s-2) 0 0; }
.steps p { margin: 0; color: var(--ink-2); }

/* ------------------------------------------------------------------ book page */
.crumbs { padding-top: var(--s-4); font-size: var(--text-sm); color: var(--ink-2); }
.crumbs a { color: var(--ink-2); }
.book { display: grid; gap: var(--s-6); padding-block: var(--s-5) var(--s-6); align-items: start; }
@media (min-width: 52rem) { .book { grid-template-columns: minmax(0, 26rem) 1fr; gap: var(--s-7); } }
.book__cover .cover { box-shadow: var(--shadow-sheet); }
/* CTA audit 2026-11-12: on phones a smaller cover keeps the buy buttons near the first screen */
@media (max-width: 51.99rem) { .book__cover { max-width: 15rem; margin-inline: auto; } }
.book__buy { margin-top: var(--s-4); }
.book__subtitle { font-size: var(--text-lg); color: var(--ink-2); margin-bottom: var(--s-2); }
.book__by { font-size: var(--text-sm); color: var(--ink-2); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr)); gap: var(--s-3) var(--s-5);
  margin: var(--s-5) 0; padding: var(--s-4) 0; border-block: 1px solid var(--rule); }
.facts dt { font-size: var(--text-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.facts dd { margin: 0; }

.buy-row { display: flex; flex-direction: column; gap: var(--s-3); }
@media (min-width: 30rem) { .buy-row { flex-direction: row; flex-wrap: wrap; } }
.buy { display: inline-flex; flex-direction: column; justify-content: center; min-height: 56px; padding: var(--s-3) var(--s-5);
  border: 1.5px solid var(--ink); border-radius: var(--radius); color: var(--ink); text-decoration: none; background: var(--paper);
  transition: background-color var(--ease), color var(--ease); }
.buy:hover { background: var(--accent-soft); color: var(--ink); }
.buy--primary { background: var(--ink); color: var(--paper); }
.buy--primary:hover { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.buy__label { display: inline-flex; align-items: center; gap: var(--s-2); font-weight: 700; }
.buy__label svg { width: 1em; height: 1em; flex: none; }
.buy__sub { font-size: var(--text-xs); opacity: .85; }
.buy-note { margin-top: var(--s-3); font-size: var(--text-xs); color: var(--ink-2); }

.gallery { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--tile-min)), 1fr));
  list-style: none; padding: 0; margin: 0; }
.gallery__item { margin: 0; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius); padding: 5%; }
.gallery__item a { display: grid; gap: var(--s-2); color: var(--ink); text-decoration: none; }
.gallery__img { width: 100%; }
.gallery__dl { font-weight: 700; font-size: var(--text-sm); text-align: center; color: var(--accent); }
.description { max-width: var(--measure); }
.try { display: grid; gap: var(--s-5); }
.try__img { width: 100%; }
.try__list { display: flex; flex-wrap: wrap; gap: var(--s-3); list-style: none; padding: 0; margin: 0; }

/* ------------------------------------------------------------------ breadcrumbs (every inner page) */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0 var(--s-2); list-style: none; padding: 0; margin: 0; }
.crumbs li { display: inline-flex; align-items: center; gap: var(--s-2); }
.crumbs li + li::before { content: "/"; color: var(--rule-strong); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; }
.crumbs [aria-current="page"] { color: var(--ink); }

/* ------------------------------------------------------------------ free coloring pages (moved from printables*.html) */
.fp-themes { margin-top: var(--s-5); }
.fp-themes a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.fp-themes a[aria-current="page"] small { color: inherit; }
.fp-card a { display: grid; gap: var(--s-2); color: var(--ink); text-decoration: none; }
.fp-card a:hover .fp-card__name { text-decoration: underline; text-decoration-color: var(--accent); }
.fp-card:hover { border-color: var(--accent); }
.fp-card:focus-within { border-color: var(--accent); }
.fp-card__name { display: block; font-family: var(--font-display); font-size: var(--text-md); line-height: 1.3; }

/* Drawing page (lot v3-mobile). DOM order: .fp-head (kicker, H1, "Get the free PDF" jump link),
   .fp-media (image), .fp-body (lede, facts, form #get-pdf). Phones read it in that order, so the
   offer sits above the fold on 390x844; from 56rem the grid areas put the image on the left. */
.fp-layout { display: grid; gap: var(--s-4); align-items: start; grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "head" "media" "cta" "body"; }
.fp-head { grid-area: head; }
.fp-side { grid-area: cta; display: grid; gap: var(--s-5); align-content: start; }
.fp-book { margin-top: 0; padding-top: var(--s-5); }
.fp-book__title { margin: 0 0 var(--s-1); }
.fp-book__lead { margin: 0 0 var(--s-3); color: var(--ink-2); font-size: var(--text-sm); }
/* after a download, gate.js shows the same offer inside the form: hide this copy */
.fp-side:has(.gate .gate-next) .fp-book { display: none; }
/* one-line book offer at the top of a drawing page (2026-11-13) */
.fp-from { display: flex; align-items: center; flex-wrap: wrap; gap: var(--s-2) var(--s-4); margin-top: var(--s-3);
  padding-block: var(--s-3); border-block: 1px solid var(--rule); }
.fp-from__cover { flex: none; width: 3.25rem; }
.fp-from__cover .cover { box-shadow: var(--shadow-sheet); }
.fp-from__name { flex: 1 1 14rem; margin: 0; font-weight: 700; }
.fp-from__sub { font-weight: 400; color: var(--ink-2); }
.fp-from__buy { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.fp-from .fp-from__btn { min-height: 52px; padding: var(--s-2) var(--s-5); }
.fp-from__note { flex-basis: 100%; margin: 0; }
@media (max-width: 39.99rem) {
  .fp-from { margin-top: 0; }
  .fp-from__cover { width: 2.75rem; }
  .fp-from__buy { flex: 1 1 100%; flex-direction: column; }  /* full labels: one button per row on phones */
}
.fp-media { grid-area: media; }
.fp-body { grid-area: body; }
.fp-head .h1 { margin-bottom: var(--s-3); }
.fp-jump { width: 100%; }
@media (min-width: 30rem) { .fp-jump { width: auto; } }
.fp-gate { scroll-margin-top: var(--s-4); }
.fp-gate:focus { outline: none; }
@media (max-width: 55.99rem) {
  .fp-layout { padding-top: var(--s-3); }
  /* keep the line art from pushing the form two screens down: at most ~55% of the viewport */
  .fp-view__img { max-height: 55vh; max-height: 55svh; object-fit: contain; }
}
@media (min-width: 56rem) {
  .fp-layout { grid-template-columns: 3fr 2fr; grid-template-rows: auto auto 1fr; column-gap: var(--s-7); row-gap: 0;
    grid-template-areas: "media head" "media cta" "body cta"; }
  .fp-body { margin-top: var(--s-5); }
  .fp-jump { display: none; }  /* the form is already in view, right under the title */
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
/* line art and colored example: stacked on phones, each at full width (lot v6-media,
   recette 4 parcours m5: side by side they were ~157px wide); side by side from 30rem */
.fp-view { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 30rem) { .fp-view--pair { grid-template-columns: 1fr 1fr; } }
.fp-view figure { margin: 0; }
.fp-view__line, .fp-view__colored { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius);
  box-shadow: var(--shadow-sheet); padding: 5%; }
.fp-view__img { width: 100%; height: auto; }
.fp-view figcaption { margin-top: var(--s-2); font-size: var(--text-sm); color: var(--ink-2); text-align: center; }
.fp-save { margin-top: var(--s-4); }
.fp-facts { padding-left: var(--s-5); color: var(--ink-2); }
.fp-facts li + li { margin-top: var(--s-1); }

/* ------------------------------------------------------------------ e-mail gate (moved from printable.html; JS: gate.js) */
.gate { display: grid; gap: var(--s-3); margin: var(--s-5) 0 0; padding: var(--s-5); background: var(--sheet);
  border: 1.5px solid var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-sheet); }
.gate--open { border: 0; box-shadow: none; background: transparent; padding: 0; }
.gate__title { font-size: var(--h3); margin: 0; }
.gate__lede { margin: 0; color: var(--ink-2); font-size: var(--text-sm); }
.gate__label { font-weight: 700; font-size: var(--text-sm); }
.gate__input { width: 100%; }
.gate__consent { display: flex; gap: var(--s-3); align-items: flex-start; font-size: var(--text-sm); color: var(--ink-2); }
.gate__consent-fine { display: block; margin-top: var(--s-1); font-size: var(--text-xs); }
.gate__consent strong { color: var(--ink); }
.gate__consent input { width: 1.25rem; height: 1.25rem; margin: .15rem 0 0; accent-color: var(--accent); flex: none; }
.gate__submit { width: 100%; }
@media (min-width: 30rem) { .gate__submit { width: auto; justify-self: start; } }
.gate__submit:disabled { opacity: .6; cursor: progress; transform: none; }
.gate__result { margin: 0; font-weight: 700; }
.gate__result:empty { display: none; }
.gate__result a { color: var(--accent); }
.gate__result--error { color: #9b2c1f; }  /* 6.3:1 on paper and on white */
.cf-turnstile { min-height: 65px; }

/* ------------------------------------------------------------------ blog (moved from blog.html / article.html) */
.posts { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-6); max-width: 46rem; }
.post { padding-bottom: var(--s-5); border-bottom: 1px solid var(--rule); }
.post__title { font-size: var(--h3); line-height: 1.25; margin: 0 0 var(--s-2); }
.post__title a { color: var(--ink); text-decoration: none; }
.post__title a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.post__meta { margin: 0 0 var(--s-2); color: var(--ink-2); font-size: var(--text-sm); }
.post__summary { margin: 0; }
.posts--compact { gap: var(--s-4); }
.posts--compact .post:last-child { border-bottom: 0; padding-bottom: 0; }

/* lot design-blog: guide cards (blog index, "More guides"): og-card preview, kicker, title */
.post-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-6) var(--s-5);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.post-card { position: relative; display: flex; flex-direction: column; gap: var(--s-3); margin: 0; }
.post-card__media { aspect-ratio: 1200 / 630; overflow: hidden; border: 1px solid var(--rule); border-radius: var(--radius);
  background: var(--paper-2); transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease); }
.post-card__img { width: 100%; height: 100%; object-fit: cover; }
.post-card__media--art { position: relative; display: grid; grid-template-rows: minmax(0, 1fr); place-items: center; isolation: isolate;
  background: var(--accent-soft); border-color: transparent; }
.post-card__media--art::before { content: ""; position: absolute; z-index: -1; width: 46%; aspect-ratio: 1; left: 50%; top: 50%;
  border-radius: 50%; background: var(--accent); opacity: .13; transform: translate(-30%, -42%); }
.post-card__media--art .sheet { height: 84%; padding: 3%; transform: rotate(-2.5deg); }
.post-card:nth-child(even) .post-card__media--art .sheet { transform: rotate(2deg); }
.post-card__media--art .post-card__art { width: auto; height: 100%; }
.post-card__media--photo { aspect-ratio: 4 / 3; border-color: transparent; }
.post-card__media--photo .post-card__img { object-position: 50% 42%; transition: transform .5s ease; }
.post-card:hover .post-card__media--photo .post-card__img { transform: scale(1.035); }
.post-card--featured .post-card__media--photo { aspect-ratio: 5 / 4; }
.post-card__kicker { margin: 0 0 var(--s-1); font-size: var(--text-xs); font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); }
.post-card__title { font-size: 1.3125rem; line-height: 1.25; margin: 0 0 var(--s-2); }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }  /* whole card is the link */
.post-card__summary { margin: 0 0 var(--s-2); color: var(--ink-2); font-size: var(--text-sm); }
.post-card__meta { margin: 0; color: var(--ink-2); font-size: var(--text-xs); }
.post-card:hover .post-card__media { border-color: var(--accent); box-shadow: var(--shadow-sheet); transform: translateY(-2px); }
.post-card:hover .post-card__title a { text-decoration: underline; text-decoration-color: var(--accent); }
.post-card:focus-within .post-card__media { border-color: var(--accent); }
.post-card__title a:focus-visible { outline: none; }
.post-card:focus-within { outline: 3px solid var(--focus); outline-offset: 6px; border-radius: var(--radius); }
.post-card:has(a:focus:not(:focus-visible)) { outline: none; }
@media (min-width: 48rem) {
  .post-card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: var(--s-6); align-items: center; padding-bottom: var(--s-6); border-bottom: 1px solid var(--rule); }
  .post-card--featured .post-card__title { font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.375rem); line-height: 1.12; }
  .post-card--featured .post-card__summary { font-size: var(--text-lg); }
  .post-card--featured .post-card__meta { font-size: var(--text-sm); }
}
.post-grid--compact .post-card__title { font-size: 1.1875rem; }
.blog-head { padding-bottom: 0; }
.section.blog-list { padding-top: var(--s-6); }
.blog-rss { margin-top: var(--s-4); }

/* article header: kicker, H1, standfirst, meta, tags and art on an accent-tinted band */
.article-head { background: var(--accent-soft); border-bottom: 1px solid var(--rule); }
.article-head .crumbs { padding-top: var(--s-2); }
.article-head__grid { display: grid; gap: var(--s-6); align-items: center; padding-block: var(--s-4) var(--s-7); }
@media (min-width: 56rem) {
  .article-head__grid { grid-template-columns: minmax(0, 1fr) 21rem; gap: var(--s-8); padding-block: var(--s-5) var(--s-8); }
  .article-head__grid--solo { grid-template-columns: minmax(0, 50rem); }
}
.article-head__title { font-size: clamp(2.125rem, 1.5rem + 2.6vw, 3.5rem); line-height: 1.08; letter-spacing: -.012em;
  margin-bottom: var(--s-4); }
.article-head__standfirst { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem); line-height: 1.5; color: var(--ink-2);
  max-width: 40rem; margin-bottom: var(--s-4); }
.article__meta { color: var(--ink-2); font-size: var(--text-sm); margin: var(--s-2) 0 0; }
.tags { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; padding: 0; margin: var(--s-4) 0 0; }
.tags li { padding: .2rem .7rem; border: 1px solid var(--rule-strong); border-radius: var(--radius-pill);
  background: var(--paper); color: var(--ink-2); font-size: var(--text-xs); font-weight: 700; }
.article-head__art { position: relative; justify-self: center; width: min(52%, 17rem); margin: 0; isolation: isolate; }
@media (min-width: 56rem) { .article-head__art { width: min(80%, 17rem); } }
.article__meta span { white-space: nowrap; }
@media (max-width: 40rem) {
  /* phones: the H1 right below already names the page; one crumbs row instead of three */
  .article-head .crumbs li:last-child { display: none; }
  .article-head__grid { gap: var(--s-5); padding-bottom: var(--s-6); }
}
.article-head__art::before { content: ""; position: absolute; inset: 8% -14% -6% 12%; z-index: -1; border-radius: 50%;
  background: var(--accent); opacity: .16; }
.article-head__art .sheet { transform: rotate(2.5deg); }
.article__hero { margin: 0; }
.article__hero img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-sheet); }

/* article body: sticky table of contents beside the prose. From 64rem the grid spans the whole
   .wrap (same edges as the article header): TOC on the left edge, prose fills the rest; the prose
   font grows a little on wide screens so lines stay readable (~75-85 characters). */
.article-layout { display: grid; gap: var(--s-5); padding-block: var(--s-5) var(--s-7); }
@media (min-width: 64rem) {
  .article-layout { grid-template-columns: 15rem minmax(0, 1fr); column-gap: var(--s-8); padding-top: var(--s-7); }
  .article-layout--solo { grid-template-columns: minmax(0, 52rem); justify-content: center; }
  .article-layout__side .toc { position: sticky; top: var(--s-5); max-height: calc(100vh - 2 * var(--s-5)); overflow-y: auto; }
}
.article { max-width: 44rem; min-width: 0; }
.toc { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--sheet); margin: 0; }
.toc__title { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); min-height: 48px;
  padding: var(--s-2) var(--s-4); margin: 0; font-size: var(--text-sm); font-weight: 700; cursor: pointer; list-style: none; }
.toc__title::-webkit-details-marker { display: none; }
.toc__title::after { content: ""; flex: none; width: .55rem; height: .55rem; margin-top: -.3rem; border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform var(--ease); }
.toc[open] .toc__title::after { transform: rotate(-135deg); margin-top: .3rem; }
.toc ol { list-style: none; counter-reset: toc; margin: 0; padding: 0 var(--s-4) var(--s-3); }
.toc li { counter-increment: toc; margin: 0; }
.toc a { display: grid; grid-template-columns: 1.75rem 1fr; padding: var(--s-2) 0; border-top: 1px solid var(--rule);
  color: var(--ink); text-decoration: none; font-size: var(--text-sm); line-height: 1.35; }
.toc a::before { content: counter(toc, decimal-leading-zero); padding-top: .1em; color: var(--accent); font-size: var(--text-xs);
  font-weight: 700; font-variant-numeric: tabular-nums; }
.toc a:hover { color: var(--accent); text-decoration: underline; }
.toc a[aria-current="true"] { color: var(--accent); font-weight: 700; }
.toc .toc__sub { list-style: circle; }
@media (min-width: 64rem) {
  .toc { border: 0; background: transparent; }
  .toc__title { min-height: 0; padding: 0 0 var(--s-2); font-size: var(--text-xs); letter-spacing: .12em; text-transform: uppercase;
    color: var(--ink-2); }
  .toc ol { padding: 0; }
}

/* prose: refined rhythm for long reads */
.article .prose { font-size: 1.125rem; line-height: 1.7; max-width: 40rem; }
@media (min-width: 64rem) {
  .article, .article .prose, .article .pin-save { max-width: none; }
  .article .prose { font-size: clamp(1.125rem, .9rem + .35vw, 1.1875rem); }
}
.article .prose > p:first-child { font-size: 1.25rem; line-height: 1.6; }
.article .prose p, .article .prose ul, .article .prose ol { margin-bottom: var(--s-5); }
.article .prose h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 1.875rem); margin: var(--s-7) 0 var(--s-4); }
.article .prose h2::before { content: ""; display: block; width: 2.5rem; height: 3px; margin-bottom: var(--s-4);
  border-radius: 2px; background: var(--accent); }
.article .prose h3 { font-size: 1.3125rem; margin: var(--s-6) 0 var(--s-3); }
.article .prose h2, .article .prose h3 { scroll-margin-top: var(--s-4); }
.article .prose ul, .article .prose ol { padding-left: 1.4em; }
.article .prose li { padding-left: .2em; }
.article .prose li + li { margin-top: var(--s-2); }
.article .prose li::marker { color: var(--accent); }
.article .prose ol > li::marker { font-weight: 700; }
.article .prose strong { color: var(--ink); }
.article .prose code { padding: .1em .35em; border-radius: 4px; background: var(--paper-2); font-size: .9em; }
.article .prose hr { border: 0; margin: var(--s-7) 0; text-align: center; color: var(--accent); }
.article .prose hr::after { content: "\2022\2003\2022\2003\2022"; }
.article .prose blockquote { margin: var(--s-6) 0; padding: var(--s-1) 0 var(--s-1) var(--s-5); border-left: 3px solid var(--accent);
  font-family: var(--font-display); font-size: 1.3125rem; line-height: 1.45; color: var(--ink); }
.article .prose blockquote p:last-child { margin-bottom: 0; }
.article .prose table { border-collapse: separate; border-spacing: 0; width: 100%; margin: var(--s-5) 0 var(--s-6);
  font-size: var(--text-sm); line-height: 1.5; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--sheet); }
/* lot v6-media (recette 4 parcours m1): on phones a wide table scrolls inside its own box,
   the page never scrolls sideways */
@media (max-width: 40rem) {
  .article .prose table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
.article .prose th, .article .prose td { border: 0; border-bottom: 1px solid var(--rule); padding: .65rem .9rem;
  text-align: left; vertical-align: top; }
.article .prose th { background: var(--accent-soft); color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--accent); }
.article .prose thead th:first-child { border-top-left-radius: var(--radius); }
.article .prose thead th:last-child { border-top-right-radius: var(--radius); }
.article .prose tbody tr:nth-child(even) td { background: var(--paper); }
.article .prose tbody tr:last-child td { border-bottom: 0; }
.article .prose td:first-child { font-weight: 700; }

/* content components (cf.site.components; writer's guide: docs/blog_sprint/COMPOSANTS.md) */
.cmp-icon { width: 1.15rem; height: 1.15rem; flex: none; }
.cmp-callout--tip { --accent: #7e5d14; --accent-soft: #f5efe2; }
.cmp-callout--note { --accent: #2e5c77; --accent-soft: #eaf0f2; }
.cmp-callout--try { --accent: #46663f; --accent-soft: #edf1e9; }
.article .prose .cmp-callout, .article .prose .cmp-takeaways { margin: var(--s-6) 0; padding: var(--s-4) var(--s-5);
  border-radius: var(--radius); font-size: 1.0625rem; line-height: 1.6; }
.cmp-callout { background: var(--accent-soft); border-left: 4px solid var(--accent); }
.cmp-callout__label { display: flex; align-items: center; gap: var(--s-2); margin: 0 0 var(--s-2); color: var(--accent);
  font-size: var(--text-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.article .prose .cmp-callout__label { margin-bottom: var(--s-2); font-size: var(--text-xs); }
.cmp-callout__body > :last-child, .article .prose .cmp-callout__body > :last-child { margin-bottom: 0; }
.article .prose .cmp-callout__body p, .article .prose .cmp-callout__body ul, .article .prose .cmp-callout__body ol { margin-bottom: var(--s-3); }
.cmp-takeaways { background: var(--sheet); border: 1px solid var(--rule); border-top: 4px solid var(--accent); box-shadow: var(--shadow-sheet); }
.article .prose .cmp-takeaways { padding: var(--s-5); }
.cmp-takeaways ul { list-style: none; padding-left: 0; }
.article .prose .cmp-takeaways ul { padding-left: 0; }
.cmp-takeaways li { position: relative; padding-left: 1.9rem; }
.article .prose .cmp-takeaways li { padding-left: 1.9rem; }
.cmp-takeaways li::before { content: ""; position: absolute; left: .35rem; top: .3em; width: .45rem; height: .85rem;
  border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(40deg); }

.cmp-palette { margin: var(--s-6) 0; padding: var(--s-4); background: var(--sheet); border: 1px solid var(--rule);
  border-radius: var(--radius); box-shadow: var(--shadow-sheet); }
@media (min-width: 40rem) { .cmp-palette { padding: var(--s-5); } }
.cmp-palette__title { margin: 0 0 var(--s-3); font-family: var(--font-display); font-size: 1.25rem; line-height: 1.25; }
.cmp-palette__strip { display: block; width: 100%; height: 3.25rem; margin-bottom: var(--s-4); border-radius: 4px;
  outline: 1px solid rgba(30, 28, 25, .14); outline-offset: -1px; }
.cmp-palette__list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-3) var(--s-4);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 8.5rem), 1fr)); }
.article .prose .cmp-palette__list { padding: 0; margin: 0; }
.article .prose .cmp-swatch, .cmp-swatch { display: flex; gap: var(--s-3); align-items: flex-start; margin: 0; padding: 0; }
.cmp-swatch__chip { width: 2.5rem; height: 2.5rem; flex: none; }
.cmp-swatch__text { display: grid; gap: .1rem; line-height: 1.3; min-width: 0; }
.cmp-swatch__name { font-size: var(--text-sm); font-weight: 700; }
.article .prose .cmp-swatch__hex, .cmp-swatch__hex { padding: 0; background: none; color: var(--ink-2); font-size: var(--text-xs); letter-spacing: .04em; }
.cmp-swatch__role { color: var(--ink-2); font-size: var(--text-xs); }

.cmp-figure { margin: var(--s-6) auto; max-width: 20rem; }
.cmp-figure__sheet { display: block; padding: 6%; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--radius);
  box-shadow: var(--shadow-sheet); transition: border-color var(--ease), transform var(--ease); }
.cmp-figure__sheet:hover { border-color: var(--accent); transform: translateY(-2px); }
.cmp-figure__img { width: 100%; height: auto; }
.cmp-figure__caption { margin-top: var(--s-3); color: var(--ink-2); font-size: var(--text-sm); line-height: 1.5; text-align: center; }
.cmp-figure__link { font-weight: 700; white-space: nowrap; }
.cmp-figure__link::after { content: " \2192"; }

.cmp-book { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: var(--s-4); align-items: center; margin: var(--s-6) 0;
  padding: var(--s-4); background: var(--accent-soft); border: 1px solid var(--rule); border-radius: calc(2 * var(--radius)); }
@media (min-width: 40rem) { .cmp-book { grid-template-columns: 9rem minmax(0, 1fr); gap: var(--s-5); padding: var(--s-5); } }
.cmp-book__cover { display: block; overflow: hidden; border-radius: 3px; box-shadow: var(--shadow-sheet); transform: rotate(-3deg);
  transition: transform var(--ease); }
.cmp-book__cover:hover { transform: rotate(-1deg) translateY(-2px); }
.cmp-book__img { width: 100%; height: auto; }
.article .prose .cmp-book p { margin: 0 0 var(--s-2); }
.cmp-book__kicker { color: var(--accent); font-size: var(--text-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.article .prose .cmp-book__kicker { font-size: var(--text-xs); }
.cmp-book__title { font-family: var(--font-display); font-size: 1.3125rem; line-height: 1.2; }
.article .prose .cmp-book__title { font-size: 1.3125rem; }
.cmp-book__title a { color: var(--ink); text-decoration: none; }
.cmp-book__title a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.article .prose .cmp-book__line { color: var(--ink-2); font-size: var(--text-sm); line-height: 1.5; }
.article .prose .cmp-book__meta { color: var(--ink-2); font-size: var(--text-xs); margin-bottom: var(--s-3); }
.cmp-book__btn { min-height: 44px; padding: var(--s-2) var(--s-4); font-size: var(--text-sm); }

.cmp-steps { margin: var(--s-6) 0; }
.cmp-steps__title { display: flex; align-items: center; gap: var(--s-2); color: var(--accent); font-size: var(--text-xs);
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.article .prose .cmp-steps__title { margin-bottom: var(--s-4); font-size: var(--text-xs); }
.article .prose .cmp-steps__list { list-style: none; counter-reset: cstep; padding: 0; margin: 0; }
.article .prose .cmp-steps__list > li { counter-increment: cstep; position: relative; margin: 0; padding: 0 0 var(--s-5) 3.5rem; }
.cmp-steps__list > li::before { content: counter(cstep); position: absolute; left: 0; top: -.1rem; display: grid; place-items: center;
  width: 2.375rem; height: 2.375rem; border-radius: 50%; background: var(--accent); color: var(--on-accent);
  font-family: var(--font-display); font-size: 1.125rem; line-height: 1; }
.cmp-steps__list > li::after { content: ""; position: absolute; left: calc(1.1875rem - 1px); top: 2.6rem; bottom: .35rem; width: 2px;
  border-radius: 1px; background: var(--rule); }
.article .prose .cmp-steps__list > li:last-child { padding-bottom: 0; }
.cmp-steps__list > li:last-child::after { display: none; }
.cmp-steps__list > li > p { margin-bottom: var(--s-2); }
.cmp-steps__list > li > strong:first-child, .cmp-steps__list > li > p:first-child > strong:first-child {
  display: block; margin-bottom: var(--s-1); font-family: var(--font-display); font-weight: 400; font-size: 1.1875rem; line-height: 1.3; }

.cmp-faq { margin: var(--s-7) 0 var(--s-5); }
.cmp-faq__item { padding: var(--s-4) 0; border-top: 1px solid var(--rule); }
.cmp-faq__item:last-child { border-bottom: 1px solid var(--rule); }
.article .prose .cmp-faq__q { margin: 0 0 var(--s-2); font-size: 1.1875rem; line-height: 1.35; }
.cmp-faq__a > :last-child, .article .prose .cmp-faq__a > :last-child { margin-bottom: 0; }

/* end of article: free pages and books band, CTA, "More guides" */
.article-more { border-block: 1px solid var(--rule); }
.article-more .section + .section { padding-top: 0; }
.section__head .kicker { margin-bottom: var(--s-1); }
.related { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.shelf { grid-template-columns: repeat(auto-fill, minmax(min(100%, 13rem), 15rem)); }
.cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4) var(--s-6);
  border: 1.5px solid var(--ink); border-radius: calc(2 * var(--radius)); padding: var(--s-5); max-width: 56rem;
  background: var(--accent-soft); }
.cta-box > div { flex: 1 1 20rem; }
.cta-box p { margin: 0 0 var(--s-2); }
.cta-box p:last-child { margin-bottom: 0; }
.cta-box__title { font-family: var(--font-display); font-size: 1.375rem; line-height: 1.25; }
h2.cta-box__title { margin: 0 0 var(--s-2); }
.cta-box .buy-row { flex: 1 1 18rem; }
/* CTA audit 2026-11-12: buy bar pinned to the bottom of phone screens (book page) */
.buy-bar { position: fixed; inset: auto 0 0 0; z-index: 20; display: flex; align-items: center; gap: var(--s-3);
  padding: var(--s-2) var(--gutter) calc(var(--s-2) + env(safe-area-inset-bottom, 0px));
  background: var(--paper); border-top: 1px solid var(--rule); box-shadow: 0 -4px 16px rgb(30 28 25 / .08); }
.buy-bar__name { flex: 1 1 auto; min-width: 0; margin: 0; font-weight: 700; font-size: var(--text-sm); line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.buy-bar__sub { display: block; font-weight: 400; font-size: var(--text-xs); color: var(--ink-2); }
.buy-bar__btn { flex: none; min-height: 48px; font-weight: 700; flex-direction: row; align-items: center; }
@media (max-width: 51.99rem) { body:has(.buy-bar) .footer { padding-bottom: 5.5rem; } }
@media (min-width: 52rem) { .buy-bar { display: none; } }
/* CTA audit 2026-11-12: next step shown after a free download (gate.js clones template[data-gate-next]) */
.gate-next { display: grid; grid-template-columns: 5.5rem 1fr; gap: var(--s-4); align-items: start; margin-top: var(--s-2);
  padding-top: var(--s-4); border-top: 1px solid var(--rule); }
.gate-next__cover .cover { box-shadow: var(--shadow-sheet); }
.gate-next__lead { margin: 0 0 var(--s-3); font-weight: 700; }
.gate-next .buy-row { flex-direction: column; }
.gate-next .more { display: inline-block; margin-top: var(--s-3); }
/* lot v10-blog: the article's own pin + Pinterest "Save" button */
.pin-save { display: flex; flex-wrap: wrap; gap: var(--s-5); align-items: center; max-width: 40rem;
  margin-top: var(--s-7); padding: var(--s-5); background: var(--paper-2); border-radius: calc(2 * var(--radius)); }
.pin-save__img { width: 7.5rem; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-sheet); transform: rotate(-2deg); }
.pin-save__text { flex: 1 1 14rem; }
.pin-save__text p { margin: 0 0 var(--s-3); }
.pin-save__title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.25; }

/* ------------------------------------------------------------------ about / 404 */
.notfound .actions { margin-top: var(--s-5); }
.notfound__art { width: min(16rem, 70%); margin-bottom: var(--s-5); }
.notfound__art .mark--xl { width: 100%; height: auto; }
.notfound__art .mark__line { stroke-width: 1.4; }

/* ------------------------------------------------------------------ footer */
.footer { margin-top: var(--s-7); border-top: 1px solid var(--rule); background: var(--paper-2); font-size: var(--text-sm); }
.footer__grid { display: grid; gap: var(--s-5); padding-block: var(--s-6) var(--s-4); }
@media (min-width: 48rem) { .footer__grid { grid-template-columns: 1fr auto; align-items: start; } }
.footer__brand { display: flex; align-items: center; gap: var(--s-2); margin: 0 0 var(--s-2);
  font-family: var(--font-display); font-size: 1.25rem; }
.footer__line { color: var(--ink-2); margin: 0; max-width: 28rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: 0 var(--s-1); margin-inline: calc(-1 * var(--s-2)); }
.footer nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-2); color: var(--ink); }
.footer__consent { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--s-2); color: var(--ink);
  background: none; border: 0; font: inherit; text-decoration: underline; cursor: pointer; }
/* consent banner (GA4 only, user decision 2026-11-13) */
.consent { position: fixed; inset-inline: var(--s-3); bottom: var(--s-3); z-index: 50; display: grid; gap: var(--s-3);
  max-width: 40rem; margin-inline: auto; padding: var(--s-4); background: var(--sheet, #fff); color: var(--ink);
  border: 1px solid var(--rule); border-radius: 12px; box-shadow: 0 8px 28px rgba(0, 0, 0, .12); font-size: var(--text-sm); }
.consent__text { margin: 0; }
.consent__actions { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.consent__actions .btn { flex: 1 1 8rem; }
.footer__fine { padding-block: var(--s-4) var(--s-5); border-top: 1px solid var(--rule); color: var(--ink-2); font-size: var(--text-xs); }
.footer__fine p { margin: 0 0 var(--s-1); }
.affiliate-notice { font-size: var(--text-xs); color: var(--ink-2); }
.newsletter { max-width: var(--measure); }

/* ------------------------------------------------------------------ motion & print */
/* lot blog-archi: topic chips, seasonal band, learning path, category rows, filters, hubs */
[hidden] { display: none !important; }
.topic-nav { margin-top: var(--s-5); padding-bottom: var(--s-6); }
.topic-nav__list { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; padding: 0; margin: 0; }
.topic-chip { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 44px; padding: 0 var(--s-4);
  border: 1px solid var(--rule-strong); border-radius: var(--radius-pill); background: var(--sheet); color: var(--ink);
  font-size: var(--text-sm); font-weight: 700; text-decoration: none; transition: background var(--ease), border-color var(--ease); }
.topic-chip::before { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--accent); flex: none; }
.topic-chip small { font-weight: 400; color: var(--ink-2); }
.topic-chip:hover { background: var(--accent-soft); border-color: var(--accent); }
.season { border-block: 1px solid var(--rule); }
.season__inner { display: grid; gap: var(--s-5); }
@media (min-width: 64rem) { .season__inner { grid-template-columns: 17rem minmax(0, 1fr); gap: var(--s-7); align-items: start; } }
.season__head .h2 { margin-bottom: var(--s-2); }
.season__blurb { margin: 0; color: var(--ink-2); }
.season__grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); }
.path-strip { list-style: none; margin: 0; padding: var(--s-2) 0 var(--s-4); display: grid; gap: var(--s-4);
  grid-auto-flow: column; grid-auto-columns: minmax(13.5rem, 1fr); overflow-x: auto; scroll-snap-type: x mandatory;
  counter-reset: path; }
.path-step { position: relative; display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-4);
  border: 1px solid var(--rule); border-radius: var(--radius); background: var(--sheet); scroll-snap-align: start;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease); }
.path-step:not(:last-child)::after { content: ""; position: absolute; top: 2.15rem; right: calc(-1 * var(--s-4) - 1px);
  width: var(--s-4); border-top: 2px dashed var(--rule-strong); }
.path-step__num { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); font-family: var(--font-display); font-size: 1.15rem; }
.path-step__media { position: absolute; top: var(--s-3); right: var(--s-3); width: 4.25rem; aspect-ratio: 1;
  display: grid; place-items: center; }
.path-step__media .sheet { padding: 4%; transform: rotate(3deg); }
.path-step__art { width: 100%; height: auto; }
.path-step__media--photo { position: relative; top: auto; right: auto; order: -1; width: auto; aspect-ratio: 4 / 3;
  margin: calc(-1 * var(--s-4)) calc(-1 * var(--s-4)) 0; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; }
.path-step__media--photo .path-step__art { height: 100%; object-fit: cover; object-position: 50% 42%; }
.path-step:has(.path-step__media--photo) .path-step__num { margin-top: calc(-1.25rem - var(--s-2)); position: relative;
  box-shadow: 0 0 0 3px var(--sheet); }
.path-step:has(.path-step__media--photo):not(:last-child)::after { display: none; }
.path-step__kicker { margin: var(--s-2) 0 0; font-size: var(--text-xs); font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent); }
.path-step__title { font-size: 1.0625rem; line-height: 1.3; margin: 0; }
.path-step__title a { color: var(--ink); text-decoration: none; }
.path-step__title a::after { content: ""; position: absolute; inset: 0; }
.path-step__meta { margin: auto 0 0; color: var(--ink-2); font-size: var(--text-xs); }
.path-step:hover { border-color: var(--accent); box-shadow: var(--shadow-sheet); transform: translateY(-2px); }
.path-step:hover .path-step__title a { text-decoration: underline; text-decoration-color: var(--accent); }
.path-step:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.path-step__title a:focus-visible { outline: none; }
@media (min-width: 72rem) { .path-strip { overflow: visible; grid-auto-columns: minmax(0, 1fr); } }
.cat-row + .cat-row { padding-top: 0; }
.cat-row__head { padding-top: var(--s-5); border-top: 3px solid var(--accent); }
.cat-row__head .h2 a { color: var(--ink); text-decoration: none; }
.cat-row__head .h2 a:hover { color: var(--accent); text-decoration: underline; }
.cat-row__blurb { margin: var(--s-1) 0 0; color: var(--ink-2); }
.filters { display: grid; gap: var(--s-3); margin-bottom: var(--s-6); padding: var(--s-4); border: 1px solid var(--rule);
  border-radius: var(--radius); background: var(--paper-2); }
.filters__group { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.filters__label { min-width: 4.5rem; font-size: var(--text-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.filter-chip { min-height: 44px; padding: 0 var(--s-4); border: 1px solid var(--rule-strong); border-radius: var(--radius-pill);
  background: var(--sheet); color: var(--ink); font: inherit; font-size: var(--text-sm); cursor: pointer;
  transition: background var(--ease), border-color var(--ease), color var(--ease); }
.filter-chip:hover { border-color: var(--ink); }
.filter-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); font-weight: 700; }
.filter-chip:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.filters__count { margin: 0; color: var(--ink-2); font-size: var(--text-sm); }
.filters__empty { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; color: var(--ink-2); }
.hub-head { display: grid; gap: var(--s-6); align-items: start; }
@media (min-width: 64rem) { .hub-head { grid-template-columns: minmax(0, 44rem) minmax(0, 20rem); justify-content: space-between; } }
.hub-intro { margin-top: var(--s-4); }
.hub-toc { padding: var(--s-5); border-radius: var(--radius); background: var(--accent-soft); border-top: 4px solid var(--accent); }
@media (min-width: 64rem) { .hub-toc { position: sticky; top: var(--s-5); margin-top: 4.5rem; } }
.hub-toc__title { margin: 0 0 var(--s-3); font-family: var(--font-display); font-size: 1.25rem; }
.hub-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: hubtoc; display: grid; gap: var(--s-3); }
.hub-toc li { counter-increment: hubtoc; display: grid; grid-template-columns: 1.75rem 1fr; font-size: var(--text-sm); line-height: 1.4; }
.hub-toc li::before { content: counter(hubtoc, decimal-leading-zero); color: var(--accent); font-weight: 700; font-size: var(--text-xs); padding-top: .15em; }
.hub-toc a { color: var(--ink); font-weight: 700; text-decoration-color: var(--rule-strong); }
.hub-toc a:hover { color: var(--accent); }
.hub-toc span { grid-column: 2; color: var(--ink-2); font-size: var(--text-xs); }
.hub-intro p:first-child { font-size: var(--text-lg); color: var(--ink); }
.hub-intro p { color: var(--ink-2); }
.start-with { counter-reset: start; }
.start-with .post-card__kicker::before { counter-increment: start; content: counter(start) " \00b7  "; }
.hub-cta { margin-top: var(--s-6); }
.path-bar { margin-top: var(--s-5); display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4);
  padding: var(--s-1) var(--s-2) var(--s-1) var(--s-4); border-radius: 1.5rem; background: var(--paper); border: 1px solid var(--rule); width: fit-content; max-width: 100%; }
.path-bar__label { margin: 0; font-size: var(--text-sm); font-weight: 700; color: var(--ink-2); }
.path-bar__label a { color: var(--accent); }
.path-bar__steps { display: flex; list-style: none; margin: 0; padding: 0; }
.path-bar__dot { display: grid; place-items: center; width: 28px; height: 44px; }
.path-bar__dot::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; border: 2px solid var(--accent); background: var(--paper); }
.is-done .path-bar__dot::before, .path-bar__dot.is-current::before { background: var(--accent); }
.path-bar__dot.is-current::before { width: 1rem; height: 1rem; box-shadow: 0 0 0 3px var(--accent-soft); }
a.path-bar__dot:hover::before { background: var(--accent-soft); }
@media (max-width: 40rem) {
  /* phones: compact rows (season, categories, start with) as thumbnail + text, two chips a line */
  .topic-chip { padding: 0 var(--s-3); font-size: var(--text-xs); }
  .season__grid, .cat-row .post-grid--compact, .start-with { gap: var(--s-4); }
  .season__grid .post-card, .cat-row .post-card, .start-with .post-card { flex-direction: row; align-items: center; gap: var(--s-4); }
  .season__grid .post-card__media, .cat-row .post-card__media, .start-with .post-card__media { flex: none; width: 7.5rem; aspect-ratio: 1; }
  .season__grid .post-card__title, .cat-row .post-card__title, .start-with .post-card__title { font-size: 1.0625rem; }
  .start-with .post-card__summary { display: none; }
}
.path-next { margin-top: var(--s-7); }
.path-next__card { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-4) var(--s-5); border: 1px solid var(--accent);
  border-radius: var(--radius); background: var(--accent-soft); color: var(--ink); text-decoration: none;
  transition: box-shadow var(--ease), transform var(--ease); }
.path-next__card:hover { box-shadow: var(--shadow-sheet); transform: translateY(-2px); }
.path-next__num { flex: none; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--accent); color: var(--on-accent); font-family: var(--font-display); font-size: 1.35rem; }
.path-next__text { display: grid; gap: var(--s-1); flex: 1; }
.path-next__kicker { font-size: var(--text-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.path-next__title { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.25; }
.path-next__arrow { flex: none; color: var(--accent); }
.path-next__prev { margin: var(--s-3) 0 0; font-size: var(--text-sm); color: var(--ink-2); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important;
    animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
  .tile:hover .tile__media, .card__link:hover .cover, .btn:hover { transform: none; }
  .post-card:hover .post-card__media, .cmp-figure__sheet:hover, .cmp-book__cover:hover { transform: none; }
  .path-step:hover, .path-next__card:hover, .post-card:hover .post-card__media--photo .post-card__img { transform: none; }
}
@media print {
  .masthead, .footer, .skip, .actions, .hero__cta, .buy-row, .buy-note { display: none; }
  .article-layout__side, .pin-save, .article-more, .cta-box { display: none; }
  .filters, .path-bar, .path-next { display: none; }
  body { background: #fff; }
}

/* bonus page (cf.site.bonus, 2026-11-12) */
.bonus-head .btn { margin-top: 1rem; }
.bonus-gallery { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
