/* Wellness Editorial — main stylesheet.
   Tokens from intimate-wellness-handoff/tokens/tokens.css (edit tokens there first).
   Fonts are self-hosted and declared in theme.json (no Google Fonts request). */

/* ---------- Tokens ---------- */
:root {
	--surface-ivory: #F7F5F0;
	--surface-beige: #EEE9E0;
	--surface-white: #FFFFFF;
	--surface-sand: #E3DACB;
	--ink: #292925;
	--ink-body: #3A3934;
	--ink-soft: #4A4843;
	--ink-muted: #66635D;
	--ink-gray: #77746E;
	--line: #DDD8CF;
	--line-strong: #CFC6B7;
	--olive: #777C68;
	--olive-ink: #5F6450;
	--on-ink: #F7F5F0;
	--on-ink-soft: #E9E5DD;
	--on-ink-muted: #BDB8AE;
	--on-ink-line: #45443F;
	--ink-hover: #3A3934;

	--font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--font-text: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;

	--space-4: 4px; --space-8: 8px; --space-12: 12px; --space-16: 16px;
	--space-24: 24px; --space-32: 32px; --space-48: 48px; --space-64: 64px;
	--space-88: 88px; --space-112: 112px;

	--shadow-header-scrolled: 0 1px 12px rgba(41, 41, 37, 0.06);

	--content-width: 1200px;
	--measure: 720px;
	--gutter: 40px;
	--header-height: 76px;
	--touch-target: 44px;
	--section-pad: var(--space-112);
}
@media (max-width: 600px) {
	:root { --gutter: 20px; --section-pad: 72px; --header-height: 60px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body { margin: 0; background: var(--surface-ivory); color: var(--ink); font-family: var(--font-text); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration: none; transition: color .15s; }
a:hover { color: var(--olive-ink); }
:where(a, button, input, select, summary, [tabindex]):focus-visible { outline: 2px solid var(--olive-ink); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; margin: 0; color: var(--ink); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

.container { max-width: var(--content-width); margin-inline: auto; padding-inline: var(--gutter); box-sizing: content-box; }
@media (max-width: 1280px) { .container { box-sizing: border-box; } }
.visually-hidden, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: -1px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--on-ink); padding: 10px 16px; font-size: 14px; }
.skip-link:focus { top: 12px; color: var(--on-ink); }

/* ---------- Type ---------- */
.display    { font: 400 76px/1.02 var(--font-display); letter-spacing: -0.01em; }
.h1         { font: 400 60px/1.06 var(--font-display); }
.h1--category { font-size: 72px; }
.h2         { font: 400 44px/1.1 var(--font-display); }
.h3         { font: 500 28px/1.2 var(--font-display); }
.lead       { font: 400 20px/1.65 var(--font-text); color: var(--ink-soft); }
.body-l     { font: 400 18px/1.8 var(--font-text); color: var(--ink-body); }
.eyebrow    { font: 500 12px/1.4 var(--font-text); letter-spacing: 0.22em; text-transform: uppercase; color: var(--olive-ink); margin-bottom: var(--space-16); }
.caption    { font: 500 11px/1.4 var(--font-text); letter-spacing: 0.16em; text-transform: uppercase; }
@media (max-width: 600px) {
	.display { font-size: 46px; } .h1 { font-size: 38px; } .h1--category { font-size: 44px; } .h2 { font-size: 34px; }
	.h3 { font-size: 26px; } .lead, .body-l { font-size: 17px; } .eyebrow { font-size: 11px; }
}

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 30px; font: 500 14px/1.2 var(--font-text); letter-spacing: .04em; border: 1px solid var(--ink); cursor: pointer; transition: background-color .15s, color .15s; text-align: center; }
.btn--primary, .btn--primary:visited { background: var(--ink); color: var(--on-ink); }
.btn--primary:hover { background: var(--ink-hover); color: var(--on-ink); }
.btn--secondary { background: transparent; color: var(--ink); }
.btn--secondary:hover { background: var(--ink); color: var(--on-ink); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 13px; }
.lnk { display: inline-flex; align-items: center; gap: 8px; padding-bottom: 4px; border-bottom: 1px solid var(--ink); font-size: 14px; font-weight: 500; letter-spacing: .02em; }
.lnk:hover { border-color: var(--olive-ink); }
.aff-label { display: inline-block; font: 500 11px/1 var(--font-text); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); border: 1px solid var(--line); padding: 4px 10px; vertical-align: middle; white-space: nowrap; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface-white); border-bottom: 1px solid var(--line); transition: box-shadow .2s; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { box-shadow: var(--shadow-header-scrolled); }
.site-header__inner { height: var(--header-height); display: flex; align-items: center; gap: var(--space-32); }
.wordmark { font: 500 22px/1.2 var(--font-display); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.site-logo img { max-height: 44px; width: auto; }
.site-nav { margin-left: auto; }
.site-nav .nav-list { display: flex; gap: 28px; list-style: none; }
.site-nav a { font: 400 13px/1.4 var(--font-text); letter-spacing: .02em; padding-bottom: 2px; border-bottom: 1px solid transparent; }
.site-nav a[aria-current="page"], .site-nav .current-menu-item > a { border-bottom-color: var(--ink); }
.site-header__actions { display: flex; align-items: center; gap: 4px; }
.icon-btn { width: var(--touch-target); height: var(--touch-target); display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; color: var(--ink); }
.icon-btn:hover { color: var(--olive-ink); }
.menu-btn { display: none; }
.search-panel { border-top: 1px solid var(--line); background: var(--surface-white); padding: var(--space-24) 0; }
.mobile-menu { border-top: 1px solid var(--line); background: var(--surface-white); max-height: calc(100vh - var(--header-height)); overflow-y: auto; }
.mobile-menu .nav-list { list-style: none; padding: var(--space-8) 0 var(--space-24); }
.mobile-menu a { display: block; font: 400 26px/1.3 var(--font-display); padding: 14px 0; border-bottom: 1px solid var(--line); }
.mobile-menu a[aria-current="page"], .mobile-menu .current-menu-item > a { color: var(--olive-ink); }
@media (min-width: 981px) { .mobile-menu { display: none !important; } }
@media (max-width: 980px) {
	.site-nav { display: none; }
	.menu-btn { display: inline-flex; }
	.site-header__actions { margin-left: auto; }
}
@media (max-width: 600px) { .wordmark { font-size: 17px; letter-spacing: .18em; } }
.progress { height: 2px; background: var(--line); display: none; }
.progress span { display: block; height: 100%; width: 0; background: var(--olive-ink); }
@media (max-width: 980px) { .progress { display: block; } }

/* ---------- Search form ---------- */
.search-form { display: flex; align-items: stretch; gap: var(--space-12); position: relative; }
.search-form__icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--ink-gray); display: flex; }
.search-form input[type="search"] { flex: 1; min-width: 0; height: 52px; padding: 0 18px 0 48px; background: var(--surface-ivory); border: 1px solid var(--line); border-radius: 0; font: 400 16px var(--font-text); color: var(--ink); -webkit-appearance: none; }
.search-form input::placeholder { color: var(--ink-muted); }

