/* =========================================================
   BrightFuture Home Care — Design System
   ========================================================= */

:root {
	/* Palette */
	--navy: #002B59;
	--navy-dark: #001C3A;
	--navy-light: #145AA0;
	--emerald: #3BA776;
	--emerald-dark: #1F6B4A;
	--emerald-light: #E8F5EF;
	--gold: #DC9803;
	--gold-light: #FAF0D9;
	--white: #FFFFFF;
	--bg-soft: #F7F9FB;
	--text: #1A1A1A;
	--text-muted: #52606D;
	--border: #E5EAF0;

	/* Gradients — hero softened to a calmer navy→blue with only a whisper of
	   warm teal in the far corner (was a louder 4-stop navy→blue→emerald diagonal). */
	--gradient-hero: linear-gradient(157deg, #001C3A 0%, #002B59 48%, #124C86 88%, #1E6E62 100%);
	--gradient-emerald: linear-gradient(135deg, #3BA776 0%, #2C8560 100%);
	--gradient-gold: linear-gradient(135deg, #E5B242 0%, #DC9803 100%);
	--gradient-soft: linear-gradient(180deg, #F7F9FB 0%, #FFFFFF 100%);

	/* Type */
	--font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
	--font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

	/* Spacing scale */
	--space-1: 0.5rem;
	--space-2: 1rem;
	--space-3: 1.5rem;
	--space-4: 2rem;
	--space-5: 3rem;
	--space-6: 4rem;
	--space-7: 6rem;
	--space-8: 8rem;
	/* Page gutter — overridden per breakpoint so mobile breathes more (see media queries) */
	--gutter: 1.5rem;

	/* Radii + shadow — layered multi-shadows for realistic, "expensive" depth
	   (ambient + key light) rather than a single flat blur. */
	--radius-sm: 12px;
	--radius-md: 20px;
	--radius-lg: 28px;
	--radius-pill: 999px;
	--shadow-sm: 0 1px 2px rgba(16,59,99,0.05), 0 3px 8px rgba(16,59,99,0.06);
	--shadow-md: 0 2px 4px rgba(16,59,99,0.04), 0 8px 20px rgba(16,59,99,0.08), 0 18px 40px rgba(16,59,99,0.07);
	--shadow-lg: 0 4px 10px rgba(16,59,99,0.05), 0 16px 32px rgba(16,59,99,0.10), 0 34px 64px rgba(16,59,99,0.11);
	--ease: cubic-bezier(0.16, 1, 0.3, 1);
	--ease-spring: cubic-bezier(0.34, 1.45, 0.64, 1);
	--ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
	--ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
	/* Soft flowing settle — subtle like premium Webflow sites, no bounce */
	--ease-flow: cubic-bezier(0.22, 1, 0.36, 1);

	--container-w: 1240px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
	scroll-behavior: smooth; -webkit-text-size-adjust: 100%;
	/* Without this, the off-canvas mobile nav (hidden via transform: translateX(100%))
	   still counts toward the page's scrollable width, since fixed-position elements
	   are sized against the viewport/html, not body — doubling the page width on mobile. */
	overflow-x: hidden;
	/* Native-feel: no grey tap-flash on touch, and darker text rendering to match Apple. */
	-webkit-tap-highlight-color: transparent;
	-moz-osx-font-smoothing: grayscale;
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	/* Kill anything large-scale, looping, or disorienting (vestibular-safe requirement)... */
	.hero__sheen, .hero__blob, .marquee__track,
	.parallax-img, [data-count-to], .btn--shimmer::before, .cta-banner__glow,
	.ambient-orb, .service-card__sheen, .btn--shimmer, .mobile-cta-ribbon__cta { animation: none !important; }
	/* Ensure entrance elements never stay stuck invisible when motion is reduced */
	.hero-line, .hero-in, .hero-fade, .hero__floating-card,
	.service-card--cascade, .service-card--cascade .service-card__icon,
	.primary-nav__list > li {
		opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important;
	}
	.reveal-stagger.is-visible .service-card__icon { animation: none !important; }
	/* Page transitions: cut to a plain instant swap, no slide/fade. */
	::view-transition-old(root), ::view-transition-new(root) { animation: none !important; }
	/* Keep simple opacity/position reveals alive, just quicker */
	*, *::before, *::after { animation-duration: 0.2s !important; transition-duration: 0.2s !important; }
	.filter-blur-reveal { filter: none !important; }
}
body {
	font-family: var(--font-body);
	color: var(--text);
	background: var(--white);
	line-height: 1.6;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	/* App-like: no rubber-band white flash when scrolling past the top/bottom. */
	overscroll-behavior-y: none;
}
img, picture, svg, video { display: block; max-width: 100%; }
.icon { width: 20px; height: 20px; flex-shrink: 0; }
.stat-icon { width: 30px; height: 30px; color: var(--emerald); }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
/* Removes the ~300ms tap delay so taps register instantly (native-app feel). */
a, button, .btn, input, select, textarea, [role="button"], summary { touch-action: manipulation; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-heading);
	font-weight: 800;
	line-height: 1.14;
	letter-spacing: -0.02em;
	color: var(--navy);
	text-wrap: balance;
}
p { color: var(--text-muted); text-wrap: pretty; }

.sr-only {
	position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 0; top: -100px; z-index: 999;
	background: var(--navy); color: #fff; padding: 14px 22px; border-radius: 0 0 10px 0;
	transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; }

:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 3px;
	border-radius: 4px;
}

.container { max-width: var(--container-w); margin-inline: auto; padding-inline: var(--gutter); }
/* Mobile breathes at 20px gutters (was 16px) — small change, noticeably more premium. */
@media (max-width: 640px) { :root { --gutter: 1.25rem; } }
@media (max-width: 400px) { :root { --gutter: 1.125rem; } }

.section { padding-block: var(--space-7); position: relative; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--gradient-hero); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: rgba(255,255,255,0.82); }
@media (max-width: 768px) { .section { padding-block: var(--space-6); } }

.eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var(--font-heading); font-weight: 700; font-size: 0.8rem;
	letter-spacing: 0.08em; text-transform: uppercase; color: var(--emerald-dark);
	background: var(--emerald-light); padding: 8px 16px; border-radius: var(--radius-pill);
	margin-bottom: var(--space-3);
}
.section--navy .eyebrow { background: rgba(255,255,255,0.12); color: var(--gold-light); }
.eyebrow .icon, .hero__eyebrow .icon { width: 15px; height: 15px; }

/* Fluid type — the mobile floors are raised for Apple-grade confidence (a 390px
   phone now gets a ~48px h1 instead of ~38px), while the clamp ceilings keep the
   exact previous desktop sizes so wide layouts are unchanged. Tighter leading +
   tracking on the largest sizes reads more composed. */
.h1 { font-size: clamp(2.7rem, 8.5vw, 4.2rem); line-height: 1.06; letter-spacing: -0.032em; }
.h2 { font-size: clamp(1.95rem, 6vw, 3rem); margin-bottom: var(--space-2); line-height: 1.1; letter-spacing: -0.025em; }
.h3 { font-size: clamp(1.4rem, 4.4vw, 1.8rem); line-height: 1.15; }
.section-head { max-width: 720px; margin-bottom: var(--space-5); }
.section-head.center { margin-inline: auto; text-align: center; }
.lede { font-size: clamp(1.1rem, 4.3vw, 1.2rem); line-height: 1.6; color: var(--text-muted); }
.section--navy .lede { color: rgba(255,255,255,0.85); }

/* ---------- Insurance / coverage marquee ---------- */
.insurance-section {
	/* Soft strip; full-bleed marquee sits below the centered copy. */
	padding-bottom: calc(var(--space-6) + 0.5rem);
}
.insurance-section .section-head { max-width: 780px; margin-bottom: var(--space-4); }
.insurance-section .container + .insurance-marquee { margin-top: 0.25rem; }
.insurance-disclaimer {
	margin: var(--space-2) auto 0;
	max-width: 42rem;
	font-size: 0.88rem;
	line-height: 1.5;
	color: var(--text-muted);
}

.insurance-marquee {
	/* Inherit .marquee mask + overflow; tune for logo strip density. */
	padding-block: 0.35rem 0.6rem;
}
.insurance-marquee.marquee .marquee__track,
.insurance-marquee__track {
	display: flex;
	align-items: center;
	gap: clamp(2rem, 5vw, 3.25rem);
	width: max-content;
	list-style: none;
	margin: 0;
	padding: 0.5rem 0;
	/* Higher specificity than .marquee__track so Core Values' 26s pace does not win. */
	animation: marquee 55s linear infinite;
}
.insurance-marquee__item {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	/* Normalize by visual weight: shared viewport height, natural width. */
	height: 56px;
	min-width: 7.5rem;
	padding-inline: 0.35rem;
}
.insurance-marquee__img {
	display: block;
	width: auto;
	height: auto;
	max-height: 48px;
	max-width: min(200px, 42vw);
	object-fit: contain;
	object-position: center;
}
/* Tall marks (e.g. South Country) keep aspect without dominating the strip. */
.insurance-marquee__item:has(img[src*="south-country"]) .insurance-marquee__img {
	max-height: 56px;
	max-width: min(150px, 38vw);
}
.insurance-marquee__item:has(img[src*="cigna"]) .insurance-marquee__img {
	max-height: 52px;
}
@media (min-width: 768px) {
	.insurance-marquee__item { height: 64px; min-width: 8.5rem; }
	.insurance-marquee__img { max-height: 52px; max-width: 210px; }
	.insurance-marquee.marquee .marquee__track,
	.insurance-marquee__track { animation: marquee 60s linear infinite; gap: 3.5rem; }
}

/*
 * Phones: static logo grid — never animate here.
 * iOS "Reduce Motion" previously wrapped the strip while a later phone rule
 * re-enabled translateX(-50%), which stacked logos on top of each other.
 */
