/*
 * Inner pages, second pass — every section carries the drawing, number or tool that proves its text.
 * Built on the web asset kit (assets/kit, inc/kit.php). Loads after inner.css; motion in pages.js.
 *
 * Without JS, with reduced motion, on phones and in the Elementor editor, every tool shows a complete
 * static layout; pages.js adds the pinned / interactive states (classes is-pinned, is-live).
 */

/* =========================================================================================
 * Rhythm: inner sections sit closer than the home page's showcase sections
 * ========================================================================================= */
.elementor .e-con.mx-section.mx-inner:not(.mx-ihero):not(.mx-tour) {
	--padding-top: clamp(3.5rem, 2rem + 4vw, 6rem);
	--padding-bottom: clamp(3.5rem, 2rem + 4vw, 6rem);
}
.elementor .e-con.mx-inner { --gap: clamp(2rem, 1.25rem + 2vw, 3.25rem); --row-gap: clamp(2rem, 1.25rem + 2vw, 3.25rem); }

/* Shared: mono readout list (dt / dd) */
.mx-readout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--mxi-hair-dark); }
.mx-readout > div { padding: 0.85rem 0.9rem 0 0; }
.mx-readout > div + div { padding-left: 0.9rem; border-left: 1px solid var(--mxi-hair-dark); }
.mx-readout dt { margin: 0 0 0.35rem; font-size: 0.75rem; font-weight: 500; line-height: 1.3; color: var(--mxp-sub); }
.mx-readout dd { margin: 0; font-family: var(--mx-font-mono); font-size: 0.9375rem; font-weight: 500; line-height: 1.3; color: var(--mxp-text); font-variant-numeric: tabular-nums; }

/* =========================================================================================
 * Facilities & Process — tour (.mx-tour + [masader_plant_tour])
 *   mx-section mx-inner mx-tour mx-dark
 *   ├─ mx-tour__intro › mx-crumbs · mx-ihero__title · mx-lead
 *   └─ Shortcode [masader_plant_tour]  (class mx-tour__tour)
 * Static layout first (phones, no JS); .is-pinned below is the desktop tour.
 * ========================================================================================= */