/* ---------- Sections & grids ---------- */
.section { padding-block: var(--section-pad); }
.section--ivory { background: var(--surface-ivory); }
.section--beige { background: var(--surface-beige); }
.section--rule { border-top: 1px solid var(--line); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--space-24); margin-bottom: var(--space-48); }
.section-head__aside { color: var(--ink-muted); max-width: 360px; }
.g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.g2--5-6 { grid-template-columns: 5fr 6fr; }
.g2--7-5 { grid-template-columns: 7fr 5fr; }
.g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.g3--list { row-gap: 56px; }
.g4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 980px) {
	.g2, .g2--5-6, .g2--7-5 { grid-template-columns: 1fr; gap: 40px; }
	.g3, .g4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.g3, .g4 { grid-template-columns: 1fr; }
	.g4--categories { grid-template-columns: repeat(2, 1fr); gap: 16px; }
	.scroll-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: 8px; }
	.scroll-row > * { flex: 0 0 240px; scroll-snap-align: start; }
}

/* ---------- Media & placeholders ---------- */
.media { position: relative; overflow: hidden; background: var(--surface-sand); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--4-3 { aspect-ratio: 4 / 3; }
.media--1-1 { aspect-ratio: 1; }
.media--3-4 { aspect-ratio: 3 / 4; }
.media--5-4 { aspect-ratio: 5 / 4; }
.media--6-7 { aspect-ratio: 6 / 7; }
.media--7-5 { aspect-ratio: 7 / 5; }
.media--16-7 { aspect-ratio: 16 / 7; }
@media (max-width: 600px) { .media--16-7 { aspect-ratio: 3 / 2; } .hero .media--6-7 { aspect-ratio: 4 / 5; } }
.media__placeholder { position: absolute; inset: 0; display: block; }
.tone-1 { background: #D9CEBD; } .tone-2 { background: #DCD2C2; } .tone-3 { background: #DDD5C8; }
.tone-4 { background: #E6DFD3; } .tone-5 { background: #D8D6CB; } .tone-6 { background: #F3EFE8; }

/* ---------- Home ---------- */
.hero { padding: var(--space-88) 0 var(--space-112); }
.hero__text .display { margin-bottom: var(--space-24); }
.hero__text .lead { max-width: 480px; margin-bottom: var(--space-32); }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-32); }
@media (max-width: 980px) {
	.hero__media { order: -1; }
}
@media (max-width: 600px) {
	.hero { padding: var(--space-24) 0 72px; }
	.hero__actions .btn { width: 100%; }
}
.intro__text .h2 { margin-bottom: var(--space-24); }
.trust-row { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: var(--space-32); padding-top: var(--space-24); border-top: 1px solid var(--line-strong); font-size: 14px; color: var(--ink-soft); }
.trust-row li::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 10px; background: var(--olive); vertical-align: middle; }
.g4--categories.g4--n3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .g4--categories.g4--n3 { grid-template-columns: repeat(2, 1fr); } }
.cat-card { display: flex; flex-direction: column; gap: 6px; }
.cat-card .media { margin-bottom: var(--space-16); }
.cat-card__name { font: 500 26px/1.2 var(--font-display); }
.cat-card__desc { font-size: 14px; color: var(--ink-muted); }
.cat-card:hover .cat-card__name { color: var(--olive-ink); }
@media (max-width: 600px) { .cat-card__desc { display: none; } .cat-card__name { font-size: 21px; } }
.numbered { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: num; }
.numbered > li { counter-increment: num; border-top: 1px solid var(--ink); padding-top: var(--space-24); }
.numbered > li::before { content: counter(num, decimal-leading-zero); display: block; font: 500 12px/1 var(--font-text); letter-spacing: .22em; color: var(--olive-ink); margin-bottom: var(--space-16); }
.numbered p { color: var(--ink-soft); font-size: 15px; line-height: 1.65; }
.numbered .h3, .numbered p.numbered__title { font: 500 26px/1.2 var(--font-display); color: var(--ink); margin: 0 0 var(--space-12); }
.numbered > li + li, .prose .numbered > li + li { margin-top: 0; }
@media (max-width: 980px) { .numbered { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Cards ---------- */
.card { display: flex; flex-direction: column; }
.card__media { display: block; margin-bottom: var(--space-24); }
.card__meta { display: flex; justify-content: space-between; gap: 12px; margin-bottom: var(--space-12); }
.card__cat { color: var(--olive-ink); }
.card__date { color: var(--ink-muted); }
.card__title { font: 500 26px/1.22 var(--font-display); margin-bottom: var(--space-12); }
.card__excerpt { font-size: 15px; color: var(--ink-muted); margin-bottom: var(--space-16); }
.card .lnk { align-self: flex-start; margin-top: auto; }
.card--compact { background: var(--surface-white); border: 1px solid var(--line); }
.card--compact .card__media { margin-bottom: 0; }
.card--compact .card__body { padding: 20px 22px 24px; }
.card--compact .card__title { font-size: 22px; margin-bottom: 8px; }
.card--compact .card__excerpt { font-size: 14px; margin-bottom: 0; }
.section--beige .card--compact { border-color: var(--line-strong); }
@media (max-width: 600px) { .card__title { font-size: 22px; } }

/* ---------- Breadcrumb ---------- */
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--ink-muted); margin-bottom: var(--space-24); }
.breadcrumb a { color: var(--ink-muted); }
.breadcrumb a:hover { color: var(--olive-ink); }
.breadcrumb .sep { margin-left: 6px; }
.breadcrumb [aria-current] { color: var(--ink); }