@media (max-width: 767px) {
	.insurance-section { padding-bottom: var(--space-5); }
	.insurance-marquee {
		padding-inline: var(--gutter);
		padding-block: 0.15rem 0.35rem;
		overflow: visible;
		-webkit-mask-image: none;
		mask-image: none;
	}
	.insurance-marquee.marquee .marquee__track,
	.insurance-marquee__track {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: center;
		justify-items: center;
		width: 100%;
		max-width: 28rem;
		margin-inline: auto;
		gap: 1.35rem 1.1rem;
		padding: 0.35rem 0 0.15rem;
		animation: none !important;
		transform: none !important;
		will-change: auto;
	}
	.insurance-marquee__item,
	.insurance-marquee__item:has(img[src*="south-country"]),
	.insurance-marquee__item:has(img[src*="cigna"]) {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		height: 52px;
		min-width: 0;
		min-height: 52px;
		padding: 0 0.35rem;
		flex: none;
	}
	.insurance-marquee__img,
	.insurance-marquee__item:has(img[src*="south-country"]) .insurance-marquee__img,
	.insurance-marquee__item:has(img[src*="cigna"]) .insurance-marquee__img {
		max-width: 100%;
		max-height: 34px;
		width: auto;
		height: auto;
	}
	/* Odd last logo (Hennepin) spans full row and stays centered. */
	.insurance-marquee__item:nth-child(13):not(.insurance-marquee__item--clone) {
		grid-column: 1 / -1;
		max-width: 11rem;
		justify-self: center;
	}
	.insurance-marquee__item--clone,
	.insurance-marquee .marquee__item--clone { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
	/* Desktop reduced-motion: calm wrapping strip (phones already use the grid above). */
	.insurance-marquee { padding-inline: var(--gutter); }
	.insurance-marquee.marquee .marquee__track,
	.insurance-marquee__track {
		width: auto;
		max-width: var(--container-w);
		margin-inline: auto;
		flex-wrap: wrap;
		justify-content: center;
		row-gap: 1.5rem;
		column-gap: clamp(1.5rem, 4vw, 2.5rem);
		padding-inline: 0;
		animation: none !important;
		transform: none !important;
	}
	.insurance-marquee__item {
		height: auto;
		min-height: 48px;
		min-width: 0;
	}
	.insurance-marquee__item--clone,
	.insurance-marquee .marquee__item--clone { display: none !important; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 767px) {
	/* Keep the phone grid; don't fall back to flex-wrap on small screens. */
	.insurance-marquee.marquee .marquee__track,
	.insurance-marquee__track {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		flex-wrap: nowrap;
		width: 100%;
		max-width: 28rem;
		gap: 1.35rem 1.1rem;
	}
}

/* Mobile reading refinement — slightly larger, airier body copy (Apple sets
   ~17px on phones) and a tighter, more intentional eyebrow→heading→lede rhythm. */
@media (max-width: 640px) {
	body { font-size: 17px; line-height: 1.62; }
	.eyebrow { margin-bottom: var(--space-2); }
	.section-head { margin-bottom: var(--space-4); }
	.hero__eyebrow { margin-bottom: var(--space-2); }
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	font-family: var(--font-heading); font-weight: 700; font-size: 1rem;
	padding: 16px 30px; border-radius: var(--radius-pill);
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s ease, color .3s ease;
	white-space: nowrap;
	position: relative; overflow: hidden;
	isolation: isolate;
}
.btn__icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .btn__icon { transform: translateX(4px); }
.btn--primary { background: var(--gradient-emerald); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn--gold { background: var(--gradient-gold); color: var(--navy-dark); box-shadow: var(--shadow-md); }
.btn--gold:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.btn--outline { background: transparent; color: var(--navy); border: 2px solid var(--border); }
.btn--outline:hover { border-color: var(--navy); transform: translateY(-3px); }
.btn--ghost-light { background: rgba(255,255,255,0.1); color: #fff; border: 2px solid rgba(255,255,255,0.4); backdrop-filter: blur(6px); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.18); transform: translateY(-3px); }
.btn--sm { padding: 11px 22px; font-size: 0.9rem; }
.btn--lg { padding: 18px 36px; font-size: 1.05rem; }
/* Physical press: quick scale-in + subtle darkening, so tapping feels like
   pressing a real object; it settles back via the base transition on release. */
.btn:active { transform: scale(0.955); filter: brightness(0.96); transition-duration: .09s; }

/* Soft light sweep across primary conversion buttons */
.btn--shimmer::before {
	content: ''; position: absolute; inset: 0; z-index: 0;
	background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.45) 50%, transparent 60%);
	transform: translateX(-120%);
	animation: btnShimmer 3.6s var(--ease-soft) 1.2s infinite;
	pointer-events: none;
}
.btn--shimmer > * { position: relative; z-index: 1; }
@keyframes btnShimmer {
	0%, 55% { transform: translateX(-120%); }
	75%, 100% { transform: translateX(120%); }
}

/* (Removed the Material-style tap ripple — Apple-grade buttons use a clean
   press-scale instead of an expanding ink ripple.) */

/* Magnetic buttons get their translate from JS — keep hover lift compatible */
.btn.magnetic.is-magnetizing { transition: transform .12s linear, box-shadow .35s var(--ease); }

/* Tap feedback — the touch equivalent of a hover lift, since :hover doesn't
   give mobile users any physical response when they tap a card. */
.service-card:active, .benefit-card:active, .audience-card:active,
.post-card:active, .job-card:active, .stat-card:active,
.testimonial-card:active {
	transform: scale(0.975); box-shadow: var(--shadow-sm);
	transition: transform .12s var(--ease), box-shadow .12s var(--ease);
}
.btn--block { width: 100%; }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 300; background: transparent; }
.scroll-progress__bar {
	height: 100%; width: 0%; background: linear-gradient(90deg, var(--emerald) 0%, var(--gold) 100%);
	transform-origin: left; transition: width .08s linear;
}

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 200;
	background: rgba(255,255,255,0.72);
	backdrop-filter: blur(16px) saturate(160%);
	-webkit-backdrop-filter: blur(16px) saturate(160%);
	border-bottom: 1px solid rgba(16,59,99,0.06);
	transition: box-shadow .3s ease, background .3s ease, transform .35s var(--ease);
	/* Keep the bar clear of the notch / status bar (matters in standalone/PWA + landscape). */
	padding-top: env(safe-area-inset-top, 0px);
	padding-left: env(safe-area-inset-left, 0px);
	padding-right: env(safe-area-inset-right, 0px);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); background: rgba(255,255,255,0.92); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding-block: 16px; }

