/*
Theme Name: Kaizen Therapy
Description: A custom block theme scaffolded by Studio Code.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Version: 0.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kaizen-therapy
Tags: full-site-editing, block-patterns, block-styles, wide-blocks, accessibility-ready, style-variations
*/

/* WordPress inserts a margin-block-start equal to the block gap (24px unless
   theme.json sets styles.spacing.blockGap) between the template's top-level
   sections (header part, main, footer part) — a gap that exists even when no
   markup asks for it. Zero it so sections butt edge-to-edge and own their
   vertical rhythm via padding; this does not affect block gaps inside nested
   layouts. */
.wp-site-blocks > * + * {
	margin-block-start: 0;
}

/* With that gap gone, main carries its own vertical padding so templates this
   theme does not author (WooCommerce shop, product, cart…) still clear the
   header and footer. A descendant selector, not a child one: WooCommerce wraps
   the single-product main in an extra group. Templates built from full-bleed
   sections opt out with is-flush and let the sections own the rhythm. */
.wp-site-blocks main {
	padding-block: var(--wp--preset--spacing--60) var(--wp--preset--spacing--70);
}
.wp-site-blocks main.is-flush {
	padding-block: 0;
}

:root {
	--c-primary: var(--wp--preset--color--primary);
	--c-background: var(--wp--preset--color--background);
	--c-surface: var(--wp--preset--color--surface);
	--c-stone: var(--wp--preset--color--stone);
	--c-text: var(--wp--preset--color--text);
	--c-accent: var(--wp--preset--color--accent);
	--c-clay: var(--wp--preset--color--accent);
	--c-on-color: #faf8f5;
	--c-ink: #2b2a27;
	--r-sm: var(--wp--custom--rounded--sm);
	--r-md: var(--wp--custom--rounded--md);
	--gutter: var(--wp--style--root--padding-left);
	--header-h: 81px;
	--shadow-sm: 0 1px 2px rgb(43 42 39 / 0.05), 0 6px 16px rgb(43 42 39 / 0.07);
	--shadow-md: 0 2px 5px rgb(43 42 39 / 0.06), 0 16px 34px rgb(43 42 39 / 0.1);
	--shadow-lg: 0 3px 8px rgb(43 42 39 / 0.07), 0 26px 48px rgb(43 42 39 / 0.13);
}

/* === typography === */
.section-eyebrow__label {
	font-size: var(--wp--preset--font-size--label);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--c-primary);
	margin-bottom: 1.25rem;
}
.section-title {
	font-size: clamp(1.85rem, 4vw, 2.6rem);
	line-height: 1.12;
	letter-spacing: -0.02em;
	margin-bottom: 1.1rem;
}
.section-lead {
	max-width: 34em;
}
.section-heading {
	align-items: flex-end;
	gap: 2rem;
	margin-bottom: 2.5rem;
}
.section-heading__link p {
	margin: 0;
	white-space: nowrap;
}
.section-heading__link a {
	font-weight: 600;
	color: var(--c-accent);
	text-underline-offset: 0.2em;
}

/* === Vertical rhythm: consistent, designed spacing ===
   WordPress injects a 24px top margin on every block that follows another
   inside a flow/constrained group. The components below already carry a
   designed bottom margin, so cancel that injected top margin on the block
   right after them and let their own bottom margins set one, even rhythm.
   The + (adjacent sibling) scopes this to the first follower only, so the
   theme's heading-to-paragraph, label-to-title, and heading-row-to-content
   gaps come from a single source instead of stacking. */
.section-eyebrow + *,
.section-heading + * {
	margin-block-start: 0;
}
.section-title + *,
.page-hero__title + *,
.value-card__title + *,
.about__pillar-title + *,
.profile-hero__name + *,
.pf-title + *,
.pf-side-title + *,
.pf-sub-title + *,
.profile-bio__title + *,
.services__title + * {
	margin-block-start: 0;
}

/* === header === */
.wp-site-blocks > header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 50;
}
.wp-site-blocks .site-header {
	position: relative;
	background: rgba(250, 248, 245, 0.7);
	backdrop-filter: blur(14px) saturate(1.05);
	-webkit-backdrop-filter: blur(14px) saturate(1.05);
	border-bottom: 1px solid rgba(217, 211, 202, 0.55);
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.6), 0 3px 14px rgb(43 42 39 / 0.06);
}
/* sage-to-clay hairline under the header for a designed finish */
.wp-site-blocks .site-header::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	background: linear-gradient(90deg, var(--c-primary), var(--c-clay) 62%, transparent 92%);
	opacity: 0.8;
	pointer-events: none;
}
.site-header__inner {
	padding-block: 0.9rem;
	align-items: center;
}
.site-header__logo {
	margin: 0;
	line-height: 0;
	flex-shrink: 0;
	border-radius: 50%;
	overflow: hidden;
}
.site-header__logo img {
	display: block;
	height: 96px;
	width: auto;
	max-width: 100%;
}
.site-footer__brand {
	align-self: start;
}
.site-footer__logo {
	margin: 0;
}
.site-footer__logo img {
	display: block;
	height: 150px;
	width: auto;
}
.site-footer__grid {
	margin-bottom: 1rem;
}
.about__logo {
	margin-bottom: 1.25rem;
}
.about__logo img {
	max-width: 320px;
	height: auto;
}
.site-header__brand {
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.01em;
	margin: 0;
}
.site-nav a,
.site-header__inner a {
	color: var(--c-text);
	text-decoration: none;
	text-underline-offset: 0.22em;
}
.site-nav a {
	font-size: 1.06rem;
	font-weight: 500;
	letter-spacing: 0.005em;
}
.site-nav a:hover {
	color: var(--c-primary);
	text-decoration: underline;
}

/* === header: stylised desktop nav pills ===
   Above the hamburger breakpoint (1151px+) the top-level links sit inside a
   soft frosted capsule; each link is a rounded pill that fills with a sage
   wash and draws a clay underline as you hover. Scoped to desktop so the
   responsive dropdown keeps its own distinct look. Purely cosmetic — targeted
   with CSS against the classes core/navigation already emits. */
@media (min-width: 1151px) {
	nav.site-nav {
		align-items: center;
		width: max-content;
		max-width: 100%;
		padding: 0.2rem;
		gap: 0.25rem;
		border-radius: 999px;
		background: linear-gradient(180deg, rgb(255 255 255 / 0.72), rgb(255 255 255 / 0.38));
		border: 1px solid rgb(217 211 202 / 0.8);
		box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.9), 0 1px 3px rgb(43 42 39 / 0.05);
	}
	/* tighten the gap core puts between items so the pills read as one strip */
	nav.site-nav ul.wp-block-navigation__container {
		gap: 0.25rem;
	}
	nav.site-nav a.wp-block-navigation-item__content {
		position: relative;
		padding: 0.3rem 0.75rem;
		border-radius: 999px;
		font-size: 0.98rem;
		font-weight: 500;
		letter-spacing: 0.01em;
		color: var(--c-text);
		transition: color 180ms ease, background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
	}
	/* clay underline that sweeps in under the label on hover */
	nav.site-nav a.wp-block-navigation-item__content::after {
		content: "";
		position: absolute;
		left: 50%;
		bottom: 0.3rem;
		width: 0;
		height: 2px;
		border-radius: 2px;
		background: var(--c-clay);
		transform: translateX(-50%);
		transition: width 180ms ease;
	}
	nav.site-nav a.wp-block-navigation-item__content:hover {
		color: var(--c-primary);
		background: linear-gradient(90deg, rgb(125 143 116 / 0.16), rgb(125 143 116 / 0.03));
		transform: translateY(-1px);
		box-shadow: 0 2px 6px rgb(43 42 39 / 0.06);
		text-decoration: none;
	}
	nav.site-nav a.wp-block-navigation-item__content:hover::after {
		width: calc(100% - 1.5rem);
	}
	/* Book a session — cohesive shadow lift so it pairs with the pill nav */
	.site-header__right .is-style-fill .wp-element-button {
		box-shadow: 0 1px 2px rgb(43 42 39 / 0.12);
	}
	.site-header__right .is-style-fill .wp-element-button:hover {
		transform: translateY(-1px);
		box-shadow: 0 8px 18px rgb(43 42 39 / 0.16);
	}
}
.site-nav .wp-block-navigation__responsive-container-open svg {
	width: 24px;
	height: 24px;
}

/* === footer === */
.site-footer {
	background: var(--c-surface);
	border-top: 1px solid var(--c-stone);
}
.site-footer .site-footer__grid {
	/* three balanced columns: brand, Explore, Get in touch */
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	column-gap: clamp(2.5rem, 5vw, 5rem);
	row-gap: 3rem;
	padding-block: 1rem 3rem;
	align-items: start;
	margin-inline: auto;
}
/* full-width "Support by region" pill strip above the footer grid */
.site-footer__regions {
	border-bottom: 1px solid var(--c-stone);
	padding-block: 2.25rem 1.5rem;
	margin-bottom: 1.5rem;
	text-align: center;
}
.site-footer__regions h3 { margin-bottom: 1.1rem; }
.site-footer .site-footer__region-btns {
	justify-content: center;
	gap: 0.5rem;
}
/* language switch pill in the hero of bilingual province/city pages */
.page-lang-switch { text-align: right; margin-bottom: 0.25rem; }
.page-lang-switch a {
	display: inline-block;
	padding: 0.4rem 1rem;
	border: 1px solid var(--c-stone);
	border-radius: 999px;
	background: var(--c-surface);
	color: var(--c-text);
	font-size: 0.85rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-decoration: none;
}
.page-lang-switch a:hover { border-color: var(--c-primary); color: var(--c-primary); }
/* Location pages: the closing "A gentle way to begin" band is a solid sage so
   it no longer melts into the cream footer below it (dark text keeps AA contrast). */
.page-template-page-no-title .entry-content > .page-band:last-of-type:not(.therapists-band) {
	background-color: #7d8f74 !important;
}
.page-template-page-no-title .entry-content > .page-band:last-of-type:not(.therapists-band) .section-heading__title,
.page-template-page-no-title .entry-content > .page-band:last-of-type:not(.therapists-band) p {
	color: #2b2a27 !important;
}
/* centre each column’s content so the footer reads even and airy */
.site-footer .site-footer__grid > .wp-block-group {
	text-align: center;
}
.site-footer .site-footer__brand img {
	margin-inline: auto;
}
.site-footer h3 {
	color: var(--c-primary);
	margin-bottom: 1.1rem;
}
.site-footer p {
	margin-block: 0.35rem;
	color: var(--c-text);
}
.site-footer .site-footer__links a {
	color: var(--c-text);
	text-decoration: none;
	padding-block: 0.15rem;
}
.site-footer nav.site-footer__links {
	align-items: center !important;
}
.site-footer .site-footer__links.wp-block-navigation__container {
	display: grid;
	grid-template-columns: repeat(2, auto);
	justify-content: center;
	justify-items: start;
	column-gap: 2.25rem;
	row-gap: 0.4rem;
}
.site-footer .wp-block-buttons {
	justify-content: center;
}
.site-footer .site-footer__links a:hover {
	color: var(--c-accent);
	text-decoration: underline;
}
.site-footer .wp-block-separator {
	border-color: var(--c-stone);
}

/* Footer stacks into one column on small screens */
@media (max-width: 720px) {
	.site-footer .site-footer__grid {
		grid-template-columns: 1fr !important;
		row-gap: 2rem;
	}
	.site-footer__grid > .wp-block-group {
		width: 100%;
		max-width: 100%;
	}
}
.site-footer__legal {
	color: var(--c-text);
	font-size: 0.9rem;
	padding-block: 1.5rem 0.25rem;
}

/* === hero === */
.wp-block-cover.home-hero {
	/* tuck the image up under the translucent sticky header */
	margin-top: calc(-1 * var(--header-h));
}
.wp-block-cover .home-hero__content {
	margin-left: var(--gutter);
	margin-right: var(--gutter);
	padding-block: 1.4rem;
}
.home-hero__eyebrow-label {
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 0.92;
	margin-bottom: 0.55rem;
}
.home-hero__title {
	font-size: clamp(2.4rem, 6vw, 4.6rem);
	line-height: 1.04;
	letter-spacing: -0.025em;
	margin-bottom: 0.8rem;
}
.home-hero__lede {
	font-size: 1.15rem;
	max-width: 30em;
	opacity: 0.94;
	margin-bottom: 1.15rem;
}
.wp-block-cover .home-hero__content .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

