/* Home Refresh — scoped to .ff-home / .page-template-home-refresh
   Tokens, layout, and all 17 sections. */

:root {
	--ff-green: #12A67A;
	--ff-green-hover: #0e8d67;
	--ff-btn-green: #02BD87;
	--ff-green-soft: #e7f7f1;
	--ff-navy: #0B2B3F;
	--ff-ink: #12232E;
	--ff-muted: #667683;
	--ff-border: #E5E9EC;
	--ff-bg-soft: #F5F8F9;
	--ff-white: #ffffff;
	--ff-star: #12A67A;
	--ff-radius: 8px;
	--ff-radius-lg: 12px;
	--ff-container: 1200px;
	--ff-space-1: 8px;
	--ff-space-2: 16px;
	--ff-space-3: 24px;
	--ff-space-4: 32px;
	--ff-space-5: 48px;
	--ff-space-6: 64px;
	--ff-space-7: 80px;
	--ff-space-8: 96px;
	--ff-fs-eyebrow: 0.75rem;
	--ff-fs-body: 1rem;
	--ff-fs-small: 0.875rem;
	--ff-fs-h1: 2.25rem;
	--ff-fs-h2: 1.75rem;
	--ff-fs-h3: 1.125rem;
	--ff-fs-stat: 2.25rem;
	--ff-lh-tight: 1.15;
	--ff-lh-body: 1.6;
	--ff-font: "Gordita", "Open Sans", system-ui, sans-serif;
	--ff-bg-color: transparent;
	--ff-bg-image: none;
	--ff-bg-opacity: 1;
}

@media (min-width: 900px) {
	:root {
		--ff-fs-h1: 3.25rem;
		--ff-fs-h2: 2.25rem;
		--ff-fs-stat: 2.5rem;
	}
}

html.ff-topbar-strip-hidden .ff-topbar__strip,
html.ff-boi-hidden .ff-boi {
	display: none !important;
}

body.page-template-home-refresh {
	margin: 0;
	font-family: var(--ff-font);
	color: var(--ff-ink);
	background: var(--ff-white);
	line-height: var(--ff-lh-body);
	-webkit-font-smoothing: antialiased;
}

body.page-template-home-refresh.ff-nav-lock {
	overflow: hidden;
}

.ff-home {
	overflow-x: hidden;
}

.ff-home *,
.ff-home *::before,
.ff-home *::after,
.ff-topbar *,
.ff-topbar *::before,
.ff-topbar *::after {
	box-sizing: border-box;
}

.ff-home img,
.ff-topbar img {
	max-width: 100%;
	height: auto;
}

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

.ff-container {
	width: min(100% - 32px, var(--ff-container));
	margin-inline: auto;
}

.ff-section {
	position: relative;
	padding-block: var(--ff-space-6);
}

@media (min-width: 900px) {
	.ff-section {
		padding-block: var(--ff-space-7);
	}
}

.ff-section--bg {
	position: relative;
	background-color: var(--ff-bg-color, transparent);
	isolation: isolate;
}

.ff-section--bg::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: var(--ff-bg-opacity, 1);
	background-image: var(--ff-bg-image);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
}

/* Content above ACF section backgrounds — never re-position decorative __bg spans. */
.ff-section--bg > *:not([class*="__bg"]) {
	position: relative;
	z-index: 1;
}

.ff-bg-pos-cover::before { background-size: cover; background-position: center; }
.ff-bg-pos-contain::before { background-size: contain; background-position: center; background-repeat: no-repeat; }
.ff-bg-pos-left-top::before { background-size: auto; background-position: left top; }
.ff-bg-pos-right-top::before { background-size: auto; background-position: right top; }
.ff-bg-pos-left-bottom::before { background-size: auto; background-position: left bottom; }
.ff-bg-pos-tile::before { background-size: auto; background-repeat: repeat; }

.ff-eyebrow {
	margin: 0 0 var(--ff-space-2);
	font-size: var(--ff-fs-eyebrow);
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ff-green);
	text-align: center;
}

.ff-btn {
	display: inline-block;
	padding: 20px 32px;
	border-radius: 8px;
	border: 1px solid transparent;
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	text-decoration: none !important;
	cursor: pointer;
	-webkit-transition: all 0.25s ease-out;
	-moz-transition: all 0.25s ease-out;
	-o-transition: all 0.25s ease-out;
	transition: all 0.25s ease-out;
}

.ff-btn--primary {
	background: var(--ff-btn-green);
	color: #fff;
	border-color: var(--ff-btn-green);
}

.ff-btn--primary:hover,
.ff-btn--primary:focus-visible {
	background: transparent;
	border-color: var(--ff-btn-green);
	color: var(--ff-btn-green);
}

/*
 * Primary matches theme `.button_1`: #02BD87 fill, 8px radius, taller
 * padding (20/32) for mockup. Extra specificity beats theme `a` rules from
 * style.css. Dark CTA bands keep a solid fill + white text (outline hover
 * disappears on navy).
 */
.page-template-home-refresh .ff-home a.ff-btn.ff-btn--primary,
.page-template-home-refresh .ff-home button.ff-btn.ff-btn--primary,
.page-template-home-refresh .ff-home a.ff-btn.ff-btn--primary:link,
.page-template-home-refresh .ff-home a.ff-btn.ff-btn--primary:visited,
.page-template-home-refresh .ff-cta a.ff-btn.ff-btn--primary,
.page-template-home-refresh .ff-cta button.ff-btn.ff-btn--primary,
.page-template-home-refresh [data-theme="dark"] a.ff-btn.ff-btn--primary,
.page-template-home-refresh [data-theme="dark"] button.ff-btn.ff-btn--primary,
.page-template-home-refresh [data-theme="light"] a.ff-btn.ff-btn--primary,
.page-template-home-refresh [data-theme="light"] button.ff-btn.ff-btn--primary {
	display: inline-block;
	background: var(--ff-btn-green) !important;
	background-color: var(--ff-btn-green) !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	border: 1px solid var(--ff-btn-green) !important;
	border-radius: 8px;
	padding: 20px 32px;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none !important;
}

.page-template-home-refresh .ff-home a.ff-btn.ff-btn--primary:hover,
.page-template-home-refresh .ff-home a.ff-btn.ff-btn--primary:focus,
.page-template-home-refresh .ff-home a.ff-btn.ff-btn--primary:focus-visible,
.page-template-home-refresh .ff-home a.ff-btn.ff-btn--primary:active,
.page-template-home-refresh .ff-home button.ff-btn.ff-btn--primary:hover,
.page-template-home-refresh .ff-home button.ff-btn.ff-btn--primary:focus-visible,
.page-template-home-refresh .ff-cta a.ff-btn.ff-btn--primary:hover,
.page-template-home-refresh .ff-cta a.ff-btn.ff-btn--primary:focus,
.page-template-home-refresh .ff-cta a.ff-btn.ff-btn--primary:focus-visible,
.page-template-home-refresh .ff-cta a.ff-btn.ff-btn--primary:active,
.page-template-home-refresh [data-theme="light"] a.ff-btn.ff-btn--primary:hover,
.page-template-home-refresh [data-theme="light"] a.ff-btn.ff-btn--primary:focus-visible {
	background: transparent !important;
	background-color: transparent !important;
	color: var(--ff-btn-green) !important;
	-webkit-text-fill-color: var(--ff-btn-green) !important;
	border-color: var(--ff-btn-green) !important;
	text-decoration: none !important;
}