.brand { display: flex; align-items: center; gap: 10px; }
.custom-logo-link,
.brand-logo-link {
	display: flex;
	align-items: center;
	flex-shrink: 0;
	text-decoration: none;
	color: inherit;
}
.custom-logo-link > img.custom-logo,
.brand-logo-link > img.custom-logo {
	height: 56px;
	width: auto;
	max-width: min(200px, 52vw);
	display: block;
}
.site-footer .custom-logo-link > img.custom-logo,
.site-footer .brand-logo-link > img.custom-logo {
	height: 120px;
	max-width: min(240px, 70vw);
	filter: none;
	opacity: 1;
}
@media (max-width: 480px) {
	.custom-logo-link > img.custom-logo,
	.brand-logo-link > img.custom-logo {
		height: 48px;
		max-width: min(168px, 48vw);
	}
	.site-footer .custom-logo-link > img.custom-logo,
	.site-footer .brand-logo-link > img.custom-logo {
		height: 96px;
		max-width: min(200px, 64vw);
	}
}
.brand__mark {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 12px; background: var(--gradient-emerald); color: #fff;
	box-shadow: var(--shadow-sm);
}
.brand__mark .icon { width: 22px; height: 22px; }
.brand__text { font-family: var(--font-heading); font-weight: 800; font-size: 1.15rem; color: var(--navy); }
.brand__text em { font-style: normal; color: var(--emerald-dark); }
.brand--footer .brand__text { color: #fff; }
.brand--footer .brand__text em { color: var(--gold); }

.primary-nav__list { display: flex; align-items: center; gap: var(--space-4); }
.primary-nav__list > li > a {
	font-family: var(--font-heading); font-weight: 600; font-size: 0.96rem; color: var(--navy);
	display: inline-flex; align-items: center; gap: 4px; padding-block: 8px; position: relative;
}
.primary-nav__list > li > a::after {
	content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
	background: var(--emerald); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.primary-nav__list > li > a:hover::after { transform: scaleX(1); }
.nav-caret { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.has-dropdown:hover .nav-caret { transform: rotate(180deg); }

.has-dropdown { position: relative; }
.dropdown {
	position: absolute; top: 100%; left: -16px; margin-top: 12px; min-width: 240px;
	background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
	padding: 10px; opacity: 0; visibility: hidden; transform: translateY(8px);
	transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
	border: 1px solid var(--border);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a { display: block; padding: 10px 14px; border-radius: 10px; font-weight: 500; font-size: 0.92rem; color: var(--text); }
.dropdown li a:hover { background: var(--emerald-light); color: var(--emerald-dark); }

.site-header__actions { display: flex; align-items: center; gap: var(--space-3); }
.header-phone { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); }
.header-phone .icon { width: 18px; height: 18px; color: var(--emerald); }
.nav-toggle { display: none; padding: 6px; }
.nav-toggle .icon { width: 26px; height: 26px; color: var(--navy); }
.nav-toggle__close { display: none; }

@media (max-width: 960px) {
	.header-phone span { display: none; }
}
@media (max-width: 860px) {
	.primary-nav {
		/* Size against the viewport explicitly. Do NOT use inset:0 / bottom:0 alone —
		   .site-header's backdrop-filter creates a fixed containing block, so inset
		   would resolve to the ~96px header and clip every nav item except the
		   vertically-centered middle one ("Careers"). */
		position: fixed; top: 0; left: 0; right: auto; bottom: auto; z-index: 150;
		width: 100vw; width: 100dvw;
		height: 100vh; height: 100dvh;
		min-height: 100vh; min-height: 100dvh;
		/* Frosted translucent navy over the page (not a flat opaque panel) — reads
		   like an Apple sheet floating above your content. */
		background: linear-gradient(160deg, rgba(0,20,42,0.86), rgba(0,43,89,0.82));
		backdrop-filter: blur(26px) saturate(150%); -webkit-backdrop-filter: blur(26px) saturate(150%);
		transform: translateX(100%); transition: transform .55s var(--ease-out-expo);
		/* Column + margin:auto on the list: centers when short, scrolls from the
		   start when tall (align-items:center + overflow clips unreachable items). */
		display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
		padding: calc(env(safe-area-inset-top, 0px) + var(--space-5)) var(--space-4) calc(env(safe-area-inset-bottom, 0px) + var(--space-5));
		overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
		-webkit-overflow-scrolling: touch;
		box-sizing: border-box;
	}
	.primary-nav.is-open { transform: translateX(0); }
	.primary-nav__list {
		flex-direction: column; gap: var(--space-4); text-align: center;
		margin-block: auto; /* vertical center when list fits; scrollable when it doesn't */
		width: 100%;
	}
	.primary-nav__list > li {
		opacity: 0; transform: translateY(28px);
		transition: opacity .55s var(--ease-flow), transform .55s var(--ease-flow);
	}
	.primary-nav.is-open .primary-nav__list > li {
		opacity: 1; transform: translateY(0);
	}
	.primary-nav.is-open .primary-nav__list > li:nth-child(1) { transition-delay: .08s; }
	.primary-nav.is-open .primary-nav__list > li:nth-child(2) { transition-delay: .14s; }
	.primary-nav.is-open .primary-nav__list > li:nth-child(3) { transition-delay: .2s; }
	.primary-nav.is-open .primary-nav__list > li:nth-child(4) { transition-delay: .26s; }
	.primary-nav.is-open .primary-nav__list > li:nth-child(5) { transition-delay: .32s; }
	.primary-nav.is-open .primary-nav__list > li:nth-child(6) { transition-delay: .38s; }
	.primary-nav.is-open .primary-nav__list > li:nth-child(7) { transition-delay: .44s; }
	.primary-nav.is-open .primary-nav__list > li:nth-child(8) { transition-delay: .5s; }
	.primary-nav__list > li > a {
		color: #fff; font-size: clamp(1.5rem, 6.5vw, 1.9rem); font-weight: 700;
		letter-spacing: -0.01em; line-height: 1.1;
		transition: letter-spacing .35s var(--ease), color .3s ease, transform .3s var(--ease-spring);
	}
	.primary-nav__list > li > a:active { transform: scale(0.96); color: var(--gold-light); }
	.dropdown { position: static; opacity: 1; visibility: visible; transform: none; background: transparent; box-shadow: none; border: none; margin-top: var(--space-2); display: none; }
	.has-dropdown.is-open .dropdown { display: block; }
	.dropdown li a { color: rgba(255,255,255,0.85); text-align: center; }
	.header-phone { display: none; }
	.nav-toggle { display: inline-flex; z-index: 160; position: relative; }
	.site-header__actions .btn--primary { display: none; }
}
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; color: #fff; }
.nav-toggle[aria-expanded="true"] { position: fixed; right: calc(env(safe-area-inset-right, 0px) + var(--space-2)); top: calc(env(safe-area-inset-top, 0px) + 22px); }

/* Mobile bottom CTA — a FLOATING frosted-glass capsule inset from the screen
   edges and lifted above the home-indicator via safe-area, rather than a bar
   glued to the bottom edge. Reads as a considered app control, not a banner. */
.mobile-cta-ribbon {
	display: none; position: fixed; z-index: 190;
	left: calc(env(safe-area-inset-left, 0px) + 14px);
	right: calc(env(safe-area-inset-right, 0px) + 14px);
	bottom: calc(env(safe-area-inset-bottom, 0px) + 14px);
	border-radius: var(--radius-pill); overflow: hidden;
	background: rgba(255,255,255,0.80);
	backdrop-filter: blur(20px) saturate(180%); -webkit-backdrop-filter: blur(20px) saturate(180%);
	border: 1px solid rgba(255,255,255,0.6);
	box-shadow: 0 1px 2px rgba(16,59,99,0.06), 0 8px 24px rgba(16,59,99,0.14), 0 18px 44px rgba(16,59,99,0.14);
	transition: transform .4s var(--ease-out-expo), opacity .4s var(--ease);
}
/* Slides down out of view when the header auto-hides (JS toggles .is-hidden). */
.mobile-cta-ribbon.is-hidden {
	transform: translateY( calc(100% + env(safe-area-inset-bottom, 0px) + 20px) );
	opacity: 0; pointer-events: none;
}
@media (max-width: 640px) {
	.mobile-cta-ribbon { display: grid; grid-template-columns: 1fr 1fr; }
}
.mobile-cta-ribbon__call, .mobile-cta-ribbon__cta {
	display: flex; align-items: center; justify-content: center; gap: 8px;
	padding: 15px 16px; font-family: var(--font-heading); font-weight: 700; font-size: 0.95rem;
	transition: transform .12s var(--ease), filter .2s ease;
}
.mobile-cta-ribbon__call { color: var(--navy); border-right: 1px solid rgba(16,59,99,0.10); }
.mobile-cta-ribbon__cta { background: var(--gradient-emerald); color: #fff; position: relative; overflow: hidden; }
.mobile-cta-ribbon__cta::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.22) 50%, transparent 65%);
	transform: translateX(-120%);
	animation: btnShimmer 4s var(--ease-soft) 2s infinite;
	pointer-events: none;
}
.mobile-cta-ribbon__call:active, .mobile-cta-ribbon__cta:active { transform: scale(0.955); filter: brightness(0.96); }
.mobile-cta-ribbon .icon { width: 18px; height: 18px; }
/* Clear the floating capsule (its height + inset + safe-area) so content isn't hidden behind it. */
body { padding-bottom: 0; }
@media (max-width: 640px) { body { padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 84px); } }

/* ---------- Hero ---------- */
.hero {
	position: relative; overflow: hidden; color: #fff;
	background: var(--gradient-hero);
	padding-block: var(--space-8) var(--space-7);
}
/* Subtle motion without the cost of an animated background-position repaint:
   a translated overlay layer runs on the compositor instead of the main thread. */
.hero__sheen {
	position: absolute; inset: -15% -10%; pointer-events: none;
	background: radial-gradient(circle at 30% 35%, rgba(255,255,255,0.10), transparent 55%),
		radial-gradient(circle at 75% 65%, rgba(216,178,92,0.12), transparent 50%);
	animation: heroSheen 20s ease-in-out infinite;
	will-change: transform;
}
@keyframes heroSheen {
	0%, 100% { transform: translate(0, 0); }
	50% { transform: translate(4%, 3%); }
}
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: var(--space-6); align-items: center; }
@media (max-width: 960px) { .hero__inner { grid-template-columns: 1fr; text-align: center; } }
.hero__eyebrow {
	display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: var(--radius-pill);
	background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25); backdrop-filter: blur(6px);
	font-weight: 700; font-size: 0.82rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gold-light);
	margin-bottom: var(--space-3);
}
.hero h1 { color: #fff; margin-bottom: var(--space-3); }
.hero__sub { font-size: clamp(1.08rem, 4.6vw, 1.2rem); line-height: 1.55; color: rgba(255,255,255,0.86); max-width: 560px; margin-bottom: var(--space-4); }
@media (max-width: 960px) { .hero__sub { margin-inline: auto; } }
.hero__actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }
@media (max-width: 960px) { .hero__actions { justify-content: center; } }

.hero__visual { position: relative; }
.hero__card {
	position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
	aspect-ratio: 4/5;
}
.hero__floating-card {
	position: absolute; bottom: -24px; left: -28px; background: #fff; color: var(--text);
	border-radius: var(--radius-md); padding: 18px 22px; box-shadow: var(--shadow-lg);
	display: flex; align-items: center; gap: 14px;
	opacity: 0; transform: translateY(24px) scale(0.92);
	animation: badgePop 0.9s var(--ease-spring) 0.85s both, floatY 5s ease-in-out 1.8s infinite;
}
.hero__floating-card--top {
	top: -20px; bottom: auto; left: auto; right: -20px;
	animation: badgePop 0.9s var(--ease-spring) 1.05s both, floatY 5s ease-in-out 2s infinite;
}
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes badgePop {
	from { opacity: 0; transform: translateY(28px) scale(0.86); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}
.hero__floating-card .icon-badge { width: 44px; height: 44px; border-radius: 50%; background: var(--emerald-light); color: var(--emerald-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hero__floating-card strong { display: block; font-family: var(--font-heading); font-size: 1.05rem; color: var(--navy); }
.hero__floating-card span { font-size: 0.85rem; color: var(--text-muted); }

/* On mobile the badges leave the desktop's absolute-overlap positioning and
   become a static row underneath the hero photo instead of disappearing. */
@media (max-width: 640px) {
	.hero__badges { display: flex; gap: 10px; margin-top: var(--space-3); }
	.hero__floating-card {
		position: static; flex: 1; min-width: 0;
		padding: 12px 14px; gap: 10px; box-shadow: var(--shadow-md);
		animation: badgePop 0.85s var(--ease-spring) 0.7s both, floatYSoft 4s ease-in-out 1.6s infinite;
	}
	.hero__floating-card--top { animation: badgePop 0.85s var(--ease-spring) 0.9s both, floatYSoft 4s ease-in-out 1.8s infinite; }
	@keyframes floatYSoft { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
	.hero__floating-card .icon-badge { width: 36px; height: 36px; }
	.hero__floating-card strong { font-size: 0.9rem; }
	.hero__floating-card span { font-size: 0.76rem; }
}

/* ---------- Interior page header ---------- */
.page-header {
	background: var(--gradient-hero); color: #fff; padding-block: var(--space-6) calc(var(--space-6) + 30px);
	text-align: center; position: relative; overflow: hidden;
}
.page-header::before {
	content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%;
	background: radial-gradient(circle, rgba(216,178,92,0.3), transparent 70%); top: -140px; right: -80px; filter: blur(40px);
}
.page-header::after {
	content: ''; position: absolute; width: 320px; height: 320px; border-radius: 50%;
	background: radial-gradient(circle, rgba(59,167,118,0.28), transparent 70%); bottom: -160px; left: -80px; filter: blur(40px);
}
.page-header__inner { position: relative; z-index: 1; max-width: 760px; margin-inline: auto; }
.page-header__title { color: #fff; margin-bottom: var(--space-2); }
.page-header__sub { margin-inline: auto; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--border); padding-block: var(--space-3); }
.trust-bar__list { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-4); }
.trust-bar__item {
	display: flex; align-items: center; gap: 8px; font-family: var(--font-heading); font-weight: 700; font-size: 0.92rem; color: var(--navy);
	padding: 8px 14px; border-radius: var(--radius-pill);
	transition: background .3s ease, transform .35s var(--ease-spring);
}
.trust-bar__item .icon { width: 18px; height: 18px; color: var(--emerald); transition: transform .4s var(--ease-spring); }
.reveal-stagger.is-visible .trust-bar__item .icon,
.trust-bar__list.reveal-stagger.is-visible .trust-bar__item .icon {
	animation: iconPop .6s var(--ease-spring) both;
}
.trust-bar__list.reveal-stagger.is-visible .trust-bar__item:nth-child(1) .icon { animation-delay: .05s; }
.trust-bar__list.reveal-stagger.is-visible .trust-bar__item:nth-child(2) .icon { animation-delay: .12s; }
.trust-bar__list.reveal-stagger.is-visible .trust-bar__item:nth-child(3) .icon { animation-delay: .19s; }
.trust-bar__list.reveal-stagger.is-visible .trust-bar__item:nth-child(4) .icon { animation-delay: .26s; }
.trust-bar__list.reveal-stagger.is-visible .trust-bar__item:nth-child(5) .icon { animation-delay: .33s; }
@media (hover: hover) {
	.trust-bar__item:hover { background: var(--emerald-light); transform: translateY(-2px); }
	.trust-bar__item:hover .icon { transform: scale(1.15) rotate(-8deg); }
}
@media (max-width: 560px) {
	.trust-bar__list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2) var(--space-3); text-align: left; }
	.trust-bar__item { font-size: 0.85rem; padding: 6px 8px; }
	.trust-bar__item:last-child { grid-column: 1 / -1; justify-content: center; }
}

/* ---------- Photo placeholder ---------- */
.photo-placeholder {
	position: relative; width: 100%; height: 100%; min-height: 260px;
	background: linear-gradient(135deg, var(--navy) 0%, var(--emerald-dark) 100%);
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
	color: rgba(255,255,255,0.85); overflow: hidden;
}
.photo-placeholder::before {
	content: ''; position: absolute; inset: 0;
	background-image: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.15) 0, transparent 40%),
		radial-gradient(circle at 80% 80%, rgba(216,178,92,0.25) 0, transparent 45%);
}
.photo-placeholder__icon { width: 48px; height: 48px; position: relative; z-index: 1; }
.photo-placeholder__label { font-family: var(--font-heading); font-weight: 600; font-size: 0.85rem; letter-spacing: 0.03em; position: relative; z-index: 1; }