/* === sections === */
.home-about,
.home-lowcost,
.home-values,
.home-team,
.home-process,
.home-cta {
	padding-block: clamp(2.5rem, 5.5vw, 3.75rem);
}
.home-cta__title em {
	font-style: italic;
	color: var(--c-accent);
}
.wp-block-columns.home-about__cols,
.wp-block-columns.home-lowcost__cols {
	gap: clamp(2rem, 5vw, 4rem);
}
.home-about__img img,
.home-lowcost__img img {
	border-radius: var(--r-md);
	width: 100%;
	height: auto;
	object-fit: cover;
	box-shadow: var(--shadow-md);
}
.home-about__list {
	margin-top: 1.5rem;
	padding-left: 0;
	list-style: none;
}
.home-about__list li {
	position: relative;
	padding-left: 1.5rem;
	margin-block: 0.5rem;
}
.home-about__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.5em;
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: var(--c-primary);
}

/* === cards === */
.is-style-card {
	background: var(--c-surface);
	border: 1px solid var(--c-stone);
	border-radius: var(--r-md);
	padding: 1.6rem;
	box-shadow: 0 1px 0 rgb(255 255 255 / 0.6) inset, var(--shadow-sm);
}
.value-card:hover {
	box-shadow: 0 1px 0 rgb(255 255 255 / 0.6) inset, var(--shadow-md);
	transform: translateY(-3px);
}
.value-card__title {
	font-size: 1.3rem;
	margin-block: 0 0.7rem;
}
.wp-block-columns.home-values__grid {
	gap: 1.5rem;
}

/* === team === */
.wp-block-columns.home-team__grid {
	gap: 2rem;
}
.home-team__carousel {
	display: flex !important;
	flex-wrap: nowrap;
	overflow-x: auto;
	scroll-snap-type: none;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 1rem;
}
.home-team__carousel > .home-team__member {
	flex: 0 0 clamp(230px, 24vw, 260px) !important;
	width: clamp(230px, 24vw, 260px) !important;
	min-width: 230px !important;
	scroll-snap-align: none;
}
.home-team__member {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	background: var(--c-surface);
	border: 1px solid var(--c-stone);
	border-radius: var(--r-md);
	padding: 1.7rem 1rem 1.2rem;
	box-shadow: 0 1px 0 rgb(255 255 255 / 0.6) inset, var(--shadow-sm);
}
.home-team__photo img {
	display: block;
	border-radius: 50%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: center 18%;
	width: min(74%, 190px);
	margin-inline: auto;
	border: 3px solid var(--c-background);
	box-shadow: 0 0 0 1px var(--c-stone);
}
.home-team__member .home-team__name {
	font-size: 1.12rem;
	margin: 1.15rem 0 0;
	line-height: 1.25;
	white-space: nowrap;
	min-height: 1.5em;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--c-ink, #2b2a27);
	letter-spacing: 0.005em;
}
.home-team__member .home-team__name a {
	color: inherit;
	text-decoration: none;
}
.home-team__role {
	margin: 0.55rem 0 0;
	width: 100%;
	max-width: 100%;
	font-size: 0.66rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	color: var(--c-primary);
	line-height: 1.7;
	min-height: 3.2em;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.home-team__member::after {
	content: "";
	display: block;
	width: 1.9rem;
	height: 2px;
	border-radius: 2px;
	background: var(--c-accent);
	opacity: 0.75;
	margin: auto auto 0;
}

/* On small screens: one teammate per swipe instead of a long scrolling list */
@media (max-width: 640px) {
	.home-team__carousel {
		display: flex !important;
		flex-wrap: nowrap !important;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 1.25rem;
	}
	.home-team__carousel > .home-team__member {
		flex: 0 0 calc(100% - 2.5rem) !important;
		width: calc(100% - 2.5rem) !important;
		min-width: 0 !important;
		max-width: none !important;
		scroll-snap-align: center;
	}
}

/* === cta === */
.home-cta__inner {
	padding-block: 1rem;
	text-align: center;
}
.home-cta__inner .section-eyebrow {
	justify-content: center;
}
.home-cta__title {
	font-size: clamp(1.9rem, 4vw, 2.9rem);
	line-height: 1.12;
	margin-bottom: 1rem;
}
.home-cta__lede {
	max-width: 30em;
	margin: 0 auto 2rem;
}
.home-cta__inner .wp-block-buttons {
	justify-content: center;
}

/* === responsive === */
@media (max-width: 781px) {
	.section-heading {
		flex-wrap: wrap;
	}
	.site-header__inner {
		gap: 1rem;
	}
	.home-hero__title {
		font-size: clamp(2.2rem, 11vw, 3rem);
	}
}

/* === inner pages === */
.page-hero__inner {
	padding-block: clamp(2.5rem, 5.5vw, 3.5rem) clamp(1.75rem, 4vw, 2.5rem);
}
.page-hero__title {
	font-size: clamp(2.2rem, 5vw, 3.2rem);
	line-height: 1.25;
	letter-spacing: -0.025em;
	margin-bottom: 1.1rem;
}

/* Shrink the long “Meet your future therapist. [rotating term]” heading on
   mobile so it holds a single line instead of wrapping. Scoped to the
   Therapists directory hero, which is the one long title. */
@media (max-width: 640px) {
	body.page-id-374 .page-hero__title {
		font-size: 1.75rem;
		line-height: 1.3;
		letter-spacing: -0.02em;
	}
}

/* Rotating magic header — the “Meet your …” hero stays inline while the
   trailing phrase scrolls up through a set of terms. Track is one line tall
   and clips the stack; the small script cycles the visible word. */
.magic-header {
	display: inline-block;
}
.magic-header__track {
	display: inline-block;
	overflow: hidden;
	vertical-align: bottom;
	line-height: 1.25;
	height: 1.25em;
	/* clip window is exactly one line of the (uniform) heading height, so the
	   rotated phrase sits on the same baseline as “Meet your” with room for
	   descenders */
}
.magic-header__word {
	display: block;
	white-space: nowrap;
	width: max-content;
}
/* Keep the script’s height in sync with the CSS slot so the stack slides
   exactly one phrase at a time. */
/* One-line fallback: without JS (or with reduced motion) show only the first
   phrase; the script opts the page into showing the rotating stack. */
.magic-header__track .magic-header__word:not(:first-child) {
	display: none;
}
html.mh-on .magic-header__track .magic-header__word {
	display: block;
}

.page-hero__lede {
	font-size: 1.12rem;
	max-width: 34em;
	/* keep the lede on the hero's left edge — core centers narrowed
	   children of constrained layouts, which made it drift off the title */
	margin-inline-start: 0 !important;
	margin-inline-end: auto;
}
/* Search-first Therapists hero */
.page-hero--sage {
	background: var(--c-primary);
	color: var(--c-on-color);
}
.page-hero--sage .page-hero__title,
.page-hero--sage .page-hero__lede {
	color: var(--c-on-color);
}
.page-hero--sage .page-hero__lede {
	opacity: 0.92;
}
.page-hero--sage .section-eyebrow__label {
	color: var(--c-on-color);
	opacity: 0.85;
}
.dir-search {
	flex: 1;
	gap: 0.6rem;
	margin: 1.75rem 0 1rem;
	max-width: 46rem;
	width: 100%;
}
.page-hero--sage .wp-block-search.dir-search {
	width: 100%;
}
.page-hero--sage .wp-block-search__inside-wrapper {
	display: flex;
	flex: 1 1 auto;
	width: 100%;
	align-items: center;
	background: transparent;
	border: none;
	padding: 0;
}
.page-hero--sage .wp-block-search__input {
	flex: 1 1 auto;
	min-width: 0;
	width: auto;
	max-width: none;
	border: none;
	border-radius: 999px;
	padding: 0.95rem 1.25rem;
	font: inherit;
	font-size: 0.95rem;
	background: var(--c-background);
	color: var(--c-text);
}
.page-hero--sage .wp-block-search__input::placeholder {
	color: #8a857c;
}
.page-hero--sage .wp-block-search__button {
	flex: 0 0 auto;
	border: none;
	border-radius: 999px;
	padding: 0.6rem 1.75rem;
	font: inherit;
	font-weight: 600;
	color: var(--c-on-color);
	background: var(--c-clay);
	cursor: pointer;
	box-shadow: none;
	margin-left: 0.5rem;
}
.dir-search-hint {
	color: var(--c-on-color);
	opacity: 0.82;
	font-size: 0.85rem;
	max-width: 46rem;
	margin-bottom: 0.5rem;
}
.page-hero--sage .dir-filter__group-label {
	color: var(--c-on-color);
	opacity: 0.8;
}
.page-hero--sage .dir-filter-pill .wp-block-button__link {
	background: rgb(250 248 245 / 0.15);
	border-color: rgb(255 255 255 / 0.35);
	color: var(--c-on-color);
}
.page-hero--sage .dir-filter-pill .wp-block-button__link:hover,
.page-hero--sage .dir-filter-pill.is-active .wp-block-button__link {
	background: var(--c-background);
	border-color: var(--c-on-color);
	color: var(--c-text);
}
.page-hero--sage .dir-results-count {
	color: var(--c-on-color);
	opacity: 0.85;
}
.page-hero--sage .dir-filter__clear .wp-block-button__link {
	color: var(--c-on-color);
}
.page-hero--sage .dir-filter__foot {
	border-top-color: rgb(255 255 255 / 0.3);
}
@media (max-width: 640px) {
	.dir-search {
		flex-wrap: wrap;
	}
	.page-hero--sage .wp-block-search__button {
		padding: 0.8rem 1.25rem;
	}
}
.page-band {
	padding-block: clamp(2.5rem, 5.5vw, 3.75rem);
}

/* === therapists === */
.wp-block-columns.therapists-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 1.5rem;
	row-gap: 2rem !important;
}
.therapists-grid > .wp-block-column {
	width: auto;
	min-width: 0;
}
@media (max-width: 900px) {
	.wp-block-columns.therapists-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 560px) {
	.wp-block-columns.therapists-grid {
		grid-template-columns: 1fr;
	}
}
.therapist-card {
	padding: 1.15rem;
	background: var(--c-background);
	border: 1px solid var(--c-stone);
	border-radius: var(--r-md);
	box-shadow: 0 1px 0 rgb(255 255 255 / 0.6) inset, var(--shadow-sm);
	display: flex;
	flex-direction: column;
	/* iOS Safari flexbox quirk: keep the card's own columns stacked (photo
	   above body) even when the WebKit engine mis-resolves the cross axis
	   inside a grid item. */
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	min-width: 0;
	text-align: center;
}
.therapist-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 1px 0 rgb(255 255 255 / 0.6) inset, var(--shadow-md);
}
.therapist-card__photo {
	margin: 0 0 0.4rem;
}
.therapist-card__photo img {
	display: block;
	border-radius: 50%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	object-position: center 18%;
	width: min(58%, 132px);
	margin-inline: auto;
	border: 3px solid var(--c-background);
	box-shadow: 0 0 0 1px var(--c-stone), 0 6px 14px rgb(43 42 39 / 0.12);
}
.therapist-card__body {
	text-align: center;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	align-items: center;
	gap: 0.35rem;
}
.therapist-card__rate {
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	padding: 0.3rem 0.75rem;
	border-radius: 999px;
	margin: 0 0 0.4rem;
	max-width: 100%;
	min-height: 1.55em;
	display: inline-flex;
	align-items: center;
}
.therapist-card__name {
	font-size: 1.25rem;
	margin: 0;
	min-height: 1.85em;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1.2;
}
.therapist-card__cred {
	color: var(--c-primary);
	font-size: 0.8rem;
	font-weight: 600;
	margin: 0;
	min-height: 1.05em;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1.25;
}
.therapist-card__lang {
	margin: 0;
	font-size: 0.72rem;
	color: var(--c-text);
	opacity: 0.8;
	letter-spacing: 0.03em;
	text-align: center;
	min-height: 1.12em;
	display: flex;
	flex-wrap: wrap; /* let multiple language pills wrap */
	gap: 0.35rem 0.4rem;
	align-items: center;
	justify-content: center;
}
.therapist-card__meta {
	margin: 0.4rem 0 0;
	width: 100%;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	height: auto;
}
.therapist-card .therapist-card__rate--student,
.therapist-card .therapist-card__rate--intern {
	background: #b3502b;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}
.therapist-card__rate--associate {
	background: var(--c-stone);
	color: var(--c-text);
}
.therapist-card__name {
	font-size: 1.25rem;
	margin: 0;
}
.therapist-card__focus-link {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	transition: color 140ms ease, border-color 140ms ease;
}
.therapist-card__focus-link:hover {
	color: var(--c-primary);
	border-bottom-color: var(--c-primary);
}
.therapist-card__cred {
	color: var(--c-primary);
	font-size: 0.8rem;
	font-weight: 600;
	margin: 0;
}
.therapist-card__meta {
	margin: 0.4rem 0 0;
}
/* Tighten the pills-to-"Populations Served" gap specifically; the “Specializes
   in” label above the pills keeps its original spacing. */
.therapist-card__meta + .therapist-card__label {
	margin-top: 0 !important;
}
.therapist-card__data {
	display: none;
}
.therapist-card__lang {
	margin: 0 0 0.35rem;
	font-size: 0.8rem;
	color: var(--c-text);
	opacity: 0.8;
	letter-spacing: 0.03em;
	text-align: center;
}
.therapist-card__lang-label {
	color: var(--c-primary);
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.62rem;
	letter-spacing: 0.08em;
	margin-right: 0.35rem;
}
/* Language values as pills */
.therapist-card__lang-pill {
	display: inline-flex;
	align-items: center;
	font-size: 0.72rem;
	line-height: 1.2;
	padding: 0.2rem 0.6rem;
	border-radius: 999px;
	background: var(--c-surface);
	border: 1px solid var(--c-stone);
	color: var(--c-text);
	opacity: 1;
}
/* Uniform, fluid section rhythm: every vertical gap between a card’s sections
   uses one value that scales with the viewport — more room on mobile/narrow
   (taller card), tighter on wide screens (shorter card). */
.therapist-card {
	--card-sec-gap: clamp(0.5rem, calc(1.1rem - 0.9vw), 1rem);
}
.therapist-card__body {
	gap: var(--card-sec-gap) !important;
}
.therapist-card .therapist-card__label,
.therapist-card .therapist-card__meta,
.therapist-card .therapist-card__pops,
.therapist-card .therapist-card__lang {
	margin: 0 !important;
}
.therapist-card__label {
	margin: 0.5rem 0 0.2rem !important;
	color: var(--c-primary);
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.62rem;
	letter-spacing: 0.08em;
	text-align: center;
}
.therapist-card__pops {
	margin: 0 0 0.5rem !important;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-content: flex-start;
	gap: 0.3rem 0.4rem;
}
.therapist-card__pops li {
	font-size: 0.72rem;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	background: var(--c-primary);
	color: var(--c-on-color);
}
.therapist-card__tags {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-content: flex-start;
	gap: 0.35rem 0.4rem;
	height: 7.75rem; /* uniform pill band: keeps every card’s pill area the same height */
	overflow: hidden;
}
.therapist-card__tags li {
	font-size: 0.72rem;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	background: var(--c-surface);
	border: 1px solid var(--c-stone);
}
/* Cap specialty pills at seven so every card’s pill stack stays a uniform
   height; the full list still lives on each profile page. */
.therapist-card__tags li:nth-child(n+8) { display: none; }
.therapist-card__actions {
	margin: auto 0 0;
	justify-content: center;
	gap: 0.55rem;
}
.therapist-card__actions .therapist-card__view .wp-block-button__link,
.therapist-card__actions .therapist-card__book .wp-block-button__link {
	padding: 0.5rem 1.05rem;
}
.therapist-card__actions .therapist-card__view .wp-block-button__link {
	background: transparent;
	color: var(--c-primary);
	border: 1px solid var(--c-primary);
}
.therapist-card__actions .therapist-card__view .wp-block-button__link:hover {
	background: var(--c-primary);
	color: var(--c-on-color);
}
.therapist-card__actions .therapist-card__book .wp-block-button__link {
	background: var(--wp--preset--color--accent);
	color: var(--c-on-color);
}
.therapist-card__actions .therapist-card__book .wp-block-button__link:hover {
	filter: brightness(0.94);
}

/* === directory filter === */
.dir-filter-wrap {
	background: var(--c-background);
	border: 1px solid var(--c-stone);
	border-radius: var(--r-md);
	padding: 1.25rem 1.5rem;
	margin-bottom: 2rem;
}
.dir-filter__title {
	font-size: 1rem;
	font-weight: 600;
	margin-block: 0 0.75rem;
}
.dir-filter__group {
	margin: 0 0 1rem !important;
	display: grid;
	grid-template-columns: 9rem minmax(0, 1fr);
	align-items: start;
	column-gap: 2rem;
	row-gap: 0.5rem;
}
.dir-filter__group > * {
	margin-block: 0 !important;
	margin-inline: 0 !important;
	min-width: 0;
}
.dir-filter__group-label {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--c-text);
	opacity: 0.6;
	margin: 0;
	white-space: nowrap;
	align-self: center;
}
.dir-filter__pills {
	min-width: 0;
	gap: 0.4rem;
	flex-wrap: wrap;
}
@media (max-width: 640px) {
	.dir-filter__group {
		grid-template-columns: 1fr;
	}
}
.dir-filter-pill .wp-block-button__link {
	background: transparent;
	color: var(--c-text);
	border: 1px solid var(--c-stone);
	padding: 0.35rem 0.85rem;
	font-size: 0.85rem;
}
.dir-filter-pill .wp-block-button__link:hover,
.dir-filter-pill.is-active .wp-block-button__link {
	background: var(--c-primary);
	border-color: var(--c-primary);
	color: var(--c-on-color);
}
.dir-filter__pills .wp-block-button.dir-filter-pill {
	margin: 0;
}
/* Collapse the specialties group to 10 pills; a "See more" toggle reveals the rest */
.dir-filter__group--issue .dir-filter__pills .wp-block-button.dir-filter-pill:nth-child(n+11) {
	display: none;
}
.dir-filter__group--issue .dir-filter__pills.is-more .wp-block-button.dir-filter-pill {
	display: inline-block;
}
.dir-filter__toggle {
	display: none;
	margin: 0;
	padding: 0;
	border: 0;
	cursor: pointer;
}
.dir-filter__group--issue .dir-filter__toggle {
	display: inline-flex;
}
.dir-filter__group--issue .dir-filter__toggle .wp-block-button__link {
	background: transparent;
	color: var(--c-primary);
	border: 0;
	box-shadow: none;
	padding: 0.35rem 0.6rem;
	font-size: 0.85rem;
	font-weight: 600;
	font-family: inherit;
	margin: 0;
}
.dir-filter__group--issue .dir-filter__toggle .wp-block-button__link:hover,
.dir-filter__group--issue .dir-filter__toggle .wp-block-button__link:focus {
	color: var(--c-clay);
	background: transparent;
}
.dir-filter__foot {
	border-top: 1px solid var(--c-stone);
	padding-top: 1rem;
	margin-top: 0.25rem;
	gap: 1rem;
}
.dir-results-count {
	margin-block: 0;
	font-size: 0.9rem;
	color: var(--c-text);
	opacity: 0.75;
}
.dir-filter__clear {
	margin-left: auto;
}
.dir-filter__clear .wp-block-button__link {
	background: transparent;
	color: var(--c-text);
	border: 1px solid transparent;
	padding: 0.45rem 1rem;
	box-shadow: none;
	text-decoration: underline;
}
.dir-filter__clear .wp-block-button__link:hover {
	background: transparent;
	color: var(--c-accent);
}
@media (max-width: 640px) {
	.dir-filter-wrap {
		padding: 1rem;
	}
}
.dir-no-match {
	display: none;
	padding: 0.75rem 1rem;
	margin-block: 0.5rem 0;
	background: var(--c-background);
	border: 1px dashed var(--c-stone);
	border-radius: var(--r-md);
	font-size: 0.95rem;
}
.dir-no-match.is-visible {
	display: block;
}
.therapist-card.is-hidden {
	display: none;
}