.page-template-home-refresh [data-theme="dark"] a.ff-btn.ff-btn--primary:hover,
.page-template-home-refresh [data-theme="dark"] a.ff-btn.ff-btn--primary:focus-visible,
.page-template-home-refresh [data-theme="dark"] button.ff-btn.ff-btn--primary:hover,
.page-template-home-refresh [data-theme="dark"] button.ff-btn.ff-btn--primary:focus-visible,
.page-template-home-refresh .ff-cta[data-theme="dark"] a.ff-btn.ff-btn--primary:hover,
.page-template-home-refresh .ff-cta[data-theme="dark"] a.ff-btn.ff-btn--primary:focus-visible {
	background: var(--ff-btn-green) !important;
	background-color: var(--ff-btn-green) !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	border-color: var(--ff-btn-green) !important;
	text-decoration: none !important;
	opacity: 0.9;
}

.ff-btn--secondary {
	background: var(--ff-white);
	color: var(--ff-ink);
	border-color: var(--ff-border);
}

.ff-btn--secondary:hover,
.ff-btn--secondary:focus-visible {
	border-color: var(--ff-btn-green);
	color: var(--ff-btn-green);
}

.page-template-home-refresh .ff-home a.ff-btn.ff-btn--secondary,
.page-template-home-refresh .ff-home button.ff-btn.ff-btn--secondary {
	display: inline-block;
	padding: 20px 32px;
	border-radius: 8px;
	border-width: 1px;
	font-size: 16px;
	font-weight: 500;
	background: var(--ff-white);
	color: var(--ff-ink);
}

.ff-btn--text {
	background: transparent;
	color: var(--ff-green);
	border-color: transparent;
	padding-inline: 8px;
	font-weight: 600;
}

.ff-btn--text:hover,
.ff-btn--text:focus-visible {
	color: var(--ff-green-hover);
	text-decoration: underline;
}

.ff-icon,
.ff-icon svg,
.ff-icon img,
.ff-home img.ff-icon,
.ff-home svg.ff-icon {
	display: block;
	width: 1em;
	height: 1em;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.ff-dismiss {
	appearance: none;
	border: 0;
	background: transparent;
	color: inherit;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	padding: 4px 8px;
	opacity: 0.7;
}

.ff-dismiss:hover,
.ff-dismiss:focus-visible {
	opacity: 1;
}

/* ── Top bar ─────────────────────────────────────────────── */

.ff-topbar {
	background: var(--ff-white);
	z-index: 50;
}

.ff-topbar.is-sticky {
	position: sticky;
	top: 0;
}

.ff-topbar.is-scrolled .ff-topbar__bar {
	box-shadow: 0 1px 0 var(--ff-border);
	padding-block: 8px;
}

.ff-topbar__strip {
	color: var(--ff-white);
	background: var(--ff-navy);
	font-size: var(--ff-fs-small);
}

.ff-topbar__strip-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding-block: 8px;
	text-align: center;
}

.ff-topbar__strip .ff-btn--text {
	color: var(--ff-white);
}

.ff-topbar__bar {
	padding-block: 14px;
	transition: padding 0.2s ease;
}

.ff-topbar__inner {
	display: flex;
	align-items: center;
	gap: var(--ff-space-3);
}

.ff-topbar__logo {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
}

.ff-topbar__logo-img {
	display: block;
	height: 36px;
	width: auto;
}

.ff-nav {
	flex: 1 1 auto;
	display: none;
}

@media (min-width: 1024px) {
	.ff-nav {
		display: block;
	}
}

.ff-nav--drawer {
	display: block;
}

.ff-nav__list {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ff-nav__item-inner {
	display: flex;
	align-items: center;
}

.ff-nav__link {
	display: inline-flex;
	padding: 10px 12px;
	color: var(--ff-ink);
	text-decoration: none;
	font-size: 0.9375rem;
	font-weight: 500;
}

.ff-nav__link:hover,
.ff-nav__item.is-current > .ff-nav__item-inner > .ff-nav__link {
	color: var(--ff-green);
}

.ff-nav__caret {
	appearance: none;
	border: 0;
	background: transparent;
	width: 28px;
	height: 28px;
	cursor: pointer;
	position: relative;
}

.ff-nav__caret span {
	display: block;
	width: 8px;
	height: 8px;
	margin: 8px auto 0;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
}

.ff-nav__sub {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	margin: 0;
	padding: 8px 0;
	list-style: none;
	background: var(--ff-white);
	border: 1px solid var(--ff-border);
	border-radius: var(--ff-radius);
	z-index: 20;
}

.ff-nav__item {
	position: relative;
}

.ff-nav__item.has-children:hover > .ff-nav__sub,
.ff-nav__item.has-children:focus-within > .ff-nav__sub,
.ff-nav__item.has-children.is-open > .ff-nav__sub {
	display: block;
}

.ff-nav__sub .ff-nav__link {
	display: block;
	width: 100%;
	padding: 8px 16px;
}

.ff-topbar__actions {
	margin-left: auto;
	display: flex;
	align-items: center;
	gap: 8px;
}

.ff-topbar__actions > .ff-btn--text {
	color: var(--ff-ink);
}

.ff-topbar__search-toggle {
	appearance: none;
	border: 0;
	background: transparent;
	color: var(--ff-ink);
	width: 40px;
	height: 40px;
	cursor: pointer;
}

.ff-topbar__search {
	display: flex;
	gap: 8px;
	position: absolute;
	right: 16px;
	top: calc(100% + 8px);
	background: var(--ff-white);
	border: 1px solid var(--ff-border);
	border-radius: var(--ff-radius);
	padding: 12px;
	z-index: 30;
}

.ff-topbar__search[hidden] {
	display: none;
}

.ff-topbar__search input {
	border: 1px solid var(--ff-border);
	border-radius: 999px;
	padding: 10px 14px;
	font: inherit;
	min-width: 180px;
}

.ff-topbar__burger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	cursor: pointer;
}

@media (min-width: 1024px) {
	.ff-topbar__burger {
		display: none;
	}
}

.ff-topbar__burger-lines,
.ff-topbar__burger-lines::before,
.ff-topbar__burger-lines::after {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--ff-ink);
	position: relative;
}

.ff-topbar__burger-lines::before,
.ff-topbar__burger-lines::after {
	content: "";
	position: absolute;
	left: 0;
}

.ff-topbar__burger-lines::before { top: -7px; }
.ff-topbar__burger-lines::after { top: 7px; }

.ff-nav-drawer[hidden] {
	display: none;
}

.ff-nav-drawer {
	position: fixed;
	inset: 0;
	z-index: 80;
	background: rgba(11, 43, 63, 0.45);
}

