﻿/**
 * Integrating Sustainability - editorial pass, 2026-11.
 *
 * The page already had a strong structure (hero, three photo chapters, three
 * content sections). What it lacked was contrast between those repeats: every
 * section was the same eyebrow + heading + 3-column row on the same cream
 * ground, and nothing had depth. This layer keeps all copy and markup and
 * changes only the visual language:
 *
 *  - the governance aside becomes a dark panel, the page's one strong block
 *  - the roadmap markers grow and the current phase gets a lit card
 *  - the hero photograph gets a solid brand block behind it
 *  - photo chapters close with the brand rule, like the rest of the site
 *  - the 2029 milestone becomes an outlined numeral instead of a solid one
 *
 * Scoped to body.page-id-155 .unoc-esg-strategy.
 */

/* ------------------------------------------------------------ typography --- */

body.page-id-155 .unoc-esg-strategy .esg-section__heading h2 {
	font-size: clamp(2.3rem, 3.9vw, 3.6rem) !important;
	letter-spacing: -0.05em !important;
	text-wrap: balance;
}

body.page-id-155 .unoc-esg-strategy .esg-section__heading {
	margin-bottom: clamp(38px, 4.6vw, 62px) !important;
}

body.page-id-155 .unoc-esg-strategy .esg-eyebrow {
	font-size: 0.71rem !important;
	letter-spacing: 0.18em !important;
}

/* ------------------------------------------------------------------ hero --- */

/* A solid brand block sits behind the photograph, giving the flat image an
 * edge. A negative-z pseudo-element paints above a background image in an
 * isolated stacking context, so this is an offset shadow instead. */
body.page-id-155 .unoc-esg-strategy .esg-hero__image {
	position: relative;
	box-shadow: 18px 18px 0 0 #dedbd5 !important;
}

/* ------------------------------------------------------------ commitments --- */

body.page-id-155 .unoc-esg-strategy .esg-commitments__grid article {
	transition: background 0.2s ease, transform 0.2s ease;
}

body.page-id-155 .unoc-esg-strategy .esg-commitments__grid article:hover {
	background: #ffffff;
	transform: translateY(-3px);
}

body.page-id-155 .unoc-esg-strategy .esg-commitments__grid span,
body.page-id-155 .unoc-esg-strategy .esg-materiality__grid span {
	font-size: 0.78rem !important;
	letter-spacing: 0.18em !important;
}

/* ---------------------------------------------------------------- roadmap --- */

body.page-id-155 .unoc-esg-strategy .esg-roadmap__track:before {
	border-top-width: 4px !important;
}

body.page-id-155 .unoc-esg-strategy .esg-roadmap__marker {
	width: 34px !important;
	height: 34px !important;
	top: 10px !important;
	outline: 7px solid #fff !important;
	box-shadow: 0 0 0 1px rgba(228, 0, 58, 0.28), 0 8px 18px rgba(20, 20, 22, 0.12);
}

body.page-id-155 .unoc-esg-strategy .esg-roadmap__marker span {
	top: -46px !important;
	font-size: 0.8rem !important;
}

body.page-id-155 .unoc-esg-strategy .esg-roadmap__track article.is-current {
	background: linear-gradient(180deg, #fff6d8 0%, rgba(255, 246, 216, 0) 86%);
}

body.page-id-155 .unoc-esg-strategy .esg-roadmap__track b {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	padding: 7px 12px !important;
	box-shadow: 0 6px 14px rgba(20, 20, 22, 0.1);
}

body.page-id-155 .unoc-esg-strategy .esg-roadmap__track b:before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #e4003a;
}

/* ------------------------------------------------------------- materiality --- */

body.page-id-155 .unoc-esg-strategy .esg-materiality__grid {
	border: 0 !important;
	gap: 14px;
	background: transparent !important;
}

