/**
 * Homepage
 *
 * Scoped to .bnf-home and .bnf-home-hero.
 * Tokens come from theme.json.
 */

/* Hero — full-bleed project slideshow ([bnf_home_hero]) */
.bnf-home-hero-host {
	margin-block: 0;
}

.bnf-home-hero {
	--bnf-hero-gutter: var(--wp--custom--layout--gutter);
	--bnf-hero-foot: 4.75rem;
	--bnf-hero-fade: 1.4s;
	--bnf-hero-interval: 8s;
	position: relative;
	overflow: hidden;
	isolation: isolate;
	background: var(--wp--preset--color--bnf-navy);
	color: var(--wp--preset--color--bnf-surface);
}

.bnf-home-hero__slides {
	display: grid;
}

.bnf-home-hero.is-carousel .bnf-home-hero__slides {
	touch-action: pan-y;
}

/* Inactive slides drop out only after the incoming slide has faded in over them. */
.bnf-home-hero__slide {
	position: relative;
	isolation: isolate;
	display: flex;
	grid-area: 1 / 1;
	min-width: 0;
	min-height: clamp(32rem, 74vh, 46rem);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0s linear var(--bnf-hero-fade), visibility 0s linear var(--bnf-hero-fade);
}

.bnf-home-hero__slide.is-active {
	z-index: 1;
	opacity: 1;
	visibility: visible;
	transition: opacity var(--bnf-hero-fade) ease-in-out, visibility 0s;
}

/* Background doubles as the fallback for projects without a featured image. */
.bnf-home-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
	background: linear-gradient(135deg, var(--wp--preset--color--bnf-forest-dark) 0%, var(--wp--preset--color--bnf-navy) 70%);
}

.bnf-home-hero__media::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(
			90deg,
			color-mix(in srgb, var(--wp--preset--color--bnf-navy) 66%, transparent) 0%,
			color-mix(in srgb, var(--wp--preset--color--bnf-navy) 40%, transparent) 40%,
			transparent 72%
		),
		linear-gradient(
			0deg,
			color-mix(in srgb, var(--wp--preset--color--bnf-navy) 72%, transparent) 0%,
			color-mix(in srgb, var(--wp--preset--color--bnf-navy) 45%, transparent) 32%,
			color-mix(in srgb, var(--wp--preset--color--bnf-navy) 14%, transparent) 60%,
			transparent 80%
		);
}

.bnf-home-hero__image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	margin: 0;
	object-fit: cover;
	object-position: 50% 40%;
}

.bnf-home-hero__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	box-sizing: border-box;
	width: min(100%, var(--wp--custom--layout--container));
	min-width: 0;
	margin-inline: auto;
	padding: var(--wp--preset--spacing--6-xl) var(--bnf-hero-gutter) calc(var(--bnf-hero-foot) + var(--wp--preset--spacing--2-xl));
}

.bnf-home-hero__content {
	min-width: 0;
	max-width: 100%;
}

.bnf-home-hero__title {
	max-width: min(100%, 13.5em);
	margin: 0;
	color: var(--wp--preset--color--bnf-surface);
	font-size: var(--wp--preset--font-size--heading-1);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: -0.03em;
	text-wrap: balance;
	overflow-wrap: break-word;
	text-shadow: 0 2px 28px rgba(0, 0, 0, 0.18);
}

.bnf-home-hero__lead {
	max-width: 36rem;
	margin: var(--wp--preset--spacing--xl) 0 0;
	color: color-mix(in srgb, var(--wp--preset--color--bnf-surface) 88%, transparent);
	font-size: clamp(1rem, 0.94rem + 0.25vw, 1.1875rem);
	line-height: 1.65;
	text-shadow: 0 1px 14px rgba(0, 0, 0, 0.22);
}

.bnf-home-hero__location {
	position: absolute;
	right: var(--bnf-hero-gutter);
	bottom: 0;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	box-sizing: border-box;
	max-width: calc(100% - 24rem);
	min-height: var(--bnf-hero-foot);
	margin: 0;
	color: var(--wp--preset--color--bnf-surface);
	font-size: var(--wp--preset--font-size--small);
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: 0.01em;
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.bnf-home-hero__location svg {
	display: block;
	flex: none;
	width: 16px;
	height: 16px;
}

/* Controls are only shown once the script has taken over. */
.bnf-home-hero__controls {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	z-index: 2;
	display: none;
	align-items: center;
	gap: var(--wp--preset--spacing--lg);
	box-sizing: border-box;
	width: min(100%, var(--wp--custom--layout--container));
	height: var(--bnf-hero-foot);
	margin-inline: auto;
	padding-inline: var(--bnf-hero-gutter);
	pointer-events: none;
}

.bnf-home-hero.is-ready .bnf-home-hero__controls {
	display: flex;
}

.bnf-home-hero__controls > * {
	pointer-events: auto;
}

.bnf-home-hero__toggle {
	appearance: none;
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 2rem;
	height: 2rem;
	margin: 0;
	padding: 0;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--bnf-surface) 42%, transparent);
	border-radius: 999px;
	background: transparent;
	color: var(--wp--preset--color--bnf-surface);
	cursor: pointer;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.bnf-home-hero__toggle:hover {
	border-color: var(--wp--preset--color--bnf-surface);
	background: color-mix(in srgb, var(--wp--preset--color--bnf-surface) 10%, transparent);
}

.bnf-home-hero__toggle svg {
	display: block;
	width: 10px;
	height: 10px;
}

.bnf-home-hero__toggle .bnf-home-hero__icon-play,
.bnf-home-hero:not(.is-playing) .bnf-home-hero__toggle .bnf-home-hero__icon-pause {
	display: none;
}

.bnf-home-hero:not(.is-playing) .bnf-home-hero__toggle .bnf-home-hero__icon-play {
	display: block;
}

.bnf-home-hero__picker {
	display: flex;
	align-items: center;
	gap: 0.375rem;
}