.ff-nav-drawer__panel {
	position: absolute;
	inset: 0 0 0 auto;
	width: min(100%, 360px);
	background: var(--ff-white);
	padding: 24px;
	overflow: auto;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.ff-nav-drawer__close {
	align-self: flex-end;
	border: 0;
	background: transparent;
	font-size: 2rem;
	line-height: 1;
	cursor: pointer;
}

.ff-nav--drawer .ff-nav__list {
	flex-direction: column;
	align-items: stretch;
}

.ff-nav--drawer .ff-nav__sub {
	position: static;
	border: 0;
	min-width: 0;
	padding-left: 12px;
}

.ff-nav--drawer .ff-nav__item.has-children.is-open > .ff-nav__sub {
	display: block;
}

.ff-nav-drawer__actions {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

/* ── Hero ────────────────────────────────────────────────── */

.ff-hero {
	padding-top: 140px;
	padding-bottom: var(--ff-space-6);
	background: var(--ff-white);
	overflow: hidden;
}

@media (min-width: 900px) {
	.ff-hero {
		padding-top: 168px;
		padding-bottom: var(--ff-space-8);
	}
}

/* Theme network graphics (same assets as .home_top_wrap / .cp_bg_*).
   Dedicated spans — ::before is reserved for .ff-section--bg ACF backgrounds. */
.ff-hero > .ff-hero__bg {
	position: absolute;
	z-index: 0;
	pointer-events: none;
	background-repeat: no-repeat;
	background-size: contain;
}

.ff-hero__bg--left {
	left: 0;
	bottom: 0;
	width: min(38%, 168px);
	aspect-ratio: 541 / 919;
	background-image: url("../../images/bg_left.svg");
	background-position: left bottom;
}

.ff-hero__bg--right {
	right: 0;
	top: 0;
	width: min(38%, 160px);
	aspect-ratio: 663 / 664;
	background-image: url("../../images/bg_right.svg");
	background-position: right top;
}

@media (min-width: 900px) {
	.ff-hero__bg--left {
		width: min(50%, 480px);
	}

	.ff-hero__bg--right {
		width: min(50%, 520px);
	}
}

.ff-hero > .ff-container {
	position: relative;
	z-index: 1;
}

/* Absolute theme header overlays the top of the page — keep first section clear. */
.page-template-home-refresh .ff-home > .ff-section:first-child:not(.ff-hero) {
	padding-top: 140px;
}

@media (min-width: 900px) {
	.page-template-home-refresh .ff-home > .ff-section:first-child:not(.ff-hero) {
		padding-top: 168px;
	}
}

.ff-hero__grid {
	display: grid;
	gap: var(--ff-space-5);
	align-items: center;
}

@media (min-width: 900px) {
	.ff-hero__grid {
		grid-template-columns: 1fr 1.2fr;
		gap: var(--ff-space-5);
	}
}

.ff-hero__title {
	margin: 0 0 var(--ff-space-3);
	font-size: var(--ff-fs-h1);
	line-height: var(--ff-lh-tight);
	letter-spacing: -0.03em;
	color: var(--ff-ink);
	font-weight: 700;
}

.ff-hero__text {
	color: var(--ff-muted);
	max-width: 36rem;
}

.ff-hero__text h3 {
	margin: 0 0 8px;
	font-size: 1.05rem;
	color: var(--ff-ink);
}

.ff-hero__text p {
	margin: 0 0 12px;
}

.ff-hero__text ul {
	margin: 0 0 var(--ff-space-3);
	padding-left: 1.1rem;
}

.ff-hero__actions {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: var(--ff-space-3);
}

/* Slightly smaller hero CTAs on mobile so both fit side by side */
@media (max-width: 899px) {
	.ff-hero__actions {
		gap: 8px;
	}

	.ff-hero__actions .ff-btn {
		padding: 12px 16px;
		font-size: 14px;
		white-space: nowrap;
	}
}

.ff-hero__media {
	min-width: 0;
}

@media (min-width: 900px) {
	.ff-hero__media {
		justify-self: end;
		width: 100%;
		max-width: none;
	}
}

.ff-hero__image {
	display: block;
	width: 100%;
	height: auto;
}

@media (min-width: 900px) {
	.ff-hero__image {
		width: 112%;
		max-width: none;
		margin-right: -6%;
	}
}

.ff-hero__embed iframe,
.ff-hero__embed video {
	width: 100%;
	aspect-ratio: 16 / 10;
	border: 0;
}

/* ── Stats ───────────────────────────────────────────────── */

.ff-stats {
	padding-block: var(--ff-space-6);
}

.ff-stats .ff-container {
	max-width: 1100px;
}

.ff-stats__row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: var(--ff-space-5);
	text-align: center;
}

.ff-stats__item {
	flex: 1 1 180px;
	max-width: 240px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: inherit;
}

.ff-stats__icon {
	width: 56px;
	height: 56px;
	display: grid;
	place-items: center;
	color: var(--ff-green);
	font-size: 48px;
	border: 0;
	background: transparent;
}

.ff-stats__icon .dashicons,
.ff-stats__icon img,
.ff-stats__icon svg {
	width: 48px;
	height: 48px;
	font-size: 48px;
}

.ff-stats__value {
	font-size: var(--ff-fs-stat);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.1;
	color: var(--ff-ink);
}

.ff-stats__label {
	font-size: var(--ff-fs-small);
	color: var(--ff-muted);
	text-transform: lowercase;
}

@media (min-width: 700px) {
	.ff-stats__row {
		flex-wrap: nowrap;
		gap: 0;
	}

	.ff-stats__item {
		flex: 1 1 0;
		max-width: none;
		padding-inline: 48px;
	}

	.ff-stats__item + .ff-stats__item {
		border-left: 1px solid var(--ff-border);
	}
}

@media (min-width: 900px) {
	.ff-stats__item {
		padding-inline: 72px;
	}
}

@media (max-width: 699px) {
	.ff-stats__item {
		flex-basis: calc(50% - 16px);
	}
}

/* ── Logos ───────────────────────────────────────────────── */

.ff-logos {
	padding-block: var(--ff-space-4) var(--ff-space-5);
}

@media (max-width: 699px) {
	.ff-logos {
		display: none;
	}
}

.ff-logos__eyebrow {
	color: var(--ff-muted);
	margin-bottom: var(--ff-space-3);
}

.ff-logos__viewport {
	overflow: hidden;
}

.ff-logos__track {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	width: max-content;
	gap: var(--ff-space-5);
	--ff-ticker-distance: 50%;
}

.ff-logos__set {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	gap: var(--ff-space-5);
	flex: 0 0 auto;
	width: max-content;
	min-width: max-content;
}

.ff-logos__item {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 184px;
	height: 60px;
	overflow: visible;
}

.ff-home .ff-logos__img,
.ff-home .ff-logos__item img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: center;
}

.ff-logos__viewport.is-animated {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0, #000 56px, #000 calc(100% - 56px), transparent 100%);
}

.ff-logos__viewport.is-animated .ff-logos__track {
	flex-wrap: nowrap;
	width: max-content;
	min-width: max-content;
	animation: ff-ticker var(--ff-ticker-speed, 40s) linear infinite;
	will-change: transform;
}

.ff-logos__viewport.is-animated .ff-logos__set {
	flex-wrap: nowrap;
	flex: 0 0 auto;
	width: max-content;
	min-width: max-content;
}

.ff-logos__viewport.is-animated:hover .ff-logos__track {
	animation-play-state: paused;
}

/*
 * Lock: animated ticker must never wrap on any viewport.
 * Beats theme img/flex leaks and prefers-reduced-motion overrides below.
 */
