/**
 * VAfinders theme styles.
 * Custom CSS is limited to things blocks can't express well:
 * the mega-menu, hero polish, cards, CTA bands, and responsive behavior.
 */

/* Self-hosted fonts (woff2, latin) — replaces the render-blocking Google Fonts CDN.
 *
 * Inter and Plus Jakarta Sans are VARIABLE fonts: one file covers every weight, so
 * each is declared once with a weight RANGE. Do not split these back into one
 * @font-face per weight — that is what they were before, and because every "weight"
 * file was a byte-identical copy of the same variable font, a page load downloaded
 * the same two binaries three times each (~151 KB of pure waste, uncompressible
 * since woff2 is already compressed).
 *
 * Caveat is a static single-weight font, hence no range. It stays on `swap` even
 * though it is the largest file (51 KB) and only styles the founder signature plus
 * one pull-quote: `optional` would download it anyway *and* leave first-time
 * visitors with the signature in a fallback face that never swaps in, which loses a
 * brand element for no byte saving. The real win here would be subsetting it. */
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 600 800; font-display: swap; src: url("../fonts/plus-jakarta-sans.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/inter.woff2") format("woff2"); }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/caveat-600.woff2") format("woff2"); }

/* Metric-matched fallbacks — these are what keep Cumulative Layout Shift at ~0.
 *
 * `font-display: swap` means text first paints in a local fallback, then re-renders
 * in the real font. On mobile the hero stacks with the <h1> directly above the photo
 * block (see the display:contents rule around line 940), so if the h1 rewraps when
 * Plus Jakarta Sans arrives, the photo and everything under it jump — that was a
 * measured CLS of 0.344 on production, costing 17 of the 25 CLS points.
 *
 * Each face below re-shapes the local Arial fallback to occupy the same space as the
 * real font, so the swap cannot rewrap anything.
 *
 * `size-adjust` is MEASURED, not derived from the font tables: render the same real
 * strings at the sizes/weights the site actually uses in both the webfont and Arial,
 * and take the mean width ratio. Deriving it from unitsPerEm and a weighted average
 * advance against an assumed Helvetica constant gave 107.29% for Plus Jakarta Sans
 * when the true figure is 100.10% — that 7% error made the hero h1 rewrap *worse*
 * than using plain Arial. Re-measure the same way if a font is ever replaced.
 * ascent/descent are the real hhea values divided by size-adjust; they only affect
 * elements using `line-height: normal`, since an explicit line-height overrides them. */
@font-face { font-family: "Plus Jakarta Sans Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Liberation Sans"); size-adjust: 100.10%; ascent-override: 103.70%; descent-override: 22.18%; line-gap-override: 0%; }
@font-face { font-family: "Inter Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Liberation Sans"); size-adjust: 105.42%; ascent-override: 91.90%; descent-override: 22.88%; line-gap-override: 0%; }
@font-face { font-family: "Caveat Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Liberation Sans"); size-adjust: 72.86%; ascent-override: 131.75%; descent-override: 41.17%; line-gap-override: 0%; }
.vaf-signature { font-weight: 600; }

:root {
	--vaf-shadow-sm: 0 2px 8px rgba(22, 36, 63, 0.06);
	--vaf-shadow-md: 0 14px 40px rgba(22, 36, 63, 0.10);
	--vaf-shadow-lg: 0 24px 60px rgba(22, 36, 63, 0.14);
	--vaf-ring: 0 0 0 1px var(--wp--preset--color--hairline);
}

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

/* Guard against horizontal scroll on mobile (decorative hero pieces use large
   negative offsets). `clip` doesn't create a scroll container, so it can't
   break the sticky header the way `overflow-x: hidden` can. */
html, body { overflow-x: clip; }

/* The root block-gap (:where(.wp-site-blocks) > *) inserts margin-block-start
   between the header, main and footer. Neutralize it so the header and the
   first content section sit flush; each section manages its own padding. */
.wp-site-blocks > * {
	margin-block-start: 0;
	margin-top: 0;
}

/* Subtle dot-grid texture on every cream section, echoing the hero background.
   Layered as a background-image over the cream color, so it sits under content. */
.wp-block-group.has-cream-background-color {
	background-image: radial-gradient( rgba(173, 20, 23, 0.05) 1.5px, transparent 1.6px );
	background-size: 22px 22px;
	background-position: 0 0;
}

/* Same dot-grid texture on cream-gradient sections that aren't the masked hero,
   layered over the gradient so every cream surface reads consistently. */
.wp-block-group.has-hero-cream-gradient-background:not(.vaf-hero-wrap) {
	background-image:
		radial-gradient( rgba(173, 20, 23, 0.05) 1.5px, transparent 1.6px ),
		linear-gradient( 135deg, #FBF6F3 0%, #F8F2EF 55%, #FDEDE4 100% ) !important;
	background-size: 22px 22px, auto !important;
	background-repeat: repeat, no-repeat !important;
	background-position: 0 0, center !important;
}

/* Reusable cream dot-grid for inline cream panels. */
.vaf-cream-tex {
	background-image: radial-gradient( rgba(173, 20, 23, 0.05) 1.5px, transparent 1.6px );
	background-size: 22px 22px;
}

/* ---------------------------------------------------------------------------
   Lucide icons
--------------------------------------------------------------------------- */
.vaf-icon { display: inline-block; vertical-align: middle; flex: 0 0 auto; }
.vaf-ic { display: inline-flex; align-items: center; }
.vaf-ic-badge { color: var(--wp--preset--color--primary); }
.vaf-feature-card.is-highlight .vaf-ic-badge { color: #fff; }
.vaf-mega-col__ic { color: var(--wp--preset--color--primary); }
.vaf-mega-feature__ic { display: inline-flex; color: var(--wp--preset--color--primary); }
.vaf-info-card__title .vaf-ic { color: var(--wp--preset--color--primary); }
.vaf-badge-pill .vaf-icon { margin-right: 0.15rem; }
.vaf-panel--dropdown a .vaf-icon { color: var(--wp--preset--color--primary); }

/* Utility: eyebrow label */
.vaf-eyebrow {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-size: 0.8rem;
	color: var(--wp--preset--color--primary);
}

/* Orange emphasis inside headings */
.vaf-accent { color: var(--wp--preset--color--primary); }
.vaf-signature {
	font-family: var(--wp--preset--font-family--signature);
	font-size: clamp(2rem, 4vw, 2.6rem);
	color: var(--wp--preset--color--ink);
	line-height: 1;
}

/* Small decorative underline used under section titles */
.vaf-rule > .wp-block-heading::after,
.vaf-underline::after {
	content: "";
	display: block;
	width: 64px;
	height: 4px;
	border-radius: 999px;
	background: var(--wp--preset--color--primary);
	margin-top: 0.75rem;
}
.has-text-align-center.vaf-underline::after { margin-inline: auto; }

/* ---------------------------------------------------------------------------
   Header + navigation
--------------------------------------------------------------------------- */
/* Sticky so the header stays visible while scrolling anywhere on the page. */
.wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 100; }

/* Skip-to-content link — visually hidden until keyboard-focused. */
.vaf-skip-link {
	position: absolute; left: 8px; top: -60px; z-index: 1000;
	background: var(--wp--preset--color--primary); color: #fff;
	padding: 0.65rem 1.1rem; border-radius: 0 0 10px 10px;
	font-family: var(--wp--preset--font-family--heading); font-weight: 700;
	font-size: 0.9rem; text-decoration: none; transition: top 0.18s ease;
}
.vaf-skip-link:focus { top: 0; outline: 2px solid #fff; outline-offset: -4px; }
main:focus { outline: none; }

.vaf-header {
	--vaf-header-h: 72px;
	background: var(--wp--preset--color--base);
	border-bottom: 1px solid var(--wp--preset--color--hairline);
	transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Header layout (moved off inline styles so responsive rules apply cleanly) */
.vaf-header__inner {
	display: flex; align-items: center; justify-content: space-between;
	gap: 1.5rem; padding-block: 0.9rem;
}
.vaf-brand { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; }
.vaf-brand__text { font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 1.3rem; color: var(--wp--preset--color--ink); line-height: 1; }
.vaf-brand__text span { color: var(--wp--preset--color--primary); }
.vaf-header__cta { display: flex; align-items: center; gap: 0.5rem; }

/* Get Started pill (base look moved off inline styles) */
.vaf-getstarted {
	display: inline-flex; align-items: center;
	background: var(--wp--preset--color--primary); color: #fff;
	font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 0.95rem;
	padding: 0.7rem 1.5rem; border-radius: 999px; text-decoration: none; white-space: nowrap;
	box-shadow: 0 10px 24px rgba(211, 26, 31, 0.25);
}
/* Glassmorphism once the page is scrolled: translucent, blurred backdrop. */
header.wp-block-template-part.is-scrolled .vaf-header {
	background: rgba(255, 255, 255, 0.65);
	-webkit-backdrop-filter: saturate(180%) blur(16px);
	backdrop-filter: saturate(180%) blur(16px);
	border-bottom-color: rgba(22, 36, 63, 0.08);
	box-shadow: 0 8px 30px rgba(22, 36, 63, 0.08);
}
/* Scrolled: the header's backdrop-filter nullifies the panel's own blur, so make
   the dropdown/mega panels near-opaque to keep them readable. */
header.wp-block-template-part.is-scrolled .vaf-panel { background: rgba(255, 255, 255, 0.96); }
.vaf-header .wp-block-site-title a { color: var(--wp--preset--color--ink); text-decoration: none; }

/* Primary nav list */
.vaf-nav { position: static !important; }
.vaf-nav .wp-block-navigation__container { gap: clamp(1rem, 2vw, 1.9rem); align-items: center; }
.vaf-nav a.wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
	padding: 0.35rem 0;
	letter-spacing: 0.01em;
}
.vaf-nav .wp-block-navigation-item { position: relative; }
.vaf-nav a.wp-block-navigation-item__content:hover,
.vaf-nav .current-menu-item > a.wp-block-navigation-item__content { color: var(--wp--preset--color--primary); }

/* Underline hover indicator */
.vaf-nav .wp-block-navigation-item > a.wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -0.55rem;
	height: 3px; border-radius: 3px;
	background: var(--wp--preset--color--primary);
	transform: scaleX(0);
	transition: transform 0.18s ease;
}
.vaf-nav .wp-block-navigation-item:hover > a.wp-block-navigation-item__content::after,
.vaf-nav .wp-block-navigation-item.current-menu-item > a.wp-block-navigation-item__content::after { transform: scaleX(1); }

/* ---------------------------------------------------------------------------
   Mega menu (custom, hover / focus driven)
   Markup: a nav wrapper .vaf-menu contains .vaf-menu__item (has trigger link)
   and a .vaf-mega panel that is revealed on hover/focus-within.
--------------------------------------------------------------------------- */
.vaf-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.9rem); }
.vaf-menu__item { position: static; }
.vaf-menu__item.has-panel { position: static; }
/* The small Process dropdown anchors to its own item; the wide mega panels keep
   the static parent so they can span/center across the header. */
.vaf-menu__item:has(> .vaf-panel--dropdown) { position: relative; }
.vaf-menu__link {
	display: inline-flex; align-items: center; gap: 0.3rem;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600; font-size: 0.95rem;
	color: var(--wp--preset--color--ink); text-decoration: none;
	padding: 0.4rem 0; cursor: pointer; background: none; border: 0;
	letter-spacing: 0.01em;
}
.vaf-menu__link:hover, .vaf-menu__item:hover > .vaf-menu__link,
.vaf-menu__item:focus-within > .vaf-menu__link { color: var(--wp--preset--color--primary); }
.vaf-menu__link .vaf-caret { width: 10px; height: 10px; transition: transform 0.2s ease; }
.vaf-menu__item:hover .vaf-caret, .vaf-menu__item:focus-within .vaf-caret { transform: rotate(180deg); }
.vaf-menu__item.is-expanded > .vaf-menu__link .vaf-caret { transform: rotate(180deg); }

/* Panel base */
.vaf-panel {
	position: absolute;
	top: 100%; left: 50%; transform: translate(-50%, 8px);
	/* Glassmorphic at the top of the page, where the panel's own backdrop-filter
	   works: translucent + blurred. When scrolled, the sticky .vaf-header turns on
	   its own backdrop-filter which nullifies this descendant's blur, so the
	   scrolled state below falls back to near-opaque for legibility. */
	background: rgba(255, 255, 255, 0.8);
	-webkit-backdrop-filter: saturate(180%) blur(18px);
	backdrop-filter: saturate(180%) blur(18px);
	border: 1px solid rgba(236, 231, 223, 0.9);
	border-radius: var(--wp--custom--radius--panel);
	box-shadow: var(--vaf-shadow-lg);
	padding: 1.75rem;
	opacity: 0; visibility: hidden; pointer-events: none;
	transition: opacity 0.2s ease, transform 0.2s ease;
	z-index: 200;
}
/* Transparent bridge that fills the gap between the trigger and the panel so the
   cursor never leaves the hoverable area (panel is a descendant of the menu item).
   The wide mega panel anchors to the header (extra ~19px below the nav), so it
   needs a taller bridge than the small dropdown. */
.vaf-panel::before {
	content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
}
.vaf-panel--mega::before { top: -22px; height: 22px; }
.vaf-menu__item:hover > .vaf-panel,
.vaf-menu__item:focus-within > .vaf-panel,
.vaf-panel.is-open {
	opacity: 1; visibility: visible; pointer-events: auto;
	transform: translate(-50%, 12px);
}

/* small dropdown (Process) */
.vaf-panel--dropdown {
	left: 0; transform: translate(0, 8px);
	min-width: 230px; padding: 0.6rem;
}
.vaf-menu__item:hover > .vaf-panel--dropdown,
.vaf-menu__item:focus-within > .vaf-panel--dropdown,
.vaf-panel--dropdown.is-open { transform: translate(0, 12px); }
.vaf-panel--dropdown a {
	display: flex; align-items: center; gap: 0.7rem;
	padding: 0.7rem 0.85rem; border-radius: 12px;
	text-decoration: none; color: var(--wp--preset--color--ink);
	font-weight: 600; font-size: 0.95rem;
}
.vaf-panel--dropdown a:hover { background: var(--wp--preset--color--cream); color: var(--wp--preset--color--primary); }
.vaf-panel--dropdown .vaf-ic { color: var(--wp--preset--color--primary); flex: 0 0 auto; }