.bnf-home-hero__dot {
	appearance: none;
	position: relative;
	display: block;
	flex: none;
	width: 2.5rem;
	height: 1.5rem;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.bnf-home-hero__dot::before,
.bnf-home-hero__bar {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 2px;
	margin-top: -1px;
	border-radius: 2px;
}

.bnf-home-hero__dot::before {
	background: color-mix(in srgb, var(--wp--preset--color--bnf-surface) 34%, transparent);
	transition: background-color 0.2s ease;
}

.bnf-home-hero__dot:hover::before {
	background: color-mix(in srgb, var(--wp--preset--color--bnf-surface) 60%, transparent);
}

.bnf-home-hero__bar {
	background: var(--wp--preset--color--bnf-surface);
	transform: scaleX(0);
	transform-origin: left center;
}

.bnf-home-hero__dot[aria-current="true"] .bnf-home-hero__bar {
	transform: scaleX(1);
}

/* The progress bar is the autoplay timer: the script advances on its animationend. */
.bnf-home-hero.is-playing .bnf-home-hero__dot[aria-current="true"] .bnf-home-hero__bar {
	animation: bnf-hero-progress var(--bnf-hero-interval) linear both;
}

.bnf-home-hero.is-playing.is-held .bnf-home-hero__dot[aria-current="true"] .bnf-home-hero__bar {
	animation-play-state: paused;
}

.bnf-home-hero__count {
	display: flex;
	gap: 0.35rem;
	margin: 0;
	color: color-mix(in srgb, var(--wp--preset--color--bnf-surface) 80%, transparent);
	font-size: var(--wp--preset--font-size--meta);
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	letter-spacing: 0.08em;
	text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.bnf-home-hero__count-sep {
	opacity: 0.6;
}

.bnf-home-hero__toggle:focus-visible,
.bnf-home-hero__dot:focus-visible {
	outline: 2px solid var(--wp--preset--color--bnf-surface);
	outline-offset: 4px;
	border-radius: 2px;
}

.bnf-home-hero__toggle:focus-visible {
	border-radius: 999px;
}

@keyframes bnf-hero-progress {
	from {
		transform: scaleX(0);
	}
	to {
		transform: scaleX(1);
	}
}

@keyframes bnf-hero-drift {
	from {
		transform: scale(1.06);
	}
	to {
		transform: scale(1);
	}
}

@media (prefers-reduced-motion: no-preference) {
	.bnf-home-hero.is-carousel .bnf-home-hero__slide.is-active .bnf-home-hero__image {
		animation: bnf-hero-drift 14s ease-out both;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bnf-home-hero {
		--bnf-hero-fade: 0s;
	}
}

@media (min-width: 782px) and (max-width: 1023px) {
	.bnf-home-hero__slide {
		min-height: clamp(30rem, 64vh, 38rem);
	}

	.bnf-home-hero__inner {
		padding-top: var(--wp--preset--spacing--5-xl);
	}

	.bnf-home-hero__location {
		max-width: calc(100% - 22rem);
	}
}

@media (max-width: 781px) {
	.bnf-home-hero {
		--bnf-hero-foot: 4rem;
	}

	.bnf-home-hero__slide {
		min-height: clamp(32rem, 84svh, 40rem);
	}

	.bnf-home-hero__media::after {
		background: linear-gradient(
			0deg,
			color-mix(in srgb, var(--wp--preset--color--bnf-navy) 82%, transparent) 0%,
			color-mix(in srgb, var(--wp--preset--color--bnf-navy) 52%, transparent) 45%,
			color-mix(in srgb, var(--wp--preset--color--bnf-navy) 12%, transparent) 78%
		);
	}

	.bnf-home-hero__image {
		object-position: 55% 40%;
	}

	.bnf-home-hero__inner {
		padding-top: var(--wp--preset--spacing--5-xl);
		padding-bottom: calc(var(--bnf-hero-foot) + var(--wp--preset--spacing--lg));
	}

	.bnf-home-hero:not(.is-carousel) .bnf-home-hero__inner {
		padding-bottom: var(--wp--preset--spacing--4-xl);
	}

	.bnf-home-hero__title {
		line-height: 1.06;
		letter-spacing: -0.025em;
	}

	.bnf-home-hero__lead {
		margin-top: var(--wp--preset--spacing--lg);
		line-height: 1.6;
	}

	.bnf-home-hero__location {
		position: static;
		max-width: none;
		min-height: 0;
		margin-top: var(--wp--preset--spacing--xl);
	}
}

/* Core themes — Our Focus */
.bnf-home-core-themes {
	padding-block: clamp(3.5rem, 7vw, 5.5rem);
	background: var(--wp--preset--color--bnf-off-white);
}

.bnf-home-core-themes__intro {
	max-width: 42rem;
	margin-inline: auto;
	margin-bottom: clamp(3rem, 6vw, 4.5rem);
	text-align: center;
}

.bnf-home-core-themes__eyebrow {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--wp--preset--spacing--md);
	margin: 0 0 var(--wp--preset--spacing--xl);
	color: var(--wp--preset--color--bnf-forest);
	font-size: var(--wp--preset--font-size--meta);
	font-weight: 600;
	letter-spacing: 0.14em;
	line-height: 1.3;
	text-transform: uppercase;
}

.bnf-home-core-themes__eyebrow::before,
.bnf-home-core-themes__eyebrow::after {
	content: "";
	display: block;
	width: 2.5rem;
	height: 1px;
	background: color-mix(in srgb, var(--wp--preset--color--bnf-forest) 45%, var(--wp--preset--color--bnf-border));
}

.bnf-home-core-themes__title {
	margin: 0 0 var(--wp--preset--spacing--lg);
	color: var(--wp--preset--color--bnf-navy);
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.bnf-home-core-themes__lead {
	margin: 0 auto;
	max-width: 34rem;
	color: var(--wp--preset--color--bnf-muted);
	font-size: var(--wp--preset--font-size--body);
	line-height: 1.65;
}

.bnf-home-core-themes__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1240px);
	margin-inline: auto;
	box-sizing: border-box;
	padding-inline: var(--wp--style--root--padding-right, 1.25rem);
}

.bnf-home-core-themes__item {
	display: flex;
	flex-direction: column;
	min-width: 0;
	padding: 0 clamp(1.1rem, 1.8vw, 1.65rem);
	box-sizing: border-box;
}

.bnf-home-core-themes__item + .bnf-home-core-themes__item {
	border-left: 1px solid color-mix(in srgb, var(--wp--preset--color--bnf-border) 88%, var(--wp--preset--color--bnf-forest));
}

.bnf-home-core-themes__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: var(--wp--preset--spacing--xl);
	min-height: 7.5rem;
}

.bnf-home-core-themes__meta {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding-top: 0.35rem;
}

.bnf-home-core-themes__index {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	flex-shrink: 0;
	margin: 0;
	color: var(--wp--preset--color--bnf-forest);
	background: var(--wp--preset--color--bnf-mint);
	border-radius: 50%;
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1;
}

.bnf-home-core-themes__accent {
	display: block;
	width: 2.25rem;
	height: 1px;
	background: color-mix(in srgb, var(--wp--preset--color--bnf-forest) 55%, transparent);
}

.bnf-home-core-themes__visual {
	position: relative;
	width: 5.75rem;
	height: 7.25rem;
	flex-shrink: 0;
}

.bnf-home-core-themes__leaf {
	position: absolute;
	inset: -0.35rem -0.55rem auto auto;
	width: 4.25rem;
	height: 5.5rem;
	background-color: color-mix(in srgb, var(--wp--preset--color--bnf-mint) 80%, var(--wp--preset--color--bnf-soft));
	-webkit-mask: url("../images/decor/leaf-silhouette.svg") center / contain no-repeat;
	mask: url("../images/decor/leaf-silhouette.svg") center / contain no-repeat;
	opacity: 0.85;
	transform: rotate(18deg);
	pointer-events: none;
}

.bnf-home-core-themes__photo {
	position: absolute;
	inset: 0.55rem 0 0 auto;
	width: 4.6rem;
	height: 6.1rem;
	margin: 0;
	overflow: hidden;
	border-radius: 68% 32% 58% 42% / 42% 58% 42% 58%;
	background: var(--wp--preset--color--bnf-soft);
}

.bnf-home-core-themes__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 55% 45%;
	transform: scale(1.01);
	transition: transform 0.45s var(--wp--custom--motion--easing, ease);
}

.bnf-home-core-themes__item:nth-child(2) .bnf-home-core-themes__photo img {
	object-position: 42% 40%;
}