.page-template-home-refresh .ff-logos .ff-logos__viewport.is-animated .ff-logos__track,
.page-template-home-refresh .ff-logos .ff-logos__viewport.is-animated .ff-logos__set {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	width: max-content !important;
	min-width: max-content !important;
}

.page-template-home-refresh .ff-logos .ff-logos__viewport.is-animated .ff-logos__item {
	flex: 0 0 auto !important;
	flex-basis: 184px !important;
	width: 184px !important;
	max-width: 184px !important;
}

.page-template-home-refresh .ff-logos .ff-logos__viewport.is-animated .ff-logos__img,
.page-template-home-refresh .ff-logos .ff-logos__viewport.is-animated .ff-logos__item img {
	width: 100% !important;
	max-width: 100% !important;
	height: 100% !important;
	object-fit: contain !important;
}

.ff-logos__viewport.is-grayscale .ff-logos__img {
	filter: grayscale(1);
	opacity: 0.75;
	transition: filter 0.2s ease, opacity 0.2s ease;
}

.ff-logos__viewport.is-grayscale .ff-logos__item:hover .ff-logos__img,
.ff-logos__viewport.is-grayscale .ff-logos__item:focus-visible .ff-logos__img {
	filter: none;
	opacity: 1;
}

.ff-logos__viewport.is-static {
	overflow: visible;
	max-width: var(--ff-container);
	margin-inline: auto;
}

.ff-logos__viewport.is-static .ff-logos__track {
	width: 100%;
	justify-content: center;
}

.ff-logos__viewport.is-static .ff-logos__set:last-child {
	display: none;
}

.ff-logos__viewport.is-static .ff-logos__set {
	flex-wrap: wrap;
	justify-content: center;
	width: 100%;
	min-width: 0;
	padding-inline: 0;
}

@keyframes ff-ticker {
	from { transform: translateX(0); }
	to { transform: translateX(calc(-1 * var(--ff-ticker-distance, 50%))); }
}

/* ── Due ─────────────────────────────────────────────────── */

.ff-due {
	padding-block: var(--ff-space-4) var(--ff-space-6);
}

.ff-due__card {
	display: flex;
	flex-direction: column;
	gap: var(--ff-space-3);
	padding: 28px 24px;
	border-radius: 20px;
	overflow: hidden;
	background: var(--ff-navy);
	color: var(--ff-white);
}

@media (min-width: 800px) {
	.ff-due__card {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: var(--ff-space-4);
		padding: 48px 72px;
	}
}

.ff-due__copy {
	flex: 1 1 auto;
	min-width: 0;
}

.ff-due__heading {
	margin: 0 0 8px;
	font-size: 1.5rem;
	line-height: 1.2;
	color: inherit;
}

.ff-due__subtext {
	margin: 0;
	opacity: 0.85;
	font-size: var(--ff-fs-small);
}

.ff-due__form {
	display: flex;
	flex-direction: column;
	gap: 12px;
	flex: 0 0 auto;
	min-width: min(100%, 360px);
}

@media (min-width: 800px) {
	.ff-due__form {
		flex-direction: row;
		align-items: center;
		gap: 15px;
	}
}

.ff-due__select {
	appearance: none;
	-webkit-appearance: none;
	box-sizing: border-box;
	flex: 1 1 auto;
	min-width: 180px;
	height: 62px;
	padding: 20px 44px 20px 16px;
	border: 1px solid transparent;
	border-radius: var(--ff-radius);
	font: inherit;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.2;
	background: var(--ff-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2312232E' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center;
	color: #6b7a86;
	cursor: pointer;
}

.ff-due__select:valid {
	color: var(--ff-ink);
}

.ff-due__form .ff-btn {
	flex: 0 0 auto;
	box-sizing: border-box;
	height: 62px;
	padding: 20px 32px;
	border-radius: var(--ff-radius);
	white-space: nowrap;
}

.ff-due__card[data-theme="light"] {
	background: var(--ff-bg-soft);
	color: var(--ff-ink);
}

/* ── Filings ─────────────────────────────────────────────── */

.ff-filings__heading {
	margin: 0 auto var(--ff-space-5);
	max-width: 18ch;
	text-align: center;
	font-size: var(--ff-fs-h2);
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.ff-filings__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--ff-space-2);
}

@media (min-width: 560px) {
	.ff-filings__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 900px) {
	.ff-filings__grid {
		grid-template-columns: repeat(var(--ff-cols, 6), 1fr);
	}
}

.ff-filings__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	text-align: center;
	padding: var(--ff-space-3);
	border: 1px solid var(--ff-border);
	border-radius: var(--ff-radius);
	text-decoration: none;
	color: var(--ff-ink);
	background: var(--ff-white);
	min-height: 120px;
	height: 100%;
	transition: border-color 0.2s ease;
}

a.ff-filings__card:hover,
a.ff-filings__card:focus-visible {
	border-color: var(--ff-green);
}

.ff-filings__icon {
	font-size: 28px;
	color: var(--ff-green);
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	background: var(--ff-green-soft);
	border-radius: 999px;
}

.ff-filings__label {
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--ff-ink);
}

/* Linked cards: ink title by default; theme green on hover/focus */
.page-template-home-refresh a.ff-filings__card .ff-filings__label,
.page-template-home-refresh a.ff-filings__card:link .ff-filings__label,
.page-template-home-refresh a.ff-filings__card:visited .ff-filings__label {
	color: var(--ff-ink);
	transition: color 0.2s ease;
}

.page-template-home-refresh a.ff-filings__card:hover .ff-filings__label,
.page-template-home-refresh a.ff-filings__card:focus-visible .ff-filings__label {
	color: var(--ff-green);
}

/* ── Why ─────────────────────────────────────────────────── */

.ff-why {
	padding-top: 0;
}

.ff-why__heading {
	margin: 0 auto 12px;
	max-width: 640px;
	text-align: center;
	font-size: var(--ff-fs-h2);
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.ff-why__intro {
	margin: 0 auto var(--ff-space-5);
	max-width: 640px;
	text-align: center;
	color: var(--ff-muted);
}

.ff-why__grid {
	display: grid;
	gap: var(--ff-space-5);
	align-items: center;
}

@media (min-width: 900px) {
	.ff-why__grid {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	}
	.ff-why__grid--right {
		grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	}
	.ff-why__grid--right .ff-why__media {
		order: 2;
	}
}

.ff-why__media {
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ff-why__image {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	margin-inline: auto;
	object-fit: contain;
	object-position: center center;
}

@media (min-width: 900px) {
	.ff-why__grid--left .ff-why__media {
		justify-content: flex-start;
	}
	.ff-why__grid--right .ff-why__media {
		justify-content: flex-end;
	}
	.ff-why__image {
		/* Keep network + phone mockups visible in the media column */
		width: 100%;
		max-width: none;
	}
}

@media (max-width: 899px) {
	.ff-why__media {
		max-width: 520px;
		margin-inline: auto;
	}
}

.ff-why__items {
	display: flex;
	flex-direction: column;
	gap: var(--ff-space-2);
}

.ff-why__item {
	border: 1px solid var(--ff-border);
	border-radius: var(--ff-radius);
	background: var(--ff-white);
	padding: 16px 18px;
}

.ff-why__trigger,
.ff-why__static {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	width: 100%;
	text-align: left;
	background: transparent;
	border: 0;
	padding: 0;
	font: inherit;
	color: inherit;
	cursor: default;
}

.ff-why__trigger {
	cursor: pointer;
}

.ff-why__icon {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border-radius: 999px;
	background: var(--ff-green-soft);
	color: var(--ff-green);
	font-size: 20px;
}

.ff-why__item-title {
	margin: 0;
	font-size: var(--ff-fs-h3);
	font-weight: 700;
}

.ff-why__item-text {
	margin: 6px 0 0;
	color: var(--ff-muted);
	font-size: var(--ff-fs-small);
}

.ff-why__panel[hidden] {
	display: none;
}

.ff-why__panel {
	padding: 8px 0 0 54px;
}

/* ── CTA mid ─────────────────────────────────────────────── */

.ff-cta {
	padding-block: 56px;
	background: var(--ff-navy);
	color: var(--ff-white);
}

.ff-cta__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--ff-space-3);
	text-align: center;
}

