/*!
 * BrandForge Home Sections
 *
 * Section-level styling for the homepage, building on the tokens and
 * components in brandforge-webflow.css. Covers Session 2 scope: the
 * cinematic hero (dark mesh, glass prompt centrepiece, staggered chips,
 * trust row), the full-bleed "What We Do" dark banner, and the features
 * bento grid (glass hover, oversized header, idle skeleton animations).
 *
 * Loaded AFTER brandforge-webflow.css so it can lean on its variables.
 *
 * House rules unchanged: no em/en dashes, no dark mode, cyan accent only,
 * self-hosted Rubik, animation contracts preserved (data-ns-animate,
 * .split-text-team-title word sweep, brandforge-anim-ready handshake).
 *
 * @package BrandForge
 * @since 0.5.0
 */

/* ============================================================
 * 1. HERO - cinematic dark, glass prompt centrepiece
 * ============================================================ */
.bf-hero {
	background-color: var(--bf-dark) !important;
	color: var(--bf-on-dark);
	padding-top: clamp(8rem, 6rem + 10vw, 14rem);
	padding-bottom: clamp(4rem, 3rem + 5vw, 7rem);
	isolation: isolate;
}

/* Kill the light-canvas hero treatments from the old restyle. */
.bf-hero::before { content: none !important; }

.bf-hero-inner {
	max-width: 960px;
}

/* --- Gradient mesh background: near-black with cyan orbs --- */
.bf-hero-mesh {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	pointer-events: none;
}

.bf-hero-orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(60px);
	opacity: 0.55;
	will-change: transform;
}

.bf-hero-orb-1 {
	width: 620px; height: 620px;
	top: -180px; left: -120px;
	background: radial-gradient(circle at 50% 50%, rgba(124, 241, 248, 0.30), transparent 66%);
	animation: bf-orb-drift-1 22s ease-in-out infinite;
}

.bf-hero-orb-2 {
	width: 540px; height: 540px;
	top: -80px; right: -140px;
	background: radial-gradient(circle at 50% 50%, rgba(93, 232, 240, 0.22), transparent 66%);
	animation: bf-orb-drift-2 26s ease-in-out infinite;
}

.bf-hero-orb-3 {
	width: 760px; height: 760px;
	bottom: -420px; left: 50%;
	transform: translateX(-50%);
	background: radial-gradient(circle at 50% 50%, rgba(124, 241, 248, 0.16), transparent 68%);
	animation: bf-orb-drift-3 30s ease-in-out infinite;
}

@keyframes bf-orb-drift-1 {
	0%, 100% { transform: translate(0, 0); }
	50%      { transform: translate(40px, 30px); }
}
@keyframes bf-orb-drift-2 {
	0%, 100% { transform: translate(0, 0); }
	50%      { transform: translate(-36px, 24px); }
}
@keyframes bf-orb-drift-3 {
	0%, 100% { transform: translateX(-50%) translateY(0); }
	50%      { transform: translateX(-50%) translateY(-30px); }
}

/* --- Eyebrow --- */
.bf-hero-eyebrow {
	margin-bottom: 1.75rem;
}

/* --- Oversized headline, word-by-word reveal --- */
.bf-hero-title {
	font-family: var(--bf-font);
	font-weight: 600;
	font-size: var(--bf-fs-display-1);
	line-height: var(--bf-lh-display);
	letter-spacing: var(--bf-tr-display);
	color: #FFFFFF;
	margin: 0 auto 1.5rem;
	max-width: 15ch;
	text-wrap: balance;
}

.bf-hero-line {
	display: block;
}

.bf-word {
	display: inline-block;
	white-space: nowrap;
}

/* Word reveal only engages when GSAP confirms it owns the page. */
html.brandforge-anim-ready .bf-hero-title .bf-word {
	opacity: 0;
	transform: translateY(0.5em);
	animation: bf-word-in 0.7s var(--bf-ease-out) forwards;
	animation-delay: calc(0.35s + var(--bf-i, 0) * 0.07s);
}

@keyframes bf-word-in {
	to { opacity: 1; transform: none; }
}