.bnf-home-core-themes__item:nth-child(3) .bnf-home-core-themes__photo img {
	object-position: 60% 50%;
}

.bnf-home-core-themes__item:nth-child(4) .bnf-home-core-themes__photo img {
	object-position: 48% 58%;
}

.bnf-home-core-themes__item:nth-child(even) .bnf-home-core-themes__leaf {
	transform: rotate(-14deg) scaleX(-1);
	inset: -0.2rem auto auto -0.35rem;
}

.bnf-home-core-themes__item:nth-child(even) .bnf-home-core-themes__photo {
	inset: 0.45rem auto 0 0;
}

.bnf-home-core-themes__name {
	margin: 0 0 var(--wp--preset--spacing--md);
	color: var(--wp--preset--color--bnf-navy);
	font-size: var(--wp--preset--font-size--heading-3);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.015em;
}

.bnf-home-core-themes__text {
	margin: 0 0 var(--wp--preset--spacing--xl);
	flex-grow: 1;
	color: var(--wp--preset--color--bnf-muted);
	font-size: 0.9375rem;
	line-height: 1.65;
}

.bnf-home-core-themes__more {
	align-self: flex-start;
	margin-top: auto;
}

@media (prefers-reduced-motion: no-preference) {
	.bnf-home-core-themes__item:hover .bnf-home-core-themes__photo img {
		transform: scale(1.05);
	}
}

@media (prefers-reduced-motion: reduce) {
	.bnf-home-core-themes__photo img {
		transition: none;
	}
}

/* About */
.bnf-home-about {
	padding-block: var(--wp--custom--section--large);
}

.bnf-home-about__grid {
	gap: var(--wp--preset--spacing--4-xl) var(--wp--preset--spacing--5-xl);
}

.bnf-home-about__grid > .wp-block-column {
	min-width: 0;
}

.bnf-home-about__content {
	max-width: 38rem;
}

.bnf-home-about__eyebrow {
	margin-bottom: var(--wp--preset--spacing--lg);
}

.bnf-home-about__title {
	margin: 0 0 var(--wp--preset--spacing--xl);
	color: var(--wp--preset--color--bnf-navy);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.bnf-home-about__tabs-wrap {
	margin-top: var(--wp--preset--spacing--md);
}

.bnf-home-about__tabs {
	display: flex;
	flex-wrap: nowrap;
	gap: 0;
	margin: 0 0 var(--wp--preset--spacing--xl);
	padding: 0;
	border-bottom: 1px solid var(--wp--preset--color--bnf-border);
	overflow-x: auto;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	scroll-snap-type: x proximity;
	scrollbar-width: thin;
}

.bnf-home-about__tab {
	appearance: none;
	flex: 0 0 auto;
	margin: 0;
	padding: 0.7rem 0.95rem 0.85rem;
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	background: transparent;
	color: var(--wp--preset--color--bnf-muted);
	font-family: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.3;
	white-space: nowrap;
	cursor: pointer;
	scroll-snap-align: start;
	transition:
		color 0.18s ease,
		border-color 0.18s ease;
}

.bnf-home-about__tab:hover {
	color: var(--wp--preset--color--bnf-navy);
}

.bnf-home-about__tab.is-active,
.bnf-home-about__tab[aria-selected="true"] {
	color: var(--wp--preset--color--bnf-navy);
	border-bottom-color: var(--wp--preset--color--bnf-forest);
}

.bnf-home-about__tab:focus {
	outline: none;
}

.bnf-home-about__tab:focus-visible {
	outline: 2px solid var(--wp--preset--color--bnf-forest-dark);
	outline-offset: 3px;
}

.bnf-home-about__panels {
	min-height: 9.5rem;
}

.bnf-home-about__panel {
	margin: 0;
}

.bnf-home-about__panel[hidden] {
	display: none;
}

.bnf-home-about__panel-text {
	margin: 0 0 var(--wp--preset--spacing--lg);
	color: var(--wp--preset--color--bnf-text);
	line-height: 1.65;
}

.bnf-home-about__panel-link {
	margin: 0;
}

.bnf-home-about__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 3 / 2;
	max-width: 100%;
	border: 1px solid var(--wp--preset--color--bnf-border);
	border-radius: var(--wp--custom--radius--image);
	background: var(--wp--preset--color--bnf-soft);
}

.bnf-home-about__media .wp-block-image,
.bnf-home-about__media .bnf-home-about__image {
	position: absolute;
	inset: 0;
	margin: 0;
	height: 100%;
}

.bnf-home-about__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 58% 48%;
}

.bnf-home-about__media-col {
	position: relative;
}

.bnf-home-about__heritage {
	position: absolute;
	z-index: 2;
	right: -0.4rem;
	bottom: 1rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: min(7.25rem, 23%);
	padding: 0.95rem 0.7rem 0.85rem;
	border: 1px solid var(--wp--preset--color--bnf-border);
	border-radius: var(--wp--custom--radius--card, 6px);
	background: var(--wp--preset--color--bnf-surface);
	box-shadow: var(--wp--preset--shadow--subtle);
	text-align: center;
	pointer-events: none;
}

.bnf-home-about__heritage-value,
.bnf-home-about__heritage-unit,
.bnf-home-about__heritage-since {
	margin: 0;
}

.bnf-home-about__heritage-value {
	color: var(--wp--preset--color--bnf-navy);
	font-size: clamp(1.65rem, 2.4vw, 2rem);
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.03em;
}

/* Counter state (home-about.js): the count keeps the final "16" width so the badge never shifts; "+" arrives with the final value. */
.bnf-home-about__heritage-value.is-counting .bnf-home-about__heritage-count {
	display: inline-block;
	text-align: right;
}

.bnf-home-about__heritage-value.is-counting .bnf-home-about__heritage-plus {
	opacity: 0;
}

.bnf-home-about__heritage-plus {
	transition: opacity 240ms ease-out;
}

.bnf-home-about__heritage-unit {
	margin-top: 0.3rem;
	color: var(--wp--preset--color--bnf-navy);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1.2;
	text-transform: uppercase;
}

.bnf-home-about__heritage-rule {
	display: block;
	width: 1.75rem;
	height: 1px;
	margin: 0.55rem 0 0.5rem;
	background: color-mix(in srgb, var(--wp--preset--color--bnf-forest) 55%, var(--wp--preset--color--bnf-border));
}

.bnf-home-about__heritage-since {
	color: var(--wp--preset--color--bnf-muted);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 1.25;
	text-transform: uppercase;
}

@media (min-width: 600px) and (max-width: 1024px) {
	.bnf-home-core-themes__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: var(--wp--preset--spacing--3-xl);
	}

	.bnf-home-core-themes__item {
		padding-inline: var(--wp--preset--spacing--xl);
	}

	.bnf-home-core-themes__item:nth-child(2n) {
		border-left: 1px solid color-mix(in srgb, var(--wp--preset--color--bnf-border) 88%, var(--wp--preset--color--bnf-forest));
	}

	.bnf-home-core-themes__item:nth-child(2n + 1) {
		border-left: 0;
		padding-left: 0;
	}

	.bnf-home-core-themes__item:nth-child(n + 3) {
		padding-top: var(--wp--preset--spacing--lg);
	}
}