/* Any real (non-placeholder) photo fully covers its frame, whatever the container */
.bfhc-photo-img,
.post-card__media img,
.single-post__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Reveal animation ---------- */
.reveal {
	opacity: 0; transform: translateY(28px);
	transition: opacity 1s var(--ease-flow), transform 1.1s var(--ease-flow);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-left {
	opacity: 0; transform: translateX(-36px);
	transition: opacity 1.05s var(--ease-flow), transform 1.15s var(--ease-flow);
}
.reveal-left.is-visible { opacity: 1; transform: translateX(0); }
.reveal-right {
	opacity: 0; transform: translateX(36px);
	transition: opacity 1.05s var(--ease-flow), transform 1.15s var(--ease-flow);
}
.reveal-right.is-visible { opacity: 1; transform: translateX(0); }
.reveal-scale {
	opacity: 0; transform: scale(0.96);
	transition: opacity 1s var(--ease-flow), transform 1.1s var(--ease-flow);
}
.reveal-scale.is-visible { opacity: 1; transform: scale(1); }
@media (max-width: 900px) {
	.reveal-left, .reveal-right { transform: translateY(28px); }
	.reveal-left.is-visible, .reveal-right.is-visible { transform: translateY(0); }
}

.reveal-stagger > * {
	opacity: 0; transform: translateY(24px);
}
.reveal-stagger.is-visible > * {
	animation: staggerIn .85s var(--ease-flow) both;
}
.reveal-stagger.is-visible > *:nth-child(1) { animation-delay: 0s; }
.reveal-stagger.is-visible > *:nth-child(2) { animation-delay: .08s; }
.reveal-stagger.is-visible > *:nth-child(3) { animation-delay: .16s; }
.reveal-stagger.is-visible > *:nth-child(4) { animation-delay: .24s; }
.reveal-stagger.is-visible > *:nth-child(5) { animation-delay: .32s; }
.reveal-stagger.is-visible > *:nth-child(6) { animation-delay: .4s; }
.reveal-stagger.is-visible > *:nth-child(7) { animation-delay: .48s; }
.reveal-stagger.is-visible > *:nth-child(8) { animation-delay: .56s; }
@keyframes staggerIn {
	from { opacity: 0; transform: translateY(24px); }
	to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/*
 * Luxury per-card scroll entrance (JS adds .lux-card).
 * Phones: soft left → right. Desktop: gentle rise. Quiet, not flashy.
 */
.lux-card {
	opacity: 0;
	transform: translate3d(-44px, 0, 0);
	transition:
		opacity 0.85s var(--ease-out-expo),
		transform 0.95s var(--ease-out-expo),
		box-shadow 0.45s var(--ease),
		border-color 0.4s ease;
	will-change: opacity, transform;
}
.lux-card.is-lux-visible {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	will-change: auto;
}
/* Don't let parent stagger fights the individual card motion */
.reveal-stagger > .lux-card,
.reveal-stagger.is-visible > .lux-card {
	animation: none !important;
	opacity: 0;
	transform: translate3d(-44px, 0, 0);
}
.reveal-stagger.is-visible > .lux-card.is-lux-visible {
	opacity: 1;
	transform: translate3d(0, 0, 0);
}
/* Testimonials had a group animation — lux-card owns the entrance instead */
.testimonials.reveal.is-visible .testimonial-card.lux-card {
	animation: none !important;
}
@media (min-width: 768px) {
	.lux-card,
	.reveal-stagger > .lux-card,
	.reveal-stagger.is-visible > .lux-card {
		transform: translate3d(0, 28px, 0);
	}
	.lux-card.is-lux-visible,
	.reveal-stagger.is-visible > .lux-card.is-lux-visible {
		transform: translate3d(0, 0, 0);
	}
}
@media (prefers-reduced-motion: reduce) {
	.lux-card,
	.reveal-stagger > .lux-card,
	.reveal-stagger.is-visible > .lux-card {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
		animation: none !important;
	}
}

/* Quote / mission — soft rise */
.reveal-quote {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 1.1s var(--ease-flow), transform 1.15s var(--ease-flow);
}
.reveal-quote.is-visible {
	opacity: 1;
	transform: translateY(0);
}
.reveal-quote .icon-quote {
	transform: translateY(8px); opacity: 0;
	transition: transform .8s var(--ease-flow) .1s, opacity .7s var(--ease-flow) .1s;
}
.reveal-quote.is-visible .icon-quote {
	transform: translateY(0); opacity: 1;
}

/* Ken Burns image reveal — used on hero + split media */
/* Applied to the outer media wrapper (not the img) so it never fights media-zoom's own transform on the img itself */
.parallax-img { will-change: transform; }

.media-zoom { overflow: hidden; }
.media-zoom img, .media-zoom .photo-placeholder {
	transform: scale(1.16);
	transition: transform 1.8s var(--ease-out-expo);
}
.media-zoom.is-visible img, .media-zoom.is-visible .photo-placeholder { transform: scale(1); }
.media-zoom:hover img { transform: scale(1.05); }
.hero__card.media-zoom img, .hero__card.media-zoom .photo-placeholder { transition: transform 2s var(--ease-out-expo); }
.hero__card .photo-placeholder { animation: kenBurns 14s ease-in-out infinite alternate; }
@keyframes kenBurns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.08) translate(-1%, -1%); } }

/* Section curve dividers */
.curve-divider { display: block; width: 100%; line-height: 0; position: absolute; left: 0; right: 0; bottom: -1px; z-index: 2; pointer-events: none; }
.curve-divider svg { display: block; width: 100%; height: 70px; }
@media (max-width: 640px) { .curve-divider svg { height: 36px; } }

/* Hero parallax blobs (real elements, transformed via JS) */
.hero__blob { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; transition: transform .2s ease-out; }
/* Calmer: lower opacity, slower & gentler pulse, colours matched to the new
   gold (#DC9803) / emerald palette — ambient glow, not a light show. */
.hero__blob--1 { width: 440px; height: 440px; top: -130px; right: -110px; background: radial-gradient(circle, rgba(220,152,3,0.20), transparent 70%); animation: blobPulse 13s ease-in-out infinite; }
.hero__blob--2 { width: 400px; height: 400px; bottom: -170px; left: -90px; background: radial-gradient(circle, rgba(59,167,118,0.18), transparent 70%); animation: blobPulse 15s ease-in-out 2s infinite; }
@keyframes blobPulse {
	0%, 100% { opacity: 0.85; }
	50% { opacity: 1; }
}

