/* Klidi design layer (2026-10-29), from the rebuild's app/globals.css. Same palette and type as the theme;
   adds the motion, the new sections and the block styles listed in inc/klidi.php. */

:root {
	--cd-bg: var(--wp--preset--color--background, #f7f4ed);
	--cd-ink: var(--wp--preset--color--primary-text, #0a0a0c);
	--cd-accent: var(--wp--preset--color--accent, #297ce2);
	--cd-accent-light: var(--wp--preset--color--accent-light, #e5e9ed);
	--cd-gutter: var(--wp--preset--spacing--50, 1.5rem);
	/* Easings from klidi.ai: a soft ease-out and a spring with a touch of overshoot */
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
	--ease-spring: linear(0, 0.006, 0.025 2.8%, 0.101 6.1%, 0.539 18.9%, 0.721 25.3%, 0.849 31.5%, 0.937 38.1%, 0.968 41.8%, 0.991 45.7%, 1.006 50.1%, 1.015 55%, 1.017 63.9%, 1.001 85.9%, 1);
}

html { scroll-padding-top: 5.5rem; }
:focus-visible { outline: 3px solid var(--cd-accent); outline-offset: 3px; }

/* ---------- Header: stays on top, solid with a hairline once the page scrolls ---------- */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 30; }
.admin-bar .wp-site-blocks > header.wp-block-template-part { top: var(--wp-admin--admin-bar--height, 32px); }
.site-header { transition: box-shadow 0.4s var(--ease-out), background-color 0.4s var(--ease-out); }
html[data-scrolled] .site-header { background-color: color-mix(in srgb, var(--cd-bg) 88%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgb(10 10 12 / 0.08); }
.cd-lang { font-size: var(--wp--preset--font-size--body-small); font-weight: 600; color: var(--cd-ink); text-decoration: none; white-space: nowrap; }
/* The menu holds more items now (Entreprises, Soutenir, the language): one line each, tighter below 1500 px, burger below 1340 px */
.site-nav a { white-space: nowrap; }
@media (max-width: 1500px) {
	.site-nav, .site-header-right { gap: 1.1rem; }
	.site-header-left { gap: 1.5rem; }
	.site-nav a { font-size: 0.95rem; }
}
@media (max-width: 1340px) {
	.burger-toggle { display: flex; }
	.site-header-left .site-nav, .site-header-right .site-nav { display: none; }
}
.cd-lang:hover { color: var(--cd-accent); }
.mobile-nav .cd-lang { font-size: inherit; }
.footer-org { margin: 0; font-size: var(--wp--preset--font-size--body-small); opacity: 0.8; }

/* ---------- Type ---------- */
/* Headings are bold, as in the Figma text styles (the theme left some at regular weight) */
.wp-block-heading { font-weight: 700; }
.cd-title { text-transform: uppercase; line-height: 1.1; font-weight: 700; }
.cd-lead { font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem) !important; line-height: 1.4; font-weight: 600; color: var(--cd-accent); max-width: 44rem; margin: 0; }
.cd-hero-title { font-size: clamp(3rem, 1.2rem + 7vw, 9.5rem) !important; line-height: 1.05; font-weight: 700; text-transform: uppercase; max-width: 14ch; margin-top: 1.5rem; letter-spacing: -0.01em; }
.cd-eyebrow { display: flex; align-items: center; gap: 0.5rem; font-size: var(--wp--preset--font-size--body-small); font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--cd-accent); margin: 0; }
.cd-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.cd-muted { opacity: 0.8; }

/* ---------- Hand-drawn ornaments behind one word, as on the live site ---------- */
.ornament-word { position: relative; display: inline-block; isolation: isolate; }
.ornament-word > .ornament { position: absolute; z-index: -1; pointer-events: none; left: 50%; transform: translateX(-50%); max-width: none; height: auto; }
.ornament-word > .ornament.underline { width: 115%; bottom: -0.12em; }
.ornament-word > .ornament.circle { width: 135%; top: 50%; transform: translate(-50%, -52%); }
.ornament.pen { aspect-ratio: 369 / 182; overflow: visible; transition: transform 0.6s var(--ease-spring); }
.ornament.pen.jolt { transform: translate(-50%, -52%) scale(1.07, 0.93) rotate(-3deg) !important; transition-duration: 0.18s; }

/* ---------- Moving letters (js/klidi.js) ---------- */
.push-word { display: inline-block; white-space: nowrap; }
.push-char { display: inline-block; will-change: transform; }

/* ---------- Buttons: block styles Noir, Contour, Blanc; the arrow slides; magnetic pull through --mx/--my ---------- */
.wp-block-button__link, .btn, .nav-cta { transform: translate3d(var(--mx, 0px), var(--my, 0px), 0); transition: transform 0.5s var(--ease-spring), background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out); }
.wp-block-button .wp-block-button__link { border-radius: 4px; padding: 0.9rem 1.5rem; font-weight: 500; line-height: 1.2; text-decoration: none; }
.wp-block-button.is-style-cd-dark .wp-block-button__link { background: var(--cd-ink); color: #fff; }
.wp-block-button.is-style-cd-dark .wp-block-button__link:hover { background: var(--cd-accent); color: #fff; }
.wp-block-button.is-style-cd-outline .wp-block-button__link { background: transparent; color: var(--cd-ink); border: 1.5px solid var(--cd-ink); }
.wp-block-button.is-style-cd-outline .wp-block-button__link:hover { background: var(--cd-ink); color: #fff; }
.wp-block-button.is-style-cd-light .wp-block-button__link { background: #fff; color: var(--cd-ink); }
.wp-block-button.is-style-cd-light .wp-block-button__link:hover { background: var(--cd-ink); color: #fff; }
.wp-block-button.cd-arrow .wp-block-button__link::after, .btn-arrow { content: "→"; display: inline-block; margin-left: 0.5rem; transition: transform 0.4s var(--ease-spring); }
.btn-arrow { margin-left: 0.25rem; }
.wp-block-button.cd-arrow .wp-block-button__link:hover::after, .btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------- Cards and lists ---------- */
.is-style-cd-card { background: #fff; border-radius: 8px; padding: 2rem; }
.is-style-cd-card-outline { border: 1px solid rgb(10 10 12 / 0.15); border-radius: 8px; padding: 1.5rem; }
.card-lift { transition: transform 0.5s var(--ease-spring), box-shadow 0.5s var(--ease-out), background-color 0.3s, color 0.3s; }
.card-lift:hover { transform: translateY(-6px); box-shadow: 0 18px 40px -18px rgb(10 10 12 / 0.25); }
.is-style-cd-checks { list-style: none; padding-left: 0; }
.is-style-cd-checks li { position: relative; padding-left: 1.5rem; }
.is-style-cd-checks li + li { margin-top: 0.5rem; }
.is-style-cd-checks li::before { content: "✓"; position: absolute; left: 0; color: var(--cd-accent); }
.cd-dashes { list-style: none; padding-left: 0; }
.cd-dashes li { position: relative; padding: 0 0 0.75rem 1.75rem; border-bottom: 1px solid rgb(10 10 12 / 0.1); }
.cd-dashes li + li { margin-top: 0.75rem; }
.cd-dashes li::before { content: "—"; position: absolute; left: 0; color: var(--cd-accent); }
.cd-price { color: var(--cd-accent); font-weight: 700; margin: 0; }

/* ---------- Home: hero ---------- */
.cd-hero { min-height: calc(100svh - 5rem); display: grid; align-content: center; }
.cd-hero .wp-block-columns { margin-top: 2.5rem; }
.cd-hero-text > * { margin-block: 0; }
.cd-hero-text > .cd-hero-title { margin-top: 1.5rem; }
.cd-hero-stamp { position: relative; justify-self: center; }
.cd-hero-stamp img { width: 220px; height: auto; }
.cd-hero-stamp::before { content: ""; position: absolute; left: -6rem; bottom: 1.5rem; width: 88px; aspect-ratio: 88 / 60; background: url(../../../uploads/ornaments/arrow.svg) center / contain no-repeat; display: none; }
@media (min-width: 1024px) {
	.cd-hero-stamp img { width: 340px; }
	.cd-hero-stamp::before { display: block; }
}

/* ---------- Home: press logos marquee ---------- */
.cd-press { border-block: 1px solid rgb(10 10 12 / 0.1); }
.cd-press .cd-eyebrow { display: flex; justify-content: center; color: var(--cd-ink); opacity: 0.6; }
.cd-press .cd-eyebrow::before { display: none; }
.cd-marquee { overflow: hidden; flex-wrap: nowrap !important; padding-block: 0.5rem; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.cd-marquee .wp-block-image, .marquee-row .wp-block-image { margin: 0; flex-shrink: 0; }
.cd-marquee img { height: 36px; width: auto; max-width: 140px; object-fit: contain; opacity: 0.8; filter: grayscale(1); transition: opacity 0.3s, filter 0.3s; }
.cd-marquee img:hover { opacity: 1; filter: none; }
.marquee-track { display: flex; width: max-content; animation: cd-marquee var(--marquee-dur, 50s) linear infinite; }
.cd-marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-row { display: flex; align-items: center; gap: 3.5rem; padding-right: 3.5rem; flex-shrink: 0; }
@keyframes cd-marquee { to { transform: translateX(-50%); } }

/* ---------- Figures, proof, steps ---------- */
.cd-numbers > .wp-block-column { border-top: 1px solid var(--cd-ink); padding-top: 1.25rem; }
.cd-number { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 5rem); line-height: 1.1; font-weight: 700; color: var(--cd-accent); margin: 0; font-variant-numeric: tabular-nums; }
.cd-number + p { font-weight: 700; line-height: 1.4; margin-top: 0.5rem; max-width: 16rem; }
.cd-proof { border-block: 1px solid var(--cd-ink); padding-block: 1.5rem; gap: 1.5rem !important; }
.cd-proof p { margin: 0; }
.cd-proof p:first-child { font-size: var(--wp--preset--font-size--body-small); color: var(--cd-accent); }
.cd-proof p:last-child { font-weight: 700; line-height: 1.4; }
.cd-proof a { color: inherit; text-decoration: none; }
.cd-proof a:hover { color: var(--cd-accent); }
.cd-step-num { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 5rem); line-height: 1; font-weight: 700; color: var(--cd-accent); margin: 0; }

/* ---------- Guides row ([cd_guides]): laid out for the number of published guides ---------- */
.cd-guides { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cd-guides--2, .cd-guides--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .cd-guides--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .cd-guides--4 { grid-template-columns: repeat(4, 1fr); } }
.cd-guide-card { display: flex; flex-direction: column; height: 100%; border-radius: 8px; overflow: hidden; background: #fff; color: var(--cd-ink); text-decoration: none; }
.cd-guide-card:hover { background: var(--cd-ink); color: #fff; }
.cd-guide-img { display: flex; align-items: center; justify-content: center; height: 168px; padding: 1.25rem; background: var(--cd-accent-light); }
.cd-guide-img img { max-height: 100%; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.cd-guide-body { display: flex; flex-direction: column; gap: 0.75rem; flex: 1; padding: 1.75rem; }
.cd-guide-num { font-size: clamp(1.5rem, 1.25rem + 0.75vw, 2rem); font-weight: 700; color: var(--cd-accent); }
.cd-guide-title { font-size: 1.5rem; line-height: 1.3; font-weight: 700; }
.cd-guide-text { font-size: var(--wp--preset--font-size--body-small); opacity: 0.8; }
.cd-guide-more { margin-top: auto; padding-top: 1rem; font-size: var(--wp--preset--font-size--body-small); font-weight: 600; color: var(--cd-accent); }
.cd-guide-card:hover .cd-guide-more { color: #fff; }
/* One guide: heading and intro on the left, one tall card on the right, so the row never looks half empty */
.cd-guides-head > * { margin-block: 0; }
.cd-guides-head h2 { margin-top: 0.75rem; }
.cd-guides-intro { max-width: 40rem; margin-top: 1rem !important; }
@media (min-width: 900px) {
	.cd-guides-section:has(.cd-guides--1) { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 26rem); column-gap: 4rem; align-items: center; }
	.cd-guides-section:has(.cd-guides--1) > * { max-width: none !important; margin: 0 !important; }
}
.cd-guides--1 .cd-guide-img { height: 220px; }
.cd-guides--1 .cd-guide-more { align-self: flex-start; padding: 0.9rem 1.5rem; margin-top: 1rem; border-radius: 4px; background: var(--cd-ink); color: #fff; font-size: 1rem; font-weight: 500; }
.cd-guides--1 .cd-guide-card:hover .cd-guide-more { background: #fff; color: var(--cd-ink); }

/* ---------- FAQ: the "Details" blocks ---------- */
.cd-faq .wp-block-details { border-bottom: 1px solid rgb(10 10 12 / 0.15); padding-block: 1.5rem; margin: 0; max-width: 800px; }
.cd-faq .wp-block-details summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; font-size: 1.5rem; line-height: 1.3; font-weight: 700; }
.cd-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.cd-faq .wp-block-details summary::after { content: "+"; color: var(--cd-accent); flex-shrink: 0; }
.cd-faq .wp-block-details[open] summary::after { content: "–"; }
.cd-faq .wp-block-details > :not(summary) { margin-top: 0.75rem; }

/* ---------- Floating call to action ---------- */
.floating-cta { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 40; display: flex; justify-content: center; transition: transform 0.6s var(--ease-spring), opacity 0.3s var(--ease-out); }
.floating-cta[data-show="false"] { transform: translate3d(0, 140%, 0); opacity: 0; pointer-events: none; }
.floating-cta-pill { display: flex; width: 100%; align-items: center; gap: 0.5rem; padding: 0.375rem; border-radius: 999px; background: #fff; box-shadow: 0 10px 30px -10px rgb(10 10 12 / 0.35); }
.floating-cta-main { flex: 1; padding: 0.75rem 1.25rem; border-radius: 999px; background: var(--cd-ink); color: #fff; text-align: center; font-weight: 500; text-decoration: none; }
.floating-cta-main:hover { background: var(--cd-accent); color: #fff; }
.floating-cta-alt { display: none; padding: 0.75rem 1rem; border-radius: 999px; color: var(--cd-ink); font-weight: 500; text-decoration: none; }
.floating-cta-alt:hover { color: var(--cd-accent); }
@media (min-width: 640px) {
	.floating-cta { left: auto; right: 1.5rem; bottom: 1.5rem; }
	.floating-cta-pill { width: auto; }
	.floating-cta-main { flex: none; }
}
@media (min-width: 768px) { .floating-cta-alt { display: block; } }

/* Text for screen readers only: a heading's words stay readable while its letters are split and hidden from them */
.cd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Reveals: content is hidden only once the head script has confirmed JavaScript runs ---------- */
@media (prefers-reduced-motion: no-preference) {
	.js .cd-reveal, .js .cd-reveal-fade, .js .cd-reveal-scale { opacity: 0; transform: translate3d(0, 32px, 0); transition: opacity 0.9s var(--ease-out), transform 1.2s var(--ease-spring); transition-delay: var(--d, 0ms); }
	.js .cd-reveal-fade { transform: none; }
	.js .cd-reveal-scale { transform: scale(0.92) rotate(-4deg); }
	.js .cd-reveal[data-in], .js .cd-reveal-fade[data-in], .js .cd-reveal-scale[data-in] { opacity: 1; transform: none; }
	/* Hand-drawn ornaments draw themselves in, left to right */
	.js .ornament:not(.pen) { clip-path: inset(-20% 100% -20% 0); transition: clip-path 1s cubic-bezier(0.65, 0.05, 0.2, 1) 0.35s; }
	.js .ornament:not(.pen)[data-in] { clip-path: inset(-20% -5% -20% 0); }
	/* The hero stamp turns slowly with the scroll (--scroll set in JS) */
	.cd-hero-stamp img { transform: rotate(calc(-8deg + var(--scroll, 0) * 0.08deg)); }
}
.reveal-all .cd-reveal, .reveal-all .cd-reveal-fade, .reveal-all .cd-reveal-scale { opacity: 1 !important; transform: none !important; }
.reveal-all .ornament { clip-path: none !important; }
@media (prefers-reduced-motion: reduce) {
	.marquee-track { animation: none; }
	.cd-marquee { flex-wrap: wrap !important; mask-image: none; -webkit-mask-image: none; }
}

/* ---------- The letter cursor (mouse only, switched on by js/klidi.js) ---------- */
.cursor-ring, .cursor-dot { position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none; opacity: 0; transition: opacity 0.2s; display: none; }
html.stamp-cursor .cursor-ring, html.stamp-cursor .cursor-dot { display: block; }
html.stamp-cursor, html.stamp-cursor * { cursor: none !important; }
html.stamp-cursor :is(input:not([type="submit"]), textarea, select) { cursor: auto !important; }
.cursor-ring { font-family: Inter, system-ui, sans-serif; font-weight: 700; font-size: 34px; line-height: 1; color: var(--cd-accent); transition: opacity 0.2s, color 0.25s; text-shadow: 0 0 1px rgb(255 255 255 / 0.6); }
.cursor-ring.is-hover { color: var(--cd-ink); }
.cursor-ring.pop { animation: cd-letter-pop 0.32s var(--ease-spring); }
@keyframes cd-letter-pop { 0% { filter: blur(1.5px); opacity: 0.4; } 100% { filter: none; opacity: 1; } }
.cursor-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--cd-ink); }
.stamp-marks { position: absolute; inset: 0 0 auto 0; height: 0; z-index: 90; pointer-events: none; }
.stamp-mark { position: absolute; width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--cd-accent); -webkit-mask: var(--stamp) center / contain no-repeat; mask: var(--stamp) center / contain no-repeat; animation: cd-stamp-press 1.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }
@keyframes cd-stamp-press {
	0% { transform: rotate(var(--r)) scale(1.35); opacity: 0; }
	12% { transform: rotate(var(--r)) scale(0.96); opacity: 0.9; }
	20% { transform: rotate(var(--r)) scale(1); opacity: 0.85; }
	100% { transform: rotate(var(--r)) scale(1); opacity: 0; }
}

/* ---------- Justine's change list (2026-10-29) ---------- */
/* "Soutenir" in the menu: an outline button next to Contact */
.site-nav a.nav-support, .mobile-nav a.nav-support { border: 1.5px solid var(--cd-ink); border-radius: 4px; padding: 0.35rem 0.9rem; }
.site-nav a.nav-support:hover, .mobile-nav a.nav-support:hover { background: var(--cd-ink); color: #fff; }

/* Home: three ways in under the title; the whole card is the link */
.cd-entries { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-top: 2.5rem; }
@media (min-width: 768px) { .cd-entries { grid-template-columns: repeat(3, 1fr); } }
.cd-entry { position: relative; margin: 0 !important; padding: 1.5rem; border-radius: 8px; background: #fff; transition: transform 0.5s var(--ease-spring), box-shadow 0.5s var(--ease-out), background-color 0.3s, color 0.3s; }
.cd-entry:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -18px rgb(10 10 12 / 0.25); background: var(--cd-ink); color: #fff; }
.cd-entry h3 { margin: 0; }
.cd-entry h3 a { color: inherit; text-decoration: none; }
.cd-entry h3 a::after { content: ""; position: absolute; inset: 0; border-radius: 8px; }
.cd-entry h3 a:focus-visible { outline: none; }
.cd-entry:has(a:focus-visible) { outline: 3px solid var(--cd-accent); outline-offset: 3px; }
.cd-entry p { margin: 0.5rem 0 0; opacity: 0.85; }

/* Companies that trust Certified Dyslexic, above the press logos */
.cd-trust-logos { gap: 1.5rem 3.5rem !important; margin: 1rem 1rem 2.25rem !important; align-items: center; }
.cd-trust-logos .wp-block-image { margin: 0; }
.cd-trust-logos img { height: 30px; width: auto; filter: grayscale(1); opacity: 0.75; transition: opacity 0.3s, filter 0.3s; }
.cd-trust-logos img:hover { filter: none; opacity: 1; }

/* Cards with a text link at the bottom (About page) */
.cd-today .is-style-cd-card { height: 100%; display: flex; flex-direction: column; }
.cd-card-link { margin-top: auto !important; padding-top: 0.75rem; }
.cd-card-link a { color: var(--cd-accent); font-weight: 600; text-decoration: none; }
.cd-card-link a:hover { text-decoration: underline; }

/* Report figures: three across */
@media (min-width: 640px) { .cd-numbers-3 { flex-wrap: nowrap !important; } }

/* Newsletter, on every page above the footer */
.cd-newsletter { padding: 4rem var(--cd-gutter); }
.cd-newsletter h2 { margin: 0.75rem 0 0.5rem; }
.cd-newsletter .wpcf7 label { display: block; }
.cd-newsletter .wpcf7-acceptance label, .cd-report .wpcf7-checkbox label { display: flex; gap: 0.5rem; align-items: flex-start; font-size: var(--wp--preset--font-size--body-small); font-weight: 400; }
.cd-newsletter .wpcf7-list-item, .cd-report .wpcf7-list-item { margin: 0; }


/* ---------- Redesign of Entreprises and Soutenir (2026-10-29) ---------- */
.cd-center { text-align: center; justify-content: center; }
.wp-block-button.is-style-cd-accent .wp-block-button__link { background: var(--cd-accent); color: #fff; }
.wp-block-button.is-style-cd-accent .wp-block-button__link:hover { background: #fff; color: var(--cd-ink); }
.cd-text-link a { color: var(--cd-accent); font-weight: 600; text-decoration: none; }
.cd-text-link a:hover { text-decoration: underline; }
/* Cards in a row are the same height */
.cd-equal > .wp-block-column, .cd-stats > .wp-block-column, .cd-steps-row > .wp-block-column { display: flex; flex-direction: column; }
.cd-equal > .wp-block-column > .wp-block-group, .cd-stats > .wp-block-column > .wp-block-group, .cd-steps-row > .wp-block-column > .cd-step { flex: 1; }

/* Hero of the company page: what the company buys, as an e-mail with the stamp in the signature */
.cd-mail { position: relative; background: #fff; border-radius: 8px; padding: 1.75rem 2rem 2rem; box-shadow: 0 24px 60px -24px rgb(10 10 12 / 0.28); }
.cd-mail > p { margin: 0; }
.cd-mail-bar { display: flex; align-items: center; gap: 0.5rem; font-size: var(--wp--preset--font-size--body-small); opacity: 0.7; padding-bottom: 0.75rem; }
.cd-mail-bar::before { content: ""; width: 42px; height: 10px; background: radial-gradient(circle, rgb(10 10 12 / 0.18) 4.5px, transparent 5px) 0 0 / 16px 10px repeat-x; }
.cd-mail-field { font-size: var(--wp--preset--font-size--body-small); opacity: 0.65; padding: 0.6rem 0; border-bottom: 1px solid rgb(10 10 12 / 0.1); }
.cd-mail-body { padding-top: 1rem; }
.cd-mail-signature { margin: 1.25rem 0 0 !important; padding-top: 1rem; border-top: 1px solid rgb(10 10 12 / 0.1); gap: 1rem !important; flex-wrap: nowrap !important; }
.cd-mail-sig { font-size: var(--wp--preset--font-size--body-small); line-height: 1.5; margin: 0; }
.cd-mail-sig a { color: var(--cd-accent); text-decoration: none; }
.cd-mail-stamp { margin: 0; }
.cd-mail-stamp img { width: 96px; height: 96px; }
.cd-mail::after { content: ""; position: absolute; left: -5.5rem; bottom: 2.5rem; width: 88px; aspect-ratio: 88 / 60; background: url(../../../uploads/ornaments/arrow.svg) center / contain no-repeat; transform: rotate(-12deg); display: none; }
@media (min-width: 1100px) { .cd-mail::after { display: block; } }

/* Figures in white cards (company page) */
.cd-stats .is-style-cd-card { padding: 1.75rem; }
.cd-stats .cd-number { font-size: clamp(2.25rem, 1.6rem + 2vw, 3.25rem); }
.cd-stats .cd-number + p { font-weight: 700; margin-top: 0.5rem; }

/* The offer: two steps of the same height, an arrow between them, one total */
.cd-steps-row { margin-top: 2.5rem !important; gap: 1.25rem !important; align-items: stretch !important; }
.cd-step { display: flex; flex-direction: column; gap: 1.1rem; padding: 2.5rem !important; }
.cd-step > * { margin: 0 !important; }
.cd-badge { padding: 0.3rem 0.7rem; border-radius: 4px; background: var(--cd-accent); color: #fff; font-size: 0.875rem; font-weight: 600; }
.cd-badge-dark { background: var(--cd-ink); }
@media (max-width: 600px) { .cd-step { padding: 1.75rem !important; } }
.cd-step-arrow { width: 56px; height: 64px; margin: 0 auto !important; background: url(../img/line-triangle.svg) center / contain no-repeat; }
@media (max-width: 781px) { .cd-step-arrow { transform: rotate(90deg); } }
.cd-total { margin-top: 1.5rem !important; padding: 2rem 2.5rem; border-radius: 8px; background: var(--cd-ink); color: #fff; }
.cd-total h3, .cd-total p { margin: 0; color: #fff; }
.cd-total p { opacity: 0.7; margin-top: 0.35rem; }

/* After Magic UI's "Border Beam" (magicui.design, MIT), rebuilt in plain CSS for WordPress: a light runs around the
   border of the required step. Magic UI moves a gradient along offset-path; here a conic gradient turns through an
   animated custom property. Off with reduced motion. */
.cd-beam { position: relative; isolation: isolate; }
.cd-beam::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid transparent; pointer-events: none; z-index: 1;
	-webkit-mask: linear-gradient(transparent, transparent) padding-box, linear-gradient(#fff, #fff) border-box; mask: linear-gradient(transparent, transparent) padding-box, linear-gradient(#fff, #fff) border-box;
	-webkit-mask-composite: source-in; mask-composite: intersect;
	background: conic-gradient(from var(--cd-beam-angle, 0deg), transparent 0 72%, var(--cd-accent) 86%, #8fc0ff 92%, transparent 100%) border-box;
	animation: cd-beam 6s linear infinite; }
@property --cd-beam-angle { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes cd-beam { to { --cd-beam-angle: 360deg; } }
@media (prefers-reduced-motion: reduce) { .cd-beam::before { animation: none; background: linear-gradient(var(--cd-accent), var(--cd-accent)) border-box; } }

/* Framework and sponsoring: two cards, the sponsoring one in blue */
.cd-equal .is-style-cd-card { display: flex; flex-direction: column; gap: 1rem; }
.cd-equal .is-style-cd-card > * { margin: 0 !important; }
.cd-sponsor { background: var(--cd-accent) !important; color: #fff; }
.cd-sponsor .cd-eyebrow, .cd-sponsor h2, .cd-sponsor p { color: #fff; }
.cd-tier { height: 100%; padding: 1.1rem 1.25rem; border-radius: 8px; background: rgb(0 0 0 / 0.16); }
.cd-tier p { margin: 0; }
.cd-tier-name { font-weight: 700; }

/* Donation page: the campaign posters with the stamp */
.cd-posters { position: relative; min-height: 470px; }
.cd-poster { position: absolute; margin: 0 !important; width: 220px; border: 10px solid #fff; border-radius: 6px; box-shadow: 0 24px 50px -22px rgb(10 10 12 / 0.4); }
.cd-poster img { display: block; width: 100%; height: auto; aspect-ratio: 460 / 748; object-fit: cover; }
.cd-poster-1 { left: 8%; top: 0; transform: rotate(-5deg); z-index: 2; }
.cd-poster-2 { right: 6%; top: 40px; transform: rotate(6deg); }
.cd-poster-stamp { position: absolute; margin: 0 !important; left: 0; bottom: -10px; width: 150px; z-index: 3; transform: rotate(-12deg); }
.cd-poster-stamp img { width: 150px; height: 150px; }
@media (max-width: 781px) { .cd-posters { min-height: 380px; } .cd-poster { width: 170px; } }

/* Uses with a picture on top; the messages people send */
.cd-use-img { display: flex; align-items: center; justify-content: center; height: 170px; margin: -2rem -2rem 0.5rem !important; padding: 1.25rem; border-radius: 8px 8px 0 0; background: var(--cd-accent-light); overflow: hidden; }
.cd-use-img img { max-height: 100%; width: auto; object-fit: contain; }
.cd-messages-img { margin: 0; }
.cd-messages-img img { width: 100%; height: auto; aspect-ratio: 720 / 496; }
.cd-sup-messages .is-style-cd-card { padding: 1rem; }
.cd-sup-messages .is-style-cd-card:hover { transform: none; box-shadow: none; }


/* ---------- frontend-design pass (2026-10-29): quieter, fewer boxes, labels in sentence case ---------- */
.cd-label { margin: 0; text-align: center; font-size: var(--wp--preset--font-size--body-small); opacity: 0.65; }
.cd-press .cd-label + .cd-trust-logos { margin-top: 0.75rem !important; }
.cd-step-top { display: flex; align-items: center; gap: 0.9rem; }
.cd-step-top > * { margin: 0 !important; }
.cd-step .cd-step-num { font-size: 3rem; line-height: 1; }
.cd-ruled { height: 100%; padding-top: 1.25rem; border-top: 1.5px solid var(--cd-ink); }
.cd-ruled > * { margin: 0 0 0.6rem !important; }
.cd-today > .wp-block-column { display: flex; flex-direction: column; }
.cd-caption { margin: 1.25rem 0 0 !important; max-width: 34rem; opacity: 0.7; }
.cd-uses .cd-use-img { margin: 0 0 1.25rem !important; border-radius: 8px; height: 190px; }
.cd-uses h3 { margin: 0 0 0.4rem; }
.cd-uses p { margin: 0; max-width: 32ch; }
.cd-ent-problem .wp-block-columns { align-items: baseline !important; }
.cd-ent-problem p + p { margin-top: 1rem; }
@media (max-width: 1100px) { .cd-sponsor .wp-block-columns { flex-direction: column; } .cd-sponsor .wp-block-column { flex-basis: auto !important; } }
.cd-step-top .cd-price { margin-left: auto !important; white-space: nowrap; line-height: 1; }
.cd-step .cd-step-stamp { margin: auto 0 0 auto !important; width: 8.5rem; }


/* ==========================================================================
   Justine's notes (2026-10-30): bold, solid, large type; black, blue and beige only; every button blue; cards with
   rhythm instead of black-and-white lines; the hand-drawn blue line as the signature. Her brief replaces the quieter
   pass of 2026-10-29 where they differ (design/DESIGN-PLAN.md).
   ========================================================================== */
:root { --cd-accent-deep: #17539f; --cd-line: url(../img/line-card-1.svg); }

/* Type */
body { font-weight: 500; }
.wp-block-heading, .cd-title, .cd-hero-title { font-weight: 800; letter-spacing: -0.015em; }
.has-body-large-font-size { font-weight: 500; line-height: 1.5; }
.cd-strong { font-weight: 800; }
.cd-hero-title { font-size: clamp(2.5rem, 0.9rem + 5vw, 6.25rem) !important; max-width: none; margin: 0; line-height: 1.05; }
.cd-hero-lead { max-width: 40rem; }
.cd-muted, .cd-caption, .cd-label, .cd-entry p, .cd-guide-text { opacity: 1; }
.cd-logos-title { text-align: center; text-transform: uppercase; margin: 0 var(--cd-gutter) 1.5rem !important; }
.cd-title.has-display-2-font-size { overflow-wrap: anywhere; }

/* Every button is blue. On a blue band the button turns white, or it would vanish */
.wp-block-button .wp-block-button__link,
.wp-block-button.is-style-cd-dark .wp-block-button__link,
.wp-block-button.is-style-cd-accent .wp-block-button__link,
.wp-block-button__link.has-primary-text-background-color,
.wp-block-button__link.has-background,
.wpcf7 input[type="submit"], .floating-cta-main, .nav-cta { background: var(--cd-accent) !important; color: #fff !important; font-weight: 700; }
.wp-block-button .wp-block-button__link:hover,
.wp-block-button.is-style-cd-dark .wp-block-button__link:hover,
.wp-block-button.is-style-cd-accent .wp-block-button__link:hover,
.wpcf7 input[type="submit"]:hover, .floating-cta-main:hover, .nav-cta:hover { background: var(--cd-accent-deep) !important; color: #fff !important; }
.wp-block-button.is-style-cd-outline .wp-block-button__link { background: transparent !important; color: var(--cd-accent) !important; border: 2px solid var(--cd-accent); }
.wp-block-button.is-style-cd-outline .wp-block-button__link:hover { background: var(--cd-accent) !important; color: #fff !important; }
.wp-block-button.is-style-cd-light .wp-block-button__link { background: #fff !important; color: var(--cd-accent) !important; }
.wp-block-button.is-style-cd-light .wp-block-button__link:hover { background: var(--cd-bg) !important; color: var(--cd-accent-deep) !important; }
.site-nav a.nav-support, .mobile-nav a.nav-support { border-color: var(--cd-accent); color: var(--cd-accent); font-weight: 700; }
.site-nav a.nav-support:hover, .mobile-nav a.nav-support:hover { background: var(--cd-accent); color: #fff; }

/* The hand-drawn outline: a line stretched over the card, three versions so no two neighbours match */
.is-style-cd-card, .cd-entry, .cd-guide-card, .cd-mini-step, .cd-path-step, .ressource-card, .press-card, .cd-press-card, .cd-numbers > .wp-block-column {
	background: var(--cd-line) 0 0 / 100% 100% no-repeat !important; border: 0 !important; border-radius: 14px; box-shadow: none; }
:is(.cd-entry, .cd-mini-step, .cd-path-step, .ressource-card, .press-card, .cd-press-card, .wp-block-column, .cd-guides > li):nth-child(3n + 2) { --cd-line: url(../img/line-card-2.svg); }
:is(.cd-entry, .cd-mini-step, .cd-path-step, .ressource-card, .press-card, .cd-press-card, .wp-block-column, .cd-guides > li):nth-child(3n) { --cd-line: url(../img/line-card-3.svg); }
.cd-guides > li { list-style: none; }
.cd-numbers > .wp-block-column { padding: 1.5rem !important; }
.cd-number + p { font-weight: 600; }
.is-style-cd-card { padding: 2.25rem; }

/* Home: three ways in. Blue on hover, titles stay readable */
.cd-entry { padding: 1.75rem; }
.cd-entry:hover { transform: translateY(-4px); box-shadow: none; background: var(--cd-accent) !important; color: #fff; }
.cd-entry h2 { margin: 0; font-weight: 800; }
.cd-entry h2 a { color: inherit; text-decoration: none; }
.cd-entry h2 a::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.cd-entry h2 a:focus-visible { outline: none; }
.cd-entry:hover h2 a { color: #fff; }

/* Logos: larger */
.cd-press { border: 0; }
.cd-trust-logos img { height: 42px; }
.cd-marquee img { height: 46px; max-width: 170px; opacity: 1; }
.cd-press .cd-trust-logos { margin-bottom: 3.5rem !important; }

/* Guides and the three steps */
.cd-guide-card { background-color: transparent; color: var(--cd-ink); }
.cd-guide-card:hover { background: var(--cd-accent) !important; color: #fff; }
.cd-guide-img { background: transparent; }
.cd-guide-card .cd-guide-more, .cd-guides--1 .cd-guide-more { align-self: flex-start; padding: 0.9rem 1.5rem; margin-top: 1rem; border-radius: 4px; background: var(--cd-accent); color: #fff; font-size: 1rem; font-weight: 700; }
.cd-guide-card:hover .cd-guide-more, .cd-guides--1 .cd-guide-card:hover .cd-guide-more { background: #fff; color: var(--cd-accent); }
.cd-mini-steps { display: grid; gap: 1rem; margin-top: 2rem; }
.cd-mini-step { display: grid; grid-template-columns: 4.5rem 1fr; align-items: center; padding: 1.5rem 2rem 1.5rem 1rem; }
.cd-mini-step > * { grid-column: 2; margin: 0 !important; }
.cd-mini-step p:last-child { margin-top: 0.4rem !important; }
.cd-mini-step .cd-step-num { grid-column: 1; grid-row: 1 / span 2; margin: 0 !important; font-size: 3.5rem; font-weight: 800; text-align: center; }
/* Title across the top; the card beside the steps, same top and bottom */
@media (min-width: 900px) {
	.cd-guides-section:has(.cd-guides--1) { align-items: stretch !important; row-gap: 2rem; }
	.cd-guides-section:has(.cd-guides--1) .cd-guides-head { display: contents; }
	.cd-guides-section:has(.cd-guides--1) .cd-guides-head h2 { grid-column: 1 / -1; margin: 0 !important; }
	.cd-guides-section:has(.cd-guides--1) .cd-mini-steps { margin: 0; }
	/* An outline's inset grows with its card: pulled out so the tall card's line meets the short ones' */
	.cd-guides-section:has(.cd-guides--1) .cd-guides { margin-block: -6px !important; }
	.cd-guides--1 > li { height: 100%; }
	.cd-guides--1 .cd-guide-card .cd-guide-more { margin-top: auto; }
}

/* About: her journey as squares, the hard years in black, the end in blue */
.cd-path { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); margin-top: 2.5rem !important; }
.cd-path-step { padding: 1.5rem; margin: 0 !important; }
.cd-path-step > * { margin: 0 !important; }
.cd-path-step h3 { color: var(--cd-accent); font-weight: 800; margin-bottom: 0.5rem !important; }
.cd-path-step.is-hard { background: var(--cd-ink) !important; color: #fff; }
.cd-path-step.is-hard h3 { color: #fff; }
.cd-path-step.is-win { background: var(--cd-accent) !important; color: #fff; }
.cd-path-step.is-win h3 { color: #fff; }
.cd-path-close { margin-top: 4rem !important; }
.cd-path-end { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 3.25rem) !important; line-height: 1.15; font-weight: 800; margin: 0; }
.cd-today .is-style-cd-card { height: 100%; display: flex; flex-direction: column; padding: 1.75rem; }
.cd-today .is-style-cd-card > * { margin: 0 0 0.75rem !important; }
.cd-card-cta { margin-top: auto !important; margin-bottom: 0 !important; padding-top: 0.75rem; }
.cd-numbers-3 .cd-number + p { max-width: none; }
.cd-numbers-3 .cd-number { font-size: clamp(2rem, 1.4rem + 1.6vw, 3rem); white-space: nowrap; }

/* Companies */
.cd-ent-problem .wp-block-columns { align-items: flex-start !important; }
.cd-frame-list { display: grid; gap: 0.75rem 3rem; margin-top: 1.5rem !important; }
@media (min-width: 782px) { .cd-frame-list { grid-template-columns: repeat(2, 1fr); } }
.cd-frame-list li + li { margin-top: 0 !important; }
.cd-total { background: var(--cd-accent); }
.cd-badge { background: var(--cd-accent) !important; color: #fff !important; }

/* Resources and press: cards with the line, names in bold where there's no logo */
.ressource-group { font-weight: 800; margin: 3.5rem 0 1.5rem !important; }
.ressource-group:first-child { margin-top: 0 !important; }
.ressource-card, .press-card { padding: 1.75rem !important; }
.ressource-name, .press-name, .cd-press-name { font-size: 1.5rem; font-weight: 800; line-height: 1.2; margin: 0; }
.cd-press-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); margin-block: 1.5rem; }
.cd-press-card { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.5rem; color: var(--cd-ink); text-decoration: none; font-weight: 600; font-size: var(--wp--preset--font-size--body-small); line-height: 1.35; }
.cd-press-card:hover { background: var(--cd-accent) !important; color: #fff; }
.cd-press-logo { display: flex; align-items: center; min-height: 44px; }
.cd-press-logo img { max-height: 40px; max-width: 130px; width: auto; }
.cd-press-card:hover img { filter: brightness(0) invert(1); }

/* Newsletter and report: a larger box, the whole line clickable, a blue hand-drawn confirmation */
.wpcf7 .wpcf7-list-item { margin: 0; display: block; }
.wpcf7 .wpcf7-list-item label { display: flex !important; align-items: flex-start; gap: 0.75rem; padding: 0.5rem 0; font-size: 1rem !important; font-weight: 500 !important; line-height: 1.4; cursor: pointer; }
.wpcf7 input[type="checkbox"] { flex: none; width: 1.75rem; height: 1.75rem; margin: 0; accent-color: var(--cd-accent); cursor: pointer; }
html.stamp-cursor .wpcf7-list-item, html.stamp-cursor .wpcf7-list-item * { cursor: pointer !important; }
.wpcf7 form .wpcf7-response-output { margin: 1.25rem 0 0; padding: 1.1rem 1.4rem; border: 0 !important; border-radius: 14px; }
.wpcf7 form.sent .wpcf7-response-output { background: url(../img/line-card-2.svg) 0 0 / 100% 100% no-repeat; color: var(--cd-accent); font-weight: 700; }
/* Sent: the form gives way to its answer, so nobody wonders whether it worked (Jean, 2026-11-05) */
.wpcf7 form.sent > :not(.wpcf7-response-output) { display: none !important; }
.wpcf7 form.sent .wpcf7-response-output { margin: 0; padding: 1.4rem 1.6rem; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.375rem); line-height: 1.35; color: var(--cd-ink); }
.wpcf7 form.sent .wpcf7-response-output::before { content: "✓"; display: block; margin-bottom: 0.35rem; font-size: 2rem; line-height: 1; color: var(--cd-accent); }
@media (prefers-reduced-motion: no-preference) { .wpcf7 form.sent .wpcf7-response-output { animation: cd-sent-in 0.6s var(--ease-spring) both; } }
@keyframes cd-sent-in { from { opacity: 0; transform: translateY(10px) scale(0.98); } }
.cd-newsletter h2 { font-weight: 800; }
.footer-org { max-width: 34rem; text-align: center; }

/* Critique after the first screenshots */
.cd-hero > * { width: 100%; max-width: 1280px; margin-inline: auto !important; }
.cd-hero-title .ornament.circle { width: 118%; }
.cd-entry p, .cd-mini-step p:not(.cd-step-num), .cd-path-step p, .cd-guide-text { font-size: 1rem !important; font-weight: 500; }
.has-accent-background-color :is(h1, h2, h3, h4), .has-accent-background-color .push-char { color: #fff; }
.wpcf7 select { width: 100%; padding: 0.875rem 1rem; border: 1px solid rgb(10 10 12 / 0.2); border-radius: 4px; background-color: #fff; font: inherit; color: inherit; }
@media (min-width: 1000px) { .ressources-grid-2cols { grid-template-columns: repeat(3, 1fr) !important; } }
.ressource-card .ressource-logo { margin: 0; min-height: 72px; display: flex; align-items: center; }
.ressource-card .ressource-logo img { max-height: 64px !important; max-width: 170px !important; width: auto !important; height: auto; object-fit: contain; }
.ressource-card .has-body-small-font-size { font-size: 1rem !important; }
/* Books (2026-11-05): the cover, as an object on the card, instead of a tool's logo */
.ressource-card .ressource-cover { margin: 0 0 1.25rem; height: 190px; display: flex; align-items: flex-end; }
.ressource-card .ressource-cover img { max-height: 190px; max-width: 100%; width: auto; height: auto; border-radius: 3px; filter: drop-shadow(0 10px 14px rgb(10 10 12 / 0.18)); }
.ressource-name { min-height: 72px; display: flex; align-items: center; }
.cd-uses > .wp-block-column { padding: 1.5rem; background: var(--cd-line) 0 0 / 100% 100% no-repeat; }
.cd-uses .cd-use-img { background: transparent; height: 170px; }
.cd-uses p { max-width: none; }
.single-post .wp-block-post-title { display: block !important; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.5rem); font-weight: 800; line-height: 1.1; }

/* White stamps (Justine's set, 2026-11-02) show on the ink colour, as they would in a dark e-mail */
.tampon-preview { border-radius: 8px; transition: background-color .2s; }
.tampon-preview.is-dark { background: var(--cd-ink); }

/* Newsletter confirmed (js: newsletterConfirmed) */
.cd-notice { position: fixed; top: 1.25rem; left: 50%; transform: translateX(-50%); z-index: 1000; margin: 0; box-sizing: border-box; width: max-content; max-width: min(36rem, calc(100vw - 2rem)); padding: 0.875rem 1.25rem; border-radius: 8px; background: var(--cd-ink); color: #fff; font-weight: 600; }

/* Qui sommes-nous: Ingvar Kamprad's card has no drawing and no quote (a fact, attributed), so it sits centred,
   text only, between the two portraits (Justine, 2026-11-05) */
.quote-card.quote-fact { justify-content: center; }
.quote-card.quote-fact .quote-block { width: auto; max-width: 44rem; flex: 0 1 44rem; }