@media (max-width: 599px) {
	.bnf-home-core-themes {
		padding-block: var(--wp--custom--section--medium);
	}

	.bnf-home-core-themes__intro {
		margin-bottom: var(--wp--preset--spacing--3-xl);
	}

	.bnf-home-core-themes__eyebrow::before,
	.bnf-home-core-themes__eyebrow::after {
		width: 1.5rem;
	}

	.bnf-home-core-themes__grid {
		grid-template-columns: 1fr;
		gap: 0;
		padding-inline: var(--wp--style--root--padding-right, 1.25rem);
	}

	.bnf-home-core-themes__item {
		padding: var(--wp--preset--spacing--xl) 0;
		border-left: 0 !important;
	}

	.bnf-home-core-themes__item + .bnf-home-core-themes__item {
		border-top: 1px solid var(--wp--preset--color--bnf-border);
	}

	.bnf-home-core-themes__top {
		min-height: 0;
		margin-bottom: var(--wp--preset--spacing--lg);
	}

	.bnf-home-core-themes__visual {
		width: 5.25rem;
		height: 6.5rem;
	}

	.bnf-home-core-themes__photo {
		width: 4.15rem;
		height: 5.5rem;
	}
}

@media (max-width: 781px) {
	.bnf-home-about {
		padding-block: var(--wp--custom--section--medium);
	}

	.bnf-home-about__content {
		max-width: none;
	}

	.bnf-home-about__grid > .wp-block-column {
		flex-basis: 100% !important;
		width: 100%;
	}

	.bnf-home-about__tabs {
		margin-bottom: var(--wp--preset--spacing--lg);
	}

	.bnf-home-about__tab {
		padding: 0.75rem 0.85rem 0.9rem;
		font-size: 0.875rem;
		min-height: 2.75rem;
	}

	.bnf-home-about__panels {
		min-height: 0;
	}

	.bnf-home-about__heritage {
		right: 0.65rem;
		bottom: 0.75rem;
		width: min(5.75rem, 34%);
		padding: 0.75rem 0.55rem 0.7rem;
	}

	.bnf-home-about__heritage-value {
		font-size: 1.4rem;
	}

	.bnf-home-about__heritage-unit {
		font-size: 0.75rem;
		letter-spacing: 0.1em;
	}

	.bnf-home-about__heritage-rule {
		width: 1.35rem;
		margin: 0.45rem 0 0.4rem;
	}

	.bnf-home-about__heritage-since {
		font-size: 0.75rem;
	}

	.bnf-home-about__media img {
		object-position: 52% 55%;
	}
}

/* Focus areas */
.bnf-home-focus-areas {
	padding-block: var(--wp--custom--section--large);
	background: var(--wp--preset--color--bnf-surface-soft);
}

.bnf-home-focus-areas__intro {
	max-width: 40rem;
	margin-bottom: var(--wp--preset--spacing--4-xl);
}

.bnf-home-focus-areas__eyebrow {
	margin-bottom: var(--wp--preset--spacing--lg);
}

.bnf-home-focus-areas__title {
	margin: 0 0 var(--wp--preset--spacing--lg);
	color: var(--wp--preset--color--bnf-navy);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -0.02em;
}

.bnf-home-focus-areas__lead {
	margin: 0;
	color: var(--wp--preset--color--bnf-text);
}

.bnf-home-focus-areas__grid {
	gap: var(--wp--preset--spacing--xl);
}

.bnf-home-focus-areas__col {
	min-width: 0;
	display: flex;
}

.bnf-home-focus-areas__item {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: var(--wp--preset--spacing--2-xl);
	background: var(--wp--preset--color--bnf-surface);
	border: 1px solid var(--wp--preset--color--bnf-border);
	border-top: 2px solid var(--wp--preset--color--bnf-forest);
	border-radius: var(--wp--custom--radius--card);
}

.bnf-home-focus-areas__item--soft {
	background: var(--wp--preset--color--bnf-soft);
}

.bnf-home-focus-areas__index {
	margin: 0 0 var(--wp--preset--spacing--md);
	color: var(--wp--preset--color--bnf-forest);
	font-weight: 600;
	letter-spacing: 0.12em;
}

.bnf-home-focus-areas__name {
	margin: 0 0 var(--wp--preset--spacing--md);
	color: var(--wp--preset--color--bnf-navy);
	font-size: var(--wp--preset--font-size--heading-3);
	font-weight: 600;
	line-height: 1.25;
}

.bnf-home-focus-areas__text {
	margin: 0;
	color: var(--wp--preset--color--bnf-muted);
}

@media (prefers-reduced-motion: no-preference) {
	.bnf-home-focus-areas__item {
		transition: border-color var(--wp--custom--motion--fast) var(--wp--custom--motion--easing);
	}

	.bnf-home-focus-areas__item:hover {
		border-color: var(--wp--preset--color--bnf-forest);
	}
}

@media (min-width: 1200px) {
	.bnf-home-focus-areas__grid.wp-block-columns {
		display: flex !important;
		flex-wrap: nowrap !important;
	}

	.bnf-home-focus-areas__col {
		flex: 1 1 0 !important;
		max-width: none;
	}
}

@media (min-width: 600px) and (max-width: 1199px) {
	.bnf-home-focus-areas__grid.wp-block-columns {
		display: grid !important;
		grid-template-columns: 1fr 1fr;
	}

	.bnf-home-focus-areas__col {
		flex: none !important;
		width: auto !important;
		max-width: none !important;
	}
}

@media (max-width: 599px) {
	.bnf-home-focus-areas {
		padding-block: var(--wp--custom--section--medium);
	}

	.bnf-home-focus-areas__intro {
		margin-bottom: var(--wp--preset--spacing--2-xl);
	}

	.bnf-home-focus-areas__grid.wp-block-columns {
		display: grid !important;
		grid-template-columns: 1fr;
	}

	.bnf-home-focus-areas__col {
		flex: none !important;
		width: auto !important;
		max-width: none !important;
	}
}

/* Featured project */
.bnf-home-featured-project {
	--bnf-fp-paper: #fbfaf6;
	--bnf-fp-radius: 1rem;
	--bnf-fp-line: color-mix(in srgb, var(--wp--preset--color--bnf-navy) 11%, transparent);
	position: relative;
	isolation: isolate;
	overflow: hidden;
	overflow: clip;
	padding-block: var(--wp--custom--section--xl);
	background: var(--bnf-fp-paper);
	color: var(--wp--preset--color--bnf-text);
}

.bnf-home-featured-project *,
.bnf-home-featured-project *::before,
.bnf-home-featured-project *::after {
	box-sizing: border-box;
}

.bnf-home-featured-project::before,
.bnf-home-featured-project::after,
.bnf-home-featured-project__sprig {
	position: absolute;
	z-index: -1;
	pointer-events: none;
}

.bnf-home-featured-project::before {
	content: "";
	top: -20rem;
	right: -16rem;
	width: 54rem;
	height: 54rem;
	background:
		repeating-radial-gradient(ellipse 62% 48% at 44% 54%, transparent 0 26px, rgb(8 122 75 / 0.07) 26px 27px);
	-webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
	mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
	transform: rotate(-14deg);
}