@media (min-width: 768px) {
	.ff-cta--split .ff-cta__inner {
		flex-direction: row;
		justify-content: space-between;
		text-align: left;
		align-items: center;
	}
}

.ff-cta__heading {
	margin: 0;
	font-size: 1.75rem;
	line-height: 1.2;
	color: inherit;
}

.ff-cta__subtext {
	margin: 8px 0 0;
	opacity: 0.85;
}

.ff-cta[data-theme="light"] {
	background: var(--ff-bg-soft);
	color: var(--ff-ink);
}

/* Dark navy CTA: primary stays solid green + white text, 8px corners. */
.page-template-home-refresh .ff-cta[data-theme="dark"] a.ff-btn.ff-btn--primary,
.page-template-home-refresh .ff-cta a.ff-btn.ff-btn--primary {
	background: var(--ff-btn-green) !important;
	color: #fff !important;
	-webkit-text-fill-color: #fff !important;
	border: 1px solid var(--ff-btn-green) !important;
	border-radius: 8px;
	padding: 20px 32px;
	font-size: 16px;
	font-weight: 500;
}

/* ── Serve ───────────────────────────────────────────────── */

.ff-serve {
	overflow: hidden;
}

/* Theme network graphics — same assets/positioning as .ff-hero__bg. */
.ff-serve > .ff-serve__bg {
	position: absolute;
	z-index: 0;
	pointer-events: none;
	background-repeat: no-repeat;
	background-size: contain;
}

.ff-serve__bg--left {
	left: 0;
	bottom: 0;
	width: min(38%, 168px);
	aspect-ratio: 541 / 919;
	background-image: url("../../images/bg_left.svg");
	background-position: left bottom;
}

.ff-serve__bg--right {
	right: 0;
	top: 0;
	width: min(38%, 160px);
	aspect-ratio: 663 / 664;
	background-image: url("../../images/bg_right.svg");
	background-position: right top;
}

@media (min-width: 900px) {
	.ff-serve__bg--left {
		width: min(50%, 480px);
	}

	.ff-serve__bg--right {
		width: min(50%, 520px);
	}
}

.ff-serve > .ff-container {
	position: relative;
	z-index: 1;
}

.ff-serve__heading {
	margin: 0 auto 12px;
	max-width: 20ch;
	text-align: center;
	font-size: var(--ff-fs-h2);
	line-height: 1.2;
}

.ff-serve__intro {
	margin: 0 auto var(--ff-space-5);
	max-width: 640px;
	text-align: center;
	color: var(--ff-muted);
}

.ff-serve__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--ff-space-2);
}

@media (min-width: 560px) {
	.ff-serve__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 900px) {
	.ff-serve__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.ff-serve__card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	padding: 24px;
	border: 1px solid var(--ff-border);
	border-radius: var(--ff-radius-lg);
	background: var(--ff-white);
	text-decoration: none !important;
	color: inherit;
	min-height: 100%;
	box-shadow: 0 0 0 transparent;
	transform: translateY(0);
	transition: border-color 0.25s ease-out, box-shadow 0.25s ease-out, transform 0.25s ease-out;
}

.ff-serve__card--link {
	cursor: pointer;
}

.ff-serve__card:not(.ff-serve__card--promo):hover,
.ff-serve__card:not(.ff-serve__card--promo):focus-visible,
.ff-serve__card--link:hover,
.ff-serve__card--link:focus-visible {
	border-color: var(--ff-btn-green);
	box-shadow: 0 10px 24px rgba(2, 189, 135, 0.16);
	transform: translateY(-4px);
	outline: none;
	color: inherit;
}

.ff-serve__card--promo:hover,
.ff-serve__card--promo:focus-within {
	border-color: var(--ff-btn-green);
	box-shadow: 0 10px 24px rgba(2, 189, 135, 0.22);
	transform: translateY(-4px);
}

.ff-serve__icon {
	width: 40px;
	height: 40px;
	display: grid;
	place-items: center;
	border-radius: 10px;
	background: var(--ff-green-soft);
	color: var(--ff-green);
	font-size: 20px;
}

.ff-serve__icon .dashicons,
.ff-serve__icon img,
.ff-serve__icon svg {
	width: 22px;
	height: 22px;
	font-size: 22px;
}

.ff-serve__title {
	margin: 0;
	font-size: 1.05rem;
}

/* Linked cards: ink title by default; theme green on hover/focus */
.page-template-home-refresh a.ff-serve__card.ff-serve__card--link .ff-serve__title,
.page-template-home-refresh a.ff-serve__card.ff-serve__card--link:link .ff-serve__title,
.page-template-home-refresh a.ff-serve__card.ff-serve__card--link:visited .ff-serve__title {
	color: var(--ff-ink);
	transition: color 0.25s ease-out;
}

.page-template-home-refresh a.ff-serve__card.ff-serve__card--link:hover .ff-serve__title,
.page-template-home-refresh a.ff-serve__card.ff-serve__card--link:focus-visible .ff-serve__title {
	color: var(--ff-green);
}

.ff-serve__text {
	margin: 0;
	color: var(--ff-muted);
	font-size: var(--ff-fs-small);
}

.ff-serve__card--promo {
	align-items: center;
	justify-content: center;
	text-align: center;
	background: var(--ff-navy);
	color: var(--ff-white);
	border-color: var(--ff-navy);
	gap: 12px;
	padding: 28px 24px;
}

.ff-serve__promo-eyebrow {
	margin: 0;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ff-btn-green);
	opacity: 1;
}

.ff-serve__promo-heading {
	margin: 0;
	font-size: 1.35rem;
	line-height: 1.25;
	color: var(--ff-white);
}

.ff-serve__promo-text {
	margin: 0;
	font-size: var(--ff-fs-small);
	line-height: 1.45;
	color: #A0B0BB;
	max-width: 28ch;
}

.ff-serve__card--promo .ff-btn {
	margin-top: 4px;
}

/* ── Testimonials ────────────────────────────────────────── */

.ff-testimonials__heading {
	margin: 0 auto 12px;
	text-align: center;
	font-size: var(--ff-fs-h2);
}

.ff-testimonials__intro {
	margin: 0 auto var(--ff-space-5);
	max-width: 640px;
	text-align: center;
	color: var(--ff-muted);
}

