/**
 * Toby Israel 2025 – enforce fonts + wireframe v2 header / hero utilities.
 */

body:not(.wp-admin),
.wp-site-blocks .wp-block-paragraph,
.wp-site-blocks .wp-block-list,
.editor-styles-wrapper .wp-block-paragraph,
.editor-styles-wrapper .wp-block-list {
	font-family: 'DM Sans', system-ui, sans-serif !important;
}

.wp-site-blocks h1,
.wp-site-blocks h2,
.wp-site-blocks h3,
.wp-site-blocks h4,
.wp-site-blocks h5,
.wp-site-blocks h6,
.wp-site-blocks .wp-block-heading,
.editor-styles-wrapper h1,
.editor-styles-wrapper h2,
.editor-styles-wrapper h3,
.editor-styles-wrapper h4,
.editor-styles-wrapper h5,
.editor-styles-wrapper h6,
.editor-styles-wrapper .wp-block-heading {
	font-family: 'Libre Baskerville', Georgia, serif !important;
}

/* Eyebrow micro-label used across home/facilitation section blocks. */
.toby-wf-section-label {
	margin: 0 0 0.75rem;
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-4);
	font-family: 'DM Sans', system-ui, sans-serif !important;
}

/*
 * Site header: frosted bar (DESIGN_STYLE_GUIDE_WIREFRAME_V2.md).
 * Horizontal inset = theme.json root padding + useRootPaddingAwareAlignments
 * (TT5 pattern) via parts/header.html constrained → alignwide — do NOT pad
 * the <header> itself or content double-insets vs page blocks.
 * Vertical inset = block spacing on the alignwide row in header.html.
 */
header.wp-block-template-part {
	position: sticky;
	top: 0;
	z-index: 100;
	background: color-mix(in srgb, var(--wp--preset--color--cream) 95%, transparent);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(37, 37, 37, 0.06);
}

/* Nav links: small caps / tracking (match wireframe nav) */
header.wp-block-template-part .wp-block-navigation .wp-block-navigation-item__content {
	font-size: 0.85rem;
	font-weight: 500;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

header.wp-block-template-part .wp-block-navigation .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--terracotta);
}

/*
 * Site-wide header nav — overlay (hamburger) menu through tablet.
 * Core wp-block-navigation switches to inline links at 600px; Toby keeps the
 * overlay menu up to --toby-header-nav-overlay-max (1024px) on every page.
 * Footer nav uses overlayMenu never — unaffected.
 */
:root {
	--toby-header-nav-overlay-max: 1024px;
}

@media (max-width: 1024px) {
	header.wp-block-template-part .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex !important;
	}

	header.wp-block-template-part .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none !important;
	}
}

/*
 * Header mobile overlay — dark frosted glass over the page (site-wide).
 * Overrides core white overlay + fixes contrast on transparent hero header.
 *
 * Floating headers use overflow-x:clip; that makes position:fixed descendants
 * size to the short header bar (“the squish”). When the menu is open, drop the
 * clip and pin the overlay to the viewport (#75).
 *
 * Horizontal constraint: size with inset + border-box only — never width:100vw
 * while core still uses content-box + horizontal padding (that combo was ~60px
 * wider than the viewport and clipped right-aligned nav labels).
 */
/*
 * Fixed overlay lives inside the header. Any filter / backdrop-filter / transform
 * on the header becomes a containing block, so fixed inset:0 sizes to the header
 * bar (~65px) instead of the viewport — classic .is-scrolled frosted-glass trap.
 * Drop those while the menu is open; the overlay carries its own blur.
 */
header.wp-block-template-part.toby-header-float:has(.wp-block-navigation__responsive-container.is-menu-open) {
	overflow: visible;
	overflow-x: visible;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	filter: none !important;
	transform: none !important;
	/* Fractional blur mid-transition still creates a containing block — snap off */
	transition-property: background-color, border-color, padding-block, box-shadow !important;
}

header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open {
	position: fixed !important;
	inset: 0 !important;
	/* Fill the viewport CB; avoid 100vw (scrollbar / content-box padding traps) */
	width: 100% !important;
	height: 100% !important;
	min-width: 100% !important;
	min-height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	box-sizing: border-box !important;
	/* Padding belongs on the content pane so the modal itself stays viewport-tight */
	padding: 0 !important;
	margin: 0 !important;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	z-index: 100000 !important;
	background: color-mix(in srgb, var(--wp--preset--color--charcoal, #252525) 78%, transparent) !important;
	backdrop-filter: blur(20px) saturate(150%);
	-webkit-backdrop-filter: blur(20px) saturate(150%);
	color: var(--wp--preset--color--cream, #f9f5e9) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 100% !important;
	/* Match desktop justify:right — stack under the hamburger / close control */
	align-items: flex-end !important;
	justify-content: flex-start !important;
	padding-top: clamp(4.75rem, 14vw, 6.5rem) !important;
	padding-inline: var(--wp--preset--spacing--50, 1.25rem) !important;
	padding-bottom: var(--wp--preset--spacing--60, 2rem) !important;
	gap: var(--wp--preset--spacing--30, 1rem) !important;
}

header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container.items-justified-right {
	box-sizing: border-box;
	width: 100% !important;
	max-width: 100% !important;
	align-items: flex-end !important;
	margin-inline: 0 !important;
}

header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	box-sizing: border-box;
	width: auto !important;
	max-width: 100% !important;
	margin-inline: 0 !important;
}

header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	text-shadow: none !important;
	font-size: 0.9rem !important;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 0.75rem 0 !important;
	transition: color 0.2s ease;
	text-align: right;
	overflow-wrap: anywhere;
}

/* Close control stays inside the viewport (core positions it against the modal box) */
header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
	right: var(--wp--preset--spacing--50, 1.25rem) !important;
	top: var(--wp--preset--spacing--50, 1.25rem) !important;
	left: auto !important;
}

/* Home — cream links, gold hover (as approved). */
body.toby-is-front-page header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	color: var(--wp--preset--color--cream, #f9f5e9) !important;
}

body.toby-is-front-page header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover,
body.toby-is-front-page header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:focus-visible {
	color: var(--wp--preset--color--gold, #ffcb69) !important;
}

body.toby-is-front-page header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
	color: var(--wp--preset--color--cream, #f9f5e9) !important;
}

body.toby-is-front-page header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close:hover,
body.toby-is-front-page header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close:focus-visible {
	color: var(--wp--preset--color--gold, #ffcb69) !important;
}

/* Inner pages — white links, terracotta hover (matches desktop header). */
body.toby-has-transparent-header:not(.toby-is-front-page) header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content,
body:not(.toby-is-front-page) header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	color: #fff !important;
	text-shadow: none !important;
}

body.toby-has-transparent-header:not(.toby-is-front-page) header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover,
body.toby-has-transparent-header:not(.toby-is-front-page) header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:focus-visible,
body:not(.toby-is-front-page) header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:hover,
body:not(.toby-is-front-page) header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content:focus-visible {
	color: var(--wp--preset--color--terracotta, #d08c60) !important;
}

body.toby-has-transparent-header:not(.toby-is-front-page) header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close,
body:not(.toby-is-front-page) header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
	color: #fff !important;
}

body.toby-has-transparent-header:not(.toby-is-front-page) header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close:hover,
body.toby-has-transparent-header:not(.toby-is-front-page) header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close:focus-visible,
body:not(.toby-is-front-page) header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close:hover,
body:not(.toby-is-front-page) header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close:focus-visible {
	color: var(--wp--preset--color--terracotta, #d08c60) !important;
}

header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
	opacity: 0.95;
	padding: 0.85rem;
	margin: 0.25rem;
}

header.wp-block-template-part .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close svg {
	filter: none;
}

/*
 * Header site title — tracking on load + hover gentle “breathe” scale (MOTION_RECIPE_BOOK variant).
 * Letter-spacing entrance runs on the block (not <a>) so global link hover never re-triggers tracking.
 * Entrance: 0 → end tracking in one smooth ramp; `forwards` holds the final value (does not return to theme -0.02em).
 * Hover: inhale/exhale on <a> — scale + opacity peak; monotonic ease-out on exhale (no settle womp).
 */
@keyframes toby-site-title-tracking-entrance {
	0% {
		letter-spacing: var(--toby-site-title-ls-start, 0em);
	}
	100% {
		letter-spacing: var(--toby-site-title-ls-end, 0.25em);
	}
}

/*
 * Inhale to peak (~46%), then one smooth exhale to rest — no micro-overshoot keyframe.
 * Per-segment timing: ease-in on inhale, ease-out (no y>1) on exhale so scale/opacity never
 * bounce past rest at the end.
 */
@keyframes toby-site-title-breathe {
	0% {
		transform: translateZ(0) scale(1);
		opacity: 1;
		animation-timing-function: cubic-bezier(0.33, 0, 0.2, 1);
	}
	46% {
		transform: translateZ(0) scale(var(--toby-site-title-breathe-scale, 1.1));
		opacity: var(--toby-site-title-breathe-opacity-min, 0.72);
		animation-timing-function: cubic-bezier(0.25, 0.1, 0.25, 1);
	}
	100% {
		transform: translateZ(0) scale(1);
		opacity: 1;
	}
}

.toby-header-fade-in .wp-block-site-title,
header.wp-block-template-part .wp-block-site-title {
	--toby-site-title-ls-start: 0em;
	--toby-site-title-ls-end: 0.25em;
	--toby-site-title-tracking-dur: 1.35s;
	--toby-site-title-tracking-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--toby-site-title-breathe-dur: 1.35s;
	--toby-site-title-breathe-scale: 1.1;
	--toby-site-title-breathe-opacity-min: 0.72;
	animation: toby-site-title-tracking-entrance var(--toby-site-title-tracking-dur) var(--toby-site-title-tracking-ease) 1;
	animation-fill-mode: forwards;
}

.toby-header-fade-in .wp-block-site-title a,
header.wp-block-template-part .wp-block-site-title a,
.toby-site-title-link-no-underline {
	letter-spacing: inherit !important;
	display: inline-block;
	transform: translateZ(0) scale(1);
	transform-origin: center bottom;
	transition: color 0.35s ease, text-shadow 0.35s ease;
	text-decoration: none !important;
	backface-visibility: hidden;
}

@media (hover: hover) {
	.toby-header-fade-in .wp-block-site-title a:hover,
	.toby-header-fade-in .wp-block-site-title a:focus-visible,
	header.wp-block-template-part .wp-block-site-title a:hover,
	header.wp-block-template-part .wp-block-site-title a:focus-visible {
		letter-spacing: inherit !important;
		animation: toby-site-title-breathe var(--toby-site-title-breathe-dur, 1.35s) ease 1 forwards;
		text-decoration: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.toby-header-fade-in .wp-block-site-title,
	header.wp-block-template-part .wp-block-site-title {
		animation: none !important;
	}

	.toby-header-fade-in .wp-block-site-title a,
	header.wp-block-template-part .wp-block-site-title a {
		animation: none !important;
		transition: color 0.35s ease, text-shadow 0.35s ease !important;
	}
}

/*
 * True front page only: `body.toby-is-front-page` is added when `is_front_page()` (static homepage
 * uses `home`, not `front-page`, on body). Header has `toby-header-float` — fixed, transparent over
 * hero; scroll adds `.is-scrolled` (see assets/js/header-float.js).
 *
 * Admin bar: offset fixed header with --wp-admin--admin-bar--height (Code Snippets sets 0 on
 * body:not(.admin-bar)). scroll-padding-top on body so in-page #anchors clear header + bar.
 */
body.toby-is-front-page,
body.toby-has-transparent-header {
	scroll-padding-top: calc(
		var(--wp-admin--admin-bar--height, 0px) + clamp(4.25rem, 10vw, 6.25rem)
	);
}

body.toby-is-front-page header.wp-block-template-part.toby-header-float {
	position: fixed;
	top: var(--wp-admin--admin-bar--height, 0px);
	left: 0;
	right: 0;
	width: 100%;
	z-index: 200;
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border-bottom: 1px solid transparent;
	/* Vertical only — horizontal stays root-padding aware (no padding-inline). */
	padding-block: calc(var(--wp--preset--spacing--50) * 0.5);
	transition:
		background-color 0.35s ease,
		border-color 0.35s ease,
		backdrop-filter 0.35s ease,
		padding-block 0.35s ease,
		box-shadow 0.35s ease;
}

body.toby-is-front-page header.wp-block-template-part.toby-header-float.is-scrolled {
	background: rgba(249, 245, 233, 0.95);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(37, 37, 37, 0.06);
	padding-block: calc(var(--wp--preset--spacing--50) * 0.325);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

/* Inner header row (site title + nav): match ~50% vertical padding from parts/header.html */
body.toby-is-front-page header.toby-header-float .wp-block-group.alignwide {
	padding-top: calc(var(--wp--preset--spacing--30) * 0.5) !important;
	padding-bottom: calc(var(--wp--preset--spacing--30) * 0.5) !important;
}

/*
 * Site title <a> on overlay header: color + text-shadow only (hover motion = toby-site-title-breathe on <a>).
 */
body.toby-is-front-page header.toby-header-float:not(.is-scrolled) .wp-block-site-title a {
	color: #fff !important;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
	transition: color 0.35s ease, text-shadow 0.35s ease !important;
}

body.toby-is-front-page header.toby-header-float:not(.is-scrolled) .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content {
	color: #fff !important;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
	transition: color 0.35s ease, text-shadow 0.35s ease;
}

body.toby-is-front-page header.toby-header-float:not(.is-scrolled) .wp-block-site-title a:hover,
body.toby-is-front-page header.toby-header-float:not(.is-scrolled) .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content:hover {
	color: rgba(255, 255, 255, 0.88) !important;
}

body.toby-is-front-page header.toby-header-float.is-scrolled .wp-block-site-title a {
	color: #252525 !important;
	text-shadow: none;
	transition: color 0.35s ease !important;
}

body.toby-is-front-page header.toby-header-float.is-scrolled .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content {
	color: #252525 !important;
	text-shadow: none;
}

body.toby-is-front-page header.toby-header-float.is-scrolled .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--terracotta) !important;
}

body.toby-is-front-page header.toby-header-float:not(.is-scrolled) .wp-block-navigation__responsive-container-open svg,
body.toby-is-front-page header.toby-header-float:not(.is-scrolled) .wp-block-navigation__responsive-container-close svg {
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}

body.toby-is-front-page header.toby-header-float:not(.is-scrolled) .wp-block-navigation__responsive-container-open,
body.toby-is-front-page header.toby-header-float:not(.is-scrolled) .wp-block-navigation__responsive-container-close {
	color: #fff;
}

@media (prefers-reduced-motion: reduce) {
	body.toby-is-front-page header.wp-block-template-part.toby-header-float {
		transition: none;
	}
}

/*
 * Floating header: `position: fixed` uses the viewport as containing block, so core `alignfull`
 * breakout (100vw + negative margins) no longer lines up with in-flow layout. Keep inner groups
 * full-bleed of the header; horizontal inset comes from has-global-padding / root padding
 * (same as sticky header + page content — not padding-inline on <header>).
 */
body.toby-is-front-page header.wp-block-template-part.toby-header-float {
	box-sizing: border-box;
	overflow-x: clip;
}

body.toby-is-front-page header.wp-block-template-part.toby-header-float .wp-block-group.alignfull {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

body.toby-is-front-page header.wp-block-template-part.toby-header-float .wp-block-group.alignwide {
	max-width: var(--wp--style--global-wide-size, 1400px);
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

/* Add class "toby-hero-cover" to Cover block → wireframe hero min-height (not 1:1 ideal cards). */
.wp-block-cover.toby-hero-cover:not(.toby-wf-ideal-square-cover) {
	min-height: 90vh;
}

/* Static front page: full-viewport hero under floating header.
 * 100vh alone can fall short on mobile (browser chrome); 100dvh tracks the dynamic viewport.
 */
body.toby-is-front-page .toby-wireframe-home .wp-block-cover.toby-hero-cover:not(.toby-wf-ideal-square-cover) {
	min-height: 100vh !important;
	min-height: 100dvh !important;
}

/*
 * Home hero — mobile (#77 / #78):
 * Container matches header logo gutter (cover already uses spacing-50 L/R — do not
 * add % left inset that desyncs from the site title). Portrait-safe copy uses
 * max-width on h1/tagline only; CTAs use the full hero inner width (pills, not
 * crushed circles).
 */
@media (max-width: 781px) {
	body.toby-is-front-page .toby-wireframe-home .wp-block-cover.toby-hero-cover:not(.toby-wf-ideal-square-cover) {
		padding-left: var(--wp--preset--spacing--50, 1.25rem) !important;
		padding-right: var(--wp--preset--spacing--50, 1.25rem) !important;
	}

	body.toby-is-front-page .toby-wireframe-home .toby-wf-hero-inner.toby-hero-stagger-container {
		max-width: none;
		width: 100%;
		margin-left: 0;
		margin-right: 0;
		padding-right: 0;
		box-sizing: border-box;
	}

	/* Copy only — stay clear of portrait face without shrinking the CTA row */
	body.toby-is-front-page .toby-wireframe-home .toby-hero-cover h1 {
		max-width: min(14ch, 70vw);
	}

	body.toby-is-front-page .toby-wireframe-home .toby-hero-cover .toby-wf-tagline {
		max-width: min(40ch, 70vw);
	}

	body.toby-is-front-page .toby-wireframe-home .toby-hero-cover .wp-block-buttons.toby-wf-cta-row {
		max-width: none;
		width: 100%;
		padding-right: 0;
		margin-right: 0;
	}

	body.toby-is-front-page .toby-wireframe-home .toby-hero-cover .toby-wf-cta-row .wp-block-button__link {
		white-space: nowrap;
	}
}

/* Hero H1 uses preset --font-size--hero (same clamp as style book); keeps FSE + CSS aligned */
.toby-hero h1 {
	font-size: var(--wp--preset--font-size--hero) !important;
	line-height: 1.1 !important;
	letter-spacing: -0.02em !important;
}

/* -------------------------------------------------------------------------- */
/* Home page — wireframe v2 Option A (magazine), scoped to .toby-wireframe-home */
/* -------------------------------------------------------------------------- */

.toby-wireframe-home {
	/* Smooth button / link affordances (background, border, text) */
	--toby-wf-btn-transition:
		background-color 0.22s ease,
		color 0.22s ease,
		border-color 0.22s ease,
		box-shadow 0.22s ease;

	--toby-wf-cream: #f6f3ec;
	--toby-wf-warm: #f0eadd;
	--toby-wf-sage: #797d62;
	--toby-wf-olive: #9b9b7a;
	--toby-wf-gold: #ffcb69;
	--toby-wf-terracotta: #d08c60;
	--toby-wf-plum: #885091;
	--toby-wf-charcoal: #252525;
	--toby-wf-space-xs: 1rem;
	--toby-wf-space-sm: 2rem;
	--toby-wf-space-md: 4rem;
	--toby-wf-space-lg: 6rem;
	--toby-wf-space-xl: 8rem;
	--toby-wf-space-2xl: 12rem;
	--toby-wf-max: 1400px;
	color: var(--toby-wf-charcoal);
	font-size: 17px;
	line-height: 1.6;
}

.toby-wireframe-home .wp-block-button__link {
	transition: var(--toby-wf-btn-transition);
}

/* Hero: Cover block uses theme.json gradient on .wp-block-cover__background (no CSS ::after overlay). */
.toby-wireframe-home .wp-block-cover.toby-hero-cover .wp-block-cover__inner-container {
	position: relative;
	z-index: 1;
}

.toby-wireframe-home .toby-wf-hero-inner {
	max-width: var(--toby-wf-max);
	margin-left: auto;
	margin-right: auto;
	width: 100%;
}

.toby-wireframe-home .toby-hero-cover .toby-wf-label {
	font-family: "DM Sans", system-ui, sans-serif !important;
	font-size: 0.7rem !important;
	letter-spacing: 0.25em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.95) !important;
	margin-bottom: var(--toby-wf-space-sm);
}

/* Substack feeds: tag/date labels must sit flush in meta rows (no inherited hero margin). */
.toby-wireframe-home .toby-wf-ideal-feed-grid .toby-wf-label,
.toby-substack-feed--ideal-card .toby-wf-ideal-feed-card .toby-wf-label {
	margin: 0 !important;
}

/* Long Substack topic labels on ideal cards — keep meta row intact. */
.toby-wireframe-home .toby-wf-ideal-feed-meta-row .toby-wf-label:first-child,
.toby-substack-feed--ideal-card .toby-wf-ideal-feed-meta-row .toby-wf-label:first-child {
	min-width: 0;
	max-width: 42%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

/* Pill tag cloud under home Substack cards. */
.toby-substack-tag-cloud {
	margin: var(--wp--preset--spacing--40, 1.5rem) 0 var(--wp--preset--spacing--30, 1rem);
}

.toby-substack-tag-cloud__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.65rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.toby-substack-tag-cloud__item {
	margin: 0;
	padding: 0;
}

.toby-substack-tag-cloud__pill {
	display: inline-block;
	padding: 0.35em 0.9em;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.3;
	text-decoration: none;
	color: inherit;
	opacity: 0.88;
	transition: opacity 0.2s ease, background-color 0.2s ease;
}

.toby-substack-tag-cloud__pill:hover,
.toby-substack-tag-cloud__pill:focus-visible {
	opacity: 1;
	background-color: rgba(0, 0, 0, 0.04);
}

.toby-wireframe-home .toby-hero-cover h1 {
	font-family: "Libre Baskerville", Georgia, serif !important;
	font-size: clamp(3rem, 8vw, 5.5rem) !important;
	font-weight: 400 !important;
	line-height: 1.1 !important;
	letter-spacing: -0.02em !important;
	/* Horizontal width: narrow measure for headline (edit here or remove for full inner width) */
	max-width: 14ch;
	/* Space below headline: Heading block → Dimensions / margin in editor (home-page.html), not here */
	color: var(--toby-wf-cream) !important;
}

.toby-wireframe-home .toby-hero-cover .toby-wf-tagline {
	font-family: "DM Sans", system-ui, sans-serif !important;
	font-size: 1.25rem !important;
	color: rgba(249, 245, 233, 0.95) !important;
	/* Horizontal width: wider than h1 (14ch) — edit or match h1 for alignment */
	max-width: 40ch;
	/* Gap to CTAs: use Spacer block in home-page.html (editor), not theme margin */
	margin-bottom: 0;
	font-weight: 400;
}

.toby-wireframe-home .toby-wf-cta-row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--toby-wf-space-sm);
}

.toby-wireframe-home .toby-hero-cover .wp-block-button__link {
	padding: 1rem 2rem;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

/* Default filled hero CTA (e.g. Explore Facilitation) — not terracotta */
.toby-wireframe-home .toby-hero-cover .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-terracotta-background-color) {
	background: var(--toby-wf-charcoal);
	color: var(--toby-wf-cream) !important;
	border: 1px solid transparent;
}

.toby-wireframe-home .toby-hero-cover .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-terracotta-background-color):hover {
	background: var(--toby-wf-sage);
	color: var(--toby-wf-cream) !important;
}