.bnf-home-featured-project::after {
	content: "";
	bottom: -5rem;
	left: -4rem;
	width: 16rem;
	height: 21rem;
	background: var(--wp--preset--color--bnf-forest);
	opacity: 0.05;
	-webkit-mask: url("../images/decor/leaf-silhouette.svg") center / contain no-repeat;
	mask: url("../images/decor/leaf-silhouette.svg") center / contain no-repeat;
	transform: rotate(32deg);
}

.bnf-home-featured-project__sprig {
	top: clamp(1rem, 3vw, 2.5rem);
	left: max(0.5rem, calc((100% - 1240px) / 2 - 8.5rem));
	width: 7.5rem;
	height: auto;
	color: var(--wp--preset--color--bnf-forest);
	opacity: 0.2;
	transform: rotate(-18deg);
}

.bnf-home-featured-project__sprig svg {
	display: block;
	width: 100%;
	height: auto;
}

.bnf-home-featured-project__inner {
	position: relative;
	z-index: 1;
	width: min(100% - 2.5rem, 1240px);
	margin-inline: auto;
}

.bnf-home-featured-project__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--wp--preset--spacing--2-xl);
}

.bnf-home-featured-project__media-col,
.bnf-home-featured-project__content,
.bnf-home-featured-project__aside {
	min-width: 0;
}

.bnf-home-featured-project__media-col {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.bnf-home-featured-project__media {
	position: relative;
	flex: 1 1 auto;
	margin: 0;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: linear-gradient(150deg, var(--wp--preset--color--bnf-mint), var(--wp--preset--color--bnf-soft));
	border-radius: var(--bnf-fp-radius);
	box-shadow: 0 28px 50px -34px rgb(14 42 59 / 0.5);
}

.bnf-home-featured-project__media::after {
	content: "";
	position: absolute;
	inset: auto 0 0;
	height: 55%;
	background: linear-gradient(to top, rgb(9 24 32 / 0.74), rgb(9 24 32 / 0));
	pointer-events: none;
}

.bnf-home-featured-project__media.is-placeholder {
	background: linear-gradient(160deg, var(--wp--preset--color--bnf-green), var(--wp--preset--color--bnf-forest-dark));
}

.bnf-home-featured-project__media.is-placeholder::after {
	background: linear-gradient(to top, rgb(7 91 58 / 0.55), rgb(7 91 58 / 0));
}

.bnf-home-featured-project__media.is-placeholder::before {
	content: "";
	position: absolute;
	inset: 22% 30%;
	background: var(--wp--preset--color--bnf-mint);
	opacity: 0.16;
	-webkit-mask: url("../images/decor/leaf-silhouette.svg") center / contain no-repeat;
	mask: url("../images/decor/leaf-silhouette.svg") center / contain no-repeat;
}

.bnf-home-featured-project__image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.bnf-home-featured-project__badge {
	position: absolute;
	top: 1.375rem;
	left: 1.375rem;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	max-width: calc(100% - 2.75rem);
	padding: 0.55rem 0.95rem 0.55rem 0.8rem;
	background: rgb(9 24 32 / 0.58);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	border-radius: 999px;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1;
	text-transform: uppercase;
	white-space: nowrap;
}

.bnf-home-featured-project__badge svg {
	flex: none;
	width: 1rem;
	height: 1rem;
	color: var(--wp--preset--color--bnf-mint);
}

.bnf-home-featured-project__image-location {
	position: absolute;
	right: 1.5rem;
	bottom: 1.375rem;
	left: 1.5rem;
	z-index: 1;
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin: 0;
	color: #fff;
	line-height: 1.3;
	text-shadow: 0 1px 2px rgb(0 0 0 / 0.3);
}

.bnf-home-featured-project__image-location svg {
	flex: none;
	width: 1.25rem;
	height: 1.25rem;
	margin-top: 0.05rem;
}

.bnf-home-featured-project__image-place,
.bnf-home-featured-project__image-country {
	display: block;
	overflow-wrap: anywhere;
}

.bnf-home-featured-project__image-place {
	font-size: 1.0625rem;
	font-weight: 600;
}

.bnf-home-featured-project__image-country {
	margin-top: 0.15rem;
	font-size: 0.875rem;
	opacity: 0.88;
}

.bnf-home-featured-project__content {
	align-self: center;
}

.bnf-home-featured-project__eyebrow {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0 0 1.25rem;
	color: var(--wp--preset--color--bnf-forest);
	font-size: 0.8125rem;
	font-weight: 500;
	letter-spacing: 0.16em;
	line-height: 1.2;
	text-transform: uppercase;
}

.bnf-home-featured-project__eyebrow-rule {
	flex: none;
	width: 2.25rem;
	height: 2px;
	background: var(--wp--preset--color--bnf-green);
	border-radius: 2px;
}

.bnf-home-featured-project__title {
	margin: 0 0 1.125rem;
	color: var(--wp--preset--color--bnf-navy);
	font-size: var(--wp--preset--font-size--heading-2);
	font-weight: 700;
	line-height: 1.06;
	letter-spacing: -0.025em;
	overflow-wrap: break-word;
	text-wrap: balance;
}

.bnf-home-featured-project.has-long-title .bnf-home-featured-project__title {
	line-height: 1.12;
}

.bnf-home-featured-project__subtitle {
	margin: -0.25rem 0 1rem;
	color: var(--wp--preset--color--bnf-muted);
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.4;
}

.bnf-home-featured-project__lead {
	max-width: 40rem;
	margin: 0 0 2rem;
	color: var(--wp--preset--color--bnf-text);
	font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
	line-height: 1.7;
}

.bnf-home-featured-project__highlights {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.25rem;
	margin: 0 0 2.25rem;
	padding: 1.5rem 0 0;
	list-style: none;
	border-top: 1px solid var(--bnf-fp-line);
}

.bnf-home-featured-project__highlight,
.bnf-home-featured-project__meta-item {
	display: flex;
	align-items: flex-start;
	gap: 0.875rem;
	min-width: 0;
	margin: 0;
}

.bnf-home-featured-project__icon {
	display: inline-grid;
	flex: none;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	background: var(--wp--preset--color--bnf-mint);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--bnf-green) 38%, transparent);
	border-radius: 50%;
	color: var(--wp--preset--color--bnf-forest);
}

.bnf-home-featured-project__icon svg {
	width: 1.25rem;
	height: 1.25rem;
}

.bnf-home-featured-project__highlight-text,
.bnf-home-featured-project__meta-text {
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	min-width: 0;
	padding-top: 0.2rem;
}

.bnf-home-featured-project__highlight-label,
.bnf-home-featured-project__meta-label {
	color: var(--wp--preset--color--bnf-muted);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1.3;
	text-transform: uppercase;
}

.bnf-home-featured-project__highlight-value {
	color: var(--wp--preset--color--bnf-navy);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

.bnf-home-featured-project__actions {
	margin: 0;
}

.bnf-home-featured-project__aside {
	display: flex;
}

.bnf-home-featured-project__meta {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: center;
	gap: 1.5rem;
	margin: 0;
	padding: 2.5rem 2rem;
	list-style: none;
	background: linear-gradient(180deg, var(--wp--preset--color--bnf-surface-soft), var(--wp--preset--color--bnf-mint));
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--bnf-green) 18%, transparent);
	border-radius: 1.25rem;
}

.bnf-home-featured-project__meta-item + .bnf-home-featured-project__meta-item {
	padding-top: 1.5rem;
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--bnf-green) 16%, transparent);
}

