/* GG Purpose & Boundaries ("Our Purpose & Boundaries") ------------------------------------- */
.gg-purpose {
	font-family: var(--gg-font-sans, 'Poppins', sans-serif);
}

.gg-purpose__box {
	background: #FDF6EC;
	border: 1px solid #EEDFC4;
	border-radius: 24px;
	max-width: 1240px;
	margin: 0 auto;
	padding: 46px 50px;
	box-sizing: border-box;
	overflow: hidden; /* guards against any decorative element causing horizontal overflow */
}

.gg-purpose__box > * {
	margin-bottom: 30px;
}

.gg-purpose__box > *:last-child {
	margin-bottom: 0;
}

/* ---------------- Top row: badge + content ---------------- */
.gg-purpose__top {
	display: flex;
	align-items: center;
	gap: 50px;
}

.gg-purpose__badge-col {
	flex: 0 0 auto;
	position: relative;
	width: 30%;
	max-width: 320px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.gg-purpose__badge {
	width: 300px;
	height: 300px;
	max-width: 100%;
	border-radius: 50%;
	background: #152744;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 16px;
	padding: 20px;
	box-sizing: border-box;
	flex-shrink: 0;
}

.gg-purpose__badge-icon {
	display: inline-flex;
	color: #D9A441;
}

.gg-purpose__badge-icon .gg-icon-svg {
	width: 56px;
	height: 56px;
}

.gg-purpose__badge-heading {
	margin: 0;
	color: #fff;
	font-family: var(--gg-font-serif, 'Playfair Display', serif);
	font-size: 25px;
	line-height: 1.25;
}

.gg-purpose__botanical {
	display: block;
	width: 140px;
	margin-top: 14px;
	color: #8DA98A;
	align-self: flex-start;
}

.gg-purpose__botanical svg {
	width: 140px;
	height: 105px; /* explicit, matching the SVG's own 160:120 viewBox ratio — see the note
	                  on the callout illustration above for why this isn't left to "auto". */
	display: block;
}

.gg-purpose__content {
	flex: 1 1 auto;
	min-width: 0;
}

/* ---------------- Eyebrow / heading / description ---------------- */
.gg-purpose__divider {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #D9A441;
	margin-bottom: 8px;
}

.gg-purpose__divider-line {
	width: 60px;
	height: 1px;
	background: currentColor;
	opacity: 0.6;
}

.gg-purpose__divider .gg-icon-svg {
	width: 16px;
	height: 16px;
}

.gg-purpose__eyebrow {
	display: block;
	color: #D9A441;
	margin-bottom: 10px;
}

.gg-purpose__heading {
	margin: 0 0 16px;
	color: #152744;
	font-family: var(--gg-font-serif, 'Playfair Display', serif);
	font-size: 34px;
	line-height: 1.25;
}

.gg-purpose__description {
	margin: 0;
	color: #33404f;
	font-size: 16px;
	line-height: 1.6;
	max-width: 60em;
}

.gg-purpose__emphasis {
	color: #2F8C82;
	font-weight: 700;
}

/* ---------------- Info columns ---------------- */
.gg-purpose__columns {
	display: flex;
	gap: 50px;
	margin-top: 30px;
}

/* Single-column mode ("What We Provide" removed) — the one remaining column takes the
   full row width instead of sharing it 50/50 with a second column. */
.gg-purpose__columns--single {
	gap: 0;
}

.gg-purpose__col {
	flex: 1 1 0;
	min-width: 0;
}

.gg-purpose__col--full {
	flex: 1 1 100%;
	width: 100%;
	max-width: 100%;
}

.gg-purpose__col-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 8px;
}