/* Work With Me — terracotta fill; hover: plum (contrast + on-palette) */
.toby-wireframe-home .toby-hero-cover .wp-block-button .wp-block-button__link.has-terracotta-background-color {
	background-color: var(--toby-wf-terracotta) !important;
	color: var(--toby-wf-cream) !important;
	border: 1px solid transparent;
}

.toby-wireframe-home .toby-hero-cover .wp-block-button .wp-block-button__link.has-terracotta-background-color:hover {
	background-color: var(--toby-wf-plum) !important;
	color: var(--toby-wf-cream) !important;
}

.toby-wireframe-home .toby-hero-cover .wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent !important;
	border: 1px solid var(--toby-wf-cream) !important;
	color: var(--toby-wf-cream) !important;
}

.toby-wireframe-home .toby-hero-cover .wp-block-button.is-style-outline .wp-block-button__link:hover {
	background: var(--toby-wf-cream) !important;
	color: var(--toby-wf-charcoal) !important;
}

.toby-wireframe-home .toby-wf-section {
	padding: var(--toby-wf-space-2xl) var(--toby-wf-space-md);
}

.toby-wireframe-home .toby-wf-section-inner {
	max-width: var(--toby-wf-max);
	margin: 0 auto;
}

.toby-wireframe-home .toby-wf-section-label {
	font-family: "DM Sans", system-ui, sans-serif !important;
	font-size: 0.65rem;
	letter-spacing: 0.3em;
	text-transform: uppercase;
	color: var(--toby-wf-olive);
	margin-bottom: var(--toby-wf-space-sm);
}

.toby-wireframe-home .toby-wf-section-title {
	font-family: "Libre Baskerville", Georgia, serif !important;
	font-size: clamp(2rem, 4vw, 3rem) !important;
	font-weight: 400 !important;
	margin-bottom: var(--toby-wf-space-lg);
	letter-spacing: -0.01em;
}

.toby-wireframe-home .toby-wf-featured-columns.wp-block-columns {
	display: grid !important;
	grid-template-columns: 1.4fr 1fr;
	gap: var(--toby-wf-space-lg);
	margin-bottom: var(--toby-wf-space-2xl);
}

.toby-wireframe-home .wp-block-cover.toby-wf-featured-cover {
	min-height: 560px;
	position: relative;
}

/* Bottom fade comes from theme.json gradient (toby-featured-bottom-fade) on the Cover overlay span. */
.toby-wireframe-home .wp-block-cover.toby-wf-featured-cover .wp-block-cover__inner-container {
	position: relative;
	z-index: 1;
	padding: var(--toby-wf-space-lg);
}

.toby-wireframe-home .wp-block-cover.toby-wf-featured-cover .toby-wf-cat {
	font-family: "DM Sans", system-ui, sans-serif !important;
	font-size: 0.65rem !important;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--toby-wf-gold) !important;
	margin-bottom: 0.5rem;
}

.toby-wireframe-home .wp-block-cover.toby-wf-featured-cover h2 {
	font-family: "Libre Baskerville", Georgia, serif !important;
	font-size: 1.75rem !important;
	font-weight: 400 !important;
	line-height: 1.3 !important;
	margin-bottom: 0.5rem !important;
	color: var(--toby-wf-cream) !important;
}

.toby-wireframe-home .wp-block-cover.toby-wf-featured-cover p:not(.toby-wf-cat) {
	font-family: "DM Sans", system-ui, sans-serif !important;
	font-size: 0.9rem !important;
	opacity: 0.9;
	line-height: 1.5;
	margin: 0;
	color: var(--toby-wf-cream) !important;
}

.toby-wireframe-home .toby-wf-featured-side {
	display: flex;
	flex-direction: column;
	gap: var(--toby-wf-space-md);
}

.toby-wireframe-home .toby-wf-side-card {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: var(--toby-wf-space-sm);
	padding-bottom: var(--toby-wf-space-md);
	border-bottom: 1px solid rgba(37, 37, 37, 0.08);
}

.toby-wireframe-home .toby-wf-side-card:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.toby-wireframe-home .toby-wf-side-card .wp-block-cover.toby-wf-side-thumb-cover {
	width: 140px;
	max-width: 100%;
	flex-shrink: 0;
	align-self: start;
	overflow: hidden;
}

.toby-wireframe-home .toby-wf-side-card .toby-wf-side-thumb-cover .wp-block-cover__image-background {
	object-fit: cover;
}

.toby-wireframe-home .toby-wf-side-card .toby-wf-cat {
	font-size: 0.6rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--toby-wf-olive);
	margin-bottom: 0.25rem;
	font-family: "DM Sans", system-ui, sans-serif !important;
}

.toby-wireframe-home .toby-wf-side-card h3 {
	font-family: "Libre Baskerville", Georgia, serif !important;
	font-size: 1rem !important;
	font-weight: 400 !important;
	line-height: 1.35 !important;
	margin: 0 !important;
}

.toby-wireframe-home .toby-wf-side-card h3 a {
	color: var(--toby-wf-charcoal) !important;
	text-decoration: none !important;
}

.toby-wireframe-home .toby-wf-side-card h3 a:hover {
	color: var(--toby-wf-terracotta) !important;
}

.toby-wireframe-home .toby-wf-services {
	background: var(--toby-wf-warm);
}

.toby-wireframe-home .toby-wf-services-grid.wp-block-columns {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--toby-wf-space-md);
}

.toby-wireframe-home .toby-wf-service-card {
	background: var(--toby-wf-cream);
	overflow: hidden;
}

.toby-wireframe-home .toby-wf-service-card .wp-block-image img {
	width: 100%;
	height: 280px;
	object-fit: cover;
	display: block;
}

.toby-wireframe-home .toby-wf-service-card .toby-wf-card-body {
	padding: var(--toby-wf-space-md);
}

.toby-wireframe-home .toby-wf-service-card h3 {
	font-family: "Libre Baskerville", Georgia, serif !important;
	font-size: 1.5rem !important;
	font-weight: 400 !important;
	margin-bottom: 0.5rem !important;
}

.toby-wireframe-home .toby-wf-service-card p {
	font-size: 0.95rem;
	color: var(--toby-wf-olive);
	line-height: 1.6;
	margin-bottom: var(--toby-wf-space-sm);
}

.toby-wireframe-home .toby-wf-service-card a.toby-wf-text-link {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--toby-wf-terracotta) !important;
	text-decoration: none !important;
	font-family: "DM Sans", system-ui, sans-serif !important;
}

.toby-wireframe-home .toby-wf-service-card a.toby-wf-text-link:hover {
	color: var(--toby-wf-plum) !important;
}

.toby-wireframe-home .toby-wf-about-grid.wp-block-columns {
	display: grid !important;
	grid-template-columns: 400px 1fr;
	gap: var(--toby-wf-space-xl);
	align-items: center;
}

.toby-wireframe-home .toby-wf-about-img img {
	width: 100%;
	height: 480px;
	object-fit: cover;
	display: block;
}

.toby-wireframe-home .toby-wf-about-copy h2 {
	font-family: "Libre Baskerville", Georgia, serif !important;
	font-size: 2.5rem !important;
	font-weight: 400 !important;
	margin-bottom: var(--toby-wf-space-md) !important;
	line-height: 1.2 !important;
}

.toby-wireframe-home .toby-wf-about-copy p {
	font-size: 1.1rem;
	line-height: 1.8;
	margin-bottom: var(--toby-wf-space-sm);
}

.toby-wireframe-home .toby-wf-about-copy a.toby-wf-text-link,
.toby-wireframe-home .toby-wf-pillar-row a.toby-wf-text-link {
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--toby-wf-terracotta) !important;
	text-decoration: none !important;
	font-family: "DM Sans", system-ui, sans-serif !important;
}

.toby-wireframe-home .toby-wf-pillar-row a.toby-wf-text-link:hover {
	color: var(--toby-wf-plum) !important;
}

.toby-wireframe-home .toby-wf-blog-grid.wp-block-columns {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--toby-wf-space-md);
}

.toby-wireframe-home .toby-wf-blog-card {
	background: var(--toby-wf-warm);
	overflow: hidden;
}

.toby-wireframe-home .toby-wf-blog-card .wp-block-image img {
	width: 100%;
	height: 240px;
	object-fit: cover;
	display: block;
}

.toby-wireframe-home .toby-wf-blog-card .toby-wf-card-body {
	padding: var(--toby-wf-space-md);
}

.toby-wireframe-home .toby-wf-blog-card .toby-wf-meta {
	font-size: 0.65rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--toby-wf-olive);
	margin-bottom: 0.5rem;
	font-family: "DM Sans", system-ui, sans-serif !important;
}

.toby-wireframe-home .toby-wf-blog-card h3 {
	font-family: "Libre Baskerville", Georgia, serif !important;
	font-size: 1.15rem !important;
	font-weight: 400 !important;
	line-height: 1.4 !important;
	margin: 0 !important;
}

.toby-wireframe-home .toby-wf-blog-card h3 a {
	color: var(--toby-wf-charcoal) !important;
	text-decoration: none !important;
}

.toby-wireframe-home .toby-wf-blog-card h3 a:hover {
	color: var(--toby-wf-terracotta) !important;
}

.toby-wireframe-home .toby-wf-cta-block {
	background: var(--toby-wf-charcoal);
	color: var(--toby-wf-cream);
	padding: var(--toby-wf-space-2xl) var(--toby-wf-space-md);
	text-align: center;
}

.toby-wireframe-home .toby-wf-home-cta-cover.toby-wf-cta-block {
	background: transparent;
	padding: 0;
}

.toby-wireframe-home .toby-wf-cta-block .toby-wf-section-label {
	color: rgba(255, 255, 255, 0.6);
}

