/*
 * Mission (fond sombre) — Kahel · Purpose, en une colonne.
 */

.kahel-purpose {
	position: relative;
	padding-top: var(--wp--custom--editorial--section-padding-y);
	padding-bottom: var(--wp--custom--editorial--section-padding-y);
	overflow: hidden;
	isolation: isolate;
	color: var(--wp--preset--color--cream);
}

.kahel-purpose-halo {
	position: absolute;
	max-width: none;
	z-index: -1;
	width: min(80vw, 900px);
	aspect-ratio: 1;
	right: -18%;
	top: -45%;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(244, 122, 31, 0.22) 0%, rgba(244, 122, 31, 0.06) 40%, transparent 65%);
	pointer-events: none;
	animation: kahel-halo-derive 16s var(--wp--custom--motion--ease-soft) infinite alternate;
}

/* Tout à la suite, en une colonne : surtitre, titre, accroche, texte. */
.kahel-purpose .kahel-purpose-inner {
	display: flex;
	flex-direction: column;
	gap: clamp(28px, 4vw, 48px);
}

.kahel-purpose .kahel-purpose-body {
	max-width: 760px;
}

.kahel-purpose .kahel-purpose-title {
	max-width: 18ch;
	margin: 0;
}

.kahel-purpose .kahel-purpose-feature {
	margin: 0;
	color: var(--wp--preset--color--apricot);
	font-size: var(--wp--custom--editorial--feature-size);
	font-weight: var(--wp--custom--weight--feature);
	line-height: 1.4;
	letter-spacing: -0.025em;
}

.kahel-purpose .kahel-purpose-copy {
	margin: var(--wp--custom--editorial--purpose-copy-margin-top) 0 0;
	color: var(--wp--preset--color--cream-soft);
}

@keyframes kahel-halo-derive {
	from {
		translate: 0 0;
		scale: 1;
	}

	to {
		translate: -22% 30%;
		scale: 1.15;
	}
}

@media (prefers-reduced-motion: reduce) {
	.kahel-purpose-halo {
		animation: none;
	}
}