.gg-purpose__col-icon {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.gg-purpose__col-icon .gg-icon-svg {
	width: 18px;
	height: 18px;
}

.gg-purpose__col--who .gg-purpose__col-icon { background: #2F8C82; color: #fff; }

.gg-purpose__col-heading {
	margin: 0;
	font-family: var(--gg-font-serif, 'Playfair Display', serif);
	font-size: 19px;
	font-weight: 700;
}

.gg-purpose__col--who .gg-purpose__col-heading { color: #2F8C82; }

.gg-purpose__col-underline {
	display: block;
	width: 46px;
	height: 2px;
	background: #D9A441;
	opacity: 0.6;
	margin: 0 0 16px 52px;
}

.gg-purpose__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.gg-purpose__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.gg-purpose__item-icon {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	margin-top: 2px;
}

.gg-purpose__col--who .gg-purpose__item-icon { background: #2F8C82; }

.gg-purpose__item-icon .gg-icon-svg {
	width: 11px;
	height: 11px;
}

.gg-purpose__item-text {
	font-size: 15px;
	line-height: 1.5;
	color: #33404f;
	padding-top: 1px;
}

/* ---------------- Service boundaries ---------------- */
.gg-purpose__boundary-divider {
	border: none;
	border-top: 1px solid #EEDFC4;
}

.gg-purpose__boundary {
	display: flex;
	align-items: flex-start;
	gap: 18px;
}

.gg-purpose__boundary-icon {
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: #E4EEEA;
	color: #2F8C82;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.gg-purpose__boundary-icon .gg-icon-svg {
	width: 20px;
	height: 20px;
}

.gg-purpose__boundary-text {
	flex: 1 1 auto;
	min-width: 0;
}

.gg-purpose__boundary-heading {
	display: block;
	font-family: var(--gg-font-serif, 'Playfair Display', serif);
	font-size: 16px;
	color: #152744;
	margin-bottom: 4px;
}

.gg-purpose__boundary-text p {
	margin: 0 0 4px;
	font-size: 14px;
	line-height: 1.6;
	color: #33404f;
}

.gg-purpose__boundary-text p:last-child {
	margin-bottom: 0;
}

/* ---------------- Emotional callout ---------------- */
.gg-purpose__callout {
	max-width: 1240px;
	margin: 24px auto 0;
	background: #E4EEEA;
	border-radius: 20px;
	padding: 36px 46px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	box-sizing: border-box;
}

.gg-purpose__callout-text {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	flex: 1 1 auto;
	min-width: 0;
}

.gg-purpose__callout-icon {
	flex: 0 0 auto;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #fff;
	color: #2F8C82;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.gg-purpose__callout-icon .gg-icon-svg {
	width: 22px;
	height: 22px;
}

.gg-purpose__callout-heading {
	margin: 0 0 6px;
	font-family: var(--gg-font-serif, 'Playfair Display', serif);
	font-size: 20px;
	color: #2F8C82;
}

.gg-purpose__callout-desc {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: #2e463f;
	max-width: 46em;
}

.gg-purpose__callout-illustration {
	flex: 0 0 auto;
	display: inline-flex;
	color: #2F8C82;
	opacity: 0.85;
}

.gg-purpose__callout-illustration svg {
	width: 150px;
	height: 109px; /* explicit, matching the SVG's own 220:160 viewBox ratio — "height:auto" on
	                  a non-square SVG has been unreliable on at least one rendering engine
	                  encountered during this build, so this is set explicitly rather than
	                  left to "auto" for guaranteed-correct sizing everywhere. */
	display: block;
}

/* ---------------- Animation ---------------- */
@media (prefers-reduced-motion: no-preference) {
	.gg-purpose__box--animate.gg-purpose--js-ready .gg-purpose__badge-col,
	.gg-purpose__box--animate.gg-purpose--js-ready .gg-purpose__content {
		opacity: 0;
	}
	.gg-purpose__box--animate.gg-purpose--in-view .gg-purpose__badge-col {
		animation: gg-purpose-fade-up 650ms ease both;
	}
	.gg-purpose__box--animate.gg-purpose--in-view .gg-purpose__content {
		animation: gg-purpose-fade-up 650ms ease 120ms both;
	}
	.gg-purpose__box--animate.gg-purpose--in-view .gg-purpose__item {
		animation: gg-purpose-fade-up 450ms ease both;
	}
	.gg-purpose__box--animate.gg-purpose--in-view .gg-purpose__item:nth-child(1) { animation-delay: 200ms; }
	.gg-purpose__box--animate.gg-purpose--in-view .gg-purpose__item:nth-child(2) { animation-delay: 280ms; }
	.gg-purpose__box--animate.gg-purpose--in-view .gg-purpose__item:nth-child(3) { animation-delay: 360ms; }
	.gg-purpose__box--animate.gg-purpose--in-view .gg-purpose__item:nth-child(4) { animation-delay: 440ms; }
}

@keyframes gg-purpose-fade-up {
	from { opacity: 0; transform: translateY(18px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
	.gg-purpose__box { padding: 36px 32px; }
	.gg-purpose__top { gap: 34px; }
	.gg-purpose__badge { width: 240px; height: 240px; }
	.gg-purpose__heading { font-size: 28px; }
	.gg-purpose__columns { gap: 30px; }
}

@media (max-width: 900px) {
	.gg-purpose__top {
		flex-direction: column;
		text-align: center;
	}
	.gg-purpose__badge-col {
		width: auto;
		max-width: 100%;
	}
	.gg-purpose__botanical {
		align-self: center;
	}
	.gg-purpose__columns {
		flex-direction: column;
		gap: 30px;
	}
	.gg-purpose__col-head {
		justify-content: center;
	}
	.gg-purpose__col-underline {
		margin-left: auto;
		margin-right: auto;
	}
	.gg-purpose__item {
		text-align: left;
	}
	.gg-purpose__callout {
		flex-direction: column;
		text-align: center;
	}
	.gg-purpose__callout-text {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
}

@media (max-width: 600px) {
	.gg-purpose__box { padding: 28px 22px; border-radius: 18px; }
	.gg-purpose__badge { width: 200px; height: 200px; }
	.gg-purpose__badge-heading { font-size: 21px; }
	.gg-purpose__heading { font-size: 24px; }
	.gg-purpose__boundary { flex-direction: column; align-items: center; text-align: center; }
	.gg-purpose__callout { padding: 28px 24px; }
	.gg-purpose__callout-illustration svg { width: 110px; }
}