/* Wide mega panel — full-viewport-width bar; content aligned to the site container */
.vaf-panel--mega {
	left: 0; right: 0; width: auto; max-width: none;
	transform: translateY(-8px);
	border-radius: 0 0 28px 28px;
	border-top: 0; border-left: 0; border-right: 0;
	padding-block: 2.25rem;
	padding-inline: max(1.5rem, calc((100vw - 1240px) / 2));
}
/* open flush against the header bottom (no page-background gap) */
.vaf-menu__item:hover > .vaf-panel--mega,
.vaf-menu__item:focus-within > .vaf-panel--mega,
.vaf-panel--mega.is-open { transform: translateY(0); }
.vaf-mega-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 1.25rem 1.5rem;
}
.vaf-mega-grid--4 { grid-template-columns: repeat(4, 1fr); }
.vaf-mega-grid { align-items: stretch; }
.vaf-mega-col { min-width: 0; display: flex; flex-direction: column; }
.vaf-mega-col__head {
	display: flex; align-items: center; gap: 0.55rem;
	margin-bottom: 0.85rem; min-height: 2.9rem;
	text-decoration: none; color: inherit;
}
.vaf-mega-col__ic {
	width: 34px; height: 34px; border-radius: 10px;
	display: grid; place-items: center; font-size: 1rem;
	background: var(--wp--preset--color--peach);
	flex: 0 0 auto;
}
.vaf-mega-col__title {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700; font-size: 0.82rem; line-height: 1.25;
	letter-spacing: 0.04em; text-transform: uppercase;
	color: var(--wp--preset--color--ink);
}
.vaf-mega-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.vaf-mega-list a {
	display: flex; align-items: center; gap: 0.5rem;
	text-decoration: none; color: var(--wp--preset--color--slate);
	font-size: 0.9rem; font-weight: 500;
}
.vaf-mega-list a::before {
	content: ""; width: 6px; height: 6px; border-radius: 999px;
	background: var(--wp--preset--color--primary); flex: 0 0 auto; opacity: 0.7;
}
.vaf-mega-list a:hover { color: var(--wp--preset--color--primary); }
.vaf-mega-viewall {
	display: inline-flex; align-items: center; margin-top: auto; padding-top: 0.85rem;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700; font-size: 0.82rem;
	color: var(--wp--preset--color--primary); text-decoration: none;
}
.vaf-mega-viewall:hover { color: var(--wp--preset--color--primary-dark); }
.vaf-mega-foot {
	margin-top: 1.4rem; padding-top: 1.2rem;
	border-top: 1px solid var(--wp--preset--color--hairline);
	display: flex; align-items: center; justify-content: space-between;
	gap: 1rem; flex-wrap: wrap;
}
.vaf-mega-foot__msg { display: flex; align-items: center; gap: 0.75rem; color: var(--wp--preset--color--slate); font-size: 0.92rem; }
.vaf-mega-foot__msg strong { color: var(--wp--preset--color--ink); font-family: var(--wp--preset--font-family--heading); }
.vaf-mega-foot__ic { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; background: var(--wp--preset--color--primary); color: #fff; display: grid; place-items: center; }
.vaf-mega-foot__cta {
	display: inline-flex; align-items: center; gap: 0.4rem; flex: 0 0 auto;
	border: 1px solid var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary);
	padding: 0.55rem 1.1rem; border-radius: 999px;
	font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 0.85rem;
	text-decoration: none;
}
.vaf-mega-foot__cta:hover { background: var(--wp--preset--color--primary); color: #fff; }

/* academy footer variant */
.vaf-mega-foot--features { justify-content: space-between; gap: 1.25rem 2rem; flex-wrap: wrap; }
.vaf-mega-foot--features .vaf-mega-foot__msg { max-width: 320px; }
.vaf-mega-feature { display: flex; align-items: center; gap: 0.6rem; font-size: 0.82rem; color: var(--wp--preset--color--slate); }
.vaf-mega-feature strong { display: block; color: var(--wp--preset--color--ink); font-family: var(--wp--preset--font-family--heading); font-size: 0.88rem; }
.vaf-mega-feature__ic {
	width: 34px; height: 34px; border-radius: 10px; flex: 0 0 auto;
	display: grid; place-items: center;
	background: var(--wp--preset--color--peach); color: var(--wp--preset--color--primary);
}

/* Mobile menu toggle (hidden on desktop) */
.vaf-burger { display: none; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; padding: 0; margin-right: -0.35rem; color: var(--wp--preset--color--ink); }
.vaf-burger svg { width: 26px; height: 26px; }

/* ---------------------------------------------------------------------------
   Buttons
--------------------------------------------------------------------------- */
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--ink);
	border: 1px solid var(--wp--preset--color--hairline);
	box-shadow: none;
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	border-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary);
	background: transparent;
}
.wp-block-button__link { box-shadow: 0 10px 24px rgba(211, 26, 31, 0.25); transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease; }
.wp-block-button__link:hover { transform: translateY(-1px); }
.is-style-outline .wp-block-button__link { box-shadow: none; }

/* "Watch demo" style ghost button with icon */
.vaf-btn-ghost .wp-block-button__link {
	background: #fff; color: var(--wp--preset--color--ink);
	border: 1px solid var(--wp--preset--color--hairline); box-shadow: var(--vaf-shadow-sm);
}
.vaf-btn-ghost .wp-block-button__link:hover { color: var(--wp--preset--color--primary); border-color: var(--wp--preset--color--primary); }

/* ---------------------------------------------------------------------------
   Cards & sections
--------------------------------------------------------------------------- */
.vaf-card {
	box-sizing: border-box;
	background: #fff;
	border: 1px solid var(--wp--preset--color--hairline);
	border-radius: var(--wp--custom--radius--card);
	box-shadow: var(--vaf-shadow-sm);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	height: 100%;
}
.vaf-card:hover { transform: translateY(-4px); box-shadow: var(--vaf-shadow-md); border-color: transparent; }

