/* Hayat Toolkit — red-earth documentary look. Tokens first, then base, then one block per widget. */

@font-face {
	font-family: "Newsreader";
	src: url("../fonts/newsreader.woff2") format("woff2");
	font-weight: 500 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Hanken Grotesk";
	src: url("../fonts/hanken-grotesk.woff2") format("woff2");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

.ht {
	--ht-ink: #24180f;
	--ht-ink-soft: #5a4a3d;
	--ht-earth: #2a1a10;
	--ht-sand: #f5eee3;
	--ht-paper: #fbf8f2;
	--ht-line: #dccfbd;
	--ht-clay: #9a421f;
	--ht-clay-lt: #f0a679;
	--ht-green: #0b5d3f;
	--ht-leaf: #0dc367;
	--ht-leaf-ink: #04321e;
	--ht-accent: var(--ht-leaf);
	--ht-serif: "Newsreader", Georgia, "Times New Roman", serif;
	--ht-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ht-r: 10px;
	--ht-pad: clamp(64px, 9vw, 120px);
	--ht-ease: cubic-bezier(0.2, 0.7, 0.2, 1);

	font-family: var(--ht-sans);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ht-ink);
	-webkit-font-smoothing: antialiased;
}
.ht *,
.ht *::before,
.ht *::after {
	box-sizing: border-box;
}
/* Woodmart pads <main> 40px top and bottom, which leaves a strip between the header, our full-bleed
   sections and the footer. This file only loads on pages that use a Hayat Toolkit widget. */
main.wd-content-layout {
	padding-top: 0;
	padding-bottom: 0;
}
.wd-page-content.main-page-wrapper {
	margin-bottom: 0;
	padding-bottom: 0;
}
.elementor-widget[class*="elementor-widget-ht-"] {
	align-self: stretch;
	width: 100%;
}
.ht-wrap {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding-inline: clamp(20px, 5vw, 48px);
}
/* Resets use :where() so they carry no specificity and never beat a component rule. */
:where(.ht) img {
	display: block;
	max-width: 100%;
	height: auto;
}
:where(.ht) h1,
:where(.ht) h2,
:where(.ht) h3,
:where(.ht) p,
:where(.ht) ul,
:where(.ht) ol {
	margin: 0;
	padding: 0;
}
:where(.ht) ul,
:where(.ht) ol {
	list-style: none;
}
:where(.ht) a {
	text-decoration: none;
}
.ht :focus-visible {
	outline: 3px solid var(--ht-clay);
	outline-offset: 3px;
}

.ht-kicker {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ht-clay);
	margin-bottom: 14px;
}
.ht-h2 {
	font-family: var(--ht-serif);
	font-weight: 600;
	font-size: clamp(32px, 4.4vw, 54px);
	line-height: 1.08;
	letter-spacing: -0.015em;
	color: var(--ht-ink);
	text-wrap: balance;
}
.ht-prose p,
.ht-prose {
	color: var(--ht-ink-soft);
	max-width: 56ch;
}
.ht-prose p + p {
	margin-top: 1em;
}
.ht-lead {
	margin-top: 22px;
	font-weight: 600;
	color: var(--ht-ink);
}

/* Buttons */
.ht-btns {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}
.ht-btn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 22px;
	border-radius: 6px;
	font-family: var(--ht-sans);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	border: 1.5px solid transparent;
	transition: background-color 0.2s var(--ht-ease), color 0.2s var(--ht-ease), border-color 0.2s var(--ht-ease);
}
.ht-btn .ht-arrow {
	transition: transform 0.2s var(--ht-ease);
}
.ht-btn:hover .ht-arrow {
	transform: translateX(3px);
}
.ht .ht-btn--solid {
	background: var(--ht-accent);
	color: var(--ht-leaf-ink);
}
.ht .ht-btn--solid:hover {
	background: #fff;
	color: var(--ht-leaf-ink);
}
.ht .ht-btn--line {
	border-color: rgba(255, 255, 255, 0.6);
	color: #fff;
}
.ht .ht-btn--line:hover {
	background: #fff;
	color: var(--ht-ink);
	border-color: #fff;
}
.ht .ht-btn--ink {
	margin-top: 30px;
	background: var(--ht-ink);
	color: var(--ht-sand);
}
.ht .ht-btn--ink:hover {
	background: var(--ht-green);
	color: #fff;
}