/* Marquee (Core Values) */
.marquee {
	overflow: hidden; position: relative;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	/* Sizing the mask explicitly — WebKit's defaults for a gradient mask have
	   varied across iOS versions. */
	-webkit-mask-size: 100% 100%; mask-size: 100% 100%;
	-webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.marquee__track { display: flex; gap: 1rem; width: max-content; animation: marquee 26s linear infinite; will-change: transform; }
.marquee__item { cursor: default; }
.marquee.is-paused .marquee__track { animation-play-state: paused; }
/* Off screen the loop is pure battery cost on a phone. */
.marquee.is-offscreen .marquee__track { animation-play-state: paused; will-change: auto; }
/* translate3d rather than translateX: the masked ancestor makes iOS Safari
   reluctant to promote this track without an explicit 3D transform. */
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
.marquee .btn {
	transition: transform .35s var(--ease-spring), background .3s ease, border-color .3s ease;
}
/* iOS latches :hover onto the last tapped element, so an unscoped hover-pause
   leaves the ticker frozen for the rest of the visit after any tap near it. */
@media (hover: hover) and (pointer: fine) {
	.marquee:hover .marquee__track { animation-play-state: paused; }
	.marquee .btn:hover { transform: translateY(-4px) scale(1.04); background: rgba(255,255,255,0.2); }
}
@media (prefers-reduced-motion: reduce) {
	/* With the loop off, a single clipped row hides most of the values, so present
	   them as a deliberate static group instead of a cut-off strip. */
	.marquee { -webkit-mask-image: none; mask-image: none; }
	.marquee__track {
		width: auto; flex-wrap: wrap; justify-content: center;
		row-gap: 0.75rem; padding-inline: var(--gutter);
	}
	.marquee__item--clone { display: none; }
}

/* Hero entrance (no scroll trigger needed — above the fold) */
.hero-in { opacity: 0; animation: heroRise 1s var(--ease-out-expo) both; }
.hero-in--1 { animation-delay: .08s; }
.hero-in--2 { animation-delay: .2s; }
.hero-in--3 { animation-delay: .32s; }
.hero-in--4 { animation-delay: .48s; }
.hero-in--5 { animation-delay: .62s; }
@keyframes heroRise {
	from { opacity: 0; transform: translateY(28px); filter: blur(4px); }
	to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* Hero headline cascades in phrase-by-phrase instead of moving as one flat block */
.hero-heading { overflow: hidden; }
.hero-line {
	display: block; opacity: 0; transform: translateY(110%);
	filter: blur(8px);
	/* Small bottom padding so descenders (g, p, y) aren't clipped by the
	   overflow:hidden container now that hero leading is tighter. */
	padding-bottom: 0.08em;
	animation: heroLineIn 1s var(--ease-out-expo) both;
}
.hero-line:nth-child(1) { animation-delay: .16s; }
.hero-line:nth-child(2) { animation-delay: .3s; }
.hero-line:nth-child(3) { animation-delay: .44s; }
@keyframes heroLineIn {
	to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

/* Opacity-only entrance for elements JS will also transform (avoids animation/inline-style transform conflicts) */
.hero-fade { opacity: 0; animation: heroFade 1.1s var(--ease-out-expo) .35s both; }
@keyframes heroFade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.split--reverse .split__media { order: 2; }
@media (max-width: 900px) { .split--reverse .split__media { order: 0; } }
.split__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/3.2; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__badge {
	position: absolute; bottom: -20px; right: -20px; background: #fff; border-radius: var(--radius-md);
	padding: 16px 22px; box-shadow: var(--shadow-lg); text-align: center;
}
@media (max-width: 640px) { .split__badge { display: none; } }
.split__badge strong { display: block; font-family: var(--font-heading); font-size: 1.6rem; color: var(--emerald-dark); }
.split__badge span { font-size: 0.8rem; color: var(--text-muted); }

.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); margin-top: var(--space-4); }
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } }
.stat-card {
	background: var(--bg-soft); border-radius: var(--radius-md); padding: var(--space-3);
	transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.stat-card__num { font-family: var(--font-heading); font-weight: 800; font-size: 2.1rem; color: var(--navy); display: block; }
.stat-card__num span { color: var(--emerald); }
.stat-card__label { font-size: 0.88rem; color: var(--text-muted); font-weight: 500; }
.stat-card--link {
	display: flex; align-items: center; justify-content: space-between; gap: 10px;
	background: transparent; border: 2px solid var(--border);
}
.stat-card--link:hover { border-color: var(--emerald); background: var(--emerald-light); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.stat-card__link-icon { width: 18px; height: 18px; color: var(--emerald-dark); transition: transform .3s var(--ease); flex-shrink: 0; }
.stat-card--link:hover .stat-card__link-icon { transform: translateX(4px); }

/* ---------- Cards / Services ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
@media (max-width: 960px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards-grid { grid-template-columns: 1fr; } }

.service-card {
	background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
	padding: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2);
	transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s ease;
	position: relative; overflow: hidden;
}
.service-card::after {
	content: ''; position: absolute; inset: 0; opacity: 0; background: var(--gradient-emerald);
	z-index: -1; transition: opacity .4s ease;
}
.service-card__sheen {
	content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255,255,255,0.55), transparent);
	transform: skewX(-18deg); pointer-events: none; opacity: 0; z-index: 1;
}
.reveal-stagger.is-visible .service-card .service-card__sheen {
	animation: cardSheen 1.1s var(--ease-out-expo) both;
}
.reveal-stagger.is-visible .service-card:nth-child(1) .service-card__sheen { animation-delay: .35s; }
.reveal-stagger.is-visible .service-card:nth-child(2) .service-card__sheen { animation-delay: .44s; }
.reveal-stagger.is-visible .service-card:nth-child(3) .service-card__sheen { animation-delay: .53s; }
.reveal-stagger.is-visible .service-card:nth-child(4) .service-card__sheen { animation-delay: .62s; }
.reveal-stagger.is-visible .service-card:nth-child(5) .service-card__sheen { animation-delay: .71s; }
.reveal-stagger.is-visible .service-card:nth-child(6) .service-card__sheen { animation-delay: .8s; }
@keyframes cardSheen {
	0% { opacity: 0; left: -60%; }
	20% { opacity: 1; }
	100% { opacity: 0; left: 130%; }
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card__icon {
	width: 56px; height: 56px; border-radius: var(--radius-sm); background: var(--emerald-light); color: var(--emerald-dark);
	display: flex; align-items: center; justify-content: center; transition: transform .4s var(--ease), background .4s ease, color .4s ease;
}
.reveal-stagger.is-visible .service-card__icon {
	animation: iconPop .7s var(--ease-spring) both;
}
.reveal-stagger.is-visible .service-card:nth-child(1) .service-card__icon { animation-delay: .12s; }
.reveal-stagger.is-visible .service-card:nth-child(2) .service-card__icon { animation-delay: .21s; }
.reveal-stagger.is-visible .service-card:nth-child(3) .service-card__icon { animation-delay: .3s; }
.reveal-stagger.is-visible .service-card:nth-child(4) .service-card__icon { animation-delay: .39s; }
.reveal-stagger.is-visible .service-card:nth-child(5) .service-card__icon { animation-delay: .48s; }
.reveal-stagger.is-visible .service-card:nth-child(6) .service-card__icon { animation-delay: .57s; }
@keyframes iconPop {
	0% { transform: scale(0.5) rotate(-18deg); opacity: 0; }
	100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
.service-card__icon .icon { width: 28px; height: 28px; }
.service-card:hover .service-card__icon { transform: rotate(-8deg) scale(1.08); background: var(--navy); color: var(--gold-light); }
.service-card h3 { font-size: 1.2rem; }
.service-card p { font-size: 0.95rem; }
.service-card__link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-heading); font-weight: 700; color: var(--emerald-dark); margin-top: auto; }
.service-card__link .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.service-card:hover .service-card__link .icon { transform: translateX(4px); }

/* Per-card scroll cascade — soft fade + gentle rise (HealThrive / Webflow feel) */
.service-card--cascade {
	opacity: 0;
	transform: translate3d(0, 36px, 0) scale(0.97);
	transition:
		opacity 1.05s var(--ease-flow),
		transform 1.15s var(--ease-flow),
		box-shadow 0.45s var(--ease),
		border-color 0.4s ease;
	will-change: opacity, transform;
}
.service-card--cascade:nth-child(odd) {
	transform: translate3d(-14px, 36px, 0) scale(0.97);
}
.service-card--cascade:nth-child(even) {
	transform: translate3d(14px, 36px, 0) scale(0.97);
}
.service-card--cascade.is-visible {
	opacity: 1;
	transform: translate3d(0, 0, 0) scale(1);
	will-change: auto;
}
.service-card--cascade .service-card__icon {
	opacity: 0;
	transform: translateY(10px) scale(0.92);
	transition: opacity 0.85s var(--ease-flow) 0.12s, transform 0.9s var(--ease-flow) 0.12s, background 0.4s ease, color 0.4s ease;
}
.service-card--cascade.is-visible .service-card__icon {
	opacity: 1;
	transform: translateY(0) scale(1);
}
.service-card--cascade .service-card__sheen {
	display: none;
}
/* Mobile / single column: clear left → right slide as each card enters view */
@media (max-width: 640px) {
	.service-card--cascade,
	.service-card--cascade:nth-child(odd),
	.service-card--cascade:nth-child(even) {
		opacity: 0;
		transform: translate3d(-56px, 0, 0);
		transition:
			opacity 0.85s var(--ease-out-expo),
			transform 0.95s var(--ease-out-expo),
			box-shadow 0.45s var(--ease),
			border-color 0.4s ease;
	}
	.service-card--cascade.is-visible {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
	.service-card--cascade:nth-child(1) { transition-delay: 0s; }
	.service-card--cascade:nth-child(2) { transition-delay: 0.04s; }
	.service-card--cascade:nth-child(3) { transition-delay: 0.08s; }
	.service-card--cascade:nth-child(4) { transition-delay: 0.04s; }
	.service-card--cascade:nth-child(5) { transition-delay: 0.08s; }
	.service-card--cascade:nth-child(6) { transition-delay: 0.12s; }
	.service-card--cascade.is-visible {
		transition-delay: 0s;
	}
	.service-card--cascade .service-card__icon {
		opacity: 0;
		transform: translateX(-10px);
		transition: opacity 0.7s var(--ease-out-expo) 0.12s, transform 0.75s var(--ease-out-expo) 0.12s, background 0.4s ease, color 0.4s ease;
	}
	.service-card--cascade.is-visible .service-card__icon {
		opacity: 1;
		transform: translateX(0);
	}
}
@media (hover: hover) {
	.service-card--cascade.is-visible:hover {
		transform: translate3d(0, -6px, 0);
		box-shadow: var(--shadow-lg);
		border-color: transparent;
	}
	.service-card--cascade.is-visible:hover .service-card__icon {
		transform: rotate(-6deg) scale(1.06);
		background: var(--navy);
		color: var(--gold-light);
	}
}

/* ---------- Why choose us ---------- */
.why-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: center; margin-bottom: var(--space-6); }
.why-row:last-child { margin-bottom: 0; }
.why-row--reverse .split__media { order: 2; }
@media (max-width: 900px) {
	.why-row {
		grid-template-columns: 1fr;
		gap: var(--space-3);
		margin-bottom: var(--space-6);
		padding-bottom: var(--space-5);
		border-bottom: 1px solid var(--border);
	}
	.why-row:last-child {
		margin-bottom: 0;
		padding-bottom: 0;
		border-bottom: none;
	}
	/* Always image → copy on mobile so photos never stack back-to-back between rows.
	   The media element also carries .reveal-left/.reveal-right, so only target it
	   directly here — a blanket rule on those classes would cancel this ordering. */
	.why-row .split__media,
	.why-row--reverse .split__media { order: -1; }
}
.why-list { display: grid; gap: var(--space-2); margin-top: var(--space-3); }
.why-list li { display: flex; align-items: flex-start; gap: 14px; }
.why-list .icon-badge { width: 40px; height: 40px; border-radius: 12px; background: var(--emerald-light); color: var(--emerald-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: transform .3s var(--ease), background .3s ease, color .3s ease; }
.reveal-stagger.is-visible .why-list .icon-badge,
.why-list.reveal-stagger.is-visible .icon-badge {
	animation: iconPop .65s var(--ease-spring) both;
}
.why-list.reveal-stagger.is-visible li:nth-child(1) .icon-badge { animation-delay: .1s; }
.why-list.reveal-stagger.is-visible li:nth-child(2) .icon-badge { animation-delay: .2s; }
.why-list.reveal-stagger.is-visible li:nth-child(3) .icon-badge { animation-delay: .3s; }
.why-list.reveal-stagger.is-visible li:nth-child(4) .icon-badge { animation-delay: .4s; }
.why-list li:hover .icon-badge { transform: scale(1.1) rotate(-6deg); background: var(--navy); color: var(--gold-light); }
.why-list strong { display: block; font-family: var(--font-heading); color: var(--navy); }
.why-list span { font-size: 0.92rem; color: var(--text-muted); }

/* ---------- Mission / quote ---------- */
.quote-section { text-align: center; position: relative; }
.quote-section .icon-quote { width: 52px; height: 52px; color: var(--gold); margin-inline: auto; margin-bottom: var(--space-3); }
.quote-section blockquote {
	font-family: var(--font-heading); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2.1rem);
	color: var(--navy); max-width: 900px; margin-inline: auto; line-height: 1.4;
}
.section--navy .quote-section blockquote { color: #fff; }
.quote-section cite { display: block; margin-top: var(--space-3); font-style: normal; color: var(--emerald); font-weight: 700; }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: var(--space-6); align-items: center; }
@media (max-width: 900px) { .founder { grid-template-columns: 1fr; } }
.founder__media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 3/4; max-width: 340px; margin-inline: auto; }
.founder__quote { position: relative; }
.founder__quote blockquote { font-size: 1.3rem; color: var(--navy); font-weight: 500; line-height: 1.6; }
.founder__signature { margin-top: var(--space-3); }
.founder__signature strong { display: block; font-family: var(--font-heading); font-size: 1.2rem; color: var(--navy); font-style: italic; }
.founder__signature span { font-size: 0.9rem; color: var(--text-muted); }

/* ---------- Timeline ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-3); counter-reset: step; }
@media (max-width: 900px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .timeline { grid-template-columns: 1fr; } }
.timeline__step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-3); position: relative; }
.timeline__num { font-family: var(--font-heading); font-weight: 800; font-size: 2.4rem; color: var(--emerald-light); -webkit-text-stroke: 1.5px var(--emerald); display: block; margin-bottom: 8px; }
.timeline__step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.timeline__step p { font-size: 0.9rem; }

/* ---------- Testimonials ---------- */
.testimonials { position: relative; }
.testimonial-track {
	display: flex; gap: var(--space-3); overflow-x: auto; scroll-snap-type: x mandatory;
	padding-bottom: var(--space-2); scrollbar-width: none;
}
.testimonial-track::-webkit-scrollbar { display: none; }
.testimonial-card {
	scroll-snap-align: start; flex: 0 0 min(420px, 88vw); background: #fff; border-radius: var(--radius-lg);
	border: 1px solid var(--border); padding: var(--space-4); box-shadow: var(--shadow-sm);
	transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s ease;
}
.testimonials.reveal.is-visible .testimonial-card {
	animation: staggerIn .7s var(--ease-out-expo) both;
}
.testimonials.reveal.is-visible .testimonial-card:nth-child(1) { animation-delay: .05s; }
.testimonials.reveal.is-visible .testimonial-card:nth-child(2) { animation-delay: .15s; }
.testimonials.reveal.is-visible .testimonial-card:nth-child(3) { animation-delay: .25s; }
.testimonials.reveal.is-visible .testimonial-card:nth-child(4) { animation-delay: .35s; }
@media (hover: hover) {
	.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(59,167,118,0.35); }
}
.testimonial-card__stars { display: flex; gap: 4px; color: var(--gold); margin-bottom: var(--space-2); }
.testimonial-card__stars .icon { width: 16px; height: 16px; fill: var(--gold); }
.testimonial-card p { color: var(--text); font-size: 1.02rem; }
.testimonial-card__person { display: flex; align-items: center; gap: 12px; margin-top: var(--space-3); }
.testimonial-card__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--gradient-emerald); flex-shrink: 0; }
.testimonial-card__person strong { display: block; font-family: var(--font-heading); color: var(--navy); font-size: 0.95rem; }
.testimonial-card__person span { font-size: 0.82rem; color: var(--text-muted); }
.testimonial-nav { display: flex; gap: var(--space-2); justify-content: center; margin-top: var(--space-4); }
.testimonial-nav button {
	width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
	transition: background .3s ease, color .3s ease, transform .3s ease;
}
.testimonial-nav button:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.testimonial-nav .icon { width: 18px; height: 18px; }
.icon-flip { transform: rotate(180deg); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin-inline: auto; display: grid; gap: var(--space-2); }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; transition: border-color .3s ease, box-shadow .35s var(--ease); }
.faq-item.is-open { border-color: rgba(59,167,118,0.45); box-shadow: 0 8px 28px rgba(16,59,99,0.08); }
.faq-item__q {
	width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-2);
	padding: 20px 24px; font-family: var(--font-heading); font-weight: 700; color: var(--navy); text-align: left;
	transition: background .25s ease;
}
.faq-item__q:active { background: var(--bg-soft); }
.faq-item__q .icon { width: 20px; height: 20px; color: var(--emerald); flex-shrink: 0; transition: transform .4s var(--ease-spring); }
.faq-item.is-open .faq-item__q .icon { transform: rotate(180deg); }
.faq-item__a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease-out-expo); }
.faq-item__a-inner { padding: 0 24px 20px; color: var(--text-muted); opacity: 0; transform: translateY(-6px); transition: opacity .35s ease .08s, transform .4s var(--ease) .08s; }
.faq-item.is-open .faq-item__a-inner { opacity: 1; transform: translateY(0); }
.faq-item.faq-is-filtered-out { display: none; }
.faq-category.faq-is-filtered-out { display: none; }