/* --- Subhead --- */
.bf-hero-sub {
	font-size: var(--bf-fs-lead);
	line-height: 1.6;
	font-weight: 300;
	color: var(--bf-on-dark-2);
	max-width: 40rem;
	margin: 0 auto 2.75rem;
}

/* --- AI prompt: the hero. Glass card + cyan glow halo --- */
.bf-prompt-wrap {
	position: relative;
	max-width: 46rem;
	margin: 0 auto 3rem;
}

.bf-prompt-halo {
	position: absolute;
	inset: -30px -20px 10px;
	z-index: 0;
	border-radius: var(--bf-r-2xl);
	background: radial-gradient(60% 80% at 50% 40%, rgba(124, 241, 248, 0.35), transparent 70%);
	filter: blur(28px);
	opacity: 0.85;
	pointer-events: none;
	animation: bf-halo-pulse 6s ease-in-out infinite;
}

@keyframes bf-halo-pulse {
	0%, 100% { opacity: 0.7; transform: scale(1); }
	50%      { opacity: 0.95; transform: scale(1.03); }
}

.bf-prompt-card {
	position: relative;
	z-index: 1;
	background: rgba(255, 255, 255, 0.96);
	-webkit-backdrop-filter: var(--bf-glass-blur);
	backdrop-filter: var(--bf-glass-blur);
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: var(--bf-r-lg);
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(124, 241, 248, 0.12);
	padding: 0.5rem;
	transition: box-shadow var(--bf-dur) var(--bf-ease), transform var(--bf-dur) var(--bf-ease);
}

.bf-prompt-card:focus-within,
.bf-prompt-card:hover {
	box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(124, 241, 248, 0.4), var(--bf-glow-md);
	transform: translateY(-2px);
}

.bf-prompt-input {
	width: 100%;
	padding: 1.25rem 1.5rem;
	font-family: var(--bf-font);
	font-size: 1.0625rem;
	line-height: 1.55;
	color: var(--bf-ink);
	background: transparent;
	border: 0;
	resize: none;
	outline: none;
}

.bf-prompt-input::placeholder {
	color: var(--bf-ink-faint);
}

.bf-prompt-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.5rem 1rem 1rem;
	border-top: 1px solid var(--bf-border-soft);
}

.bf-prompt-tool {
	padding: 0.625rem;
	border-radius: var(--bf-r-sm);
	color: var(--bf-ink-faint);
	background: transparent;
	border: 0;
	cursor: pointer;
	transition: background-color var(--bf-dur-fast) var(--bf-ease), color var(--bf-dur-fast) var(--bf-ease);
}

.bf-prompt-tool:hover {
	background-color: var(--bf-cyan-mist);
	color: var(--bf-cyan-deep);
}

.bf-prompt-count {
	font-size: 0.75rem;
	color: var(--bf-ink-faint);
}

.bf-prompt-submit {
	padding-inline: clamp(1rem, 0.5rem + 4vw, 3rem) !important;
}

.bf-prompt-preview {
	background-color: var(--bf-paper-subtle);
	border-radius: var(--bf-r-sm);
	border: 1px solid var(--bf-border);
}

/* --- Example chips: float up with stagger --- */
.bf-chips {
	margin-top: 1.75rem;
}

.bf-chips-label {
	font-size: 0.875rem;
	color: var(--bf-on-dark-muted);
	margin-bottom: 0.85rem;
}

.bf-chips-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
}

.bf-chip {
	padding: 0.55rem 1rem;
	border-radius: var(--bf-r-pill);
	font-family: var(--bf-font);
	font-size: 0.8125rem;
	color: var(--bf-on-dark-2);
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid var(--bf-border-dark-2);
	cursor: pointer;
	transition: background-color var(--bf-dur-fast) var(--bf-ease),
	            border-color var(--bf-dur-fast) var(--bf-ease),
	            color var(--bf-dur-fast) var(--bf-ease),
	            transform var(--bf-dur-fast) var(--bf-ease);
}