.bnf-home-featured-project__meta .bnf-home-featured-project__icon {
	background: var(--wp--preset--color--bnf-surface-soft);
}

.bnf-home-featured-project__meta-value {
	color: var(--wp--preset--color--bnf-navy);
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.bnf-home-featured-project__meta-note {
	color: var(--wp--preset--color--bnf-text);
	font-size: 0.9375rem;
	line-height: 1.4;
}

.bnf-home-featured-project.is-empty {
	padding-block: var(--wp--custom--section--large);
}

.bnf-home-featured-project__empty {
	max-width: 44rem;
}

.bnf-home-featured-project__empty .bnf-home-featured-project__lead {
	margin-bottom: 0;
	color: var(--wp--preset--color--bnf-muted);
}

@media (min-width: 768px) {
	.bnf-home-featured-project__grid {
		grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
		gap: 2.5rem;
	}

	.bnf-home-featured-project__media-col {
		align-self: start;
	}

	.bnf-home-featured-project__media {
		aspect-ratio: 4 / 5;
	}

	.bnf-home-featured-project__aside {
		grid-column: 1 / -1;
	}

	.bnf-home-featured-project__highlights {
		grid-auto-columns: minmax(0, 1fr);
		grid-auto-flow: column;
		grid-template-columns: none;
		gap: 0;
	}

	.bnf-home-featured-project__highlight {
		padding-inline: 1.25rem;
		border-left: 1px solid var(--bnf-fp-line);
	}

	.bnf-home-featured-project__highlight:first-child {
		padding-left: 0;
		border-left: 0;
	}

	.bnf-home-featured-project__highlight:last-child {
		padding-right: 0;
	}

	.bnf-home-featured-project__meta {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
		gap: 1.5rem 2rem;
		padding: 1.75rem 2rem;
	}

	.bnf-home-featured-project__meta-item + .bnf-home-featured-project__meta-item {
		padding-top: 0;
		border-top: 0;
	}
}

@media (min-width: 768px) and (max-width: 1023px) {
	.bnf-home-featured-project__meta {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1200px) {
	.bnf-home-featured-project__grid {
		grid-template-columns: minmax(0, 36fr) minmax(0, 40fr) minmax(0, 24fr);
		gap: clamp(2.5rem, 3.2vw, 3.5rem);
		align-items: stretch;
	}

	.bnf-home-featured-project.is-no-aside .bnf-home-featured-project__grid {
		grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
	}

	.bnf-home-featured-project__media-col {
		align-self: stretch;
	}

	.bnf-home-featured-project__media {
		max-height: 42rem;
		aspect-ratio: 13 / 10;
	}

	.bnf-home-featured-project__aside {
		grid-column: auto;
	}

	.bnf-home-featured-project__meta {
		display: flex;
		gap: 1.5rem;
		padding: 2.5rem 2rem;
	}

	.bnf-home-featured-project__meta-item + .bnf-home-featured-project__meta-item {
		padding-top: 1.5rem;
		border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--bnf-green) 16%, transparent);
	}
}

@media (max-width: 781px) {
	.bnf-home-featured-project__inner {
		width: min(100% - 2rem, 1240px);
	}
}

@media (max-width: 767px) {
	.bnf-home-featured-project {
		padding-block: var(--wp--custom--section--medium);
	}

	.bnf-home-featured-project__sprig {
		display: none;
	}

	.bnf-home-featured-project__badge {
		top: 1rem;
		left: 1rem;
		max-width: calc(100% - 2rem);
		font-size: 0.6875rem;
	}

	.bnf-home-featured-project__image-location {
		right: 1rem;
		bottom: 1rem;
		left: 1rem;
	}

	.bnf-home-featured-project__lead {
		margin-bottom: 1.75rem;
	}

	.bnf-home-featured-project__highlights {
		margin-bottom: 2rem;
	}

	.bnf-home-featured-project__meta {
		gap: 1.25rem;
		padding: 1.75rem 1.5rem;
	}

	.bnf-home-featured-project__meta-item + .bnf-home-featured-project__meta-item {
		padding-top: 1.25rem;
	}
}

@media (max-width: 480px) {
	.bnf-home-featured-project__button {
		width: 100%;
	}
}

/* Impact / areas of change */
.bnf-home-impact {
	padding-block: clamp(3.5rem, 7vw, 5.75rem);
	background: var(--wp--preset--color--bnf-surface-soft);
}

.bnf-home-impact__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.35fr);
	gap: clamp(2.5rem, 5vw, 4.5rem) clamp(2.5rem, 5vw, 5rem);
	align-items: start;
	width: 100%;
	max-width: var(--wp--style--global--wide-size, 1240px);
	margin-inline: auto;
	box-sizing: border-box;
	padding-inline: var(--wp--style--root--padding-right, 1.25rem);
}

.bnf-home-impact__content {
	display: flex;
	flex-direction: column;
	max-width: 28rem;
	min-height: 100%;
}

.bnf-home-impact__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--md);
	margin: 0 0 var(--wp--preset--spacing--xl);
	color: var(--wp--preset--color--bnf-forest);
	font-size: var(--wp--preset--font-size--meta);
	font-weight: 600;
	letter-spacing: 0.12em;
	line-height: 1.3;
	text-transform: uppercase;
}

.bnf-home-impact__eyebrow::before {
	content: "";
	display: block;
	width: 1.75rem;
	height: 2px;
	background: var(--wp--preset--color--bnf-forest);
	flex-shrink: 0;
}

.bnf-home-impact__title {
	margin: 0 0 var(--wp--preset--spacing--xl);
	color: var(--wp--preset--color--bnf-navy);
	font-size: var(--wp--preset--font-size--heading-2);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.025em;
	max-width: 14ch;
	text-wrap: balance;
}

.bnf-home-impact__lead {
	margin: 0 0 var(--wp--preset--spacing--2-xl);
	max-width: 28rem;
	color: var(--wp--preset--color--bnf-muted);
	font-size: 1.0625rem;
	line-height: 1.65;
}

.bnf-home-impact__cta {
	margin: 0 0 clamp(2rem, 4vw, 3rem);
}

.bnf-home-impact__visual {
	position: relative;
	width: min(100%, 19rem);
	height: 14.5rem;
	margin-top: auto;
}

.bnf-home-impact__botanical {
	position: absolute;
	pointer-events: none;
	background-color: color-mix(in srgb, var(--wp--preset--color--bnf-mint) 70%, var(--wp--preset--color--bnf-soft));
	-webkit-mask: url("../images/decor/leaf-silhouette.svg") center / contain no-repeat;
	mask: url("../images/decor/leaf-silhouette.svg") center / contain no-repeat;
	opacity: 0.55;
}

.bnf-home-impact__botanical--a {
	inset: -1.25rem auto auto -1.5rem;
	width: 8.5rem;
	height: 11rem;
	transform: rotate(-28deg);
}

.bnf-home-impact__botanical--b {
	inset: auto -1rem -1.5rem auto;
	width: 6.5rem;
	height: 8.5rem;
	opacity: 0.35;
	transform: rotate(22deg) scaleX(-1);
}