/* ---------- Category page ---------- */
.page-head { padding: var(--space-64) 0 var(--space-48); border-bottom: 1px solid var(--line); }
.page-head__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: var(--space-24); }
.page-head__desc { max-width: 460px; color: var(--ink-soft); }
.page-head__search { margin-top: var(--space-32); max-width: 720px; }
.toolbar { position: sticky; top: var(--header-height); z-index: 40; background: var(--surface-ivory); border-bottom: 1px solid var(--line); }
.admin-bar .toolbar { top: calc(var(--header-height) + 32px); }
@media (max-width: 782px) { .admin-bar .toolbar { top: var(--header-height); } }
.toolbar__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-16); padding-block: var(--space-16); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.chip { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; background: var(--surface-white); border: 1px solid var(--line); font-size: 13px; white-space: nowrap; }
.chip[aria-current] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); font-weight: 500; }
@media (max-width: 600px) { .chip { height: 44px; } }
.toolbar__right { display: flex; align-items: center; gap: var(--space-16); font-size: 13px; color: var(--ink-muted); margin-left: auto; }
.sort select { height: 40px; padding: 0 36px 0 14px; border: 1px solid var(--line); border-radius: 0; background: var(--surface-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23292925' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; -webkit-appearance: none; appearance: none; font: 400 13px var(--font-text); color: var(--ink); }
.section--list { padding-block: var(--space-64) var(--space-112); }
.empty { color: var(--ink-muted); }

/* Pagination */
.pagination { margin-top: var(--space-64); }
.pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; font-size: 14px; border: 1px solid transparent; }
.pagination .page-numbers.current { background: var(--ink); color: var(--on-ink); }
.pagination .prev, .pagination .next { border-color: var(--line); background: var(--surface-white); }
.pagination .dots { color: var(--ink-muted); }

/* ---------- Article ---------- */
.article-head { padding-top: var(--space-48); }
.article-head__inner { max-width: 920px; }
.article-head .h1 { margin-bottom: var(--space-24); }
.article-head .lead { margin-bottom: var(--space-32); max-width: 760px; }
.article-head__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; margin-bottom: var(--space-32); }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding: var(--space-24) 0 var(--space-32); border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-muted); }
.byline__avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--surface-beige); border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; font: 500 18px/1 var(--font-display); color: var(--ink); }
.byline__item:first-of-type { color: var(--ink); }
.page-updated { font-size: 13px; color: var(--ink-muted); padding-bottom: var(--space-32); }
.article-hero { margin-bottom: var(--space-64); }
.article-layout { display: flex; flex-wrap: wrap; gap: 64px; align-items: flex-start; padding-bottom: var(--space-112); }
.article-body { flex: 999 1 560px; max-width: var(--measure); min-width: 0; }
.article-aside { flex: 1 1 260px; max-width: 300px; position: sticky; top: 108px; display: flex; flex-direction: column; gap: var(--space-32); }
.admin-bar .article-aside { top: 140px; }
@media (max-width: 980px) { .article-aside { display: none; } }
.article-wide { padding-bottom: var(--space-112); }
.prose--page { max-width: var(--measure); padding-bottom: var(--space-112); }