.bf-chip:hover {
	background: rgba(124, 241, 248, 0.12);
	border-color: rgba(124, 241, 248, 0.45);
	color: #FFFFFF;
	transform: translateY(-2px);
}

html.brandforge-anim-ready .bf-chips-row .bf-chip {
	opacity: 0;
	transform: translateY(14px);
	animation: bf-chip-in 0.55s var(--bf-ease-out) forwards;
	animation-delay: calc(0.7s + var(--bf-i, 0) * 0.08s);
}

@keyframes bf-chip-in {
	to { opacity: 1; transform: none; }
}

/* --- Trust row --- */
.bf-trust {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.75rem 1.25rem;
	font-size: 0.875rem;
}

.bf-trust-item {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--bf-on-dark-2);
}

.bf-trust-item svg {
	color: var(--bf-cyan);
}

.bf-trust-dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--bf-on-dark-muted);
}

@media (max-width: 480px) {
	.bf-trust-dot { display: none; }
	.bf-trust { flex-direction: column; gap: 0.6rem; }
}

/* ============================================================
 * 2. WHAT WE DO - full-bleed dark banner
 * ============================================================ */
.bf-whatwedo-wrap {
	padding-block: clamp(1rem, 0.5rem + 2vw, 2rem);
}

.bf-whatwedo {
	background-color: var(--bf-dark) !important;
	padding-block: clamp(4.5rem, 3rem + 8vw, 9rem);
	isolation: isolate;
}

.bf-whatwedo-orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(70px);
	pointer-events: none;
	z-index: 0;
	will-change: transform;
}

.bf-whatwedo-orb-1 {
	width: 480px; height: 480px;
	top: -160px; left: -80px;
	background: radial-gradient(circle at 50% 50%, rgba(124, 241, 248, 0.22), transparent 66%);
	animation: bf-orb-drift-1 24s ease-in-out infinite;
}

.bf-whatwedo-orb-2 {
	width: 420px; height: 420px;
	bottom: -180px; right: -60px;
	background: radial-gradient(circle at 50% 50%, rgba(93, 232, 240, 0.16), transparent 66%);
	animation: bf-orb-drift-2 28s ease-in-out infinite;
}

.bf-whatwedo-eyebrow {
	text-align: center;
	margin-bottom: 1.75rem;
}

/* Title. The .split-text-team-title JS wraps each word in a span and
   scrubs opacity from 0.18 -> 1 as it scrolls through. We only set the
   type; the JS owns the reveal. */
.bf-whatwedo-title {
	font-family: var(--bf-font);
	font-weight: 300;
	font-size: clamp(1.75rem, 1rem + 3.6vw, 3.75rem);
	line-height: 1.25;
	letter-spacing: var(--bf-tr-tight);
	color: #FFFFFF;
	max-width: 20ch;
	margin: 0 auto;
}

/* Fallback colour for the word spans the JS injects. */
.bf-whatwedo-title .bf-split-word {
	color: #FFFFFF;
}

/* ============================================================
 * 3. FEATURES - asymmetric bento grid
 * ============================================================ */
.bf-features {
	background-color: var(--bf-paper) !important;
	isolation: isolate;
}

.bf-features-title {
	color: var(--bf-ink);
}

/* Bento cards: glass-style hover with cyan glow lift. The skeleton UI
   internals are untouched; we only restyle the card shell + interactions. */
.bf-feature-card {
	position: relative;
	background: var(--bf-paper-subtle) !important;
	border: 1px solid var(--bf-border) !important;
	border-radius: var(--bf-r-xl) !important;
	box-shadow: var(--bf-sh-sm);
	overflow: hidden;
	transition: transform var(--bf-dur) var(--bf-ease),
	            box-shadow var(--bf-dur) var(--bf-ease),
	            border-color var(--bf-dur) var(--bf-ease);
}

/* Cyan wash that fades in on hover for depth. */
.bf-feature-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: 0;
	background: radial-gradient(120% 80% at 50% 0%, rgba(124, 241, 248, 0.10), transparent 60%);
	transition: opacity var(--bf-dur) var(--bf-ease);
}