.bnf-home-impact__photo {
	position: absolute;
	inset: 0.75rem 0 0 1.25rem;
	width: min(100%, 16.5rem);
	height: 12.75rem;
	margin: 0;
	overflow: hidden;
	border-radius: 72% 28% 58% 42% / 38% 62% 38% 62%;
	background: var(--wp--preset--color--bnf-soft);
}

.bnf-home-impact__photo img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 48% 42%;
}

.bnf-home-impact__areas {
	min-width: 0;
}

.bnf-home-impact__item {
	display: grid;
	grid-template-columns: clamp(3.5rem, 5vw, 4.75rem) minmax(0, 1fr);
	gap: 0.85rem 1.35rem;
	align-items: start;
	margin: 0;
	padding-block: clamp(1.5rem, 2.4vw, 2.15rem);
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--bnf-border) 88%, var(--wp--preset--color--bnf-forest));
}

.bnf-home-impact__item:first-child {
	padding-top: 0;
	border-top: 0;
}

.bnf-home-impact__item:last-child {
	padding-bottom: 0;
}

.bnf-home-impact__index {
	margin: 0;
	color: color-mix(in srgb, var(--wp--preset--color--bnf-mint) 35%, var(--wp--preset--color--bnf-green));
	font-size: clamp(2.75rem, 4.2vw, 3.75rem);
	font-weight: 500;
	letter-spacing: -0.03em;
	line-height: 0.95;
}

.bnf-home-impact__main {
	min-width: 0;
	padding-top: 0.35rem;
}

.bnf-home-impact__heading {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.7rem 0.85rem;
	margin-bottom: 0.7rem;
}

.bnf-home-impact__icon-circle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3.5rem;
	height: 3.5rem;
	flex-shrink: 0;
	color: var(--wp--preset--color--bnf-forest);
	background: var(--wp--preset--color--bnf-mint);
	border-radius: 50%;
	transition: background-color 0.25s ease;
}

.bnf-home-impact__icon-circle .bnf-icon {
	width: 1.4rem;
	height: 1.4rem;
}

.bnf-home-impact__accent {
	display: block;
	width: 2.5rem;
	height: 1px;
	flex-shrink: 0;
	background: color-mix(in srgb, var(--wp--preset--color--bnf-forest) 55%, transparent);
}

.bnf-home-impact__name {
	margin: 0;
	flex: 1 1 10rem;
	color: var(--wp--preset--color--bnf-navy);
	font-size: var(--wp--preset--font-size--heading-3);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -0.015em;
}

.bnf-home-impact__text {
	margin: 0;
	max-width: 36rem;
	color: var(--wp--preset--color--bnf-muted);
	font-size: 1rem;
	line-height: 1.65;
}

@media (prefers-reduced-motion: no-preference) {
	.bnf-home-impact__item:hover .bnf-home-impact__icon-circle {
		background: color-mix(in srgb, var(--wp--preset--color--bnf-mint) 70%, var(--wp--preset--color--bnf-soft));
	}
}

@media (prefers-reduced-motion: reduce) {
	.bnf-home-impact__icon-circle {
		transition: none;
	}
}

@media (max-width: 1024px) and (min-width: 768px) {
	.bnf-home-impact__grid {
		gap: 2.5rem 2.75rem;
	}

	.bnf-home-impact__title {
		max-width: 16ch;
	}

	.bnf-home-impact__icon-circle {
		width: 3.15rem;
		height: 3.15rem;
	}
}

@media (max-width: 767px) {
	.bnf-home-impact {
		padding-block: var(--wp--custom--section--medium);
	}

	.bnf-home-impact__grid {
		grid-template-columns: 1fr;
		gap: var(--wp--preset--spacing--3-xl);
	}

	.bnf-home-impact__content {
		max-width: none;
	}

	.bnf-home-impact__title {
		max-width: none;
	}

	.bnf-home-impact__lead {
		font-size: 1rem;
	}

	.bnf-home-impact__visual {
		width: min(100%, 17.5rem);
		height: 13rem;
		margin-inline: 0;
	}

	.bnf-home-impact__photo {
		width: min(100%, 15rem);
		height: 11.5rem;
	}

	.bnf-home-impact__item {
		grid-template-columns: 3.25rem minmax(0, 1fr);
		gap: 0.65rem 0.9rem;
		padding-block: 1.35rem;
	}

	.bnf-home-impact__index {
		font-size: 2.35rem;
	}

	.bnf-home-impact__icon-circle {
		width: 2.85rem;
		height: 2.85rem;
	}

	.bnf-home-impact__accent {
		width: 1.75rem;
	}

	.bnf-home-impact__name {
		flex-basis: 8rem;
	}

	.bnf-home-impact__text {
		font-size: 0.9375rem;
	}
}

/* The rotated leaf's bounding box reaches past the viewport edge on the narrowest phones. */
@media (max-width: 360px) {
	.bnf-home-impact__botanical--b {
		right: 0;
	}
}

/* Stories from the field */
.bnf-home-stories {
	padding-block: var(--wp--custom--section--large);
	background: var(--wp--preset--color--bnf-surface);
}

.bnf-home-stories__header {
	max-width: 40rem;
	margin-bottom: var(--wp--preset--spacing--3-xl);
}

.bnf-home-stories__eyebrow {
	margin-bottom: var(--wp--preset--spacing--lg);
}

.bnf-home-stories__title {
	margin: 0 0 var(--wp--preset--spacing--lg);
	color: var(--wp--preset--color--bnf-navy);
	font-size: var(--wp--preset--font-size--heading-2);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -0.02em;
	text-wrap: balance;
}

.bnf-home-stories__lead {
	margin: 0;
	color: var(--wp--preset--color--bnf-text);
}

.bnf-home-stories__state {
	max-width: 46rem;
	margin-inline: 0;
	padding-block: var(--wp--preset--spacing--3-xl);
	padding-inline: 0;
	border-top: 1px solid var(--wp--preset--color--bnf-border);
	border-bottom: 1px solid var(--wp--preset--color--bnf-border);
}

.bnf-home-stories__state-title {
	margin: 0 0 var(--wp--preset--spacing--md);
	color: var(--wp--preset--color--bnf-navy);
	font-size: var(--wp--preset--font-size--heading-3);
	font-weight: 600;
	line-height: 1.3;
}

.bnf-home-stories__state-text {
	margin: 0;
	max-width: 36rem;
	color: var(--wp--preset--color--bnf-muted);
}

/*
 * Homepage story cards (featured via [bnf_featured_stories]).
 */
.bnf-home-stories__index {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--wp--preset--spacing--2-xl);
}

.bnf-home-stories__card {
	margin: 0;
	height: 100%;
	background: var(--wp--preset--color--bnf-surface);
	border: 1px solid var(--wp--preset--color--bnf-border);
	border-radius: var(--wp--custom--radius--card);
	overflow: hidden;
}

.bnf-home-stories__card-media {
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: var(--wp--preset--color--bnf-soft);
}

.bnf-home-stories__card-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.bnf-home-stories__card-body {
	padding: var(--wp--preset--spacing--xl);
}