.toby-wireframe-home .toby-wf-cta-block h2 {
	font-family: "Libre Baskerville", Georgia, serif !important;
	font-size: 2.5rem !important;
	font-weight: 400 !important;
	margin-bottom: 0.5rem !important;
	color: var(--toby-wf-cream) !important;
}

.toby-wireframe-home .toby-wf-cta-block p {
	opacity: 0.9;
	margin-bottom: var(--toby-wf-space-md);
	font-family: "DM Sans", system-ui, sans-serif !important;
}

.toby-wireframe-home .toby-wf-cta-block .wp-block-button__link {
	padding: 1rem 2.5rem;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	transition: background 0.2s;
}

.toby-wireframe-home .toby-wf-cta-block .wp-block-button__link:hover {
	background: var(--toby-wf-cream) !important;
	color: var(--toby-wf-charcoal) !important;
}

@media (max-width: 1024px) {
	.toby-wireframe-home .toby-wf-featured-columns.wp-block-columns {
		grid-template-columns: 1fr;
	}

	.toby-wireframe-home .toby-wf-services-grid.wp-block-columns,
	.toby-wireframe-home .toby-wf-blog-grid.wp-block-columns {
		grid-template-columns: 1fr;
	}

	.toby-wireframe-home .toby-wf-about-grid.wp-block-columns {
		grid-template-columns: 1fr;
	}

	.toby-wireframe-home .wp-block-cover.toby-wf-featured-cover {
		min-height: min(70vw, 420px);
	}
}

@media (max-width: 600px) {
	.toby-wireframe-home .toby-wf-side-card {
		grid-template-columns: 100px 1fr;
	}

	body:not(.toby-is-front-page) .toby-wireframe-home .wp-block-cover.toby-hero-cover:not(.toby-wf-ideal-square-cover) {
		min-height: 80vh !important;
	}
}

/* --------------------------------------------------------------------------
 * Blur → sharp on scroll (img + video) in post content and .toby-wireframe-home.
 * JS adds .toby-media-reveal--active on <main> and .toby-media-reveal--visible on each
 * element when it enters the viewport. Parent figure/cover may get same-image `background-image`.
 * Opt out per image/video: class `toby-media-reveal--skip` (e.g. when mixing with ANFB).
 * Trigger: see `media-entry-reveal.js` + filters `toby_media_reveal_trigger` / `toby_media_reveal_delay_ms`.
 *
 * Same-image backdrop: JS sets parent figure/cover `background-image` from media src (class
 * `toby-media-reveal--bg-fill`) so blur fringes read against a sharp copy; cleared after reveal.
 * -------------------------------------------------------------------------- */

main.toby-media-reveal--active figure.toby-media-reveal--bg-fill,
main.toby-media-reveal--active .wp-block-cover.toby-media-reveal--bg-fill {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

main.toby-media-reveal--active .wp-block-post-content img.toby-media-reveal--skip,
main.toby-media-reveal--active .wp-block-post-content video.toby-media-reveal--skip,
main.toby-media-reveal--active .toby-wireframe-home img.toby-media-reveal--skip,
main.toby-media-reveal--active .toby-wireframe-home video.toby-media-reveal--skip {
	filter: none !important;
	opacity: 1 !important;
}

/* Blur reveal timing: ~75% longer than 0.75s; ease-out tail (smooth settle) for filter + opacity */
main.toby-media-reveal--active .wp-block-post-content img,
main.toby-media-reveal--active .wp-block-post-content video,
main.toby-media-reveal--active .toby-wireframe-home img,
main.toby-media-reveal--active .toby-wireframe-home video {
	transition:
		filter 1.3125s cubic-bezier(0.16, 1, 0.3, 1),
		opacity 1.3125s cubic-bezier(0.16, 1, 0.3, 1);
}

main.toby-media-reveal--active .wp-block-post-content img:not(.toby-media-reveal--visible),
main.toby-media-reveal--active .wp-block-post-content video:not(.toby-media-reveal--visible),
main.toby-media-reveal--active .toby-wireframe-home img:not(.toby-media-reveal--visible),
main.toby-media-reveal--active .toby-wireframe-home video:not(.toby-media-reveal--visible) {
	filter: blur(10px);
	opacity: 0.98;
}

main.toby-media-reveal--active .wp-block-post-content img.toby-media-reveal--visible,
main.toby-media-reveal--active .wp-block-post-content video.toby-media-reveal--visible,
main.toby-media-reveal--active .toby-wireframe-home img.toby-media-reveal--visible,
main.toby-media-reveal--active .toby-wireframe-home video.toby-media-reveal--visible {
	filter: blur(0);
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	main.toby-media-reveal--active .wp-block-post-content img,
	main.toby-media-reveal--active .wp-block-post-content video,
	main.toby-media-reveal--active .toby-wireframe-home img,
	main.toby-media-reveal--active .toby-wireframe-home video {
		filter: none !important;
		opacity: 1 !important;
		transition: none !important;
	}

	main.toby-media-reveal--active figure.toby-media-reveal--bg-fill,
	main.toby-media-reveal--active .wp-block-cover.toby-media-reveal--bg-fill {
		background-image: none !important;
	}
}

/* Hero: staggered slide + fade; delays from hero-stagger.js (geometric cumulative delay) */
@media (prefers-reduced-motion: no-preference) {
	.toby-wireframe-home .toby-hero-stagger-container > .toby-hero-stagger-item {
		opacity: 0;
		transform: translateX(-18px);
		animation: toby-hero-stagger-in 0.72s cubic-bezier(0.16, 1, 0.3, 1) forwards;
		animation-delay: var(--toby-stagger-delay, 0ms);
	}
}

@keyframes toby-hero-stagger-in {
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.toby-wireframe-home .toby-hero-stagger-container > .toby-hero-stagger-item {
		opacity: 1 !important;
		transform: none !important;
		animation: none !important;
	}
}

.toby-wireframe-home .toby-wf-blog-read-more {
	margin-top: var(--toby-wf-space-md);
}

/* --------------------------------------------------------------------------
 * Home v2 — pillars: full-bleed 50/50 (align with header edges), sticky media
 * -------------------------------------------------------------------------- */

.toby-wireframe-home .toby-wf-pillars-wrap.toby-wf-section {
	padding-block: 0;
	padding-inline: 0;
}

.toby-wf-pillars-wrap .toby-wf-pillars-intro {
	padding-block: var(--toby-wf-space-2xl) var(--toby-wf-space-sm);
	padding-inline: var(--toby-wf-space-md);
}

.toby-wf-pillars-wrap {
	--wp--style--block-gap: 0;
}

.toby-wf-pillars-wrap.is-layout-flow > .wp-block-group {
	margin-block-start: 0 !important;
}

.toby-wf-pillars-wrap .toby-wf-pillar-row {
	padding-block: 0;
	margin-block: 0 !important;
	max-width: none !important;
}

.toby-wf-pillars-wrap .toby-wf-pillar-row + .toby-wf-pillar-row {
	border: none;
}

.toby-wf-pillar-row .toby-wf-pillar-columns.wp-block-columns {
	gap: 0 !important;
	align-items: stretch !important;
}

.toby-wf-pillar-row .toby-wf-pillar-media-col,
.toby-wf-pillar-row .toby-wf-pillar-copy-col {
	flex-basis: 50% !important;
	max-width: 50% !important;
}

.toby-wf-pillar-row .toby-wf-pillar-copy-col {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-block: var(--toby-wf-space-lg);
	box-sizing: border-box;
}

.toby-wf-pillar-row--image-left .toby-wf-pillar-copy-col {
	padding-left: var(--wp--preset--spacing--50);
	padding-right: var(--wp--preset--spacing--50);
}

.toby-wf-pillar-row--image-right .toby-wf-pillar-copy-col {
	padding-left: var(--wp--preset--spacing--50);
	padding-right: var(--wp--preset--spacing--50);
}

.toby-wf-pillar-row--books .toby-wf-pillar-copy-col--scroll {
	justify-content: flex-start;
}

.toby-wf-pillar-row .toby-wf-pillar-media-col .toby-wf-pillar-cover,
.toby-wf-pillar-row .toby-wf-pillar-media-col .gslider-image-slider-wrapper {
	position: sticky;
	top: 4.5rem;
	align-self: start;
}

/* Pillar media: gSlider (Books, Facilitation, etc.) — square 1:1 like Cover blocks */
.toby-wf-pillar-row .toby-wf-pillar-media-col .gslider-image-slider-wrapper {
	width: 100%;
	max-width: none !important;
	margin: 0 !important;
	aspect-ratio: 1 / 1;
}

.toby-wf-pillar-row .toby-wf-pillar-media-col .gslider-image-slider-wrapper .swiper,
.toby-wf-pillar-row .toby-wf-pillar-media-col .gslider-image-slider-wrapper .swiper-wrapper {
	height: 100%;
	min-height: 0;
}

/* Fill the 1:1 box every slide */
.toby-wf-pillar-row .toby-wf-pillar-media-col .gslider-image-slider-wrapper .swiper-slide {
	height: 100%;
	min-height: 0;
	align-self: stretch;
	position: relative;
	/* Block JSON uses flex + center — that shrinks images instead of cover-fill */
	display: flex !important;
	align-items: stretch !important;
}

.toby-wf-pillar-row .toby-wf-pillar-media-col .gslider-image-slider-wrapper .gslider-image-slider-content-wrapper {
	position: absolute;
	inset: 0;
	display: flex !important;
	align-items: stretch !important;
	width: 100% !important;
	height: 100% !important;
	min-height: 0;
}

.toby-wf-pillar-row .toby-wf-pillar-media-col .gslider-image-slider-wrapper .gslider-image-item {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	min-height: 0;
}

.toby-wf-pillar-row .toby-wf-pillar-media-col .gslider-image-slider-wrapper .gslider-image-item img {
	object-fit: cover !important;
	object-position: center center;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	display: block;
}

/* Tall portrait group facilitation — square crop trims top/bottom; keep focal area centered (tweak % if needed) */
.toby-wf-pillar-row .toby-wf-pillar-media-col .gslider-image-slider-wrapper .gslider-image-item img[src*="toby-israel-self-defense-empowerment-workshop-group-2023"] {
	object-position: center 42%;
}

/* Linked slides (Writing, Books): fill the 1:1 frame so theme img rules apply */
.toby-wf-pillar-row .toby-wf-pillar-media-col .gslider-image-slider-wrapper .gslider-image-item .gslider-image-link {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	text-decoration: none;
}

/* Writing pillar — Substack promo slides: 1:1 square cover; focal center / lower third (no per-slide gSlider focal API) */
.toby-wf-pillar-row .toby-wf-pillar-media-col .gslider-image-slider-writingpillar .gslider-image-item img[src*="substack"] {
	object-fit: cover !important;
	object-position: center 66%;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
}

.toby-wf-pillar-cover {
	width: 100%;
	max-width: none !important;
	margin: 0 !important;
	aspect-ratio: 1 / 1;
	min-height: auto !important;
}

.toby-wf-pillar-cover .wp-block-cover__image-background {
	object-fit: cover;
}

.toby-wf-pillar-row--books .toby-wf-pillar-copy-scroll {
	max-height: min(85vh, 920px);
	overflow-y: auto;
	padding-right: 0.35rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.25rem;
	min-height: min(50vh, 480px);
}

.toby-wireframe-home .toby-wf-pillars-intro .toby-wf-pillars-heading {
	font-family: "Libre Baskerville", Georgia, serif !important;
	font-size: clamp(2.25rem, 5vw, 3.75rem) !important;
	font-weight: 400 !important;
	line-height: 1.15 !important;
	letter-spacing: -0.02em;
	margin: 0 0 var(--toby-wf-space-sm) !important;
	text-align: center !important;
}

.toby-wireframe-home .toby-wf-pillar-row .toby-wf-pillar-eyebrow {
	margin-bottom: 0.65rem !important;
}

.toby-wireframe-home .toby-wf-blog-card--text-only .toby-wf-card-body {
	padding-block: var(--toby-wf-space-xl);
	min-height: 8rem;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

#toby-home-substack {
	scroll-margin-top: 6rem;
}

.toby-substack-feed--layout {
	margin-top: var(--toby-wf-space-md);
}

.toby-substack-feed-subscribe {
	margin-top: var(--toby-wf-space-lg);
	text-align: center;
}

.toby-wireframe-home .toby-substack-feed-subscribe a.toby-wf-text-link {
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--toby-wf-terracotta) !important;
	text-decoration: none !important;
	font-family: "DM Sans", system-ui, sans-serif !important;
}

.toby-wireframe-home .toby-substack-feed-subscribe a.toby-wf-text-link:hover {
	color: var(--toby-wf-plum) !important;
}

/* Substack — Seattle-style card row (shortcode layout=seattle-cards; prototype + future home). */
.toby-wireframe-home .toby-wf-substack-seattle-section .wp-block-cover__inner-container {
	position: relative;
	z-index: 1;
}

.toby-wireframe-home .toby-substack-feed--seattle-cards {
	margin-top: var(--toby-wf-space-md);
}

.toby-wireframe-home .toby-wf-seattle-cards-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--toby-wf-space-md);
}

/* Substack — ideal card row (shortcode layout=ideal-card; mirrors design lab IDEAL CARD LAYOUT). */
.toby-wireframe-home .toby-substack-feed--ideal-card {
	margin-top: var(--toby-wf-space-md);
}

.toby-wireframe-home .toby-substack-feed--ideal-card .wp-block-cover__inner-container {
	position: relative;
	z-index: 1;
}

/*
 * Ideal-card shortcode: META BLOCK is not a rendered core/group, so Global Styles for
 * `is-style-section-5` may be missing — keep surface colors only. Padding / blockGap must
 * come from inline styles in PHP (mirroring the design lab) or from a template part + Query Loop.
 */
.toby-wireframe-home .toby-substack-feed--ideal-card .wp-block-cover.toby-wf-ideal-feed-card .wp-block-group.toby-wf-meta-block.toby-wf-ideal-feed-inner.toby-wf-hero-inner.meta-overlay.is-style-section-5 {
	background-color: var(--wp--preset--color--contrast, #111111) !important;
	color: var(--wp--preset--color--base, #ffffff) !important;
	box-sizing: border-box;
}

.toby-wireframe-home .toby-substack-feed--ideal-card .wp-block-cover.toby-wf-ideal-feed-card .wp-block-group.toby-wf-meta-block.toby-wf-ideal-feed-inner.toby-wf-hero-inner.meta-overlay.is-style-section-5 .wp-block-heading,
.toby-wireframe-home .toby-substack-feed--ideal-card .wp-block-cover.toby-wf-ideal-feed-card .wp-block-group.toby-wf-meta-block.toby-wf-ideal-feed-inner.toby-wf-hero-inner.meta-overlay.is-style-section-5 .has-lead-font-size {
	color: inherit;
}

.toby-wireframe-home .toby-wf-ideal-feed-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--toby-wf-space-md);
	align-items: start;
}

/* Core is-layout-flow stacks siblings with margin-block-start; in a grid that misaligns col 2+. */
.toby-wireframe-home .toby-wf-ideal-feed-grid.is-layout-flow > * {
	margin-block-start: 0 !important;
}