/* Feature card (Why Choose) - the highlighted middle card look */
.vaf-feature-card { text-align: center; }
.vaf-feature-card .vaf-ic-badge {
	width: 60px; height: 60px; border-radius: 16px; margin: 0 auto 1rem;
	display: grid; place-items: center; font-size: 1.5rem;
	background: var(--wp--preset--color--peach);
}
.vaf-feature-card.is-highlight {
	background: var(--wp--preset--color--primary);
	border-color: transparent;
	box-shadow: var(--vaf-shadow-md);
}
.vaf-feature-card.is-highlight :is(h3, p, .wp-block-heading) { color: #fff !important; }
.vaf-feature-card.is-highlight .vaf-ic-badge { background: rgba(255,255,255,0.18); }
.vaf-feature-card.is-highlight a { color: #fff; }

/* Icon badge generic */
.vaf-ic-badge {
	width: 56px; height: 56px; border-radius: 16px;
	display: grid; place-items: center; font-size: 1.4rem;
	background: var(--wp--preset--color--peach);
}

/* Rounded soft panel */
.vaf-soft {
	background: var(--wp--preset--color--peach);
	border-radius: var(--wp--custom--radius--panel);
}

/* Check list */
.vaf-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.vaf-checks li { position: relative; padding-left: 2rem; color: var(--wp--preset--color--slate); }
.vaf-checks li::before {
	content: ""; position: absolute; left: 0; top: 0.15rem;
	width: 20px; height: 20px; border-radius: 999px;
	background: var(--wp--preset--color--green);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.5l2.5 2.5L10 3' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: center;
}

/* ---------------------------------------------------------------------------
   "What happens next" panel — Schedule an Interview aside
--------------------------------------------------------------------------- */
.vaf-next {
	border: 1px solid var(--wp--preset--color--hairline);
	border-radius: var(--wp--custom--radius--panel);
	box-shadow: var(--vaf-shadow-sm);
	background-color: var(--wp--preset--color--cream);
	background-image:
		radial-gradient( rgba(173, 20, 23,0.05) 1.5px, transparent 1.6px ),
		linear-gradient( 135deg, #FBF6F3 0%, #F8F2EF 55%, #FDEDE4 100% );
	background-size: 22px 22px, auto;
	background-repeat: repeat, no-repeat;
}
.vaf-next .wp-block-heading { color: var(--wp--preset--color--ink); }

/* Numbered vertical stepper (CSS counters + connecting line, echoing .vaf-timeline) */
.vaf-flow { list-style: none; margin: 1.75rem 0 0; padding: 0; counter-reset: vaf-flow; display: grid; gap: 1.4rem; }
.vaf-flow li {
	position: relative; counter-increment: vaf-flow;
	padding-left: 2.75rem; line-height: 1.55; color: var(--wp--preset--color--slate);
}
.vaf-flow li::before {
	content: counter(vaf-flow);
	position: absolute; left: 0; top: -2px; z-index: 1;
	width: 28px; height: 28px; border-radius: 999px;
	display: grid; place-items: center;
	background: var(--wp--preset--color--primary); color: #fff;
	font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 0.85rem;
	box-shadow: 0 0 0 4px var(--wp--preset--color--cream);
}
.vaf-flow li:not(:last-child)::after {
	content: ""; position: absolute; left: 13px; top: 30px; bottom: -1.4rem; width: 2px;
	background: rgba(211, 26, 31, 0.25);
}
.vaf-flow li strong {
	display: block; margin-bottom: 0.15rem;
	font-family: var(--wp--preset--font-family--heading); font-weight: 700;
	color: var(--wp--preset--color--ink);
}

/* Email footer with divider + mail icon */
.vaf-next__contact { margin-top: 1.6rem; padding-top: 1.3rem; border-top: 1px solid rgba(22,36,63,0.10); }
.vaf-next__contact p { position: relative; margin: 0; padding-left: 1.9rem; color: var(--wp--preset--color--slate); }
.vaf-next__contact p::before {
	content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23D31A1F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E") no-repeat center / contain;
}
.vaf-next__contact strong { color: var(--wp--preset--color--ink); font-family: var(--wp--preset--font-family--heading); }
.vaf-next__contact a { color: var(--wp--preset--color--primary); font-weight: 600; word-break: break-word; }

/* Numbered step badge */
.vaf-step-num {
	width: 64px; height: 64px; border-radius: 999px;
	display: grid; place-items: center;
	font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 1.35rem;
	color: var(--wp--preset--color--primary);
	background: var(--wp--preset--color--peach);
	border: 2px solid #fff; box-shadow: var(--vaf-shadow-sm);
}

/* ---------------------------------------------------------------------------
   Portfolio (Jana) page
--------------------------------------------------------------------------- */
.vaf-portfolio-hero {
	background: linear-gradient(135deg, #16243F 0%, #22345C 100%);
	border-radius: var(--wp--custom--radius--panel);
	color: #fff;
}
.vaf-portfolio-hero :is(h1, h2, h3, .wp-block-heading) { color: #fff; }
.vaf-portfolio-photo {
	border-radius: 20px; overflow: hidden; border: 6px solid #fff;
	box-shadow: var(--vaf-shadow-md); background: var(--wp--preset--color--peach);
}
.vaf-badge-pill {
	display: inline-flex; align-items: center; gap: 0.4rem;
	background: rgba(255,255,255,0.12); color: #fff;
	padding: 0.35rem 0.8rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600;
}
.vaf-info-card {
	box-sizing: border-box;
	background: #fff; border: 1px solid var(--wp--preset--color--hairline);
	border-radius: var(--wp--custom--radius--card); box-shadow: var(--vaf-shadow-sm);
	height: 100%;
}
.vaf-info-card__title { display: flex; align-items: center; gap: 0.5rem; color: var(--wp--preset--color--ink); }
.vaf-info-card__title .vaf-ic { color: var(--wp--preset--color--primary); }
.vaf-status-dot { width: 10px; height: 10px; border-radius: 999px; background: var(--wp--preset--color--green); display: inline-block; }

/* ---------------------------------------------------------------------------
   Single VA profile (banner + header + companies + projects)
--------------------------------------------------------------------------- */
.vaf-vaprofile-banner {
	position: relative; overflow: hidden;
	height: clamp(150px, 20vw, 210px); border-radius: 24px;
	background: linear-gradient(135deg, #FBF6F3 0%, #F8F2EF 55%, #FDEDE4 100%);
}
.vaf-vaprofile-banner::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: radial-gradient( rgba(173, 20, 23, 0.05) 1.5px, transparent 1.6px );
	background-size: 22px 22px;
}
.vaf-vaprofile-blob { position: absolute; border-radius: 50%; filter: blur(55px); opacity: 0.5; pointer-events: none; }
.vaf-vaprofile-blob--1 { width: 240px; height: 240px; background: #D31A1F; top: -90px; right: 8%; opacity: 0.35; }
.vaf-vaprofile-blob--2 { width: 200px; height: 200px; background: #FDBBA3; bottom: -100px; left: 12%; }

.vaf-vaprofile-card {
	position: relative; z-index: 1;
	box-sizing: border-box; max-width: 1200px;
	margin: -60px auto 0; padding: clamp(1.5rem, 3vw, 2.25rem);
	background: #fff; border: 1px solid var(--wp--preset--color--hairline);
	border-radius: 24px; box-shadow: var(--vaf-shadow-md);
	display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(1.5rem, 3vw, 2.5rem);
}
.vaf-vaprofile-photo {
	width: 150px; height: 150px; margin-top: -85px; margin-bottom: 0.75rem;
	border-radius: 50%; overflow: hidden; border: 5px solid #fff;
	box-shadow: var(--vaf-shadow-md); background: var(--wp--preset--color--peach);
	display: grid; place-items: center;
}
.vaf-vaprofile-photo img { width: 100%; height: 100%; object-fit: cover; }
.vaf-vaprofile-photo__btn { display: block; width: 100%; height: 100%; cursor: zoom-in; }

/* Profile-photo lightbox — pure-CSS (checkbox) overlay, opens on photo click. */
.vaf-lightbox {
	display: none; position: fixed; inset: 0; z-index: 9999;
	align-items: center; justify-content: center;
	padding: clamp(1rem, 5vw, 3rem);
	background: rgba(9, 14, 26, 0.82); cursor: zoom-out;
	animation: vaf-lightbox-in 0.2s ease;
}
.vaf-lightbox-toggle:checked ~ .vaf-lightbox { display: flex; }
.vaf-lightbox__img {
	max-width: min(92vw, 680px); max-height: 86vh; width: auto; height: auto;
	object-fit: contain; border-radius: 16px; background: #fff;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
	animation: vaf-lightbox-zoom 0.2s ease;
}
.vaf-lightbox__close {
	position: absolute; top: clamp(0.8rem, 2vw, 1.5rem); right: clamp(0.8rem, 2vw, 1.5rem);
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
	color: #fff; background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.28);
	transition: background 0.2s ease;
}
.vaf-lightbox__close:hover { background: rgba(255, 255, 255, 0.3); }
@keyframes vaf-lightbox-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes vaf-lightbox-zoom { from { transform: scale(0.94); } to { transform: scale(1); } }
/* Lock background scroll while the lightbox is open (progressive enhancement). */
html:has(.vaf-lightbox-toggle:checked) { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
	.vaf-lightbox, .vaf-lightbox__img { animation: none; }
}
.vaf-vaprofile-initials {
	font-family: var(--wp--preset--font-family--heading); font-weight: 800;
	font-size: 3rem; color: var(--wp--preset--color--primary);
}
.vaf-vaprofile-namerow { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin: 0 0 0.6rem; }
.vaf-vaprofile-name { margin: 0; font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--wp--preset--color--ink); }
.vaf-vaprofile-loc { display: inline-flex; align-items: center; gap: 0.4rem; margin: 0 0 0.6rem; color: var(--wp--preset--color--slate); }
.vaf-vaprofile-loc .vaf-icon { color: var(--wp--preset--color--primary); }
.vaf-vaprofile-brief { margin: 0 0 1.35rem; color: var(--wp--preset--color--slate); max-width: 52ch; }
.vaf-vaprofile-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.vaf-btn-primary {
	display: inline-flex; align-items: center; gap: 0.5rem;
	background: var(--wp--preset--color--primary); color: #fff;
	font-family: var(--wp--preset--font-family--heading); font-weight: 700;
	padding: 0.75rem 1.5rem; border-radius: 999px; text-decoration: none;
	box-shadow: 0 10px 22px rgba(211, 26, 31, 0.24);
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.vaf-btn-primary:hover { background: var(--wp--preset--color--primary-dark); transform: translateY(-2px); box-shadow: 0 16px 30px rgba(211, 26, 31, 0.32); }
.vaf-btn-primary .vaf-icon { transition: transform 0.2s ease; }
.vaf-btn-primary:hover .vaf-icon { transform: translateX(3px); }
.vaf-btn-icon {
	display: inline-grid; place-items: center; width: 44px; height: 44px;
	border-radius: 12px; color: var(--wp--preset--color--ink);
	background: #fff; border: 1px solid var(--wp--preset--color--hairline);
	text-decoration: none; transition: border-color 0.2s ease, color 0.2s ease;
}
.vaf-btn-icon:hover { border-color: var(--wp--preset--color--primary); color: var(--wp--preset--color--primary); }

.vaf-field-block { margin: 0 0 1.35rem; }
.vaf-field-block:last-child { margin-bottom: 0; }
.vaf-field-block__label {
	margin: 0 0 0.55rem; color: var(--wp--preset--color--slate);
	font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 0.9rem;
}
.vaf-chip-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }

/* Collapsible chip groups — show the first N chips, hide the rest behind a
   CSS-only toggle. Clamp point matches the PHP threshold via .vaf-chips-clamp-N. */
.vaf-chips-clamp-6 .vaf-chip-row > :nth-child(n+7) { display: none; }
.vaf-chips-clamp-6 .vaf-chips-toggle-input:checked ~ .vaf-chip-row > :nth-child(n+7) { display: inline-flex; }
.vaf-chips-clamp-30 .vaf-chip-row > :nth-child(n+31) { display: none; }
.vaf-chips-clamp-30 .vaf-chips-toggle-input:checked ~ .vaf-chip-row > :nth-child(n+31) { display: inline-flex; }
.vaf-chips-toggle {
	display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 0.7rem; cursor: pointer;
	font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 0.82rem;
	color: var(--wp--preset--color--primary); user-select: none;
}
.vaf-chips-toggle:hover { color: var(--wp--preset--color--primary-dark); }
.vaf-chips-toggle .vaf-icon { transition: transform 0.2s ease; }
.vaf-chips-toggle__less { display: none; }
.vaf-chips-toggle-input:checked ~ .vaf-chips-toggle .vaf-chips-toggle__more { display: none; }
.vaf-chips-toggle-input:checked ~ .vaf-chips-toggle .vaf-chips-toggle__less { display: inline; }
.vaf-chips-toggle-input:checked ~ .vaf-chips-toggle .vaf-icon { transform: rotate(180deg); }
.vaf-chips-toggle-input:focus-visible ~ .vaf-chips-toggle {
	outline: 2px solid var(--wp--preset--color--primary); outline-offset: 2px; border-radius: 6px;
}
@media (prefers-reduced-motion: reduce) { .vaf-chips-toggle .vaf-icon { transition: none; } }

.vaf-vaprofile-panel {
	margin-top: 1.25rem; padding: clamp(1.5rem, 3vw, 2rem);
	background: #fff; border: 1px solid var(--wp--preset--color--hairline);
	border-radius: 24px; box-shadow: var(--vaf-shadow-sm);
}
.vaf-vaprofile-panel__title { margin: 0 0 1.25rem; font-size: 1.2rem; color: var(--wp--preset--color--ink); }
/* Companies — monogram logo wall */
.vaf-logowall { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.vaf-logo-item {
	display: inline-flex; align-items: center; gap: 0.75rem;
	padding: 0.7rem 1rem 0.7rem 0.7rem; border-radius: 14px;
	background: #fff; border: 1px solid var(--wp--preset--color--hairline); box-shadow: var(--vaf-shadow-sm);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.vaf-logo-item:hover { transform: translateY(-2px); box-shadow: var(--vaf-shadow-md); }
.vaf-logo-monogram {
	flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px;
	display: grid; place-items: center; color: #fff; font-weight: 800;
	font-family: var(--wp--preset--font-family--heading); font-size: 1.05rem;
	background: linear-gradient(135deg, #D31A1F, #E8433C);
}
.vaf-logo-item:nth-child(3n+2) .vaf-logo-monogram { background: linear-gradient(135deg, #16243F, #2E4372); }
.vaf-logo-item:nth-child(3n+3) .vaf-logo-monogram { background: linear-gradient(135deg, #2E9E63, #48C07F); }
.vaf-logo-name { font-family: var(--wp--preset--font-family--heading); font-weight: 700; color: var(--wp--preset--color--ink); white-space: nowrap; }

/* Projects — vertical timeline */
.vaf-timeline { list-style: none; margin: 0; padding: 0 0 0 1.75rem; position: relative; }
.vaf-timeline::before { content: ""; position: absolute; top: 6px; bottom: 6px; left: 5px; width: 2px; background: var(--wp--preset--color--hairline); }
.vaf-timeline__item { position: relative; padding: 0 0 1.75rem; }
.vaf-timeline__item:last-child { padding-bottom: 0; }
.vaf-timeline__dot {
	position: absolute; left: -1.75rem; top: 4px; width: 12px; height: 12px; border-radius: 999px;
	background: var(--wp--preset--color--primary); box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--wp--preset--color--hairline);
}
.vaf-timeline__date {
	display: inline-flex; align-items: center; gap: 0.35rem; margin-bottom: 0.4rem;
	background: var(--wp--preset--color--peach); color: var(--wp--preset--color--primary);
	font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 0.76rem;
	padding: 0.2rem 0.6rem; border-radius: 999px;
}
.vaf-timeline__name { margin: 0 0 0.3rem; font-size: 1.05rem; color: var(--wp--preset--color--ink); }
.vaf-timeline__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; }
.vaf-timeline__company { margin: 0; display: inline-flex; align-items: center; gap: 0.4rem; color: var(--wp--preset--color--slate); font-size: 0.9rem; }
.vaf-timeline__company .vaf-icon { color: var(--wp--preset--color--primary); }

/* Certifications — icon cards */
.vaf-cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.85rem; }
.vaf-cert-card {
	display: flex; align-items: center; gap: 0.85rem;
	padding: 1rem 1.1rem; border-radius: 14px;
	background: #fff; border: 1px solid var(--wp--preset--color--hairline); box-shadow: var(--vaf-shadow-sm);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.vaf-cert-card:hover { transform: translateY(-2px); box-shadow: var(--vaf-shadow-md); }
.vaf-cert-card__icon {
	flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px;
	display: grid; place-items: center; color: #fff;
	background: linear-gradient(135deg, #D31A1F, #E8433C);
}
.vaf-cert-card__body { min-width: 0; }
.vaf-cert-card__name { margin: 0 0 0.2rem; font-size: 1rem; line-height: 1.3; color: var(--wp--preset--color--ink); }
.vaf-cert-card__meta { margin: 0; font-size: 0.85rem; color: var(--wp--preset--color--slate); }

/* Polished "View project" pill button */
.vaf-timeline .vaf-portfolio-link {
	display: inline-flex; align-items: center; gap: 0.4rem; text-decoration: none;
	font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 0.82rem;
	color: var(--wp--preset--color--primary);
	background: var(--wp--preset--color--peach);
	border: 1px solid transparent;
	padding: 0.5rem 1rem; border-radius: 999px;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.vaf-timeline .vaf-portfolio-link .vaf-icon { transition: transform 0.2s ease; }
.vaf-timeline .vaf-portfolio-link:hover {
	background: var(--wp--preset--color--primary); color: #fff;
	transform: translateY(-1px); box-shadow: 0 8px 18px rgba(211, 26, 31, 0.28);
}
.vaf-timeline .vaf-portfolio-link:hover .vaf-icon { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .vaf-timeline .vaf-portfolio-link { transition: none; } }

/* Verified badge next to the VA name */
.vaf-verified {
	display: inline-flex; align-items: center; gap: 0.3rem;
	padding: 0.28rem 0.7rem 0.28rem 0.55rem; border-radius: 999px;
	background: rgba(46, 158, 99, 0.12); color: #217A4B;
	font-family: var(--wp--preset--font-family--heading); font-weight: 700;
	font-size: 0.72rem; letter-spacing: 0.02em; text-transform: uppercase;
}
/* Uniform badge sizing in the profile name row */
.vaf-vaprofile-namerow .vaf-verified,
.vaf-vaprofile-namerow .vaf-avail-badge {
	align-self: center; margin: 0; gap: 0.4rem; padding: 0.4rem 0.8rem; border-radius: 999px;
	font-family: var(--wp--preset--font-family--heading); font-weight: 700;
	font-size: 0.72rem; line-height: 1; letter-spacing: 0.04em; text-transform: uppercase;
}
/* Equalize the leading glyphs so both pills are the same height */
.vaf-vaprofile-namerow .vaf-verified .vaf-icon { width: 1.05em; height: 1.05em; }
.vaf-vaprofile-namerow .vaf-avail-badge .vaf-status-dot { width: 0.65em; height: 0.65em; }
@media (prefers-reduced-motion: reduce) { .vaf-logo-item { transition: none; } }

@media (max-width: 820px) {
	.vaf-vaprofile-card { grid-template-columns: 1fr; margin-left: 0; margin-right: 0; }
}

/* Avatar with initials */
.vaf-avatar {
	width: 56px; height: 56px; border-radius: 999px;
	display: grid; place-items: center; color: #fff; font-weight: 800;
	font-family: var(--wp--preset--font-family--heading);
	background: linear-gradient(135deg, #D31A1F, #E8433C);
	flex: 0 0 auto;
}

/* ---------------------------------------------------------------------------
   CTA bands
--------------------------------------------------------------------------- */
.vaf-cta-band {
	background: linear-gradient(135deg, #D31A1F 0%, #E8433C 100%);
	border-radius: var(--wp--custom--radius--panel);
	color: #fff;
}
.vaf-cta-band :is(h2, h3, p, .wp-block-heading) { color: #fff; }

/* ---------------------------------------------------------------------------
   Contact page
--------------------------------------------------------------------------- */
.vaf-contact-side { display: grid; gap: 1rem; align-content: start; }
.vaf-contact-hero { position: relative; overflow: hidden; background: linear-gradient(150deg, #1C2C4D 0%, #16243F 60%, #1E3059 100%); color: #fff; border-radius: 20px; padding: 2rem; }
.vaf-contact-hero::after { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; background: var(--wp--preset--color--primary); filter: blur(72px); opacity: 0.34; top: -70px; right: -55px; pointer-events: none; }
.vaf-contact-hero > * { position: relative; z-index: 1; }
.vaf-contact-hero h3 { color: #fff; margin: 0 0 0.6rem; }
.vaf-contact-hero p { color: rgba(255,255,255,0.82); margin: 0; font-size: 0.95rem; line-height: 1.6; }
.vaf-contact-hero__ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,0.13); color: #fff; margin-bottom: 1.1rem; }
.vaf-contact-method {
	display: flex; align-items: flex-start; gap: 0.9rem;
	background: #fff; border: 1px solid var(--wp--preset--color--hairline);
	border-radius: 16px; padding: 1.15rem 1.25rem;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.vaf-contact-method:hover { transform: translateY(-2px); box-shadow: var(--vaf-shadow-sm); border-color: transparent; }
.vaf-contact-method__ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--wp--preset--color--peach); color: var(--wp--preset--color--primary); }
.vaf-contact-method__label { display: block; font-family: var(--wp--preset--font-family--heading); font-weight: 700; color: var(--wp--preset--color--ink); font-size: 0.95rem; margin-bottom: 2px; }
.vaf-contact-method a, .vaf-contact-method__val { color: var(--wp--preset--color--slate); font-size: 0.9rem; text-decoration: none; line-height: 1.5; }
.vaf-contact-method a:hover { color: var(--wp--preset--color--primary); }

/* ---------------------------------------------------------------------------
   Forms (Contact Form 7)
--------------------------------------------------------------------------- */
.wpcf7-form { display: grid; gap: 1rem; }
.wpcf7-form label { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 0.9rem; color: var(--wp--preset--color--ink); display: grid; gap: 0.4rem; }
.wpcf7-form .wpcf7-form-control-wrap { display: block; width: 100%; }
.wpcf7-form input:not([type=submit]), .wpcf7-form textarea, .wpcf7-form select {
	box-sizing: border-box; width: 100%; max-width: 100%; padding: 0.8rem 1rem;
	border: 1px solid var(--wp--preset--color--hairline);
	border-radius: 12px; background: #fff; font: inherit; font-size: 1rem; color: var(--wp--preset--color--ink);
}
.wpcf7-form textarea { min-height: 150px; resize: vertical; }
.wpcf7-form input:focus, .wpcf7-form textarea:focus {
	outline: none; border-color: var(--wp--preset--color--primary);
	box-shadow: 0 0 0 3px rgba(211, 26, 31, 0.15);
}
.wpcf7-form input[type=submit] {
	background: var(--wp--preset--color--primary); color: #fff; border: 0;
	padding: 0.95rem 1.75rem; border-radius: 999px; cursor: pointer;
	font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 1rem;
	box-shadow: 0 10px 24px rgba(211, 26, 31, 0.25); transition: background 0.2s ease;
}
.wpcf7-form input[type=submit]:hover { background: var(--wp--preset--color--primary-dark); }

/* CF7 alerts — branded */
.wpcf7-form .wpcf7-response-output {
	margin: 1.5rem 0 0 !important;
	padding: 0.95rem 1.15rem 0.95rem 1.35rem !important;
	border: 0 !important;
	border-radius: 12px !important;
	font-size: 0.92rem; line-height: 1.5;
	position: relative;
}
.wpcf7-form .wpcf7-response-output::before {
	content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: 12px 0 0 12px;
}
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.unaccepted .wpcf7-response-output,
.wpcf7-form.payment-required .wpcf7-response-output,
.wpcf7-response-output.wpcf7-validation-errors {
	background: #FBE9E4; color: #B23A1C;
}
.wpcf7-form.invalid .wpcf7-response-output::before,
.wpcf7-form.unaccepted .wpcf7-response-output::before,
.wpcf7-response-output.wpcf7-validation-errors::before { background: #AD1417; }
.wpcf7-form.sent .wpcf7-response-output,
.wpcf7-response-output.wpcf7-mail-sent-ok {
	background: #E4F5EC; color: #1C7A4A;
}
.wpcf7-form.sent .wpcf7-response-output::before,
.wpcf7-response-output.wpcf7-mail-sent-ok::before { background: var(--wp--preset--color--green); }
.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.aborted .wpcf7-response-output,
.wpcf7-form.spam .wpcf7-response-output {
	background: var(--wp--preset--color--cream); color: var(--wp--preset--color--slate);
}
.wpcf7-form.failed .wpcf7-response-output::before,
.wpcf7-form.aborted .wpcf7-response-output::before,
.wpcf7-form.spam .wpcf7-response-output::before { background: var(--wp--preset--color--hairline); }

/* Inline field validation tip + invalid field highlight */
.wpcf7-not-valid-tip {
	color: #AD1417; font-size: 0.82rem; font-weight: 500; margin-top: 0.4rem; display: block;
}
.wpcf7-form .wpcf7-not-valid {
	border-color: #E0745A !important;
	box-shadow: 0 0 0 3px rgba(173, 20, 23, 0.12) !important;
}
.wpcf7-spinner { margin: 0 0 0 0.5rem; }

/* ---------------------------------------------------------------------------
   Footer
--------------------------------------------------------------------------- */
.vaf-footer { background: var(--wp--preset--color--ink); color: rgba(255,255,255,0.72); position: relative; overflow: hidden; }
.vaf-footer > div { position: relative; z-index: 1; }

/* Soft colour glows behind the glass CTA */
.vaf-footer-glow { position: absolute; z-index: 0; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.vaf-footer-glow--1 { width: 460px; height: 460px; background: #D31A1F; opacity: 0.5; top: -140px; left: 6%; }
.vaf-footer-glow--2 { width: 380px; height: 380px; background: #3E63C8; opacity: 0.35; top: -90px; right: 10%; }

/* Glassmorphism CTA */
.vaf-cta-glass {
	position: relative; z-index: 1;
	box-sizing: border-box; max-width: 1200px; margin-left: auto; margin-right: auto;
	background: linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.05));
	-webkit-backdrop-filter: blur(20px) saturate(150%);
	backdrop-filter: blur(20px) saturate(150%);
	border: 1px solid rgba(255,255,255,0.22);
	border-radius: var(--wp--custom--radius--panel);
	box-shadow: 0 24px 60px rgba(0,0,0,0.30), inset 0 1px 0 rgba(255,255,255,0.32);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	.vaf-cta-glass { background: linear-gradient(135deg, rgba(211, 26, 31,0.9), rgba(232, 67, 60,0.85)); }
}
.vaf-footer :is(h2, h3, h4, .wp-block-heading) { color: #fff; }
.vaf-footer a { color: rgba(255,255,255,0.72); text-decoration: none; }
.vaf-footer a:hover { color: #fff; }
.vaf-footer .wp-block-site-title a { color: #fff; }

/* Footer social icon buttons (glass, orange hover) */
.vaf-footer-social { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.vaf-footer-social a {
	display: inline-grid; place-items: center; width: 40px; height: 40px;
	border-radius: 12px; color: rgba(255,255,255,0.78);
	background: rgba(255,255,255,0.10); border: 1px solid rgba(255,255,255,0.18);
	text-decoration: none; transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.vaf-footer-social a:hover { color: #fff; background: var(--wp--preset--color--primary); border-color: var(--wp--preset--color--primary); }

/* ---------------------------------------------------------------------------
   Responsive grid utilities (override inline grid-template-columns via !important)
--------------------------------------------------------------------------- */
@media (max-width: 1000px) {
	.vaf-grid-5 { grid-template-columns: repeat(3, 1fr) !important; }
	.vaf-grid-4 { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 820px) {
	.vaf-split { grid-template-columns: 1fr !important; }
	.vaf-split img { max-width: 420px; margin-inline: auto; }

	/* When the hero stacks, drop the VA photo into the text flow between the
	   intro paragraph and the "Jana Aranda" signature. The photo is a separate
	   grid column, so dissolve the text column (display:contents) to make its
	   children siblings of the photo in the grid, kill the column gap (each
	   element keeps its own margins), then order the three groups:
	   1 = eyebrow + heading + intro, 2 = photo, 3 = signature onward. */
	.vaf-hero { gap: 0 !important; }
	.vaf-hero > .vaf-reveal:first-child { display: contents; }
	.vaf-hero > .vaf-reveal:first-child > * { order: 3; }
	.vaf-hero > .vaf-reveal:first-child > .vaf-eyebrow,
	.vaf-hero > .vaf-reveal:first-child > .vaf-hero-title,
	.vaf-hero > .vaf-reveal:first-child > .vaf-hero-title + p { order: 1; }
	.vaf-hero > .vaf-reveal.d1 { order: 2; margin: 0 auto 1.5rem; }
}
@media (max-width: 760px) {
	.vaf-grid-5, .vaf-grid-4, .vaf-grid-3 { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 520px) {
	.vaf-grid-5, .vaf-grid-4, .vaf-grid-3, .vaf-grid-2 { grid-template-columns: 1fr !important; }
}

/* ---------------------------------------------------------------------------
   Responsive
--------------------------------------------------------------------------- */
@media (max-width: 1100px) {
	.vaf-panel--mega { width: min(760px, calc(100vw - 2rem)); }
	.vaf-mega-grid { grid-template-columns: repeat(3, 1fr); }
	.vaf-mega-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
	.vaf-burger { display: inline-flex; }
	.vaf-nav, .vaf-desktop-only { display: none !important; }

	/* Mobile menu panel */
	.vaf-menu {
		position: fixed; inset: var(--vaf-header-h) 0 auto 0;
		flex-direction: column; align-items: stretch; gap: 0;
		background: #fff; padding: 1rem 1.25rem;
		box-shadow: var(--vaf-shadow-lg);
		max-height: calc(100vh - var(--vaf-header-h)); overflow-y: auto;
		transform: translateY(-12px); opacity: 0; pointer-events: none;
		transition: opacity 0.2s ease, transform 0.2s ease;
		border-top: 1px solid var(--wp--preset--color--hairline);
	}
	.vaf-menu.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
	.vaf-menu__item { border-bottom: 1px solid var(--wp--preset--color--hairline); }
	.vaf-menu__item:last-child { border-bottom: 0; }
	.vaf-menu__link { width: 100%; justify-content: space-between; padding: 0.7rem 0; }

	/* Larger, more tappable caret on mobile, and drive its rotation from the
	   actual open state (.is-expanded) rather than sticky touch-hover — hover
	   lingers after a tap and would otherwise leave the arrow flipped on a
	   collapsed item. */
	.vaf-menu__link .vaf-caret { width: 14px; height: 14px; }
	.vaf-menu__item:hover .vaf-caret, .vaf-menu__item:focus-within .vaf-caret { transform: none; }
	.vaf-menu__item.is-expanded > .vaf-menu__link .vaf-caret { transform: rotate(180deg); }

	.vaf-panel, .vaf-panel--mega, .vaf-panel--dropdown {
		position: static; transform: none !important; box-shadow: none;
		border: 0; border-radius: 0; padding: 0; width: auto;
		opacity: 1; visibility: hidden; height: 0; overflow: hidden;
	}
	.vaf-menu__item.is-expanded > .vaf-panel { visibility: visible; height: auto; overflow: visible; padding-bottom: 0.5rem; }

	/* Mobile mega menu: collapse the full desktop mega into a compact, tappable
	   list — one row per category/topic. Portfolio sublists and the promo footer
	   are desktop-only. */
	.vaf-panel--mega .vaf-mega-grid,
	.vaf-panel--mega .vaf-mega-grid--4 { grid-template-columns: 1fr; gap: 0; }
	.vaf-panel--mega .vaf-mega-list,
	.vaf-panel--mega .vaf-mega-viewall,
	.vaf-panel--mega .vaf-mega-foot__msg,
	.vaf-panel--mega .vaf-mega-feature { display: none; }

	/* Keep one full-width "View all" button per mega menu on mobile — reuses the
	   desktop foot CTA ("View all VA's" / "View all Academy Tutorials"). */
	.vaf-panel--mega .vaf-mega-foot,
	.vaf-panel--mega .vaf-mega-foot--features {
		display: block; margin: 0.35rem 0 0.25rem; padding-top: 0.9rem; gap: 0;
	}
	.vaf-panel--mega .vaf-mega-foot__cta {
		display: flex; justify-content: center; box-sizing: border-box;
		width: 100%; padding: 0.8rem 1rem;
	}
	.vaf-panel--mega .vaf-mega-col { border-bottom: 1px solid var(--wp--preset--color--hairline); }
	.vaf-panel--mega .vaf-mega-col:last-child { border-bottom: 0; }
	.vaf-panel--mega .vaf-mega-col__head {
		margin: 0; min-height: 44px; padding: 0.35rem 0;
		justify-content: flex-start; position: relative;
	}
	.vaf-panel--mega .vaf-mega-col__title { text-transform: none; letter-spacing: 0.01em; font-size: 0.95rem; }
	.vaf-panel--mega .vaf-mega-col__head::after {
		content: ""; margin-left: auto; width: 8px; height: 8px;
		border-right: 2px solid var(--wp--preset--color--slate);
		border-bottom: 2px solid var(--wp--preset--color--slate);
		transform: rotate(-45deg); opacity: 0.6;
	}
}

@media (max-width: 560px) {
	.vaf-mega-grid, .vaf-mega-grid--4 { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------------
   Mobile refinements (phones). New responsive layer added at consistent
   breakpoints: 640px = phone, 380px = small phone.
--------------------------------------------------------------------------- */
@media (max-width: 640px) {
	/* Tighten section rhythm site-wide: the large fixed spacing presets do not
	   scale down on their own, which makes sections feel airy on phones. */
	:root {
		--wp--preset--spacing--60: 2rem;    /* 3rem */
		--wp--preset--spacing--70: 2.5rem;  /* 4rem */
		--wp--preset--spacing--80: 3.25rem; /* clamp up to 6.5rem */
	}

	/* Header: shorter, compact CTA that stays on one line beside the burger. */
	.vaf-header { --vaf-header-h: 64px; }
	.vaf-header__inner { gap: 0.75rem; padding-block: 0.7rem; }
	.vaf-header__cta { gap: 0.4rem; }
	.vaf-getstarted {
		padding: 0.55rem 1rem; font-size: 0.85rem;
		box-shadow: 0 6px 16px rgba(211, 26, 31, 0.22);
	}

	/* Feature strip: stay a compact 2x2 instead of a tall single column so the
	   four short icon+label items don't stretch the section vertically. */
	.vaf-grid-4--features { grid-template-columns: repeat(2, 1fr) !important; gap: 1.25rem 1rem; }
}

@media (max-width: 400px) {
	/* Keep the whole header row on one line without clipping the burger on
	   narrow phones (≤~390px the logo + CTA + burger no longer fit): trim the
	   side padding, gaps, logo and CTA so everything fits down to 320px. */
	.vaf-header { padding-inline: 12px !important; }
	.vaf-header__inner { gap: 0.4rem; }
	.vaf-header__cta { gap: 0.3rem; }
	.vaf-brand__text { font-size: 1rem; }
	.vaf-getstarted { padding: 0.5rem 0.75rem; font-size: 0.75rem; }
	/* Drop the optical negative margin so the burger stays inside the viewport. */
	.vaf-burger { margin-right: 0; }
}

/* ===========================================================================
   HOMEPAGE PREMIUM
   =========================================================================== */

/* Scroll reveal */
.vaf-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.vaf-reveal.is-in { opacity: 1; transform: none; }
.vaf-reveal.d1 { transition-delay: 0.08s; }
.vaf-reveal.d2 { transition-delay: 0.16s; }
.vaf-reveal.d3 { transition-delay: 0.24s; }

/* Hero ambient blobs + texture */
.vaf-hero-wrap { position: relative; overflow: hidden; }
/* Soft dot grid over the gradient, faded toward the edges, for subtle texture. */
.vaf-hero-wrap::before {
	content: "";
	position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background-image: radial-gradient( rgba(211, 26, 31, 0.11) 1.4px, transparent 1.5px );
	background-size: 24px 24px;
	-webkit-mask-image: radial-gradient( ellipse 78% 74% at 50% 42%, #000 38%, transparent 100% );
	mask-image: radial-gradient( ellipse 78% 74% at 50% 42%, #000 38%, transparent 100% );
	opacity: 0.75;
}
/* A faint inner ring adds a little more depth without competing with content. */
.vaf-hero-wrap::after {
	content: "";
	position: absolute; z-index: 0; pointer-events: none;
	width: 520px; height: 520px; border-radius: 50%;
	top: -160px; left: 52%;
	border: 1.5px solid rgba(211, 26, 31, 0.10);
	box-shadow: 0 0 0 26px rgba(211, 26, 31, 0.04);
}
.vaf-hero-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.55; pointer-events: none; z-index: 0; }
.vaf-hero-blob--1 { width: 460px; height: 460px; background: #FBD9C6; top: -140px; right: -100px; animation: vaf-blob-drift-a 20s ease-in-out infinite; }
.vaf-hero-blob--2 { width: 380px; height: 380px; background: #FCE9DC; bottom: -160px; left: -120px; animation: vaf-blob-drift-b 24s ease-in-out infinite; }
@keyframes vaf-blob-drift-a { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-26px, 22px) scale(1.09); } }
@keyframes vaf-blob-drift-b { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(22px, -18px) scale(1.07); } }
/* Hold the blobs still on mobile. They are 460px/380px boxes under filter: blur(60px),
   so animating them means continuous compositing of a large blurred surface for the
   whole visit — expensive on a phone CPU and worst during the load window. The static
   colour wash is what actually carries the design. */
@media (max-width: 820px) {
	.vaf-hero-blob { animation: none; }
}
.vaf-hero-wrap > .wp-block-group, .vaf-hero-wrap > * { position: relative; z-index: 1; }
.vaf-hero-wrap > .vaf-hero-blob { z-index: 0; }

/* Hero trust row */
.vaf-trust { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin: 0 0 1.75rem; }
.vaf-avatar-stack { display: flex; }
.vaf-avatar-stack .vaf-avatar { width: 40px; height: 40px; font-size: 0.85rem; border: 2px solid #fff; margin-left: -12px; box-shadow: var(--vaf-shadow-sm); }
.vaf-avatar-stack .vaf-avatar:first-child { margin-left: 0; }
/* Distinct colour per avatar in the trust stack for a livelier look. */
.vaf-avatar-stack .vaf-avatar:nth-child(1) { background: linear-gradient(135deg, #D31A1F, #E8433C); }
.vaf-avatar-stack .vaf-avatar:nth-child(2) { background: linear-gradient(135deg, #16243F, #2E4372); }
.vaf-avatar-stack .vaf-avatar:nth-child(3) { background: linear-gradient(135deg, #2E9E63, #48C07F); }
.vaf-avatar-stack .vaf-avatar:nth-child(4) { background: linear-gradient(135deg, #7A5AF0, #9B84F5); }
.vaf-trust__meta { font-size: 0.9rem; color: var(--wp--preset--color--slate); line-height: 1.3; }
.vaf-trust__meta strong { display: block; color: var(--wp--preset--color--ink); font-family: var(--wp--preset--font-family--heading); }
.vaf-stars { color: #F5A623; display: inline-flex; gap: 1px; vertical-align: middle; }
.vaf-stars .vaf-icon.is-filled { fill: #F5A623; stroke: #F5A623; }

/* Hero floating portfolio chips */
.vaf-chip {
	position: absolute; z-index: 2; display: flex; align-items: center; gap: 0.55rem;
	background: #fff; border: 1px solid var(--wp--preset--color--hairline);
	border-radius: 999px; padding: 0.45rem 0.8rem 0.45rem 0.5rem;
	box-shadow: var(--vaf-shadow-md); font-size: 0.8rem;
}
/* Keep initials white - .vaf-chip span (slate) would otherwise override the avatar. */
.vaf-chip .vaf-avatar { width: 30px; height: 30px; font-size: 0.7rem; color: #fff; }
.vaf-chip strong { font-family: var(--wp--preset--font-family--heading); color: var(--wp--preset--color--ink); font-weight: 700; display: block; line-height: 1.1; }
.vaf-chip span { color: var(--wp--preset--color--slate); font-size: 0.72rem; }
.vaf-chip--a { top: 6%; left: -6%; animation: vaf-float 6s ease-in-out infinite; }
.vaf-chip--b { bottom: 20%; right: -8%; animation: vaf-float 7s ease-in-out infinite 0.8s; }
@keyframes vaf-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Hero floating info badges (Real-Time Support / Available / Verified) */
.vaf-hero-badge {
	position: absolute; z-index: 2; display: flex; align-items: center; gap: 0.6rem;
	background: #fff; border: 1px solid var(--wp--preset--color--hairline);
	border-radius: 15px; padding: 0.65rem 0.9rem;
	box-shadow: 0 14px 40px rgba(22, 36, 63, 0.14);
}
.vaf-hero-badge__ic {
	flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px;
	display: grid; place-items: center;
	background: var(--wp--preset--color--peach); color: var(--wp--preset--color--primary);
}
.vaf-hero-badge__ic--green { background: #E2F3EA; color: var(--wp--preset--color--green); }
.vaf-hero-badge__label {
	font-family: var(--wp--preset--font-family--heading); font-weight: 700;
	font-size: 0.85rem; color: var(--wp--preset--color--ink); line-height: 1.15; display: block;
}
.vaf-hero-badge__sub { display: block; font-size: 0.72rem; color: var(--wp--preset--color--slate); line-height: 1.2; }
.vaf-hero-badge__dot {
	flex: 0 0 auto; width: 11px; height: 11px; border-radius: 999px;
	background: var(--wp--preset--color--green); margin: 0 0.15rem;
	box-shadow: 0 0 0 0 rgba(46, 158, 99, 0.5); animation: vaf-pulse 2s ease-out infinite;
}
@keyframes vaf-pulse { 0% { box-shadow: 0 0 0 0 rgba(46, 158, 99, 0.5); } 70% { box-shadow: 0 0 0 8px rgba(46, 158, 99, 0); } 100% { box-shadow: 0 0 0 0 rgba(46, 158, 99, 0); } }
.vaf-hero-badge--tr { top: 13%; right: -4%; animation: vaf-float 7s ease-in-out infinite; }
.vaf-hero-badge--bl { bottom: 10%; left: -6%; animation: vaf-float 6.5s ease-in-out infinite 0.5s; }
.vaf-hero-badge--br { bottom: 27%; right: -7%; animation: vaf-float 7.8s ease-in-out infinite 1.1s; }

/* Stats band */
.vaf-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.vaf-stat { text-align: center; padding: 0.5rem; position: relative; }
.vaf-stat:not(:last-child)::after { content: ""; position: absolute; right: -0.5rem; top: 20%; height: 60%; width: 1px; background: var(--wp--preset--color--hairline); }
.vaf-stat__num { font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--wp--preset--color--primary); line-height: 1; }
.vaf-stat__label { margin-top: 0.4rem; font-size: 0.85rem; color: var(--wp--preset--color--slate); }

/* Find-a-VA search directory */
.vaf-directory__bar {
	display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem;
}
.vaf-search {
	position: relative; display: flex; align-items: center; flex: 1 1 320px; min-width: 240px;
}
.vaf-search .vaf-icon { position: absolute; left: 1rem; color: var(--wp--preset--color--slate); pointer-events: none; }
.vaf-search-input {
	width: 100%; font: inherit; color: var(--wp--preset--color--ink);
	background: #fff; border: 1px solid var(--wp--preset--color--hairline);
	border-radius: 999px; padding: 0.85rem 1.1rem 0.85rem 2.85rem;
	box-shadow: var(--vaf-shadow-sm); transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.vaf-search-input:focus { outline: none; border-color: var(--wp--preset--color--primary); box-shadow: 0 0 0 3px rgba(211, 26, 31, 0.15); }
.vaf-avail-toggle {
	display: inline-flex; align-items: center; gap: 0.45rem; white-space: nowrap;
	font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 0.9rem;
	color: var(--wp--preset--color--ink);
	background: #fff; border: 1px solid var(--wp--preset--color--hairline);
	border-radius: 999px; padding: 0.7rem 1.1rem; cursor: pointer;
}
.vaf-avail-toggle input { accent-color: var(--wp--preset--color--primary); }
.vaf-filter-skill, .vaf-filter-sort {
	font: inherit; font-size: 0.9rem; color: var(--wp--preset--color--ink);
	background: #fff; border: 1px solid var(--wp--preset--color--hairline);
	border-radius: 999px; padding: 0.7rem 2.2rem 0.7rem 1.1rem; cursor: pointer;
	appearance: none; -webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235C6678' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 1rem center;
}
.vaf-filter-skill:focus, .vaf-filter-sort:focus { outline: none; border-color: var(--wp--preset--color--primary); box-shadow: 0 0 0 3px rgba(211, 26, 31, 0.15); }

/* Skill/tool typeahead combobox (JS enhances .vaf-filter-skill into this). */
.vaf-combo-native { display: none; }
.vaf-combo { position: relative; }
.vaf-combo__field { position: relative; display: flex; align-items: center; }
.vaf-combo__input {
	width: 230px; font: inherit; font-size: 0.9rem; color: var(--wp--preset--color--ink);
	background: #fff; border: 1px solid var(--wp--preset--color--hairline);
	border-radius: 999px; padding: 0.7rem 2.2rem 0.7rem 1.1rem; cursor: text;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235C6678' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 1rem center;
}
.vaf-combo__input:focus { outline: none; border-color: var(--wp--preset--color--primary); box-shadow: 0 0 0 3px rgba(211, 26, 31, 0.15); }
.vaf-combo__input::placeholder { color: var(--wp--preset--color--slate); opacity: 1; }
.vaf-combo.has-value .vaf-combo__input { background-image: none; padding-right: 2.4rem; }
.vaf-combo__clear {
	position: absolute; right: 0.7rem; display: none; place-items: center;
	width: 22px; height: 22px; border-radius: 999px; border: 0; cursor: pointer;
	font-size: 1.05rem; line-height: 1; color: var(--wp--preset--color--slate);
	background: var(--wp--preset--color--cream); transition: color 0.2s ease, background 0.2s ease;
}
.vaf-combo.has-value .vaf-combo__clear { display: grid; }
.vaf-combo__clear:hover { color: var(--wp--preset--color--primary); background: var(--wp--preset--color--peach); }
.vaf-combo__panel {
	position: absolute; z-index: 30; top: calc(100% + 0.4rem); left: 0; min-width: 100%;
	max-height: 320px; overflow-y: auto; padding: 0.4rem;
	background: #fff; border: 1px solid var(--wp--preset--color--hairline);
	border-radius: 16px; box-shadow: var(--vaf-shadow-md);
}
.vaf-combo__group {
	padding: 0.55rem 0.7rem 0.3rem; font-family: var(--wp--preset--font-family--heading);
	font-weight: 700; font-size: 0.7rem; letter-spacing: 0.05em; text-transform: uppercase;
	color: var(--wp--preset--color--slate);
}
.vaf-combo__opt {
	padding: 0.5rem 0.7rem; border-radius: 10px; cursor: pointer;
	font-size: 0.88rem; color: var(--wp--preset--color--ink); white-space: nowrap;
}
.vaf-combo__opt:hover, .vaf-combo__opt.is-active { background: var(--wp--preset--color--peach); color: var(--wp--preset--color--primary); }
.vaf-combo__opt[aria-selected="true"] { font-weight: 700; color: var(--wp--preset--color--primary); }
.vaf-combo__none { padding: 0.7rem; color: var(--wp--preset--color--slate); font-size: 0.88rem; }

.vaf-directory__count { margin: 0.25rem 0 1.5rem; color: var(--wp--preset--color--slate); font-size: 0.9rem; }
.vaf-directory__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.vaf-showcase-card[hidden] { display: none; }

.vaf-directory__empty {
	text-align: center; padding: 3rem 1.5rem; color: var(--wp--preset--color--slate);
	background: #fff; border: 1px solid var(--wp--preset--color--hairline); border-radius: 20px;
}
.vaf-directory__empty .vaf-ic-badge { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--wp--preset--color--peach); margin-bottom: 0.75rem; }
.vaf-directory__reset {
	margin-top: 0.5rem; font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 0.9rem;
	color: #fff; background: var(--wp--preset--color--primary); border: 0; border-radius: 999px;
	padding: 0.6rem 1.4rem; cursor: pointer; transition: background 0.2s ease;
}
.vaf-directory__reset:hover { background: var(--wp--preset--color--primary-dark); }

.vaf-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.4rem; margin-top: 2.5rem; }
.vaf-page {
	min-width: 40px; font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 0.9rem;
	color: var(--wp--preset--color--ink); background: #fff;
	border: 1px solid var(--wp--preset--color--hairline); border-radius: 10px;
	padding: 0.55rem 0.85rem; cursor: pointer; transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.vaf-page:hover:not(:disabled) { border-color: var(--wp--preset--color--primary); color: var(--wp--preset--color--primary); }
.vaf-page.is-active { background: var(--wp--preset--color--primary); border-color: var(--wp--preset--color--primary); color: #fff; }
.vaf-page:disabled { opacity: 0.4; cursor: default; }
.vaf-page:focus-visible { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 2px; }

@media (max-width: 1000px) { .vaf-directory__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
	/* Compact filter bar: full-width search, a left-aligned "Available now"
	   toggle, then the two dropdowns side-by-side. Shorter and easier to use.
	   (The `flex: 1 1 320px` basis on .vaf-search would otherwise become a
	   vertical size in a column layout — the grid + width:100% avoids that.) */
	.vaf-directory__bar {
		display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; align-items: center;
	}
	.vaf-directory__bar .vaf-search { grid-column: 1 / -1; flex: 0 0 auto; width: 100%; min-width: 0; }
	.vaf-avail-toggle { grid-column: 1 / -1; justify-self: start; width: auto; }
	.vaf-filter-skill, .vaf-filter-sort { width: 100%; min-width: 0; font-size: 0.85rem; padding-inline: 0.9rem 2rem; }
	.vaf-combo { min-width: 0; }
	/* 1rem, not 0.85rem: iOS Safari auto-zooms the page when a focused control is
	   under 16px, and the viewport no longer blocks zoom to paper over that. */
	.vaf-combo__input { width: 100%; font-size: 1rem; padding-inline: 0.9rem 2rem; }
	.vaf-directory__grid { grid-template-columns: 1fr; }
}

/* Blog index — hero, featured post, toolbar, grid */
.vaf-blog__hero { margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.vaf-blog__eyebrow {
	display: inline-block; margin: 0 0 0.9rem;
	background: var(--wp--preset--color--peach); color: var(--wp--preset--color--primary);
	padding: 0.35rem 0.9rem; border-radius: 999px; font-size: 0.75rem;
}
.vaf-blog__title { margin: 0 0 0.75rem; font-size: clamp(2rem, 4.4vw, 3rem); line-height: 1.08; letter-spacing: -0.02em; color: var(--wp--preset--color--ink); }
.vaf-blog__sub { margin: 0; max-width: 52ch; color: var(--wp--preset--color--slate); font-size: 1.1rem; }

.vaf-featured {
	position: relative; display: block; overflow: hidden;
	border-radius: 24px; aspect-ratio: 16 / 8; min-height: 340px;
	box-shadow: var(--vaf-shadow-md); text-decoration: none;
}
.vaf-featured__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.16,1,0.3,1); }
.vaf-featured:hover .vaf-featured__img { transform: scale(1.04); }
.vaf-featured__overlay {
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(22,36,63,0) 30%, rgba(22,36,63,0.35) 55%, rgba(22,36,63,0.9) 100%);
}
.vaf-featured__arrow {
	position: absolute; top: 1.25rem; right: 1.25rem; z-index: 2;
	display: grid; place-items: center; width: 44px; height: 44px; border-radius: 999px;
	background: rgba(255,255,255,0.18); color: #fff;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	border: 1px solid rgba(255,255,255,0.3); transition: background 0.2s ease, transform 0.2s ease;
}
.vaf-featured:hover .vaf-featured__arrow { background: var(--wp--preset--color--primary); border-color: transparent; transform: translate(2px, -2px); }
.vaf-featured__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(1.5rem, 3vw, 2.5rem); color: #fff; }
.vaf-featured__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.85rem; }
.vaf-featured__tag {
	background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.28); color: #fff;
	font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 0.72rem;
	padding: 0.28rem 0.75rem; border-radius: 999px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.vaf-featured__heading { margin: 0 0 0.5rem; color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.15; }
.vaf-featured__excerpt { margin: 0 0 1.1rem; max-width: 62ch; color: rgba(255,255,255,0.85); font-size: 1rem; }
.vaf-featured__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem; font-size: 0.9rem; }
.vaf-featured__author { font-family: var(--wp--preset--font-family--heading); font-weight: 700; color: #fff; }
.vaf-featured__date { display: inline-flex; align-items: center; gap: 0.35rem; color: rgba(255,255,255,0.82); }
.vaf-featured__dot { width: 4px; height: 4px; border-radius: 999px; background: currentColor; opacity: 0.5; }
.vaf-avatar--sm { width: 34px; height: 34px; font-size: 0.72rem; }

.vaf-blog__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin: clamp(2rem, 4vw, 3rem) 0 2rem; min-width: 0; max-width: 100%; }
/* Hard-cap the tab strip's flex item at the toolbar width and let it scroll
   internally. The max-width cap (not just min-width:0) is required because
   Safari/iOS does not give the nested overflow-x:auto strip an automatic
   min-content of 0, so without it the full pill row leaks out and forces
   horizontal page overflow on mobile. */
.vaf-blog__bar .vaf-tabs-wrap { margin: 0; flex: 1 1 auto; min-width: 0; max-width: 100%; }
.vaf-blog__bar .vaf-tabs { margin-inline: 0; width: 100%; max-width: 100%; box-sizing: border-box; }
.vaf-blog__search { flex: 0 1 280px; }
/* Academy has many topic pills, so the tab strip fills the row and the search
   wraps to its own line — push it to the right edge there. */
.vaf-academy .vaf-blog__search { margin-left: auto; }
.vaf-tab__count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 0.35rem; margin-left: 0.15rem; border-radius: 999px; background: var(--wp--preset--color--peach); color: var(--wp--preset--color--primary); font-size: 0.7rem; }
.vaf-tab.is-active .vaf-tab__count { background: rgba(255,255,255,0.25); color: #fff; }

.vaf-blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.vaf-post-card[hidden] { display: none; }
.vaf-post-card__cat { font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 0.78rem; color: var(--wp--preset--color--primary); }
.vaf-post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; margin-top: auto; padding-top: 0.9rem; color: var(--wp--preset--color--slate); font-size: 0.82rem; }
.vaf-post-meta__author { font-family: var(--wp--preset--font-family--heading); font-weight: 600; color: var(--wp--preset--color--ink); }
.vaf-post-meta .vaf-featured__dot { background: var(--wp--preset--color--slate); }

.vaf-blog__empty { text-align: center; padding: 3rem 1.5rem; color: var(--wp--preset--color--slate); background: #fff; border: 1px solid var(--wp--preset--color--hairline); border-radius: 20px; }
.vaf-blog__empty .vaf-ic-badge { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--wp--preset--color--peach); margin-bottom: 0.75rem; }
.vaf-blog__reset { margin-top: 0.5rem; font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 0.9rem; color: #fff; background: var(--wp--preset--color--primary); border: 0; border-radius: 999px; padding: 0.6rem 1.4rem; cursor: pointer; }
.vaf-blog__reset:hover { background: var(--wp--preset--color--primary-dark); }

/* Academy — compact tutorial cards (no image) */
.vaf-tut-card { display: flex; flex-direction: column; }
.vaf-tut-card .vaf-post-card__body { padding-top: 1.4rem; }
.vaf-tut-card__head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.1rem; }
.vaf-tut-card__ic {
	flex: 0 0 auto; width: 38px; height: 38px; border-radius: 11px;
	display: grid; place-items: center; color: var(--wp--preset--color--primary);
	background: var(--wp--preset--color--peach);
}
.vaf-tut-card:nth-child(4n+2) .vaf-tut-card__ic { color: #16243F; background: rgba(22, 36, 63, 0.08); }
.vaf-tut-card:nth-child(4n+3) .vaf-tut-card__ic { color: #217A4B; background: rgba(46, 158, 99, 0.12); }
.vaf-tut-card:nth-child(4n+4) .vaf-tut-card__ic { color: #3E63C8; background: rgba(62, 99, 200, 0.12); }
.vaf-tut-card .vaf-post-meta__read { display: inline-flex; align-items: center; gap: 0.35rem; }

@media (max-width: 1000px) { .vaf-blog__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
	.vaf-blog__bar { flex-direction: column; align-items: stretch; }
	/* Full-width search on mobile: reset the desktop auto cross-axis margin,
	   which would otherwise cancel the column's align-items:stretch. */
	.vaf-blog__search, .vaf-academy .vaf-blog__search { flex: 1 1 auto; width: 100%; margin-left: 0; }
	.vaf-blog__grid { grid-template-columns: 1fr; }
	.vaf-featured { aspect-ratio: auto; min-height: 0; }
	.vaf-featured__img { position: relative; height: 220px; }
	.vaf-featured__overlay { background: linear-gradient(180deg, rgba(22,36,63,0.1), rgba(22,36,63,0.85)); }
	.vaf-featured__body { position: relative; background: var(--wp--preset--color--ink); }
}
@media (prefers-reduced-motion: reduce) { .vaf-featured__img { transition: none; } }

/* Featured VAs showcase */
.vaf-tabs-wrap { position: relative; margin: 2rem 0 2.5rem; }
.vaf-tabs {
	display: flex; flex-wrap: nowrap; gap: 0.5rem;
	width: max-content; max-width: 100%; margin-inline: auto;
	overflow-x: auto; padding: 0.3rem 0.5rem 0.7rem;
	scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.vaf-tabs::-webkit-scrollbar { display: none; }
/* When scrollable, fade the clipped chips at the edges (real transparency, no hard cut). */
.vaf-tabs-wrap.is-scrollable .vaf-tabs {
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%);
}
.vaf-tabs-wrap.is-scrollable.at-start .vaf-tabs {
	-webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent 100%);
	mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent 100%);
}
.vaf-tabs-wrap.is-scrollable.at-end .vaf-tabs {
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 36px, #000 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 36px, #000 100%);
}
.vaf-tab {
	flex: 0 0 auto; scroll-snap-align: center;
	border: 1px solid var(--wp--preset--color--hairline); background: #fff;
	color: var(--wp--preset--color--ink); font-family: var(--wp--preset--font-family--heading);
	font-weight: 600; font-size: 0.85rem; padding: 0.5rem 1rem; border-radius: 999px;
	cursor: pointer; transition: all 0.18s ease; display: inline-flex; align-items: center; gap: 0.4rem; white-space: nowrap;
}
.vaf-tab:hover { border-color: var(--wp--preset--color--primary); color: var(--wp--preset--color--primary); }
.vaf-tab.is-active { background: var(--wp--preset--color--primary); border-color: var(--wp--preset--color--primary); color: #fff; }
.vaf-tab .vaf-icon { width: 15px; height: 15px; }
.vaf-showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
/* height:auto overrides .vaf-card{height:100%}, which broke grid auto-row sizing
   and let tall cards overflow into the next row. Grid stretch equalizes each row. */
.vaf-showcase-grid { align-items: stretch; }
.vaf-showcase-card { display: flex; flex-direction: column; height: auto; padding: 1.5rem; animation: vaf-fade 0.4s ease; }
.vaf-showcase-card[hidden] { display: none; }
@keyframes vaf-fade { from { opacity: 0; transform: scale(0.98); } to { opacity: 1; transform: none; } }
.vaf-showcase-card__head { display: flex; align-items: center; gap: 0.85rem; margin-bottom: 0.9rem; }
.vaf-showcase-card__name { font-family: var(--wp--preset--font-family--heading); font-weight: 700; color: var(--wp--preset--color--ink); font-size: 1.05rem; }
.vaf-showcase-card__cat { font-size: 0.78rem; color: var(--wp--preset--color--primary); font-weight: 600; }
.vaf-showcase-card p { color: var(--wp--preset--color--slate); font-size: 0.9rem; margin: 0 0 1rem; flex: 1; }
.vaf-showcase-card a.vaf-portfolio-link { font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 0.85rem; color: var(--wp--preset--color--primary); text-decoration: none; display: inline-flex; align-items: center; gap: 0.3rem; }
.vaf-showcase-card a.vaf-portfolio-link:hover { gap: 0.5rem; color: var(--wp--preset--color--primary-dark); }

/* Photo avatar (featured image) — replaces the initials block when present */
.vaf-avatar--photo { overflow: hidden; padding: 0; }
.vaf-avatar--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Availability badge on cards */
.vaf-avail-badge {
	margin-left: auto; align-self: flex-start;
	display: inline-flex; align-items: center; gap: 0.35rem;
	font-family: var(--wp--preset--font-family--heading); font-weight: 700;
	font-size: 0.68rem; letter-spacing: 0.02em; padding: 0.25rem 0.6rem; border-radius: 999px;
	white-space: nowrap;
}
.vaf-avail-badge--on { color: #217A4B; background: rgba(46, 158, 99, 0.12); }
.vaf-avail-badge--off { color: #5C6678; background: rgba(92, 102, 120, 0.10); }

/* Skill chips on cards */
.vaf-skill-chips { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0 0 1rem; }
.vaf-skill-chip {
	font-size: 0.74rem; font-weight: 600; color: var(--wp--preset--color--ink);
	background: var(--wp--preset--color--cream); border: 1px solid var(--wp--preset--color--hairline);
	padding: 0.25rem 0.6rem; border-radius: 999px;
}

/* Tool chips on the single VA page */
.vaf-tool-chip {
	font-size: 0.82rem; font-weight: 600; color: var(--wp--preset--color--ink);
	background: var(--wp--preset--color--peach);
	padding: 0.3rem 0.7rem; border-radius: 999px;
}
.vaf-showcase-empty { text-align: center; color: var(--wp--preset--color--slate); padding: 2rem; }

/* Comparison — "before / after" */
.vaf-vs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 2.75rem; align-items: stretch; }
.vaf-vs__card { position: relative; overflow: hidden; border-radius: 24px; padding: clamp(1.75rem, 3vw, 2.25rem); }
.vaf-vs__card--old { background: #fff; border: 1px solid var(--wp--preset--color--hairline); }
.vaf-vs__card--new { background: linear-gradient(155deg, #1C2C4D 0%, #16243F 55%, #1E3059 100%); color: #fff; box-shadow: 0 32px 64px rgba(22, 36, 63, 0.30); transform: translateY(-10px); }
.vaf-vs__glow { position: absolute; z-index: 0; width: 300px; height: 300px; border-radius: 50%; background: var(--wp--preset--color--primary); filter: blur(85px); opacity: 0.30; top: -90px; right: -70px; pointer-events: none; }
.vaf-vs__card--new > * { position: relative; z-index: 1; }
.vaf-vs__head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.vaf-vs__ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: 0 0 auto; }
.vaf-vs__ic--old { background: var(--wp--preset--color--cream); color: var(--wp--preset--color--slate); }
.vaf-vs__ic--new { background: rgba(255,255,255,0.12); color: #fff; }
.vaf-vs__label { font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 1.18rem; letter-spacing: -0.01em; }
.vaf-vs__card--old .vaf-vs__label { color: var(--wp--preset--color--ink); }
.vaf-vs__card--new .vaf-vs__label { color: #fff; }
.vaf-vs__pill { margin-left: auto; display: inline-flex; align-items: center; gap: 0.3rem; background: linear-gradient(135deg, var(--wp--preset--color--primary), #E8433C); color: #fff; font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 0.72rem; padding: 0.32rem 0.72rem; border-radius: 999px; box-shadow: 0 6px 16px rgba(211, 26, 31,0.35); }
.vaf-vs__pill .vaf-icon.is-filled { fill: #fff; stroke: #fff; }
.vaf-vs__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.05rem; }
.vaf-vs__list li { display: flex; align-items: center; gap: 0.85rem; font-size: 1rem; }
.vaf-vs__card--old li { color: var(--wp--preset--color--slate); }
.vaf-vs__card--new li { color: rgba(255,255,255,0.94); }
.vaf-vs__bullet { flex: 0 0 auto; width: 27px; height: 27px; border-radius: 999px; display: grid; place-items: center; }
.vaf-vs__bullet--x { background: #FBE4DF; color: #AD1417; }
.vaf-vs__bullet--check { background: rgba(46, 158, 99, 0.24); color: #86E6AD; }
.vaf-vs__badge {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	width: 58px; height: 58px; border-radius: 999px; z-index: 3;
	background: #fff; border: 1px solid var(--wp--preset--color--hairline);
	box-shadow: var(--vaf-shadow-md); display: grid; place-items: center;
	color: var(--wp--preset--color--primary);
}
@media (max-width: 820px) {
	.vaf-vs { grid-template-columns: 1fr; gap: 2.75rem; }
	.vaf-vs__card--new { transform: none; }
	.vaf-vs__badge { top: 50%; transform: translate(-50%, -50%) rotate(90deg); }
}

/* Step timeline connector */
.vaf-steps { position: relative; }
.vaf-steps::before { content: ""; position: absolute; top: 32px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--wp--preset--color--hairline) 0 8px, transparent 8px 16px); z-index: 0; }
.vaf-steps > div { position: relative; z-index: 1; }

/* Testimonials */
.vaf-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.vaf-quote {
	padding: 1.9rem; display: flex; flex-direction: column; height: auto;
	border: 1px solid var(--wp--preset--color--hairline);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.vaf-quote:hover { transform: translateY(-5px); box-shadow: var(--vaf-shadow-md); border-color: transparent; }
.vaf-quote blockquote { margin: 0; }
.vaf-quote__mark { color: var(--wp--preset--color--primary); opacity: 0.5; margin-bottom: 0.5rem; display: block; }
.vaf-quote__stars { display: inline-flex; gap: 2px; margin-bottom: 0.85rem; }
.vaf-quote__stars .vaf-icon.is-filled { fill: #F5A623; stroke: #F5A623; }
.vaf-quote p { color: var(--wp--preset--color--ink); font-size: 1.02rem; line-height: 1.62; margin: 0 0 1.5rem; flex: 1; }
.vaf-quote__who { display: flex; align-items: center; gap: 0.8rem; margin-top: auto; padding-top: 1.1rem; border-top: 1px solid var(--wp--preset--color--hairline); }
.vaf-quote__who .vaf-avatar { width: 46px; height: 46px; font-size: 0.85rem; }
.vaf-quote__name { font-family: var(--wp--preset--font-family--heading); font-weight: 700; color: var(--wp--preset--color--ink); font-size: 0.95rem; display: block; line-height: 1.25; margin-bottom: 0; }
.vaf-quote__role { display: block; font-size: 0.8rem; line-height: 1.25; color: var(--wp--preset--color--slate); }

/* FAQ */
.vaf-faq { max-width: 780px; margin: 0 auto; display: grid; gap: 0.85rem; }
.vaf-faq-item { background: #fff; border: 1px solid var(--wp--preset--color--hairline); border-radius: 16px; overflow: hidden; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.vaf-faq-item.is-open { border-color: var(--wp--preset--color--primary); box-shadow: var(--vaf-shadow-sm); }
.vaf-faq-q {
	width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	padding: 1.15rem 1.4rem; font-family: var(--wp--preset--font-family--heading);
	font-weight: 700; font-size: 1rem; color: var(--wp--preset--color--ink);
}
.vaf-faq-q .vaf-icon { color: var(--wp--preset--color--primary); transition: transform 0.25s ease; flex: 0 0 auto; }
.vaf-faq-item.is-open .vaf-faq-q .vaf-icon { transform: rotate(180deg); }
.vaf-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.vaf-faq-item.is-open .vaf-faq-a { max-height: 320px; }
.vaf-faq-a p { margin: 0; padding: 0 1.4rem 1.25rem; color: var(--wp--preset--color--slate); font-size: 0.95rem; line-height: 1.6; }

/* Find-a-VA category cards */
/* height:auto overrides .vaf-card{height:100%}, which in a stretch grid inflated the
   cards (big void before "View all") and overflowed into the next row. */
.vaf-cat-card { display: flex; flex-direction: column; height: auto; padding: 1.5rem 1.35rem; text-decoration: none; }
.vaf-cat-card__head { display: flex; align-items: flex-start; gap: 0.65rem; margin-bottom: 1rem; min-height: 2.6rem; }
.vaf-cat-card__ic { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--wp--preset--color--peach); color: var(--wp--preset--color--primary); transition: transform 0.2s ease; }
.vaf-cat-card:hover .vaf-cat-card__ic { transform: scale(1.06); }
.vaf-cat-card__heading { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vaf-cat-card__title { font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.03em; text-transform: uppercase; color: var(--wp--preset--color--ink); line-height: 1.2; }
.vaf-cat-card__count { font-size: 0.72rem; color: var(--wp--preset--color--slate); font-weight: 500; }
.vaf-cat-card__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.vaf-cat-card__list li { display: flex; align-items: center; gap: 0.55rem; font-size: 0.9rem; color: var(--wp--preset--color--slate); }
.vaf-cat-card__dot { flex: 0 0 auto; width: 6px; height: 6px; border-radius: 999px; background: var(--wp--preset--color--primary); opacity: 0.7; }
.vaf-cat-card__viewall { margin-top: auto; padding-top: 1rem; display: inline-flex; align-items: center; gap: 0.35rem; font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 0.82rem; color: var(--wp--preset--color--primary); transition: gap 0.2s ease; }
.vaf-cat-card:hover .vaf-cat-card__viewall { gap: 0.6rem; color: var(--wp--preset--color--primary-dark); }

/* Tools strip logos */
.vaf-tools { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 2.25rem; }
.vaf-tool {
	display: inline-flex; align-items: center; gap: 0.5rem;
	font-family: var(--wp--preset--font-family--heading); font-weight: 800; font-size: 1.15rem;
	color: var(--wp--preset--color--ink); opacity: 0.85;
	transition: opacity 0.2s ease, transform 0.2s ease;
}
.vaf-tool:hover { opacity: 1; transform: translateY(-2px); }
.vaf-tool svg { display: block; flex: 0 0 auto; }

/* Photography */
.vaf-hero-photo { border-radius: 30px; overflow: hidden; border: 8px solid #fff; box-shadow: var(--vaf-shadow-lg); aspect-ratio: 4 / 5; background: var(--wp--preset--color--peach); }
.vaf-hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
/* Cap the hero photo on desktop so it reads as a portrait card, centered in its column. */
@media (min-width: 821px) {
	.vaf-hero-photo { max-width: 375px; margin-inline: auto; }
}
.vaf-photo-frame { border-radius: 24px; overflow: hidden; box-shadow: var(--vaf-shadow-md); line-height: 0; border: 6px solid #fff; }
.vaf-photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vaf-promo { border-radius: 24px; overflow: hidden; box-shadow: var(--vaf-shadow-sm); display: flex; flex-direction: column; }
.vaf-promo__img { height: 190px; overflow: hidden; position: relative; }
.vaf-promo__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.vaf-promo:hover .vaf-promo__img img { transform: scale(1.04); }
.vaf-promo__body { padding: clamp(1.75rem, 3vw, 2.25rem); flex: 1; display: flex; flex-direction: column; }

/* Audience split cards (For Businesses / For Virtual Assistants) */
.vaf-audience { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.vaf-audience-card {
	display: flex; flex-direction: column;
	background: #fff; border: 1px solid var(--wp--preset--color--hairline);
	border-radius: 24px; overflow: hidden; box-shadow: var(--vaf-shadow-sm);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.vaf-audience-card:hover { transform: translateY(-5px); box-shadow: var(--vaf-shadow-md); }
.vaf-audience-card__head {
	position: relative; overflow: hidden;
	display: flex; align-items: center; gap: 1rem;
	padding: clamp(1.5rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2.25rem);
}
.vaf-audience-card--biz .vaf-audience-card__head { background: linear-gradient(135deg, #D31A1F 0%, #E8433C 100%); }
.vaf-audience-card--va .vaf-audience-card__head { background: linear-gradient(135deg, #16243F 0%, #22345C 100%); }
/* Soft decorative circle for a little depth in the header band. */
.vaf-audience-card__head::after {
	content: ""; position: absolute; right: -34px; top: -46px;
	width: 150px; height: 150px; border-radius: 50%; background: rgba(255, 255, 255, 0.10);
}
.vaf-audience-card__ic {
	position: relative; z-index: 1; flex: 0 0 auto;
	width: 54px; height: 54px; border-radius: 15px;
	display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, 0.18);
}
.vaf-audience-card__eyebrow {
	position: relative; z-index: 1; margin: 0 0 0.15rem; color: rgba(255, 255, 255, 0.82);
	font-family: var(--wp--preset--font-family--heading); font-weight: 700;
	font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.vaf-audience-card__title { position: relative; z-index: 1; margin: 0; color: #fff; font-size: 1.35rem; }
.vaf-audience-card__body { padding: clamp(1.6rem, 3vw, 2.25rem); display: flex; flex-direction: column; flex: 1; }
.vaf-audience-card__desc { color: var(--wp--preset--color--slate); margin: 0 0 1.35rem; }
.vaf-audience-card__body .vaf-checks { margin: 0 0 1.75rem; }
.vaf-audience-card__cta {
	margin-top: auto; align-self: flex-start;
	display: inline-flex; align-items: center; gap: 0.5rem;
	background: var(--wp--preset--color--primary); color: #fff;
	font-family: var(--wp--preset--font-family--heading); font-weight: 700;
	padding: 0.8rem 1.6rem; border-radius: 999px; text-decoration: none;
	box-shadow: 0 10px 22px rgba(211, 26, 31, 0.24);
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.vaf-audience-card__cta .vaf-icon { transition: transform 0.2s ease; }
.vaf-audience-card__cta:hover {
	background: var(--wp--preset--color--primary-dark);
	transform: translateY(-2px);
	box-shadow: 0 16px 30px rgba(211, 26, 31, 0.32);
}
.vaf-audience-card__cta:hover .vaf-icon { transform: translateX(3px); }
.vaf-audience-card__cta--ink { background: var(--wp--preset--color--ink); box-shadow: 0 10px 22px rgba(22, 36, 63, 0.2); }
.vaf-audience-card__cta--ink:hover { background: #22345C; box-shadow: 0 16px 30px rgba(22, 36, 63, 0.3); }
@media (max-width: 760px) { .vaf-audience { grid-template-columns: 1fr; } }

/* Staggered word reveal for the hero title.
 * The stagger is deliberately tight: these words start at opacity 0, so the last one
 * to land sets the floor for Largest Contentful Paint whenever the H1 is the LCP
 * element. At the old 0.7s/0.07s the 8th word finished ~1.19s after styles applied.
 * 0.55s/0.035s keeps the same effect but settles by ~0.8s. Do not raise these. */
.vaf-hero-title .vaf-word {
	display: inline-block; opacity: 0; transform: translateY(0.5em);
	animation: vaf-word-in 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
	animation-delay: calc(var(--i) * 0.035s);
}
.vaf-word--accent { color: #D31A1F; }
@keyframes vaf-word-in { from { opacity: 0; transform: translateY(0.5em); } to { opacity: 1; transform: none; } }

/* Faded hairline divider with a small centered accent dot */
.vaf-divider { position: relative; height: 1px; background: linear-gradient(90deg, transparent, var(--wp--preset--color--hairline) 18%, var(--wp--preset--color--hairline) 82%, transparent); }
.vaf-divider::after {
	content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	width: 8px; height: 8px; border-radius: 999px;
	background: var(--wp--preset--color--primary);
	box-shadow: 0 0 0 5px var(--wp--preset--color--base), 0 0 0 6px var(--wp--preset--color--hairline);
}

/* Section eyebrow centered helper */
.vaf-sec-eyebrow { text-align: center; margin: 0 0 0.5rem; }

/* Focus visibility */
.vaf-tab:focus-visible, .vaf-faq-q:focus-visible { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 2px; }

/* Responsive */
@media (max-width: 1000px) {
	.vaf-stats { grid-template-columns: repeat(3, 1fr); }
	.vaf-stat:nth-child(3)::after { display: none; }
	.vaf-showcase-grid, .vaf-quotes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
	/* Trim the oversized hero top/bottom padding on mobile. */
	.vaf-hero-wrap { padding-top: var(--wp--preset--spacing--40) !important; padding-bottom: var(--wp--preset--spacing--50) !important; }
	/* Keep the hero floating labels on mobile: shrink them and pin them into
	   the corners so they sit on the photo edges and clear the subject's face. */
	.vaf-chip { font-size: 0.52rem; padding: 0.22rem 0.5rem 0.22rem 0.28rem; gap: 0.32rem; }
	.vaf-chip .vaf-avatar { width: 18px; height: 18px; font-size: 0.46rem; }
	.vaf-chip--a { top: 43%; left: 33px; }
	.vaf-chip--b { bottom: 16%; right: 0; }
	.vaf-hero-badge { padding: 0.3rem 0.45rem; gap: 0.32rem; border-radius: 9px; }
	.vaf-hero-badge__ic { width: 20px; height: 20px; border-radius: 6px; }
	.vaf-hero-badge__ic .vaf-icon { width: 12px; height: 12px; }
	.vaf-hero-badge__label { font-size: 0.56rem; }
	.vaf-hero-badge__sub { font-size: 0.5rem; }
	.vaf-hero-badge__dot { width: 7px; height: 7px; }
	.vaf-hero-badge--tr { top: 3%; right: 0; }
	.vaf-hero-badge--bl { bottom: 3%; left: 0; }
	.vaf-hero-badge--br { bottom: 18%; right: 0; }
	.vaf-steps::before { display: none; }
	.vaf-compare { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.vaf-stats { grid-template-columns: repeat(2, 1fr); }
	.vaf-stat::after { display: none !important; }
	.vaf-showcase-grid, .vaf-quotes { grid-template-columns: 1fr; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	.vaf-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
	.vaf-hero-title .vaf-word { opacity: 1 !important; transform: none !important; animation: none !important; }
	.vaf-chip { animation: none !important; }
	.vaf-showcase-card { animation: none !important; }
	.vaf-hero-blob { animation: none !important; }
	.vaf-hero-badge, .vaf-hero-badge__dot { animation: none !important; }
}

/* ===========================================================================
   PREMIUM BUTTON HOVER (applies across core buttons, header CTA, CF7 submit,
   and the inline pill links used throughout the patterns)
   =========================================================================== */
.wp-block-button__link,
.vaf-getstarted,
.vaf-mega-foot__cta,
.wpcf7-form input[type="submit"],
a[style*="border-radius:999px"] {
	transition: transform 0.28s cubic-bezier(0.34, 1.4, 0.5, 1), filter 0.25s ease, box-shadow 0.25s ease, background 0.2s ease, color 0.2s ease;
}
.wp-block-button__link:hover,
.vaf-getstarted:hover,
.vaf-mega-foot__cta:hover,
.wpcf7-form input[type="submit"]:hover,
a[style*="border-radius:999px"]:hover {
	transform: translateY(-3px);
	filter: brightness(1.05) saturate(1.04) drop-shadow(0 12px 22px rgba(22, 36, 63, 0.22));
}
.wp-block-button__link:active,
.vaf-getstarted:active,
.vaf-mega-foot__cta:active,
.wpcf7-form input[type="submit"]:active,
a[style*="border-radius:999px"]:active {
	transform: translateY(-1px);
}
.wp-block-button__link:focus-visible,
.vaf-getstarted:focus-visible,
.wpcf7-form input[type="submit"]:focus-visible,
a[style*="border-radius:999px"]:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 3px;
}

/* Sheen sweep on the pill buttons */
.vaf-getstarted,
a[style*="border-radius:999px"] { position: relative; overflow: hidden; isolation: isolate; }
.vaf-getstarted::after,
a[style*="border-radius:999px"]::after {
	content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
	background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,0.38) 50%, transparent 62%);
	transform: translateX(-135%); transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.vaf-getstarted:hover::after,
a[style*="border-radius:999px"]:hover::after { transform: translateX(135%); }

@media (prefers-reduced-motion: reduce) {
	.wp-block-button__link, .vaf-getstarted, .vaf-mega-foot__cta,
	.wpcf7-form input[type="submit"], a[style*="border-radius:999px"] { transition: filter 0.2s ease; }
	.wp-block-button__link:hover, .vaf-getstarted:hover, .vaf-mega-foot__cta:hover,
	.wpcf7-form input[type="submit"]:hover, a[style*="border-radius:999px"]:hover { transform: none; }
	.vaf-getstarted::after, a[style*="border-radius:999px"]::after { display: none; }
}

/* ===========================================================================
   BLOG / SEARCH / ARCHIVE / 404
   =========================================================================== */

/* Post-template grid: consistent gap + responsive column count. */
.vaf-post-template.is-layout-grid { gap: 1.5rem; align-items: stretch; }

/* Post card — image on top, meta, title, excerpt, read-more. */
.vaf-post-card {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	padding: 0;
	height: 100%;
}
.vaf-post-card__media {
	margin: 0;
	line-height: 0;
	background: var(--wp--preset--color--peach);
}
.vaf-post-card__media,
.vaf-post-card__media a { display: block; }
.vaf-post-card__media img {
	width: 100%;
	height: 190px;
	object-fit: cover;
	display: block;
	border-radius: 0;
	transition: transform 0.4s ease;
}
.vaf-post-card:hover .vaf-post-card__media img { transform: scale(1.04); }

.vaf-post-card__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1.3rem 1.4rem 1.5rem;
}
/* Meta eyebrow: date + category */
.vaf-post-meta {
	align-items: center;
	gap: 0.5rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.vaf-post-meta__date { color: var(--wp--preset--color--slate); }
.vaf-post-meta__cat { position: relative; }
.vaf-post-meta__cat::before {
	content: ""; display: inline-block; vertical-align: middle;
	width: 4px; height: 4px; border-radius: 999px; margin-right: 0.6rem;
	background: var(--wp--preset--color--hairline);
}
.vaf-post-meta__cat, .vaf-post-meta__cat a {
	color: var(--wp--preset--color--primary);
	text-decoration: none;
}
.vaf-post-meta__cat a:hover { text-decoration: underline; }

.vaf-post-card__title { margin: 0; }
.vaf-post-card__title,
.vaf-post-card__title a {
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 1.18rem;
	line-height: 1.3;
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}
.vaf-post-card__title a:hover { color: var(--wp--preset--color--primary); }

.vaf-post-card__excerpt {
	margin: 0;
	color: var(--wp--preset--color--slate);
	font-size: 0.94rem;
	line-height: 1.6;
}
.vaf-post-card__excerpt p { margin: 0; }

.vaf-readmore {
	margin-top: auto;
	padding-top: 0.35rem;
	display: inline-flex;
	align-items: center;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 0.85rem;
	color: var(--wp--preset--color--primary);
	text-decoration: none;
	transition: gap 0.2s ease, color 0.2s ease;
}
.vaf-readmore:hover { color: var(--wp--preset--color--primary-dark); letter-spacing: 0.005em; }

.vaf-pagination { margin-top: var(--wp--preset--spacing--60); gap: 0.35rem; }
.vaf-pagination .wp-block-query-pagination-numbers .page-numbers {
	display: inline-grid; place-items: center;
	min-width: 40px; height: 40px; padding: 0 0.5rem; border-radius: 12px;
	border: 1px solid var(--wp--preset--color--hairline);
	color: var(--wp--preset--color--ink); text-decoration: none;
	font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 0.9rem;
	transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.vaf-pagination .page-numbers:hover { border-color: var(--wp--preset--color--primary); color: var(--wp--preset--color--primary); }
.vaf-pagination .page-numbers.current { background: var(--wp--preset--color--primary); border-color: var(--wp--preset--color--primary); color: #fff; }
.vaf-pagination .wp-block-query-pagination-previous,
.vaf-pagination .wp-block-query-pagination-next {
	font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 0.9rem;
	color: var(--wp--preset--color--primary); text-decoration: none;
}

/* Empty / no-results state */
.vaf-empty { max-width: 620px; margin-inline: auto; }
.vaf-empty h3 { color: var(--wp--preset--color--ink); margin: 0 0 0.5rem; }
.vaf-empty p { color: var(--wp--preset--color--slate); margin: 0 auto 1.5rem; max-width: 46ch; }

/* Branded search block (core wp:search, button-inside) */
.vaf-search-form .wp-block-search { margin: 0; }
.vaf-search-form .wp-block-search .wp-block-search__inside-wrapper {
	border: 1px solid var(--wp--preset--color--hairline);
	background: #fff;
	border-radius: 999px;
	padding: 0.3rem 0.35rem 0.3rem 1.1rem;
	box-shadow: var(--vaf-shadow-sm);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.vaf-search-form .wp-block-search:focus-within .wp-block-search__inside-wrapper {
	border-color: var(--wp--preset--color--primary);
	box-shadow: 0 0 0 3px rgba(211, 26, 31, 0.15);
}
.vaf-search-form .wp-block-search__input {
	border: 0; background: transparent; outline: none;
	/* 1rem keeps it at/above 16px so iOS does not auto-zoom on focus. */
	font: inherit; font-size: 1rem; color: var(--wp--preset--color--ink);
	padding: 0.55rem 0.5rem;
}
.vaf-search-form .wp-block-search__input::placeholder { color: var(--wp--preset--color--slate); }
.vaf-search-form .wp-block-search__button {
	margin: 0; border: 0; cursor: pointer;
	background: var(--wp--preset--color--primary); color: #fff;
	border-radius: 999px; padding: 0.6rem 1.25rem;
	display: inline-flex; align-items: center; gap: 0.4rem;
	font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 0.9rem;
	box-shadow: 0 8px 18px rgba(211, 26, 31, 0.25);
	transition: background 0.2s ease;
}
.vaf-search-form .wp-block-search__button:hover { background: var(--wp--preset--color--primary-dark); }
.vaf-search-form .wp-block-search__button svg { fill: currentColor; width: 18px; height: 18px; }
.vaf-search-form .wp-block-search__button-behavior-expand { min-width: 0; }
.vaf-search-form .wp-block-search__input:focus-visible,
.vaf-search-form .wp-block-search__button:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary); outline-offset: 2px;
}

/* 404 quick-link cards */
.vaf-404-links { margin-top: 0.5rem; }
.vaf-404-card {
	display: flex; flex-direction: column; align-items: flex-start;
	padding: 1.6rem 1.5rem; text-decoration: none; text-align: left;
}
.vaf-404-card .vaf-ic-badge { margin-bottom: 1rem; }
.vaf-404-card__label {
	display: inline-flex; align-items: center; gap: 0.35rem;
	font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 1.02rem;
	color: var(--wp--preset--color--ink); margin-bottom: 0.35rem;
}
.vaf-404-card__arrow { color: var(--wp--preset--color--primary); transition: transform 0.2s ease; }
.vaf-404-card:hover .vaf-404-card__arrow { transform: translateX(3px); }
.vaf-404-card:hover .vaf-404-card__label { color: var(--wp--preset--color--primary); }
.vaf-404-card__text { color: var(--wp--preset--color--slate); font-size: 0.9rem; line-height: 1.55; }
.vaf-404-card:focus-visible { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 3px; }

/* Focus visibility for card title / read-more links */
.vaf-post-card__title a:focus-visible,
.vaf-readmore:focus-visible,
.vaf-post-card__media a:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary); outline-offset: 3px; border-radius: 4px;
}

/* Responsive column counts for the post grid + 404 links */
@media (max-width: 1000px) {
	.vaf-post-template.is-layout-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 760px) {
	.vaf-404-links { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 560px) {
	.vaf-post-template.is-layout-grid { grid-template-columns: 1fr !important; }
	.vaf-404-links { grid-template-columns: 1fr !important; }
	.vaf-search-form .wp-block-search__button { padding: 0.6rem 0.9rem; }
}

@media (prefers-reduced-motion: reduce) {
	.vaf-post-card:hover .vaf-post-card__media img { transform: none; }
	.vaf-404-card:hover .vaf-404-card__arrow { transform: none; }
}

/* ---------------------------------------------------------------------------
   Directory & Academy archives + tutorial single
--------------------------------------------------------------------------- */

/* Base 3-col grid (patterns apply the class without inline styles) */
.vaf-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
/* height:auto overrides .vaf-card{height:100%}, which in a multi-row stretch grid
   let taller cards overflow and overlap the next row. Grid stretch equalizes rows. */
.vaf-grid-3 > .vaf-card { height: auto; }

/* Small count pill shown in archive heroes */
.vaf-archive-count {
	display: flex; align-items: center; justify-content: center; gap: 0.45rem;
	margin: 1.25rem auto 0;
	padding: 0.4rem 0.95rem; border-radius: 999px;
	background: #fff; border: 1px solid var(--wp--preset--color--hairline);
	box-shadow: var(--vaf-shadow-sm);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700; font-size: 0.82rem; color: var(--wp--preset--color--ink);
	width: max-content;
}
.vaf-archive-count .vaf-icon { color: var(--wp--preset--color--primary); }

/* Long topic names (e.g. "Design/Development") are a single unbreakable token;
   without this the hero heading overflows on narrow screens and forces
   horizontal scroll. The <wbr> after slashes gives a clean break point;
   overflow-wrap is the fallback for any other long token. */
.has-hero-cream-gradient-background .wp-block-heading { overflow-wrap: break-word; }

/* "Coming Soon" status pill (Podcast hero). Reuses the peach/primary pairing the
   icon badges use, so it reads as part of the brand rather than a generic badge. */
.vaf-soon-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.4rem 0.95rem;
	border-radius: 999px;
	background: var(--wp--preset--color--peach);
	color: var(--wp--preset--color--primary);
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	font-size: 0.75rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.vaf-soon-badge__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
	animation: vaf-soon-pulse 2.4s ease-in-out infinite;
}
@keyframes vaf-soon-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.72); } }
@media (prefers-reduced-motion: reduce) {
	.vaf-soon-badge__dot { animation: none; }
}
.vaf-soon-note { color: var(--wp--preset--color--slate); font-size: 0.9rem; }

/* Friendly empty-state card */
.vaf-archive-empty { text-align: center; max-width: 520px; margin: 0 auto; padding: 2.5rem 2rem; }
.vaf-archive-empty .vaf-ic-badge { margin: 0 auto 1rem; }
.vaf-archive-empty h3 { margin: 0 0 0.5rem; color: var(--wp--preset--color--ink); font-size: 1.15rem; }
.vaf-archive-empty p { margin: 0; color: var(--wp--preset--color--slate); }

/* Tutorial cards (topic archive + related) reuse .vaf-card */
.vaf-tutorial-card { display: flex; flex-direction: column; height: auto; padding: 1.85rem 1.6rem; }
.vaf-tutorial-card .vaf-ic-badge {
	width: 52px; height: 52px; border-radius: 14px; margin-bottom: 1.15rem;
	place-items: center; flex: none;
	transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.vaf-tutorial-card .vaf-ic-badge .vaf-icon { display: block; }
/* Rotate the badge accent per column so a row of three doesn't read as identical */
.vaf-tutorial-card:nth-child(3n+2) .vaf-ic-badge { color: #217A4B; background: rgba(46, 158, 99, 0.12); }
.vaf-tutorial-card:nth-child(3n+3) .vaf-ic-badge { color: #3E63C8; background: rgba(62, 99, 200, 0.12); }
.vaf-tutorial-card:hover .vaf-ic-badge,
.vaf-tutorial-card:focus-within .vaf-ic-badge {
	background: var(--wp--preset--color--primary); color: #fff; transform: scale(1.05);
}
.vaf-tutorial-card__title { margin: 0 0 0.5rem; font-size: 1.18rem; line-height: 1.35; letter-spacing: -0.01em; }
.vaf-tutorial-card__title a { color: var(--wp--preset--color--ink); text-decoration: none; }
.vaf-tutorial-card__title a:hover,
.vaf-tutorial-card:hover .vaf-tutorial-card__title a { color: var(--wp--preset--color--primary); }
.vaf-tutorial-card p { color: var(--wp--preset--color--slate); font-size: 0.92rem; line-height: 1.6; margin: 0 0 1.4rem; flex: 1; }

/* Footer row: CTA left, read-time right, divided from the excerpt */
.vaf-tutorial-card__foot {
	margin-top: auto; padding-top: 1rem;
	border-top: 1px solid var(--wp--preset--color--hairline);
	display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
}
.vaf-tutorial-card .vaf-portfolio-link {
	display: inline-flex; align-items: center; gap: 0.35rem; text-decoration: none;
	font-family: var(--wp--preset--font-family--heading); font-weight: 700; font-size: 0.85rem;
	color: var(--wp--preset--color--primary);
	transition: gap 0.2s ease, color 0.2s ease;
}
.vaf-tutorial-card .vaf-portfolio-link .vaf-icon { transition: transform 0.2s ease; }
.vaf-tutorial-card:hover .vaf-portfolio-link { color: var(--wp--preset--color--primary-dark); }
.vaf-tutorial-card:hover .vaf-portfolio-link .vaf-icon,
.vaf-tutorial-card .vaf-portfolio-link:hover .vaf-icon { transform: translateX(3px); }
.vaf-tutorial-card__read {
	display: inline-flex; align-items: center; gap: 0.3rem; flex: none;
	font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 0.78rem;
	color: var(--wp--preset--color--slate);
}
.vaf-tutorial-card__read .vaf-icon { color: var(--wp--preset--color--primary); }

@media (prefers-reduced-motion: reduce) {
	.vaf-tutorial-card:hover .vaf-ic-badge,
	.vaf-tutorial-card:focus-within .vaf-ic-badge { transform: none; }
	.vaf-tutorial-card:hover .vaf-portfolio-link .vaf-icon,
	.vaf-tutorial-card .vaf-portfolio-link:hover .vaf-icon { transform: none; }
}

/* Single-entry hero meta row (blog + academy): date · reading time.
   Distinct from the card .vaf-post-meta (which pushes to the card bottom).
   The ::before dot on .vaf-reading-time is the separator, so no dot markup. */
.vaf-entry-meta {
	align-items: center;
	gap: 0.4rem 1rem;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--wp--preset--color--slate);
}
.vaf-entry-meta .wp-block-post-date { margin: 0; }
.vaf-entry-meta .wp-block-post-date time { color: var(--wp--preset--color--slate); }
.vaf-entry-meta .vaf-reading-time { display: inline-flex; align-items: center; gap: 0.35rem; }
.vaf-entry-meta .vaf-reading-time::before {
	content: ""; width: 4px; height: 4px; border-radius: 999px;
	background: var(--wp--preset--color--primary); flex: none;
}
.vaf-entry-meta .vaf-reading-time .vaf-icon { color: var(--wp--preset--color--primary); }

/* ---------------------------------------------------------------------------
   Shared prose layer — blog + academy single body.
   This stylesheet is also the block-editor stylesheet (add_editor_style),
   so WordPress auto-scopes these rules to .editor-styles-wrapper and the
   editing canvas matches the front end (WYSIWYG). Do NOT hand-prefix.
   Colors and heading scale come from theme.json; this adds only what
   theme.json can't express: measure, list/blockquote/figure/table/code
   treatments, and wide/full behavior inside the 760px column.
--------------------------------------------------------------------------- */
/* Long-form article body: high-contrast ink, ~19px, comfortable rhythm. */
:is(.vaf-prose, .vaf-tutorial-body) {
	color: var(--wp--preset--color--ink);
	font-size: 1.1875rem;
	line-height: 1.7;
}

/* Paragraph rhythm + comfortable reading measure (~68ch). */
:is(.vaf-prose, .vaf-tutorial-body) > p {
	color: var(--wp--preset--color--ink);
	line-height: 1.7;
	max-width: 68ch;
	margin-block: 0 1.1em;
}
:is(.vaf-prose, .vaf-tutorial-body) > :first-child { margin-top: 0; }
:is(.vaf-prose, .vaf-tutorial-body) > :last-child { margin-bottom: 0; }

/* Headings: scale from theme.json; add vertical rhythm + sticky-header clearance. */
:is(.vaf-prose, .vaf-tutorial-body) :is(h2, h3, h4) {
	color: var(--wp--preset--color--ink);
	scroll-margin-top: 6rem;
	letter-spacing: -0.01em;
}
/* Calmer in-article heading scale (marketing pages keep the bolder theme.json scale). */
:is(.vaf-prose, .vaf-tutorial-body) h2 {
	font-size: clamp(1.5rem, 1.25rem + 1vw, 1.8rem);
	font-weight: 700;
	line-height: 1.25;
	margin: 2.5rem 0 0.85rem;
}
:is(.vaf-prose, .vaf-tutorial-body) h3 {
	font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.4rem);
	font-weight: 700;
	line-height: 1.3;
	margin: 2rem 0 0.6rem;
}
:is(.vaf-prose, .vaf-tutorial-body) h4 {
	font-size: 1.15rem;
	font-weight: 700;
	margin: 1.6rem 0 0.5rem;
}

/* Lists (custom-styled lists like .vaf-checks opt out of the generic treatment) */
:is(.vaf-prose, .vaf-tutorial-body) :is(ul, ol):not(.vaf-checks) {
	color: var(--wp--preset--color--ink);
	line-height: 1.7;
	max-width: 68ch;
	margin: 0 0 1.1em;
	padding-left: 1.35em;
}
:is(.vaf-prose, .vaf-tutorial-body) li { margin-bottom: 0.5em; }
:is(.vaf-prose, .vaf-tutorial-body) li::marker { color: var(--wp--preset--color--primary); }
:is(.vaf-prose, .vaf-tutorial-body) :is(ul, ol) :is(ul, ol) { margin: 0.4em 0; }

/* Branded blockquote — orange left rule + cream wash. */
:is(.vaf-prose, .vaf-tutorial-body) blockquote {
	margin: 2rem 0;
	padding: 1.1rem 1.5rem;
	border-left: 4px solid var(--wp--preset--color--primary);
	background: var(--wp--preset--color--cream);
	border-radius: 0 12px 12px 0;
}
:is(.vaf-prose, .vaf-tutorial-body) blockquote > :last-child { margin-bottom: 0; }
:is(.vaf-prose, .vaf-tutorial-body) blockquote p {
	color: var(--wp--preset--color--ink);
	font-size: 1.15rem;
	line-height: 1.6;
	max-width: none;
}
:is(.vaf-prose, .vaf-tutorial-body) blockquote cite {
	display: block; margin-top: 0.6rem;
	font-style: normal; font-weight: 600; font-size: 0.9rem;
	color: var(--wp--preset--color--slate);
}

/* Images & figures */
:is(.vaf-prose, .vaf-tutorial-body) :is(figure, img) { margin-block: 2rem; }
:is(.vaf-prose, .vaf-tutorial-body) img { border-radius: 14px; height: auto; }
:is(.vaf-prose, .vaf-tutorial-body) figcaption {
	margin-top: 0.6rem;
	font-size: 0.85rem;
	color: var(--wp--preset--color--slate);
	text-align: center;
}

/* Wide / full breakout inside the 760px column. */
:is(.vaf-prose, .vaf-tutorial-body) .alignwide { max-width: 1000px; }
:is(.vaf-prose, .vaf-tutorial-body) .alignfull { border-radius: 0; }
:is(.vaf-prose, .vaf-tutorial-body) .alignfull img { border-radius: 0; }

/* Links: color from theme.json; add readable underline offset. */
:is(.vaf-prose, .vaf-tutorial-body) p a,
:is(.vaf-prose, .vaf-tutorial-body) li a {
	text-underline-offset: 0.15em;
	text-decoration-thickness: 1px;
}

/* Horizontal rule — short centered brand mark. */
:is(.vaf-prose, .vaf-tutorial-body) hr {
	border: 0; height: 4px; width: 64px;
	margin: 3rem auto;
	border-radius: 999px;
	background: var(--wp--preset--color--hairline);
}

/* Inline code + preformatted */
:is(.vaf-prose, .vaf-tutorial-body) :not(pre) > code {
	font-size: 0.9em;
	padding: 0.15em 0.4em;
	border-radius: 6px;
	background: var(--wp--preset--color--cream);
	border: 1px solid var(--wp--preset--color--hairline);
	color: var(--wp--preset--color--ink);
}
:is(.vaf-prose, .vaf-tutorial-body) pre {
	margin: 2rem 0; padding: 1.25rem 1.5rem;
	border-radius: 12px; overflow-x: auto;
	background: var(--wp--preset--color--ink);
	color: #fff; font-size: 0.9rem; line-height: 1.6;
}

/* Tables */
:is(.vaf-prose, .vaf-tutorial-body) table {
	width: 100%; margin: 2rem 0; border-collapse: collapse;
	font-size: 0.95rem;
}
:is(.vaf-prose, .vaf-tutorial-body) :is(th, td) {
	padding: 0.7rem 0.9rem;
	border-bottom: 1px solid var(--wp--preset--color--hairline);
	text-align: left;
}
:is(.vaf-prose, .vaf-tutorial-body) th {
	font-family: var(--wp--preset--font-family--heading);
	color: var(--wp--preset--color--ink); font-weight: 700;
}
:is(.vaf-prose, .vaf-tutorial-body) tbody tr:hover { background: var(--wp--preset--color--cream); }

/* Related tutorials header row */
.vaf-related-head {
	display: flex; flex-wrap: wrap; gap: 1rem;
	align-items: flex-end; justify-content: space-between;
	margin-bottom: 2rem;
}
.vaf-related-head h2 { margin: 0.35rem 0 0; }
.vaf-related-back {
	display: inline-flex; align-items: center; gap: 0.4rem;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700; font-size: 0.88rem; text-decoration: none;
	color: var(--wp--preset--color--ink);
}
.vaf-related-back:hover { color: var(--wp--preset--color--primary); gap: 0.6rem; }
.vaf-related-back .vaf-icon { color: var(--wp--preset--color--primary); }
.vaf-related-empty { color: var(--wp--preset--color--slate); }
.vaf-related-empty a { color: var(--wp--preset--color--primary); font-weight: 600; text-decoration: none; }

/* Focus visibility for the new links */
.vaf-portfolio-link:focus-visible,
.vaf-related-back:focus-visible,
.vaf-tutorial-card__title a:focus-visible,
.vaf-related-empty a:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary); outline-offset: 3px; border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
	.vaf-related-back:hover { gap: 0.4rem; }
}

/* ===========================================================================
   ABOUT PAGE (redesign)
   =========================================================================== */

/* Hero: frame the founder illustration (contain, not crop) + brand backing */
.vaf-hero-photo--illus { display: grid; place-items: center; background: radial-gradient(120% 120% at 50% 15%, #FFF 0%, var(--wp--preset--color--peach) 100%); }
.vaf-hero-photo--illus img { object-fit: contain; padding: 10%; }

/* Credibility stats strip — dark panel, hairline gap dividers, brand numbers */
.vaf-about-stats {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
	background: #33456B; border-radius: var(--wp--custom--radius--panel);
	overflow: hidden; box-shadow: var(--vaf-shadow-md);
}
.vaf-about-stat { background: #16243F; padding: 1.9rem 1rem; text-align: center; }
.vaf-about-stat__num {
	display: block; font-family: var(--wp--preset--font-family--heading); font-weight: 800;
	font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1; color: var(--wp--preset--color--primary);
	margin-bottom: 0.45rem; letter-spacing: -0.01em;
}
.vaf-about-stat__label { color: rgba(255, 255, 255, 0.72); font-size: 0.85rem; line-height: 1.3; }

/* Story: two problem cards + brand pull-quote */
.vaf-about-problem { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.vaf-about-problem__card { padding: 1.85rem; }
.vaf-about-problem__card .vaf-ic-badge { margin-bottom: 1rem; }
.vaf-about-problem__card h3 { font-size: 1.15rem; margin: 0 0 0.5rem; }
.vaf-about-problem__card p { color: var(--wp--preset--color--slate); font-size: 0.95rem; line-height: 1.6; margin: 0; }

.vaf-pullquote { margin: 2.75rem auto 0; max-width: 760px; text-align: center; }
.vaf-pullquote__mark { display: inline-flex; color: var(--wp--preset--color--primary); opacity: 0.3; margin-bottom: 0.35rem; }
.vaf-pullquote p {
	font-family: var(--wp--preset--font-family--heading); font-weight: 700;
	font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.32; color: var(--wp--preset--color--ink); margin: 0;
}
.vaf-pullquote em { font-style: normal; color: var(--wp--preset--color--primary); }

/* Principles panel */
.vaf-about-principles {
	display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(1.75rem, 4vw, 3rem);
	align-items: center; padding: clamp(2rem, 4vw, 3rem);
}
.vaf-about-principles__intro h2 { margin: 0 0 0.85rem; }
.vaf-about-principles__intro p { color: var(--wp--preset--color--slate); }
.vaf-about-principles__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.vaf-about-principles__list li { display: flex; gap: 1rem; align-items: flex-start; }
.vaf-about-principles__list .vaf-ic-badge { flex: 0 0 auto; background: #fff; }
.vaf-about-principles__list div { color: var(--wp--preset--color--slate); font-size: 0.92rem; line-height: 1.55; }
.vaf-about-principles__list strong {
	display: block; font-family: var(--wp--preset--font-family--heading); font-weight: 700;
	color: var(--wp--preset--color--ink); font-size: 1.02rem; margin-bottom: 0.2rem;
}

/* Signature closing */
.vaf-about-close { text-align: center; }
.vaf-about-close__ic { margin: 0 auto 1.1rem; }
.vaf-about-close__tagline {
	font-family: var(--wp--preset--font-family--heading); font-weight: 800;
	font-size: clamp(1.5rem, 3.5vw, 2rem); color: var(--wp--preset--color--primary); margin: 0;
}

@media (max-width: 760px) {
	.vaf-about-problem { grid-template-columns: 1fr; }
	.vaf-about-principles { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.vaf-about-stats { grid-template-columns: 1fr 1fr; }
	.vaf-about-stat { padding: 1.5rem 0.75rem; }
}