/* ---------- FAQ hub: search + category pills ---------- */
.faq-toolbar { background: var(--bg-soft); border-bottom: 1px solid var(--border); padding-block: var(--space-4); }
.faq-search {
	position: relative; max-width: 560px; margin: 0 auto var(--space-3);
}
.faq-search__icon { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--text-muted); pointer-events: none; }
.faq-search input {
	width: 100%; padding: 16px 20px 16px 52px; border-radius: var(--radius-pill); border: 1.5px solid var(--border);
	background: #fff; font-size: 1rem; box-shadow: var(--shadow-sm); transition: border-color .25s ease, box-shadow .25s ease;
}
.faq-search input:focus { border-color: var(--emerald); box-shadow: 0 0 0 4px var(--emerald-light); outline: none; }
.faq-search__empty { text-align: center; color: var(--text-muted); margin-top: var(--space-3); }
.faq-search__empty a { color: var(--emerald-dark); font-weight: 600; }

.faq-pills {
	display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
	max-width: 900px; margin-inline: auto;
}
@media (max-width: 700px) {
	.faq-pills { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 4px; scrollbar-width: none; }
	.faq-pills::-webkit-scrollbar { display: none; }
}
.faq-pill {
	display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
	padding: 10px 18px; border-radius: var(--radius-pill); background: #fff; border: 1.5px solid var(--border);
	font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; color: var(--navy);
	transition: border-color .25s ease, background .25s ease, color .25s ease, transform .25s var(--ease);
}
.faq-pill .icon { width: 16px; height: 16px; color: var(--emerald); transition: color .25s ease; }
.faq-pill:hover { transform: translateY(-2px); border-color: var(--emerald); }
.faq-pill.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.faq-pill.is-active .icon { color: var(--gold-light); }
.faq-pill__count {
	background: var(--emerald-light); color: var(--emerald-dark); border-radius: var(--radius-pill);
	font-size: 0.75rem; font-weight: 700; padding: 2px 8px; transition: background .25s ease, color .25s ease;
}
.faq-pill.is-active .faq-pill__count { background: rgba(255,255,255,0.16); color: #fff; }

/* ---------- Referrals / Careers audience cards ---------- */
.audience-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--space-3); }
.audience-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-3); text-align: center; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.audience-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.audience-card .icon-badge { width: 52px; height: 52px; border-radius: 50%; background: var(--gold-light); color: #9c7a2e; display: flex; align-items: center; justify-content: center; margin-inline: auto; margin-bottom: var(--space-2); }
.audience-card h3 { font-size: 1rem; }

.benefit-card { background: #fff; border-radius: var(--radius-lg); padding: var(--space-4); border: 1px solid var(--border); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.benefit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.benefit-card .icon-badge { width: 52px; height: 52px; border-radius: var(--radius-sm); background: var(--navy); color: var(--gold-light); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-2); }

.job-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-4); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-3); margin-bottom: var(--space-2); }
.job-card__meta { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-top: 6px; }
.job-card__tag { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; color: var(--text-muted); }
.job-card__tag .icon { width: 15px; height: 15px; color: var(--emerald); }

/* ---------- CTA banners ---------- */
.cta-banner {
	border-radius: var(--radius-lg); padding: var(--space-6) var(--space-5); text-align: center; position: relative; overflow: hidden;
	background: var(--gradient-hero); color: #fff;
}
.cta-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(216,178,92,0.3), transparent 60%); }
.cta-banner__glow {
	position: absolute; width: 280px; height: 280px; border-radius: 50%;
	background: radial-gradient(circle, rgba(216,178,92,0.45), transparent 70%);
	top: -80px; right: -40px; filter: blur(20px); pointer-events: none;
	animation: glowDrift 7s ease-in-out infinite;
	z-index: 0;
}
.cta-banner__glow--2 {
	width: 220px; height: 220px; top: auto; right: auto; bottom: -60px; left: -30px;
	background: radial-gradient(circle, rgba(59,167,118,0.4), transparent 70%);
	animation-delay: 1.5s;
}
@keyframes glowDrift {
	0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.7; }
	50% { transform: translate(-18px, 14px) scale(1.15); opacity: 1; }
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner.reveal {
	transform: translateY(40px) scale(0.96);
}
.cta-banner.reveal.is-visible {
	transform: translateY(0) scale(1);
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 600px; margin-inline: auto; margin-bottom: var(--space-3); }
.cta-banner .btn-row { display: flex; gap: var(--space-2); justify-content: center; flex-wrap: wrap; }
.cta-banner--gold { background: var(--gradient-gold); color: var(--navy-dark); }
.cta-banner--gold h2, .cta-banner--gold p { color: var(--navy-dark); }
.cta-banner--gold p { opacity: 0.85; }