.ff-testimonials__track {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--ff-space-2);
}

@media (min-width: 900px) {
	.ff-testimonials__track {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 899px) {
	.ff-testimonials__track.is-slider {
		display: flex;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scroll-behavior: smooth;
		gap: 16px;
		padding-bottom: 8px;
	}

	.ff-testimonials__track.is-slider .ff-testimonial {
		flex: 0 0 min(100%, 340px);
		scroll-snap-align: start;
	}
}

.ff-testimonial {
	display: flex;
	flex-direction: column;
	padding: 24px;
	border: 1px solid var(--ff-border);
	border-radius: var(--ff-radius);
	background: var(--ff-white);
	height: 100%;
}

.ff-testimonial__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.ff-testimonial__logo {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex: 0 0 auto;
	width: 140px;
	height: 48px;
}

/* Override .ff-home img { height: auto } so logos share one visual scale. */
.ff-home .ff-testimonials .ff-testimonial__logo-img,
.ff-home .ff-testimonials .ff-testimonial__logo img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	object-position: left center;
	opacity: 0.6;
}

.ff-stars {
	display: flex;
	gap: 2px;
	color: var(--ff-star);
}

.ff-testimonial__quote {
	margin: 0 0 auto;
	font-style: normal;
	color: var(--ff-ink);
	font-size: 0.95rem;
}

.ff-testimonial__cite {
	display: block;
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid var(--ff-border);
	font-style: normal;
}

.ff-testimonial__name {
	display: block;
	font-weight: 700;
}

.ff-testimonial__role {
	display: block;
	color: var(--ff-muted);
	font-size: var(--ff-fs-small);
}

.ff-testimonial__company {
	display: inline-block;
	margin-top: 4px;
	color: var(--ff-green);
	text-decoration: none;
	font-size: var(--ff-fs-small);
}

.ff-testimonials__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 16px;
}

@media (min-width: 900px) {
	.ff-testimonials__dots {
		display: none;
	}
}

.ff-testimonials__dots button {
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--ff-border);
	cursor: pointer;
}

.ff-testimonials__dots button.is-active {
	background: var(--ff-green);
	width: 22px;
}

/* ── CTA AR ──────────────────────────────────────────────── */

.ff-cta-ar {
	background: var(--ff-navy);
}

.ff-cta-ar__card {
	display: grid;
	gap: var(--ff-space-4);
	padding: var(--ff-space-4);
	background: var(--ff-white);
	border-radius: var(--ff-radius-lg);
}

@media (min-width: 800px) {
	.ff-cta-ar__card {
		grid-template-columns: 1fr 1fr;
		padding: 40px;
		align-items: center;
	}
}

.ff-cta-ar .ff-eyebrow {
	text-align: left;
	margin-bottom: 12px;
	font-size: 0.875rem;
}

.ff-cta-ar__heading {
	margin: 0 0 var(--ff-space-3);
	font-size: var(--ff-fs-h2);
	line-height: 1.2;
}

.ff-cta-ar__list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ff-cta-ar__item {
	display: flex;
	gap: 12px;
	padding: 16px;
	background: var(--ff-bg-soft);
	border-radius: var(--ff-radius);
}

.ff-cta-ar__item p {
	margin: 0;
	font-size: var(--ff-fs-small);
	color: var(--ff-ink);
}

.ff-cta-ar__check {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	display: grid;
	place-items: center;
	border-radius: 999px;
	background: var(--ff-green-soft);
	color: var(--ff-green);
}

/* ── BOI ─────────────────────────────────────────────────── */

.ff-boi {
	padding-block: var(--ff-space-3);
	background: var(--ff-bg-soft);
}

.ff-boi__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--ff-space-2);
}

.ff-boi__heading {
	margin: 0;
	font-size: 1.125rem;
}

.ff-boi__text {
	margin: 4px 0 0;
	color: var(--ff-muted);
	font-size: var(--ff-fs-small);
}

.ff-boi__action {
	margin-left: auto;
}

.ff-boi[data-theme="dark"] {
	background: var(--ff-navy);
	color: var(--ff-white);
}

.ff-boi[data-theme="dark"] .ff-boi__text {
	color: rgba(255, 255, 255, 0.8);
}

.ff-boi[data-theme="alert"] {
	background: #fff6e8;
}

/* ── Video ───────────────────────────────────────────────── */

.ff-video {
	overflow: hidden;
	background: var(--ff-bg-soft);
}

/* Theme network graphics — same assets/positioning as .ff-hero__bg. */
.ff-video > .ff-video__bg {
	position: absolute;
	z-index: 0;
	pointer-events: none;
	background-repeat: no-repeat;
	background-size: contain;
}

.ff-video__bg--left {
	left: 0;
	bottom: 0;
	width: min(38%, 168px);
	aspect-ratio: 541 / 919;
	background-image: url("../../images/bg_left.svg");
	background-position: left bottom;
}

.ff-video__bg--right {
	right: 0;
	top: 0;
	width: min(38%, 160px);
	aspect-ratio: 663 / 664;
	background-image: url("../../images/bg_right.svg");
	background-position: right top;
}

@media (min-width: 900px) {
	.ff-video__bg--left {
		width: min(50%, 480px);
	}

	.ff-video__bg--right {
		width: min(50%, 520px);
	}
}

.ff-video > .ff-container {
	position: relative;
	z-index: 1;
}

.ff-video__heading {
	margin: 0 auto 8px;
	text-align: center;
	font-size: var(--ff-fs-h2);
}

.ff-video__intro {
	margin: 0 auto var(--ff-space-4);
	max-width: 560px;
	text-align: center;
	color: var(--ff-muted);
}

.ff-video__stage {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: 16px;
	overflow: hidden;
	background: var(--ff-navy);
	color: var(--ff-white);
}

.ff-video__poster {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ff-video__overlay-title {
	position: absolute;
	left: 32px;
	top: 50%;
	transform: translateY(-50%);
	margin: 0;
	max-width: 12ch;
	font-size: 2.125rem;
	font-weight: 700;
	line-height: 1.15;
	z-index: 1;
}

@media (min-width: 700px) {
	.ff-video__overlay-title {
		font-size: 3.125rem;
		left: 48px;
	}

	.ff-video__stage--has-secondary .ff-video__overlay-title {
		max-width: min(12ch, 36%);
	}
}

.ff-video__play {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: grid;
	place-items: center;
	width: 72px;
	height: 72px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--ff-green);
	cursor: pointer;
	z-index: 2;
}

.ff-video__play::after {
	content: "";
	position: absolute;
	inset: -8px;
	border: 2px solid var(--ff-btn-green);
	border-radius: inherit;
	pointer-events: none;
}

.ff-video__play-icon {
	display: block;
	width: 0;
	height: 0;
	margin-left: 4px;
	border-style: solid;
	border-width: 10px 0 10px 16px;
	border-color: transparent transparent transparent var(--ff-white);
}

.ff-video__secondary {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: min(55%, 560px);
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	pointer-events: none;
	padding: 24px 16px 40px 0;
}

.ff-video__secondary-img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 88%;
	object-fit: contain;
	object-position: right center;
}

@media (max-width: 699px) {
	.ff-video__overlay-title,
	.ff-video__secondary,
	.ff-video__caption {
		display: none;
	}
}

