/**
 * ESG & Sustainability page.
 *
 * Enqueued only on the page with the slug "esg-sustainability".
 *
 * Sizes come from the 1728-wide Figma frame and are used as CSS pixels at the
 * top of each clamp, the same way the other later pages do it — the shell is
 * widened to 1360 so its 1280 content column matches the design.
 */

.zouma-esghero .zouma-shell,
.zouma-esgcards .zouma-shell,
.zouma-esgdisc .zouma-shell {
	max-width: 1360px;
}

/* 01 · Hero -------------------------------------------------------------- */

/* Light, unlike every other inner hero — which is why this page is left out of
 * zouma_has_dark_hero() and takes the solid header instead. */
.zouma-esghero {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	/* Sizes to its copy plus the padding below, not to the screen. Stated
	 * rather than dropped: `main > section` floors every band at 100svh and
	 * is (0,0,2), so deleting the height here would hand the hero straight
	 * back to that floor. */
	min-height: auto;
	padding-block: clamp(3.5rem, calc(7.6 * var(--zouma-vw)), 8.5rem) clamp(2.5rem, calc(7.5 * var(--zouma-vw)), 6.75rem);
	background: #fff;
	overflow: hidden;
	isolation: isolate;
	text-align: center;
}

.zouma-esghero__dots {
	position: absolute;
	inset: 0;
	z-index: -2;
	background-image: radial-gradient(rgba(14, 133, 182, 0.16) 1.1px, transparent 1.3px);
	background-size: 26px 26px;
	/* Fades out at the edges so the grid reads as texture rather than as a
	 * panel with a hard border. */
	-webkit-mask-image: radial-gradient(ellipse 62% 76% at 50% 46%, #000 30%, transparent 100%);
	mask-image: radial-gradient(ellipse 62% 76% at 50% 46%, #000 30%, transparent 100%);
}

/* The soft cloud behind the heading. Sits above the dots so it washes them
 * out in the middle, which is what the design does. */
.zouma-esghero__glow {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(ellipse 30% 42% at 43% 50%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 70%),
		radial-gradient(ellipse 44% 52% at 50% 50%, rgba(196, 226, 240, 0.75) 0%, rgba(196, 226, 240, 0) 72%),
		radial-gradient(ellipse 30% 30% at 72% 40%, rgba(167, 212, 233, 0.55) 0%, rgba(167, 212, 233, 0) 74%);
}

.zouma-esghero__inner {
	position: relative;
}

.zouma-esghero .zouma-eyebrow {
	justify-content: center;
}

.zouma-esghero__title {
	max-width: 20ch;
	margin: 22px auto 0;
	font-family: var(--zouma-font-heading);
	font-size: clamp(1.875rem, 0.95rem + calc(3.6 * var(--zouma-vw)), 3.75rem);
	font-weight: 700;
	line-height: 1.28;
	letter-spacing: -0.02em;
}

.zouma-esghero__text {
	max-width: 880px;
	margin: 26px auto 0;
	color: var(--zouma-color-muted);
	font-family: var(--zouma-font-body);
	font-size: clamp(0.8125rem, 0.74rem + calc(0.28 * var(--zouma-vw)), 0.9375rem);
	line-height: 1.75;
}

/* 02 · Commitments ------------------------------------------------------- */

.zouma-esgcards {
	padding-block: 0 clamp(3rem, calc(6.4 * var(--zouma-vw)), 6.25rem);
	background: #fff;
}

.zouma-esgcards__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.zouma-esgcard {
	padding: 32px 24px;
	background: #fff;
	border: 1px solid #e6eef3;
	border-radius: 12px;
}

.zouma-esgcard__icon {
	display: flex;
	align-items: center;
	height: 32px;
	color: var(--zouma-blue);
}

/* An uploaded mark is held to the same box the drawn ones use.
 *
 * The field takes anything from the media library, so without this a 512px
 * export would set the card's height and the row would step out of line with
 * its neighbours. Height drives it and width follows, so the artwork keeps its
 * own proportions whatever they are. */
.zouma-esgcard__icon img {
	display: block;
	width: auto;
	height: 100%;
	max-width: 100%;
	object-fit: contain;
	object-position: left center;
}

.zouma-esgcard__title {
	margin: 19px 0 0;
	font-family: var(--zouma-font-heading);
	font-size: clamp(1rem, 0.9rem + calc(0.4 * var(--zouma-vw)), 1.25rem);
	font-weight: 600;
	line-height: 1.3;
}

.zouma-esgcard__points {
	margin: 22px 0 0;
	padding: 0 0 0 20px;
	list-style: none;
}

.zouma-esgcard__points li {
	position: relative;
	margin-bottom: 8px;
	color: var(--zouma-color-muted);
	font-family: var(--zouma-font-body);
	font-size: clamp(0.8125rem, 0.74rem + calc(0.29 * var(--zouma-vw)), 1rem);
	line-height: 1.63;
}

.zouma-esgcard__points li:last-child {
	margin-bottom: 0;
}

/* A plain bullet, drawn rather than set as a list-style — the same mark the
 * Privacy Policy body uses, so the two read as one system.
 *
 * Absolute, which is what gives the hanging indent: the mark is out of flow,
 * so a point that runs to two lines wraps under its own first word rather
 * than under the bullet.
 *
 * currentColor, so it takes the muted grey of the sentence it belongs to and
 * stays subtle. top is in em so it holds the first line's optical centre at
 * any type size: half of this list's 1.63 line-height less half the dot.
 *
 * The list keeps its own 20px indent and 8px item spacing — only the mark
 * itself changes. */
.zouma-esgcard__points li::before {
	content: "";
	position: absolute;
	top: 0.66em;
	left: -13px;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: currentColor;
}

/* 03 · Reporting and disclosures ----------------------------------------- */

/* Opted out of the site-wide full-screen floor (see `main > section` in
 * main.css). This band is a closing note and a button - a whole screen of it
 * was mostly empty. Its own padding sets the height, as it did before.
 *
 * Both properties are needed: min-height undoes the floor, display undoes the
 * grid that came with it and puts the section back to normal block flow. */
.zouma-esgdisc {
	min-height: auto;
	display: block;
	padding-block: clamp(3rem, calc(6.6 * var(--zouma-vw)), 6.5rem);
	background: var(--zouma-blue-pale);
}

.zouma-esgdisc__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px clamp(1.5rem, calc(3 * var(--zouma-vw)), 3rem);
}

.zouma-esgdisc__body {
	flex: 1 1 620px;
}

.zouma-esgdisc__title {
	margin: 14px 0 0;
	font-family: var(--zouma-font-heading);
	font-size: clamp(1.75rem, 1.1rem + calc(2.75 * var(--zouma-vw)), 3rem);
	font-weight: 700;
	line-height: 1.14;
	letter-spacing: -0.01em;
}

.zouma-esgdisc__text {
	max-width: 960px;
	margin: 18px 0 0;
	color: var(--zouma-color-muted);
	font-family: var(--zouma-font-body);
	font-size: clamp(0.75rem, 0.71rem + calc(0.22 * var(--zouma-vw)), 0.875rem);
	line-height: 1.72;
}

.zouma-esgdisc__btn {
	flex: 0 0 auto;
	padding: 10px 20px;
}

/* Narrow ----------------------------------------------------------------- */

@media (max-width: 1100px) {
	.zouma-esgcards__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.zouma-esgcards__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.zouma-esgdisc__inner {
		align-items: flex-start;
	}
}