/* ---------- Hero ---------- */
.ht-hero {
	position: relative;
	isolation: isolate;
	display: grid;
	align-content: end;
	min-height: min(92svh, 880px);
	background: var(--ht-earth);
	color: #fff;
	overflow: hidden;
	--ht-overlay: 0.55;
}
.ht .ht-hero__img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 62%;
}
.ht-hero__shade {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(to top, rgba(26, 14, 7, calc(var(--ht-overlay) + 0.4)) 0%, rgba(26, 14, 7, var(--ht-overlay)) 38%, rgba(26, 14, 7, 0.12) 72%, rgba(26, 14, 7, 0.2) 100%);
}
.ht-hero__in {
	padding-top: clamp(120px, 22vh, 220px);
	padding-bottom: clamp(36px, 5vw, 56px);
}
.ht-hero .ht-kicker {
	color: var(--ht-clay-lt);
}
.ht-hero__title {
	font-family: var(--ht-serif);
	font-weight: 600;
	font-size: clamp(54px, 10.5vw, 148px);
	line-height: 0.95;
	letter-spacing: -0.025em;
	color: #fff;
	margin: 0;
}
.ht-hero__sub {
	margin-top: 18px;
	font-family: var(--ht-serif);
	font-weight: 500;
	font-size: clamp(22px, 3vw, 36px);
	line-height: 1.2;
	color: var(--ht-clay-lt);
}
.ht-hero__intro {
	max-width: 54ch;
	margin-top: 18px;
	color: rgba(255, 255, 255, 0.9);
	font-size: clamp(16px, 1.5vw, 19px);
}
.ht-hero__facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(12px, 3vw, 40px);
	padding-bottom: clamp(24px, 4vw, 44px);
}
.ht-hero__facts li {
	display: grid;
	gap: 2px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.4);
}
.ht-hero__facts strong {
	font-family: var(--ht-serif);
	font-weight: 600;
	font-size: clamp(24px, 3.4vw, 40px);
	line-height: 1.1;
}
.ht-hero__facts span {
	font-size: 14px;
	line-height: 1.35;
	color: rgba(255, 255, 255, 0.82);
}

/* ---------- Field story ---------- */
.ht-story {
	background: var(--ht-sand);
	padding-block: var(--ht-pad);
}
.ht-story + .ht-story,
.elementor-widget-ht-story + .elementor-widget-ht-story .ht-story {
	background: var(--ht-paper);
}
.ht-story__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
	gap: clamp(36px, 6vw, 96px);
	align-items: start;
}
.ht-story.is-flip .ht-story__text {
	order: 2;
}
.ht-story.is-flip .ht-story__media {
	order: 1;
}
.ht-date {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 6px 14px;
	margin-bottom: 18px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--ht-line);
}
.ht-date span {
	font-family: var(--ht-serif);
	font-weight: 600;
	font-size: clamp(22px, 2.4vw, 30px);
	color: var(--ht-clay);
	line-height: 1.1;
}
.ht-date em {
	font-style: normal;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ht-ink-soft);
}
.ht-story .ht-h2 {
	margin-bottom: 22px;
}
.ht-ticks {
	display: grid;
	gap: 12px;
	margin-top: 14px;
	margin-bottom: 20px;
}
.ht-ticks li {
	position: relative;
	padding-left: 30px;
	color: var(--ht-ink-soft);
}
.ht-ticks li::before {
	content: "";
	position: absolute;
	left: 3px;
	top: 0.5em;
	width: 11px;
	height: 6px;
	border-left: 2.5px solid var(--ht-clay);
	border-bottom: 2.5px solid var(--ht-clay);
	transform: rotate(-45deg);
}
.ht-story__media {
	display: grid;
	gap: 12px;
	min-width: 0;
}
.ht-shot {
	position: relative;
	overflow: hidden;
	border-radius: var(--ht-r);
	background: var(--ht-earth);
	aspect-ratio: 16 / 10;
}
.ht-shot--main {
	aspect-ratio: 16 / 10;
}
.ht .ht-shot__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ht li {
	list-style: none;
}
.ht li::marker {
	content: "";
}
.ht-story__row {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}
.ht-story__row.ht-n1 {
	grid-template-columns: minmax(0, 1fr);
}
.ht-story__row .ht-shot {
	aspect-ratio: 16 / 10;
}
.ht-video {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: var(--ht-earth);
	cursor: pointer;
	color: #fff;
	border-radius: 0;
	text-transform: none;
	letter-spacing: 0;
}
.ht-video .ht-shot__img {
	transition: transform 0.5s var(--ht-ease);
}
.ht-video:hover .ht-shot__img {
	transform: scale(1.03);
}
.ht-video::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(26, 14, 7, 0.75), rgba(26, 14, 7, 0) 55%);
}
.ht-video__play {
	position: absolute;
	z-index: 1;
	left: 50%;
	top: 50%;
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin: -32px 0 0 -32px;
	border-radius: 50%;
	background: var(--ht-leaf);
	color: var(--ht-leaf-ink);
	transition: transform 0.2s var(--ht-ease);
}
.ht-video:hover .ht-video__play {
	transform: scale(1.08);
}
.ht-video__play svg {
	margin-left: 3px;
}
.ht .ht-video__cap {
	color: #fff;
	position: absolute;
	z-index: 1;
	left: 14px;
	right: 14px;
	bottom: 12px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	text-align: left;
}
.ht-video iframe,
.ht-shot iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* ---------- Why it matters ---------- */
.ht-facts {
	background: var(--ht-earth);
	color: var(--ht-sand);
	padding-block: var(--ht-pad);
}
.ht-facts .ht-kicker {
	color: var(--ht-clay-lt);
}
.ht-facts .ht-h2 {
	color: var(--ht-sand);
	max-width: 18ch;
}
.ht .ht-facts__list,
.ht .ht-index__list,
.ht .ht-ticks {
	padding-left: 0;
}
.ht .ht-ticks {
	padding-block: 0;
}
.ht-facts__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(28px, 4vw, 64px);
	margin-top: clamp(40px, 6vw, 72px);
}
.ht-facts__list li {
	padding-top: 24px;
	border-top: 1px solid rgba(245, 238, 227, 0.28);
}
.ht-facts__big {
	font-family: var(--ht-serif);
	font-weight: 600;
	font-size: clamp(34px, 4.2vw, 54px);
	line-height: 1.05;
	letter-spacing: -0.015em;
	color: var(--ht-clay-lt);
	margin-bottom: 18px;
}
.ht-facts h3 {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ht-sand);
	margin-bottom: 10px;
}
.ht-facts__list p:last-child {
	color: rgba(245, 238, 227, 0.8);
	max-width: 44ch;
}

