/**
 * Who we are — Kenya wireframe (zigzag bands). See hfh-who-we-are-about-layout.php.
 */

body.hfh-who-we-are-about-layout #page,
body.hfh-who-we-are-about-layout .site-content {
	overflow-x: clip;
}

/* —— Photo banner below breadcrumbs (full bleed, teal panel right) —— */
.hfh-about-photo-banner {
	--hfh-photo-banner-teal: #1ba8d9;
	position: relative;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	margin-top: 0;
	margin-bottom: clamp(1.25rem, 3vw, 2rem);
	min-height: min(420px, 70vw);
	max-height: min(520px, 85vh);
	overflow: hidden;
	box-sizing: border-box;
	background: #c4b5a0;
}

.hfh-about-photo-banner__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 28% center;
	display: block;
}

.hfh-about-photo-banner__inner {
	position: relative;
	z-index: 1;
	max-width: min(100%, 1200px);
	min-height: min(420px, 70vw);
	max-height: min(520px, 85vh);
	margin: 0 auto;
	padding: clamp(1.25rem, 4vw, 2.75rem) clamp(1rem, 3vw, 2rem);
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	pointer-events: none;
}

.hfh-about-photo-banner__panel {
	width: min(100%, 42%);
	max-width: 440px;
	background: var(--hfh-photo-banner-teal);
	color: #fff;
	padding: clamp(1.75rem, 4vw, 2.5rem);
	box-sizing: border-box;
	pointer-events: auto;
	align-self: center;
}

.hfh-about-photo-banner__title {
	margin: 0 0 0.85rem;
	font-size: clamp(1.65rem, 3.2vw, 2.125rem);
	font-weight: 700;
	line-height: 1.2;
	color: #fff;
}

.hfh-about-photo-banner__text {
	margin: 0;
	font-size: clamp(1rem, 1.8vw, 1.1rem);
	line-height: 1.55;
	color: #fff;
}

.hfh-about-photo-banner__text strong {
	font-weight: 700;
}

@media (max-width: 782px) {
	.hfh-about-photo-banner {
		min-height: 0;
		max-height: none;
		display: flex;
		flex-direction: column;
	}

	.hfh-about-photo-banner__img {
		position: relative;
		inset: auto;
		height: min(280px, 55vw);
		max-height: 320px;
		object-position: center 25%;
	}

	.hfh-about-photo-banner__inner {
		min-height: 0;
		max-height: none;
		width: 100%;
		padding: 0;
		justify-content: stretch;
		align-items: stretch;
	}

	.hfh-about-photo-banner__panel {
		width: 100%;
		max-width: none;
		align-self: stretch;
	}
}

.hfh-about-page--wireframe {
	--hfh-band-cyan: #1ba8d9;
	--hfh-band-navy: #142a4a;
	--hfh-band-lime: #8bc53f;
	--hfh-lead-cyan: #1ba8d9;
	--hfh-about-text: #1e293b;
	--hfh-about-muted: #475569;
	--hfh-about-inner-max: 1100px;
	--hfh-about-intro-max: 900px;
	--hfh-band-gap: 14px;
	color: var(--hfh-about-text);
	font-size: 1.05rem;
	line-height: 1.65;
	padding: 0 0 3rem;
	box-sizing: border-box;
}

/* —— Intro: cyan lead + body paragraphs —— */
.hfh-about-page__intro {
	max-width: min(100%, var(--hfh-about-intro-max));
	margin: 0 0 2rem;
	padding: 0;
	text-align: left;
	box-sizing: border-box;
}

.hfh-about-page__lead {
	font-size: clamp(1.5rem, 3.8vw, 2.15rem);
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 1.25rem;
	color: var(--hfh-lead-cyan);
}

.hfh-about-page__intro-p {
	margin: 0 0 1rem;
	color: var(--hfh-about-text);
}

.hfh-about-page__intro-p:last-child {
	margin-bottom: 0;
}

/* —— Zigzag bands: 50/50 + gutter —— */
.hfh-about-page__band {
	margin: 0 0 var(--hfh-band-gap);
	padding: 0;
	box-sizing: border-box;
}

.hfh-about-page__band:last-of-type {
	margin-bottom: 2rem;
}

.hfh-about-page__band-inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--hfh-band-gap);
	align-items: stretch;
	max-width: min(100%, var(--hfh-about-inner-max));
	margin: 0 auto;
	padding: 0;
	box-sizing: border-box;
	min-height: min(320px, 50vw);
}

.hfh-about-page__band--text-left .hfh-about-page__band-inner {
	grid-template-areas: "text media";
}

.hfh-about-page__band--text-right .hfh-about-page__band-inner {
	grid-template-areas: "media text";
}