.toc ol { list-style: none; border-left: 1px solid var(--line); margin-top: var(--space-12); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; font-size: 14px; color: var(--ink-muted); }
.toc a.is-active { color: var(--ink); font-weight: 500; border-left-color: var(--ink); }
.toc .caption { color: var(--ink-muted); }
.aside-card { background: var(--surface-white); border: 1px solid var(--line); padding: 24px; font-size: 14px; color: var(--ink-soft); }
.aside-card .caption { color: var(--olive-ink); margin-bottom: 10px; }
.aside-card p + .lnk { margin-top: var(--space-16); }
.toc-mobile { display: none; background: var(--surface-white); border: 1px solid var(--line); margin-bottom: var(--space-32); }
.toc-mobile summary { min-height: 52px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; font: 500 11px/1.4 var(--font-text); letter-spacing: .16em; text-transform: uppercase; }
.toc-mobile summary::-webkit-details-marker { display: none; }
.toc-mobile[open] summary .icon { transform: rotate(180deg); }
.toc-mobile ol { list-style: none; padding: 0 18px 14px; }
.toc-mobile a { display: block; padding: 8px 0; font-size: 15px; border-top: 1px solid var(--line); }
@media (max-width: 980px) { .toc-mobile { display: block; } }

.disclosure { display: flex; gap: 12px; align-items: flex-start; background: var(--surface-beige); padding: 18px 20px; margin-bottom: var(--space-32); font-size: 14px; color: var(--ink-soft); }
.disclosure .icon { flex: none; margin-top: 2px; color: var(--ink-gray); }
.disclosure a { text-decoration: underline; text-underline-offset: 3px; }
.article-end { margin-top: var(--space-48); padding-top: var(--space-24); border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-muted); display: grid; gap: 8px; }
.related .h2 { margin-bottom: var(--space-48); }