.ff-video__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	padding: 12px 16px;
	background: rgba(0, 0, 0, 0.45);
	font-size: var(--ff-fs-small);
	z-index: 1;
}

.ff-video__duration {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 2;
	padding: 4px 8px;
	border-radius: 4px;
	background: rgba(0, 0, 0, 0.55);
	font-size: 0.75rem;
}

.ff-video__stage.is-playing .ff-video__poster,
.ff-video__stage.is-playing .ff-video__overlay-title,
.ff-video__stage.is-playing .ff-video__play,
.ff-video__stage.is-playing .ff-video__secondary,
.ff-video__stage.is-playing .ff-video__caption,
.ff-video__stage.is-playing .ff-video__duration {
	display: none;
}

.ff-video__stage iframe,
.ff-video__stage .ff-video__el,
.ff-video__stage video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ── FAQ ─────────────────────────────────────────────────── */

.ff-faq {
	overflow: hidden;
}

/* Theme network graphic — bg_left rotated 180° so it grows from the right edge. */
.ff-faq > .ff-faq__bg {
	position: absolute;
	z-index: 0;
	pointer-events: none;
	background-repeat: no-repeat;
	background-size: contain;
}

.ff-faq__bg--right {
	right: 0;
	bottom: 0;
	width: min(38%, 168px);
	aspect-ratio: 541 / 919;
	background-image: url("../../images/bg_left.svg");
	background-position: left bottom;
	transform: rotate(180deg);
}

@media (min-width: 900px) {
	.ff-faq__bg--right {
		width: min(50%, 480px);
	}
}

.ff-faq > .ff-container {
	position: relative;
	z-index: 1;
}

.ff-faq__inner {
	max-width: 860px;
}

.ff-faq__heading {
	margin: 0 auto 8px;
	text-align: center;
	font-size: var(--ff-fs-h2);
}

.ff-faq__intro {
	margin: 0 auto var(--ff-space-5);
	text-align: center;
	color: var(--ff-muted);
}

.ff-faq__group {
	margin-bottom: var(--ff-space-4);
}

.ff-faq__group-label {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 12px;
	color: var(--ff-green);
	font-size: var(--ff-fs-eyebrow);
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.ff-faq__group-label::after {
	content: "";
	flex: 1 1 auto;
	height: 1px;
	background: var(--ff-border);
}

.ff-faq__item {
	border: 1px solid var(--ff-border);
	border-bottom-width: 0;
	background: var(--ff-white) !important;
	background-image: none !important;
	transition: background-color 0.15s ease;
}

.ff-faq__group > .ff-faq__item:first-of-type {
	border-radius: var(--ff-radius-lg) var(--ff-radius-lg) 0 0;
}

.ff-faq__group > .ff-faq__item:last-of-type {
	border-bottom-width: 1px;
	border-radius: 0 0 var(--ff-radius-lg) var(--ff-radius-lg);
}

.ff-faq__group > .ff-faq__item:only-of-type {
	border-bottom-width: 1px;
	border-radius: var(--ff-radius-lg);
}

.ff-faq__item.is-open {
	background: var(--ff-green-soft) !important;
	background-image: none !important;
}

.ff-faq__item:not(.is-open):hover {
	background: var(--ff-bg-soft) !important;
}

.ff-faq__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	padding: 22px 24px;
	border: 0;
	background: transparent !important;
	background-image: none !important;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.ff-faq__item.is-open .ff-faq__trigger {
	padding-bottom: 10px;
}

.ff-faq__question {
	color: var(--ff-navy);
	font-weight: 600;
}

/*
 * Single toggle on the question row only.
 * Kill theme FAQ SVG backgrounds (faq_li_active.svg / pl_minus.svg) that
 * otherwise paint a second outlined minus beside the answer.
 */
.page-template-home-refresh .ff-faq__item,
.page-template-home-refresh .ff-faq__item *,
.page-template-home-refresh .ff-faq__panel,
.page-template-home-refresh .ff-faq__panel-inner,
.page-template-home-refresh .ff-faq__answer {
	background-image: none !important;
}

.page-template-home-refresh .ff-faq__item::before,
.page-template-home-refresh .ff-faq__item::after,
.page-template-home-refresh .ff-faq__panel::before,
.page-template-home-refresh .ff-faq__panel::after,
.page-template-home-refresh .ff-faq__panel-inner::before,
.page-template-home-refresh .ff-faq__panel-inner::after,
.page-template-home-refresh .ff-faq__answer::before,
.page-template-home-refresh .ff-faq__answer::after,
.page-template-home-refresh .ff-faq__answer *::before,
.page-template-home-refresh .ff-faq__answer *::after,
.page-template-home-refresh .ff-faq__trigger::before,
.page-template-home-refresh .ff-faq__trigger::after {
	content: none !important;
	display: none !important;
	background: none !important;
	background-image: none !important;
}

.ff-faq__trigger > .ff-faq__indicator {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	background: var(--ff-green) !important;
	background-image: none !important;
	position: relative;
	overflow: hidden;
}

/* One white bar by default (minus). Closed state adds the vertical bar (plus). */
.ff-faq__trigger > .ff-faq__indicator::before {
	content: "" !important;
	display: block !important;
	position: absolute;
	background: var(--ff-white) !important;
	background-image: none !important;
	inset: 13px 8px;
}

.ff-faq__trigger > .ff-faq__indicator::after {
	content: "" !important;
	display: block !important;
	position: absolute;
	background: var(--ff-white) !important;
	background-image: none !important;
	inset: 8px 13px;
}

.ff-faq__item.is-open .ff-faq__trigger > .ff-faq__indicator::after {
	content: none !important;
	display: none !important;
}

.ff-faq__panel .ff-faq__indicator,
.ff-faq__answer .ff-faq__indicator {
	display: none !important;
}

.ff-faq__panel {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.35s ease;
	background: transparent !important;
	background-image: none !important;
}

.ff-faq__item.is-open > .ff-faq__panel {
	grid-template-rows: 1fr;
}

.ff-faq__panel-inner {
	overflow: hidden;
	min-height: 0;
	background: transparent !important;
	background-image: none !important;
}

.ff-faq__answer {
	padding: 0 24px 22px 24px;
	color: var(--ff-muted);
	background: transparent !important;
	background-image: none !important;
}

.ff-faq__answer img[src*="faq"],
.ff-faq__answer img[src*="minus"],
.ff-faq__answer img[src*="pl_"],
.ff-faq__answer svg {
	display: none !important;
}

/* Theme legacy FAQ / spoiler classes must not paint icons inside Home Refresh. */
.page-template-home-refresh .ff-faq .faq_li,
.page-template-home-refresh .ff-faq .faq_li_active,
.page-template-home-refresh .ff-faq .pl_faq_li,
.page-template-home-refresh .ff-faq .pl_faq_li_active,
.page-template-home-refresh .ff-faq .pl_faq_li_title,
.page-template-home-refresh .ff-faq .su-spoiler-title {
	background: none !important;
	background-image: none !important;
}

.ff-faq__answer p:first-child {
	margin-top: 0;
}

.ff-faq__answer p:last-child {
	margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
	.ff-faq__panel {
		transition: none;
	}
}

/* ── Blog ────────────────────────────────────────────────── */

.ff-blog__header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: var(--ff-space-4);
}