/* === low-cost === */
.wp-block-columns.lowcost-band__cols {
	gap: clamp(2rem, 5vw, 4rem);
}
.lowcost-band__img img {
	border-radius: var(--r-md);
	width: 100%;
	height: auto;
	object-fit: cover;
}
.lowcost-band__list {
	margin-top: 1.2rem;
	padding-left: 0;
	list-style: none;
}
.lowcost-band__list li {
	position: relative;
	padding-left: 1.5rem;
	margin-block: 0.5rem;
}
.lowcost-band__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.5em;
	width: 0.55rem;
	height: 0.55rem;
	border-radius: 50%;
	background: var(--c-accent);
}
.faq-item {
	padding: 0.25rem 0 1.5rem;
}
.faq-item__q {
	font-size: 1.15rem;
	margin-bottom: 0.5rem;
}
.wp-block-columns.faq-band__cols {
	margin-block: 1rem 2rem;
	gap: clamp(2rem, 5vw, 3.5rem);
}

/* === contact === */
.wp-block-columns.contact-band__cols {
	gap: clamp(2rem, 5vw, 4rem);
	align-items: flex-start;
}
.contact-band__form .wp-block-jetpack-contact-form {
	--jetpack-contact-form-label-size: 0.9rem;
}
.wp-block-jetpack-contact-form input,
.wp-block-jetpack-contact-form textarea,
.wp-block-jetpack-contact-form select {
	border-radius: var(--r-sm);
	border: 1px solid var(--c-stone);
	background: var(--c-background);
	padding: 0.7rem 0.9rem;
}
.contact-card {
	background: var(--c-background);
	border: 1px solid var(--c-stone);
	border-radius: var(--r-md);
	padding: 1.5rem;
	margin-bottom: 1.5rem;
	box-shadow: 0 1px 0 rgb(255 255 255 / 0.6) inset, var(--shadow-sm);
}
.contact-card__title {
	font-size: 1.2rem;
	margin-block: 0 0.6rem;
}

/* === polish fixes === */
.wp-block-post-content > .alignfull + .alignfull {
	margin-top: 0;
}
.wp-block-button.is-style-outline > .wp-block-button__link {
	padding: 0.8rem 1.6rem;
}
button.wp-element-button {
	border: 0;
	padding: 0.8rem 1.6rem;
	cursor: pointer;
}
.home-hero__content .home-hero__eyebrow-label,
.home-hero__content .home-hero__title,
.home-hero__content .home-hero__lede {
	color: var(--c-on-color) !important;
}
.home-hero__content .is-style-outline .wp-block-button__link {
	color: var(--c-on-color) !important;
	border-color: var(--c-on-color);
}

/* Home hero secondary CTA — solid light pill so it reads on the video */
.home-hero__content .hero-solid .wp-block-button__link {
	background: var(--c-background);
	color: var(--c-text) !important;
	border: none;
	box-shadow: 0 3px 10px rgb(43 42 39 / 0.18);
}
.home-hero__content .hero-solid .wp-block-button__link:hover {
	background: var(--c-surface);
	color: var(--c-text) !important;
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgb(43 42 39 / 0.2);
}



/* ===== Therapist profile pages ===== */
.profile-hero__grid {
	display: flex !important;
	flex-wrap: nowrap;
	gap: clamp(1.75rem, 4vw, 3rem);
	align-items: center;
}
.profile-hero__photo-wrap {
	flex: 0 0 min(34%, 300px);
}
.profile-hero__photo {
	margin: 0;
	border-radius: var(--r-md);
	overflow: hidden;
	border: 1px solid var(--c-stone);
	background: var(--c-surface);
}
.profile-hero__photo img {
	width: 100%;
	height: auto;
	display: block;
	aspect-ratio: 1;
	object-fit: cover;
}
.profile-hero__info {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
}
.profile-hero__name {
	font-size: clamp(1.9rem, 4vw, 2.6rem);
	margin: 0.5rem 0 0.2rem;
}
.profile-hero__tag {
	color: var(--c-text);
	opacity: 0.75;
	font-weight: 600;
	margin: 0 0 0.8rem;
}
.profile-hero__status {
	font-size: 0.9rem;
	margin: 0.8rem 0 0;
}
.profile-hero__info .wp-block-buttons {
	margin: 1rem 0 0;
}
.profile-hero__rate {
	margin: 0;
}
.profile-hero__rate p {
	margin: 0;
}

.profile-hero {
	padding-block: clamp(2rem, 4vw, 2.75rem);
}

.p-back {
	padding-block: 1.4rem 0;
}
.p-back__link {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 600;
}
.p-back__link a {
	color: var(--c-primary);
	text-decoration: none;
}
.p-back__link a:hover {
	text-decoration: underline;
}

/* Compact photo + sticky sidebar profile */
.profile-hero__grid {
	gap: clamp(1.75rem, 4vw, 2.75rem);
}
.profile-hero__photo-wrap {
	flex: 0 0 220px;
}
.profile-hero__photo {
	border-radius: 999px;
	border: 4px solid var(--c-background);
	box-shadow: var(--shadow-sm);
}
.profile-hero__pills {
	align-items: flex-start;
	gap: 0.4rem;
	margin: 0.35rem 0 0;
}
.profile-hero__status {
	font-size: 0.82rem;
	margin: 0;
	opacity: 0.8;
}