.bf-feature-card:hover {
	transform: translateY(-5px);
	border-color: var(--bf-cyan-soft) !important;
	box-shadow: var(--bf-sh-lg), 0 0 0 1px rgba(124, 241, 248, 0.18);
}

.bf-feature-card:hover::before {
	opacity: 1;
}

/* Keep card text + figure above the wash. */
.bf-feature-card > * {
	position: relative;
	z-index: 1;
}

.bf-feature-card h5 {
	font-family: var(--bf-font);
	font-weight: 600;
	letter-spacing: var(--bf-tr-tight);
	color: var(--bf-ink);
}

.bf-feature-card p {
	color: var(--bf-ink-muted);
}

/* --- Idle animations on the skeleton UIs ---
   Subtle life so the mockups feel alive when in view. These target the
   existing skeleton class names without altering their layout. */

/* Gentle breathing float on the whole skeleton figure. */
.bf-feature-card figure {
	animation: bf-skeleton-float 7s ease-in-out infinite;
}

@keyframes bf-skeleton-float {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-4px); }
}

/* Pulse any shimmer/skeleton bars a touch (the skeletons already define a
   shimmer keyframe; this adds a soft opacity breath for the ones that do
   not animate on their own). */
.bf-feature-card .shimmer {
	will-change: background-position;
}

/* ============================================================
 * 4. Reduced motion
 * ============================================================ */
@media (prefers-reduced-motion: reduce) {
	.bf-hero-orb,
	.bf-whatwedo-orb,
	.bf-prompt-halo,
	.bf-feature-card figure {
		animation: none !important;
	}

	html.brandforge-anim-ready .bf-hero-title .bf-word,
	html.brandforge-anim-ready .bf-chips-row .bf-chip {
		opacity: 1 !important;
		transform: none !important;
		animation: none !important;
	}

	.bf-prompt-card:hover,
	.bf-feature-card:hover,
	.bf-chip:hover {
		transform: none !important;
	}
}

/* ============================================================
 * 5. SERVICES - Lucide icons, spacious cards, 3D tilt
 * ============================================================ */
.bf-services {
	background-color: var(--bf-paper) !important;
	background-image: none !important;
	isolation: isolate;
}

.bf-services-grid {
	perspective: 1200px;
}

.bf-service-card {
	transform-style: preserve-3d;
}

.bf-service-inner {
	position: relative;
	height: 100%;
	min-height: 300px;
	display: flex;
	flex-direction: column;
	gap: 2rem;
	padding: 2.25rem;
	background: var(--bf-paper);
	border: 1px solid var(--bf-border);
	border-radius: var(--bf-r-xl);
	box-shadow: var(--bf-sh-sm);
	overflow: hidden;
	transition: transform var(--bf-dur) var(--bf-ease),
	            box-shadow var(--bf-dur) var(--bf-ease),
	            border-color var(--bf-dur) var(--bf-ease);
	will-change: transform;
}

/* Cyan wash from top on hover. */
.bf-service-inner::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: 0;
	background: radial-gradient(130% 90% at 20% 0%, rgba(124, 241, 248, 0.12), transparent 58%);
	transition: opacity var(--bf-dur) var(--bf-ease);
}

.bf-service-card:hover .bf-service-inner {
	transform: rotateX(3deg) rotateY(-3deg) translateY(-6px);
	border-color: var(--bf-cyan-soft);
	box-shadow: var(--bf-sh-lg), 0 0 0 1px rgba(124, 241, 248, 0.16);
}

.bf-service-card:hover .bf-service-inner::before { opacity: 1; }

.bf-service-icon {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: var(--bf-r-md);
	color: var(--bf-cyan-deep);
	background: var(--bf-cyan-mist);
	border: 1px solid var(--bf-cyan-soft);
	transition: transform var(--bf-dur) var(--bf-ease),
	            background-color var(--bf-dur) var(--bf-ease);
}

.bf-service-icon svg { width: 30px; height: 30px; }

.bf-service-card:hover .bf-service-icon {
	transform: translateZ(30px) scale(1.05);
	background: var(--bf-cyan-soft);
}