/* ---------- Project index ---------- */
.ht-index {
	background: var(--ht-sand);
	padding-block: var(--ht-pad);
}
.ht-index__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
}
.ht-index__head {
	position: sticky;
	top: 110px;
}
.ht-index__list {
	border-top: 1px solid var(--ht-ink);
}
.ht-index__list a {
	display: grid;
	grid-template-columns: 44px minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px;
	padding: 24px 6px;
	border-bottom: 1px solid var(--ht-line);
	color: var(--ht-ink);
	transition: background-color 0.2s var(--ht-ease), padding 0.2s var(--ht-ease);
}
.ht-index__list a:hover {
	background: #fff;
	padding-inline: 18px 14px;
}
.ht-index__n {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.08em;
	color: var(--ht-clay);
}
.ht-index__name {
	font-family: var(--ht-serif);
	font-weight: 600;
	font-size: clamp(22px, 2.6vw, 32px);
	line-height: 1.15;
	letter-spacing: -0.01em;
}
.ht-index__name small {
	display: block;
	margin-top: 4px;
	font-family: var(--ht-sans);
	font-weight: 400;
	font-size: 15px;
	letter-spacing: 0;
	color: var(--ht-ink-soft);
}
.ht-index__go {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 600;
	color: var(--ht-green);
}
.ht-index__go .ht-arrow {
	transition: transform 0.2s var(--ht-ease);
}
.ht-index__list a:hover .ht-arrow {
	transform: translateX(4px);
}

/* ---------- Call to action ---------- */
.ht-cta {
	position: relative;
	isolation: isolate;
	background-color: var(--ht-green);
	color: #fff;
	padding-block: var(--ht-pad);
	overflow: hidden;
}
.ht .ht-cta__img {
	position: absolute;
	inset: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.16;
}
.ht-cta__in > * {
	max-width: 760px;
}
.ht-cta .ht-h2 {
	color: #fff;
}
.ht-cta__lead {
	margin-top: 18px;
	color: rgba(255, 255, 255, 0.9);
	font-size: 19px;
}
.ht-ticks--light li {
	color: #fff;
}
.ht-ticks--light li::before {
	border-color: var(--ht-leaf);
}
.ht-ticks--light {
	margin-top: 22px;
}
.ht-cta__closing {
	margin-top: 36px;
	font-family: var(--ht-serif);
	font-weight: 500;
	font-size: clamp(22px, 2.6vw, 30px);
	line-height: 1.25;
}
.ht-cta .ht-btn--solid {
	margin-top: 30px;
}
.ht-cta__note {
	max-width: 62ch;
	margin-top: clamp(36px, 5vw, 56px);
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.3);
	color: rgba(255, 255, 255, 0.85);
}
.ht-cta__sign {
	margin-top: 10px;
	font-weight: 600;
	color: #fff;
}