.hfh-about-page__band-text {
	grid-area: text;
	margin: 0;
	padding: clamp(1.35rem, 3vw, 2rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-sizing: border-box;
}

.hfh-about-page__band-text h2 {
	font-size: clamp(1.2rem, 2.4vw, 1.5rem);
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 0.85rem;
	color: #fff;
}

.hfh-about-page__band-text p {
	margin: 0;
	color: #fff;
	font-size: 1rem;
	line-height: 1.6;
}

.hfh-about-page__band--cyan .hfh-about-page__band-text {
	background: var(--hfh-band-cyan);
}

.hfh-about-page__band--navy .hfh-about-page__band-text {
	background: var(--hfh-band-navy);
}

.hfh-about-page__band--lime .hfh-about-page__band-text {
	background: var(--hfh-band-lime);
}

.hfh-about-page__band-figure {
	grid-area: media;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: #e8eef4;
	min-height: 200px;
	align-self: stretch;
}

.hfh-about-page__band-figure--placeholder {
	background: #fff;
	border: 1px solid #1e293b;
	box-sizing: border-box;
}

.hfh-about-page__band-img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 220px;
	object-fit: cover;
	object-position: center center;
}

@media (max-width: 782px) {
	.hfh-about-page__band-inner {
		grid-template-columns: 1fr;
		grid-template-areas: "media" "text";
		min-height: 0;
	}

	.hfh-about-page__band-figure {
		min-height: 220px;
		max-height: 360px;
	}

	.hfh-about-page__band-img {
		min-height: 220px;
		max-height: 360px;
	}
}

/* Below bands: tagline, plan, values */
.hfh-about-page__tagline,
.hfh-about-page__plan,
.hfh-about-page__values {
	max-width: min(100%, 1100px);
	margin-left: auto;
	margin-right: auto;
	box-sizing: border-box;
}

.hfh-about-page__tagline {
	font-size: clamp(1.15rem, 2.2vw, 1.45rem);
	font-weight: 600;
	line-height: 1.35;
	margin-top: 0.5rem;
	margin-bottom: 2.25rem;
	text-transform: lowercase;
	color: var(--hfh-band-cyan);
}

.hfh-about-page__plan {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 1.5rem 1.35rem;
	margin-bottom: 2.5rem;
}

.hfh-about-page__plan h2 {
	font-size: clamp(1.35rem, 2.5vw, 1.65rem);
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 1rem;
	text-transform: lowercase;
	color: var(--hfh-about-text);
}

.hfh-about-page__plan p {
	margin: 0 0 1rem;
	color: var(--hfh-about-text);
}

.hfh-about-page__plan-download {
	display: inline-block;
	margin-top: 0.25rem;
	padding: 0.55rem 1.25rem;
	font-weight: 600;
	font-size: 0.95rem;
	text-transform: lowercase;
	color: #fff !important;
	background: var(--hfh-band-cyan) !important;
	border-radius: 4px;
	text-decoration: none !important;
}

.hfh-about-page__plan-download:hover {
	filter: brightness(1.05);
}

.hfh-about-page__values--colour-tiles h2 {
	font-size: clamp(1.35rem, 2.5vw, 1.65rem);
	font-weight: 700;
	margin: 0 0 1.5rem;
	padding-bottom: 0.65rem;
	line-height: 1.25;
	text-transform: lowercase;
	color: #1a2e32;
	position: relative;
	border-bottom: none;
}

.hfh-about-page__values--colour-tiles h2::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 2.75rem;
	height: 2px;
	background: #86badc;
}

.hfh-about-page__values-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem 1.25rem;
	justify-content: center;
}

@media (min-width: 900px) {
	.hfh-about-page__values-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 1.25rem 1.35rem;
	}
}

.hfh-about-page__values--colour-tiles .hfh-about-page__value {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	aspect-ratio: 1 / 1;
	padding: clamp(1rem, 3vw, 1.75rem);
	border-radius: 0;
	border: none;
	box-sizing: border-box;
}

.hfh-about-page__values--colour-tiles .hfh-about-page__value h3 {
	font-size: clamp(1rem, 2vw, 1.2rem);
	font-weight: 700;
	margin: 0 0 0.65rem;
	color: #fff;
	text-transform: lowercase;
}

.hfh-about-page__values--colour-tiles .hfh-about-page__value p {
	font-size: clamp(0.82rem, 1.65vw, 0.95rem);
	line-height: 1.45;
	margin: 0;
	color: #fff;
	text-transform: lowercase;
}

@media (max-width: 544px) {
	.hfh-about-page__values-grid {
		grid-template-columns: 1fr;
	}

	.hfh-about-page__values--colour-tiles .hfh-about-page__value {
		aspect-ratio: auto;
		min-height: 200px;
	}
}