/* Grid items default min-width:auto; min-content from alignfull/hero can blow past one column — force shrink. */
.toby-wireframe-home .toby-wf-ideal-feed-grid > .wp-block-cover.toby-wf-ideal-feed-card,
.toby-wireframe-home .toby-wf-ideal-feed-grid > .wp-block-cover.toby-wf-ideal-square-cover {
	min-width: 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

/*
 * Substack ideal card: 1×1 cover (design lab + shortcode). Hero min-heights excluded via :not() above;
 * keep explicit sizing so aspect-ratio wins in grid/flex contexts.
 */
.toby-wireframe-home .toby-wf-ideal-square-cover.wp-block-cover.toby-hero-cover,
body.toby-is-front-page .toby-wireframe-home .toby-wf-ideal-square-cover.wp-block-cover.toby-hero-cover,
body:not(.toby-is-front-page) .toby-wireframe-home .toby-wf-ideal-square-cover.wp-block-cover.toby-hero-cover,
.wp-block-cover.toby-hero-cover.toby-wf-ideal-square-cover.toby-wf-ideal-feed-card {
	min-height: 0 !important;
	aspect-ratio: 1 / 1;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

/*
 * Ideal-card meta sits inside a 1:1 cover — `.toby-wf-hero-inner` hero max-width (1400px) was
 * blowing the overlay past the square (esp. tablet 2-col ~350px cells).
 */
.toby-wf-ideal-square-cover .wp-block-cover__inner-container {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: stretch;
	min-height: 0;
	height: 100%;
	overflow: hidden;
}

.toby-wf-ideal-square-cover .toby-wf-ideal-feed-inner.toby-wf-hero-inner,
.toby-wf-ideal-square-cover .toby-wf-meta-block.meta-overlay {
	max-width: 100% !important;
	width: 100%;
	min-width: 0;
	max-height: 92%;
	margin-left: 0 !important;
	margin-right: 0 !important;
	box-sizing: border-box;
	overflow: hidden;
}

.toby-wireframe-home .toby-wf-ideal-feed-grid .toby-wf-ideal-feed-inner .wp-block-heading {
	margin-top: 0;
	line-height: 1.25 !important;
}

.toby-wireframe-home .toby-wf-ideal-feed-grid .toby-wf-ideal-feed-inner .has-lead-font-size {
	margin-top: 0;
	line-height: 1.4;
}

.toby-wireframe-home .toby-wf-ideal-feed-grid .toby-wf-ideal-feed-meta-row .wp-block-separator {
	flex: 0 0 clamp(2rem, 18%, 4rem);
	width: clamp(2rem, 18%, 4rem);
	min-width: 0;
}

/* core/group alignfull uses full-bleed width tricks — inside a square cover + overflow:hidden that clips the meta. */
.toby-wf-ideal-square-cover .wp-block-cover__inner-container .wp-block-group.alignfull {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0;
	padding-right: 0;
	box-sizing: border-box;
}

/* Shortcode tag row: not a saved flex block — flex fallback; horizontal rhythm uses --wp--style--block-gap from PHP. */
.toby-wireframe-home .toby-wf-ideal-feed-card .toby-wf-ideal-feed-meta-row {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: center;
	gap: var(--wp--style--block-gap, var(--wp--preset--spacing--20));
}

/*
 * Meta row labels (tag + date): letter-spacing widens line box; without nowrap the date can break
 * (e.g. month vs day). Matches block-rendered home feed (flex row may omit toby-wf-ideal-feed-meta-row)
 * and shortcode output (includes that class).
 */
.toby-wf-ideal-feed-card .toby-wf-ideal-feed-meta-row .toby-wf-label,
.toby-wf-ideal-feed-inner.toby-wf-meta-block > .wp-block-group.is-layout-flex.is-nowrap .toby-wf-label,
.toby-substack-feed--ideal-card .toby-wf-meta-block.toby-wf-ideal-feed-inner > .wp-block-group.is-layout-flex.is-nowrap .toby-wf-label {
	white-space: nowrap;
	flex-shrink: 0;
}

.toby-wireframe-home .toby-wf-ideal-feed-card .toby-wf-ideal-feed-meta-row .wp-block-separator {
	flex: 0 0 clamp(2rem, 18%, 4rem);
	width: clamp(2rem, 18%, 4rem);
	min-width: 0;
}

.toby-wireframe-home .toby-wf-seattle-card {
	display: block;
	position: relative;
	min-height: 22rem;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	box-sizing: border-box;
}

.toby-wireframe-home .toby-wf-seattle-card:focus-visible {
	outline: 2px solid var(--toby-wf-gold);
	outline-offset: 3px;
}

.toby-wireframe-home .toby-wf-seattle-card__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.toby-wireframe-home .toby-wf-seattle-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.toby-wireframe-home .toby-wf-seattle-card__media--placeholder {
	background: linear-gradient(145deg, var(--toby-wf-sage) 0%, var(--toby-wf-charcoal) 100%);
}

.toby-wireframe-home .toby-wf-seattle-card__overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	padding: var(--toby-wf-space-md) var(--toby-wf-space-sm) var(--toby-wf-space-sm);
	background: linear-gradient(180deg, transparent 0%, rgba(37, 37, 37, 0.55) 35%, rgba(37, 37, 37, 0.92) 100%);
}

.toby-wireframe-home .toby-wf-seattle-card__eyebrow {
	font-family: "DM Sans", system-ui, sans-serif !important;
	font-size: 0.65rem !important;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--toby-wf-gold) !important;
	margin: 0 0 0.35rem !important;
}

.toby-wireframe-home .toby-wf-seattle-card__date {
	font-family: "DM Sans", system-ui, sans-serif !important;
	font-size: 0.75rem !important;
	color: rgba(249, 245, 233, 0.85) !important;
	margin: 0 0 0.5rem !important;
	white-space: nowrap;
}

.toby-wireframe-home .toby-wf-seattle-card__title {
	font-family: "Libre Baskerville", Georgia, serif !important;
	font-size: 1.2rem !important;
	font-weight: 400 !important;
	line-height: 1.3 !important;
	margin: 0 0 0.5rem !important;
	color: var(--toby-wf-cream) !important;
}