body.page-id-155 .unoc-esg-strategy .esg-materiality__grid article {
	border: 1px solid #dedbd5 !important;
	border-top: 3px solid #ffc808 !important;
	background: #fff !important;
	border-radius: 0 0 4px 4px;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.page-id-155 .unoc-esg-strategy .esg-materiality__grid article:hover {
	transform: translateY(-4px);
	border-top-color: #e4003a !important;
	box-shadow: 0 18px 36px rgba(20, 20, 22, 0.12);
}

/* ------------------------------------------------------------ photo chapters --- */

body.page-id-155 .unoc-esg-strategy .esg-photo-chapter {
	border-top: 4px solid transparent;
	border-image: linear-gradient(90deg, #000 0 33%, #ffc808 33% 66%, #e4003a 66% 100%) 1;
}

body.page-id-155 .unoc-esg-strategy .esg-photo-chapter h2 {
	letter-spacing: -0.04em !important;
	text-wrap: balance;
}

body.page-id-155 .unoc-esg-strategy .esg-photo-chapter:before {
	background: linear-gradient(90deg, rgba(12, 20, 17, 0.9) 0%, rgba(12, 20, 17, 0.66) 46%, rgba(12, 20, 17, 0.12) 100%) !important;
}

/* -------------------------------------------------------------- governance --- */

/* The one dark block on the page: delivery ownership is a different kind of
 * statement from the narrative sections around it. */
body.page-id-155 .unoc-esg-strategy .esg-governance aside {
	background: #26272a !important;
	border-left: 5px solid #ffc808 !important;
	border-radius: 0 20px 20px 0;
	padding: clamp(32px, 3.4vw, 46px) !important;
	box-shadow: 0 28px 60px rgba(20, 20, 22, 0.2);
}

body.page-id-155 .unoc-esg-strategy .esg-governance aside h3 {
	color: #ffffff !important;
}

body.page-id-155 .unoc-esg-strategy .esg-governance aside p {
	color: rgba(255, 255, 255, 0.82) !important;
}

body.page-id-155 .unoc-esg-strategy .esg-governance aside .esg-eyebrow {
	color: #ffc808 !important;
}

body.page-id-155 .unoc-esg-strategy .esg-governance aside .esg-eyebrow:before {
	background: #e4003a !important;
}

/* ----------------------------------------------------------------- report --- */

body.page-id-155 .unoc-esg-strategy .esg-report__milestone strong {
	color: transparent !important;
	-webkit-text-stroke: 3px #e4003a;
	line-height: 0.78 !important;
}

body.page-id-155 .unoc-esg-strategy .esg-report__milestone {
	border-left-color: #e4003a !important;
}

/* ----------------------------------------------------------------- mobile --- */

@media (max-width: 800px) {
	body.page-id-155 .unoc-esg-strategy .esg-hero__image {
		box-shadow: 12px 12px 0 0 #dedbd5 !important;
	}

	body.page-id-155 .unoc-esg-strategy .esg-roadmap__marker {
		width: 26px !important;
		height: 26px !important;
		outline-width: 5px !important;
	}

	body.page-id-155 .unoc-esg-strategy .esg-report__milestone strong {
		-webkit-text-stroke-width: 2px;
	}
}

/* Wider heading measure: at the larger type size the heading column was
 * forcing three-line titles beside a narrow paragraph. Desktop only - the
 * template stacks this grid below 800px and must keep doing so. */
@media (min-width: 801px) {
	body.page-id-155 .unoc-esg-strategy .esg-section__heading {
		max-width: 1000px !important;
		grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.82fr) !important;
	}
}

/* Index-card layout: number at the top, title anchored to the base. */
body.page-id-155 .unoc-esg-strategy .esg-materiality__grid article {
	display: flex !important;
	flex-direction: column !important;
	justify-content: space-between !important;
	min-height: 210px !important;
}

body.page-id-155 .unoc-esg-strategy .esg-materiality__grid h3 {
	margin-top: auto !important;
	padding-top: 22px;
}

/* The current-phase highlight fades out rather than ending on a hard edge. */
body.page-id-155 .unoc-esg-strategy .esg-roadmap__track article.is-current {
	background: linear-gradient(90deg, #fff6d8 0%, rgba(255, 246, 216, 0.5) 68%, rgba(255, 246, 216, 0) 100%) !important;
}

/* ========================================================= roadmap, redesign === */

/* The report's "2029" was an outlined numeral (transparent fill + red stroke);
 * make it solid like the rest of the typography. */
body.page-id-155 .unoc-esg-strategy .esg-report [class*="num"],
body.page-id-155 .unoc-esg-strategy .esg-report strong,
body.page-id-155 .unoc-esg-strategy .esg-report b {
	-webkit-text-stroke: 0 !important;
	-webkit-text-fill-color: #e10032 !important;
	color: #e10032 !important;
}

/* The roadmap becomes a three-card stepper: markers sit on a continuous rule,
 * each phase is a card, and the current phase is lifted rather than smeared
 * with a highlight block. */
body.page-id-155 .unoc-esg-strategy .esg-roadmap__track {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: clamp(18px, 2.4vw, 32px) !important;
	position: relative;
	padding-top: 54px;
	margin-top: 46px;
}

/* Continuous rule the markers sit on. */
body.page-id-155 .unoc-esg-strategy .esg-roadmap__track::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 17px;
	height: 2px;
	background: linear-gradient(90deg, #ffc808 0%, #ffc808 62%, #e4e1da 62%, #e4e1da 100%);
}

body.page-id-155 .unoc-esg-strategy .esg-roadmap__track article {
	position: relative;
	background: #ffffff !important;
	border: 1px solid #e9e6e0;
	border-radius: 16px;
	padding: 26px 26px 24px !important;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.page-id-155 .unoc-esg-strategy .esg-roadmap__track article:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 36px rgba(20, 20, 22, 0.10);
}

/* Marker: a ringed dot sitting on the rule. */
body.page-id-155 .unoc-esg-strategy .esg-roadmap__marker {
	position: absolute !important;
	top: -54px !important;
	left: 26px !important;
	width: 34px !important;
	height: 34px !important;
	border-radius: 50% !important;
	background: #ffffff !important;
	border: 3px solid #ffc808 !important;
	display: grid !important;
	place-items: center !important;
	box-shadow: 0 0 0 4px #ffffff;
}

body.page-id-155 .unoc-esg-strategy .esg-roadmap__marker span {
	font-size: 10px !important;
	font-weight: 800 !important;
	color: #414042 !important;
	letter-spacing: 0.02em;
}

body.page-id-155 .unoc-esg-strategy .esg-roadmap__date {
	margin: 0 0 6px !important;
	font-size: 11px !important;
	font-weight: 800 !important;
	letter-spacing: 0.14em !important;
	text-transform: uppercase;
	color: #e10032 !important;
}

body.page-id-155 .unoc-esg-strategy .esg-roadmap__track h3 {
	margin: 0 0 10px !important;
	font-size: clamp(20px, 1.9vw, 25px) !important;
	line-height: 1.15 !important;
	letter-spacing: -0.02em;
}

body.page-id-155 .unoc-esg-strategy .esg-roadmap__track p {
	margin: 0 !important;
	font-size: 14.5px !important;
	line-height: 1.6 !important;
	color: #5f5e60 !important;
}

/* Current phase: filled marker, brand border, a proper chip. */
body.page-id-155 .unoc-esg-strategy .esg-roadmap__track article.is-current {
	border-color: #ffc808 !important;
	box-shadow: 0 20px 40px rgba(20, 20, 22, 0.12);
}

body.page-id-155 .unoc-esg-strategy .esg-roadmap__track article.is-current::after {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 4px;
	border-radius: 16px 16px 0 0;
	background: #ffc808;
}

body.page-id-155 .unoc-esg-strategy .esg-roadmap__track article.is-current .esg-roadmap__marker {
	background: #e10032 !important;
	border-color: #ffffff !important;
	box-shadow: 0 0 0 4px #e10032;
}

body.page-id-155 .unoc-esg-strategy .esg-roadmap__track article.is-current .esg-roadmap__marker span {
	color: #ffffff !important;
}

body.page-id-155 .unoc-esg-strategy .esg-roadmap__track article b {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 12px 0 14px;
	padding: 6px 11px;
	border-radius: 4px;
	background: #ffc808;
	color: #414042 !important;
	font-size: 10px !important;
	font-weight: 800 !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

body.page-id-155 .unoc-esg-strategy .esg-roadmap__track article b::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #414042;
}

/* No more highlight smear behind the current phase. */
body.page-id-155 .unoc-esg-strategy .esg-roadmap__track article.is-current {
	background: #ffffff !important;
}

@media (max-width: 820px) {
	body.page-id-155 .unoc-esg-strategy .esg-roadmap__track {
		grid-template-columns: 1fr !important;
		padding-top: 0 !important;
		gap: 46px !important;
	}

	body.page-id-155 .unoc-esg-strategy .esg-roadmap__track::before {
		top: 0;
		bottom: 0;
		left: 17px;
		right: auto;
		width: 2px;
		height: auto;
		background: linear-gradient(180deg, #ffc808 0%, #ffc808 33%, #e4e1da 33%, #e4e1da 100%);
	}

	body.page-id-155 .unoc-esg-strategy .esg-roadmap__marker {
		position: static !important;
		margin-bottom: 12px !important;
	}
}

/* The original stylesheet positioned the marker numeral above the dot; inside
 * the new ring it must sit in the middle. */
body.page-id-155 .unoc-esg-strategy .esg-roadmap__marker span {
	position: static !important;
	top: auto !important;
	left: auto !important;
	transform: none !important;
	color: #414042 !important;
	font-size: 10px !important;
	font-weight: 800 !important;
	line-height: 1 !important;
}

body.page-id-155 .unoc-esg-strategy .esg-roadmap__track article.is-current .esg-roadmap__marker span {
	color: #ffffff !important;
}

@media (max-width: 820px) {
	/* Clear the vertical rail from the cards on stacked layouts. */
	body.page-id-155 .unoc-esg-strategy .esg-roadmap__track {
		padding-left: 36px !important;
	}

	body.page-id-155 .unoc-esg-strategy .esg-roadmap__track::before {
		left: 10px !important;
	}
}