.bnf-home-stories__card .bnf-story-card__type {
	margin: 0 0 var(--wp--preset--spacing--sm);
	color: var(--wp--preset--color--bnf-muted);
	font-size: var(--wp--preset--font-size--meta);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.bnf-home-stories__card .bnf-story-card__title {
	margin: 0 0 var(--wp--preset--spacing--md);
	color: var(--wp--preset--color--bnf-navy);
	font-size: var(--wp--preset--font-size--heading-3);
	font-weight: 650;
	line-height: 1.25;
}

.bnf-home-stories__card .bnf-story-card__title a {
	color: inherit;
	text-decoration: none;
}

.bnf-home-stories__card .bnf-story-card__title a:hover,
.bnf-home-stories__card .bnf-story-card__title a:focus-visible {
	color: var(--wp--preset--color--bnf-forest-dark);
}

.bnf-home-stories__card .bnf-story-card__excerpt {
	margin: 0 0 var(--wp--preset--spacing--md);
	color: var(--wp--preset--color--bnf-muted);
}

.bnf-home-stories__card-link {
	margin: 0;
}

.bnf-home-stories__more {
	margin: var(--wp--preset--spacing--2-xl) 0 0;
}

@media (min-width: 782px) {
	.bnf-home-stories__index {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 781px) {
	.bnf-home-stories {
		padding-block: var(--wp--custom--section--medium);
	}

	.bnf-home-stories__header {
		margin-bottom: var(--wp--preset--spacing--2-xl);
	}

	.bnf-home-stories__state {
		padding-block: var(--wp--preset--spacing--2-xl);
	}
}

/* Latest News — publication band (distinct from Stories’ surface + hairline state) */
.bnf-home-latest-news {
	padding-block: var(--wp--custom--section--large);
	background: var(--wp--preset--color--bnf-surface-soft);
	border-top: 1px solid var(--wp--preset--color--bnf-border);
}

.bnf-home-latest-news__header {
	max-width: 38rem;
	margin-bottom: var(--wp--preset--spacing--2-xl);
}

.bnf-home-latest-news__body {
	width: 100%;
}

/* Neutralize accidental wpautop clutter inside homepage news markup */
.bnf-home-latest-news__body br,
.bnf-home-latest-news__card br {
	display: none !important;
}

.bnf-home-latest-news__card-body > p:empty,
.bnf-home-latest-news__card > p:empty {
	display: none !important;
	margin: 0;
}

.bnf-home-latest-news__eyebrow {
	margin-bottom: var(--wp--preset--spacing--lg);
}

.bnf-home-latest-news__title {
	margin: 0 0 var(--wp--preset--spacing--lg);
	color: var(--wp--preset--color--bnf-navy);
	font-size: var(--wp--preset--font-size--heading-2);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -0.02em;
}

.bnf-home-latest-news__lead {
	margin: 0;
	color: var(--wp--preset--color--bnf-text);
}

.bnf-home-latest-news__state {
	max-width: 42rem;
	margin-inline: 0;
	padding-block: var(--wp--preset--spacing--xl);
	padding-inline: var(--wp--preset--spacing--2-xl);
	background: var(--wp--preset--color--bnf-surface);
	border: 1px solid var(--wp--preset--color--bnf-border);
	border-left: 3px solid var(--wp--preset--color--bnf-forest);
	border-radius: var(--wp--custom--radius--card);
}

.bnf-home-latest-news__state-title {
	margin: 0 0 var(--wp--preset--spacing--sm);
	color: var(--wp--preset--color--bnf-navy);
	font-size: var(--wp--preset--font-size--heading-3);
	font-weight: 600;
	line-height: 1.3;
}

.bnf-home-latest-news__state-text {
	margin: 0;
	max-width: 34rem;
	color: var(--wp--preset--color--bnf-muted);
}

/*
 * Latest News cards — uniform editorial grid (content-height).
 * No featured / 2-row showcase: one card stays one grid cell.
 */
.bnf-home-latest-news__index {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--wp--preset--spacing--xl);
	align-items: start;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bnf-home-latest-news__item {
	margin: 0;
	min-width: 0;
	/* Single-card: normal column width, not full-bleed. */
	max-width: 26rem;
}

.bnf-home-latest-news__card {
	display: flex;
	flex-direction: column;
	margin: 0;
	background: var(--wp--preset--color--bnf-surface);
	border: 1px solid var(--wp--preset--color--bnf-border);
	border-radius: var(--wp--custom--radius--card);
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(15, 40, 35, 0.04);
	transition:
		box-shadow var(--wp--custom--motion--normal) var(--wp--custom--motion--easing),
		transform var(--wp--custom--motion--normal) var(--wp--custom--motion--easing);
}

.bnf-home-latest-news__card:hover,
.bnf-home-latest-news__card:focus-within {
	box-shadow: 0 4px 14px rgba(15, 40, 35, 0.08);
	transform: translateY(-2px);
}

.bnf-home-latest-news__card-media {
	margin: 0;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: var(--wp--preset--color--bnf-soft);
}

.bnf-home-latest-news__card-media a {
	display: block;
	height: 100%;
}

.bnf-home-latest-news__card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform var(--wp--custom--motion--slow) var(--wp--custom--motion--easing);
}

.bnf-home-latest-news__card:hover .bnf-home-latest-news__card-media img,
.bnf-home-latest-news__card:focus-within .bnf-home-latest-news__card-media img {
	transform: scale(1.03);
}

.bnf-home-latest-news__card-body {
	display: flex;
	flex-direction: column;
	padding: var(--wp--preset--spacing--lg) var(--wp--preset--spacing--xl) var(--wp--preset--spacing--xl);
	gap: var(--wp--preset--spacing--sm);
}

.bnf-home-latest-news__card-date {
	margin: 0;
	color: var(--wp--preset--color--bnf-muted);
	font-size: var(--wp--preset--font-size--meta);
	line-height: 1.4;
}

.bnf-home-latest-news__card-title {
	margin: 0;
	color: var(--wp--preset--color--bnf-navy);
	font-size: var(--wp--preset--font-size--heading-3);
	font-weight: 650;
	line-height: 1.3;
	text-wrap: balance;
}

.bnf-home-latest-news__card-title a {
	color: inherit;
	text-decoration: none;
}

.bnf-home-latest-news__card-title a:hover,
.bnf-home-latest-news__card-title a:focus-visible {
	color: var(--wp--preset--color--bnf-forest-dark);
}

.bnf-home-latest-news__card-excerpt {
	margin: 0;
	color: var(--wp--preset--color--bnf-text);
}

.bnf-home-latest-news__card-link {
	margin: var(--wp--preset--spacing--xs) 0 0;
}

.bnf-home-latest-news__footer {
	margin: var(--wp--preset--spacing--xl) 0 0;
}

@media (min-width: 782px) {
	.bnf-home-latest-news__index {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bnf-home-latest-news__item {
		max-width: none;
	}
}

@media (min-width: 1024px) {
	.bnf-home-latest-news__index {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: var(--wp--preset--spacing--2-xl);
	}
}

@media (max-width: 781px) {
	.bnf-home-latest-news {
		padding-block: var(--wp--custom--section--medium);
	}

	.bnf-home-latest-news__header {
		margin-bottom: var(--wp--preset--spacing--xl);
	}

	.bnf-home-latest-news__state {
		padding-block: var(--wp--preset--spacing--lg);
		padding-inline: var(--wp--preset--spacing--lg);
	}

	.bnf-home-latest-news__card-body {
		padding: var(--wp--preset--spacing--lg);
	}
}