.elementor .e-con.mx-tour {
	--padding-top: calc(var(--mx-brand-h, 84px) + clamp(2.5rem, 1.5rem + 4vw, 5rem));
	--padding-bottom: clamp(3rem, 2rem + 3vw, 5rem);
	--gap: clamp(1.5rem, 1rem + 2vw, 3rem);
	--row-gap: clamp(1.5rem, 1rem + 2vw, 3rem);
	background:
		radial-gradient(55% 60% at 80% 10%, rgba(24, 64, 42, 0.85) 0%, transparent 70%),
		radial-gradient(45% 55% at 0% 100%, rgba(16, 48, 26, 0.9) 0%, transparent 70%),
		var(--mxp-bg);
}
.elementor .e-con.mx-tour::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(239, 245, 237, 0.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(239, 245, 237, 0.04) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(80% 70% at 50% 60%, #000 0%, transparent 80%);
	mask-image: radial-gradient(80% 70% at 50% 60%, #000 0%, transparent 80%);
	pointer-events: none;
}
.elementor .e-con.mx-tour__intro { --gap: 1.25rem; --row-gap: 1.25rem; max-width: 46rem; position: relative; z-index: 2; }
.elementor .mx-tour .elementor-element.mx-ihero__title .elementor-heading-title { max-width: 16ch; font-size: clamp(2.6rem, 1.5rem + 4vw, 5rem); }
.elementor .mx-tour .elementor-element.mx-lead { max-width: 56ch; color: var(--mxp-sub); }

.mxt { position: relative; color: var(--mxp-text); }
.mxt__stage { position: relative; margin: 0 calc(-1 * var(--mx-gutter)); }
.mxt__stage .mxk-plant { display: block; width: 100%; height: auto; overflow: visible; }

.mxt__panel { margin-top: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.mxt__count { display: none; }
.mxt__steps { display: grid; gap: 1rem; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.mxt__step {
	display: grid;
	gap: 0.6rem;
	padding: 1.25rem 1.25rem 1.4rem;
	border: 1px solid var(--mxi-hair-dark);
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(16, 48, 26, 0.55), rgba(9, 29, 13, 0.2));
}
.mxt__unit { display: block; margin: -0.5rem -0.5rem 0; }
.mxt__unit img { display: block; width: 100%; height: auto; }
.mxt__tags { display: flex; align-items: center; gap: 0.75rem; margin: 0; font-family: var(--mx-font-mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--mxp-gold); }
.mxt__n { display: inline-grid; place-items: center; min-width: 2.1rem; height: 1.5rem; padding: 0 0.4rem; border: 1px solid rgba(244, 175, 53, 0.4); border-radius: 999px; color: var(--mxp-text); }
.mxt__title { margin: 0; font-family: var(--mx-font-display); font-size: clamp(1.45rem, 1.2rem + 0.8vw, 1.9rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.015em; color: var(--mxp-text); }
.mxt__text { margin: 0; max-width: 48ch; font-size: 0.975rem; line-height: 1.65; color: var(--mxp-sub); }
.mxt__read { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0.4rem 0 0; border-top: 1px solid var(--mxi-hair-dark); }
.mxt__read > div { padding: 0.8rem 0.6rem 0 0; }
.mxt__read > div + div { padding-left: 0.75rem; border-left: 1px solid var(--mxi-hair-dark); }
.mxt__read dt { margin: 0 0 0.3rem; font-size: 0.72rem; line-height: 1.3; color: var(--mxp-sub); }
.mxt__read dd { margin: 0; font-family: var(--mx-font-mono); font-size: 0.875rem; font-weight: 500; line-height: 1.3; color: var(--mxp-text); }

.mxt__ledger {
	display: grid;
	gap: 1.25rem;
	margin-top: 1rem;
	padding: 1.4rem;
	border: 1px solid var(--mxi-hair-dark);
	border-radius: 18px;
	background: rgba(9, 29, 13, 0.6);
}
.mxt__gauge { display: grid; gap: 0.25rem; }
.mxt__gauge p { margin: 0; }
.mxt__gauge-label { font-size: 0.75rem; font-weight: 500; color: var(--mxp-sub); }
.mxt__purity.is-text { font-size: 0.62em; }
.mxt__gauge-value { font-family: var(--mx-font-display); font-size: clamp(2.2rem, 1.8rem + 1.4vw, 3rem); font-weight: 500; line-height: 1; letter-spacing: -0.02em; color: var(--mxp-text); font-variant-numeric: tabular-nums; }
.mxt__gauge-note { font-size: 0.8125rem; color: var(--mxp-sub); }
.mxt__gauge-track { position: relative; display: block; height: 4px; margin-top: 0.6rem; border-radius: 4px; background: rgba(239, 245, 237, 0.1); overflow: hidden; }
.mxt__gauge-track i { position: absolute; inset: 0 auto 0 0; width: calc(var(--mxt-p, 1) * 100%); border-radius: inherit; background: var(--mx-gradient-loop, linear-gradient(90deg, #F4AF35, #C9C05A, #9DCB5B)); transition: width 0.7s var(--mxi-ease); }
.mxt__impurities { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--mxi-hair-dark); }
.mxt__impurities li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--mxi-hair-dark); font-size: 0.875rem; }
.mxt__imp-name { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--mxp-text); transition: color 0.4s ease; }
.mxt__imp-name::before {
	content: "";
	width: 14px;
	height: 14px;
	border-radius: 50%;
	flex: none;
	background: var(--mxp-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 7.2l2.3 2.3 4.7-5' fill='none' stroke='%23091D0D' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
	transition: background-color 0.4s ease, box-shadow 0.4s ease;
}
.mxt__imp-tag { font-family: var(--mx-font-mono); font-size: 0.72rem; color: var(--mxp-sub); white-space: nowrap; }
.mxt__rail { display: none; }

@media (min-width: 768px) {
	.mxt__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.mxt__ledger { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: start; }
}

/* ---- Desktop tour (pages.js adds .is-pinned) ------------------------------------------- */
.mx-tour.is-pinned { height: 100svh; min-height: 640px; }
.elementor .e-con.mx-tour.is-pinned { --padding-bottom: 0; }
.mx-tour.is-pinned > .elementor-element.mx-tour__tour { position: absolute; inset: 0; z-index: 1; margin: 0; }
.mx-tour.is-pinned > .elementor-element.mx-tour__tour > .elementor-widget-container,
.mx-tour.is-pinned > .elementor-element.mx-tour__tour .elementor-shortcode { position: absolute; inset: 0; }
.mxt.is-pinned { position: absolute; inset: 0; }
.mxt.is-pinned .mxt__stage { position: absolute; inset: 0; margin: 0; }
.mxt.is-pinned .mxk-plant { width: 100%; height: 100%; }
/* While touring, the panel (left) and ledger (right) sit on a soft veil so passing units never fight the text */
.mxt.is-pinned .mxt__stage::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.6s ease;
	background:
		linear-gradient(90deg, rgba(9, 29, 13, 0.94) 0%, rgba(9, 29, 13, 0.88) 30%, rgba(9, 29, 13, 0) 46%),
		linear-gradient(270deg, rgba(9, 29, 13, 0.8) 0%, rgba(9, 29, 13, 0) 24%),
		linear-gradient(0deg, rgba(9, 29, 13, 0.85) 0%, rgba(9, 29, 13, 0) 18%);
}
.mxt.is-pinned.is-touring .mxt__stage::after { opacity: 1; }

.mxt.is-pinned [id^="unit-"] { transition: opacity 0.6s ease; }
.mxt.is-pinned.is-touring [id^="unit-"]:not(.is-live) { opacity: 0.22; }
.mxt.is-pinned.is-touring [id^="pipe-"]:not(.is-live) { opacity: 0.35; }
.mxt.is-pinned [id^="pipe-"] { transition: opacity 0.6s ease; }

.mxt.is-pinned .mxt__panel,
.mxt.is-pinned .mxt__ledger,
.mxt.is-pinned .mxt__rail { position: absolute; z-index: 2; opacity: 0; visibility: hidden; }
.mxt.is-pinned .mxt__panel {
	left: max(var(--mx-gutter), calc((100% - var(--mx-container)) / 2));
	top: calc(var(--mx-brand-h, 84px) + 2.5rem);
	bottom: 6.5rem;
	width: min(27rem, 32vw);
	margin: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.mxt.is-pinned .mxt__count { display: flex; align-items: baseline; gap: 0.5rem; margin: 0 0 1.25rem; font-family: var(--mx-font-mono); color: var(--mxp-sub); }
.mxt.is-pinned .mxt__now { font-family: var(--mx-font-display); font-size: 3.25rem; line-height: 1; color: var(--mxp-gold); font-variant-numeric: tabular-nums; }
.mxt.is-pinned .mxt__steps { display: grid; grid-template-columns: minmax(0, 1fr); }
.mxt.is-pinned .mxt__step {
	grid-area: 1 / 1;
	align-content: start;
	padding: 0;
	border: 0;
	background: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(14px);
	transition: opacity 0.45s ease, transform 0.6s var(--mxi-ease), visibility 0s linear 0.45s;
}
.mxt.is-pinned .mxt__step.is-current { opacity: 1; visibility: visible; transform: none; transition: opacity 0.5s ease 0.1s, transform 0.7s var(--mxi-ease) 0.1s, visibility 0s; }
.mxt.is-pinned .mxt__unit,
.mxt.is-pinned .mxt__n { display: none; }
.mxt.is-pinned .mxt__title { font-size: clamp(1.9rem, 1.2rem + 1.4vw, 2.6rem); }

.mxt.is-pinned .mxt__ledger {
	right: max(var(--mx-gutter), calc((100% - var(--mx-container)) / 2));
	top: calc(var(--mx-brand-h, 84px) + 2.5rem);
	width: 16.5rem;
	margin: 0;
	grid-template-columns: minmax(0, 1fr);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.mxt.is-pinned .mxt__impurities li.is-pending .mxt__imp-name { color: var(--mxp-sub); }
.mxt.is-pinned .mxt__impurities li.is-pending .mxt__imp-name::before { background-color: transparent; background-image: none; box-shadow: inset 0 0 0 1px rgba(239, 245, 237, 0.35); }

.mxt.is-pinned .mxt__rail {
	left: max(var(--mx-gutter), calc((100% - var(--mx-container)) / 2));
	right: max(var(--mx-gutter), calc((100% - var(--mx-container)) / 2));
	bottom: 2rem;
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	border-top: 1px solid var(--mxi-hair-dark);
}
.mxt__rail button {
	position: relative;
	display: grid;
	gap: 0.3rem;
	padding: 0.85rem 0.75rem 0 0;
	border: 0;
	background: none;
	font: 500 0.78rem/1.3 var(--mx-font-body);
	text-align: left;
	color: var(--mxp-sub);
	cursor: pointer;
	transition: color 0.3s ease;
}
.mxt__rail button span { font-family: var(--mx-font-mono); font-size: 0.72rem; color: rgba(170, 182, 172, 0.7); }
.mxt__rail button::before { content: ""; position: absolute; left: 0; right: 0.75rem; top: -1px; height: 2px; background: var(--mxp-gold); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--mxi-ease); }
.mxt__rail button:hover,
.mxt__rail button.is-current { color: var(--mxp-text); }
.mxt__rail button.is-current span { color: var(--mxp-gold); }
.mxt__rail button.is-current::before,
.mxt__rail button.is-done::before { transform: scaleX(1); }
.mxt__rail button.is-done::before { background: rgba(244, 175, 53, 0.35); }
.mxt__rail button:focus-visible { outline: 2px solid var(--mxp-gold); outline-offset: 4px; border-radius: 4px; }

/* =========================================================================================
 * Streams — [masader_streams]: every stream, where it is separated, what it becomes
 * ========================================================================================= */
.mxs { display: grid; border-top: 1px solid var(--mxi-hair-light); font-size: 0.95rem; }
.mxs__head,
.mxs__row { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.8fr) minmax(0, 1.4fr); gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--mxi-hair-light); }
.mxs__head { padding: 0.7rem 0; font-size: 0.75rem; font-weight: 500; color: var(--mxl-sub); }
.mxs__stream { display: inline-flex; align-items: center; gap: 0.75rem; font-weight: 600; color: var(--mxl-ink); }
.mxs__stream i { position: relative; flex: none; width: 34px; height: 2px; border-radius: 2px; background: var(--mxs-c, #F4AF35); }
.mxs__stream i::after { content: ""; position: absolute; right: -3px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: inherit; }
.mxs__row--fame { --mxs-c: #F4AF35; }
.mxs__row--gly { --mxs-c: #8A5A1E; }
.mxs__row--meoh { --mxs-c: #839085; }
.mxs__row--meoh .mxs__stream i { background: repeating-linear-gradient(90deg, #839085 0 6px, transparent 6px 11px); }
.mxs__row--soap { --mxs-c: #D9921A; }
.mxs__row--res { --mxs-c: #18402A; }
.mxs__unit { font-family: var(--mx-font-mono); font-size: 0.8125rem; color: var(--mxl-body); }
.mxs__out { display: grid; gap: 0.15rem; }
.mxs__out strong { font-weight: 600; color: var(--mxl-ink); }
.mxs__out small { font-size: 0.8125rem; line-height: 1.45; color: var(--mxl-body); }
@media (max-width: 640px) {
	.mxs__head { display: none; }
	.mxs__row { grid-template-columns: minmax(0, 1fr) auto; row-gap: 0.4rem; }
	.mxs__out { grid-column: 1 / -1; padding-left: calc(34px + 0.75rem); }
}

/* =========================================================================================
 * Pillars — three columns with a key figure each (QHSE, values …)
 *   mx-pillars › mx-pillar (mx-pillar__k · mx-pillar__title · mx-pillar__text)
 * ========================================================================================= */
.elementor .e-con.mx-pillars { --display: grid; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-top: 1px solid var(--mxi-hair-dark); }
.elementor .mx-light .e-con.mx-pillars,
.elementor .mx-paper .e-con.mx-pillars { border-top-color: var(--mxi-hair-light); }
.elementor .e-con.mx-pillar { --gap: 0.7rem; --row-gap: 0.7rem; padding: 1.6rem 0 !important; border-bottom: 1px solid var(--mxi-hair-dark); }
.elementor .mx-light .e-con.mx-pillar,
.elementor .mx-paper .e-con.mx-pillar { border-bottom-color: var(--mxi-hair-light); }
.elementor .elementor-element.mx-pillar__k .elementor-heading-title { font-family: var(--mx-font-mono); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.02em; color: var(--mxp-gold); }
.elementor .mx-light .elementor-element.mx-pillar__k .elementor-heading-title,
.elementor .mx-paper .elementor-element.mx-pillar__k .elementor-heading-title { color: var(--mx-gold-600); }
.elementor .elementor-element.mx-pillar__title .elementor-heading-title { font-family: var(--mx-font-display); font-size: clamp(1.45rem, 1.2rem + 0.8vw, 1.85rem); font-weight: 600; line-height: 1.12; letter-spacing: -0.015em; }
.elementor .elementor-element.mx-pillar__text { font-size: 0.975rem; line-height: 1.65; }
.elementor .mx-dark .elementor-element.mx-pillar__text { color: var(--mxp-sub); }
@media (min-width: 900px) {
	.elementor .e-con.mx-pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 0; }
	.elementor .e-con.mx-pillar { padding: 1.8rem 2rem 0.4rem 0 !important; border-bottom: 0; }
	.elementor .e-con.mx-pillar + .e-con.mx-pillar { padding-left: 2rem !important; border-left: 1px solid var(--mxi-hair-dark); }
	.elementor .mx-light .e-con.mx-pillar + .e-con.mx-pillar,
	.elementor .mx-paper .e-con.mx-pillar + .e-con.mx-pillar { border-left-color: var(--mxi-hair-light); }
}

/* Two columns: intro left, tool right */
.elementor .e-con.mx-duo { --display: grid; display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 1025px) {
	.elementor .e-con.mx-duo { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); column-gap: clamp(3rem, 2rem + 3vw, 6rem); }
	.elementor .mx-duo > .e-con.mx-intro { position: sticky; top: calc(var(--mx-brand-h, 84px) + 2rem); }
}

/* =========================================================================================
 * Products — showroom hero (.mx-showroom + [masader_product_explorer])
 *   The shortcode's wrappers are display: contents so tabs and stage join the section's grid:
 *   intro (top left) · tabs (bottom left) · stage (right, full height).
 * ========================================================================================= */
.elementor .e-con.mx-showroom {
	--display: grid;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	--padding-top: calc(var(--mx-brand-h, 84px) + clamp(2.5rem, 1.5rem + 4vw, 4.5rem));
	--padding-bottom: clamp(3rem, 2rem + 3vw, 4.5rem);
	--gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
	--row-gap: clamp(1.5rem, 1rem + 2vw, 2.5rem);
	background:
		radial-gradient(45% 60% at 72% 45%, rgba(244, 175, 53, 0.09) 0%, transparent 70%),
		radial-gradient(55% 60% at 85% 10%, rgba(24, 64, 42, 0.85) 0%, transparent 70%),
		var(--mxp-bg);
}
.elementor .e-con.mx-showroom__intro { --gap: 1.25rem; --row-gap: 1.25rem; position: relative; z-index: 1; }
.elementor .mx-showroom .elementor-element.mx-lead { max-width: 46ch; color: var(--mxp-sub); }
.mx-showroom > .elementor-element.mx-showroom__explorer,
.mx-showroom > .elementor-element.mx-showroom__explorer > .elementor-widget-container,
.mx-showroom > .elementor-element.mx-showroom__explorer .elementor-shortcode,
.mx-showroom .mxe { display: contents; }

.mxe__tabs { display: flex; gap: 0.5rem; overflow-x: auto; margin: 0 calc(-1 * var(--mx-gutter)); padding: 0 var(--mx-gutter) 0.25rem; scrollbar-width: none; }
.mxe__tabs::-webkit-scrollbar { display: none; }
.mxe__tabs [role="tab"] {
	flex: none;
	display: grid;
	gap: 0.2rem;
	padding: 0.75rem 1rem;
	border: 1px solid var(--mxi-hair-dark);
	border-radius: 12px;
	background: rgba(239, 245, 237, 0.03);
	font: inherit;
	text-align: left;
	color: var(--mxp-sub);
	cursor: pointer;
	transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}
.mxe__tab-name { font-size: 0.9375rem; font-weight: 600; line-height: 1.25; color: inherit; }
.mxe__tab-key { font-family: var(--mx-font-mono); font-size: 0.75rem; color: var(--mxp-sub); }
.mxe__tabs [role="tab"]:hover { color: var(--mxp-text); border-color: rgba(239, 245, 237, 0.25); }
.mxe__tabs [role="tab"][aria-selected="true"] { color: var(--mxp-text); border-color: rgba(244, 175, 53, 0.55); background: rgba(244, 175, 53, 0.07); }
.mxe__tabs [role="tab"][aria-selected="true"] .mxe__tab-key { color: var(--mxp-gold); }
.mxe__tabs [role="tab"]:focus-visible { outline: 2px solid var(--mxp-gold); outline-offset: 3px; }

.mxe__stage { position: relative; display: grid; }
.mxe__halo {
	position: absolute;
	left: 50%;
	top: 34%;
	width: min(34rem, 90%);
	aspect-ratio: 1;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	background:
		radial-gradient(circle, rgba(244, 175, 53, 0.14) 0%, transparent 62%),
		repeating-radial-gradient(circle, transparent 0 46px, rgba(239, 245, 237, 0.045) 46px 47px);
	-webkit-mask-image: radial-gradient(circle, #000 35%, transparent 70%);
	mask-image: radial-gradient(circle, #000 35%, transparent 70%);
	pointer-events: none;
}
/* Without JS every product is listed in turn; tools.js shows one at a time (.is-live). */
.mxe__panel { display: grid; gap: 1.5rem; align-items: center; position: relative; }
.mxe__panel + .mxe__panel { margin-top: 3rem; }
.mxe.is-live .mxe__panel { margin-top: 0; }
.mxe.is-live .mxe__panel:not(.is-current) { display: none; }
.mxe:not(.is-live) .mxe__tabs { display: none; }
.mxe__art { display: grid; place-items: center; margin: 0; height: clamp(15rem, 10rem + 22vw, 30rem); }
.mxe__art img { display: block; width: auto; max-width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 40px 50px rgba(0, 0, 0, 0.45)); }
.mxe__art--pipe-cutaway-biodiesel img { width: 100%; height: auto; max-height: 100%; }
.mxe__sheet { display: grid; gap: 0.9rem; align-content: start; }
.mxe__tag { margin: 0; font-family: var(--mx-font-mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--mxp-gold); }
.mxe__name { margin: 0; font-family: var(--mx-font-display); font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.6rem); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; color: var(--mxp-text); text-wrap: balance; }
.mxe__text { margin: 0; max-width: 46ch; font-size: 0.975rem; line-height: 1.65; color: var(--mxp-sub); }
.mxe__specs { display: grid; margin: 0.25rem 0 0; border-top: 1px solid var(--mxi-hair-dark); }
.mxe__specs > div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid var(--mxi-hair-dark); }
.mxe__specs dt { font-size: 0.875rem; color: var(--mxp-sub); }
.mxe__specs dd { margin: 0; font-family: var(--mx-font-mono); font-size: 0.875rem; font-weight: 500; text-align: right; color: var(--mxp-text); }
.mxe__cta {
	justify-self: start;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-top: 0.4rem;
	padding: 14px 22px;
	border-radius: var(--mx-radius-sm);
	background: var(--mx-gold);
	font-size: 15px;
	font-weight: 600;
	color: var(--mx-ink);
	text-decoration: none;
	box-shadow: 0 10px 28px -10px rgba(244, 175, 53, 0.55);
	transition: transform 0.3s var(--mxi-ease), background-color 0.3s ease;
}
.mxe__cta:hover { transform: translateY(-2px); background: #F7BF55; color: var(--mx-ink); }

@media (min-width: 768px) {
	.mxe__panel { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
}
@media (min-width: 1025px) {
	.elementor .e-con.mx-showroom { grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr); grid-template-rows: auto 1fr; column-gap: clamp(2.5rem, 1rem + 4vw, 5rem); min-height: min(100svh, 940px); }
	.mx-showroom .e-con.mx-showroom__intro { grid-column: 1; grid-row: 1; }
	.mxe__tabs { grid-column: 1; grid-row: 2; align-self: end; flex-direction: column; gap: 0; overflow: visible; margin: 0; padding: 0; border-top: 1px solid var(--mxi-hair-dark); }
	.mxe__tabs [role="tab"] { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 1rem; padding: 0.95rem 0.25rem 0.95rem 1rem; border: 0; border-bottom: 1px solid var(--mxi-hair-dark); border-radius: 0; background: none; position: relative; }
	.mxe__tabs [role="tab"]::before { content: ""; position: absolute; left: 0; top: 0.7rem; bottom: 0.7rem; width: 2px; border-radius: 2px; background: var(--mxp-gold); transform: scaleY(0); transition: transform 0.4s var(--mxi-ease); }
	.mxe__tabs [role="tab"][aria-selected="true"] { background: linear-gradient(90deg, rgba(244, 175, 53, 0.08), transparent 70%); }
	.mxe__tabs [role="tab"][aria-selected="true"]::before { transform: scaleY(1); }
	.mxe__stage { grid-column: 2; grid-row: 1 / 3; align-self: center; }
	.mxe__art { height: clamp(22rem, 12rem + 20vw, 34rem); }
}

/* =========================================================================================
 * Products — EN 14214 headroom ([masader_headroom])
 * ========================================================================================= */
.mxh { display: grid; gap: 1.25rem; }
.mxh__gauge { margin: 0; padding: 1.5rem; border-radius: 18px; background: var(--mx-paper); box-shadow: 0 0 0 1px var(--mxi-hair-light); }
.mxh__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.25rem 1rem; margin-bottom: 2.6rem; }
.mxh__value { white-space: nowrap; }
.mxh__label { font-size: 0.9375rem; font-weight: 600; color: var(--mxl-ink); }
.mxh__value { font-family: var(--mx-font-display); font-size: clamp(2rem, 1.6rem + 1.4vw, 2.8rem); font-weight: 500; line-height: 1; letter-spacing: -0.02em; color: var(--mxl-ink); font-variant-numeric: tabular-nums; }
.mxh__scale { position: relative; height: 12px; border-radius: 12px; background: var(--mx-mist-200, #DFE9DB); }
.mxh__fail { position: absolute; top: 0; bottom: 0; border-radius: inherit; background: repeating-linear-gradient(135deg, rgba(131, 144, 133, 0.35) 0 4px, transparent 4px 8px); }
.mxh__gauge--min .mxh__fail { left: 0; width: var(--limit); }
.mxh__gauge--max .mxh__fail { left: var(--limit); right: 0; }
.mxh__band { position: absolute; top: 0; bottom: 0; border-radius: inherit; background: linear-gradient(90deg, #F4AF35, #C9C05A, #9DCB5B); transform: scaleX(var(--mxh-k, 1)); }
.mxh__gauge--min .mxh__band { left: var(--ours); right: 0; transform-origin: right center; }
.mxh__gauge--max .mxh__band { left: 0; width: var(--ours); transform-origin: left center; }
.mxh__limit { position: absolute; left: var(--limit); top: -10px; bottom: -10px; width: 2px; margin-left: -1px; background: var(--mxl-ink); }
.mxh__limit em { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); font-family: var(--mx-font-mono); font-size: 0.72rem; font-style: normal; white-space: nowrap; color: var(--mxl-body); }
.mxh__gauge--max .mxh__limit em { left: auto; right: 6px; transform: none; }
.mxh__gauge--min .mxh__limit em { left: 6px; transform: none; }
.mxh__ours { position: absolute; left: var(--ours); top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border: 3px solid var(--mx-paper); border-radius: 50%; background: var(--mx-gold-600); box-shadow: 0 0 0 1px rgba(9, 29, 13, 0.2); }
/* Our figure is a fixed reading, not a control: a marker line with its label, never a slider knob. */
.mxh__scale { cursor: default; -webkit-user-select: none; user-select: none; }
.mxh__ours { top: -8px; bottom: -8px; width: 3px; height: auto; margin: 0 0 0 -1.5px; border: 0; border-radius: 2px; background: var(--mx-gold-600, #D9921A); box-shadow: none; pointer-events: none; }
.mxh__ours em { position: absolute; top: calc(100% + 5px); font-family: var(--mx-font-mono); font-size: 0.72rem; font-style: normal; font-weight: 600; white-space: nowrap; color: var(--mx-gold-600, #D9921A); }
.mxh__gauge--min .mxh__ours em { right: 7px; }
.mxh__gauge--max .mxh__ours em { left: 7px; }
.mxh__ticks { display: flex; justify-content: space-between; margin-top: 0.5rem; font-family: var(--mx-font-mono); font-size: 0.72rem; color: var(--mxl-sub); }
.mxh__verdict { margin: 0.9rem 0 0; font-size: 0.9375rem; font-weight: 600; color: var(--mx-leaf-600, #7FAF3E); }
.mxh__checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--mxi-hair-light); }
.mxh__checks > div { padding: 1rem 1rem 0 0; }
.mxh__checks > div + div { padding-left: 1rem; border-left: 1px solid var(--mxi-hair-light); }
.mxh__checks dt { margin-bottom: 0.4rem; font-size: 0.8125rem; color: var(--mxl-body); }
.mxh__checks dd { display: grid; gap: 0.15rem; margin: 0; }
.mxh__checks strong { font-family: var(--mx-font-mono); font-size: 0.95rem; font-weight: 500; color: var(--mxl-ink); }
.mxh__checks small { font-size: 0.75rem; color: var(--mxl-sub); }
@media (min-width: 640px) { .mxh { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mxh__checks { grid-column: 1 / -1; } }
@media (max-width: 480px) { .mxh__checks { grid-template-columns: minmax(0, 1fr); } .mxh__checks > div + div { padding-left: 0; border-left: 0; } }

/* =========================================================================================
 * Products — quote builder ([masader_quote])
 * ========================================================================================= */
.mxqb { display: grid; gap: 1.25rem; }
.mxqb__fields { display: grid; gap: 1.5rem; padding: clamp(1.25rem, 1rem + 1vw, 2rem); border-radius: 18px; background: var(--mxl-bg); box-shadow: 0 0 0 1px var(--mxi-hair-light); }
.mxqb__field { display: grid; gap: 0.55rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.mxqb__field > span,
.mxqb__field > label,
.mxqb__field legend { padding: 0; font-size: 0.8125rem; font-weight: 600; color: var(--mxl-ink); }
.mxqb select,
.mxqb__qty input {
	width: 100%;
	padding: 0.85rem 1rem;
	border: 1px solid rgba(9, 29, 13, 0.18);
	border-radius: 10px;
	background: #fff;
	font: 500 1rem/1.3 var(--mx-font-body);
	color: var(--mxl-ink);
}
.mxqb select:focus-visible,
.mxqb__qty input:focus-visible { outline: 2px solid var(--mx-gold-600); outline-offset: 1px; }
.mxqb__qty { display: flex; align-items: center; gap: 0.75rem; }
.mxqb__qty input { max-width: 9rem; font-family: var(--mx-font-mono); }
.mxqb__qty span { font-size: 0.875rem; color: var(--mxl-body); }
.mxqb__range { width: 100%; accent-color: var(--mx-gold-600); }
.mxqb__hint { margin: 0; font-size: 0.75rem; color: var(--mxl-sub); }
.mxqb__terms { display: grid; gap: 0.5rem; }
.mxqb__terms label { position: relative; display: block; cursor: pointer; }
.mxqb__terms input { position: absolute; opacity: 0; }
.mxqb__terms label > span { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 0.75rem; align-items: baseline; padding: 0.8rem 1rem; border: 1px solid rgba(9, 29, 13, 0.14); border-radius: 10px; background: #fff; transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.mxqb__terms strong { font-family: var(--mx-font-mono); font-size: 0.875rem; color: var(--mxl-ink); }
.mxqb__terms small { font-size: 0.8125rem; line-height: 1.45; color: var(--mxl-body); }
.mxqb__terms input:checked + span { border-color: var(--mx-gold-600); box-shadow: 0 0 0 1px var(--mx-gold-600); }
.mxqb__terms input:focus-visible + span { outline: 2px solid var(--mx-gold-600); outline-offset: 2px; }
.mxqb__summary { display: grid; gap: 0.6rem; align-content: start; padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); border-radius: 18px; background: var(--mx-ink); color: var(--mxp-text); }
.mxqb__summary p { margin: 0; }
.mxqb__eyebrow { font-size: 0.75rem; font-weight: 500; color: var(--mxp-sub); }
.mxqb__line { font-family: var(--mx-font-display); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-weight: 600; line-height: 1.12; letter-spacing: -0.015em; }
.mxqb__s-qty { color: var(--mxp-gold); font-variant-numeric: tabular-nums; }
.mxqb__term { font-family: var(--mx-font-mono); font-size: 0.875rem; color: var(--mxp-sub); }
.mxqb__incl { display: grid; gap: 0.45rem; margin: 0.6rem 0 0.4rem; padding: 0.9rem 0 0; list-style: none; border-top: 1px solid var(--mxi-hair-dark); font-size: 0.875rem; color: var(--mxp-sub); }
.mxqb__incl li { display: flex; gap: 0.6rem; }
.mxqb__incl li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 0.5em; border-radius: 50%; background: var(--mx-leaf); }
.mxqb__submit {
	justify-self: start;
	margin-top: 0.4rem;
	padding: 15px 24px;
	border: 0;
	border-radius: var(--mx-radius-sm);
	background: var(--mx-gold);
	font: 600 15px/1.2 var(--mx-font-body);
	color: var(--mx-ink);
	cursor: pointer;
	box-shadow: 0 10px 28px -10px rgba(244, 175, 53, 0.55);
	transition: transform 0.3s var(--mxi-ease), background-color 0.3s ease;
}
.mxqb__submit:hover { transform: translateY(-2px); background: #F7BF55; }
.mxqb__submit:focus-visible { outline: 2px solid var(--mx-gold); outline-offset: 3px; }
@media (min-width: 768px) { .mxqb { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: start; } .mxqb__summary { position: sticky; top: calc(var(--mx-brand-h, 84px) + 2rem); } }

/* Page headlines outside the classic hero (tour, showroom, …) share the hero title's type */
.elementor .mx-inner .elementor-element.mx-ihero__title .elementor-heading-title {
	max-width: 15ch;
	font-family: var(--mx-font-display);
	font-size: clamp(2.6rem, 1.5rem + 4vw, 5rem);
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.025em;
	color: var(--mxp-text);
	text-wrap: balance;
}

/* Intro laid out as a row: title block left, lead right (sections whose tool spans full width) */
.elementor .e-con.mx-intro.mx-intro--row { --display: grid; display: grid; grid-template-columns: minmax(0, 1fr); align-items: end; }
@media (min-width: 1025px) {
	.elementor .e-con.mx-intro.mx-intro--row { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); column-gap: clamp(3rem, 2rem + 3vw, 6rem); }
	.elementor .mx-intro--row > .elementor-element.mx-lead { padding-bottom: 0.4rem; }
}

/* =========================================================================================
 * Sustainability — hero with the mass balance (.mx-scales + [masader_mass_balance])
 * ========================================================================================= */
.elementor .e-con.mx-scales {
	--display: grid;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
	--padding-top: calc(var(--mx-brand-h, 84px) + clamp(2.5rem, 1.5rem + 4vw, 4.5rem));
	--padding-bottom: clamp(3rem, 2rem + 3vw, 4.5rem);
	background:
		radial-gradient(50% 60% at 75% 45%, rgba(157, 203, 91, 0.1) 0%, transparent 70%),
		radial-gradient(55% 60% at 90% 0%, rgba(24, 64, 42, 0.85) 0%, transparent 70%),
		var(--mxp-bg);
}
.elementor .e-con.mx-scales__intro { --gap: 1.25rem; --row-gap: 1.25rem; }
.elementor .mx-scales .elementor-element.mx-lead,
.elementor .mx-atlas .elementor-element.mx-lead { max-width: 50ch; color: var(--mxp-sub); }
@media (min-width: 1025px) {
	.elementor .e-con.mx-scales { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); column-gap: clamp(2rem, 1rem + 3vw, 4.5rem); min-height: min(100svh, 900px); }
}
.mxb { margin: 0; }
.mxb__svg { display: block; width: 100%; height: auto; overflow: visible; }
.mxb__beam { transform-box: view-box; transform-origin: 320px 150px; }
.mxb__pan { transform-box: fill-box; }
.mxb__ring { transform-box: view-box; transform-origin: 320px 150px; animation: mxi-spin 120s linear infinite; }
.mxb__legend { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 1rem; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--mxi-hair-dark); }
.mxb__side { display: grid; gap: 0.3rem; font-family: var(--mx-font-mono); font-size: 0.75rem; line-height: 1.5; color: var(--mxp-sub); }
.mxb__side strong { font-family: var(--mx-font-body); font-size: 0.9375rem; font-weight: 600; color: var(--mxp-text); }
.mxb__side--out { text-align: right; }
.mxb__eq { font-family: var(--mx-font-display); font-size: 2rem; line-height: 1; color: var(--mxp-gold); }

/* Chain of custody ([masader_chain]) */
.mxc { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.mxc__step { position: relative; display: grid; gap: 0.5rem; align-content: start; padding: 0 0 1.75rem 3.25rem; }
.mxc__step::before { content: ""; position: absolute; left: 1rem; top: 2.2rem; bottom: 0; width: 1px; background: var(--mxi-hair-light); }
.mxc__step::after { content: ""; position: absolute; left: 1rem; top: 2.2rem; bottom: 0; width: 1px; background: var(--mx-gold-600); transform: scaleY(var(--mxc-k, 1)); transform-origin: top; }
.mxc__step:last-child::before,
.mxc__step:last-child::after { display: none; }
.mxc__n { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid var(--mx-gold-600); border-radius: 50%; background: var(--mxl-bg); font-family: var(--mx-font-mono); font-size: 0.75rem; color: var(--mxl-ink); }
.mxc__title { margin: 0.2rem 0 0; font-family: var(--mx-font-display); font-size: 1.45rem; font-weight: 600; line-height: 1.15; color: var(--mxl-ink); }
.mxc__text { margin: 0; max-width: 36ch; font-size: 0.9375rem; line-height: 1.6; color: var(--mxl-body); }
.mxc__doc { justify-self: start; margin: 0.25rem 0 0; padding: 0.3rem 0.65rem; border-radius: 999px; background: var(--mx-leaf-200, #D6EABA); font-family: var(--mx-font-mono); font-size: 0.72rem; color: var(--mxl-ink); }
@media (min-width: 1025px) {
	.mxc { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem; }
	.mxc__step { padding: 3.25rem 0 0; }
	.mxc__step::before,
	.mxc__step::after { left: 2.6rem; right: -1.5rem; top: 1rem; bottom: auto; width: auto; height: 1px; }
	.mxc__step::after { transform: scaleX(var(--mxc-k, 1)); transform-origin: left; }
}

/* Certificate card ([masader_certificate]) */
.mxcert { position: relative; display: grid; gap: 0.5rem; padding: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px var(--mxi-hair-light), 0 40px 80px -50px rgba(9, 29, 13, 0.45); overflow: hidden; }
.mxcert::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(217, 146, 26, 0.35); border-radius: 3px; pointer-events: none; }
.mxcert p { margin: 0; }
.mxcert__seal { position: absolute; right: clamp(1.25rem, 1rem + 1vw, 2rem); top: clamp(1.25rem, 1rem + 1vw, 2rem); width: 96px; height: 96px; display: grid; place-items: center; color: var(--mx-gold-600); }
.mxcert__seal svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mxcert__seal span { font-family: var(--mx-font-mono); font-size: 0.75rem; font-weight: 600; line-height: 1.15; text-align: center; color: var(--mxl-ink); }
.mxcert__kicker { font-family: var(--mx-font-mono); font-size: 0.75rem; color: var(--mx-gold-600); }
.mxcert__title { max-width: 16ch; font-family: var(--mx-font-display); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-weight: 600; line-height: 1.1; color: var(--mxl-ink); }
.mxcert__sub { font-size: 0.875rem; color: var(--mxl-body); }
.mxcert__rows { display: grid; margin: 1rem 0 0.5rem; border-top: 1px solid var(--mxi-hair-light); }
.mxcert__rows > div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; padding: 0.7rem 0; border-bottom: 1px solid var(--mxi-hair-light); }
.mxcert__rows dt { font-size: 0.8125rem; color: var(--mxl-body); }
.mxcert__rows dd { margin: 0; font-family: var(--mx-font-mono); font-size: 0.875rem; color: var(--mxl-ink); }
.mxcert__cta { justify-self: start; margin-top: 0.75rem; padding: 14px 22px; border-radius: var(--mx-radius-sm); background: var(--mx-ink); font-size: 15px; font-weight: 600; color: var(--mx-mist); text-decoration: none; transition: background-color 0.3s ease; }
.mxcert__cta:hover { background: var(--mx-ink-800); color: #fff; }
@media (max-width: 480px) { .mxcert__seal { position: static; width: 72px; height: 72px; margin-bottom: 0.5rem; } .mxcert__rows > div { grid-template-columns: minmax(0, 1fr); gap: 0.2rem; } }

/* =========================================================================================
 * Markets — hero map (.mx-atlas + [masader_route_map])
 * ========================================================================================= */
.elementor .e-con.mx-atlas {
	--display: grid;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	--padding-top: calc(var(--mx-brand-h, 84px) + clamp(2.5rem, 1.5rem + 4vw, 4.5rem));
	--padding-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
	background: var(--mxp-bg);
}
.elementor .e-con.mx-atlas__intro { --gap: 1.25rem; --row-gap: 1.25rem; position: relative; z-index: 1; grid-row: 1; }
.mx-atlas > .elementor-element.mx-atlas__map { grid-row: 2; margin: 0 calc(-1 * var(--mx-gutter)); }
.mxm { position: relative; margin: 0; }
.mxm__svg { display: block; width: 100%; height: auto; }
.mxm__grat { fill: none; stroke: rgba(239, 245, 237, 0.05); stroke-width: 1; }
.mxm__land { opacity: 0.95; }
.mxm__border { fill: none; stroke: rgba(239, 245, 237, 0.08); stroke-width: 0.6; }
.mxm__lane { fill: none; stroke: var(--mx-gold); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1 1; stroke-dashoffset: var(--mxm-off, 0); }
.mxm__lane--africa { stroke: var(--mx-leaf); }
/* ISCC EU / ISCC PLUS marked in the Sustainability copy (tools.js). */
.mx-iscc { color: #B87A0E; font-weight: 700; white-space: nowrap; border-radius: 4px; box-shadow: inset 0 -0.42em 0 rgba(244, 175, 53, 0.22); transition: box-shadow 0.25s ease, color 0.25s ease; }
.mx-iscc:hover { box-shadow: inset 0 -1.2em 0 rgba(244, 175, 53, 0.32); color: #8A5A06; }
:is(.mx-dark, .mxt, .mxcert) .mx-iscc { color: var(--mxp-gold, #F4AF35); box-shadow: inset 0 -0.42em 0 rgba(244, 175, 53, 0.18); }
:is(.mx-dark) .mx-iscc:hover { color: #FFD27A; box-shadow: inset 0 -1.2em 0 rgba(244, 175, 53, 0.25); }/* Egypt lit as the origin of every lane (pages.js pulses it with the lanes). */
.mxm__egypt { fill: var(--mx-gold); fill-opacity: 0.3; stroke: var(--mx-gold); stroke-width: 1.4; stroke-opacity: 0.85; stroke-linejoin: round; filter: drop-shadow(0 0 10px rgba(244, 175, 53, 0.55)); }
.mxm__lane--meu { stroke: #C9C05A; }
.mxm__halo { fill: rgba(244, 175, 53, 0.16); transform-box: fill-box; transform-origin: center; animation: mxm-pulse 2.8s ease-out infinite; }
.mxm__dot { fill: var(--mx-gold); stroke: var(--mx-ink); stroke-width: 2; }
.mxm__node--africa .mxm__dot { fill: var(--mx-leaf); }
.mxm__node--africa .mxm__halo { fill: rgba(157, 203, 91, 0.18); }
.mxm__node--plant .mxm__halo { display: none; }
@keyframes mxm-pulse { from { transform: scale(0.6); opacity: 1; } to { transform: scale(2.2); opacity: 0; } }
.mxm__label { position: absolute; left: var(--x); top: var(--y); display: grid; gap: 0.15rem; margin: 0; padding: 0.55rem 0.75rem; border: 1px solid var(--mxi-hair-dark); border-radius: 10px; background: rgba(9, 29, 13, 0.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); white-space: nowrap; transform: translate(14px, -50%); }
.mxm__label strong { font-size: 0.875rem; font-weight: 600; color: var(--mxp-text); }
.mxm__label span { font-family: var(--mx-font-mono); font-size: 0.7rem; color: var(--mxp-sub); }
.mxm__label--port { transform: translate(18px, -10%); }
.mxm__label--europe { transform: translate(14px, -80%); }
@media (max-width: 767px) {
	.mxm__label span { display: none; }
	.mxm__label { padding: 0.35rem 0.55rem; }
	.mxm__label--port { transform: translate(-50%, 30%); }
}
@media (min-width: 1025px) {
	.elementor .e-con.mx-atlas { grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr); align-items: center; column-gap: 0; --padding-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
	.elementor .e-con.mx-atlas__intro { grid-row: 1; grid-column: 1; max-width: 30rem; }
	.mx-atlas > .elementor-element.mx-atlas__map { grid-row: 1; grid-column: 2; margin: 0 calc(-1 * var(--mx-pad-x)) 0 -4rem; }
	.mx-atlas .mxm__svg { --fade: radial-gradient(closest-side at 56% 50%, #000 62%, transparent 100%); -webkit-mask-image: var(--fade); mask-image: var(--fade); }
	.elementor .mx-atlas .elementor-element.mx-ihero__title .elementor-heading-title { font-size: clamp(2.6rem, 1.5rem + 3vw, 4.2rem); max-width: 12ch; }
}
/* Incoterms explorer ([masader_incoterms]) */
.mxi { display: grid; gap: 1.25rem; padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); border-radius: 18px; background: var(--mx-paper); box-shadow: 0 0 0 1px var(--mxi-hair-light); }
.mxi__switch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; }
.mxi__switch button { display: grid; gap: 0.15rem; padding: 0.75rem 0.9rem; border: 1px solid rgba(9, 29, 13, 0.14); border-radius: 10px; background: #fff; font: inherit; text-align: left; cursor: pointer; transition: border-color 0.25s ease, box-shadow 0.25s ease; }
.mxi__switch strong { font-family: var(--mx-font-mono); font-size: 1rem; color: var(--mxl-ink); }
.mxi__switch small { font-size: 0.75rem; color: var(--mxl-body); }
.mxi__switch [aria-checked="true"] { border-color: var(--mx-gold-600); box-shadow: 0 0 0 1px var(--mx-gold-600); }
.mxi__switch button:focus-visible { outline: 2px solid var(--mx-gold-600); outline-offset: 2px; }
.mxi__track { position: relative; padding: 2.4rem 0 0; }
.mxi__line { position: absolute; left: 0.5rem; right: 0.5rem; top: 2.95rem; height: 6px; border-radius: 6px; background: var(--mx-mist-200, #DFE9DB); overflow: hidden; }
.mxi__line i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--cost) / var(--n) * 100%); min-width: 6px; border-radius: inherit; background: linear-gradient(90deg, #F4AF35, #D9921A); transition: width 0.7s var(--mxi-ease); }
.mxi__risk { position: absolute; top: 0; left: calc(0.5rem + (100% - 1rem) * var(--risk) / var(--n)); width: 2px; height: 3.8rem; margin-left: -1px; background: var(--mxl-ink); transition: left 0.7s var(--mxi-ease); }
.mxi__risk em { position: absolute; top: -0.2rem; left: 0.4rem; padding: 0.15rem 0.45rem; border-radius: 4px; background: var(--mxl-ink); font-family: var(--mx-font-mono); font-size: 0.68rem; font-style: normal; white-space: nowrap; color: var(--mx-mist); }
.mxi__stops { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.mxi__stops li { display: grid; justify-items: center; gap: 0.6rem; font-size: 0.75rem; line-height: 1.3; text-align: center; color: var(--mxl-body); }
.mxi__stops li:first-child { justify-items: start; text-align: left; }
.mxi__stops li:last-child { justify-items: end; text-align: right; }
.mxi__dot { position: relative; z-index: 1; width: 14px; height: 14px; border: 2px solid var(--mx-paper); border-radius: 50%; background: var(--mxl-sub); box-shadow: 0 0 0 1px rgba(9, 29, 13, 0.2); transition: background-color 0.4s ease; }
.mxi__stops li.is-ours .mxi__dot { background: var(--mx-gold-600); }
/* COA: issued at the plant gate whatever the term — a green ring on the first stop and a label under it. */
.mxi__stops li:first-child .mxi__dot { box-shadow: 0 0 0 1px rgba(9, 29, 13, 0.2), 0 0 0 5px rgba(98, 166, 63, 0.28); }
.mxi__coa { display: flex; align-items: flex-start; gap: 0.6rem; max-width: 30rem; margin: 1rem 0 0; padding: 0.6rem 0.85rem; border-radius: 10px; background: rgba(98, 166, 63, 0.1); box-shadow: inset 0 0 0 1px rgba(98, 166, 63, 0.45); font-size: 0.8125rem; line-height: 1.5; color: var(--mxl-body); }
.mxi__coa strong { color: #2F6B1C; font-weight: 700; }
.mxi__coa-mark { flex: none; width: 10px; height: 10px; margin-top: 0.35rem; border-radius: 50%; background: #62A63F; box-shadow: 0 0 0 4px rgba(98, 166, 63, 0.2); }
.mxi__legend { display: flex; flex-wrap: wrap; gap: 1.25rem; font-size: 0.75rem; color: var(--mxl-body); }
.mxi__key { display: inline-flex; align-items: center; gap: 0.5rem; }
.mxi__key::before { content: ""; width: 18px; height: 6px; border-radius: 6px; }
.mxi__key--ours::before { background: var(--mx-gold-600); }
.mxi__key--yours::before { background: var(--mx-mist-200, #DFE9DB); }
.mxi__desc { display: none; margin: 0; padding: 1rem 1.1rem; border-radius: 10px; background: var(--mxl-bg); font-size: 0.9375rem; line-height: 1.6; color: var(--mxl-body); }
.mxi__desc strong { font-family: var(--mx-font-mono); color: var(--mxl-ink); }
.mxi__desc.is-current { display: block; }
.mxi__docs { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; padding: 0; list-style: none; }
.mxi__docs li { padding: 0.35rem 0.7rem; border: 1px solid var(--mxi-hair-light); border-radius: 999px; font-size: 0.75rem; color: var(--mxl-ink); }
@media (max-width: 560px) {
	.mxi__stops li { font-size: 0.65rem; hyphens: auto; }
	.mxi__switch button { padding: 0.65rem 0.7rem; }
}

/* =========================================================================================
 * Shared hero shell for the tool heroes (story, crew, doors)
 * ========================================================================================= */
.elementor .e-con.mx-story,
.elementor .e-con.mx-crew,
.elementor .e-con.mx-doors {
	--display: grid;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
	--padding-top: calc(var(--mx-brand-h, 84px) + clamp(2.5rem, 1.5rem + 4vw, 4.5rem));
	--padding-bottom: clamp(3rem, 2rem + 3vw, 4.5rem);
	--gap: clamp(2rem, 1.5rem + 2vw, 3rem);
	--row-gap: clamp(2rem, 1.5rem + 2vw, 3rem);
	background:
		radial-gradient(55% 60% at 85% 10%, rgba(24, 64, 42, 0.85) 0%, transparent 70%),
		radial-gradient(45% 55% at 0% 100%, rgba(16, 48, 26, 0.9) 0%, transparent 70%),
		var(--mxp-bg);
}
.elementor .e-con.mx-story__intro,
.elementor .e-con.mx-crew__intro,
.elementor .e-con.mx-doors__intro { --gap: 1.25rem; --row-gap: 1.25rem; }
.elementor .mx-story .elementor-element.mx-lead,
.elementor .mx-crew .elementor-element.mx-lead,
.elementor .mx-doors .elementor-element.mx-lead { max-width: 54ch; color: var(--mxp-sub); }

/* About — milestones ([masader_milestones]) */
.mxl { display: grid; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--mxi-hair-dark); }
.mxl__step { position: relative; display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 0.2rem 1.25rem; padding: 1rem 0 1rem 1.6rem; border-bottom: 1px solid var(--mxi-hair-dark); }
.mxl__step::before { content: ""; position: absolute; left: 0; top: 1.35rem; width: 9px; height: 9px; border: 1.5px solid var(--mxp-gold); border-radius: 50%; background: var(--mxp-bg); }
.mxl__step--now::before { background: var(--mxp-gold); box-shadow: 0 0 0 5px rgba(244, 175, 53, 0.18); }
.mxl__k { grid-row: span 2; font-family: var(--mx-font-mono); font-size: 0.875rem; color: var(--mxp-gold); }
.mxl__title { font-family: var(--mx-font-display); font-size: 1.35rem; font-weight: 600; line-height: 1.15; color: var(--mxp-text); }
.mxl__text { font-size: 0.875rem; line-height: 1.5; color: var(--mxp-sub); }
.mxl__step--now .mxl__title { font-size: 1.75rem; }
@media (min-width: 1025px) {
	.elementor .e-con.mx-story { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); column-gap: clamp(3rem, 2rem + 4vw, 7rem); min-height: min(100svh, 900px); }
}

/* About — experience bar ([masader_experience]) */
.mxx { display: grid; gap: 0.9rem; margin: 0.75rem 0 0; }
.mxx__total { display: flex; align-items: baseline; gap: 0.75rem; margin: 0; }
.mxx__num { font-family: var(--mx-font-display); font-size: clamp(3.4rem, 2.5rem + 3vw, 5rem); font-weight: 500; line-height: 0.9; letter-spacing: -0.03em; color: var(--mxl-ink); font-variant-numeric: tabular-nums; }
.mxx__total small { max-width: 12ch; font-size: 0.875rem; line-height: 1.3; color: var(--mxl-body); }
.mxx__bar { display: flex; gap: 3px; height: 34px; }
.mxx__seg { position: relative; flex: 0 0 calc(var(--w) - 3px); border-radius: 4px; transform-origin: left; display: grid; place-items: center; }
.mxx__seg em { font-family: var(--mx-font-mono); font-size: 0.72rem; font-style: normal; color: var(--mx-ink); }
.mxx__seg--1, .mxx__who--1::before { background: #F4AF35; }
.mxx__seg--2, .mxx__who--2::before { background: #C9C05A; }
.mxx__seg--3, .mxx__who--3::before { background: #9DCB5B; }
.mxx__seg--4, .mxx__who--4::before { background: #D6EABA; }
.mxx__key { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; font-size: 0.75rem; color: var(--mxl-body); }
.mxx__who { display: inline-flex; align-items: center; gap: 0.4rem; }
.mxx__who::before { content: ""; width: 10px; height: 10px; border-radius: 2px; }
.elementor .mx-duo .e-con.mx-people { --gap: 0; }

/* About — CARBON across the plant ([masader_carbon_plant]) */
.mxp { margin: 0; }
.mxp__art { position: relative; margin: 0 calc(-1 * var(--mx-gutter)); }
.mxp__art img { display: block; width: 100%; height: auto; }
.mxp__pin { position: absolute; left: var(--x); top: var(--y); display: grid; place-items: center; width: 30px; height: 30px; margin: -15px 0 0 -15px; border: 1px solid rgba(244, 175, 53, 0.6); border-radius: 50%; background: rgba(9, 29, 13, 0.85); font-family: var(--mx-font-mono); font-size: 0.7rem; color: var(--mxp-gold); transform: translateY(clamp(2rem, 1rem + 3vw, 4.5rem)); }
.mxp__units { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 1.5rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--mxi-hair-dark); }
.mxp__units li { display: flex; gap: 0.6rem; padding: 0.75rem 0.75rem 0.75rem 0; border-bottom: 1px solid var(--mxi-hair-dark); font-size: 0.875rem; line-height: 1.35; color: var(--mxp-text); }
.mxp__units span { font-family: var(--mx-font-mono); font-size: 0.75rem; color: var(--mxp-gold); }
.mxp__extra { color: var(--mxp-sub) !important; }
@media (min-width: 1025px) { .mxp__units { grid-template-columns: repeat(8, minmax(0, 1fr)); border-bottom: 0; } .mxp__units li { flex-direction: column; gap: 0.3rem; border-bottom: 0; } }
@media (max-width: 767px) { .mxp__pin { width: 22px; height: 22px; margin: -11px 0 0 -11px; font-size: 0.6rem; } }

/* About — vision & mission, lit word by word (.mx-manifesto) */
.elementor .e-con.mx-manifesto { --gap: clamp(2.5rem, 2rem + 3vw, 4.5rem); --row-gap: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.elementor .e-con.mx-manifesto__item { --gap: 1rem; --row-gap: 1rem; max-width: 62rem; }
.elementor .mx-manifesto .elementor-element.mx-manifesto__label .elementor-heading-title { font-family: var(--mx-font-mono); font-size: 0.8125rem; color: var(--mxp-gold); }
.elementor .mx-manifesto .elementor-element.mx-manifesto__text .elementor-heading-title { font-family: var(--mx-font-display); font-size: clamp(1.8rem, 1.2rem + 2.2vw, 3.2rem); font-weight: 500; line-height: 1.18; letter-spacing: -0.015em; color: var(--mxp-text); }
.mx-manifesto .mxw-word { opacity: var(--o, 1); transition: opacity 0.2s linear; }

/* Careers — functions on the plant ([masader_teams]) */
.mxw { display: grid; gap: 1.5rem; }
.mxw__art { position: relative; margin: 0 calc(-1 * var(--mx-gutter)); }
.mxw__art img { display: block; width: 100%; height: auto; }
.mxw__spot { position: absolute; left: var(--x); top: var(--y); width: 14%; aspect-ratio: 2.1; margin-left: -7%; border-radius: 50%; transform: translateY(-38%) scale(0.6); background: radial-gradient(closest-side, rgba(244, 175, 53, 0.45), rgba(244, 175, 53, 0.08) 70%, transparent); box-shadow: inset 0 0 0 1px rgba(244, 175, 53, 0.6); opacity: 0; transition: opacity 0.4s ease, transform 0.6s var(--mxi-ease); pointer-events: none; mix-blend-mode: screen; }
.mxw__spot.is-on { opacity: 1; transform: translateY(-38%) scale(1); }
.mxw__teams { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--mxi-hair-dark); }
.mxw__teams button { display: grid; gap: 0.25rem; width: 100%; padding: 0.85rem 0 0.85rem 1rem; border: 0; border-bottom: 1px solid var(--mxi-hair-dark); background: none; font: inherit; text-align: left; color: var(--mxp-sub); cursor: pointer; position: relative; transition: color 0.3s ease, background-color 0.3s ease; }
.mxw__teams button::before { content: ""; position: absolute; left: 0; top: 0.8rem; bottom: 0.8rem; width: 2px; background: var(--mxp-gold); transform: scaleY(0); transition: transform 0.4s var(--mxi-ease); }
.mxw__teams strong { font-size: 1rem; font-weight: 600; color: var(--mxp-text); }
.mxw__teams span { display: none; font-size: 0.875rem; line-height: 1.5; }
.mxw__teams [aria-pressed="true"] { background: linear-gradient(90deg, rgba(244, 175, 53, 0.08), transparent 70%); }
.mxw__teams [aria-pressed="true"]::before { transform: scaleY(1); }
.mxw__teams [aria-pressed="true"] span { display: block; }
.mxw__teams button:focus-visible { outline: 2px solid var(--mxp-gold); outline-offset: 2px; }
@media (min-width: 1025px) {
	.elementor .e-con.mx-crew { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); column-gap: clamp(2rem, 1rem + 3vw, 4rem); min-height: min(100svh, 900px); }
	.mxw { grid-template-columns: minmax(0, 1fr); }
	.mxw__art { margin: 0 calc(-1 * var(--mx-gutter)) 0 -2rem; }
}

/* Contact — four doors ([masader_audience]) */
.mxa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
.mxa__door { display: grid; align-content: start; gap: 0.45rem; min-height: 9.5rem; padding: 1.1rem; border: 1px solid var(--mxi-hair-dark); border-radius: 14px; background: rgba(239, 245, 237, 0.03); color: var(--mxp-text); text-decoration: none; transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.4s var(--mxi-ease); }
.mxa__door:hover,
.mxa__door.is-current { border-color: rgba(244, 175, 53, 0.6); background: rgba(244, 175, 53, 0.07); transform: translateY(-3px); color: var(--mxp-text); }
.mxa__door:focus-visible { outline: 2px solid var(--mxp-gold); outline-offset: 3px; }
.mxa__n { font-family: var(--mx-font-mono); font-size: 0.72rem; color: var(--mxp-gold); }
.mxa__door strong { font-family: var(--mx-font-display); font-size: 1.35rem; font-weight: 600; line-height: 1.15; }
.mxa__text { font-size: 0.8125rem; line-height: 1.5; color: var(--mxp-sub); }
@media (min-width: 1025px) {
	.elementor .e-con.mx-doors { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); column-gap: clamp(2.5rem, 1rem + 4vw, 5rem); }
	.mxa__door { min-height: 11rem; padding: 1.4rem; }
}

/* Contact form: fields for the chosen audience only (tools.js adds .is-audience-live) */
.is-audience-live .mx-cond { display: none; }
.is-audience-live .mx-cond.is-shown { display: block; }
.mx-cond--note { padding: 0.9rem 1rem; border-radius: 10px; background: var(--mx-leaf-200, #D6EABA); font-size: 0.9375rem; color: var(--mxl-ink); }

/* Careers: CV drop zone */
.mx-drop label { position: relative; display: grid !important; justify-items: center; gap: 0.35rem; padding: 2rem 1rem; border: 1.5px dashed rgba(9, 29, 13, 0.25); border-radius: 14px; background: var(--mx-paper); text-align: center; cursor: pointer; transition: border-color 0.25s ease, background-color 0.25s ease; }
.mx-drop.is-over label,
.mx-drop label:hover { border-color: var(--mx-gold-600); background: #FFF9EE; }
.mx-drop.has-file label { border-style: solid; border-color: var(--mx-leaf-600, #7FAF3E); }
.mx-drop__title { font-weight: 600; color: var(--mxl-ink); }
.mx-drop__hint { font-size: 0.8125rem; color: var(--mxl-body); }
.mx-drop .wpcf7-form-control-wrap { width: 100%; }
.mx-drop input[type="file"] { width: 100%; max-width: 22rem; margin: 0.5rem auto 0; font-size: 0.8125rem; }
.mx-drop label,
.mx-drop .mx-drop__title,
.mx-drop .mx-drop__hint { text-transform: none; letter-spacing: normal; font-family: var(--mx-font-body); }
.mx-drop .mx-drop__title { font-size: 1rem; }

/* Contact: the form leads, the details follow */
@media (min-width: 1025px) {
	.elementor .e-con.mx-contact:has(> .e-con.mx-contact__form:first-child) { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); }
}

/* Breadcrumb in the tool heroes (same as the classic hero's) */
.elementor .mx-inner .elementor-element.mx-crumbs .elementor-heading-title { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mx-font-body); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.04em; color: var(--mxp-sub); }
.elementor .mx-inner .elementor-element.mx-crumbs .elementor-heading-title::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--mxp-gold); }
.elementor .mx-inner .mx-crumbs a { color: var(--mxp-text); text-decoration: none; transition: color 0.2s ease; }
.elementor .mx-inner .mx-crumbs a:hover { color: var(--mxp-gold); }
.mxe__art picture { display: block; height: 100%; }
.mxe__art--pipe-cutaway-biodiesel picture { display: flex; align-items: center; }
/* Flex, not grid: the picture's 100% height must resolve against the art box's fixed height */
.mxe__art { display: flex; justify-content: center; align-items: flex-end; }
.mxe__art--pipe-cutaway-biodiesel { align-items: center; }
.mxm__svg { --fade: radial-gradient(closest-side at 54% 50%, #000 62%, transparent 100%); -webkit-mask-image: var(--fade); mask-image: var(--fade); }
/* Products from the home page's photo set: never upscaled past their own size */
.mxe__art .mx-pic--photo { height: auto; }
.mxe__art .mx-pic--photo img { width: auto; height: auto; max-height: 100%; max-width: 100%; }
.mxe__art--home-beaker .mx-pic--photo img,
.mxe__art--home-beaker2 .mx-pic--photo img { max-height: 70%; }
.mxe__art .mx-pic--photo { height: 100%; display: flex; align-items: flex-end; justify-content: center; }
.mxe__art .mx-pic--photo img { max-height: 100%; object-fit: contain; }
.mxe__art--home-beaker .mx-pic--photo,
.mxe__art--home-beaker2 .mx-pic--photo { height: 62%; }
.mxe__art--home-beaker .mx-pic--photo img,
.mxe__art--home-beaker2 .mx-pic--photo img { max-height: 100%; }

/* Products as on the home page: the hexagon backdrop, the product photo standing on its base */
.mxe__art { position: relative; align-items: flex-end; }
.mxe__art .mx-pic--photo.mxe__hex { position: absolute; inset: 0; height: 100%; align-items: center; z-index: 0; opacity: 0.95; }
.mxe__art .mx-pic--photo.mxe__hex img { height: 100%; max-height: 100%; width: auto; }
.mxe__art .mx-pic--photo:not(.mxe__hex) { position: relative; z-index: 1; height: 80%; margin-bottom: 7%; }
/* "cylinder" is now the golden-oil beaker (same shape as the glycerine beakers) */
.mxe__art--home-cylinder .mx-pic--photo:not(.mxe__hex),
.mxe__art--home-beaker .mx-pic--photo:not(.mxe__hex),
.mxe__art--home-beaker2 .mx-pic--photo:not(.mxe__hex) { height: 48%; margin-bottom: 8%; }
.mxe__art img { filter: none; }
.mxe__art .mx-pic--photo:not(.mxe__hex) img { filter: drop-shadow(0 30px 30px rgba(0, 0, 0, 0.45)); }
.mxe__halo { display: none; }

/* =========================================================================================
 * About — vision & mission side by side in one plain, ruled rectangle (.mx-manifesto__frame)
 * ========================================================================================= */
.elementor .e-con.mx-manifesto__frame {
	--display: grid;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
	padding: 0 !important;
	border: 1px solid rgba(239, 245, 237, 0.18);
	border-radius: 4px;
	background: #0B2310;
}
.elementor .mx-manifesto__frame > .e-con.mx-manifesto__item {
	--gap: 1.5rem;
	--row-gap: 1.5rem;
	max-width: none;
	padding: clamp(2rem, 1.25rem + 2.5vw, 3.75rem) !important;
}
.elementor .mx-manifesto__frame .elementor-element.mx-manifesto__label .elementor-heading-title {
	font-family: var(--mx-font-body);
	font-size: 0.9375rem;
	font-weight: 600;
	letter-spacing: 0;
	color: var(--mxp-gold);
}
.elementor .mx-manifesto__frame .elementor-element.mx-manifesto__label .elementor-heading-title::after {
	content: "";
	display: block;
	width: 32px;
	height: 1px;
	margin-top: 0.9rem;
	background: currentColor;
}
.elementor .mx-manifesto__frame .elementor-element.mx-manifesto__text .elementor-heading-title {
	font-family: var(--mx-font-display);
	font-size: clamp(1.4rem, 1.05rem + 1.1vw, 2rem);
	font-weight: 400;
	line-height: 1.35;
	letter-spacing: -0.01em;
	color: var(--mxp-text);
	text-wrap: pretty;
}
@media (min-width: 900px) {
	.elementor .e-con.mx-manifesto__frame { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.elementor .mx-manifesto__frame > .mx-manifesto__item--mission { border-left: 1px solid rgba(239, 245, 237, 0.18); }
}
@media (max-width: 899px) {
	.elementor .mx-manifesto__frame > .mx-manifesto__item--mission { border-top: 1px solid rgba(239, 245, 237, 0.18); }
}
/* About — the opening paragraph set justified */
.elementor .mx-story .elementor-element.mx-lead,
.elementor .mx-story .elementor-element.mx-lead p { text-align: justify; text-justify: inter-word; hyphens: auto; -webkit-hyphens: auto; }

/* Careers — CV by email ([masader_cv_mail]) */
.mxcv { display: grid; gap: 1rem; padding: clamp(1.75rem, 1.25rem + 2vw, 2.75rem); border-radius: 20px; background: var(--mx-ink); color: var(--mxp-text); box-shadow: 0 40px 80px -50px rgba(9, 29, 13, 0.7); position: relative; overflow: hidden; }
.mxcv::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(244, 175, 53, 0.25); box-shadow: 0 0 0 24px rgba(244, 175, 53, 0.04); }
.mxcv p { margin: 0; }
.mxcv__kicker { font-family: var(--mx-font-mono); font-size: 0.75rem; color: var(--mxp-gold); }
.mxcv__mail { font-family: var(--mx-font-display); font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.6rem); font-weight: 500; line-height: 1.1; letter-spacing: -0.015em; color: var(--mxp-text); text-decoration: none; word-break: break-word; background-image: linear-gradient(var(--mxp-gold), var(--mxp-gold)); background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat; justify-self: start; }
.mxcv__mail:hover { color: var(--mxp-gold); }
.mxcv__steps { display: grid; gap: 0.6rem; margin: 0.5rem 0; padding: 1rem 0 0; list-style: none; counter-reset: s; border-top: 1px solid var(--mxi-hair-dark); }
.mxcv__steps li { counter-increment: s; display: flex; gap: 0.75rem; font-size: 0.9375rem; color: var(--mxp-sub); }
.mxcv__steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--mx-font-mono); font-size: 0.75rem; color: var(--mxp-gold); padding-top: 0.15em; }
.mxcv__cta { justify-self: start; padding: 15px 24px; border-radius: var(--mx-radius-sm); background: var(--mx-gold); font-size: 15px; font-weight: 600; color: var(--mx-ink); text-decoration: none; box-shadow: 0 10px 28px -10px rgba(244, 175, 53, 0.55); transition: transform 0.3s var(--mxi-ease), background-color 0.3s ease; }
.mxcv__cta:hover { transform: translateY(-2px); background: #F7BF55; color: var(--mx-ink); }

/* Facilities — a tighter headline block so the plant below always has room */
.elementor .mx-tour .elementor-element.mx-ihero__title .elementor-heading-title { font-size: clamp(2.3rem, 1.4rem + 3vw, 4rem); }
.elementor .mx-tour .elementor-element.mx-lead { max-width: 62ch; font-size: 1rem; line-height: 1.6; }
.elementor .e-con.mx-tour.is-pinned { --padding-top: calc(var(--mx-brand-h, 84px) + 1.5rem); }
.elementor .mx-tour.is-pinned .e-con.mx-tour__intro { --gap: 0.9rem; --row-gap: 0.9rem; }

/* =========================================================================================
 * Justified running text, site-wide: paragraphs only — headings, labels, buttons, tables and
 * the centred "where" band keep their own alignment. Hyphenation keeps narrow columns even.
 * ========================================================================================= */
.elementor .mx-section:not(.mx-where):not(.mx-cta):not(.mx-footer) .elementor-widget-text-editor p,
.mxt__text,
.mxe__text,
.mxc__text,
.mxi__desc,
.mxw__teams span,
.mx-cond--note {
	text-align: justify;
	text-justify: inter-word;
	hyphens: auto;
	-webkit-hyphens: auto;
}
/* Tour performance: no backdrop blur over a moving SVG (it re-blurs every frame) */
.mxt.is-pinned .mxt__ledger { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(9, 29, 13, 0.92); }

/* Tour camera on the GPU (pages.js sets the SVG's size and transform) */
.mxt.is-pinned .mxt__stage { overflow: hidden; }
.mxt.is-pinned .mxk-plant { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; backface-visibility: hidden; }
/* Dimming switches at once: a fading opacity inside the SVG would repaint the whole plant each frame */
.mxt.is-pinned [id^="unit-"],
.mxt.is-pinned [id^="pipe-"] { transition: none; }

/* External reference links (ISCC EU, EN 14214, RED III, CARBON) inside running text on the home
   sections: the same thin gold underline as the inner pages, so they read as links */
.elementor .mx-section .elementor-widget-text-editor a[target="_blank"] {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: var(--mx-gold, #F4AF35);
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
	transition: text-decoration-thickness 0.2s ease, color 0.2s ease;
}
.elementor .mx-section .elementor-widget-text-editor a[target="_blank"]:hover { text-decoration-thickness: 2px; }