/* ---------- Tablet / phone ---------- */
@media (max-width: 960px) {
	.ht-story__grid,
	.ht-index__grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.ht-story__media,
	.ht-story.is-flip .ht-story__media {
		order: -1;
	}
	.ht-story.is-flip .ht-story__text {
		order: 0;
	}
	.ht-index__head {
		position: static;
	}
	.ht-facts__list {
		grid-template-columns: minmax(0, 1fr);
	}
}
@media (max-width: 600px) {
	.ht {
		font-size: 16px;
	}
	/* Phones: picture first, the text sits below it on the dark panel. */
	.ht-hero {
		display: block;
		min-height: 0;
	}
	.ht .ht-hero__img {
		position: relative;
		inset: auto;
		z-index: 0;
		height: 300px;
		object-position: 50% 60%;
	}
	.ht-hero__shade {
		inset: 0 0 auto 0;
		height: 300px;
		background: linear-gradient(to bottom, rgba(26, 14, 7, 0.25), rgba(26, 14, 7, 0) 40%, rgba(42, 26, 16, 0.9) 100%);
	}
	.ht .ht-video__cap {
		display: none;
	}
	.ht-hero__in {
		padding-top: 28px;
	}
	.ht-hero__facts {
		gap: 14px;
	}
	.ht-hero__facts span {
		font-size: 12.5px;
	}
	.ht-btns .ht-btn {
		flex: 1 1 100%;
		justify-content: center;
	}
	.ht .ht-btn--ink,
	.ht-cta .ht-btn--solid {
		width: 100%;
		justify-content: center;
	}
	.ht-index__list a {
		grid-template-columns: 32px minmax(0, 1fr) auto;
		gap: 10px;
		padding: 20px 2px;
	}
	.ht-index__go span,
	.ht-index__go {
		font-size: 0;
	}
	.ht-index__go .ht-arrow {
		width: 22px;
		height: 22px;
	}
	.ht-video__play {
		width: 54px;
		height: 54px;
		margin: -27px 0 0 -27px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.ht * {
		transition: none !important;
	}
}

/* ---------- Homepage Kenya card (matches the homepage: green card, gold edge, red pill button) ---------- */
.ht-hk {
	--hk-green: #069e75;
	--hk-red: #ec4747;
	--hk-gold: #eeac2d;
	background: #fff;
	padding-block: clamp(40px, 6vw, 72px);
	font-family: Lato, Arial, Helvetica, sans-serif;
}
.ht-hk__card {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	overflow: hidden;
	border-radius: 14px;
	border-bottom: 6px solid var(--hk-gold);
	background: var(--hk-green);
}
.ht-hk__photos {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-template-rows: repeat(2, minmax(0, 1fr));
	gap: 4px;
	min-height: 430px;
	background: #fff;
}
.ht .ht-hk__facts {
	padding: 0;
}
.ht .ht-hk__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ht-hk__tag {
	position: absolute;
	left: 16px;
	top: 16px;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--hk-gold);
	color: #1c1405;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
}
.ht-hk__panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(28px, 4vw, 56px);
	background: var(--hk-green);
	color: #fff;
}
.ht-hk__kicker {
	margin-bottom: 12px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #d8fff0;
}
.ht-hk__title {
	font-family: Poppins, Lato, Arial, sans-serif;
	font-weight: 600;
	font-size: clamp(28px, 3.4vw, 42px);
	line-height: 1.15;
	color: #fff;
}
.ht-hk__text {
	margin-top: 14px;
	font-size: 17px;
	color: #fff;
	max-width: 52ch;
}
.ht-hk__facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 26px;
}
.ht-hk__facts li {
	display: grid;
	gap: 2px;
	padding-top: 12px;
	border-top: 1px solid rgba(255, 255, 255, 0.45);
}
.ht-hk__facts strong {
	font-family: Poppins, Lato, Arial, sans-serif;
	font-weight: 600;
	font-size: 20px;
	line-height: 1.2;
}
.ht-hk__facts span {
	font-size: 13.5px;
	line-height: 1.35;
	color: #effff9;
}
.ht-hk__btns {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 24px;
	margin-top: 30px;
}
.ht .ht-hk__btn {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding: 5px 5px 5px 24px;
	border-radius: 999px;
	background: var(--hk-red);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	transition: background-color 0.2s var(--ht-ease);
}
.ht .ht-hk__btn:hover {
	background: #d33a3a;
	color: #fff;
}
.ht-hk__btn i {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #fff;
	color: var(--hk-red);
}
.ht .ht-hk__link {
	color: #fff;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 4px;
}
.ht .ht-hk__link:hover {
	color: var(--hk-gold);
}
@media (max-width: 960px) {
	.ht-hk__card {
		grid-template-columns: minmax(0, 1fr);
	}
	.ht-hk__photos {
		min-height: 0;
		height: 320px;
	}
}
@media (max-width: 600px) {
	.ht-hk__facts {
		gap: 10px;
	}
	.ht-hk__facts strong {
		font-size: 16px;
	}
	.ht-hk__facts span {
		font-size: 12.5px;
	}
	.ht .ht-hk__btn {
		width: 100%;
		justify-content: space-between;
	}
}