.cta-split { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-3); }
@media (max-width: 768px) { .cta-split { grid-template-columns: 1fr; } }
.cta-tile { border-radius: var(--radius-lg); padding: var(--space-5); color: #fff; position: relative; overflow: hidden; }
.cta-tile--emerald { background: var(--gradient-emerald); }
.cta-tile--navy { background: var(--gradient-hero); }
.cta-tile h3 { color: #fff; font-size: 1.5rem; }
.cta-tile p { color: rgba(255,255,255,0.85); margin-block: var(--space-2) var(--space-3); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--space-6); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-4); box-shadow: var(--shadow-sm); }
.contact-info-card ul { display: grid; gap: var(--space-3); margin-top: var(--space-3); }
.contact-info-card li { display: flex; gap: 14px; align-items: flex-start; }
.contact-info-card .icon-badge { width: 44px; height: 44px; border-radius: 12px; background: var(--emerald-light); color: var(--emerald-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-card strong { display: block; font-family: var(--font-heading); color: var(--navy); font-size: 0.95rem; }
.contact-info-card span, .contact-info-card a { font-size: 0.92rem; color: var(--text-muted); }
.map-placeholder {
	margin-top: var(--space-3); border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16/10;
	background: repeating-linear-gradient(135deg, #EEF3F7, #EEF3F7 10px, #E5EAF0 10px, #E5EAF0 20px);
	display: flex; align-items: center; justify-content: center; color: var(--text-muted);
	flex-direction: column; gap: 8px; text-align: center; padding: var(--space-2);
}
.map-placeholder .icon { width: 34px; height: 34px; color: var(--navy); }
.map-embed {
	margin-top: var(--space-3); border-radius: var(--radius-md); overflow: hidden;
	aspect-ratio: 16/10; box-shadow: var(--shadow-sm);
}
.map-embed iframe { width: 100%; height: 100%; display: block; }

.contact-form-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border); padding: var(--space-5); box-shadow: var(--shadow-sm); }
@media (max-width: 640px) {
	.contact-info-card, .contact-form-card { padding: var(--space-3); }
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-field { margin-bottom: var(--space-2); display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-family: var(--font-heading); font-weight: 600; font-size: 0.88rem; color: var(--navy); }
.form-field input, .form-field select, .form-field textarea {
	border: 1.5px solid var(--border); border-radius: 12px; padding: 13px 16px; font-size: 0.96rem;
	transition: border-color .25s ease, box-shadow .25s ease; background: var(--bg-soft);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
	border-color: var(--emerald); box-shadow: 0 0 0 4px var(--emerald-light); outline: none;
}
.form-field--error input,
.form-field--error select,
.form-field--error textarea {
	border-color: #B3261E;
	background: #FFF8F7;
	box-shadow: 0 0 0 4px rgba(179, 38, 30, 0.12);
}
.form-field--error .choice-group {
	outline: 1.5px solid rgba(179, 38, 30, 0.35);
	border-radius: 12px;
	padding: 8px;
}
.form-field__error {
	margin: 0;
	font-size: 0.82rem;
	font-weight: 600;
	color: #B3261E;
	line-height: 1.35;
}
.contact-form__honeypot { position: absolute; left: -9999px; opacity: 0; }
.contact-form__privacy { font-size: 0.78rem; margin-top: var(--space-2); color: var(--text-muted); }
.form-field__hint { font-weight: 500; color: var(--text-muted); font-size: 0.8rem; }
.form-field--resume input[type="file"] {
	padding: 12px 14px;
	font-size: 0.9rem;
	background: var(--bg-soft);
	border: 1.5px dashed var(--border);
	border-radius: 12px;
	cursor: pointer;
}
.form-field--resume input[type="file"]:hover { border-color: var(--emerald); }
.form-field--turnstile { margin-block: var(--space-2); min-height: 65px; }
.form-notice { padding: 14px 18px; border-radius: 12px; margin-bottom: var(--space-3); font-weight: 600; font-size: 0.92rem; }
.form-notice--success { background: var(--emerald-light); color: var(--emerald-dark); }
.form-notice--error { background: #FBE9E7; color: #B3261E; }

/* ---------- Referral form: fieldsets, wrapping grid, choice groups ---------- */
.referral-form__group {
	border: none; padding: 0; margin: 0 0 var(--space-4);
}
.referral-form__group legend {
	font-family: var(--font-heading); font-weight: 800; font-size: 1.05rem; color: var(--navy);
	padding: 0 0 var(--space-2); width: 100%; border-bottom: 1px solid var(--border); margin-bottom: var(--space-3);
}
.form-row--wrap { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.form-field--full { grid-column: 1 / -1; }
.form-field__label { font-family: var(--font-heading); font-weight: 600; font-size: 0.88rem; color: var(--navy); }
.choice-group { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.choice-group__item {
	display: inline-flex; align-items: center; gap: 6px; font-size: 0.88rem; font-weight: 500;
	background: var(--bg-soft); border: 1.5px solid var(--border); border-radius: var(--radius-pill);
	padding: 8px 14px; cursor: pointer; transition: border-color .2s ease, background .2s ease;
}
.choice-group__item:has(input:checked) { border-color: var(--emerald); background: var(--emerald-light); color: var(--emerald-dark); }
.choice-group__item input { accent-color: var(--emerald); }

.hours-table { width: 100%; border-collapse: collapse; margin-top: var(--space-2); }
.hours-table td { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.72); padding-top: var(--space-6); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: var(--space-5); padding-bottom: var(--space-5); }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__tagline {
	margin-block: var(--space-2);
	font-size: 0.95rem;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.92);
}
.footer__licensed { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--gold-light); margin-bottom: var(--space-3); }
.footer__licensed-icon { width: 16px; height: 16px; }
.footer__social { display: flex; gap: 10px; }
.footer__social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; transition: background .3s ease, transform .3s ease; }
.footer__social a:hover { background: var(--emerald); transform: translateY(-3px); }
.footer__social .icon { width: 17px; height: 17px; }
.footer__title { color: #fff; font-size: 1rem; margin-bottom: var(--space-2); }
.footer__title--newsletter { margin-top: var(--space-4); }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a:hover { color: var(--gold); }
.footer__contact-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9rem; }
.footer__contact-list .icon { width: 17px; height: 17px; color: var(--emerald); flex-shrink: 0; margin-top: 2px; }
.footer__contact-label { opacity: 0.65; font-size: 0.8rem; margin-left: 4px; }
.newsletter-form__row { display: flex; gap: 8px; }
.newsletter-form input { flex: 1; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.06); color: #fff; }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form button { width: 44px; border-radius: 10px; background: var(--gradient-emerald); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.newsletter-form button .icon { width: 18px; height: 18px; color: #fff; }
.newsletter-form__success { font-size: 0.82rem; color: var(--gold); margin-top: 8px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding-block: var(--space-3); border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.82rem; }
.footer__legal { display: flex; gap: var(--space-2); }

.back-to-top {
	position: fixed; right: 24px; bottom: 24px; z-index: 180;
	width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff;
	display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md);
	opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s ease, transform .3s ease, background .3s ease;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--emerald); }
.back-to-top__icon { transform: rotate(180deg); width: 20px; height: 20px; }
/* Sits above the floating CTA capsule + home indicator on phones. */
@media (max-width: 640px) {
	.back-to-top { right: calc(env(safe-area-inset-right, 0px) + 18px); bottom: calc(env(safe-area-inset-bottom, 0px) + 92px); }
}

/* ---------- Signature moves ---------- */

/* Smooth cross-document page transitions (Chrome/Edge/Safari TP). A gentle
   fade + rise on the incoming page; no-ops entirely where unsupported and
   fully disabled under reduced-motion (below). */
@view-transition { navigation: auto; }
::view-transition-old(root) {
	animation: vtFadeOut .32s var(--ease) both;
}
::view-transition-new(root) {
	animation: vtFadeIn .42s var(--ease-out-expo) both;
}
@keyframes vtFadeOut { to { opacity: 0; } }
@keyframes vtFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Momentum + contained overscroll on the horizontal scrollers so they feel
   native (no page-level rubber-banding leaking out). */
.testimonial-track, .faq-pills {
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
}

/* ---------- Curved section transition ---------- */
.curve-top { position: relative; }
.curve-top svg { display: block; width: 100%; height: auto; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
@media (max-width: 900px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-card__media { aspect-ratio: 16/10; }
.post-card__body { padding: var(--space-3); }
.post-card__cat { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--emerald-dark); }
.post-card h3 { font-size: 1.1rem; margin-block: 8px; }
.post-card p { font-size: 0.9rem; }
.post-card__meta { font-size: 0.8rem; color: var(--text-muted); margin-top: var(--space-2); }

.single-post { max-width: 780px; margin-inline: auto; }
.single-post__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/9; margin-bottom: var(--space-4); }
.single-post__content { font-size: 1.05rem; color: var(--text); }
.single-post__content h2 { margin-top: var(--space-4); }
.single-post__content p { margin-bottom: var(--space-2); color: var(--text); }
.single-post__content a { color: var(--emerald-dark); text-decoration: underline; }

/* ---------- Pagination ---------- */
.nav-links, .pagination { display: flex; gap: 8px; justify-content: center; }
.page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px;
	border-radius: 50%; border: 1px solid var(--border); font-family: var(--font-heading); font-weight: 600;
	color: var(--navy); transition: background .3s ease, color .3s ease;
}
.page-numbers.current, .page-numbers:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- 404 ---------- */
.error-404 { text-align: center; padding-block: var(--space-8); }
.error-404__code { font-family: var(--font-heading); font-weight: 800; font-size: clamp(4rem, 12vw, 8rem); background: var(--gradient-emerald); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Legal pages ---------- */
.legal-content { max-width: 780px; margin-inline: auto; }
.legal-content h2 { margin-top: var(--space-4); margin-bottom: var(--space-2); }
.legal-content p, .legal-content li { color: var(--text-muted); margin-bottom: var(--space-2); }
.legal-content li { list-style: disc; margin-left: 1.4em; }
.legal-content__updated { color: var(--text-muted); font-size: 0.9rem; margin-bottom: var(--space-4); }

/* ---------- Tilt-on-hover (kept last so it wins over any earlier :hover transform rules) ---------- */
.tilt-card { transform-style: preserve-3d; transition: transform .3s var(--ease), box-shadow .3s var(--ease); will-change: transform; }
.tilt-card.is-tilting {
	transition: transform .08s linear, box-shadow .3s var(--ease);
	transform: perspective(900px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)) translateZ(var(--tz, 0px)) translateY(-8px);
	box-shadow: var(--shadow-lg);
}
/* Touch devices never fire mousemove, so the tilt above never happens there.
   A tap instead snaps the card into a fixed 3D tilt — the finger-driven
   equivalent of the desktop mouse-follow effect. */
@media (hover: none) and (pointer: coarse) {
	.tilt-card:active {
		transition: transform .18s var(--ease), box-shadow .18s var(--ease);
		transform: perspective(900px) rotateX(6deg) rotateY(-8deg) translateY(-6px) scale(0.98);
		box-shadow: var(--shadow-lg);
	}
	.tilt-card:active .service-card__icon {
		transform: rotate(-8deg) scale(1.08);
		background: var(--navy); color: var(--gold-light);
	}
	.service-card--cascade:not(.is-visible):active {
		transform: translate3d(0, 44px, 0) scale(0.96);
	}
}