.bf-service-text { position: relative; z-index: 1; margin-top: auto; }

.bf-service-title {
	font-family: var(--bf-font);
	font-weight: 600;
	font-size: 1.3rem;
	letter-spacing: var(--bf-tr-tight);
	color: var(--bf-ink);
	margin-bottom: 0.5rem;
}

.bf-service-desc {
	color: var(--bf-ink-muted);
	line-height: 1.6;
}

/* ============================================================
 * 6. PROCESS - sticky scroll, progress indicator, card tints
 * ============================================================ */
.bf-process {
	isolation: isolate;
}

.bf-process .bg-background-2 {
	background-color: transparent !important;
}

/* --- Vertical progress indicator in the sticky column --- */
.bf-process-progress {
	position: relative;
	list-style: none;
	margin: 0 0 2.25rem;
	padding: 0 0 0 1.75rem;
	display: none;
}

@media (min-width: 1024px) {
	.bf-process-progress { display: block; }
}

.bf-process-track {
	position: absolute;
	left: 6px;
	top: 8px;
	bottom: 8px;
	width: 2px;
	background: var(--bf-border);
	border-radius: 2px;
	overflow: hidden;
}

.bf-process-fill {
	position: absolute;
	inset: 0 0 auto 0;
	width: 100%;
	height: 0%;
	background: linear-gradient(180deg, var(--bf-cyan), var(--bf-cyan-deep));
	transition: height 0.15s linear;
}

.bf-process-step {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-height: 2.75rem;
}

.bf-process-dot {
	position: absolute;
	left: -1.75rem;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--bf-paper);
	border: 2px solid var(--bf-border);
	transition: background-color var(--bf-dur) var(--bf-ease),
	            border-color var(--bf-dur) var(--bf-ease),
	            box-shadow var(--bf-dur) var(--bf-ease);
}

.bf-process-step.is-active .bf-process-dot {
	background: var(--bf-cyan);
	border-color: var(--bf-cyan);
	box-shadow: var(--bf-glow-sm);
}

.bf-process-label {
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--bf-ink-faint);
	transition: color var(--bf-dur) var(--bf-ease);
}

.bf-process-step.is-active .bf-process-label {
	color: var(--bf-ink);
}

/* --- Stack cards: subtle per-step background tint + smoother shell --- */
.bf-stack-card .rounded-\[20px\] {
	border-radius: var(--bf-r-xl) !important;
}

.bf-stack-card figure.bg-white {
	border: 1px solid var(--bf-border) !important;
	border-radius: var(--bf-r-lg) !important;
	box-shadow: var(--bf-sh-lg);
	transition: box-shadow var(--bf-dur) var(--bf-ease);
}

