/* ==========================================================================
   Sattva Homeo Care – core styles (loaded on every page)
   Design v2: navy #0A3558 · cream #F3ECE2 · Bricolage Grotesque + Hanken Grotesk

   1. Tokens          5. Header + mobile menu   9.  Shared inner-page parts
   2. Base            6. Media placeholders     10. Footer
   3. Typography      7. Shared cards           11. Mobile action bar
   4. Buttons         8. Appointment section    12. Motion helpers

   Header/footer:  assets/css/layout/header.css, footer.css (every page)
   Home sections:  assets/css/home/{section}.css   (loaded only if the section is on)
   Inner pages:    assets/css/pages/{page}.css     (loaded only on that page type)
   Brand values (--brand-*, --font-*, --fs-*) are printed from
   Clinic Settings → Design (inc/design.php) and override the fallbacks below.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
	color-scheme: light;

	--brand-primary: #0A3558;
	--brand-primary-dark: #061F36;
	--brand-bg: #F3ECE2;
	--brand-surface: #EAE1D3;
	--brand-card: #FBF8F3;
	--brand-tint: #DCE6EF;
	--brand-heading: #0A3558;
	--brand-text: #33404C;
	--brand-muted: #5B6672;
	--brand-accent: #C9973F;
	--brand-accent-text: #7E602E;
	--brand-on-dark: #F3ECE2;
	--font-head: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
	--font-body: "Hanken Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
	--heading-weight: 600;

	/* Font sizes in px (unitless): desktop / mobile */
	--fs-body: 18;  --fs-body-m: 16;
	--fs-lede: 20;  --fs-lede-m: 17;
	--fs-h1: 96;    --fs-h1-m: 46;
	--fs-ph1: 84;   --fs-ph1-m: 44;
	--fs-h2: 72;    --fs-h2-m: 38;
	--fs-h3: 28;    --fs-h3-m: 22;
	--fs-btn: 16;   --fs-btn-m: 15;

	/* Role tokens (light) */
	--navy: var(--brand-primary);
	--navy-deep: var(--brand-primary-dark);
	--navy-2: color-mix(in srgb, var(--brand-primary) 75%, #2a7fc4);
	--cream: var(--brand-on-dark);
	--bg: var(--brand-bg);
	--bg-2: var(--brand-surface);
	--card: var(--brand-card);
	--tint: var(--brand-tint);
	--ink: var(--brand-heading);
	--text: var(--brand-text);
	--muted: var(--brand-muted);
	--line: color-mix(in srgb, var(--ink) 14%, transparent);
	--accent: var(--brand-accent);
	--accent-text: var(--brand-accent-text);
	--on-navy: var(--brand-on-dark);
	--on-navy-muted: color-mix(in srgb, var(--brand-on-dark) 72%, var(--brand-primary));
	--navy-line: color-mix(in srgb, var(--brand-on-dark) 16%, transparent);
	--btn: var(--brand-primary);
	--btn-text: var(--brand-on-dark);
	--glass: color-mix(in srgb, var(--bg) 82%, transparent);
	/* Fixed light values for elements that always sit on cream (forms, cards on navy) */
	--paper: var(--brand-bg);
	--paper-ink: var(--brand-primary);
	--paper-text: var(--brand-text);
	--paper-muted: var(--brand-muted);

	--wrap: 1280px;
	--r-lg: 36px;
	--r-md: 24px;
	--header-h: 80px;
	--admin-bar: 0px;
	--ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* Automatic dark mode – built from the brand colours (switch off in Clinic Settings → Design) */
@media (prefers-color-scheme: dark) {
	:root:not(.no-dark) {
		color-scheme: dark;
		--bg: color-mix(in srgb, var(--brand-primary) 50%, #000);
		--bg-2: color-mix(in srgb, var(--brand-primary) 68%, #000);
		--card: color-mix(in srgb, var(--brand-primary) 80%, #000);
		--tint: color-mix(in srgb, var(--brand-primary) 80%, #4a90c8);
		--ink: var(--brand-on-dark);
		--text: color-mix(in srgb, var(--brand-on-dark) 86%, #000);
		--muted: color-mix(in srgb, var(--brand-on-dark) 64%, var(--brand-primary));
		--line: color-mix(in srgb, var(--brand-on-dark) 13%, transparent);
		--navy-deep: color-mix(in srgb, var(--brand-primary) 30%, #000);
		--navy-2: color-mix(in srgb, var(--brand-on-dark) 70%, var(--brand-primary));
		--btn: var(--brand-on-dark);
		--btn-text: var(--brand-primary);
		--accent-text: color-mix(in srgb, var(--brand-accent) 75%, white);
		--glass: color-mix(in srgb, var(--bg) 84%, transparent);
	}
}
.admin-bar { --admin-bar: 32px; }
@media (max-width: 782px) { .admin-bar { --admin-bar: 46px; } }
@media (max-width: 600px) { .admin-bar { --admin-bar: 0px; } }

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
	font-size: calc(var(--fs-body) / 18 * 100%);
	scroll-padding-top: calc(var(--header-h) + var(--admin-bar) + 16px);
	-webkit-text-size-adjust: 100%;
}
@media (max-width: 760px) { html { font-size: calc(var(--fs-body-m) / 18 * 100%); } }
@media (prefers-reduced-motion: no-preference) { html:not(.lenis) { scroll-behavior: smooth; } }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1.125rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}
body.no-dark-hero { padding-top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p, figure, blockquote, dl, dd { margin: 0; }
address { font-style: normal; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--navy-2); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }
.wrap.narrow { max-width: 900px; }
.icon { width: 24px; height: 24px; flex: none; }
.anchor { height: 0; }
.skip-link, .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; width: auto; height: auto; clip: auto; z-index: 200; background: var(--btn); color: var(--btn-text); padding: 12px 20px; border-radius: 999px; text-decoration: none; }
.section-tight { padding: clamp(56px, 8vw, 110px) 0; }
.surface { background: var(--bg-2); border-radius: var(--r-lg); }

/* ---------- 3. Typography ---------- */
/* Fluid size helper: mobile size at a 390px screen → desktop size at 1440px */
h1, h2, h3, .lede, .btn { --fl: calc((100vw - 390px) / 1050); }
h1, h2, h3 { font-family: var(--font-head); color: var(--ink); margin: 0; font-weight: var(--heading-weight); letter-spacing: -.03em; line-height: 1.02; text-wrap: balance; }
h2 { font-size: clamp(calc(var(--fs-h2-m) * 1px), calc(var(--fs-h2-m) * 1px + (var(--fs-h2) - var(--fs-h2-m)) * var(--fl)), calc(var(--fs-h2) * 1px)); }
h2.h-xl { font-size: clamp(calc(var(--fs-h2-m) * 1.12px), calc(var(--fs-h2-m) * 1.12px + (var(--fs-h2) - var(--fs-h2-m)) * 1.15 * var(--fl)), calc(var(--fs-h2) * 1.18px)); }
h3 { font-size: clamp(calc(var(--fs-h3-m) * 1px), calc(var(--fs-h3-m) * 1px + (var(--fs-h3) - var(--fs-h3-m)) * var(--fl)), calc(var(--fs-h3) * 1px)); letter-spacing: -.02em; line-height: 1.15; }
.lede { font-size: clamp(calc(var(--fs-lede-m) * 1px), calc(var(--fs-lede-m) * 1px + (var(--fs-lede) - var(--fs-lede-m)) * var(--fl)), calc(var(--fs-lede) * 1px)); color: var(--muted); max-width: 52ch; text-wrap: pretty; }
h2 + .lede { margin-top: 20px; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); text-decoration: none; min-height: 44px; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .3s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- 4. Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 54px; padding: 0 28px; border-radius: 999px;
	font: 600 clamp(calc(var(--fs-btn-m) * 1px), calc(var(--fs-btn-m) * 1px + (var(--fs-btn) - var(--fs-btn-m)) * var(--fl)), calc(var(--fs-btn) * 1px))/1 var(--font-body);
	text-decoration: none; text-align: center; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
	transition: transform .3s var(--ease-out), background .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 18px; height: 18px; }
.btn-solid { background: var(--btn); color: var(--btn-text); }
.btn-line { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-cream { background: var(--cream); color: var(--brand-primary); }
.btn-ghost-cream { border-color: color-mix(in srgb, var(--cream) 45%, transparent); color: var(--cream); background: transparent; }
.btn-ghost-cream:hover { background: color-mix(in srgb, var(--cream) 10%, transparent); }

/* ---------- 5. Header → assets/css/layout/header.css ---------- */

/* Live clinic status (hero, menu, contact) */
.status { display: flex; align-items: center; gap: 10px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #8C98A4; flex: none; }
.status.is-open .dot { background: #4CC38A; box-shadow: 0 0 0 5px rgba(76, 195, 138, .2); }

/* ---------- 6. Media + placeholders ---------- */
.media { position: relative; overflow: hidden; background: var(--bg-2); }
.media-in { position: absolute; inset: 0; }
.media img { width: 100%; height: 100%; object-fit: cover; }
[data-parallax-wrap] .media-in { inset: -12% 0; }
.media-ph.is-dark { color: var(--cream); background:
	radial-gradient(120% 80% at 20% 10%, color-mix(in srgb, var(--brand-primary) 60%, #4a90c8) 0%, transparent 55%),
	radial-gradient(90% 70% at 90% 90%, color-mix(in srgb, var(--brand-primary) 85%, #4a90c8) 0%, transparent 60%),
	linear-gradient(160deg, color-mix(in srgb, var(--brand-primary) 80%, #4a90c8), var(--brand-primary) 60%, var(--brand-primary-dark)); }
.media-ph.is-light { color: var(--brand-primary); background:
	radial-gradient(100% 80% at 80% 0%, #fff 0%, transparent 60%),
	linear-gradient(160deg, color-mix(in srgb, var(--brand-surface) 80%, #c9b48f), color-mix(in srgb, var(--brand-surface) 70%, #b8a07a)); }
.media-ph .rings { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .3; }
.ph-label { position: absolute; left: 24px; bottom: 24px; z-index: 1; font-size: .85rem; border: 1px dashed currentColor; border-radius: 999px; padding: 6px 14px; opacity: .8; }

/* ---------- 7. Shared cards ---------- */
/* Speciality card (home slider, conditions page, related) */
.spec-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-rows: minmax(200px, 1fr) auto; transition: transform .4s var(--ease-out), box-shadow .4s; }
.spec-card .media { min-height: 200px; }
.spec-body { padding: clamp(22px, 3vw, 36px); display: grid; grid-template-columns: 1fr auto; gap: 14px 24px; align-items: end; }
.spec-title { font-size: clamp(1.4rem, 2vw, 1.75rem); }
.spec-title a { text-decoration: none; }
.spec-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.spec-body p { color: var(--muted); margin-top: 10px; max-width: 46ch; font-size: 1rem; }
.round-link { width: 56px; height: 56px; border-radius: 50%; background: var(--btn); color: var(--btn-text); display: grid; place-items: center; transition: transform .35s var(--ease-out); }
.round-link .icon { width: 22px; height: 22px; }
.spec-card:hover .round-link { transform: rotate(-45deg); }
.spec-card:has(a:focus-visible) { outline: 2px solid var(--navy-2); outline-offset: 3px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; grid-column: 1 / -1; list-style: none; padding: 0; margin: 4px 0 0; }
.tags li { background: var(--tint); color: var(--ink); border-radius: 999px; padding: 6px 14px; font-size: .86rem; font-weight: 500; }
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.spec-grid .spec-card { grid-template-rows: 220px auto; }
.spec-grid .spec-card:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -40px rgba(6, 31, 54, .45); }
.spec-grid .spec-body { grid-template-columns: 1fr auto; }

/* Review card */
.rv { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px; }
.stars { display: flex; gap: 3px; color: var(--accent); }
.stars .icon { width: 15px; height: 15px; }
.rv blockquote p { margin: 14px 0 18px; color: var(--text); font-size: 1rem; }
.rv figcaption b { display: block; color: var(--ink); font-weight: 600; font-size: .98rem; }
.rv figcaption span { font-size: .88rem; color: var(--muted); }
/* Google review cards (cards/review.php → .rv-g) */
.rv-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rv-src { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 99px; padding: 3px 10px; line-height: 1.4; }
.rv-g blockquote.is-long p { display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 8px; }
.rv-more { display: inline-block; margin-bottom: 18px; font-size: .88rem; font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.rv figcaption { display: flex; align-items: center; gap: 12px; }
.rv figcaption .rv-who { display: block; min-width: 0; font-size: inherit; }
.rv figcaption .rv-who > span { display: block; font-size: .88rem; color: var(--muted); }
.rv figcaption a { color: inherit; text-decoration: none; }
.rv figcaption a:hover, .rv figcaption a:focus-visible { text-decoration: underline; }
.rv figcaption .rv-av { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--ink); color: var(--bg); font-size: .82rem; font-weight: 600; letter-spacing: .03em; }
.rv-av img { width: 100%; height: 100%; object-fit: cover; }
.rv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; margin-top: 40px; }

/* FAQ accordion */
.faq-list details { border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); margin-bottom: 12px; overflow: hidden; }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; cursor: pointer; min-height: 64px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-q { font-size: clamp(1.05rem, 1.6vw, 1.2rem); letter-spacing: -.01em; line-height: 1.3; text-wrap: pretty; }
.faq-list .pm { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--tint); position: relative; }
.faq-list .pm::before, .faq-list .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .3s; }
.faq-list .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-list details[open] .pm::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { padding: 0 24px 22px; color: var(--muted); max-width: 64ch; }
.faq-a p + p { margin-top: 10px; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* Qualification pills */
.creds { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 28px 0 0; }
.creds li { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .94rem; color: var(--ink); }
.creds-dark li { border-color: var(--navy-line); color: var(--on-navy); }

/* ---------- 8. Appointment section (home + inner pages) ---------- */
.cta { background: var(--navy); color: var(--on-navy); border-radius: var(--r-lg); padding: clamp(72px, 10vw, 140px) 0; margin: clamp(24px, 4vw, 48px) clamp(8px, 1.4vw, 16px) 0; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.cta h2 { color: var(--on-navy); }
.cta .lede { color: var(--on-navy-muted); margin-top: 22px; }
.info { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 22px; }
.info li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.info i { width: 44px; height: 44px; border-radius: 14px; background: color-mix(in srgb, var(--cream) 10%, transparent); display: grid; place-items: center; font-style: normal; }
.info .icon { width: 20px; height: 20px; }
.info b { display: block; color: var(--on-navy); font-weight: 600; }
.info span, .info a { color: var(--on-navy-muted); text-decoration: none; font-size: .98rem; }
.info a:hover { color: var(--on-navy); }
.info .u { text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.info b.status { display: flex; }
/* “What happens next” (Contact page form, instead of the details list) */
.cta-next { margin-top: 40px; }
.cta-next-h { font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: color-mix(in srgb, var(--brand-accent) 85%, white); margin: 0 0 18px; }
.cta-next-list { list-style: none; counter-reset: next; margin: 0; padding: 0; display: grid; gap: 18px; }
.cta-next-list li { counter-increment: next; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; color: var(--on-navy-muted); }
.cta-next-list li::before { content: counter(next, decimal-leading-zero); width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--cream) 10%, transparent); color: var(--on-navy); font: 600 .9rem/1 var(--font-head); }
.form { background: var(--paper); color: var(--paper-text); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 46px); display: grid; gap: 16px; }
.form h3 { color: var(--paper-ink); }
.field { display: grid; gap: 7px; }
.field label { font-size: .9rem; font-weight: 600; color: var(--paper-ink); }
.field input, .field select, .field textarea {
	font: inherit; font-size: 1rem; color: var(--paper-text); background: var(--brand-card);
	border: 1px solid color-mix(in srgb, var(--brand-primary) 16%, transparent); border-radius: 16px;
	padding: 14px 16px; min-height: 54px; width: 100%; color-scheme: light;
}
.field textarea { min-height: 104px; resize: vertical; }
.field :focus { outline: 2px solid var(--brand-primary); outline-offset: 1px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .btn-solid { background: var(--brand-primary); color: var(--brand-on-dark); margin-top: 6px; }
.form-note { color: var(--paper-muted); font-size: .85rem; }
/* Consent tick (Privacy Policy) */
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: .88rem; line-height: 1.5; color: var(--paper-text); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--brand-primary); cursor: pointer; }
.consent a { color: var(--paper-ink); font-weight: 600; text-underline-offset: 3px; }
.notice { padding: 14px 18px; border-radius: 14px; font-size: .96rem; color: var(--paper-ink); }
.notice.ok { background: rgba(47, 143, 91, .14); border: 1px solid rgba(47, 143, 91, .4); }
.notice.err { background: rgba(176, 62, 48, .1); border: 1px solid rgba(176, 62, 48, .4); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Optional email + “Did you mean …?” + Cloudflare Turnstile box (only shows when a check is needed) */
.field .opt { font-weight: 400; color: var(--paper-muted); }
.field-hint { margin: 0; font-size: .88rem; color: var(--paper-text); }
.field-hint button { font: inherit; font-weight: 600; color: var(--paper-ink); background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ts-box:empty { display: none; }
.ts-box.is-needed { padding: 6px; border-radius: 14px; outline: 2px solid color-mix(in srgb, var(--brand-accent) 70%, transparent); }
.form .btn-solid:disabled { opacity: .7; cursor: progress; }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } .cta { margin-inline: 6px; } }

/* ---------- 9. Shared inner-page parts (page hero, prose, 404) ----------
   Page-specific styles: assets/css/pages/{doctor,speciality,blog}.css */
.page-hero {
	background: var(--navy); color: var(--on-navy); border-radius: 0 0 var(--r-lg) var(--r-lg);
	padding: calc(var(--header-h) + var(--admin-bar) + env(safe-area-inset-top, 0px) + clamp(40px, 7vw, 96px)) 0 clamp(48px, 7vw, 96px);
	position: relative; overflow: hidden; isolation: isolate;
}
.page-hero::before { content: ""; position: absolute; width: 60vmax; height: 60vmax; right: -24vmax; top: -34vmax; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--brand-primary) 60%, #4a90c8) 0%, transparent 65%); opacity: .5; z-index: -1; }
.page-title { color: var(--on-navy); font-size: clamp(calc(var(--fs-ph1-m) * 1px), calc(var(--fs-ph1-m) * 1px + (var(--fs-ph1) - var(--fs-ph1-m)) * var(--fl)), calc(var(--fs-ph1) * 1px)); font-weight: 700; letter-spacing: -.04em; line-height: .98; max-width: 16ch; }
.page-hero .lede { color: var(--on-navy-muted); margin-top: 24px; }
.page-hero .hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.post-meta { margin-top: 18px; color: var(--on-navy-muted); font-size: .95rem; }
.crumbs { font-size: .92rem; color: var(--on-navy-muted); margin-bottom: 24px; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--on-navy); text-decoration: underline; }
.big-404 { font-family: var(--font-head); font-weight: 700; font-size: clamp(5rem, 18vw, 12rem); line-height: .8; letter-spacing: -.06em; opacity: .18; margin-bottom: 12px; }

.prose { max-width: 70ch; font-size: 1.06rem; }
.prose-center { margin: 0 auto; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 1.8em; }
.prose h3 { margin-top: 1.5em; }
.prose a { color: var(--accent-text); text-underline-offset: 3px; }
/* Legal pages (inc/legal.php) */
.prose .legal-updated { color: var(--muted); font-size: .92rem; }
.prose .legal-summary { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r-md); padding: clamp(20px, 3vw, 30px); }
.prose .legal-summary h3 { margin-top: 0; }
.prose .legal-summary ul { margin-top: 12px; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .5em; }
.prose img { border-radius: 18px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { margin: 1.6em 0; font-family: var(--font-head); font-size: 1.5rem; line-height: 1.3; color: var(--ink); }
.feature-img { margin: 0 0 40px; }
.feature-img img { border-radius: var(--r-md); width: 100%; }

.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-block-image figcaption, .wp-caption-text { font-size: .9rem; color: var(--muted); margin-top: 8px; }

/* ---------- 10–11. Footer + mobile bar → assets/css/layout/footer.css ---------- */

/* ---------- 12. Motion helpers ---------- */
/* Headings rise in when motion.js is running (content is fully visible without JS) */
.js-motion .js-reveal { will-change: transform; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