/* Cascade cards need longer flowing transitions than the generic tilt-card rule */
.tilt-card.service-card--cascade {
	transition:
		opacity 1.05s var(--ease-flow),
		transform 1.15s var(--ease-flow),
		box-shadow 0.45s var(--ease),
		border-color 0.4s ease;
}
.tilt-card.service-card--cascade.is-tilting {
	transition: transform .08s linear, box-shadow .3s var(--ease);
}

/* ---------- Premium motion extras ---------- */
.founder__quote.reveal-right blockquote {
	opacity: 0; transform: translateY(18px);
	transition: opacity .9s var(--ease-out-expo) .2s, transform .9s var(--ease-out-expo) .2s;
}
.founder__quote.reveal-right.is-visible blockquote {
	opacity: 1; transform: translateY(0);
}
.founder__signature {
	opacity: 0; transform: translateY(12px);
	transition: opacity .7s var(--ease) .45s, transform .7s var(--ease) .45s;
}
.founder__quote.reveal-right.is-visible .founder__signature {
	opacity: 1; transform: translateY(0);
}

.scroll-progress__bar {
	box-shadow: 0 0 12px rgba(59,167,118,0.55);
}

/* Soft ambient wash behind soft sections — CSS only, compositor-friendly */
.section--soft::before {
	content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.55;
	background:
		radial-gradient(ellipse 60% 50% at 10% 20%, rgba(59,167,118,0.07), transparent 60%),
		radial-gradient(ellipse 50% 40% at 90% 80%, rgba(216,178,92,0.08), transparent 55%);
}

.cta-tile {
	transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.cta-tile::before {
	content: ''; position: absolute; inset: 0;
	background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.18), transparent 50%);
	opacity: 0; transition: opacity .4s ease; pointer-events: none;
}
.cta-tile:hover::before, .cta-tile:active::before { opacity: 1; }
.cta-tile .icon-badge {
	display: inline-flex; width: 48px; height: 48px; border-radius: 14px;
	align-items: center; justify-content: center; margin-bottom: var(--space-2);
	transition: transform .4s var(--ease-spring);
}
.cta-tile:hover .icon-badge, .cta-tile:active .icon-badge { transform: scale(1.1) rotate(-6deg); }

/* =========================================================
   PHONE / TOUCH — amplify motion (desktop hover doesn't exist here)
   Real phones need bigger travel + longer cascades to feel premium.
   ========================================================= */
@media (hover: none), (max-width: 860px) {
	/* Soft flowing scroll reveals — transform-only, no bounce */
	.reveal {
		opacity: 0; transform: translateY(36px);
		filter: none;
		transition: opacity 1s var(--ease-flow), transform 1.1s var(--ease-flow);
	}
	.reveal.is-visible { opacity: 1; transform: translateY(0); }

	.reveal-left, .reveal-right {
		opacity: 0; transform: translateY(32px);
		filter: none;
		transition: opacity 1.05s var(--ease-flow), transform 1.1s var(--ease-flow);
	}
	.reveal-left.is-visible, .reveal-right.is-visible {
		opacity: 1; transform: translateY(0);
	}

	.reveal-scale {
		opacity: 0; transform: scale(0.96);
		filter: none;
		transition: opacity 1s var(--ease-flow), transform 1.1s var(--ease-flow);
	}
	.reveal-scale.is-visible { opacity: 1; transform: scale(1); }

	.reveal-stagger > * {
		opacity: 0; transform: translate3d(-36px, 0, 0);
	}
	.reveal-stagger.is-visible > * {
		animation: phoneStaggerIn 0.95s var(--ease-flow) both;
	}
	.reveal-stagger.is-visible > *:nth-child(1) { animation-delay: 0.04s; }
	.reveal-stagger.is-visible > *:nth-child(2) { animation-delay: 0.12s; }
	.reveal-stagger.is-visible > *:nth-child(3) { animation-delay: 0.2s; }
	.reveal-stagger.is-visible > *:nth-child(4) { animation-delay: 0.28s; }
	.reveal-stagger.is-visible > *:nth-child(5) { animation-delay: 0.36s; }
	.reveal-stagger.is-visible > *:nth-child(6) { animation-delay: 0.44s; }
	.reveal-stagger.is-visible > *:nth-child(7) { animation-delay: 0.52s; }
	.reveal-stagger.is-visible > *:nth-child(8) { animation-delay: 0.6s; }

	@keyframes phoneStaggerIn {
		0% { opacity: 0; transform: translate3d(-36px, 0, 0); }
		100% { opacity: 1; transform: translate3d(0, 0, 0); }
	}

	/* Hero — soft cascade, no overshoot */
	.hero-in {
		opacity: 0;
		animation: phoneHeroRise 1s var(--ease-flow) both;
	}
	.hero-in--1 { animation-delay: 0.08s; }
	.hero-in--4 { animation-delay: 0.45s; }
	.hero-in--5 { animation-delay: 0.6s; }
	@keyframes phoneHeroRise {
		0% { opacity: 0; transform: translateY(24px); }
		100% { opacity: 1; transform: translateY(0); }
	}

	.hero-line {
		opacity: 0;
		transform: translateY(100%);
		filter: none;
		animation: phoneLineIn 1s var(--ease-flow) both;
	}
	.hero-line:nth-child(1) { animation-delay: 0.18s; }
	.hero-line:nth-child(2) { animation-delay: 0.32s; }
	.hero-line:nth-child(3) { animation-delay: 0.46s; }
	@keyframes phoneLineIn {
		0% { opacity: 0; transform: translateY(100%); }
		100% { opacity: 1; transform: translateY(0); }
	}

	.hero-fade { animation: heroFade 1.15s var(--ease-flow) 0.4s both; }

	.hero__floating-card {
		animation: phoneBadgePop 0.95s var(--ease-flow) 0.85s both, floatYSoft 4.5s ease-in-out 2s infinite;
	}
	.hero__floating-card--top {
		animation: phoneBadgePop 0.95s var(--ease-flow) 1.05s both, floatYSoft 4.5s ease-in-out 2.2s infinite;
	}
	@keyframes phoneBadgePop {
		0% { opacity: 0; transform: translateY(20px); }
		100% { opacity: 1; transform: translateY(0); }
	}
	@keyframes floatYSoft {
		0%, 100% { transform: translateY(0); }
		50% { transform: translateY(-6px); }
	}

	/* Service icons pop harder + keep a soft pulse after reveal */
	.reveal-stagger.is-visible .service-card__icon {
		animation: phoneIconSoft 0.9s var(--ease-flow) both;
	}
	@keyframes phoneIconSoft {
		0% { transform: translateY(8px) scale(0.92); opacity: 0; }
		100% { transform: translateY(0) scale(1); opacity: 1; }
	}

	/* Services cascade — left → right slide on phones */
	.service-card--cascade,
	.service-card--cascade:nth-child(odd),
	.service-card--cascade:nth-child(even) {
		opacity: 0;
		transform: translate3d(-64px, 0, 0);
		transition:
			opacity 0.9s var(--ease-out-expo),
			transform 1s var(--ease-out-expo),
			box-shadow 0.45s var(--ease),
			border-color 0.4s ease;
	}
	.service-card--cascade.is-visible {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
	.service-card--cascade .service-card__icon {
		opacity: 0;
		transform: translateX(-12px);
		transition: opacity 0.75s var(--ease-out-expo) 0.14s, transform 0.8s var(--ease-out-expo) 0.14s, background 0.4s ease, color 0.4s ease;
	}
	.service-card--cascade.is-visible .service-card__icon {
		opacity: 1;
		transform: translateX(0);
	}

	.reveal-stagger.is-visible .service-card .service-card__sheen {
		animation: none;
	}

	/* Quote — soft rise instead of hard wipe */
	.reveal-quote {
		opacity: 0;
		clip-path: none;
		transform: translateY(28px);
		transition: opacity 1.1s var(--ease-flow), transform 1.15s var(--ease-flow);
	}
	.reveal-quote.is-visible {
		opacity: 1;
		transform: translateY(0);
	}

	/* CTA banner — gentle rise */
	.cta-banner.reveal {
		transform: translateY(32px) scale(0.98);
	}
	.cta-banner.reveal.is-visible {
		transform: translateY(0) scale(1);
	}

	.marquee__track { animation-duration: 22s; }
	/* Don't restart the insurance loop on phones — mobile uses a static grid. */
	@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
		.insurance-marquee.marquee .marquee__track,
		.insurance-marquee__track { animation: marquee 48s linear infinite; }
	}

	/* No pulsing CTAs — keep shimmer light sweep only */
	.btn--shimmer { animation: none; }
	.mobile-cta-ribbon__cta { animation: none; }

	.btn:active { transform: scale(0.97); }
	.service-card:active, .cta-tile:active, .stat-card:active {
		transform: scale(0.98);
	}
	.tilt-card:active {
		transform: perspective(800px) rotateX(4deg) rotateY(-6deg) translateY(-4px) scale(0.99) !important;
		box-shadow: var(--shadow-md);
	}

	.media-zoom img, .media-zoom .photo-placeholder {
		transform: scale(1.12);
		transition: transform 1.8s var(--ease-flow);
	}
	.media-zoom.is-visible img, .media-zoom.is-visible .photo-placeholder {
		transform: scale(1);
	}

	/* Trust chips bounce in more clearly */
	.trust-bar__list.reveal-stagger.is-visible .trust-bar__item {
		animation: phoneStaggerIn 0.9s var(--ease-flow) both;
	}

	/* FAQ + founder still stage clearly */
	.founder__quote.reveal-right blockquote {
		transform: translateY(28px);
	}
	.faq-item.is-open {
		transform: scale(1.01);
	}
}

/* On phones, keep motion composed: ONE very slow, small ambient drift and steady
   opacity (no pulse) — so only the hero sheen + this gentle drift move at once. */
@media (hover: none) and (prefers-reduced-motion: no-preference) {
	.hero__blob--1, .hero__blob--2 {
		animation: phoneBlobDrift 22s ease-in-out infinite;
	}
	.hero__blob--2 { animation-delay: 3s; animation-direction: reverse; }
	@keyframes phoneBlobDrift {
		0%, 100% { transform: translate(0, 0); }
		50% { transform: translate(7px, -6px); }
	}
}