.bf-step-1 figure.bg-white { background: linear-gradient(180deg, #FFFFFF, var(--bf-cyan-mist)) !important; }
.bf-step-2 figure.bg-white { background: linear-gradient(180deg, #FFFFFF, var(--bf-paper-mist)) !important; }
.bf-step-3 figure.bg-white { background: linear-gradient(180deg, #FFFFFF, #FBFCFD) !important; }
.bf-step-4 figure.bg-white { background: linear-gradient(180deg, #FFFFFF, var(--bf-cyan-mist)) !important; }

/* ============================================================
 * 7. WHO IT'S FOR - tab panels, pain strikethrough, benefit icons
 * ============================================================ */
.bf-who {
	background-color: var(--bf-paper) !important;
	isolation: isolate;
}

.bf-who .bg-background-2 { background-color: transparent !important; }

/* Desktop tab bar: refine the active underline into a cyan pill-line. */
.bf-who [data-who-active-tab-bar] {
	background: var(--bf-cyan) !important;
	height: 2px !important;
	box-shadow: var(--bf-glow-sm);
	border-radius: 2px;
}

.bf-who [data-who-tab-button][data-state="selected"] span {
	color: var(--bf-ink) !important;
}

/* Mobile active tab: cyan fill with dark text (readable). */
.bf-who [data-who-mobile-tab-button][data-mobile-active="true"] {
	background: var(--bf-cyan) !important;
	color: var(--bf-ink) !important;
	border-color: var(--bf-cyan) !important;
}

/* Panel headings pick up the display scale. */
.bf-panel h2 {
	font-family: var(--bf-font);
	font-weight: 600;
	font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
	letter-spacing: var(--bf-tr-tight);
	line-height: 1.1;
	color: var(--bf-ink);
}

/* Problem box: soft warning tint so it reads as a distinct block. */
.bf-pain-box {
	background: #FFFBF3 !important;
	border-color: #FBE7C2 !important;
}

/* Pain points: strikethrough sweep on scroll reveal.
   The line only draws once the reveal system is confirmed active. */
.bf-pain-text {
	position: relative;
	display: inline-block;
}

.bf-pain-text::after {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	height: 1.5px;
	width: 100%;
	background: #C2410C;
	transform: scaleX(0);
	transform-origin: left center;
	opacity: 0.75;
}

html.brandforge-anim-ready .bf-panel:not(.hidden) .bf-pain-text::after {
	animation: bf-strike 0.6s var(--bf-ease-out) forwards;
	animation-delay: 0.35s;
}

@keyframes bf-strike {
	to { transform: scaleX(1); }
}

/* Benefit icons (swapped from ns-shape to Lucide). */
.bf-benefit-icon {
	width: 26px;
	height: 26px;
	color: var(--bf-cyan-deep);
	flex-shrink: 0;
}

.bf-panel ul li strong {
	color: var(--bf-ink) !important;
}

/* Subtle per-tab accent wash on the skeleton container edge for
   differentiation, without touching the skeleton internals. */
.bf-panel-1 { --bf-panel-accent: rgba(124, 241, 248, 0.10); }
.bf-panel-2 { --bf-panel-accent: rgba(93, 232, 240, 0.10); }
.bf-panel-3 { --bf-panel-accent: rgba(170, 245, 255, 0.12); }
.bf-panel-4 { --bf-panel-accent: rgba(124, 241, 248, 0.08); }

/* ============================================================
 * 8. Session 3 reduced motion
 * ============================================================ */
@media (prefers-reduced-motion: reduce) {
	.bf-service-card:hover .bf-service-inner,
	.bf-service-card:hover .bf-service-icon {
		transform: none !important;
	}
	html.brandforge-anim-ready .bf-panel:not(.hidden) .bf-pain-text::after {
		animation: none !important;
		transform: scaleX(1) !important;
	}
	.bf-process-fill { transition: none !important; }
}

/* ============================================================
 * 9. STATS - full-bleed dark, massive counters, floating decor
 * ============================================================ */
.bf-stats-wrap {
	background-color: var(--bf-paper) !important;
	isolation: isolate;
}

.bf-stats {
	background-color: var(--bf-dark) !important;
	border-radius: var(--bf-r-xl) !important;
	padding: clamp(3rem, 2rem + 5vw, 5.5rem) clamp(1.25rem, 0.5rem + 3vw, 3.75rem);
	isolation: isolate;
}

.bf-stats-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2.5rem 1.5rem;
}

@media (min-width: 768px) {
	.bf-stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.bf-stat {
	text-align: center;
	position: relative;
}

/* Thin vertical dividers between stats on desktop. */
@media (min-width: 768px) {
	.bf-stat:not(:first-child)::before {
		content: "";
		position: absolute;
		left: -0.75rem;
		top: 50%;
		transform: translateY(-50%);
		width: 1px;
		height: 56px;
		background: linear-gradient(180deg, transparent, var(--bf-border-dark-2), transparent);
	}
}

.bf-stat-number {
	display: flex;
	align-items: baseline;
	justify-content: center;
	font-family: var(--bf-font);
	font-weight: 700;
	font-size: clamp(2.75rem, 1.8rem + 4vw, 4.5rem);
	line-height: 1;
	letter-spacing: var(--bf-tr-display);
	color: #FFFFFF;
}

.bf-stat-suffix {
	color: var(--bf-cyan);
	margin-left: 0.05em;
}

.bf-stat-label {
	margin-top: 0.85rem;
	font-size: 0.9375rem;
	color: var(--bf-on-dark-2);
}

/* Floating decorative elements. */
.bf-stats-ring {
	position: absolute;
	border-radius: 50%;
	border: 1px solid rgba(124, 241, 248, 0.16);
	pointer-events: none;
	z-index: 0;
}

.bf-stats-ring-1 {
	width: 340px; height: 340px;
	top: -160px; right: -80px;
	animation: bf-spin-slow 40s linear infinite;
}

.bf-stats-ring-2 {
	width: 200px; height: 200px;
	bottom: -110px; left: -50px;
	border-style: dashed;
	border-color: rgba(124, 241, 248, 0.12);
	animation: bf-spin-slow 32s linear infinite reverse;
}

@keyframes bf-spin-slow { to { transform: rotate(360deg); } }

.bf-stats-orb {
	position: absolute;
	width: 420px; height: 420px;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: radial-gradient(circle at 50% 50%, rgba(124, 241, 248, 0.10), transparent 66%);
	filter: blur(40px);
	pointer-events: none;
	z-index: 0;
}

.bf-stats-line {
	position: absolute;
	left: 8%; right: 8%;
	top: 24px;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(124, 241, 248, 0.22), transparent);
	pointer-events: none;
	z-index: 0;
}

/* ============================================================
 * 10. CTA - cinematic gradient mesh, floating decor, magnetic button
 * ============================================================ */
.bf-cta {
	background-color: var(--bf-dark) !important;
	isolation: isolate;
}

.bf-cta-orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(70px);
	pointer-events: none;
	z-index: 0;
	will-change: transform;
}

.bf-cta-orb-1 {
	width: 520px; height: 520px;
	top: -220px; left: 8%;
	background: radial-gradient(circle at 50% 50%, rgba(124, 241, 248, 0.26), transparent 66%);
	animation: bf-orb-drift-1 24s ease-in-out infinite;
}

.bf-cta-orb-2 {
	width: 440px; height: 440px;
	bottom: -220px; right: 6%;
	background: radial-gradient(circle at 50% 50%, rgba(93, 232, 240, 0.18), transparent 66%);
	animation: bf-orb-drift-2 28s ease-in-out infinite;
}

.bf-cta-ring {
	position: absolute;
	width: 300px; height: 300px;
	top: -80px; right: 12%;
	border-radius: 50%;
	border: 1px solid rgba(124, 241, 248, 0.14);
	pointer-events: none;
	z-index: 0;
	animation: bf-spin-slow 44s linear infinite;
}

.bf-cta-title {
	font-family: var(--bf-font);
	font-weight: 600;
	font-size: var(--bf-fs-display-2);
	line-height: var(--bf-lh-display);
	letter-spacing: var(--bf-tr-display);
	color: #FFFFFF;
}

.bf-cta-sub {
	font-size: var(--bf-fs-lead);
	line-height: 1.6;
	font-weight: 300;
	color: var(--bf-on-dark-2);
	max-width: 34rem;
	margin-inline: auto;
}

.bf-cta-actions {
	display: flex;
	justify-content: center;
}

/* Magnetic button: strong cyan glow, follows cursor slightly (JS sets
   the translate via --mx/--my custom props). */
.bf-magnetic {
	position: relative;
	transform: translate(var(--mx, 0), var(--my, 0));
	transition: transform 200ms var(--bf-ease), box-shadow var(--bf-dur) var(--bf-ease);
	box-shadow: var(--bf-glow-md);
}

.bf-magnetic:hover {
	box-shadow: var(--bf-glow-lg);
}

/* Social proof. */
.bf-cta-proof {
	margin-top: 2.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.85rem;
	flex-wrap: wrap;
}

.bf-avatars {
	display: inline-flex;
	align-items: center;
}

.bf-avatar {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--bf-dark);
	background: var(--bf-dark-elev);
	margin-left: -12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.bf-avatar:first-child { margin-left: 0; }

.bf-cta-proof-text {
	font-size: 0.9375rem;
	color: var(--bf-on-dark-2);
}

.bf-cta-proof-count {
	color: #FFFFFF;
	font-weight: 600;
}

/* ============================================================
 * 11. PARTNERS FAQ - smooth accordion, rotating chevron, active glow
 * ============================================================ */
.bf-faq {
	background-color: var(--bf-paper) !important;
	isolation: isolate;
}

/* Desktop tab active bar to cyan. */
.bf-faq [data-active-tab-bar] {
	background: var(--bf-cyan) !important;
	height: 2px !important;
	border-radius: 2px;
	box-shadow: var(--bf-glow-sm);
}

.bf-faq [data-tab-button][data-state="selected"] span {
	color: var(--bf-ink) !important;
}

.bf-faq [data-mobile-tab-button][data-mobile-active="true"] {
	background: var(--bf-cyan) !important;
	color: var(--bf-ink) !important;
	border-color: var(--bf-cyan) !important;
}

/* Accordion item shell: solid card, smooth border + shadow on active. */
.bf-accordion-item {
	background: var(--bf-paper) !important;
	border: 1px solid var(--bf-border);
	border-radius: var(--bf-r-lg) !important;
	transition: border-color var(--bf-dur) var(--bf-ease),
	            box-shadow var(--bf-dur) var(--bf-ease),
	            background-color var(--bf-dur) var(--bf-ease);
}

.bf-accordion-item:hover {
	border-color: var(--bf-cyan-soft);
}

/* Active item: subtle cyan border glow + faint tint. */
.bf-accordion-item.active-accordion,
.bf-accordion-item[data-state="true"] {
	border-color: var(--bf-cyan-soft);
	box-shadow: var(--bf-sh-md), 0 0 0 1px rgba(124, 241, 248, 0.2);
	background: linear-gradient(180deg, var(--bf-paper), var(--bf-cyan-mist)) !important;
}

/* Question text. */
.bf-accordion-item .accordion-action span {
	font-family: var(--bf-font);
	font-weight: 500;
	letter-spacing: var(--bf-tr-tight);
	color: var(--bf-ink) !important;
}

/* Rotating chevron. JS sets transform to rotate(180deg) on open; we own
   the transition and the resting state for a smooth spin. */
.bf-accordion-item .accordion-arrow svg {
	transition: transform var(--bf-dur) var(--bf-ease);
}

.bf-accordion-item .accordion-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--bf-paper-subtle);
	border: 1px solid var(--bf-border);
	transition: background-color var(--bf-dur) var(--bf-ease),
	            border-color var(--bf-dur) var(--bf-ease);
}

.bf-accordion-item[data-state="true"] .accordion-arrow,
.bf-accordion-item.active-accordion .accordion-arrow {
	background: var(--bf-cyan);
	border-color: var(--bf-cyan);
}

.bf-accordion-item[data-state="true"] .accordion-arrow svg path,
.bf-accordion-item.active-accordion .accordion-arrow svg path {
	stroke: var(--bf-ink) !important;
	stroke-opacity: 1 !important;
}

/* ============================================================
 * 12. POLISH PASS - consistent rhythm, smooth section flow
 * ============================================================ */

/* Normalise vertical rhythm between the home sections so the scroll flow
   feels even (120px to 180px). The partials keep their own responsive
   padding utilities; these gently reinforce the cadence on large screens
   without fighting the utility classes. */
@media (min-width: 1280px) {
	.bf-features,
	.bf-services,
	.bf-stats-wrap,
	.bf-faq {
		padding-block: clamp(6rem, 4rem + 5vw, 9rem);
	}
}

/* Prevent horizontal overflow from decorative orbs/rings on any section. */
.bf-hero,
.bf-whatwedo,
.bf-stats,
.bf-cta {
	max-width: 100vw;
}



@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

/* ============================================================
 * 13. Session 4 reduced motion
 * ============================================================ */
@media (prefers-reduced-motion: reduce) {
	.bf-stats-ring,
	.bf-stats-orb,
	.bf-cta-orb,
	.bf-cta-ring {
		animation: none !important;
	}
	.bf-magnetic {
		transform: none !important;
	}
}