.ff-blog__heading {
	margin: 0;
	font-size: var(--ff-fs-h2);
}

.ff-blog__more {
	color: var(--ff-muted);
	text-decoration: none;
	font-size: var(--ff-fs-small);
	white-space: nowrap;
}

.ff-blog__more:hover {
	color: var(--ff-green);
}

.ff-blog__layout.is-featured {
	display: grid;
	gap: var(--ff-space-3);
}

@media (min-width: 900px) {
	.ff-blog__layout.is-featured {
		grid-template-columns: 1.2fr 1fr;
		grid-template-rows: auto;
		align-items: start;
	}

	.ff-blog__layout.is-featured .ff-blog__card.is-feature {
		grid-row: 1 / span 3;
	}
}

.ff-blog__layout.is-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--ff-space-3);
}

@media (min-width: 700px) {
	.ff-blog__layout.is-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 900px) {
	.ff-blog__layout.is-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

.ff-blog__card.is-compact {
	display: grid;
	grid-template-columns: 96px 1fr;
	gap: 16px;
	align-items: start;
}

.ff-blog__thumb {
	display: block;
	border-radius: var(--ff-radius);
	overflow: hidden;
	background: var(--ff-navy);
}

.ff-blog__card.is-feature .ff-blog__thumb {
	aspect-ratio: 16 / 9;
	margin-bottom: 16px;
}

.ff-blog__card.is-compact .ff-blog__thumb {
	width: 96px;
	height: 96px;
}

.ff-blog__thumb-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ff-blog__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 96px;
	background: var(--ff-navy);
}

.ff-blog__title {
	margin: 0 0 8px;
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.3;
}

.ff-blog__card.is-feature .ff-blog__title {
	font-size: 1.75rem;
}

.ff-blog__title a {
	text-decoration: none;
}

/* Linked titles: navy by default; theme green on hover/focus.
   High specificity + !important to beat theme a:link / a:visited greens. */
.page-template-home-refresh .ff-blog .ff-blog__title,
.page-template-home-refresh .ff-blog .ff-blog__title a,
.page-template-home-refresh .ff-blog .ff-blog__title a:link,
.page-template-home-refresh .ff-blog .ff-blog__title a:visited,
.page-template-home-refresh .ff-blog .ff-blog__card.is-feature .ff-blog__title a,
.page-template-home-refresh .ff-blog .ff-blog__card.is-feature .ff-blog__title a:link,
.page-template-home-refresh .ff-blog .ff-blog__card.is-feature .ff-blog__title a:visited,
.page-template-home-refresh .ff-blog .ff-blog__card.is-compact .ff-blog__title a,
.page-template-home-refresh .ff-blog .ff-blog__card.is-compact .ff-blog__title a:link,
.page-template-home-refresh .ff-blog .ff-blog__card.is-compact .ff-blog__title a:visited {
	color: #002C3F !important;
	transition: color 0.2s ease;
}

.page-template-home-refresh .ff-blog .ff-blog__title a:hover,
.page-template-home-refresh .ff-blog .ff-blog__title a:focus-visible,
.page-template-home-refresh .ff-blog .ff-blog__card.is-feature .ff-blog__title a:hover,
.page-template-home-refresh .ff-blog .ff-blog__card.is-feature .ff-blog__title a:focus-visible,
.page-template-home-refresh .ff-blog .ff-blog__card.is-compact .ff-blog__title a:hover,
.page-template-home-refresh .ff-blog .ff-blog__card.is-compact .ff-blog__title a:focus-visible {
	color: var(--ff-green) !important;
}

.ff-blog__excerpt {
	margin: 0;
	color: var(--ff-muted);
	font-size: var(--ff-fs-small);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ── Newsletter + footer ─────────────────────────────────── */

.ff-newsletter-band {
	background: var(--ff-bg-soft);
}

.ff-newsletter__heading {
	margin: 0 0 8px;
	font-size: 1.05rem;
}

.ff-newsletter__text {
	margin: 0 0 12px;
	color: var(--ff-muted);
	font-size: var(--ff-fs-small);
}

.ff-newsletter__form {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ff-newsletter__input {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--ff-border);
	border-radius: 999px;
	font: inherit;
}

.ff-newsletter__success:not(:empty) {
	margin-top: 8px;
	color: var(--ff-green);
	font-size: var(--ff-fs-small);
}

.ff-footer {
	background: var(--ff-bg-soft);
	padding-block: var(--ff-space-6) var(--ff-space-4);
}

.ff-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--ff-space-4);
}

@media (min-width: 520px) {
	.ff-footer__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 800px) {
	.ff-footer__grid {
		grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
	}
}

.ff-footer__logo-img {
	height: 40px;
	width: auto;
}

.ff-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 16px 0 0;
	padding: 0;
}

.ff-footer__social-link {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 999px;
	background: var(--ff-navy);
	color: var(--ff-white);
	text-decoration: none;
}

.ff-footer__col-title {
	margin: 0 0 12px;
	font-size: 1rem;
}

.ff-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ff-footer__links a,
.ff-footer__email a {
	color: var(--ff-muted);
	text-decoration: none;
	font-size: var(--ff-fs-small);
	display: inline-block;
	padding: 4px 0;
}

.ff-footer__links a:hover,
.ff-footer__email a:hover {
	color: var(--ff-green);
}

.ff-footer__badge {
	margin-top: var(--ff-space-5);
	text-align: center;
}

.ff-footer__badge-img {
	height: 72px;
	width: auto;
	margin-inline: auto;
}

.ff-footer__badge-caption {
	margin: 12px 0 0;
	color: var(--ff-muted);
	font-size: var(--ff-fs-small);
}

.ff-footer__bottom {
	margin-top: var(--ff-space-4);
	padding-top: var(--ff-space-3);
	border-top: 1px solid var(--ff-border);
	text-align: center;
}

.ff-footer__copy {
	margin: 0;
	color: var(--ff-muted);
	font-size: var(--ff-fs-small);
}

@media (prefers-reduced-motion: reduce) {
	.ff-logos__viewport.is-animated {
		overflow: visible;
		-webkit-mask-image: none;
		mask-image: none;
		max-width: var(--ff-container);
		margin-inline: auto;
	}

	.ff-logos__viewport.is-animated .ff-logos__track {
		animation: none;
		width: 100%;
		justify-content: center;
	}

	.ff-logos__viewport.is-animated .ff-logos__set:last-child {
		display: none;
	}

	.ff-logos__viewport.is-animated .ff-logos__set:first-child {
		flex-wrap: wrap;
		justify-content: center;
		width: 100%;
		min-width: 0;
		padding-inline: 0;
	}

	.ff-btn,
	.ff-topbar.is-scrolled .ff-topbar__bar,
	.ff-serve__card {
		transition: none;
	}

	.ff-serve__card:not(.ff-serve__card--promo):hover,
	.ff-serve__card:not(.ff-serve__card--promo):focus-visible,
	.ff-serve__card--link:hover,
	.ff-serve__card--link:focus-visible,
	.ff-serve__card--promo:hover,
	.ff-serve__card--promo:focus-within {
		transform: none;
	}

	.ff-testimonials__track.is-slider {
		scroll-behavior: auto;
	}
}