.toby-wireframe-home .toby-wf-seattle-card__excerpt {
	font-family: "DM Sans", system-ui, sans-serif !important;
	font-size: 0.85rem !important;
	line-height: 1.45;
	margin: 0 !important;
	color: rgba(249, 245, 233, 0.88) !important;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.toby-wireframe-home .toby-wf-substack-seattle-section .toby-substack-feed-subscribe {
	margin-top: var(--toby-wf-space-lg);
	text-align: center;
}

.toby-wireframe-home .toby-wf-substack-seattle-section .toby-substack-feed-subscribe a.toby-wf-text-link {
	color: var(--toby-wf-cream) !important;
}

.toby-wireframe-home .toby-wf-substack-seattle-section .toby-substack-feed-subscribe a.toby-wf-text-link:hover {
	color: var(--toby-wf-gold) !important;
}

/* Substack — single-card block lab (test page; reuses Seattle card type styles on inner). */
.toby-wireframe-home .toby-wf-newsletter-card-lab-wrap {
	margin-top: var(--toby-wf-space-md);
	margin-bottom: var(--toby-wf-space-xl);
}

.toby-wireframe-home .toby-wf-newsletter-card-lab .wp-block-cover__inner-container {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: inherit;
	padding: 0;
}

.toby-wireframe-home .toby-wf-newsletter-card-lab__inner {
	width: 100%;
}

/*
 * Cover image “inset” hover (block editor): add class `toby-wf-card-cover-pad-hover` on the Cover.
 * Same distance from bottom and left via clip-path inset (no scale — keeps editor typography intact).
 */
.toby-wireframe-home .toby-wf-card-cover-pad-hover {
	overflow: hidden;
}

.toby-wireframe-home .toby-wf-card-cover-pad-hover .wp-block-cover__image-background {
	transition: clip-path 0.55s cubic-bezier(0.4, 0, 0.2, 1);
	clip-path: inset(0 0 var(--toby-card-cover-hover-inset, 1.5rem) var(--toby-card-cover-hover-inset, 1.5rem));
}

.toby-wireframe-home .toby-wf-card-cover-pad-hover:hover .wp-block-cover__image-background {
	clip-path: inset(0 0 0 0);
}

/*
 * media-entry-reveal (~L795): `main… .toby-wireframe-home img` wins specificity over the rules above
 * and sets `transition` to filter/opacity only — clip-path no longer animates. Those imgs also get
 * blur until `.toby-media-reveal--visible`. Substack ideal grid covers are small cards: skip blur and
 * restore clip-path transition (same timing as the base card-hover block).
 */
main.toby-media-reveal--active .toby-wireframe-home .toby-wf-ideal-feed-grid .toby-wf-card-cover-pad-hover .wp-block-cover__image-background {
	filter: none !important;
	opacity: 1 !important;
	transition: clip-path 0.55s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

@media (prefers-reduced-motion: reduce) {
	.toby-wireframe-home .toby-wf-card-cover-pad-hover .wp-block-cover__image-background {
		transition: none !important;
		clip-path: inset(0 0 0 0) !important;
	}

	main.toby-media-reveal--active .toby-wireframe-home .toby-wf-ideal-feed-grid .toby-wf-card-cover-pad-hover .wp-block-cover__image-background {
		transition: none !important;
	}
}

@media (max-width: 1024px) {
	.toby-wireframe-home .toby-wf-seattle-cards-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* Substack ideal cards: tighten hover gutter + meta so squares stay uniform in 2-col tablet. */
	.toby-wireframe-home .toby-wf-ideal-feed-grid .toby-wf-ideal-square-cover {
		padding-right: var(--wp--preset--spacing--40, 30px) !important;
		--toby-card-cover-hover-inset: 0.75rem;
	}

	.toby-wireframe-home .toby-wf-ideal-feed-grid .toby-wf-ideal-feed-inner.toby-wf-meta-block {
		padding: var(--wp--preset--spacing--30, 20px) !important;
	}

	.toby-wireframe-home .toby-wf-ideal-feed-grid .toby-wf-ideal-feed-inner .wp-block-heading {
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
		font-size: clamp(1rem, 3.2vw, 1.35rem) !important;
	}

	.toby-wireframe-home .toby-wf-ideal-feed-grid .toby-wf-ideal-feed-inner .has-lead-font-size {
		display: -webkit-box;
		-webkit-line-clamp: 3;
		-webkit-box-orient: vertical;
		overflow: hidden;
		font-size: clamp(0.85rem, 2.4vw, 1rem) !important;
	}

	.toby-wireframe-home .toby-wf-ideal-feed-grid .toby-wf-ideal-square-cover .toby-wf-cta-row .wp-block-button__link {
		padding: 0.45rem 0.7rem !important;
		font-size: 0.62rem !important;
		letter-spacing: 0.08em !important;
		line-height: 1.25 !important;
	}

	.toby-wireframe-home .toby-wf-ideal-feed-grid .toby-wf-ideal-feed-inner .toby-wf-label {
		font-size: 0.58rem !important;
		letter-spacing: 0.18em !important;
	}
}

@media (max-width: 781px) {
	.toby-wf-pillar-row .toby-wf-pillar-columns {
		flex-direction: column !important;
	}

	.toby-wf-pillar-row--image-right .toby-wf-pillar-columns {
		flex-direction: column-reverse !important;
	}

	.toby-wf-pillar-row .toby-wf-pillar-media-col,
	.toby-wf-pillar-row .toby-wf-pillar-copy-col {
		flex-basis: 100% !important;
		max-width: 100% !important;
	}

	.toby-wf-pillar-row .toby-wf-pillar-media-col .toby-wf-pillar-cover,
	.toby-wf-pillar-row .toby-wf-pillar-media-col .gslider-image-slider-wrapper {
		position: relative;
		top: auto;
	}

	.toby-wf-pillar-row--image-left .toby-wf-pillar-copy-col,
	.toby-wf-pillar-row--image-right .toby-wf-pillar-copy-col {
		padding-left: var(--wp--preset--spacing--50);
		padding-right: var(--wp--preset--spacing--50);
	}

	.toby-wf-pillar-row--books .toby-wf-pillar-copy-scroll {
		max-height: none;
		min-height: 0;
		overflow: visible;
	}

	.toby-wireframe-home .toby-wf-seattle-cards-grid,
	.toby-wireframe-home .toby-wf-ideal-feed-grid {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------------------
 * Footer — tagline, socials, credits (parts/footer.html)
 * -------------------------------------------------------------------------- */
#footbox .toby-footer-tagline,
#footbox .wp-block-site-tagline.toby-footer-tagline {
	font-size: clamp(2rem, 4.5vw, 3.25rem) !important;
	line-height: 1.15;
	font-weight: 600;
	margin-top: 0;
	margin-bottom: var(--wp--preset--spacing--50);
	font-family: 'Libre Baskerville', Georgia, serif !important;
}

.toby-footer-socials.wp-block-social-links {
	margin-bottom: var(--wp--preset--spacing--60);
	gap: 0.75rem 1.25rem;
}

.toby-footer-socials.wp-block-social-links .wp-social-link {
	transform: scale(1.08);
}

.toby-footer-motion-secondary {
	align-items: center;
	gap: 1rem 1.5rem;
}

.toby-footer-motion-secondary .toby-footer-site-title,
.toby-footer-motion-secondary .wp-block-site-title {
	margin: 0;
}

.toby-footer-motion-secondary .wp-block-site-title a {
	font-size: 0.925rem !important;
	font-weight: 500;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-family: 'DM Sans', system-ui, sans-serif !important;
}

.toby-footer-credits {
	margin: 0;
	text-align: right;
}

.toby-footer-credits a {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.toby-footer-credits a:hover {
	color: var(--wp--preset--color--terracotta, #d08c60);
}

@media (max-width: 600px) {
	.toby-footer-motion-secondary {
		flex-direction: column;
		align-items: flex-start !important;
	}

	.toby-footer-credits {
		text-align: left;
	}
}

/* Footer — Seattle dark (Option B, parts/footer.html) */
#footbox.toby-footer-seattle-dark .toby-footer-tagline,
#footbox.toby-footer-seattle-dark .wp-block-site-tagline {
	color: #f8f9fa !important;
	font-size: clamp(2rem, 4.5vw, 3.25rem) !important;
	line-height: 1.1;
	font-weight: 600;
	letter-spacing: -0.02em;
	margin-bottom: var(--wp--preset--spacing--50);
}

/* Global Link typography underlines plain <a>; FSE paragraph textDecoration does not reach the anchor. */
#footbox.toby-footer-seattle-dark a[href^="mailto:"] {
	text-decoration: none;
}

#footbox.toby-footer-seattle-dark .toby-footer-nav a,
#footbox.toby-footer-seattle-dark .toby-footer-nav-wrap .wp-block-navigation a {
	color: color-mix(in srgb, #fff 75%, transparent);
}

#footbox.toby-footer-seattle-dark .toby-footer-nav a:hover,
#footbox.toby-footer-seattle-dark .toby-footer-nav-wrap .wp-block-navigation a:hover {
	color: #fff;
}

#footbox.toby-footer-seattle-dark .toby-footer-credits-bar,
#footbox.toby-footer-seattle-dark .toby-footer-credits-bar .toby-footer-credits {
	color: color-mix(in srgb, #fff 65%, transparent);
}

#footbox.toby-footer-seattle-dark .toby-footer-site-title a,
#footbox.toby-footer-seattle-dark .toby-footer-credits-bar .wp-block-site-title a {
	color: #fff !important;
}

/* Favicon contact sheet (content/test-pages/favicon-contact-sheet-page.html) */
.toby-favicon-contact-sheet__table {
	width: 100%;
	border-collapse: collapse;
	margin: 1rem 0 2rem;
	font-size: 0.95rem;
}

.toby-favicon-contact-sheet__table th,
.toby-favicon-contact-sheet__table td {
	border: 1px solid #dadce0;
	padding: 0.75rem 1rem;
	vertical-align: middle;
}

.toby-favicon-contact-sheet__table th {
	text-align: left;
	background: var(--wp--preset--color--cream, #f6f3ec);
}

.toby-favicon-contact-sheet__table td:first-child {
	white-space: nowrap;
	font-family: ui-monospace, monospace;
}

.toby-favicon-true-32,
.toby-favicon-true-48 {
	display: block;
	image-rendering: auto;
	border: 1px solid #dadce0;
	background: #fff;
}

/* Favicon tab-size preview (content/test-pages/favicon-tab-size-preview-page.html) */
.toby-favicon-tab-preview-page .toby-favicon-master img {
	max-width: 200px;
	height: auto;
}

.toby-favicon-tab-mock__chrome {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	max-width: 220px;
	padding: 0.35rem 0.6rem 0.35rem 0.45rem;
	border-radius: 8px 8px 0 0;
	background: #e8eaed;
	border: 1px solid #c4c7c5;
	border-bottom: none;
	font-family: system-ui, sans-serif;
	font-size: 12px;
	color: #202124;
}

.toby-favicon-tab-mock__favicon-wrap {
	display: inline-flex;
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
}

.toby-favicon-tab-mock__favicon {
	display: block;
	width: 16px;
	height: 16px;
	image-rendering: auto;
}

.toby-favicon-tab-mock__title {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.toby-favicon-tab-mock__close {
	margin-left: auto;
	opacity: 0.55;
	font-size: 14px;
	line-height: 1;
}

.toby-favicon-tab-mock__note {
	margin-top: 0.5rem;
	font-size: 0.875rem;
	color: #5f6368;
}

.toby-favicon-true-16 {
	display: block;
	width: 16px;
	height: 16px;
	image-rendering: auto;
	border: 1px solid #dadce0;
	background: #fff;
}

.toby-favicon-magnify-4x {
	display: block;
	width: 64px;
	height: 64px;
	image-rendering: pixelated;
	border: 1px solid #dadce0;
	background: #fff;
}

/* Footer design lab (test page — content/test-pages/footer-design-lab-page.html) */
.toby-footer-lab-page .toby-footer-lab-label {
	margin-top: var(--wp--preset--spacing--70);
	margin-bottom: var(--wp--preset--spacing--40);
	font-size: 1.125rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wp--preset--color--sage, #797d62);
}

.toby-footer-lab-page .toby-footer-lab-variant {
	border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
}

.toby-footer-lab--seattle-dark .toby-footer-lab-seattle-tagline,
.toby-footer-lab--seattle-dark .wp-block-site-tagline {
	color: #f8f9fa !important;
	font-size: clamp(2rem, 4.5vw, 3.25rem) !important;
	line-height: 1.1;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.toby-footer-lab--seattle-cream .toby-footer-lab-seattle-tagline,
.toby-footer-lab--seattle-cream .wp-block-site-tagline {
	font-size: clamp(2rem, 4.5vw, 3.25rem) !important;
	line-height: 1.1;
	font-weight: 600;
	letter-spacing: -0.02em;
}

.toby-footer-lab-email {
	margin: 0;
}

.toby-footer-lab-email-arrow {
	margin: 0 !important;
	font-size: 1.5rem;
	line-height: 1;
}

.toby-footer-lab--seattle-dark .toby-footer-lab-email-text,
.toby-footer-lab--seattle-dark .toby-footer-lab-email-text a {
	color: #fff !important;
	font-size: 1.35rem;
	font-weight: 400;
	text-decoration: none;
}

.toby-footer-lab--seattle-dark .toby-footer-lab-email-text a:hover {
	color: var(--wp--preset--color--gold, #ffcb69) !important;
}

.toby-footer-lab--seattle-cream .toby-footer-lab-email-text a {
	font-size: 1.35rem;
	font-weight: 500;
	text-decoration: none;
}

.toby-footer-lab--seattle-cream .toby-footer-lab-email-text a:hover {
	color: var(--wp--preset--color--terracotta, #d08c60);
}

.toby-footer-lab--seattle-dark .toby-footer-lab-nav a,
.toby-footer-lab--seattle-dark .toby-footer-lab-nav-wrap .wp-block-navigation a {
	color: color-mix(in srgb, #fff 75%, transparent);
}

.toby-footer-lab--seattle-dark .toby-footer-lab-nav a:hover,
.toby-footer-lab--seattle-dark .toby-footer-lab-nav-wrap .wp-block-navigation a:hover {
	color: #fff;
}

.toby-footer-lab--seattle-dark .toby-footer-lab-credits-bar,
.toby-footer-lab--seattle-dark .toby-footer-lab-credits-bar .toby-footer-credits {
	color: color-mix(in srgb, #fff 65%, transparent);
}

.toby-footer-lab--seattle-dark .toby-footer-lab-logo-text a {
	color: #fff !important;
}

.toby-footer-lab--minimal .wp-block-navigation {
	gap: 0.5rem 1.25rem;
}

.toby-footer-lab--sage-bar-dark .toby-footer-tagline,
.toby-footer-lab--sage-bar-dark .toby-footer-lab-seattle-tagline,
.toby-footer-lab--sage-bar-dark .wp-block-site-tagline {
	color: #f8f9fa !important;
}

.toby-footer-lab--sage-bar-dark .has-gold-color a {
	color: var(--wp--preset--color--gold, #ffcb69) !important;
	text-decoration: none;
}

.toby-footer-lab--sage-bar-dark .has-gold-color a:hover {
	color: var(--wp--preset--color--terracotta, #d08c60) !important;
}

.toby-footer-lab--sage-bar-dark .toby-footer-lab-nav a,
.toby-footer-lab--sage-bar-dark .toby-footer-lab-nav-wrap .wp-block-navigation a {
	color: color-mix(in srgb, #fff 75%, transparent);
}

.toby-footer-lab--sage-bar-dark .toby-footer-lab-nav a:hover,
.toby-footer-lab--sage-bar-dark .toby-footer-lab-nav-wrap .wp-block-navigation a:hover {
	color: #fff;
}

.toby-footer-lab--sage-bar-dark .toby-footer-lab-credits-bar,
.toby-footer-lab--sage-bar-dark .toby-footer-lab-credits-bar .toby-footer-credits {
	color: color-mix(in srgb, #fff 65%, transparent);
}

.toby-footer-lab--sage-bar-dark .toby-footer-lab-logo-text a {
	color: #fff !important;
}

.toby-footer-lab--seattle-dark-sage .toby-footer-lab-email-arrow.has-gold-color {
	color: var(--wp--preset--color--gold, #ffcb69) !important;
}

.toby-footer-lab--seattle-dark-sage .toby-footer-lab-credits-bar,
.toby-footer-lab--seattle-dark-sage .toby-footer-lab-credits-bar .toby-footer-credits {
	color: color-mix(in srgb, #fff 65%, transparent);
}

/*
 * Transparent-header template (`page-no-title-transparent-header`) + front page:
 * fixed header bar, scroll → shorter bar + cream glass (matches homepage behavior).
 */
body.toby-has-transparent-header header.wp-block-template-part.toby-header-float {
	position: fixed;
	top: var(--wp-admin--admin-bar--height, 0px);
	left: 0;
	right: 0;
	width: 100%;
	z-index: 200;
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border-bottom: 1px solid transparent;
	/* Vertical only (scroll shrink). Horizontal = root padding via constrained layout. */
	padding-block: calc(var(--wp--preset--spacing--50) * 0.5);
	transition:
		background-color 0.35s ease,
		border-color 0.35s ease,
		backdrop-filter 0.35s ease,
		padding-block 0.35s ease,
		box-shadow 0.35s ease;
	box-sizing: border-box;
	overflow-x: clip;
}

body.toby-has-transparent-header header.wp-block-template-part.toby-header-float.is-scrolled {
	background: rgba(249, 245, 233, 0.95);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom-color: rgba(37, 37, 37, 0.06);
	padding-block: calc(var(--wp--preset--spacing--50) * 0.325);
	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

body.toby-has-transparent-header header.toby-header-float .wp-block-group.alignfull {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

body.toby-has-transparent-header header.toby-header-float .wp-block-group.alignwide {
	max-width: var(--wp--style--global-wide-size, 1400px);
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
	padding-top: calc(var(--wp--preset--spacing--30) * 0.5) !important;
	padding-bottom: calc(var(--wp--preset--spacing--30) * 0.5) !important;
}

/* Inner pages with transparent header: charcoal nav on the light page head (not cream-on-cream). */
body.toby-has-transparent-header:not(.toby-is-front-page) header.toby-header-float:not(.is-scrolled) .wp-block-site-title a,
body.toby-has-transparent-header:not(.toby-is-front-page) header.toby-header-float:not(.is-scrolled) .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content {
	color: var(--wp--preset--color--charcoal) !important;
	text-shadow: none;
	transition: color 0.35s ease !important;
}

body.toby-has-transparent-header:not(.toby-is-front-page) header.toby-header-float:not(.is-scrolled) .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--terracotta) !important;
}

body.toby-has-transparent-header header.toby-header-float.is-scrolled .wp-block-site-title a,
body.toby-has-transparent-header header.toby-header-float.is-scrolled .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content {
	color: var(--wp--preset--color--charcoal) !important;
	text-shadow: none;
}

body.toby-has-transparent-header header.toby-header-float.is-scrolled .wp-block-navigation__responsive-container:not(.is-menu-open) .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--terracotta) !important;
}

body.toby-has-transparent-header:not(.toby-is-front-page) header.toby-header-float:not(.is-scrolled) .wp-block-navigation__responsive-container-open {
	color: var(--wp--preset--color--charcoal);
}

body.toby-has-transparent-header:not(.toby-is-front-page) main.wp-block-group.alignfull {
	padding-top: clamp(3.25rem, 9vw, 5rem);
}

@media (prefers-reduced-motion: reduce) {
	body.toby-has-transparent-header header.wp-block-template-part.toby-header-float {
		transition: none;
	}
}

/* Reusable display-scale page heading class (apply in block sidebar). */
.wp-site-blocks .wp-block-heading.toby-page-h1-display,
.editor-styles-wrapper .wp-block-heading.toby-page-h1-display {
	font-size: clamp(2rem, 5vw, 3.25rem) !important;
	font-weight: 700;
	line-height: 1.1;
}

/* Facilitation page styles merged here to avoid extra stylesheet request. */
.toby-wf-facilitation-page {
	max-width: none;
}

/*
 * Facilitation hero gSlider: fill track width on every slide.
 * gSlider defaults to intrinsic img sizing (height:auto; margin:0 auto), so
 * assets narrower than the wide column (e.g. toby-fac-hero-25-1 @ 1200px)
 * leave side gutters. Same fill approach as pillar media gSliders — width
 * stretch only; keep height:auto so landscape slides keep their AR.
 */
.toby-wf-facilitation-page .toby-fac-sec1-hero .gslider-image-slider-wrapper {
	width: 100%;
	max-width: none !important;
}

.toby-wf-facilitation-page .toby-fac-sec1-hero .gslider-image-slider-wrapper .gslider-image-slider-content-wrapper,
.toby-wf-facilitation-page .toby-fac-sec1-hero .gslider-image-slider-wrapper .gslider-image-item {
	width: 100% !important;
}

.toby-wf-facilitation-page .toby-fac-sec1-hero .gslider-image-slider-wrapper .gslider-image-item img {
	width: 100% !important;
	max-width: none !important;
	height: auto !important;
	display: block;
	margin: 0 !important;
}

.toby-wf-facilitation-page .toby-wf-fac-page-header {
	border-bottom: 1px solid rgba(37, 37, 37, 0.12);
}

/*
 * Intro-above variant: title/lead sit above the media band.
 * Drop the header hairline (no longer separating intro from story),
 * and use light pagination dots on the solid charcoal slider band.
 */
.toby-wf-facilitation-page--intro-above .toby-wf-fac-page-header {
	border-bottom: none;
}

.toby-wf-facilitation-page--intro-above .toby-fac-sec1-hero .swiper-pagination-bullet {
	background-color: rgba(250, 250, 250, 0.55) !important;
}

.toby-wf-facilitation-page--intro-above .toby-fac-sec1-hero .swiper-pagination-bullet-active {
	background-color: #fafafa !important;
}

/* Intro-in-cover: cream type in dark cover; keep default charcoal header (no home-style white/shadow). */
.toby-wf-facilitation-page--intro-in-cover .toby-wf-fac-cover-intro .toby-wf-section-label {
	color: var(--wp--preset--color--cream, #f9f5e9);
	opacity: 0.75;
}

.toby-wf-facilitation-page .toby-wf-fac-story .wp-block-heading + .wp-block-paragraph {
	margin-top: 0;
}

.toby-wf-facilitation-page .toby-wf-fac-credentials-intro {
	text-align: left;
}

.toby-wf-facilitation-page .toby-wf-fac-credentials-intro .toby-wf-section-label,
.toby-wf-facilitation-page .toby-wf-fac-credentials-intro .toby-wf-fac-credentials-title,
.toby-wf-facilitation-page .toby-wf-fac-credentials-intro > .wp-block-paragraph {
	text-align: left !important;
	margin-inline: 0 !important;
}

.toby-wf-facilitation-page .toby-wf-fac-credentials .toby-wf-fac-credentials-title {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.toby-wf-facilitation-page .toby-wf-fac-value-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--50);
	align-items: start;
}

.toby-wf-facilitation-page .toby-wf-fac-value-grid > .wp-block-columns {
	display: contents;
}

.toby-wf-facilitation-page .toby-wf-fac-value-grid .wp-block-column {
	min-width: 0;
}

.toby-wf-facilitation-page .toby-wf-fac-value-item .wp-block-list {
	margin: 0;
	padding-left: 1.2rem;
}

/* Credential card border / padding / H3 size: block attrs + is-style-toby-fac-cred-card (reference: ESD & Teaching). */

.toby-wf-fac-credentials .is-style-toby-fac-cred-card {
	position: relative;
	isolation: isolate;
	background: linear-gradient(
		118deg,
		rgba(255, 203, 105, 0.14) 0%,
		rgba(255, 203, 105, 0.04) 42%,
		transparent 72%
	);
	border-radius: 2px;
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.toby-wf-fac-credentials .is-style-toby-fac-cred-card::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.35rem;
	bottom: 0.35rem;
	width: 4px;
	border-radius: 2px;
	background: linear-gradient(
		180deg,
		var(--wp--preset--color--gold, #ffcb69) 0%,
		var(--wp--preset--color--terracotta, #d4764a) 100%
	);
	box-shadow: 0 0 12px rgba(255, 203, 105, 0.35);
}

.toby-wf-fac-credentials .is-style-toby-fac-cred-card::after {
	content: "";
	position: absolute;
	right: 0.75rem;
	top: 0.65rem;
	width: 1.35rem;
	height: 1.35rem;
	border-top: 2px solid rgba(255, 203, 105, 0.55);
	border-right: 2px solid rgba(255, 203, 105, 0.55);
	opacity: 0.85;
	pointer-events: none;
}

.toby-wf-fac-credentials .is-style-toby-fac-cred-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 28px rgba(37, 37, 37, 0.08);
}

.toby-wf-fac-credentials .is-style-toby-fac-cred-card .wp-block-heading {
	position: relative;
	z-index: 1;
}

@media (prefers-reduced-motion: no-preference) {
	.toby-wf-facilitation-page .toby-wf-fac-value-grid.toby-hero-stagger-container > .wp-block-columns > .wp-block-column > .toby-wf-fac-value-item--bordered.toby-hero-stagger-item,
	.toby-wf-facilitation-page .toby-wf-fac-value-grid.toby-hero-stagger-container > .toby-wf-fac-value-item--bordered.toby-hero-stagger-item,
	.toby-wf-fac-credentials .toby-wf-fac-value-grid.toby-hero-stagger-container > .wp-block-columns > .wp-block-column > .is-style-toby-fac-cred-card.toby-hero-stagger-item,
	.toby-wf-fac-credentials .toby-wf-fac-value-grid.toby-hero-stagger-container > .wp-block-columns > .wp-block-column > .toby-wf-fac-value-item--bordered.toby-hero-stagger-item,
	.toby-wf-fac-credentials .toby-wf-fac-value-grid.toby-hero-stagger-container > .is-style-toby-fac-cred-card.toby-hero-stagger-item,
	.toby-wf-fac-credentials .toby-wf-fac-value-grid.toby-hero-stagger-container > .toby-wf-fac-value-item--bordered.toby-hero-stagger-item {
		opacity: 0;
		transform: translateX(-36px);
		animation: toby-fac-cred-slide-in 0.78s cubic-bezier(0.16, 1, 0.3, 1) forwards;
	}

	.toby-wf-facilitation-page .toby-wf-fac-value-grid.toby-hero-stagger-container > .wp-block-columns:nth-child(1) > .wp-block-column:nth-child(1) .toby-wf-fac-value-item--bordered.toby-hero-stagger-item,
	.toby-wf-fac-credentials .toby-wf-fac-value-grid.toby-hero-stagger-container > .wp-block-columns:nth-child(1) > .wp-block-column:nth-child(1) .is-style-toby-fac-cred-card.toby-hero-stagger-item,
	.toby-wf-fac-credentials .toby-wf-fac-value-grid.toby-hero-stagger-container > .wp-block-columns:nth-child(1) > .wp-block-column:nth-child(1) .toby-wf-fac-value-item--bordered.toby-hero-stagger-item {
		animation-delay: 0.08s;
	}

	.toby-wf-facilitation-page .toby-wf-fac-value-grid.toby-hero-stagger-container > .wp-block-columns:nth-child(1) > .wp-block-column:nth-child(2) .toby-wf-fac-value-item--bordered.toby-hero-stagger-item,
	.toby-wf-fac-credentials .toby-wf-fac-value-grid.toby-hero-stagger-container > .wp-block-columns:nth-child(1) > .wp-block-column:nth-child(2) .is-style-toby-fac-cred-card.toby-hero-stagger-item,
	.toby-wf-fac-credentials .toby-wf-fac-value-grid.toby-hero-stagger-container > .wp-block-columns:nth-child(1) > .wp-block-column:nth-child(2) .toby-wf-fac-value-item--bordered.toby-hero-stagger-item {
		animation-delay: 0.22s;
	}

	.toby-wf-facilitation-page .toby-wf-fac-value-grid.toby-hero-stagger-container > .wp-block-columns:nth-child(2) > .wp-block-column:nth-child(1) .toby-wf-fac-value-item--bordered.toby-hero-stagger-item,
	.toby-wf-fac-credentials .toby-wf-fac-value-grid.toby-hero-stagger-container > .wp-block-columns:nth-child(2) > .wp-block-column:nth-child(1) .is-style-toby-fac-cred-card.toby-hero-stagger-item,
	.toby-wf-fac-credentials .toby-wf-fac-value-grid.toby-hero-stagger-container > .wp-block-columns:nth-child(2) > .wp-block-column:nth-child(1) .toby-wf-fac-value-item--bordered.toby-hero-stagger-item {
		animation-delay: 0.36s;
	}

	.toby-wf-facilitation-page .toby-wf-fac-value-grid.toby-hero-stagger-container > .wp-block-columns:nth-child(2) > .wp-block-column:nth-child(2) .toby-wf-fac-value-item--bordered.toby-hero-stagger-item,
	.toby-wf-fac-credentials .toby-wf-fac-value-grid.toby-hero-stagger-container > .wp-block-columns:nth-child(2) > .wp-block-column:nth-child(2) .is-style-toby-fac-cred-card.toby-hero-stagger-item,
	.toby-wf-fac-credentials .toby-wf-fac-value-grid.toby-hero-stagger-container > .wp-block-columns:nth-child(2) > .wp-block-column:nth-child(2) .toby-wf-fac-value-item--bordered.toby-hero-stagger-item {
		animation-delay: 0.5s;
	}
}

@keyframes toby-fac-cred-slide-in {
	from {
		opacity: 0;
		transform: translateX(-36px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* Facilitation services — intro aligns under heading; rows rise as a group */
.toby-wf-facilitation-page .toby-wf-fac-services > .wp-block-heading {
	margin-bottom: 0.35rem;
}

.toby-wf-facilitation-page .toby-wf-fac-services-intro {
	text-align: left;
	margin: 0 0 var(--wp--preset--spacing--50);
}

.toby-wf-facilitation-page .toby-wf-fac-services-intro .wp-block-paragraph {
	text-align: left !important;
	margin-inline: 0 !important;
}

@media (prefers-reduced-motion: no-preference) {
	.toby-wf-facilitation-page .toby-wf-fac-service-list--rise {
		opacity: 0;
		transform: translateY(28px);
		animation: toby-fac-services-rise 0.85s cubic-bezier(0.16, 1, 0.3, 1) 0.12s forwards;
	}
}

@keyframes toby-fac-services-rise {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Decorative line-grow (Layer 3 — task #24). */
.toby-line-grow {
	position: relative;
	display: inline-block;
	padding-bottom: 0.15rem;
}

.toby-line-grow::after {
	content: "";
	display: block;
	height: 2px;
	width: 3.25rem;
	margin-top: 0.5rem;
	background: linear-gradient(
		90deg,
		var(--wp--preset--color--gold, #ffcb69) 0%,
		var(--wp--preset--color--terracotta, #d4764a) 100%
	);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.88s cubic-bezier(0.22, 1, 0.36, 1);
}

.toby-line-grow.is-line-visible::after {
	transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
	.toby-line-grow::after {
		transform: scaleX(1);
		transition: none;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.toby-wf-facilitation-page .toby-wf-consult-ideal-grid {
		opacity: 0;
		transform: translateY(24px);
		animation: toby-fac-services-rise 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.08s forwards;
	}

	.toby-wf-facilitation-page .toby-wf-consult-ideal-grid > .toby-wf-consult-service-card:nth-child(1) {
		animation: toby-fac-service-card-rise 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.18s forwards;
		opacity: 0;
		transform: translateY(20px);
	}

	.toby-wf-facilitation-page .toby-wf-consult-ideal-grid > .toby-wf-consult-service-card:nth-child(2) {
		animation: toby-fac-service-card-rise 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.28s forwards;
		opacity: 0;
		transform: translateY(20px);
	}

	.toby-wf-facilitation-page .toby-wf-consult-ideal-grid > .toby-wf-consult-service-card:nth-child(3) {
		animation: toby-fac-service-card-rise 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.38s forwards;
		opacity: 0;
		transform: translateY(20px);
	}

	.toby-wf-facilitation-page .toby-wf-consult-ideal-grid > .toby-wf-consult-service-card:nth-child(4) {
		animation: toby-fac-service-card-rise 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.48s forwards;
		opacity: 0;
		transform: translateY(20px);
	}
}

@keyframes toby-fac-service-card-rise {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.toby-wf-facilitation-page .toby-wf-fac-service-list {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--60);
}

/* Service text card — cream box; editor also uses is-style-toby-fac-offset-meta */
.toby-wf-facilitation-page .toby-wf-fac-offset-meta,
.toby-wf-facilitation-page .is-style-toby-fac-offset-meta {
	background: var(--wp--preset--color--cream, #f6f3ec);
	padding: 1.75rem 1.5rem;
	z-index: 2;
	margin-right: calc(-1 * 1.25rem);
	align-self: center;
	box-shadow: 0 12px 40px rgba(37, 37, 37, 0.12);
	border-radius: 4px;
}

.toby-wf-facilitation-page .toby-wf-fac-offset-cat,
.toby-wf-facilitation-page .is-style-toby-fac-offset-cat {
	font-size: 0.7rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-4, #686868);
	margin: 0.75rem 0 0;
}

.toby-wf-facilitation-page .toby-wf-fac-offset-cover {
	overflow: hidden;
	border-radius: 4px;
	min-height: 260px;
}

.toby-wf-facilitation-page .toby-wf-fac-offset-cover .wp-block-cover__image-background {
	transform: translateX(1.25rem);
}

@media (max-width: 700px) {
	.toby-wf-facilitation-page .toby-wf-fac-offset-columns {
		flex-direction: column-reverse !important;
	}

	.toby-wf-facilitation-page .toby-wf-fac-offset-meta {
		margin-right: 0;
		margin-top: -2rem;
	}

	.toby-wf-facilitation-page .toby-wf-fac-offset-cover {
		min-height: 220px;
	}
}

.toby-wf-facilitation-page .toby-wf-visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* --------------------------------------------------------------------------
 * Consulting page — 50/50 story + gSlider hero, scroll hint, hero-stagger
 * -------------------------------------------------------------------------- */

.toby-wf-consulting-hero {
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--charcoal) 8%, transparent);
}

.toby-wf-consulting-hero-columns {
	gap: var(--wp--preset--spacing--50) !important;
}


.toby-scroll-hint-wrap {
	margin-block: var(--wp--preset--spacing--40) 0 !important;
}

.toby-scroll-hint {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 0.35rem;
	text-decoration: none;
	color: var(--wp--preset--color--accent-4);
	font-size: var(--wp--preset--font-size--small);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	transition: color 0.25s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.toby-scroll-hint:hover,
.toby-scroll-hint:focus-visible {
	color: var(--wp--preset--color--terracotta);
}

.toby-scroll-hint__icon {
	display: block;
	font-size: 1.35rem;
	line-height: 1;
	animation: toby-scroll-hint-bob 2.4s ease-in-out infinite;
}

.toby-scroll-hint--icon-only {
	letter-spacing: normal;
	text-transform: none;
	font-size: inherit;
}

.toby-scroll-hint--icon-only .toby-scroll-hint__icon {
	font-size: 1.65rem;
	margin-top: 0.15rem;
}

@keyframes toby-scroll-hint-bob {
	0%,
	100% {
		transform: translateY(0);
		opacity: 0.85;
	}
	50% {
		transform: translateY(6px);
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.toby-scroll-hint__icon {
		animation: none;
	}
}

/* Same stagger motion as home hero, scoped to consulting story column */
@media (prefers-reduced-motion: no-preference) {
	.toby-wf-consulting-page .toby-hero-stagger-container > .toby-hero-stagger-item {
		opacity: 0;
		transform: translateX(-18px);
		animation: toby-hero-stagger-in 0.72s cubic-bezier(0.16, 1, 0.3, 1) forwards;
		animation-delay: var(--toby-stagger-delay, 0ms);
	}
}

@media (prefers-reduced-motion: reduce) {
	.toby-wf-consulting-page .toby-hero-stagger-container > .toby-hero-stagger-item {
		opacity: 1 !important;
		transform: none !important;
		animation: none !important;
	}
}

.toby-wf-consult-service + .toby-wf-consult-service {
	margin-top: var(--wp--preset--spacing--50);
}


/* Consulting refinements (2026-04-24) */
/*
 * Consulting page tokens (Toby Jul 22 WA #72.2): service grid used
 * var(--toby-wf-space-md) but that token only lived on .toby-wireframe-home,
 * so gap computed as invalid → 0 and cards smooshed. Define tokens here.
 */
.toby-wf-consulting-page {
	--toby-wf-space-xs: 1rem;
	--toby-wf-space-sm: 2rem;
	--toby-wf-space-md: 2.5rem;
	--toby-wf-space-lg: 6rem;
	overflow-x: clip;
}

.toby-wf-consulting-page .alignfull {
	margin-top: 0;
	margin-bottom: 0;
}

.toby-wf-consult-services {
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--charcoal) 8%, transparent);
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--charcoal) 8%, transparent);
}

/* Consulting — services: home Substack IDEAL cover cards (3-up grid). */
.toby-wf-consulting-page .toby-wf-consult-services .toby-wf-section-title {
	margin-bottom: var(--wp--preset--spacing--60);
}

.toby-wf-consulting-page .toby-wf-consult-ideal-grid.toby-wf-ideal-feed-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--toby-wf-space-md, 2.5rem);
	align-items: start;
}

.toby-wf-consulting-page .toby-wf-consult-ideal-grid.toby-wf-ideal-feed-grid.is-layout-flow > * {
	margin-block-start: 0 !important;
}

.toby-wf-consulting-page .toby-wf-consult-ideal-grid > .toby-wf-consult-service-card {
	min-width: 0;
}

/* Consulting service cards: image cover + meta stack (no overlay on cover). */
.toby-wf-consulting-page .toby-wf-consult-ideal-grid > .toby-wf-consult-service-card.toby-wf-ideal-feed-card {
	min-width: 0;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.toby-wf-consulting-page .toby-wf-consult-service-card .wp-block-cover.toby-wf-ideal-square-cover {
	flex: 0 0 auto;
}

.toby-wf-consulting-page .toby-wf-consult-service-card .wp-block-cover__background.has-background-gradient {
	display: none !important;
}

.toby-wf-consulting-page .toby-wf-consult-service-card .wp-block-group.toby-wf-meta-block.toby-wf-ideal-feed-inner.is-style-section-5 {
	background-color: var(--wp--preset--color--contrast, #111111) !important;
	color: var(--wp--preset--color--base, #ffffff) !important;
	box-sizing: border-box;
	flex: 1 1 auto;
	width: 100%;
}

.toby-wf-consulting-page .toby-wf-consult-service-card .wp-block-group.toby-wf-meta-block.toby-wf-ideal-feed-inner.is-style-section-5 .wp-block-heading,
.toby-wf-consulting-page .toby-wf-consult-service-card .wp-block-group.toby-wf-meta-block.toby-wf-ideal-feed-inner.is-style-section-5 .has-lead-font-size {
	color: inherit;
}

/* Consulting service cards — discovery CTA row (arrow + link). */
.toby-wf-consulting-page .toby-consult-card-discovery-cta {
	margin: var(--wp--preset--spacing--30) 0 0 0;
}

.toby-wf-consulting-page .toby-consult-card-discovery-cta a {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none !important;
	color: var(--wp--preset--color--gold, #ffcb69) !important;
	font-family: "DM Sans", system-ui, sans-serif !important;
	transition: color 0.2s ease;
}

.toby-wf-consulting-page .toby-consult-card-discovery-cta a:hover {
	color: var(--wp--preset--color--cream, #f5f0e8) !important;
}

.toby-wf-consulting-page .toby-consult-card-discovery-arrow {
	font-size: 1.1rem;
	line-height: 1;
}

/* Fine-pointer desktop: fade + slide in when hovering anywhere on the card. */
@media (hover: hover) and (pointer: fine) and (min-width: 1025px) {
	.toby-wf-consulting-page .toby-wf-consult-service-card .toby-consult-card-discovery-cta {
		opacity: 0;
		transform: translateX(-1rem);
		transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
		pointer-events: none;
	}

	.toby-wf-consulting-page .toby-wf-consult-service-card:hover .toby-consult-card-discovery-cta,
	.toby-wf-consulting-page .toby-wf-consult-service-card:focus-within .toby-consult-card-discovery-cta {
		opacity: 1;
		transform: translateX(0);
		pointer-events: auto;
	}
}


.toby-wf-consulting-page .toby-wf-card-cover-pad-hover {
	overflow: hidden;
}

.toby-wf-consulting-page .toby-wf-card-cover-pad-hover .wp-block-cover__image-background {
	transition: clip-path 0.55s cubic-bezier(0.4, 0, 0.2, 1);
	clip-path: inset(0 0 var(--toby-card-cover-hover-inset, 1.5rem) var(--toby-card-cover-hover-inset, 1.5rem));
}

.toby-wf-consulting-page .toby-wf-card-cover-pad-hover:hover .wp-block-cover__image-background {
	clip-path: inset(0 0 0 0);
}

main.toby-media-reveal--active .toby-wf-consulting-page .toby-wf-ideal-feed-grid .toby-wf-consult-service-card .toby-wf-card-cover-pad-hover .wp-block-cover__image-background,
main.toby-media-reveal--active .toby-wf-consulting-page .toby-wf-ideal-feed-grid .toby-wf-card-cover-pad-hover .wp-block-cover__image-background {
	filter: none !important;
	opacity: 1 !important;
	transition: clip-path 0.55s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Tablet: 2-up so cards do not crush; phone: 1-up */
@media (max-width: 1200px) and (min-width: 782px) {
	.toby-wf-consulting-page .toby-wf-consult-ideal-grid.toby-wf-ideal-feed-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 781px) {
	.toby-wf-consulting-page .toby-wf-consult-ideal-grid.toby-wf-ideal-feed-grid {
		grid-template-columns: 1fr;
	}
}

/* Contact + thank-you — split column + paper form */

.toby-wf-contact-split.wp-block-columns {
	gap: var(--wp--preset--spacing--60) !important;
	align-items: flex-start;
}

.toby-wf-contact-details-card {
	padding: var(--wp--preset--spacing--50);
	border-radius: 4px;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--charcoal) 12%, transparent);
	background: color-mix(in srgb, var(--wp--preset--color--warm-white) 85%, white);
}

.toby-contact-form-shell {
	position: relative;
}

form.toby-contact-paper-form,
div.toby-contact-form-shell.toby-contact-form-shell--fluent {
	position: relative;
	font-family: "DM Sans", system-ui, sans-serif;
	background: linear-gradient(
		185deg,
		color-mix(in srgb, var(--wp--preset--color--cream) 92%, white),
		var(--wp--preset--color--warm-white)
	);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--charcoal) 14%, transparent);
	border-radius: 3px;
	box-shadow:
		0 12px 28px color-mix(in srgb, var(--wp--preset--color--charcoal) 14%, transparent),
		inset 0 1px 0 rgba(255, 255, 255, 0.65);
	padding: 1.75rem 1.75rem 1.5rem;
	transform: rotate(-0.35deg);
}

.toby-contact-paper-form__deckled {
	position: absolute;
	inset: 0;
	pointer-events: none;
	border-radius: 3px;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
	opacity: 0.85;
}

.toby-contact-paper-form__inner {
	position: relative;
}

.toby-contact-paper-form__title {
	font-family: "Libre Baskerville", Georgia, serif;
	font-size: 1.35rem;
	margin: 0 0 0.35rem;
	color: var(--wp--preset--color--charcoal);
}

.toby-contact-paper-form__hint {
	font-size: 0.8rem;
	color: color-mix(in srgb, var(--wp--preset--color--charcoal) 62%, transparent);
	margin: 0 0 1.25rem;
}

.toby-contact-paper-form__field {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin-bottom: 1rem;
	font-size: 0.92rem;
	color: var(--wp--preset--color--charcoal);
}

.toby-contact-paper-form__label {
	font-weight: 600;
	letter-spacing: 0.02em;
	font-size: 0.78rem;
	text-transform: uppercase;
}

.toby-contact-paper-form__field input,
.toby-contact-paper-form__field textarea {
	width: 100%;
	box-sizing: border-box;
	border: none;
	border-bottom: 1px dashed color-mix(in srgb, var(--wp--preset--color--charcoal) 35%, transparent);
	background: transparent;
	padding: 0.45rem 0.15rem;
	font: inherit;
	color: inherit;
	border-radius: 0;
	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.toby-contact-paper-form__field input:focus,
.toby-contact-paper-form__field textarea:focus {
	outline: none;
	border-bottom-style: solid;
	border-bottom-color: var(--wp--preset--color--terracotta);
	box-shadow: 0 2px 0 color-mix(in srgb, var(--wp--preset--color--terracotta) 35%, transparent);
}

.toby-contact-paper-form__field--textarea textarea {
	min-height: 7rem;
	resize: vertical;
	border: 1px dashed color-mix(in srgb, var(--wp--preset--color--charcoal) 28%, transparent);
	padding: 0.55rem 0.65rem;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.35);
}

.toby-contact-paper-form__field--textarea textarea:focus {
	box-shadow: none;
	border-style: solid;
	border-color: var(--wp--preset--color--terracotta);
}

.toby-contact-paper-form__submit-row {
	display: flex;
	justify-content: flex-end;
	margin-top: 0.5rem;
}

.toby-contact-paper-form__submit {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	cursor: pointer;
	border: none;
	border-radius: 999px;
	padding: 0.65rem 1.35rem;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--cream);
	background: linear-gradient(
		135deg,
		var(--wp--preset--color--terracotta),
		color-mix(in srgb, var(--wp--preset--color--plum) 55%, var(--wp--preset--color--terracotta))
	);
	box-shadow: 0 10px 22px color-mix(in srgb, var(--wp--preset--color--terracotta) 38%, transparent);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		opacity 0.2s ease;
}

.toby-contact-paper-form__submit:hover:not(:disabled),
.toby-contact-paper-form__submit:focus-visible:not(:disabled) {
	transform: translateY(-2px);
	box-shadow: 0 14px 26px color-mix(in srgb, var(--wp--preset--color--terracotta) 42%, transparent);
}

.toby-contact-paper-form__submit:disabled {
	cursor: wait;
	opacity: 0.82;
	transform: none;
}

.toby-contact-paper-form__plane {
	display: inline-flex;
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.toby-contact-paper-form__submit:hover:not(:disabled) .toby-contact-paper-form__plane,
.toby-contact-paper-form__submit:focus-visible:not(:disabled) .toby-contact-paper-form__plane {
	transform: translate(4px, -5px) rotate(-10deg);
}

.toby-contact-paper-form__submit:active:not(:disabled) .toby-contact-paper-form__plane {
	animation: toby-plane-launch 0.65s cubic-bezier(0.55, 0, 0.2, 1) forwards;
}

@keyframes toby-plane-launch {
	0% {
		transform: translate(0, 0) rotate(0deg);
		opacity: 1;
	}
	55% {
		transform: translate(14px, -16px) rotate(-28deg) scale(1.08);
		opacity: 1;
	}
	100% {
		transform: translate(42px, -36px) rotate(-42deg) scale(0.72);
		opacity: 0;
	}
}

.toby-contact-paper-form__progress {
	display: block;
	margin-top: 1rem;
	height: 5px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--wp--preset--color--charcoal) 12%, transparent);
	overflow: hidden;
	opacity: 0;
	max-height: 0;
	transition:
		opacity 0.35s ease,
		max-height 0.35s ease,
		margin-top 0.35s ease;
}

.toby-contact-paper-form__progress.is-visible {
	opacity: 1;
	max-height: 12px;
	margin-top: 1rem;
}

.toby-contact-paper-form__progress-bar {
	display: block;
	height: 100%;
	width: 100%;
	transform-origin: left center;
	transform: scaleX(0);
	border-radius: inherit;
	background: linear-gradient(
		90deg,
		var(--wp--preset--color--gold),
		var(--wp--preset--color--terracotta)
	);
	will-change: transform;
}

.toby-contact-paper-form__status {
	min-height: 1.25rem;
	font-size: 0.85rem;
	margin: 0.65rem 0 0;
	color: color-mix(in srgb, var(--wp--preset--color--charcoal) 58%, transparent);
}

/* Fluent Forms — scoped inside contact paper shell (matches mock on /contact/) */
.toby-contact-form-shell--fluent .fluentform_wrapper_3,
.toby-contact-form-shell--fluent .fluentform_wrapper,
.toby-contact-form-shell--fluent .frm-fluent-form {
	margin: 0;
}

.toby-contact-form-shell--fluent .ff-el-group {
	margin-bottom: 1rem;
}

.toby-contact-form-shell--fluent .ff-el-input--label label {
	font-weight: 600;
	letter-spacing: 0.02em;
	font-size: 0.78rem;
	text-transform: uppercase;
	color: var(--wp--preset--color--charcoal);
}

.toby-contact-form-shell--fluent .ff-el-form-control {
	width: 100%;
	box-sizing: border-box;
	border: none;
	border-bottom: 1px dashed color-mix(in srgb, var(--wp--preset--color--charcoal) 35%, transparent);
	background: transparent;
	padding: 0.45rem 0.15rem;
	font: inherit;
	color: var(--wp--preset--color--charcoal);
	border-radius: 0;
	box-shadow: none;
}

.toby-contact-form-shell--fluent textarea.ff-el-form-control {
	min-height: 7rem;
	resize: vertical;
	border: 1px dashed color-mix(in srgb, var(--wp--preset--color--charcoal) 28%, transparent);
	padding: 0.55rem 0.65rem;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.35);
}

.toby-contact-form-shell--fluent .ff-el-form-control:focus {
	outline: none;
	border-bottom-style: solid;
	border-bottom-color: var(--wp--preset--color--terracotta);
	box-shadow: 0 2px 0 color-mix(in srgb, var(--wp--preset--color--terracotta) 35%, transparent);
}

.toby-contact-form-shell--fluent textarea.ff-el-form-control:focus {
	box-shadow: none;
	border-style: solid;
	border-color: var(--wp--preset--color--terracotta);
}

.toby-contact-form-shell--fluent .ff_submit_btn_wrapper {
	display: flex;
	justify-content: flex-end;
	margin-top: 0.5rem;
}

.toby-contact-form-shell--fluent .ff-btn-submit {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	cursor: pointer;
	border: none;
	border-radius: 999px;
	padding: 0.65rem 1.35rem;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--cream) !important;
	background: linear-gradient(
		135deg,
		var(--wp--preset--color--terracotta),
		color-mix(in srgb, var(--wp--preset--color--plum) 55%, var(--wp--preset--color--terracotta))
	) !important;
	box-shadow: 0 10px 22px color-mix(in srgb, var(--wp--preset--color--terracotta) 38%, transparent);
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		opacity 0.2s ease;
}

.toby-contact-form-shell--fluent .ff-btn-submit::after {
	content: "";
	display: inline-block;
	width: 22px;
	height: 22px;
	margin-left: 0.1rem;
	background: currentColor;
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M3 11l18-7-7 18-2-8-9-3z' stroke='black' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E");
	mask-size: contain;
	mask-repeat: no-repeat;
	transform: translate(0, 0);
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.toby-contact-form-shell--fluent .ff-btn-submit:hover:not(:disabled),
.toby-contact-form-shell--fluent .ff-btn-submit:focus-visible:not(:disabled) {
	transform: translateY(-2px);
	box-shadow: 0 14px 26px color-mix(in srgb, var(--wp--preset--color--terracotta) 42%, transparent);
}

.toby-contact-form-shell--fluent .ff-btn-submit:hover:not(:disabled)::after,
.toby-contact-form-shell--fluent .ff-btn-submit:focus-visible:not(:disabled)::after {
	transform: translate(4px, -5px) rotate(-10deg);
}

.toby-contact-form-shell--fluent .ff-btn-submit:disabled {
	cursor: wait;
	opacity: 0.82;
}

.toby-contact-form-shell--fluent .cf-turnstile {
	margin: 0.75rem 0 0.25rem;
}

@media (prefers-reduced-motion: reduce) {
	.toby-contact-paper-form__plane,
	.toby-contact-paper-form__submit,
	.toby-contact-paper-form__progress-bar,
	.toby-contact-form-shell--fluent .ff-btn-submit::after {
		transition: none !important;
		animation: none !important;
	}
}

@media (max-width: 781px) {
	.toby-wf-contact-split.wp-block-columns {
		flex-direction: column !important;
		gap: var(--wp--preset--spacing--50) !important;
	}
}

.toby-wf-contact-cta-cover .wp-block-heading {
	text-wrap: balance;
}

.toby-wf-thankyou-strip p {
	font-size: 1.05rem;
	line-height: 1.65;
}

.toby-wf-consult-testimonials {
	padding-top: calc(var(--wp--preset--spacing--70) + 0.5rem) !important;
}

.toby-wf-consult-testimonials .toby-wf-testimonial,
.toby-wf-consult-testimonials blockquote.toby-wf-testimonial {
	height: auto;
	padding: 0;
	border: none;
	background: transparent;
	box-shadow: none;
}

.toby-wf-testimonial--feature {
	margin-bottom: var(--wp--preset--spacing--50);
}

.toby-wf-testimonial--feature blockquote {
	font-size: clamp(1.2rem, 2.2vw, 1.7rem);
	line-height: 1.45;
}

.toby-wf-testimonial-columns {
	gap: var(--wp--preset--spacing--40) !important;
	margin-top: var(--wp--preset--spacing--40) !important;
}

.toby-wf-consult-testimonials .toby-wf-testimonial-columns {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}

.toby-wf-consult-cta {
	margin-top: var(--wp--preset--spacing--50);
}

.toby-wf-consult-cta-columns {
	gap: 0 !important;
}

.toby-wf-consult-cta-copy {
	padding: var(--wp--preset--spacing--70) var(--wp--preset--spacing--60);
}

/*
 * Spacing before final page CTA (.toby-wf-page-cta-cover).
 * Interim default = 110px (felt better than spacing|70 on facilitation).
 * Put class `toby-wf-pre-cta` on the last content band before the CTA;
 * this rule owns padding-bottom (prefer no block padding so it doesn't fight).
 * Override per page when needed; lock a site-wide default later.
 */
:root {
	--toby-pre-cta-padding-bottom: 110px;
}

.toby-wf-pre-cta {
	padding-bottom: var(--toby-pre-cta-padding-bottom) !important;
}

/*
 * End-of-page CTA covers — 97vh band (block minHeight in HTML is editor fallback).
 * Focal point: set on the cover block in HTML (do not override in CSS).
 * Parallax: default on .toby-wf-page-cta-cover; opt out with .toby-wf-page-cta-cover--no-parallax
 */
:root {
	--toby-page-cta-cover-min-height: 97vh;
}

.toby-wf-page-cta-cover {
	min-height: var(--toby-page-cta-cover-min-height) !important;
	overflow: hidden;
}

.toby-wf-page-cta-cover:not(.toby-wf-page-cta-cover--no-parallax) .wp-block-cover__image-background {
	height: 112%;
	top: -6%;
	will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
	.toby-wf-page-cta-cover:not(.toby-wf-page-cta-cover--no-parallax) .wp-block-cover__image-background {
		height: 100%;
		top: 0;
		transform: none !important;
	}
}

.toby-wf-consult-contact-cta,
.toby-wf-consult-contact-cta .alignfull {
	margin-top: 0;
	margin-bottom: 0;
}

/* Booking CTA cover — charcoal overlay (block dimRatio 60 → has-background-dim-60) */
.toby-wf-fac-booking-cover .wp-block-cover__background.has-background-dim {
	opacity: 0.6;
}

/* Layout preset: narrow column (~640px) — block style on core/group */
.wp-block-group.is-style-toby-layout-narrow.is-layout-constrained {
	max-width: var(--wp--custom--layout--narrow-size, 40rem);
	margin-inline: auto;
	width: 100%;
}

.toby-wf-fac-booking-cover .toby-wf-fac-booking-inner {
	text-align: center;
}

@media (max-width: 781px) {
	.toby-wf-consult-cta-copy {
		padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50);
	}
}



.toby-wf-facilitation-page .alignfull {
	margin-top: 0;
	margin-bottom: 0;
}

.toby-wf-fac-credentials .wp-block-heading.has-text-align-left {
	margin-left: 0;
	margin-right: 0;
}

/* Retreats — facilitation-parity layout polish (content unchanged; presentation only) */
.toby-wf-retreats-page .toby-wf-retreats-hero-img img,
.toby-wf-retreats-page .toby-wf-retreats-hero .toby-wf-pillar-cover {
	border-radius: 6px;
	box-shadow: 0 18px 40px rgba(37, 37, 37, 0.12);
}

.toby-wf-retreats-page .toby-wf-retreats-hero-columns,
.toby-wf-retreats-page .toby-wf-retreats-hero .toby-wf-consulting-hero-columns {
	gap: var(--wp--preset--spacing--60) !important;
}

/* V3 editorial — immersive bands + numbered stack */
.toby-wf-retreats-page--v3-editorial .toby-wf-retreats-journey-band {
	min-height: clamp(320px, 42vw, 480px) !important;
}

.toby-wf-retreats-page--v3-editorial .toby-wf-retreats-journey-band .meta-overlay {
	padding: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50);
}

.toby-wf-retreats-page--v3-editorial .toby-wf-retreats-v3-band-cover {
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: var(--wp--preset--spacing--40);
}

.toby-wf-retreats-page--v3-editorial .toby-wf-retreats-v3-band-cover h3 {
	margin: 0;
	font-family: "Libre Baskerville", Georgia, serif !important;
	font-size: 1.35rem !important;
	font-weight: 400 !important;
}

.toby-wf-retreats-page--v3-editorial .toby-wf-retreats-v3-stack {
	gap: var(--wp--preset--spacing--60) !important;
}

@media (max-width: 781px) {
	.toby-wf-retreats-page--v3-editorial .toby-wf-retreats-v3-stack {
		flex-direction: column;
	}
}

.toby-wf-retreats-page--v2-lab .toby-wf-retreats-interstitial {
	margin-top: var(--wp--preset--spacing--60);
	border-radius: 4px;
	overflow: hidden;
}

.toby-wf-retreats-page .toby-wf-retreats-teaser-cover .wp-block-cover__image-background {
	object-position: 50% 100%;
}

/* Prior work — 2 columns, 2 stacked items each; Also = About directory card */
.toby-wf-retreats-page .toby-wf-retreats-prior-columns {
	gap: var(--wp--preset--spacing--50) !important;
	align-items: flex-start !important;
}

.toby-wf-retreats-page .toby-wf-retreats-prior-columns > .wp-block-column {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--50);
	align-self: flex-start;
}

.toby-wf-retreats-page .toby-wf-retreats-prior-wrap + .toby-wf-retreats-booking-cover,
.toby-wf-retreats-page .toby-wf-retreats-prior-wrap + .wp-block-cover.toby-wf-page-cta-cover {
	margin-block-start: 0 !important;
}

.toby-wf-retreats-page .toby-wf-retreats-teaser-shot img {
	border-radius: 4px;
}

.toby-wf-retreats-page .toby-wf-retreats-prior-photo img {
	width: 100%;
	height: auto;
	border-radius: 4px;
	margin-bottom: var(--wp--preset--spacing--50);
	display: block;
}

.toby-wf-retreats-page .toby-wf-retreats-prior-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--50);
	margin-bottom: var(--wp--preset--spacing--50);
}

@media (max-width: 1024px) {
	.toby-wf-retreats-page .toby-wf-retreats-prior-grid {
		grid-template-columns: 1fr;
	}
}

.toby-wf-retreats-page .toby-wf-retreats-prior .toby-wf-fac-value-item--bordered h3 {
	font-family: "Libre Baskerville", Georgia, serif !important;
	font-size: 1.2rem !important;
	font-weight: 400 !important;
	margin-top: 0;
	line-height: 1.25;
}

.toby-wf-retreats-role-note {
	font-family: "DM Sans", system-ui, sans-serif !important;
	font-weight: 400;
	font-style: italic;
	font-size: 0.92rem;
	color: var(--wp--preset--color--accent-4);
}

.toby-wf-retreats-list {
	margin: 0.75rem 0 0;
	padding-left: 1.15rem;
	font-family: "DM Sans", system-ui, sans-serif !important;
	font-size: 0.95rem;
	line-height: 1.55;
}

.toby-wf-retreats-prior-roles {
	display: grid;
	gap: var(--wp--preset--spacing--40);
	padding-top: var(--wp--preset--spacing--40);
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--charcoal) 10%, transparent);
}

.toby-wf-retreats-page .toby-wf-retreats-about-lede img,
.toby-wf-retreats-page .toby-wf-retreats-about-photo img {
	width: 100%;
	height: auto;
	border-radius: 4px;
	margin: var(--wp--preset--spacing--50) 0;
	display: block;
}

.toby-wf-retreats-about-heading,
.toby-wf-retreats-esd-heading,
.toby-wf-retreats-yogatrail-heading {
	font-family: "Libre Baskerville", Georgia, serif !important;
	margin-top: var(--wp--preset--spacing--50);
	margin-bottom: 0.75rem;
}

.toby-wf-retreats-about p {
	font-size: 1.02rem;
	line-height: 1.65;
	margin-bottom: 1rem;
}

/* Contact — scroll target clearance + book row + slider pagination breathing room */
.toby-in-page-anchor#toby-contact-connect-top {
	scroll-margin-top: clamp(5rem, 12vh, 7rem);
}

.toby-contact-vagabond-row__inner {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
}

.toby-contact-vagabond-row__copy {
	margin: 0;
	font-size: 1rem;
	line-height: 1.55;
}

/*
 * Consulting + contact heroes: pillar CSS puts 1:1 on the wrapper and height:100% on .swiper,
 * which leaves no room for pagination. Square the .swiper only; keep dots inside the wrapper.
 */
.toby-wf-consulting-page .toby-wf-pillar-row .toby-wf-consult-media-col .gslider-image-slider-wrapper.has-pagination,
.toby-wf-contact-page .toby-wf-pillar-row .toby-wf-consult-media-col .gslider-image-slider-wrapper.has-pagination {
	aspect-ratio: auto;
	height: auto;
	display: flex;
	flex-direction: column;
	overflow: visible;
	margin-bottom: 2.75rem;
}

.toby-wf-consulting-page .toby-wf-pillar-row .toby-wf-consult-media-col .gslider-image-slider-wrapper.has-pagination .swiper,
.toby-wf-contact-page .toby-wf-pillar-row .toby-wf-consult-media-col .gslider-image-slider-wrapper.has-pagination .swiper {
	aspect-ratio: 1 / 1;
	width: 100%;
	height: auto !important;
	flex: 0 0 auto;
	overflow: hidden;
	min-height: 0;
}

.toby-wf-consulting-page .toby-wf-pillar-row .toby-wf-consult-media-col .gslider-image-slider-wrapper.has-pagination .swiper-pagination,
.toby-wf-contact-page .toby-wf-pillar-row .toby-wf-consult-media-col .gslider-image-slider-wrapper.has-pagination .swiper-pagination {
	position: relative !important;
	bottom: auto !important;
	margin-top: 0.65rem;
	flex: 0 0 auto;
	z-index: 2;
}

.toby-wf-consulting-page .toby-wf-consult-media-col .swiper-pagination-bullet,
.toby-wf-contact-page .toby-wf-consult-media-col .swiper-pagination-bullet {
	background-color: var(--wp--preset--color--charcoal, #333) !important;
	opacity: 0.35;
}

.toby-wf-consulting-page .toby-wf-consult-media-col .swiper-pagination-bullet-active,
.toby-wf-contact-page .toby-wf-consult-media-col .swiper-pagination-bullet-active {
	opacity: 1;
	background-color: var(--wp--preset--color--terracotta) !important;
}

/* Books page — hero CTAs, wide pull quote, stacked closing */
.toby-wf-books-hero-cta {
	margin-top: var(--wp--preset--spacing--40);
	gap: var(--wp--preset--spacing--30) !important;
}

.toby-wf-books-btn-amazon .wp-block-button__link {
	display: inline-flex !important;
	align-items: center;
	gap: 0.4rem;
	background-color: #ff9900 !important;
	color: #131921 !important;
	border: none !important;
}

.toby-wf-books-btn-amazon .wp-block-button__link:hover {
	background-color: #e88b00 !important;
	color: #131921 !important;
}

.toby-wf-books-waiting-cover {
	margin-left: calc(-1 * var(--wp--preset--spacing--50));
	margin-right: calc(-1 * var(--wp--preset--spacing--50));
	width: calc(100% + 2 * var(--wp--preset--spacing--50));
	max-width: none;
}

.toby-wf-books-waiting-cover .toby-wf-books-waiting-text {
	font-size: inherit;
	line-height: 1.5;
	max-width: 42rem;
	margin-left: auto;
	margin-right: auto;
}

.toby-wf-books-why p {
	font-size: clamp(1.2rem, 2.2vw, 1.7rem);
	line-height: 1.45;
}

.toby-wf-books-cta-stack .wp-block-image img {
	width: 100%;
	height: auto;
	display: block;
}


/* Facilitation — service card grid (page-owned; no .toby-wireframe-home) */
.toby-wf-facilitation-page .toby-wf-consult-ideal-grid.toby-wf-ideal-feed-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--wp--preset--spacing--50);
	align-items: start;
}

.toby-wf-facilitation-page .toby-wf-consult-ideal-grid.toby-wf-ideal-feed-grid.is-layout-flow > * {
	margin-block-start: 0 !important;
}

.toby-wf-facilitation-page .toby-wf-consult-ideal-grid > .toby-wf-consult-service-card.toby-wf-ideal-feed-card {
	height: 100%;
}

.toby-wf-facilitation-page .toby-wf-card-cover-pad-hover {
	overflow: hidden;
}

.toby-wf-facilitation-page .toby-wf-card-cover-pad-hover .wp-block-cover__image-background {
	transition: clip-path 0.55s cubic-bezier(0.4, 0, 0.2, 1);
	clip-path: inset(0 0 var(--toby-card-cover-hover-inset, 1.5rem) var(--toby-card-cover-hover-inset, 1.5rem));
}

.toby-wf-facilitation-page .toby-wf-card-cover-pad-hover:hover .wp-block-cover__image-background {
	clip-path: inset(0 0 0 0);
}

main.toby-media-reveal--active .toby-wf-facilitation-page .toby-wf-ideal-feed-grid .toby-wf-card-cover-pad-hover .wp-block-cover__image-background {
	filter: none !important;
	opacity: 1 !important;
	transition: clip-path 0.55s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

@media (max-width: 782px) {
	.toby-wf-facilitation-page .toby-wf-consult-ideal-grid.toby-wf-ideal-feed-grid {
		grid-template-columns: 1fr;
	}
}

/* --------------------------------------------------------------------------
 * Blog archive (/blog-archive/) — variant B + LTR grid (masonry when supported)
 * Rollback: git revert / restore custom.css + home.html + intro part.
 * Tracks: 1 (<768) · 2 (768–1279) · 3 (≥1280).
 *
 * Layout: CSS Grid (DOM order = LTR rows). True uneven packing uses
 * grid-template-rows: masonry / display: grid-lanes when the engine
 * supports it (Safari 26.4+; Chrome/Firefox still flagged as of mid-2026).
 * Unsupported browsers keep LTR grid with natural heights (no column hack).
 * -------------------------------------------------------------------------- */
.toby-wf-blog-archive {
	--toby-archive-gap: clamp(1.25rem, 2.2vw, 1.85rem);
	--toby-archive-gap-row: clamp(1.5rem, 2.8vw, 2.25rem);
}

.toby-wf-blog-archive-intro {
	margin-bottom: var(--wp--preset--spacing--60);
}

.toby-wf-blog-archive-intro .toby-wf-section-title {
	margin-top: 0;
}

/*
 * LTR chronology: CSS Grid (item 1,2,3 across row 1 — not column-major).
 * Natural image heights; align-items:start avoids stretch-to-row.
 */
.toby-wf-blog-archive-grid,
.toby-wf-blog-archive-query .toby-wf-blog-archive-grid,
ul.toby-wf-blog-archive-grid,
.toby-wf-blog-archive .wp-block-post-template {
	display: grid !important;
	grid-template-columns: 1fr;
	column-gap: var(--toby-archive-gap);
	row-gap: var(--toby-archive-gap-row);
	align-items: start;
	list-style: none;
	padding: 0;
	margin: 0;
}

.toby-wf-blog-archive-grid > li,
.toby-wf-blog-archive-grid > .wp-block-post,
.toby-wf-blog-archive .wp-block-post-template > li,
.toby-wf-blog-archive .wp-block-post-template > .wp-block-post {
	min-width: 0;
	margin: 0 !important;
	width: 100%;
	max-width: 100%;
}

/* Native masonry packing when available (progressive enhancement) */
@supports (grid-template-rows: masonry) {
	.toby-wf-blog-archive-grid,
	.toby-wf-blog-archive-query .toby-wf-blog-archive-grid,
	ul.toby-wf-blog-archive-grid,
	.toby-wf-blog-archive .wp-block-post-template {
		grid-template-rows: masonry;
	}
}

@supports (display: grid-lanes) {
	.toby-wf-blog-archive-grid,
	.toby-wf-blog-archive-query .toby-wf-blog-archive-grid,
	ul.toby-wf-blog-archive-grid,
	.toby-wf-blog-archive .wp-block-post-template {
		display: grid-lanes !important;
	}
}

/* Variant B: image on top, body below (no overlay) */
.toby-wf-archive-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	background: var(--wp--preset--color--base, #fff);
	border-radius: 2px;
	overflow: hidden;
	box-sizing: border-box;
}

.toby-wf-archive-card__media,
.toby-wf-archive-card .wp-block-post-featured-image {
	margin: 0 !important;
	aspect-ratio: auto;
	overflow: hidden;
	line-height: 0;
}

.toby-wf-archive-card .wp-block-post-featured-image a {
	display: block;
}

.toby-wf-archive-card .wp-block-post-featured-image img,
.toby-wf-archive-card__media img {
	width: 100%;
	height: auto;
	max-width: 100%;
	object-fit: cover;
	display: block;
	vertical-align: middle;
}

.toby-wf-archive-card__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
	background: var(--wp--preset--color--base, #fff);
	color: var(--wp--preset--color--contrast, #1a1a1a);
}

/*
 * Meta row: [primary category…] —— [dd Mon yyyy]
 * Category = core/post-terms (filtered to one term in blog-archive.php).
 */
.toby-wf-archive-card__meta-row,
.toby-wf-archive-card .toby-wf-archive-card__meta-row {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 0.45rem !important;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
	margin: 0;
}

/* Post Terms (primary category) participates in the flex meta row */
.toby-wf-archive-card__meta-row > .wp-block-post-terms.toby-wf-archive-card__cat {
	display: block;
	flex: 0 1 auto;
	min-width: 0;
	margin: 0;
	padding: 0;
}

.toby-wf-archive-card__cat,
.toby-wf-archive-card .toby-wf-archive-card__cat,
.toby-wf-archive-card .toby-wf-archive-card__cat a,
.toby-wf-archive-card .toby-wf-archive-card__cat span {
	/* Match home ideal-feed card meta (~0.7rem), not theme small (0.925rem) */
	font-size: 0.7rem !important;
	font-weight: 600;
	letter-spacing: 0.2em;
	line-height: 1.2;
	text-transform: uppercase;
	color: inherit;
	text-decoration: none;
	opacity: 0.85;
}

.toby-wf-archive-card__meta-row > .wp-block-post-terms.toby-wf-archive-card__cat {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.toby-wf-archive-card__rule,
.toby-wf-archive-card .toby-wf-archive-card__rule.wp-block-separator {
	flex: 1 1 auto;
	align-self: center;
	min-width: 1em;
	width: auto !important;
	max-width: none;
	height: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-top: 1px solid currentColor !important;
	opacity: 0.35;
	background: none !important;
}

.toby-wf-archive-card__date,
.toby-wf-archive-card .wp-block-post-date.toby-wf-archive-card__date,
.toby-wf-archive-card .toby-wf-archive-card__date time {
	flex: 0 0 auto;
	margin: 0 !important;
	padding: 0;
	font-size: 0.7rem !important;
	font-weight: 600;
	letter-spacing: 0.2em;
	line-height: 1.2;
	text-transform: uppercase;
	text-align: right;
	white-space: nowrap;
	opacity: 0.7;
}

/*
 * Titles: theme large fluid can dip near/under lead (1.25rem) in narrow cards.
 * Use x-large preset in markup; clamp so card H2 stays clearly above excerpt.
 */
.toby-wf-archive-card__title,
.toby-wf-archive-card .wp-block-post-title.toby-wf-archive-card__title {
	margin-top: 0 !important;
	margin-bottom: var(--wp--preset--spacing--30) !important;
	line-height: 1.25 !important;
	font-size: clamp(1.45rem, 2.4vw, 2rem) !important;
}

.toby-wf-archive-card__title a {
	text-decoration: none;
}

.toby-wf-archive-card__excerpt {
	margin-top: 0 !important;
	margin-bottom: var(--wp--preset--spacing--40) !important;
	line-height: 1.45;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
	overflow: hidden;
}

/*
 * Read more morph: rest = text link + →, pl 0.
 * Card hover / button hover = theme button chrome (global styles / theme.json).
 * Do not invent radius/padding — inherit .wp-element-button, only morph state.
 */
.toby-wf-archive-card a.toby-wf-archive-card__read-more,
.toby-wf-archive-card .toby-wf-archive-card__read-more {
	display: inline-block;
	align-self: flex-start;
	margin-top: var(--wp--preset--spacing--20);
	/* Rest: link-shaped; keep vertical rhythm of theme button padding */
	padding-top: 1rem;
	padding-bottom: 1rem;
	padding-left: 0;
	padding-right: 0;
	border-width: 0;
	border-style: none;
	background: transparent !important;
	color: var(--wp--preset--color--contrast, #111) !important;
	text-decoration: none;
	font-size: var(--wp--preset--font-size--medium);
	line-height: inherit;
	box-shadow: none !important;
	transition:
		background-color 0.35s ease,
		color 0.35s ease,
		padding 0.35s ease;
}

.toby-wf-archive-card a.toby-wf-archive-card__read-more::after {
	content: " →";
}

.toby-wf-archive-card a.toby-wf-archive-card__read-more .screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/* Theme button fill + horizontal padding (1rem / 2.25rem from global styles) */
.toby-wf-archive-card:hover a.toby-wf-archive-card__read-more,
.toby-wf-archive-card:focus-within a.toby-wf-archive-card__read-more {
	padding-left: 2.25rem;
	padding-right: 2.25rem;
	background: var(--wp--preset--color--charcoal) !important;
	color: var(--wp--preset--color--cream) !important;
}

.toby-wf-archive-card a.toby-wf-archive-card__read-more:hover,
.toby-wf-archive-card a.toby-wf-archive-card__read-more:focus-visible {
	background: var(--wp--preset--color--sage) !important;
	color: var(--wp--preset--color--cream) !important;
}

/* 2-up from tablet through iPad Pro landscape / narrow desktop */
@media (min-width: 768px) {
	.toby-wf-blog-archive-grid,
	.toby-wf-blog-archive-query .toby-wf-blog-archive-grid,
	ul.toby-wf-blog-archive-grid,
	.toby-wf-blog-archive .wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* 3-up only on comfortably wide desktops (not 1024) */
@media (min-width: 1280px) {
	.toby-wf-blog-archive-grid,
	.toby-wf-blog-archive-query .toby-wf-blog-archive-grid,
	ul.toby-wf-blog-archive-grid,
	.toby-wf-blog-archive .wp-block-post-template {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.toby-wf-archive-card__excerpt {
		-webkit-line-clamp: 4;
	}
}

.toby-wf-blog-archive .wp-block-query .apedestrian-infinite-scroll,
.toby-wf-blog-archive [id^="apedestrian-infinite-scroll"] {
	margin-top: var(--wp--preset--spacing--50);
	text-align: center;
	clear: both;
}

.toby-wf-blog-archive-preview .toby-wf-blog-archive-grid {
	margin-top: var(--wp--preset--spacing--40);
}