.profile-main {
	padding-block: clamp(1rem, 2vw, 1.5rem) clamp(2rem, 4vw, 3rem);
}
.profile-main__grid {
	gap: clamp(2rem, 4vw, 3.5rem);
	align-items: flex-start !important;
}
.profile-main__side {
	flex: 0 0 220px;
	max-width: 220px;
	position: sticky;
	/* sit below the translucent sticky header with a breath of air. The rendered
	   header (~8rem tall) is taller than --header-h (81px, the hero tuck), so we
	   offset by the real header height so the nav is never obscured. */
	top: calc(8rem + 1rem);
}
.p-nav {
	background: var(--c-surface);
	border: 1px solid var(--c-stone);
	border-radius: var(--r-md);
	padding: 1rem;
	box-shadow: var(--shadow-sm);
}
.p-nav__links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}
.p-nav__links li a {
	display: block;
	padding: 0.45rem 0.65rem;
	border-radius: 999px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--c-text);
	text-decoration: none;
}
.p-nav__links li a:hover {
	background: var(--c-background);
	color: var(--c-primary);
}
.profile-main__body {
	flex: 1 1 0;
	min-width: 0;
}

.pf-sec {
	margin: 0 0 2.25rem;
}
.pf-title {
	font-size: clamp(1.4rem, 2.6vw, 1.8rem);
	margin: 0 0 1rem;
	padding-bottom: 0.7rem;
	border-bottom: 1px solid var(--c-stone);
}
.pf-sec > p {
	font-size: 1rem;
	line-height: 1.6;
}
.pf-sec > p + p {
	margin-top: 0.9rem;
}

.p-chips {
	list-style: none;
	margin: 0 0 0.85rem;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}
.p-chips li {
	padding: 0.32rem 0.8rem;
	font-size: 0.85rem;
	background: var(--c-surface);
	border: 1px solid var(--c-stone);
	border-radius: 999px;
	line-height: 1.4;
}

.pf-fee {
	font-weight: 600;
}
.pf-line {
	margin: 0 0 0.55rem;
	padding: 0.45rem 0.9rem;
	background: var(--c-surface);
	border: 1px solid var(--c-stone);
	border-radius: 999px;
	font-size: 0.92rem;
	line-height: 1.5;
}

/* Card-stack profile hero */
.profile-hero__grid {
	flex-direction: column !important;
	align-items: center;
	text-align: center;
	gap: clamp(1.4rem, 3vw, 2rem);
}
.profile-hero__photo-wrap {
	flex: 0 0 auto;
	width: 210px;
}
.profile-hero__photo {
	box-shadow: var(--shadow-md);
}
.profile-hero__info {
	align-items: center;
	text-align: center;
}
.profile-hero .section-eyebrow {
	justify-content: center;
	gap: 0.8rem;
}
.profile-hero .section-eyebrow::before,
.profile-hero .section-eyebrow::after {
	content: "";
	height: 1px;
	width: 2rem;
	background: var(--c-clay);
	opacity: 0.55;
}
.profile-hero__pills {
	justify-content: center;
}
.profile-hero__info .wp-block-buttons {
	justify-content: center;
	margin-left: auto;
	margin-right: auto;
}

/* Refined sidebar nav: numbered connector + pill hover */
.p-nav__links {
	counter-reset: pnav;
}
.p-nav__links li {
	counter-increment: pnav;
}
.p-nav__links li a {
	display: flex;
	align-items: center;
	gap: 0.65rem;
}
.p-nav__links li a::before {
	content: "0" counter(pnav);
	font-size: 0.66rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--c-clay);
	opacity: 0.75;
	flex: 0 0 auto;
}
.p-nav__links li a:hover {
	background: var(--c-primary);
	color: var(--c-on-color);
}

/* Two-column pricing summary with clay rate pills */
.pf-pricing__grid {
	gap: 1.25rem;
	margin-top: 0.2rem;
}
.pf-pricing__col {
	background: var(--c-surface);
	border: 1px solid var(--c-stone);
	border-radius: var(--r-md);
	padding: 1.25rem 1.4rem;
}
.pf-side-title {
	font-size: 0.76rem;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--c-text);
	opacity: 0.55;
	margin: 0 0 0.9rem;
}
.pf-pill {
	display: inline-block;
	margin: 0 0 0.5rem;
	padding: 0.5rem 1rem;
	background: var(--c-clay);
	color: var(--c-on-color);
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.9rem;
	line-height: 1.4;
}
.pf-detail {
	margin: 0 0 0.6rem;
	font-size: 0.95rem;
	line-height: 1.5;
	opacity: 0.9;
}
.pf-pricing__col--details .pf-detail:last-child {
	margin-bottom: 0;
}

/* ===== Profile hero: Banner + info card ===== */
.profile-hero__grid {
	flex-direction: row !important;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: clamp(1.5rem, 3vw, 2.25rem);
}
.profile-hero__info {
	order: 2;
	flex: 0 1 auto;
	width: auto;
	max-width: 560px;
	align-items: center;
	text-align: center;
	background: var(--c-background);
	border: 1px solid var(--c-stone);
	border-radius: var(--r-md);
	padding: clamp(1.5rem, 3vw, 2.25rem);
	box-shadow: var(--shadow-md);
}
.profile-hero__photo-wrap {
	order: 1;
	flex: 0 0 auto;
	width: 200px;
	align-self: center;
}
.profile-hero .section-eyebrow {
	justify-content: flex-start;
	gap: 0;
}
.profile-hero .section-eyebrow::before,
.profile-hero .section-eyebrow::after {
	display: none;
}
.profile-hero__pills {
	justify-content: flex-start;
	gap: 0.6rem;
	margin: 0.4rem 0 0;
	align-items: center;
}
.profile-hero__pills .therapist-card__rate {
	margin: 0;
}
.profile-hero__status {
	margin: 1rem 0 0;
	color: var(--c-text);
	opacity: 0.85;
}
/* Labelled sub-groups inside a specialties section */
.pf-sub-title {
	font-family: var(--wp--preset--font-family--body);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--c-primary);
	margin: 1.6rem 0 0.6rem;
}
.pf-sec > .pf-sub-title:first-child {
	margin-top: 0.9rem;
}
.profile-hero__lang {
	margin: 0 0 0.25rem;
	padding: 0;
	background: none;
	border: 0;
	border-radius: 0;
	flex-basis: 100%;
	font-size: 0.72rem;
	font-weight: 400;
	line-height: 1.4;
	letter-spacing: 0.03em;
	color: var(--c-text);
	opacity: 0.8;
}
.profile-hero__lang-label {
	font-weight: 700;
	color: var(--c-clay);
}
.profile-hero__pills {
	flex-wrap: wrap;
	align-items: flex-start;
}
.profile-hero__info .wp-block-buttons {
	justify-content: flex-start;
	margin: 1rem 0 0;
}
/* Centre the whole hero info card (annotation: line everything up) */
.profile-hero__info {
	align-items: center;
	text-align: center;
}
.profile-hero__info .section-eyebrow {
	justify-content: center;
}
.profile-hero__info .profile-hero__pills {
	justify-content: center;
}
.profile-hero__info .profile-hero__status {
	margin-inline: auto;
	max-width: 32em;
}
.profile-hero__info .wp-block-buttons {
	justify-content: center;
	margin-left: auto;
	margin-right: auto;
}

/* Fancied-up pricing details: dotted list with hairlines */
.pf-detail {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.55rem;
	margin: 0;
	line-height: 1.5;
}
.pf-detail + .pf-detail {
	margin-top: 0;
	border-top: 1px solid var(--c-stone);
	padding-top: 0.6rem;
}
.pf-detail::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--c-clay);
	flex: 0 0 auto;
	align-self: center;
}

@media (max-width: 720px) {
	.profile-hero__grid {
		flex-direction: column !important;
		align-items: stretch;
	}
	.profile-hero__info {
		order: 2;
		max-width: none;
	}
	.profile-hero__photo-wrap {
		order: 1;
		flex: 0 0 200px;
		width: 200px;
		align-self: center;
	}
}

/* Uniform directory cards: equal-height cards with every section identically
   spaced. Do NOT pin the actions to the card bottom — that leftover space on
   shorter cards made the buttons gap grow (non-uniform at some widths).
   Centering the column keeps all gaps equal to --card-sec-gap on every card. */
.therapist-card__body {
	flex: 1 1 0 !important;
	justify-content: center;
	/* iOS Safari flexbox quirk: force the column axis explicitly with a
	   legacy -webkit fallback so the body's children (rate, name, tags,
	   languages, actions) never lay out as a row on older iOS builds.
	   flex-wrap MUST be nowrap: core .is-layout-flex sets wrap, and a
	   column flex with wrap spills overflow children into new columns
	   (horizontally) on some iOS Safari builds. */
	flex-direction: column !important;
	flex-wrap: nowrap !important;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	min-width: 0;
}
.therapist-card__actions {
	margin: 0 !important;
}
.therapist-card__body > * {
	max-width: 100%;
	min-width: 0;
}
.profile-bio,
.profile-facts,
.profile-cta {
	padding-block: clamp(2rem, 4vw, 3rem);
}

.profile-bio__inner,
.profile-cta__card {
	max-width: 820px;
	margin-inline: auto;
}
.profile-bio__title {
	font-size: clamp(1.7rem, 3.4vw, 2.2rem);
	margin: 0 0 1.25rem;
}
.profile-bio__lead {
	font-size: 1.06rem;
	line-height: 1.55;
}
.profile-bio__inner p + p {
	margin-top: 0.9rem;
}

.profile-facts__grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
	counter-reset: profilefact;
}
.profile-facts__col {
	display: flex;
	flex-direction: column;
	background: var(--c-background);
	border: 1px solid var(--c-stone);
	border-radius: var(--r-md);
	padding: 1.5rem 1.4rem 1.7rem;
	box-shadow: 0 1px 0 rgb(255 255 255/0.6) inset, var(--shadow-sm);
	height: 100%;
}
.profile-facts__title {
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--c-primary);
	margin: 0 0 1rem;
	display: flex;
	align-items: center;
	gap: 0.65rem;
	border-bottom: 0;
	padding-bottom: 0;
}
.profile-facts__title::before {
	counter-increment: profilefact;
	content: counter(profilefact, decimal-leading-zero);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.1rem;
	height: 2.1rem;
	flex: 0 0 2.1rem;
	border-radius: 50%;
	background: var(--c-primary);
	color: #fff;
}
.profile-facts__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}
.profile-facts__list li {
	padding: 0.3rem 0.75rem;
	opacity: 1;
	font-size: 0.85rem;
	background: var(--c-surface);
	border: 1px solid var(--c-stone);
	border-radius: 999px;
	line-height: 1.4;
}
.profile-facts__fee {
	font-size: 1rem;
	font-weight: 600;
	margin: 0 0 0.45rem;
	width: 100%;
	text-align: left;
	padding: 0.35rem 0.75rem;
	background: var(--c-surface);
	border: 1px solid var(--c-stone);
	border-radius: 999px;
	line-height: 1.4;
}
.profile-facts__line {
	margin: 0 0 0.45rem;
	width: 100%;
	text-align: left;
	padding: 0.35rem 0.75rem;
	background: var(--c-surface);
	border: 1px solid var(--c-stone);
	border-radius: 999px;
	line-height: 1.4;
}