/* ---------- Prose (post content) ---------- */
.prose { font-size: 18px; line-height: 1.8; color: var(--ink-body); }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { font: 500 36px/1.2 var(--font-display); color: var(--ink); margin-top: 2em; scroll-margin-top: 100px; }
.prose h3 { font: 500 28px/1.2 var(--font-display); color: var(--ink); margin-top: 1.6em; }
.prose h4 { font: 600 17px/1.4 var(--font-text); margin-top: 1.4em; }
.prose a:not(.btn):not(.lnk) { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.prose a:not(.btn):not(.lnk):hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--olive); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote { margin: 1.6em 0; padding-left: 24px; border-left: 1px solid var(--ink); font: italic 400 24px/1.45 var(--font-display); color: var(--ink); }
.prose figure { margin: 2em 0; }
.prose figcaption, .prose .wp-element-caption { font-size: 13px; color: var(--ink-muted); margin-top: 10px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose .wp-block-table table, .prose > table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface-white); }
.prose .wp-block-table th, .prose .wp-block-table td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
.prose .wp-block-table thead th { font: 500 12px/1.4 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); background: var(--surface-ivory); }
.table-scroll { overflow-x: auto; }
.prose .wp-block-button__link { border-radius: 0; }

/* ---------- Contact form (Contact Form 7) ---------- */
.wpcf7 { margin: 2em 0 2.4em; }
.wpcf7 form > p { margin: 0 0 22px; }
.wpcf7 label { display: block; font: 500 14px/1.4 var(--font-text); letter-spacing: .02em; color: var(--ink); }
.wpcf7 .we-optional { font-weight: 400; color: var(--ink-muted); }
.wpcf7-form-control-wrap { display: block; margin-top: 8px; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea { display: block; width: 100%; box-sizing: border-box; min-height: 52px; padding: 12px 16px; background: var(--surface-white); border: 1px solid var(--line-strong); border-radius: 0; font: 400 16px/1.5 var(--font-text); color: var(--ink); -webkit-appearance: none; }
.wpcf7 textarea { min-height: 200px; resize: vertical; }
.wpcf7 input[type="text"]:focus, .wpcf7 input[type="email"]:focus, .wpcf7 textarea:focus { border-color: var(--olive-ink); }
.wpcf7 .we-form-note { font-size: 14px; line-height: 1.6; color: var(--ink-muted); }
.wpcf7 input[type="submit"] { min-height: 52px; padding: 0 30px; font: 500 14px/1.2 var(--font-text); letter-spacing: .04em; background: var(--ink); color: var(--on-ink); border: 1px solid var(--ink); border-radius: 0; cursor: pointer; -webkit-appearance: none; transition: background-color .15s; }
.wpcf7 input[type="submit"]:hover { background: var(--ink-hover); }
.wpcf7 input[type="submit"]:disabled { opacity: .6; cursor: default; }
.wpcf7-spinner { vertical-align: middle; margin-left: 14px; }
/* .prose prefix: wins over the plugin's own stylesheet regardless of load order */
.prose .wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 14px; color: #8A3B2E; }
.prose .wpcf7 form .wpcf7-response-output { margin: 20px 0 0; padding: 14px 18px; border: 1px solid var(--line-strong); font-size: 15px; line-height: 1.5; }
.prose .wpcf7 form.invalid .wpcf7-response-output, .prose .wpcf7 form.unaccepted .wpcf7-response-output, .prose .wpcf7 form.failed .wpcf7-response-output, .prose .wpcf7 form.spam .wpcf7-response-output { border-color: #8A3B2E; }
.prose .wpcf7 form.sent .wpcf7-response-output { border-color: var(--olive-ink); }
@media (max-width: 600px) { .wpcf7 input[type="submit"] { width: 100%; } }

@media (max-width: 600px) {
	.prose { font-size: 17px; }
	.prose h2 { font-size: 30px; }
	.prose h3 { font-size: 26px; }
}

/* ---------- Content components (patterns) ---------- */
.we-note { font-size: 13px; color: var(--ink-muted); line-height: 1.6; }

/* Comparison table */
.we-compare { margin: 2em 0; }
.prose--wide .we-compare, .article-wide .we-compare { margin-inline: 0; }
.we-compare__scroll { overflow-x: auto; border: 1px solid var(--line); }
.we-compare table { width: 100%; min-width: 960px; table-layout: fixed; border-collapse: collapse; background: var(--surface-white); font-size: 15px; line-height: 1.55; color: var(--ink-body); }
.article-body .we-compare table { min-width: 720px; }
.we-compare th, .we-compare td { padding: 18px 20px; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); text-align: left; vertical-align: top; }
.we-compare thead th { font: 500 22px/1.25 var(--font-display); color: var(--ink); background: var(--surface-white); }
.we-compare__brand { display: block; font: 500 11px/1.4 var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 6px; }
.we-compare tbody th, .we-compare thead th:first-child { position: sticky; left: 0; z-index: 1; width: 180px; background: var(--surface-ivory); border-left: 0; font: 500 12px/1.4 var(--font-text); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.we-compare tbody tr:last-child th, .we-compare tbody tr:last-child td { border-bottom: 0; }
.we-compare td .btn { width: 100%; margin-bottom: 8px; }
.we-compare figcaption { font-size: 13px; color: var(--ink-muted); margin-top: 12px; }
.we-compare__hint { display: none; }
@media (max-width: 980px) { .we-compare__hint { display: inline; } .we-compare tbody th, .we-compare thead th:first-child { width: 130px; } }

/* Where to buy */
.we-wtb { margin: 2em 0; background: var(--surface-white); border: 1px solid var(--line); padding: 28px; }
.we-wtb__title { font: 500 26px/1.2 var(--font-display) !important; margin: 0 0 18px !important; }
.we-wtb__scroll { overflow-x: auto; }
.we-wtb table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.we-wtb th, .we-wtb td { padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.we-wtb thead th { font: 500 11px/1.4 var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); }
.we-wtb tbody th { font-weight: 500; color: var(--ink); white-space: nowrap; }
.we-wtb td:last-child { white-space: nowrap; }
.we-wtb .we-note { margin-top: 14px; }
@media (max-width: 600px) { .we-wtb { padding: 20px; } }

/* Product callout */
.we-callout { margin: 2.4em 0; background: var(--surface-white); border: 1px solid var(--line); padding: 24px; }
.we-callout__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.we-callout__head .caption { color: var(--olive-ink); }
.we-callout__body { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: start; }
.we-callout__media { position: relative; aspect-ratio: 1; background: #F3EFE8; overflow: hidden; }
.we-callout__media img { width: 100%; height: 100%; object-fit: cover; }
.we-callout__text { font-size: 15px; line-height: 1.65; color: var(--ink-soft); display: grid; gap: 10px; justify-items: start; }
.we-callout__brand { color: var(--ink-muted); }
.we-callout__name { font: 500 26px/1.2 var(--font-display); color: var(--ink); }
.we-callout .btn { margin-top: 6px; }
@media (max-width: 600px) {
	.we-callout__body { grid-template-columns: 1fr; }
	.we-callout .btn { width: 100%; }
	.we-callout__text { justify-items: stretch; }
}

/* Friend note */
.we-friend { margin: 2.4em 0; background: var(--surface-white); border: 1px solid var(--line); border-left: 2px solid var(--olive-ink); padding: 24px 28px; }
.we-friend__label { color: var(--olive-ink); margin-bottom: 12px; }
.we-friend blockquote { margin: 0; padding: 0; border: 0; font: italic 400 23px/1.45 var(--font-display); color: var(--ink); }
.we-friend figcaption { margin-top: 16px; font-size: 13px; line-height: 1.6; color: var(--ink-muted); }

/* Key takeaways */
.we-takeaways { margin: 2.4em 0; background: var(--surface-beige); padding: 28px; }
.we-takeaways__title { font: 500 26px/1.2 var(--font-display); color: var(--ink); margin-bottom: 14px; }
.we-takeaways ul { padding-left: 1.2em; font-size: 16px; line-height: 1.7; }
.we-takeaways li + li { margin-top: 8px; }

/* Sources */
.we-sources { margin-top: 3em; padding-top: 24px; border-top: 1px solid var(--line); }
.we-sources h2 { font: 500 26px/1.2 var(--font-display) !important; margin: 0 0 16px !important; }
.we-sources ol { padding-left: 1.4em; font-size: 14px; line-height: 1.6; color: var(--ink-soft); }
.we-sources li + li { margin-top: 8px; }

/* Brand facts / spec list */
.we-facts { display: grid; grid-template-columns: repeat(4, 1fr); margin: 2em 0; background: var(--surface-white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.we-facts > div { padding: 22px 24px; border-left: 1px solid var(--line); }
.we-facts > div:first-child { border-left: 0; }
.we-facts dt { font: 500 11px/1.4 var(--font-text); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 8px; }
.we-facts dd { margin: 0; font: 400 26px/1.2 var(--font-display); color: var(--ink); }
@media (max-width: 600px) { .we-facts { grid-template-columns: 1fr 1fr; } .we-facts > div:nth-child(3) { border-left: 0; } .we-facts > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.we-speclist { margin: 1.6em 0 .6em; }
.we-speclist > div { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line-strong); font-size: 15px; }
.we-speclist dt { color: var(--ink-muted); }
.we-speclist dd { margin: 0; color: var(--ink); text-align: right; }

/* Strengths / considerations */
.we-pros { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 2em 0; background: var(--surface-beige); padding: 24px; }
.we-pros__box { background: var(--surface-white); padding: 24px; }
.we-pros__title { font: 500 24px/1.2 var(--font-display); color: var(--ink); margin-bottom: 12px; }
.we-pros ul { padding-left: 1.2em; font-size: 15px; line-height: 1.65; }
@media (max-width: 600px) { .we-pros { grid-template-columns: 1fr; padding: 16px; } }
.numbered--content { margin: 2em 0; padding: 0 !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-soft); padding: 80px 0 40px; }
.site-footer a { color: var(--on-ink-soft); }
.site-footer a:hover { color: var(--on-ink); }
.site-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px; padding-bottom: 48px; }
.wordmark--footer { color: var(--on-ink) !important; display: inline-block; margin-bottom: 16px; }
.site-footer__brand p { max-width: 360px; font-size: 14px; color: var(--on-ink-muted); }
.footer-links { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(160px, auto)); gap: 12px 48px; font-size: 14px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 24px; border-top: 1px solid var(--on-ink-line); font-size: 12px; color: var(--on-ink-muted); }
.site-footer__bottom p:last-child { max-width: 640px; }
@media (max-width: 600px) {
	.site-footer { padding: 56px 0 32px; }
	.footer-links { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
}

/* ---------- 404 ---------- */
.notfound .h1 { margin-bottom: var(--space-16); }
.notfound__search { margin: var(--space-32) 0; max-width: 640px; }
.notfound__links { list-style: none; display: flex; flex-wrap: wrap; gap: 16px 28px; }

/* ---------- Editor (block editor iframe) ---------- */
.editor-styles-wrapper { background: var(--surface-ivory); font-family: var(--font-text); }
.editor-styles-wrapper .wp-block-post-content, .editor-styles-wrapper .is-root-container { font-size: 18px; line-height: 1.8; color: var(--ink-body); }