.profile-cta__card {
	background: var(--c-surface);
	border: 1px solid var(--c-stone);
	border-radius: var(--r-md);
	padding: clamp(2rem, 4vw, 3rem);
	box-shadow: var(--shadow-md);
	display: grid;
	grid-template-columns: repeat(2, max-content);
	grid-template-rows: auto auto auto auto;
	justify-content: center;
	justify-items: center;
	gap: 0.55rem 1.5rem;
	text-align: center;
}
.profile-cta__title {
	grid-column: 1 / -1;
	grid-row: 1;
	font-size: clamp(1.6rem, 3.4vw, 2.1rem);
	margin: 0;
}
.profile-cta__card > p.wp-block-paragraph:not(.profile-cta__mail):not(.profile-cta__phone) {
	grid-column: 1 / -1;
	grid-row: 2;
	margin: 0;
	max-width: 46em;
}
.profile-cta__card .wp-block-buttons {
	grid-column: 1 / -1;
	grid-row: 3;
	justify-content: center;
	margin: 0.5rem 0 0;
}
.profile-cta__mail {
	grid-column: 1;
	grid-row: 4;
}
.profile-cta__phone {
	grid-column: 2;
	grid-row: 4;
}
.profile-cta__mail,
.profile-cta__phone {
	margin: 0.75rem 0 0;
}
.profile-cta__mail a,
.profile-cta__phone a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	padding: 0.8rem 1.5rem;
	background: var(--c-primary);
	border: 1px solid var(--c-primary);
	border-radius: 999px;
	box-shadow: var(--shadow-sm);
	color: #fff;
	font-size: 0.95rem;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	transition: 0.2s;
}
.profile-cta__mail a:hover,
.profile-cta__phone a:hover {
	background: var(--c-clay);
	border-color: var(--c-clay);
	transform: translateY(-1px);
}
.profile-cta__mail a::before,
.profile-cta__phone a::before {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-style: normal;
	color: #fff;
	font-size: 1.05rem;
	line-height: 1;
}
.profile-cta__mail a::before {
	content: "\2709";
}
.profile-cta__phone a::before {
	content: "\2706";
}
@media (max-width: 720px) {
	.profile-cta__card {
		grid-template-columns: 1fr;
	}
	.profile-cta__title,
	.profile-cta__card > p.wp-block-paragraph:not(.profile-cta__mail):not(.profile-cta__phone),
	.profile-cta__card .wp-block-buttons {
		grid-column: 1;
	}
	.profile-cta__card .wp-block-buttons {
		justify-content: center;
	}
	.profile-cta__mail,
	.profile-cta__phone {
		grid-column: 1;
		display: flex;
		justify-content: center;
		width: 100%;
	}
	.profile-cta__mail a,
	.profile-cta__phone a {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 720px) {
	.profile-hero__grid {
		flex-direction: column;
	}
	.profile-hero__photo-wrap {
		flex: 1 1 auto;
		width: 100%;
	}
	.profile-hero__photo-wrap {
		flex: 0 0 180px;
		width: 180px;
	}
	.profile-main__grid {
		flex-direction: column;
	}
	.profile-main__side {
		flex: 1 1 auto;
		max-width: none;
		position: static;
		width: 100%;
	}
	.p-nav {
		display: none;
	}
	.p-nav__links {
		flex-direction: row;
		flex-wrap: wrap;
	}
	.profile-facts__grid {
		grid-template-columns: 1fr;
	}
}

/* ===== Low-cost page ===== */
.low-cost__hero-img {
	margin: 1.4rem auto 0;
	max-width: 720px;
}
.low-cost__hero-img img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 8;
	object-fit: cover;
	border-radius: 22px;
	box-shadow: 0 1px 0 rgb(255 255 255/0.6) inset, var(--shadow-md);
}
.low-cost__copy {
	max-width: 820px;
	margin-inline: auto;
}
.low-cost__scale {
	background: var(--c-surface);
	border: 1px solid var(--c-stone);
	border-radius: var(--r-md);
	padding: 1.5rem 1.75rem;
	margin: 1.5rem 0;
	display: flex;
	gap: 1.5rem;
	align-items: center;
}
.low-cost__scale-price {
	font-size: 2.4rem;
	margin: 0;
	color: var(--c-clay);
	white-space: nowrap;
}
.low-cost__scale-note {
	margin: 0;
	opacity: 0.8;
}
.low-cost__slider {
	flex: 1;
	max-width: 420px;
	margin-left: auto;
}
.low-cost__picker {
	flex: 1;
	max-width: 420px;
	margin-left: auto;
}
.low-cost__range-track {
	--pos: 40%;
	position: relative;
	height: 10px;
	background: var(--c-stone);
	border-radius: 999px;
	cursor: pointer;
	margin: 0.4rem 0 0;
	touch-action: none;
	width: 100%;
}
.low-cost__range-track::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	height: 100%;
	width: var(--pos);
	background: var(--c-clay);
	border-radius: 999px;
	pointer-events: none;
}
.low-cost__range-track::after {
	content: "";
	position: absolute;
	top: 50%;
	left: var(--pos);
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--c-background);
	border: 3px solid var(--c-clay);
	transform: translate(-50%, -50%);
	box-shadow: var(--shadow-sm);
	pointer-events: none;
}
.low-cost__range-scale {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0.5rem;
	margin: 0.85rem 0 0;
	font-size: 0.82rem;
	opacity: 0.85;
}
.low-cost__range-value {
	color: var(--c-clay);
	font-size: 1.25rem;
	font-family: var(--wp--preset--font-family--heading);
}
.low-cost__range-hint {
	margin: 0.6rem 0 0;
	font-size: 0.85rem;
	opacity: 0.75;
}
/* Low-cost "learn more" pill link → the pay-what-you-can blog guide */
.low-cost__learn-wrap {
	margin: 1.5rem 0 0.25rem;
}
.low-cost__learn {
	margin: 0;
}
.low-cost__learn a {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.72rem 1.3rem;
	border-radius: 999px;
	background: #fff;
	border: 1px solid var(--c-stone);
	box-shadow: var(--shadow-sm);
	color: var(--c-primary);
	font-weight: 600;
	font-size: 0.98rem;
	letter-spacing: 0.01em;
	text-decoration: none;
	transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.low-cost__learn a:hover {
	color: var(--c-primary);
	background: linear-gradient(90deg, rgb(125 143 116 / 0.18), rgb(125 143 116 / 0.06));
	border-color: color-mix(in srgb, var(--c-primary) 45%, var(--c-stone));
	transform: translateY(-1px);
	box-shadow: var(--shadow-md);
}
.low-cost__learn .lc-arrow {
	display: inline-block;
	color: var(--c-clay);
	transition: transform 180ms ease;
}
.low-cost__learn a:hover .lc-arrow {
	transform: translateX(3px);
}
.low-cost__compare {
	background: var(--c-surface);
}
.low-cost__compare .low-cost__copy {
	text-align: center;
	margin-bottom: 1.5rem;
}
.low-cost__compare-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.75rem;
	align-items: stretch;
}
.low-cost__compare-col {
	background: var(--c-background);
	border: 1px solid var(--c-stone);
	border-radius: var(--r-md);
	padding: 1.75rem;
	box-shadow: 0 1px 0 rgb(255 255 255 / 0.6) inset, var(--shadow-sm);
}
.low-cost__compare-title {
	font-size: 1.4rem;
	color: var(--c-clay);
	margin-top: 0;
}
.low-cost__compare-col p:first-of-type {
	min-height: 6.4rem;
}
@media (max-width: 640px) {
	.low-cost__compare-grid {
		grid-template-columns: 1fr;
	}
	.low-cost__slider,
	.low-cost__picker {
		max-width: none;
		margin-left: 0;
	}
}
.low-cost__grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.75rem;
	align-items: stretch;
}
.low-cost__card {
	grid-column: span 1;
	height: 100%;
	background: var(--c-background);
	border: 1px solid var(--c-stone);
	border-radius: var(--r-md);
	padding: 1.1rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	box-shadow: 0 1px 0 rgb(255 255 255 / 0.6) inset, var(--shadow-sm);
	transition: transform 200ms ease-out, box-shadow 200ms ease-out, border-color 200ms ease-out;
}
.low-cost__card:hover {
	transform: translateY(-3px);
	border-color: var(--c-primary);
	box-shadow: 0 1px 0 rgb(255 255 255 / 0.6) inset, var(--shadow-md);
}
.low-cost__card-photo {
	margin: 0 0 0.9rem;
	border-radius: 999px;
	overflow: hidden;
	width: 96px;
	height: 96px;
}
.low-cost__card-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.low-cost__card-name {
	font-size: 1.15rem;
	margin: 0 0 0.3rem;
}
.low-cost__card-name a {
	color: var(--c-text);
	text-decoration: none;
}
.low-cost__card-name a:hover {
	color: var(--c-clay);
}
.low-cost__card-focus {
	font-size: 0.85rem;
	opacity: 0.75;
	margin: 0;
	line-height: 1.45;
}
.low-cost__note {
	text-align: center;
	max-width: 720px;
	margin: 1rem auto 0;
	font-size: 0.9rem;
	opacity: 0.8;
}
.low-cost__feels-list {
	max-width: 720px;
	margin-inline: auto;
	font-size: 1.02rem;
}
@media (max-width: 900px) {
	.low-cost__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
@media (max-width: 560px) {
	.low-cost__grid {
		grid-template-columns: 1fr;
	}
	.low-cost__scale {
		flex-direction: column;
		text-align: center;
	}
}

/* ===== Services page ===== */
.services__jump {
	gap: 0.6rem;
	margin: 1.5rem 0 0;
}
.services__pill .wp-block-button__link {
	background: var(--c-surface);
	color: var(--c-text);
	border: 1px solid var(--c-stone);
	font-weight: 600;
}
.services__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	align-items: stretch;
	gap: 1.5rem;
}
.services__item {
	max-width: none !important;
	width: 100%;
	margin: 0;
	padding: 1.6rem;
	background: var(--c-surface);
	border: 1px solid var(--c-stone);
	border-radius: 18px;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	scroll-margin-top: 90px;
}
.services__item + .services__item {
	padding-top: 1.6rem;
	border-top: none;
}
.services__item .services__photo {
	order: 0;
}
.services__item .services__title {
	order: 1;
}
.services__item > p.wp-block-paragraph:not(.services__detail) {
	order: 2;
	flex: 1 0 auto;
	min-width: 0;
}
.services__item .services__detail {
	order: 3;
	margin-top: auto;
	padding-top: 1rem;
	min-width: 0;
}
.services__detail a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.7rem 1.3rem;
	background: var(--c-primary);
	color: #fff;
	border-radius: 999px;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	border-bottom: none;
}
.services__detail a:hover {
	background: var(--c-clay);
	color: #fff;
}
@media (max-width: 860px) {
	.services__detail a {
		width: 100%;
		justify-content: center;
	}
}    
@media (max-width: 860px) {
	.services__list {
		grid-template-columns: 1fr;
	}
}
.services__title {
	font-size: clamp(1.5rem, 3vw, 2rem);
	margin: 0 0 0.75rem;
}
.services__title a {
	color: var(--c-text);
	text-decoration: none;
}
.services__title a:hover {
	color: var(--c-clay);
}
.services__item p {
	margin: 0 0 0.6rem;
}
.services__cta a {
	color: var(--c-primary);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid transparent;
}
.services__cta a:hover {
	color: var(--c-clay);
	border-bottom-color: var(--c-clay);
}
.services__photo {
	margin: 0 0 1.25rem;
	max-width: 100%;
	width: 100%;
}
.services__photo img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: 16px;
	box-shadow: 0 1px 0 rgb(255 255 255/0.6) inset, var(--shadow-sm);
}

/* ===== About page ===== */
.about__copy {
	max-width: 760px;
	margin-inline: auto;
	text-align: center;
}
.about__label {
	color: var(--c-primary);
	text-align: center;
}
.about__pillars {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.75rem;
	max-width: 1240px;
	margin-inline: auto;
	align-items: stretch;
}
.about__pillar {
	background: var(--c-surface);
	border: 1px solid var(--c-stone);
	border-radius: var(--r-md);
	padding: 1.75rem;
	text-align: center;
	box-shadow: 0 1px 0 rgb(255 255 255 / 0.6) inset, var(--shadow-sm);
}
.about__pillar-title {
	font-size: 1.25rem;
	margin: 0 0 0.6rem;
}
.about__founders-grid {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2rem;
	align-items: start;
}
.about__founder {
	background: var(--c-background);
	border: 1px solid var(--c-stone);
	border-radius: var(--r-md);
	padding: 2rem;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	box-shadow: 0 1px 0 rgb(255 255 255 / 0.6) inset, var(--shadow-sm);
}
.about__founder-photo {
	margin: 0 0 1rem;
	border-radius: 999px;
	overflow: hidden;
	width: 108px;
	height: 108px;
}
.about__founder-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.about__founder-name {
	font-size: 1.3rem;
	margin: 0 0 0.2rem;
}
.about__founder-name a {
	color: var(--c-text);
	text-decoration: none;
}
.about__founder-name a:hover {
	color: var(--c-clay);
}
.about__founder-cred {
	color: var(--c-primary);
	font-weight: 600;
	font-size: 0.85rem;
	margin: 0 0 0.9rem;
}
.about__langs {
	gap: 0.6rem;
	justify-content: center;
	margin: 1.4rem 0 0.4rem;
}
.about__lang {
	background: var(--c-surface);
	border: 1px solid var(--c-stone);
	border-radius: 999px;
	padding: 0.45rem 1.1rem;
	margin: 0;
	font-weight: 600;
	font-size: 0.9rem;
}
@media (max-width: 720px) {
	.about__pillars,
	.about__founders-grid {
		grid-template-columns: 1fr;
	}
}

/* ===== Blog ===== */
.blog-list {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
}
.blog-list .wp-block-query {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}
.blog-list .wp-block-post-template {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid !important;
	grid-template-columns: 1fr;
	gap: 1rem;
}
.blog-list .wp-block-post {
	background: var(--c-surface);
	border: 1px solid var(--c-stone);
	border-radius: var(--r-md);
	padding: 1.75rem;
	box-shadow: 0 1px 0 rgb(255 255 255 / 0.6) inset, var(--shadow-sm);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-list .wp-block-post:hover {
	transform: translateY(-3px);
	box-shadow: 0 1px 0 rgb(255 255 255 / 0.6) inset, var(--shadow-md);
}
.blog-list .wp-block-post-title {
	margin: 0 0 0.4rem;
	font-size: 1.35rem;
}
.blog-list .wp-block-post-title a {
	color: var(--c-text);
	text-decoration: none;
}
.blog-list .wp-block-post-title a:hover {
	color: var(--c-clay);
}
.blog-list .wp-block-post-date {
	color: var(--c-primary);
	font-size: 0.85rem;
	font-weight: 600;
	margin-bottom: 0.6rem;
}
.blog-list .wp-block-post-excerpt p {
	margin: 0;
}
.blog-list .wp-block-query-pagination {
	justify-content: center;
	gap: 0.6rem;
}
.blog-list .wp-block-query-no-results {
	text-align: center;
	padding: 3rem 0;
}

/* Single post */
.post-content {
	max-width: 760px;
	margin-inline: auto;
	display: flex !important;
	flex-direction: column;
	gap: 1.4rem;
}
.post-content h2 {
	margin: 2rem 0 0;
}
.post-content .wp-block-post-date {
	color: var(--c-primary);
	font-weight: 600;
	font-size: 0.9rem;
}
.post-content .wp-block-post-terms {
	font-size: 0.9rem;
	color: var(--c-muted, #6b6a66);
}
.post-content .wp-block-post-title {
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	margin: 0;
}

/* FAQ accordions — core/details blocks wrapped in a .kt-faq group */
.kt-faq {
	margin-block: 0.5rem 0;
}
.kt-faq details.wp-block-details {
	background: var(--c-surface);
	border: 1px solid var(--c-stone);
	border-radius: var(--r-md);
	padding: 0 1.15rem;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}
.kt-faq details.wp-block-details[open] {
	border-color: color-mix(in srgb, var(--c-clay) 45%, var(--c-stone));
	box-shadow: var(--shadow-sm);
}
.kt-faq summary {
	list-style: none;
	cursor: pointer;
	padding: 1.05rem 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.08rem;
	font-weight: 500;
	line-height: 1.4;
	color: var(--c-text);
}
.kt-faq summary::-webkit-details-marker {
	display: none;
}
.kt-faq summary::after {
	content: "+";
	flex: 0 0 auto;
	font-size: 1.4rem;
	font-weight: 400;
	line-height: 1;
	color: var(--c-clay);
	transform: rotate(0deg);
	transition: transform 180ms ease;
	margin-inline-start: auto;
}
.kt-faq details[open] summary::after {
	transform: rotate(45deg);
}
.kt-faq details .wp-block-details__content {
	padding: 0 0 1.15rem;
}
.kt-faq details .wp-block-details__content > :last-child {
	margin-block-end: 0;
}
.kt-faq details .wp-block-details__content p {
	margin: 0.25rem 0 0.6rem;
	color: var(--c-text);
}

/* === responsive nav (sandwich menu) ===
   Core WP collapses below 600px by default; raise the threshold so
   any smaller or shrunk window switches to the hamburger dropdown. */
/* Keep the menu on a single line whenever it is shown. */
.site-nav ul {
	flex-wrap: nowrap !important;
}
.site-header {
	position: relative;
}
@media (max-width: 1150px) {
	/* Anchor the open dropdown to the burger (nav.site-nav is exactly the
	   burger's width) and center it on that point, so the menu opens under the
	   button instead of hugging the far-right edge of the full-width header. */
	nav.site-nav {
		position: relative;
	}
	.site-nav .wp-block-navigation__responsive-container:not(.has-modal-open):not(.is-menu-open) {
		display: none !important;
	}
	.site-nav .wp-block-navigation__responsive-container-open {
		display: flex !important;
	}
	/* Drop the menu as a rounded panel tinted with the site's sage primary (the
	   desktop pill capsule carries the same sage), near-opaque, with a visible
	   sage border so it reads as a designed surface rather than a faint box. */
	.site-nav .wp-block-navigation__responsive-container.is-menu-open,
	.site-nav .wp-block-navigation__responsive-container.has-modal-open {
		position: absolute;
		top: calc(100% + 0.7rem);
		left: 50%;
		right: auto;
		bottom: auto;
		width: max-content !important;
		min-width: 14rem;
		max-width: calc(100vw - 3rem);
		height: auto;
		max-height: calc(100vh - 6rem);
		overflow-y: auto;
		display: flex;
		align-items: stretch;
		flex-direction: column;
		background: linear-gradient(180deg, rgb(235 241 229 / 0.98), rgb(242 239 232 / 0.98));
		-webkit-backdrop-filter: blur(14px) saturate(1.06);
		backdrop-filter: blur(14px) saturate(1.06);
		border: 1px solid rgb(168 184 155 / 0.95);
		border-radius: 1.1rem;
		box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.9), 0 1px 2px rgb(43 42 39 / 0.05), 0 18px 44px -14px rgb(43 42 39 / 0.3);
		padding: 0.45rem;
		gap: 0.15rem;
		z-index: 9999;
		transform-origin: top center;
		transform: translateX(-50%);
		animation: kaizen-nav-drop 180ms ease-out;
	}
	/* caret pointing at the toggle (which now sits at the menu's center) */
	.site-nav .wp-block-navigation__responsive-container.is-menu-open::before,
	.site-nav .wp-block-navigation__responsive-container.has-modal-open::before {
		content: "";
		position: absolute;
		top: -6px;
		left: 50%;
		width: 12px;
		height: 12px;
		background: rgb(238 243 233 / 0.98);
		border-top: 1px solid rgb(168 184 155 / 0.95);
		border-left: 1px solid rgb(168 184 155 / 0.95);
		border-radius: 2px;
		transform: translateX(-50%) rotate(45deg);
	}
	.site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
	.site-nav .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__responsive-container-content {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		width: auto;
	}
	.site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
	.site-nav .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__container {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		width: auto;
	}
	.site-nav .wp-block-navigation__responsive-container.is-menu-open a,
	.site-nav .wp-block-navigation__responsive-container.has-modal-open a {
		position: relative;
		color: var(--c-text);
		font-size: 1.03rem;
		padding: 0.62rem 1.15rem;
		border-radius: 999px;
		white-space: nowrap;
		font-weight: 500;
		width: auto !important;
		transition: color 180ms ease, background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
	}
	.site-nav .wp-block-navigation__responsive-container.is-menu-open a:hover,
	.site-nav .wp-block-navigation__responsive-container.has-modal-open a:hover {
		background: linear-gradient(90deg, rgb(125 143 116 / 0.16), rgb(125 143 116 / 0.03));
		color: var(--c-primary);
		box-shadow: 0 1px 4px rgb(43 42 39 / 0.05);
	}
	/* clay underline that sweeps in under the label on hover, matching the desktop pills */
	.site-nav .wp-block-navigation__responsive-container.is-menu-open a::after,
	.site-nav .wp-block-navigation__responsive-container.has-modal-open a::after {
		content: "";
		position: absolute;
		left: 50%;
		bottom: 0.32rem;
		width: 0;
		height: 2px;
		border-radius: 2px;
		background: var(--c-clay);
		transform: translateX(-50%);
		transition: width 180ms ease;
	}
	.site-nav .wp-block-navigation__responsive-container.is-menu-open a:hover::after,
	.site-nav .wp-block-navigation__responsive-container.has-modal-open a:hover::after {
		width: calc(100% - 2.3rem);
	}
	.site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close,
	.site-nav .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__responsive-close,
	.site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog,
	.site-nav .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__responsive-dialog {
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 100%;
	}
	.site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
	.site-nav .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__responsive-container-content {
		width: 100%;
	}
	/* The core navigation stylesheet absolutely pins the close button to the top-right
	   corner (.wp-block-navigation__responsive-container-close { position:absolute; right:0 }),
	   so align-self alone could never center it. Make it a static flex item so the
	   centered dialog column can center it above the menu items again. */
	.site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close,
	.site-nav .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__responsive-container-close {
		position: static;
		align-self: center;
		margin: 0 0 0.3rem;
		color: var(--c-text);
		opacity: 0.75;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}
	/* Robust override: guarantee the compact themed card against core's default
	   full-screen modal on any WP version, and force left-aligned links. */
	.site-header nav.site-nav .wp-block-navigation__responsive-container.is-menu-open,
	.site-header nav.site-nav .wp-block-navigation__responsive-container.has-modal-open {
		position: absolute !important;
		top: calc(100% + 0.7rem) !important;
		left: 50% !important;
		right: auto !important;
		bottom: auto !important;
		transform: translateX(-50%) !important;
		width: max-content !important;
		min-width: 11rem;
		max-width: calc(100vw - 2.5rem) !important;
		height: auto !important;
		max-height: calc(100vh - 6rem) !important;
		overflow-y: auto;
		display: flex !important;
		align-items: stretch;
		flex-direction: column;
		background: linear-gradient(180deg, rgb(235 241 229 / 0.98), rgb(242 239 232 / 0.98)) !important;
		-webkit-backdrop-filter: blur(14px) saturate(1.06);
		backdrop-filter: blur(14px) saturate(1.06);
		border: 1px solid rgb(168 184 155 / 0.95) !important;
		border-radius: 1.1rem;
		box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.9), 0 1px 2px rgb(43 42 39 / 0.05), 0 18px 44px -14px rgb(43 42 39 / 0.32);
		padding: 0.45rem;
		gap: 0;
		z-index: 9999;
	}
	.site-header nav.site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
	.site-header nav.site-nav .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__container,
	.site-header nav.site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
	.site-header nav.site-nav .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__responsive-container-content {
		flex-direction: column;
		align-items: stretch !important;
		justify-content: flex-start !important;
		gap: 0.1rem;
		width: auto;
	}
	.site-header nav.site-nav .is-menu-open a.wp-block-navigation-item__content,
	.site-header nav.site-nav .has-modal-open a.wp-block-navigation-item__content {
		text-align: left;
	}
	/* Force the list + items into a left-aligned, full-width column so the
	   panel reads as a styled menu, never the default right-aligned WP list. */
	.site-header nav.site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content,
	.site-header nav.site-nav .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__responsive-container-content,
	.site-header nav.site-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
	.site-header nav.site-nav .wp-block-navigation__responsive-container.has-modal-open .wp-block-navigation__container {
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		align-content: stretch !important;
		justify-content: flex-start !important;
		width: 100% !important;
		max-width: 100% !important;
		padding: 0 !important;
		margin: 0 !important;
		gap: 0.1rem;
	}
	.site-header nav.site-nav .wp-block-navigation__responsive-container.is-menu-open li.wp-block-navigation-item,
	.site-header nav.site-nav .wp-block-navigation__responsive-container.has-modal-open li.wp-block-navigation-item {
		display: flex !important;
		width: 100% !important;
		justify-content: flex-start !important;
		align-items: stretch;
	}
	.site-header nav.site-nav .wp-block-navigation__responsive-container.is-menu-open a.wp-block-navigation-item__content,
	.site-header nav.site-nav .wp-block-navigation__responsive-container.has-modal-open a.wp-block-navigation-item__content {
		display: flex !important;
		width: 100% !important;
		justify-content: flex-start !important;
		align-items: center;
		text-align: left;
		position: relative;
		color: var(--c-text) !important;
		font-size: 1.02rem;
		font-weight: 500;
		line-height: 1.42 !important;
		padding: 0.42rem 1.05rem;
		border-radius: 999px;
		white-space: nowrap;
		text-decoration: none !important;
		gap: 0.8rem;
		transition: color 180ms ease, background-color 180ms ease;
	}
	.site-header nav.site-nav .wp-block-navigation__responsive-container.is-menu-open a.wp-block-navigation-item__content:hover,
	.site-header nav.site-nav .wp-block-navigation__responsive-container.has-modal-open a.wp-block-navigation-item__content:hover {
		background: linear-gradient(90deg, rgb(125 143 116 / 0.16), rgb(125 143 116 / 0.03));
		color: var(--c-primary) !important;
		text-decoration: none !important;
		box-shadow: 0 1px 4px rgb(43 42 39 / 0.05);
	}
}
@keyframes kaizen-nav-drop {
	from {
		opacity: 0;
		transform: translateX(-50%) translateY(-6px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateX(-50%) translateY(0) scale(1);
	}
}
@media (prefers-reduced-motion: reduce) {
	.site-nav .wp-block-navigation__responsive-container.is-menu-open,
	.site-nav .wp-block-navigation__responsive-container.has-modal-open {
		animation: none;
	}
}
@media (min-width: 1151px) {
	.site-nav .wp-block-navigation__responsive-container-open {
		display: none !important;
	}
	.site-nav .wp-block-navigation__responsive-container {
		display: flex !important;
	}
}

/* === how it works (process) === */
.home-process__title em {
	font-style: italic;
	color: var(--c-primary);
}
.home-process__lede {
	max-width: 36em;
}
.home-process__steps {
	position: relative;
}
.home-process__steps .home-process__step {
	position: relative;
	padding: 5.2rem 1.4rem 1.4rem;
	background: var(--c-background);
	border: 1px solid var(--c-stone);
	border-radius: var(--r-md);
	box-shadow: 0 1px 0 rgb(255 255 255 / 0.6) inset, var(--shadow-sm);
}
.home-process__steps .home-process__step > * {
	width: 100%;
	text-align: left;
}
.home-process__steps .home-process__step > svg {
	position: absolute;
	top: 38px;
	left: 38px;
	width: 22px;
	height: 22px;
	z-index: 2;
}
.home-process__steps .home-process__step::before {
	content: "";
	position: absolute;
	top: 19px;
	left: 19px;
	width: 60px;
	height: 60px;
	border-radius: 999px;
	z-index: 1;
}
.home-process__steps .home-process__step:nth-child(1)::before {
	background: rgba(125, 143, 116, 0.18);
}
.home-process__steps .home-process__step:nth-child(1) > svg {
	color: var(--c-primary);
}
.home-process__steps .home-process__step:nth-child(2)::before {
	background: rgba(200, 114, 79, 0.16);
}
.home-process__steps .home-process__step:nth-child(2) > svg {
	color: var(--c-accent);
}
.home-process__steps .home-process__step:nth-child(3)::before {
	background: rgba(217, 211, 202, 0.7);
}
.home-process__steps .home-process__step:nth-child(3) > svg {
	color: #7d766c;
}
.home-process__step-no {
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--c-primary);
	margin: 1.1rem 0 0.3rem;
}
.home-process__step h3 {
	font-size: 1.25rem;
	margin: 0 0 0.5rem;
}
.home-process__steps .home-process__step {
	display: flex;
	flex-direction: column;
}
.home-process__steps .home-process__step .home-process__cta {
	margin-top: auto;
	padding-top: 1.1rem;
}
.home-process__cta .wp-block-button__link {
	background: transparent;
	border: 1px solid var(--c-primary);
	color: var(--c-primary);
	font-size: 0.85rem;
	font-weight: 600;
	padding: 0.55rem 1.05rem;
	box-shadow: none;
}
.home-process__cta .wp-block-button__link:hover {
	background: var(--c-primary);
	color: var(--c-on-color);
	transform: translateY(-1px);
}
@media (min-width: 768px) {
	.home-process__steps::before {
		content: "";
		position: absolute;
		top: 28px;
		left: 0;
		right: 0;
		height: 42px;
		background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 900 60' fill='none' stroke='%23d5b6a6' stroke-width='2' stroke-linecap='round' stroke-dasharray='0.1 16'%3E%3Cpath d='M0 30 C 180 50, 360 10, 540 30 C 660 42, 780 24, 900 30'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
		pointer-events: none;
		z-index: 0;
		opacity: 0.75;
	}
}

/* === info pop: gentle lift on cards === */
.is-style-card,
.home-team__member {
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.is-style-card:hover,
.home-team__member:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 30px rgba(43, 42, 39, 0.08);
}
@media (prefers-reduced-motion: reduce) {
	.is-style-card,
	.home-team__member,
	.home-process__steps .home-process__step,
	.home-process__steps::before {
		transition: none;
		transform: none;
	}
}

/* =============================================================
   Pop pass — controlled warmth over the calm Soft-neutral system
   (cue: alli.io friendly approachability + solutionfirst cream/ink;
   kept minimal, all motion still respects prefers-reduced-motion)
   ============================================================= */

/* Hand-drawn clay swipe under one accent phrase */
.hl {
	position: relative;
	white-space: nowrap;
	display: inline;
	color: inherit;
}
.hl::after {
	content: "";
	position: absolute;
	left: -0.04em;
	right: -0.04em;
	bottom: 0.04em;
	height: 0.34em;
	background: var(--c-clay);
	opacity: 0.6;
	border-radius: 3px;
	transform: rotate(-1.5deg) skewX(-6deg);
	z-index: -1;
}

/* Global button micro-pop */
.wp-element-button {
	transition: transform 180ms ease-out, box-shadow 180ms ease-out,
		background-color 180ms ease-out;
}
.wp-block-button.is-style-pill .wp-element-button:hover,
.is-style-pill .wp-element-button:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 20px rgb(43 42 39 / 0.12);
	filter: saturate(1.05) brightness(0.985);
}

/* Card hover warm-up: lift, deepen shadow, warm the border */
.therapist-card,
.wp-block-column.is-style-card,
.low-cost__compare-col,
.pf-pricing__col {
	transition: transform 200ms ease-out, box-shadow 200ms ease-out,
		border-color 200ms ease-out;
}
.therapist-card:hover,
.wp-block-column.is-style-card:hover,
.low-cost__compare-col:hover,
.pf-pricing__col:hover {
	transform: translateY(-3px);
	border-color: rgb(200 114 79 / 0.35);
	box-shadow: var(--shadow-md);
}

/* "How it works" step number as a designed sage badge (temporarily rolled back) */

/* Soft warm glow behind the closing call-to-action band */
.home-cta {
	position: relative;
}
.home-cta::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(
		60% 90% at 50% 0%,
		rgb(200 114 79 / 0.10),
		transparent 70%
	);
	pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
	.wp-element-button,
	.therapist-card,
	.wp-block-column.is-style-card,
	.home-process__steps .home-process__step,
	.low-cost__compare-col,
	.pf-pricing__col {
		transition: none;
		transform: none;
	}
}

/* === Service detail pages === */
.svc-split {
	align-items: center;
	gap: clamp(1.75rem, 4vw, 3rem);
}
.svc-photo {
	margin: 0;
	width: 100%;
}
.svc-photo img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--r-md);
	box-shadow: 0 1px 0 rgb(255 255 255 / 0.6) inset, var(--shadow-md);
}
.svc-cols {
	align-items: center;
}
.svc-note {
	/* keep the note in the same centered 880px content column every other
	   section uses, so its heading shares the page's single text edge — no
	   narrowed/cap width to pull it off that edge */
	font-size: 1.06rem;
	line-height: 1.6;
}
.svc-note p {
	margin: 0 0 1rem;
}
.svc-note p:last-child {
	margin: 0;
}
@media (max-width: 720px) {
	.svc-split {
		flex-direction: column;
	}
}

/* === Service pages: keep split-section headings over their text column ===
   A split section pairs a photo column with a body-text column. The heading
   is a full-width child above them, so it sits centered over the whole row
   (i.e. over the image). Restrict it to the text column's half and center it
   there, choosing the side by which column holds the photo. */
@media (min-width: 721px) {
	/* body text in the right column (photo in the first) → heading right */
	.page-band:has(> .svc-cols.svc-split > .wp-block-column:first-child .svc-photo) > h2.section-heading__title {
		width: 50%;
		margin-left: auto !important;
		margin-right: 0 !important;
		text-align: center;
	}
	/* body text in the left column (photo in the last) → heading left */
	.page-band:has(> .svc-cols.svc-split > .wp-block-column:last-child .svc-photo) > h2.section-heading__title {
		width: 50%;
		margin-left: 0 !important;
		margin-right: auto !important;
		text-align: center;
	}
}

/* === Service pages: standalone body lists line up with the split text column ===
   A full-width list section (e.g. “Together, we help you”) reads as wider than
   the split sections' body text. Pull it into the left text column so its text
   edge matches the body text above it. */
.page-band:not(:has(.svc-split)) > h2.section-heading__title + .wp-block-list {
	width: calc(50% - 1rem);
	margin-left: 0 !important;
	margin-right: auto !important;
}
@media (max-width: 720px) {
	.page-band:not(:has(.svc-split)) > h2.section-heading__title + .wp-block-list {
		width: 100%;
		margin-right: 0 !important;
	}
}

/* Intro highlight — low-cost/pay-what-you-can callout (Student Intern profiles) */
.pf-intro-highlight p {
	font-weight: 600;
	color: #c8724f;
}

/* === gentle scroll reveal (home page) ===
   Sections render in their final visible state by default. The front-end
   script adds .reveal (initial hidden state) then .is-inview as each band
   scrolls into view, so nothing is ever hidden without JS. Disabled under
   reduced motion. */
html.js-anim .reveal {
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 750ms cubic-bezier(0.2, 0.6, 0.2, 1), transform 750ms cubic-bezier(0.2, 0.6, 0.2, 1);
	will-change: opacity, transform;
}
html.js-anim .reveal.is-inview {
	opacity: 1;
	transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
	html.js-anim .reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* ==== Analytics consent notice ==== */
.kz-consent {
	position: fixed;
	left: auto;
	right: 1rem;
	bottom: 1rem;
	z-index: 9999;
	max-width: 30rem;
	transform: translateY(150%);
	opacity: 0;
	filter: blur(6px);
	pointer-events: none;
	transition: transform .45s cubic-bezier(.4,0,.2,1), opacity .45s ease, filter .45s ease;
}
.kz-consent--open {
	transform: translateY(0);
	opacity: 1;
	filter: blur(0);
	pointer-events: auto;
}
.kz-consent__inner {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
	background: rgb(245 242 238 / 0.96);
	border: 1px solid rgb(217 211 202 / 0.9);
	border-radius: 1.1rem;
	padding: 1.1rem 1.2rem;
	box-shadow: 0 12px 32px rgb(43 42 39 / 0.16);
	backdrop-filter: blur(16px) saturate(1.06);
}
@media (min-width: 640px) {
	.kz-consent__inner { flex-direction: row; align-items: center; }
	.kz-consent__text { flex: 1; margin: 0; }
}
.kz-consent__text {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.5;
	color: var(--c-text, #2b2a27);
}
.kz-consent__actions {
	display: flex;
	gap: 0.6rem;
	flex-shrink: 0;
}
.kz-consent__btn {
	font-family: inherit;
	font-size: 0.92rem;
	font-weight: 600;
	padding: 0.5rem 1.1rem;
	border-radius: 999px;
	cursor: pointer;
	border: 1px solid transparent;
	transition: transform .15s ease, background .2s ease, color .2s ease;
}
.kz-consent__btn:hover { transform: translateY(-1px); }
.kz-consent__accept {
	background: var(--c-sage, #7d8f74);
	color: #faf8f5;
}
.kz-consent__accept:hover { background: #6d7f64; }
.kz-consent__decline {
	background: transparent;
	color: var(--c-text, #2b2a27);
	border-color: rgb(217 211 202 / 0.9);
}
.kz-consent__decline:hover { background: rgb(217 211 202 / 0.35); }
@media (prefers-reduced-motion: reduce) {
	.kz-consent { transition: none; }
}

/* ==== Seasonal snowflakes (decorative canvas confined to the header) ==== */
.kz-snow {
	position: fixed;
	z-index: 9997; /* below the consent banner (9999), above everything else */
	pointer-events: none;
}

/* === header: True Sage recolour ===
	Header is the true sage token at increased transparency (frosted), keeping
	the existing dimensions, logo and bottom hairline border. Menu options are
	near-black with a soft sage wash on hover (as in the mockup); the CTA is the
	clay accent. */
.wp-site-blocks .site-header {
	background-color: rgb(125 143 116 / 0.78);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E");
	background-blend-mode: overlay;
	backdrop-filter: blur(14px) saturate(1.05);
	-webkit-backdrop-filter: blur(14px) saturate(1.05);
	border-bottom: 1px solid rgb(255 255 255 / 0.3);
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.28), 0 3px 14px rgb(43 42 39 / 0.12);
}
.wp-site-blocks .site-header::after { opacity: 1; }
.wp-site-blocks .site-header .site-nav a {
	color: #2b2a27;
}
.wp-site-blocks .site-header .wp-block-navigation__responsive-container-open {
	color: #faf8f5;
}
.site-header__right .is-style-fill .wp-element-button {
	background: #b3502b;
	color: #ffffff;
	border: 1px solid rgb(255 255 255 / 0.18);
}
.site-header__right .is-style-fill .wp-element-button:hover {
	background: #a94d2b;
	color: #ffffff;
}
/* hover matches the mockup: a soft sage wash, colour stays black, no underline */
@media (min-width: 1151px) {
	nav.site-nav a.wp-block-navigation-item__content:hover {
		background: rgb(125 143 116 / 0.18);
		color: #2b2a27;
		box-shadow: none;
		transform: none;
	}
	nav.site-nav a.wp-block-navigation-item__content::after { display: none; }
}

/* === service pages: centre the "Together, we help you" heading + list band === */
.entry-content > .page-band:has(> h2.section-heading__title + ul.wp-block-list) {
	text-align: center;
}
.entry-content > .page-band:has(> h2.section-heading__title + ul.wp-block-list) .wp-block-list {
	text-align: left;
	display: inline-block;
	max-width: 24rem;
	margin-inline: auto;
}

/* service pages: breathing room around the FAQ band */
.page-template-page-no-title .entry-content > .kt-faq {
	margin-top: clamp(1.5rem, 4vw, 2.5rem);
	margin-bottom: clamp(3rem, 9vw, 5.5rem);
}

/* === service pages: clay "Book a session" CTA to match the rest of the site === */
.page-hero__actions .services__pill:nth-of-type(2) .wp-block-button__link {
	background: #b3502b;
	color: #ffffff;
	border: 1px solid #b3502b;
}
.page-hero__actions .services__pill:nth-of-type(2) .wp-block-button__link:hover {
	background: #a94d2b;
	border-color: #a94d2b;
}

/* === footer: contact call/email as buttons, Contact us centred at the bottom === */
.site-footer__contact-btns {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
}
.site-footer__contact-btns .wp-block-button__link,
.site-footer__cta .wp-block-button__link {
	padding: 0.45rem 1rem;
	font-size: 0.78rem;
	font-weight: 600;
	border-radius: 999px;
}
.site-footer__cta {
	justify-content: center;
	margin-bottom: 0.75rem;
}
.site-footer__cta .wp-block-button__link {
	background: #b3502b;
	color: #ffffff;
	border: 1px solid #b3502b;
}
.site-footer__cta .wp-block-button__link:hover {
	background: #a94d2b;
	border-color: #a94d2b;
}

/* ============================================================
   DARK MODE
   data-theme="dark" is set on <html> early in <head> (functions.php)
   to avoid a light flash. --c-background becomes the dark base; the
   light on-fill text lives in --c-on-color (stays light).
   ============================================================ */
:root[data-theme="dark"] {
	--wp--preset--color--background: #1a1917;
	--wp--preset--color--surface: #24221d;
	--wp--preset--color--stone: #3a3731;
	--wp--preset--color--text: #ece7dd;
	--wp--preset--color--primary: #a9bb9e;
	--wp--preset--color--accent: #e08a5c;
	--c-on-color: #f4efe6;
	--c-ink: #ece7dd;
	color-scheme: dark;
}

/* warm dark base */
:root[data-theme="dark"] body {
	background: var(--wp--preset--color--background);
}

/* frosted desktop nav pill darkens so it doesn't glare on dark. Use a
   gradient (like the light pill) rather than a solid color: WP's inner
   responsive box inherits the nav's background-color, and a solid dark
   color there painted a full-width rectangle on top of the rounded pill. */
@media (min-width: 1151px) {
	:root[data-theme="dark"] nav.site-nav {
		border-radius: 999px;
		background: linear-gradient(180deg, rgb(24 23 20 / 0.46), rgb(24 23 20 / 0.30));
		border: 1px solid rgb(255 255 255 / 0.12);
		box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06);
	}
}
:root[data-theme="dark"] .wp-block-navigation__responsive-container,
:root[data-theme="dark"] .wp-block-navigation__responsive-container-content {
	background-color: transparent;
}

/* the light solid pill on the video must stay light on the dark stage */
:root[data-theme="dark"] .home-hero__content .hero-solid .wp-block-button__link {
	background: #f4efe6;
	color: #2b2a27;
}

/* True Sage header hardcodes dark nav text — re-light it in dark mode */
:root[data-theme="dark"] .wp-site-blocks .site-header .site-nav a {
	color: #ece7dd;
}

/* The responsive dropdown panel keeps a hard-coded light-cream background in
   light mode. In dark mode the links must stay dark ink on that light panel —
   this matches the specificity of the base is-menu-open link rule (which
   forces `color: var(--c-text)` with !important and yields light text) and
   carries !important too, so the dark text wins the cascade. */
:root[data-theme="dark"] .site-header nav.site-nav .wp-block-navigation__responsive-container.is-menu-open a.wp-block-navigation-item__content,
:root[data-theme="dark"] .site-header nav.site-nav .wp-block-navigation__responsive-container.has-modal-open a.wp-block-navigation-item__content,
:root[data-theme="dark"] .site-header nav.site-nav .wp-block-navigation__responsive-container.is-menu-open a.wp-block-navigation-item__content:hover,
:root[data-theme="dark"] .site-header nav.site-nav .wp-block-navigation__responsive-container.has-modal-open a.wp-block-navigation-item__content:hover {
	color: #2b2a27 !important;
}
:root[data-theme="dark"] .site-header nav.site-nav .wp-block-navigation__responsive-container.is-menu-open a.wp-block-navigation-item__content:hover,
:root[data-theme="dark"] .site-header nav.site-nav .wp-block-navigation__responsive-container.has-modal-open a.wp-block-navigation-item__content:hover {
	background: rgb(125 143 116 / 0.14);
}
:root[data-theme="dark"] .site-nav .wp-block-navigation__responsive-container-close {
	color: #2b2a27 !important;
}

/* The location-page closing band rule forces dark ink on the last page-band's
   paragraphs; on About/Therapist pages that band is the profile CTA card, whose
   surface goes dark in dark mode — so its text must flip light there. */
:root[data-theme="dark"] .entry-content .profile-cta__card > p.wp-block-paragraph,
:root[data-theme="dark"] .entry-content .profile-cta__card > .wp-block-heading.profile-cta__title {
	color: var(--c-text) !important;
}

/* Dark logo art sits on a 2000px canvas while the light logo uses 1555px, so
   the white (dark-mode) circle renders smaller at the same box. Scale it up
   so its visible circle matches the light-mode one. */
:root[data-theme="dark"] .site-header__logo img,
:root[data-theme="dark"] .site-footer__logo img,
:root[data-theme="dark"] img.wp-image-710 {
	transform: scale(1.286);
	transform-origin: center;
}

@media (min-width: 1151px) {
	:root[data-theme="dark"] nav.site-nav a.wp-block-navigation-item__content:hover {
		background: rgb(255 255 255 / 0.14);
		color: #ece7dd;
	}
}

/* Theme toggle — anchored far-right of the header, out of the pill flow so
   the nav + booking pills always keep their natural width. */
.site-header__inner {
	position: relative;
	padding-right: 3.5rem;
}
.kz-theme-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 50%;
	right: 0;
	transform: translateY(-50%);
	width: 2.3rem;
	height: 2.3rem;
	border-radius: 999px;
	border: 1px solid var(--c-stone);
	background: rgb(255 255 255 / 0.10);
	color: var(--c-text);
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
}
.kz-theme-toggle:hover {
	border-color: var(--c-primary);
	transform: translateY(calc(-50% - 1px));
}
.kz-theme-toggle svg {
	width: 1.15rem;
	height: 1.15rem;
}
.kz-theme-toggle .kz-theme-toggle__moon {
	display: block;
}
.kz-theme-toggle .kz-theme-toggle__sun {
	display: none;
}
:root[data-theme="dark"] .kz-theme-toggle .kz-theme-toggle__moon {
	display: none;
}
:root[data-theme="dark"] .kz-theme-toggle .kz-theme-toggle__sun {
	display: block;
}

/* Dark directory: calm the populations pills (the light-sage fill + light text
   washed out) into quiet chips that match the language pills; and set the
   card's "Book a session" to the same clay as the header booking button. */
:root[data-theme="dark"] .therapist-card__pops li {
	background: var(--c-surface);
	border: 1px solid var(--c-stone);
	color: var(--c-text);
}
:root[data-theme="dark"] .therapist-card__actions .therapist-card__book .wp-block-button__link {
	background: #b3502b;
	border-color: #b3502b;
	color: #ffffff;
}
:root[data-theme="dark"] .therapist-card__actions .therapist-card__book .wp-block-button__link:hover {
	background: #a94d2b;
	border-color: #a94d2b;
}
:root[data-theme="dark"] .therapist-card__photo img {
	/* the stone ring is near-invisible on dark — give the circle a light ring */
	border-color: rgb(255 255 255 / 0.10);
	box-shadow: 0 0 0 2px rgb(255 255 255 / 0.28), 0 6px 14px rgb(0 0 0 / 0.35);
}
/* Dark directory: credential + section labels keep the same adaptive primary
   (sage) green the Languages label uses — it re-maps to a light sage in dark
   mode, so it stays legible without a separate dark value. */
.therapist-card__cred,
.therapist-card__label {
	/* text-fill forces the sage through any overriding color rule */
	-webkit-text-fill-color: var(--wp--preset--color--primary);
}
:root[data-theme="dark"] .therapist-card__cred,
:root[data-theme="dark"] .therapist-card__label {
	color: var(--c-primary);
}
/* Dark directory: rate pills are filled tags on dark — give them a legible
   on-color (white) and a solid clay fill so prices never sit dark-on-dark. */
:root[data-theme="dark"] .therapist-card .therapist-card__rate--student,
:root[data-theme="dark"] .therapist-card .therapist-card__rate--intern,
:root[data-theme="dark"] .therapist-card .therapist-card__rate--associate {
	background: #b3502b;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}
:root[data-theme="dark"] .low-cost__learn a {
	/* the literal white fill is jarring on dark — calm it to a dark chip */
	background: var(--c-surface);
	border: 1px solid var(--c-stone);
	color: var(--c-text);
	box-shadow: none;
}
:root[data-theme="dark"] .low-cost__card-focus {
	/* focus chips sit on a dark card on dark mode; relight the text so it reads */
	color: #ece7dd !important;
	opacity: 0.9;
}
:root[data-theme="dark"] .kz-consent__inner {
	/* banner text goes light in dark mode; give it a dark backdrop so it reads */
	background: rgb(36 34 29 / 0.97);
	border-color: rgb(58 55 49 / 0.9);
	box-shadow: 0 12px 32px rgb(0 0 0 / 0.5);
}
:root[data-theme="dark"] .kz-consent__accept {
	/* the sage token lightens in dark; darken the text so it stays legible */
	background: var(--c-sage, #a9bb9e);
	color: #1a1917;
}
:root[data-theme="dark"] .kz-consent__accept:hover { background: #b6c8ab; }

/* === focus / specialty archive === */
.focus-archive__head { flex-wrap: wrap; gap: 1rem; }
.focus-archive__title { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.focus-archive__all a { color: var(--c-primary); font-weight: 600; }
.focus-archive__grid { gap: 1.5rem; align-items: stretch; }
.focus-card {
	background: var(--c-surface);
	border: 1px solid var(--c-stone);
	border-radius: 1rem;
	overflow: hidden;
	text-align: left;
	padding: 0;
	height: 100%;
}
.focus-card__photo img {
	width: 100%;
	aspect-ratio: 4/3;
	object-fit: cover;
	display: block;
}
.focus-card__name {
	margin: 0;
	padding: 1rem 1.25rem 1.25rem;
	font-size: 1.15rem;
}
.focus-card__name a { color: var(--c-text); text-decoration: none; }
.focus-card__name a:hover { color: var(--c-primary); }

/* stack the focus grid on small screens (core's is-layout-grid keeps 3 cols) */
@media (max-width: 780px) {
	.focus-archive__grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 560px) {
	.focus-archive__grid { grid-template-columns: 1fr !important; }
}

/* screen-reader-only text (used by the rotating h1 on the Therapists page) */
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0; border: 0;
	overflow: hidden; clip: rect(0 0 0 0);
	clip-path: inset(50%); white-space: nowrap;
	word-wrap: normal;
}
