/*
 * FerroMac — WordPress and Elementor adjustments.
 *
 * ferromac.css is the design system, kept byte-identical to the original
 * export so it can be regenerated from source. This file holds only what is
 * needed to reconcile WordPress and Elementor with it.
 *
 * Two rules for editing this file, both learned the hard way:
 *   1. Never restate something ferromac.css already defines — doing so has
 *      repeatedly overridden the design instead of supporting it.
 *   2. Sections are delimited by the banner comments below. Replace whole
 *      sections; never slice this file by string offsets. Doing that silently
 *      deleted the navigation chevrons and the contact typography once.
 */

/* -------------------------------------------------------------------------
 * Forms
 *
 * Styled site-wide rather than per page, so the enquiry form, the job
 * application form and any form added later are identical.
 *
 * The design's form is a set of tall underlined fields on a transparent
 * ground: a small label in full ink, generous space beneath it, then a hairline
 * rule. Elementor ships boxed grey inputs, so almost every property here is a
 * correction rather than an addition.
 * ---------------------------------------------------------------------- */

.elementor-form .elementor-form-fields-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 0 30px;
	margin: 0;
}

/*
 * Field layout.
 *
 * Measured on the live site: the input was starting exactly one label-width
 * to the right of the label, because Elementor lays the group out as a flex
 * ROW and writes that into the page's own CSS at a specificity a stylesheet
 * cannot outrank — the same mechanism that kept the fields white.
 *
 * Forced here so the label sits above its field, as the design has it. The
 * 5px horizontal padding is Elementor's column gutter, which the design does
 * not use and which pushed the underline in from the label.
 */
.elementor-form .elementor-field-group {
	flex-direction: column !important;
	/*
	 * nowrap is the important one. Elementor sets flex-wrap:wrap on the
	 * group; combined with a column direction and a constrained height, the
	 * input wraps into a SECOND COLUMN beside the label instead of sitting
	 * under it. Measured: each input started exactly one label-width to the
	 * right of its label, which is the signature of that wrap.
	 */
	flex-wrap: nowrap !important;
	align-items: stretch !important;
	padding: 0 !important;
	margin-bottom: 0;
	height: auto !important;
}

/* Two fields per row, with the 30px gutter accounted for. */
.elementor-form .elementor-field-group.elementor-col-50 {
	width: calc( 50% - 15px );
}

.elementor-form .elementor-field-group.elementor-col-100 {
	width: 100%;
}

.elementor-form .elementor-field-group > label,
.elementor-form .elementor-field-label {
	font-family: inherit;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.7;
	letter-spacing: 0;
	text-transform: none;
	color: var(--ink);
	margin: 0;
}

.elementor-form .elementor-field-textual {
	width: 100%;
	margin: 10px 0 28px;
	border: 0;
	border-bottom: 1px solid rgba( 255, 255, 255, 0.31 );
	color: var(--ink);
	border-radius: 0;
	padding: 12px 0;
	font-size: 18px;
	min-height: 55px;
	box-shadow: none;
	transition: border-color 0.25s;
}

.elementor-form textarea.elementor-field-textual {
	resize: vertical;
	min-height: 178px;
}

.elementor-form .elementor-field-textual:focus {
	border-bottom-color: var(--ochre);
	outline: none;
	box-shadow: none;
}

.elementor-form .elementor-field-textual::placeholder {
	color: #ffffff45;
}

/*
 * Field background.
 *
 * Elementor's Form widget writes its own style settings into the page's own
 * CSS file, as
 *   .elementor-<page> .elementor-element.elementor-element-<id> .elementor-field...
 * That is five classes deep and page-specific, so no sensible selector here
 * can outrank it — measured on the live site, this is exactly why the fields
 * kept rendering as white boxes no matter how the rule below was written.
 *
 * The real fix is in the widget's own settings, which the importer now sets,
 * so the design is carried by the widget and stays editable in the panel.
 * These declarations are the safety net for any form added by hand later,
 * and are the one place in this file where !important is warranted: the rule
 * being overridden is a widget default, not part of the design.
 */
.elementor-form .elementor-field-group input.elementor-field-textual,
.elementor-form .elementor-field-group textarea.elementor-field-textual,
.elementor-form .elementor-field-group select.elementor-field-textual {
	background-color: transparent !important;
	color: var(--ink) !important;
	border-radius: 0 !important;
	box-shadow: none;
}

.elementor-form .elementor-field-group input.elementor-field-textual:focus,
.elementor-form .elementor-field-group textarea.elementor-field-textual:focus,
.elementor-form .elementor-field-group select.elementor-field-textual:focus {
	background-color: transparent !important;
}

/*
 * Autofill repaints the field white in Chrome regardless of the rule above.
 * A long inset shadow is the only way to override it.
 */
.elementor-form .elementor-field-group input:-webkit-autofill,
.elementor-form .elementor-field-group input:-webkit-autofill:focus {
	-webkit-text-fill-color: var(--ink);
	-webkit-box-shadow: 0 0 0 1000px var(--coal) inset;
	caret-color: var(--ink);
}

/* Select: the native arrow is invisible on a dark transparent ground. */
.elementor-form select.elementor-field-textual {
	appearance: none;
	background-image: linear-gradient( 45deg, transparent 50%, var(--muted) 50% ),
		linear-gradient( 135deg, var(--muted) 50%, transparent 50% );
	background-position: calc( 100% - 16px ) calc( 50% + 2px ), calc( 100% - 10px ) calc( 50% + 2px );
	background-size: 6px 6px, 6px 6px;
	background-repeat: no-repeat;
	padding-right: 32px;
}

.elementor-form select.elementor-field-textual option {
	background: var(--panel);
	color: var(--ink);
}

/* Consent row. */
.elementor-form .elementor-field-type-acceptance .elementor-field-option {
	display: flex;
	align-items: center;
	gap: 15px;
	margin: 0 0 28px;
}

.elementor-form .elementor-field-type-acceptance input[type="checkbox"] {
	appearance: none;
	width: 19px;
	height: 19px;
	flex: 0 0 auto;
	/*
	 * The widget's field border setting is bottom-only, and Elementor applies
	 * it to every field including this checkbox — which rendered it as a bare
	 * underline rather than a box. Restated on all four sides.
	 */
	border: 1px solid rgba( 255, 255, 255, 0.31 ) !important;
	background: #ffffff12;
	border-radius: 0;
	margin: 0;
	cursor: pointer;
	position: relative;
}

.elementor-form .elementor-field-type-acceptance input[type="checkbox"]:checked {
	background-color: var(--ochre) !important;
	border-color: var(--ochre) !important;
}

.elementor-form .elementor-field-type-acceptance input[type="checkbox"]:checked::after {
	content: "";
	position: absolute;
	left: 6px;
	top: 2px;
	width: 5px;
	height: 10px;
	border-right: 2px solid var(--coal);
	border-bottom: 2px solid var(--coal);
	transform: rotate( 45deg );
}

.elementor-form .elementor-field-type-acceptance label {
	font-family: inherit;
	font-size: 13px;
	font-weight: 300;
	line-height: 1.6;
	letter-spacing: 0;
	text-transform: none;
	color: var(--ink);
	margin: 0;
}

.elementor-form .elementor-field-type-acceptance a {
	border-bottom: 1px solid currentColor;
}

/* The note above the submit button. */
.elementor-form .elementor-field-type-html {
	width: 100%;
}

.elementor-form .form-note {
	font-size: 12px;
	line-height: 1.6;
	color: var(--muted);
	margin: 0 0 25px;
	max-width: 490px;
}

/*
 * The submit sits in a full-width field group, so it stretched to 1260px.
 * Both the group and the button need releasing from that.
 */
.elementor-form .elementor-field-type-submit {
	width: 100%;
	align-items: flex-start;
}

.elementor-form .elementor-field-type-submit .elementor-button {
	width: auto;
	flex: 0 0 auto;
}

/* Submit, matching .solid-button. */
.elementor-form .elementor-button[type="submit"] {
	display: inline-flex;
	align-items: center;
	background: var(--ochre);
	color: var(--coal);
	border: 0;
	border-radius: 0;
	min-height: 59px;
	padding: 17px 24px;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0;
	transition: background 0.25s, transform 0.25s;
}

.elementor-form .elementor-button[type="submit"] .elementor-button-content-wrapper {
	display: flex;
	width: 100%;
	justify-content: space-between;
	align-items: center;
	gap: 52px;
}

.elementor-form .elementor-button[type="submit"] .elementor-button-text::after {
	content: " \2197";
}

.elementor-form .elementor-button[type="submit"]:hover {
	background: #e88806;
	transform: translateY( -3px );
}

.elementor-form .elementor-button[type="submit"]:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 3px;
}

/* Messages: Elementor styles these in its own red and green. */
.elementor-message {
	font-family: var(--mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-top: 18px;
}

.elementor-message.elementor-message-success {
	color: var(--ochre);
}

.elementor-message.elementor-message-danger,
.elementor-field-group .elementor-field-required::after {
	color: var(--ochre);
}

.elementor-form .elementor-field-group.elementor-error .elementor-field-textual {
	border-bottom-color: var(--ochre);
}

@media ( max-width: 860px ) {
	.elementor-form .elementor-field-group.elementor-col-50 {
		width: 100%;
	}

	.elementor-form .elementor-form-fields-wrapper {
		gap: 0;
	}
}

/* -------------------------------------------------------------------------
 * Contact page layout
 *
 * Address and form sit side by side on desktop, stacked on mobile.
 * ---------------------------------------------------------------------- */

.e-con.contact-section {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 100px;
	padding: 110px var(--gutter);
	max-width: none;
	align-items: start;
}

/* Address left; eyebrow and form stacked in the right column. */
.e-con.contact-section > .elementor-widget-ferromac-contact-details {
	grid-column: 1;
	grid-row: 1 / span 2;
}

.e-con.contact-section > .elementor-widget-heading {
	grid-column: 2;
	grid-row: 1;
	align-self: end;
}

.e-con.contact-section > .elementor-widget-form {
	grid-column: 2;
	grid-row: 2;
}

.e-con.contact-section {
	grid-template-rows: auto 1fr;
}

@media ( max-width: 860px ) {
	.e-con.contact-section > .elementor-widget-ferromac-contact-details,
	.e-con.contact-section > .elementor-widget-heading,
	.e-con.contact-section > .elementor-widget-form {
		grid-column: 1;
		grid-row: auto;
	}
}

@media ( max-width: 1100px ) {
	.e-con.contact-section {
		grid-template-columns: 1fr 1.2fr;
		gap: 50px;
	}
}

@media ( max-width: 860px ) {
	.e-con.contact-section {
		grid-template-columns: 1fr;
		padding: 70px var(--gutter);
		gap: 70px;
	}
}

/* -------------------------------------------------------------------------
 * Keyboard access
 *
 * ferromac.css already defines :focus-visible. Only the skip link needs
 * handling, because it must stay off-screen until focused.
 * ---------------------------------------------------------------------- */

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 10000;
}

.skip-link:focus {
	left: 12px;
	top: 12px;
	padding: 12px 18px;
	background: var(--ochre);
	color: var(--coal);
	font-weight: 500;
}

/* -------------------------------------------------------------------------
 * Editor-only notices
 * ---------------------------------------------------------------------- */

.ferromac-empty {
	padding: 18px 22px;
	border: 1px dashed var(--line);
	color: var(--muted);
	font-family: var(--mono);
	font-size: 14px;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect( 0, 0, 0, 0 );
	white-space: nowrap;
	border: 0;
}

/* -------------------------------------------------------------------------
 * Link colour
 *
 * Hello Elementor's reset.css sets `a { color: #c36 }` — a pink that shows
 * on every link this design does not explicitly colour, and on hover across
 * the whole site. The design expects links to inherit from their context and
 * to pick up the ochre only where it says so.
 *
 * Handled here rather than by dequeuing reset.css, because that file also
 * carries the box-sizing and margin normalisation the layout depends on.
 * ---------------------------------------------------------------------- */

a {
	color: inherit;
	text-decoration: none;
}

a:hover,
a:focus,
a:active,
a:visited {
	color: inherit;
}

/*
 * Restore the accents the design does specify. These come after the blanket
 * inherit above so they still win.
 */
.nav-group > a:hover,
.nav-dropdown a:hover,
.material-link:hover,
.text-link:hover,
.footer-columns nav a:hover,
.footer-external a:hover,
.quote-link:hover,
.breadcrumbs a:hover,
.section-nav a:hover,
.job-list a:hover h3 {
	color: var(--ochre);
}

.section-nav a[aria-current="page"] {
	color: var(--ochre);
}

/* Body copy links inside imported page content. */
.source-copy a,
.legal-section a {
	color: var(--ochre);
	border-bottom: 1px solid currentColor;
}

.source-copy a:hover,
.legal-section a:hover {
	color: var(--ink);
}

/* -------------------------------------------------------------------------
 * Imported page copy
 *
 * Body text from the original site is placed in an Elementor text-editor
 * widget inside a container tagged .legal-section. Two things then go wrong:
 * Elementor's own .e-con width rules override the design's max-width, so the
 * copy runs the full width of the viewport and clips; and the text widget
 * never receives the .source-copy class, so none of the design's reading
 * typography applies.
 *
 * Both are corrected here rather than in the layout, so existing pages are
 * fixed without re-importing.
 * ---------------------------------------------------------------------- */

.e-con.legal-section {
	max-width: 1050px;
	margin-inline: auto;
	padding: 80px var(--gutter) 120px;
}

.legal-section .elementor-widget-text-editor {
	font-size: 17px;
	line-height: 1.85;
	font-weight: 300;
	color: var(--muted);
	max-width: 850px;
}

.legal-section .elementor-widget-text-editor p {
	margin: 0 0 24px;
}

.legal-section .elementor-widget-text-editor h2,
.legal-section .elementor-widget-text-editor h3,
.legal-section .elementor-widget-text-editor h4 {
	color: var(--ink);
	font-size: 26px;
	line-height: 1.15;
	margin: 45px 0 22px;
	font-weight: 400;
	letter-spacing: -0.02em;
}

.legal-section .elementor-widget-text-editor ul {
	margin: 0 0 24px;
	padding-left: 20px;
	list-style: none;
}

.legal-section .elementor-widget-text-editor li {
	position: relative;
	padding-left: 20px;
	margin-bottom: 10px;
}

.legal-section .elementor-widget-text-editor li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 13px;
	width: 8px;
	height: 1px;
	background: var(--ochre);
}

/* -------------------------------------------------------------------------
 * Elementor container widths
 *
 * The design's sections manage their own gutters. Elementor containers add
 * their own padding and a boxed max-width on top, which double-indents every
 * section and pinches the full-bleed ones.
 * ---------------------------------------------------------------------- */

.e-con.home-film,
.e-con.careers-journey {
	max-width: none;
	padding: 0;
}

.e-con.home-film > .e-con-inner,
.e-con.careers-journey > .e-con-inner {
	max-width: none;
	padding: 0;
}

/* -------------------------------------------------------------------------
 * Button colour
 *
 * ferromac.css sets `button { color: inherit }`, but that is specificity
 * (0,0,1) — almost any other rule beats it, and something in the Hello or
 * Elementor stylesheets sets a colour directly on button elements. The result
 * is the pink that kept reappearing on the product blocks, team cards and
 * menu toggle.
 *
 * Restated here against each component that owns buttons, which raises the
 * specificity enough to win without resorting to !important and without
 * touching Elementor's own buttons.
 * ---------------------------------------------------------------------- */

.site-header button,
.site-footer button,
.mobile-menu button,
.materials-section button,
.people-section button,
.world-section button,
.trade-journey button,
.commitment-section button,
.jobs-section button,
.publications-section button,
.testimonial-section button,
.person-dialog button,
.team-tools button,
.material-slices button {
	color: inherit;
}

/*
 * The pink was not only a colour: these buttons were also picking up a real
 * 0.8px border. ferromac.css sets `button { border: 0 }` at the same weak
 * specificity, so it loses to whatever applies the border.
 *
 * Excluded, because the design gives these a border or padding on purpose:
 *   .team-filters button   — bordered chip, ochre fill when active
 *   .world-regions button  — 22px/15px padding and a hairline divider
 */
.site-header button,
.site-footer button,
.mobile-menu button,
.materials-section button,
.people-section .person-card,
.world-section .globe-play,
.trade-journey button,
.commitment-section button,
.jobs-section button,
.publications-section button,
.testimonial-section button,
.person-dialog .dialog-close,
.material-slices button {
	border: 0;
	background: none;
	padding: 0;
	-webkit-appearance: none;
	appearance: none;
}

/* Restore the padding the design gives these two. */
.material-slices .material-slice {
	padding: 30px;
}

@media ( max-width: 760px ) {
	.material-slices .material-slice {
		padding: 0;
	}
}

/* The design's own accents, restated so they still win. */
.world-regions button[aria-pressed="true"],
.commitment-strip .eyebrow,
.material-index {
	color: var(--ochre);
}

.team-filters button[aria-pressed="true"] {
	background: var(--ochre);
	border-color: var(--ochre);
	color: var(--coal);
}

/* -------------------------------------------------------------------------
 * Application section
 *
 * The job application form is not in the original design — that page had no
 * working form — so it borrows the contact form's treatment and sits in the
 * same reading measure as the rest of the page.
 * ---------------------------------------------------------------------- */

.e-con.application-section {
	max-width: 1050px;
	margin-inline: auto;
	padding: 20px var(--gutter) 100px;
	display: block;
}

/* -------------------------------------------------------------------------
 * Navigation chevrons
 *
 * Originally the character U+2304, whose ink sits low in its em box, so the
 * arrow rendered below the centre line of the menu label beside it. Drawn
 * from two borders instead: the box is what gets centred, so alignment no
 * longer depends on font metrics.
 * ---------------------------------------------------------------------- */

.nav-group summary {
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	padding: 9px 4px;
	list-style: none;
}

.nav-group summary::-webkit-details-marker {
	display: none;
}

.nav-chevron {
	display: block;
	width: 7px;
	height: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	/* A rotated square carries its mass below centre; lift it back. */
	transform: translateY( -2px ) rotate( 45deg );
	transition: transform 0.25s, border-color 0.25s;
}

.nav-group summary:hover .nav-chevron {
	border-color: var(--ochre);
}

.nav-group details[open] .nav-chevron {
	transform: translateY( 1px ) rotate( -135deg );
}

/* -------------------------------------------------------------------------
 * Contact block typography
 *
 * The design gives the contact heading a smaller size than a general h2.
 * Elementor's kit typography overrides the plain `.contact-address h2`
 * selector, so it is restated with the container in the selector.
 * ---------------------------------------------------------------------- */

.e-con.contact-section .contact-address h2 {
	font-size: clamp( 40px, 4vw, 63px );
	line-height: 1.03;
	letter-spacing: -0.045em;
	font-weight: 400;
	margin: 25px 0 40px;
	max-width: 12ch;
}

.e-con.contact-section .contact-address .eyebrow {
	color: var(--muted);
}

.e-con.contact-section .contact-address address {
	font-style: normal;
	color: var(--muted);
	font-weight: 300;
	line-height: 1.8;
}

.e-con.contact-section .contact-address > a {
	display: block;
	margin-top: 20px;
}

.e-con.contact-section .contact-address > a:hover {
	color: var(--ochre);
}

.e-con.contact-section .contact-coordinate {
	margin-top: 65px;
	color: var(--muted);
	font: 11px/1.8 var(--mono);
}

@media ( max-width: 860px ) {
	.e-con.contact-section .contact-address h2 {
		font-size: 45px;
		max-width: 400px;
	}

	.e-con.contact-section .contact-coordinate {
		margin-top: 35px;
	}
}

/* -------------------------------------------------------------------------
 * Consent row and submit width
 *
 * The design has no label above the consent checkbox — the sentence beside
 * the box is the label. Elementor always renders one, which showed as a
 * stray "Consent" heading.
 *
 * The submit is also stretched to the full row by the widget's own CSS.
 * ---------------------------------------------------------------------- */

.elementor-form .elementor-field-type-acceptance > label.elementor-field-label {
	display: none !important;
}

.elementor-form .elementor-field-type-submit {
	flex-direction: row !important;
	justify-content: flex-start !important;
}

.elementor-form .elementor-field-type-submit .elementor-button {
	width: auto !important;
	flex: 0 0 auto !important;
	align-self: flex-start !important;
}

/* -------------------------------------------------------------------------
 * Region buttons under the globe
 *
 * Regression from the button reset added to kill the pink borders: that reset
 * stripped `padding` and `border` from every button in these components,
 * including the region row, which the design gives 22px/15px padding and a
 * hairline divider. Measured against the original: 66px tall, 1px right
 * divider at rgba(255,255,255,.14), paper text with ochre for the active one.
 * ---------------------------------------------------------------------- */

.world-section .world-regions button {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	text-align: left;
	padding: 22px 15px;
	font-size: 14px;
	min-height: 66px;
	/*
	 * Zero all four sides first. These buttons are excluded from the general
	 * button reset (the design gives them padding and a divider), which left
	 * reset.css's `button { border: 1px solid #c36 }` applying to the three
	 * sides the design does not set — measured live as pink top, left and
	 * bottom borders.
	 */
	border: 0;
	border-right: 1px solid rgba( 255, 255, 255, 0.14 );
	background: none;
	color: var(--ink);
}

.world-section .world-regions button:last-child {
	border-right: 0;
}

.world-section .world-regions button[aria-pressed="true"] {
	color: var(--ochre);
}

.world-section .world-regions button:hover {
	color: var(--ochre);
}

@media ( max-width: 760px ) {
	.world-section .world-regions button {
		padding: 15px 12px;
		font-size: 12px;
		min-height: 0;
		border-bottom: 1px solid rgba( 255, 255, 255, 0.14 );
	}

	.world-section .world-regions button:nth-child( even ) {
		border-right: 0;
	}
}

/* -------------------------------------------------------------------------
 * Page hero height
 *
 * Measured before changing: the hero was 594px against a 762px viewport, so
 * it never filled the screen, and the copy sat 80px from the bottom edge
 * which read as crowded against the fold.
 *
 * Full viewport height, with the copy lifted well clear of the bottom. dvh
 * is used as well as vh so mobile browsers do not leave a gap when their
 * address bar collapses.
 * ---------------------------------------------------------------------- */

.page-hero {
	min-height: 100vh;
	min-height: 100dvh;
	padding-bottom: clamp( 110px, 14vh, 190px );
}

/* The typographic variant has no photograph, so it does not need the height. */
.page-hero.type-hero {
	min-height: 62vh;
	padding-bottom: clamp( 70px, 9vh, 120px );
}

.page-hero .hero-picture,
.page-hero .hero-picture img {
	height: 100%;
	object-fit: cover;
}

@media ( max-width: 760px ) {
	.page-hero {
		min-height: 88vh;
		min-height: 88dvh;
		padding-bottom: clamp( 80px, 11vh, 130px );
	}

	.page-hero.type-hero {
		min-height: 58vh;
	}
}

/* -------------------------------------------------------------------------
 * Commitment detail
 *
 * Three alternating photograph/text bands, replacing the flat run of imported
 * text on the commitments pages. Built from the design's own tokens.
 * ---------------------------------------------------------------------- */

.commitment-detail {
	padding: 90px var(--gutter) 40px;
	display: grid;
	gap: 80px;
}

.commitment-detail > .section-heading {
	max-width: 780px;
}

.commitment-area {
	display: grid;
	grid-template-columns: minmax( 0, 0.9fr ) minmax( 0, 1.1fr );
	gap: clamp( 30px, 5vw, 80px );
	align-items: start;
	padding-top: 55px;
	border-top: 1px solid var(--line);
}

.commitment-area--flip > figure {
	order: 2;
}

.commitment-area figure {
	margin: 0;
	overflow: hidden;
}

.commitment-area img {
	width: 100%;
	height: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	filter: grayscale( 0.35 ) brightness( 0.9 );
	transition: filter 0.7s, transform 0.7s;
}

.commitment-area:hover img {
	filter: grayscale( 0 ) brightness( 1 );
	transform: scale( 1.03 );
}

.commitment-area h3 {
	margin: 0 0 20px;
	font-family: var(--fmi-display);
	font-size: clamp( 30px, 3.4vw, 52px );
	line-height: 1;
	letter-spacing: -0.03em;
	font-weight: 500;
}

.commitment-area-intro {
	color: var(--muted);
	font-weight: 300;
	font-size: 16px;
	line-height: 1.7;
	margin: 0 0 32px;
}

.commitment-points {
	margin: 0 0 30px;
	display: grid;
	gap: 22px;
}

.commitment-points dt {
	font: 11px/1.5 var(--mono);
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--ochre);
	margin-bottom: 7px;
}

.commitment-points dd {
	margin: 0;
	color: var(--muted);
	font-weight: 300;
	font-size: 15px;
	line-height: 1.65;
}

@media ( max-width: 900px ) {
	.commitment-detail {
		padding: 60px var(--gutter) 20px;
		gap: 50px;
	}

	.commitment-area {
		grid-template-columns: minmax( 0, 1fr );
		gap: 24px;
		padding-top: 38px;
	}

	.commitment-area--flip > figure {
		order: 0;
	}
}

/* -------------------------------------------------------------------------
 * Composed sections
 *
 * Some sections are built as an Elementor container holding separate widgets
 * rather than one monolithic widget, so each element can be moved, restyled
 * or removed on its own.
 *
 * The cost is that Elementor wraps every widget in two divs, which breaks the
 * design's direct-child selectors:
 *
 *   .mission-section > .eyebrow
 *   .careers-band > img
 *   .editorial-section > div:first-child > .eyebrow
 *
 * Those rules are re-expressed here so they survive the wrappers. Everything
 * the design targets by descendant (.careers-band h2, .editorial-section h2)
 * already works untouched.
 * ---------------------------------------------------------------------- */

/* Elementor's wrappers must not introduce their own box. */
.e-con.mission-section > .elementor-element,
.e-con.editorial-section > .elementor-element,
.e-con.careers-band > .elementor-element,
.e-con.mission-section .elementor-widget-container,
.e-con.editorial-section .elementor-widget-container,
.e-con.careers-band .elementor-widget-container {
	margin: 0;
	padding: 0;
}

/* --- Mission -----------------------------------------------------------
 *
 * Label in the narrow column; heading across the wide one; paragraph and
 * circle link side by side beneath it.
 *
 * Three columns rather than the design's two, because as separate widgets the
 * paragraph and the link cannot share a flex row. With both placed in column
 * 2 the paragraph ran underneath the link — measured overlapping by 82px.
 * -------------------------------------------------------------------- */

.e-con.mission-section {
	display: grid;
	grid-template-columns: 1fr minmax( 0, 3fr ) auto;
	gap: 0 60px;
	background: var(--paper);
	color: var(--coal);
	padding: 140px var(--gutter);
	align-items: start;
}

.e-con.mission-section > .elementor-widget-ferromac-eyebrow {
	grid-column: 1;
	grid-row: 1 / span 2;
	margin-top: 14px;
}

.e-con.mission-section > .elementor-widget-heading {
	grid-column: 2 / span 2;
	grid-row: 1;
}

.e-con.mission-section > .elementor-widget-text-editor {
	grid-column: 2;
	grid-row: 2;
	align-self: end;
	margin-top: 60px;
	max-width: 510px;
	font-size: 19px;
	font-weight: 300;
}

.e-con.mission-section > .elementor-widget-ferromac-arrow-link {
	grid-column: 3;
	grid-row: 2;
	align-self: end;
	margin-top: 60px;
}

@media ( max-width: 900px ) {
	.e-con.mission-section {
		grid-template-columns: minmax( 0, 1fr );
		padding: 80px var(--gutter);
	}

	.e-con.mission-section > .elementor-widget-ferromac-eyebrow,
	.e-con.mission-section > .elementor-widget-heading,
	.e-con.mission-section > .elementor-widget-text-editor,
	.e-con.mission-section > .elementor-widget-ferromac-arrow-link {
		grid-column: 1;
		grid-row: auto;
	}

	.e-con.mission-section > .elementor-widget-text-editor,
	.e-con.mission-section > .elementor-widget-ferromac-arrow-link {
		margin-top: 35px;
		font-size: 16px;
	}
}

/* --- Editorial ---------------------------------------------------------
 *
 * Two columns: label, heading, signature and link stacked on the left; the
 * body copy on the right, spanning the full height.
 *
 * The left items are placed in a single column with tight spacing rather than
 * left to the grid's own rows, which stretched them apart to match the height
 * of the copy beside them.
 * -------------------------------------------------------------------- */

.e-con.editorial-section {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	column-gap: clamp( 40px, 6vw, 100px );
	row-gap: 0;
	align-content: start;
	background: var(--paper);
	color: var(--coal);
	padding: 110px var(--gutter);
}

/* Everything defaults to the left column, stacked in source order. */
.e-con.editorial-section > .elementor-element {
	grid-column: 1;
	align-self: start;
}

/* The copy takes the right column and spans whatever the left column needs. */
.e-con.editorial-section > .elementor-widget-text-editor {
	grid-column: 2;
	grid-row: 1 / span 8;
	align-self: start;
}

/* Tight, deliberate spacing between the left-hand elements. */
.e-con.editorial-section > .elementor-widget-ferromac-eyebrow {
	margin-bottom: 22px;
}

.e-con.editorial-section > .elementor-widget-heading {
	margin-bottom: 0;
}

.e-con.editorial-section .founder-signature {
	margin-top: 26px;
	font: 300 17px/1.6 var(--body);
	color: var(--coal);
}

.e-con.editorial-section > .elementor-widget-ferromac-arrow-link {
	margin-top: 34px;
}

.e-con.editorial-section > .elementor-widget-ferromac-brand-photo {
	margin-top: 40px;
}

@media ( max-width: 900px ) {
	.e-con.editorial-section {
		grid-template-columns: minmax( 0, 1fr );
		padding: 75px var(--gutter);
	}

	.e-con.editorial-section > .elementor-widget-text-editor {
		grid-column: 1;
		grid-row: auto;
		margin-top: 34px;
	}
}

/* --- Careers band: copy over a full-bleed photograph -------------------- */

.e-con.careers-band {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	min-height: 700px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-end;
	padding: 100px var(--gutter);
}

.e-con.careers-band > .elementor-widget-ferromac-backdrop {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.e-con.careers-band .ferromac-backdrop {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.e-con.careers-band::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient( 0deg, #111b23d9, transparent 100% ),
		linear-gradient( 90deg, #111b2390, transparent );
}

.e-con.careers-band .eyebrow {
	margin-bottom: 25px;
	color: var(--ochre);
}

.e-con.careers-band .hero-route {
	margin-top: 35px;
}

@media ( max-width: 900px ) {
	.e-con.mission-section,
	.e-con.editorial-section {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.e-con.editorial-section > .elementor-widget-text-editor {
		grid-column: 1;
		grid-row: auto;
	}

	.e-con.mission-section {
		padding: 80px var(--gutter);
	}

	.e-con.editorial-section {
		padding: 75px var(--gutter);
	}

	.e-con.careers-band {
		min-height: 540px;
		padding: 65px var(--gutter);
	}
}

/* -------------------------------------------------------------------------
 * Heading colour in composed sections
 *
 * Elementor's Heading widget paints itself with the kit's Primary colour,
 * which for this palette is Ink (#151A1D) — the dark background. On the paper
 * sections that happens to look right; on the careers band it rendered "Go
 * further. Together." in near-black on a dark photograph.
 *
 * The design never colours headings directly: each section sets a colour and
 * the heading inherits it. Restoring that inheritance keeps both cases right
 * without touching the kit, which client-built pages also rely on.
 * ---------------------------------------------------------------------- */

/*
 * Selectors deliberately do NOT require .e-con. The editor canvas does not
 * always carry Elementor's container classes at the point these render, which
 * is why the same text appeared dark on the front end and white in the editor.
 * The section class alone is enough to beat the kit's global colour.
 */
/*
 * Kept to two classes on purpose. Elementor's per-element rule is four, so
 * anything heavier here disables the Style tab's colour control — which is
 * what a previous version did.
 */
.mission-section .elementor-heading-title,
.editorial-section .elementor-heading-title,
.careers-band .elementor-heading-title,
.contact-section .elementor-heading-title,
.application-section .elementor-heading-title {
	color: inherit;
}

/*
 * The same applies to body copy. Elementor's Text Editor paints itself with
 * the kit's Text colour, which here is Paper (#EEF0EF) — white. On the dark
 * sections that is right; on the paper-backed editorial and mission sections
 * it rendered white text on a near-white ground, which is what made the first
 * block of FerroMac at a glance unreadable.
 */
.mission-section .elementor-widget-text-editor,
.editorial-section .elementor-widget-text-editor,
.mission-section .elementor-widget-text-editor p,
.editorial-section .elementor-widget-text-editor p,
.mission-section .elementor-widget-text-editor li,
.editorial-section .elementor-widget-text-editor li,
.careers-band .elementor-widget-text-editor,
.careers-band .elementor-widget-text-editor p {
	color: inherit;
}

/* The founders' photograph sits under the signature in the first column. */
.editorial-section > .elementor-widget-ferromac-brand-photo {
	grid-column: 1;
	margin-top: 40px;
}

/* The band sits on a photograph, so its copy is always the light tone. */
.e-con.careers-band {
	color: var(--ink);
}

/* -------------------------------------------------------------------------
 * Team carousel
 *
 * Reuses the design's offset pair layout and adds the stepping controls in
 * the gutter to the left of the large portrait.
 * ---------------------------------------------------------------------- */

.people-carousel__stage {
	position: relative;
	padding-left: 92px;
}

.people-carousel__nav {
	position: absolute;
	left: 0;
	top: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
	align-items: flex-start;
	z-index: 2;
}

.people-carousel__nav button {
	width: 54px;
	height: 54px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--line);
	background: none;
	color: inherit;
	font-size: 19px;
	cursor: pointer;
	transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.people-carousel__nav button:hover {
	background: var(--ochre);
	border-color: var(--ochre);
	color: var(--coal);
}

.people-carousel__count {
	margin: 6px 0 0;
	font: 11px/1.5 var(--mono);
	letter-spacing: 0.12em;
	color: var(--muted);
}

/* Without JavaScript the controls do nothing, so they stay hidden. */
.people-carousel .people-carousel__nav {
	display: none;
}

.people-carousel[data-enhanced="true"] .people-carousel__nav {
	display: flex;
}

@media ( max-width: 760px ) {
	.people-carousel__stage {
		padding-left: 0;
		padding-top: 78px;
	}

	.people-carousel__nav {
		flex-direction: row;
		align-items: center;
		gap: 12px;
	}

	.people-carousel__nav button {
		width: 46px;
		height: 46px;
	}

	.people-carousel__count {
		margin: 0 0 0 6px;
	}
}

/* -------------------------------------------------------------------------
 * No pink, anywhere
 *
 * Hello Elementor's reset.css sets `a { color: #c36 }` and gives buttons a
 * #c36 border. That colour has resurfaced repeatedly — on links, on the globe
 * region row, on team cards, on the carousel controls — because each fix only
 * covered the selectors known to be affected at the time.
 *
 * This block covers every interactive element in every state instead, so the
 * colour cannot appear again through a selector nobody thought of. It is kept
 * last in the file and is deliberately broad; the design's own accents are
 * restated afterwards.
 * ---------------------------------------------------------------------- */

a,
a:link,
a:visited,
a:hover,
a:active,
a:focus,
button,
button:hover,
button:active,
button:focus,
button:focus-visible,
summary,
summary:hover,
[role="button"],
[role="button"]:hover {
	color: inherit;
}

/*
 * Backgrounds are set per component rather than globally.
 *
 * A blanket `button { background: transparent }` guard was tried here and
 * removed: at three classes deep it outranked the carousel's own ochre hover,
 * so the controls kept only their outline. Each of our buttons now declares
 * its own background in every state, which is both safer and easier to read.
 */

/* The design's accents, restated so they still win. */
.nav-group > a:hover,
.nav-dropdown a:hover,
.material-link:hover,
.text-link:hover,
.quote-link:hover,
.footer-columns nav a:hover,
.footer-external a:hover,
.breadcrumbs a:hover,
.section-nav a:hover,
.section-nav a[aria-current="page"],
.job-list a:hover h3,
.world-regions button:hover,
.world-regions button[aria-pressed="true"],
.globe-play:hover,
.commitment-strip .eyebrow,
.material-index,
.impact-commitments-link:hover,
.stories-careers-link:hover,
.wellbeing-link:hover {
	color: var(--ochre);
}

.source-copy a,
.legal-section a,
.responsibility-copy a,
.story-copy a {
	color: var(--ochre);
}

.source-copy a:hover,
.legal-section a:hover,
.responsibility-copy a:hover,
.story-copy a:hover {
	color: var(--ink);
}

/* -------------------------------------------------------------------------
 * Carousel controls, every state
 *
 * Previously only :hover was defined, so the active and focus states fell
 * back to whatever the reset provided.
 * ---------------------------------------------------------------------- */

.people-carousel .people-carousel__nav button {
	border: 1px solid var(--line);
	background-color: transparent;
	color: var(--ink);
}

/*
 * :focus as well as :focus-visible. A mouse click leaves the button focused
 * but not focus-visible, so the pink background surfaced only after clicking —
 * which is exactly what the screenshot showed.
 */
.people-carousel .people-carousel__nav button:hover,
.people-carousel .people-carousel__nav button:focus,
.people-carousel .people-carousel__nav button:focus-visible,
.people-carousel .people-carousel__nav button:active {
	background-color: var(--ochre);
	border-color: var(--ochre);
	color: var(--coal);
}

.people-carousel .people-carousel__nav button:focus-visible {
	outline: 2px solid var(--ochre);
	outline-offset: 3px;
}

/* On the paper-backed sections the controls need the dark tone. */
.mission-section .people-carousel__nav button,
.editorial-section .people-carousel__nav button {
	color: var(--coal);
}

/* -------------------------------------------------------------------------
 * Inline video
 * ---------------------------------------------------------------------- */

.ferromac-video {
	padding: 90px var(--gutter);
}

.ferromac-video .section-heading {
	max-width: 760px;
	margin-bottom: 45px;
}

.ferromac-video figure {
	margin: 0;
}

.ferromac-video video {
	width: 100%;
	height: auto;
	display: block;
	background: var(--coal);
}

.ferromac-video figcaption {
	margin-top: 18px;
	font: 11px/1.6 var(--mono);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

@media ( max-width: 760px ) {
	.ferromac-video {
		padding: 60px var(--gutter);
	}
}

/* -------------------------------------------------------------------------
 * Colour backstop
 *
 * The importer sets each widget's own colour, which is the real fix: Elementor
 * then writes the right value into its per-element rule and the editor and the
 * front end agree.
 *
 * This is only a fallback for widgets added by hand. It is deliberately kept
 * BELOW Elementor's per-element specificity (four classes) so that changing a
 * colour in the Style tab always wins. An earlier version sat at five classes
 * and quietly disabled the control it was meant to support.
 * ---------------------------------------------------------------------- */

.mission-section .elementor-widget-text-editor,
.editorial-section .elementor-widget-text-editor,
.mission-section .elementor-widget-heading .elementor-heading-title,
.editorial-section .elementor-widget-heading .elementor-heading-title {
	color: var(--coal);
}

.careers-band .elementor-widget-text-editor,
.careers-band .elementor-widget-heading .elementor-heading-title {
	color: var(--ink);
}

/* -------------------------------------------------------------------------
 * Ochre buttons: always dark text
 *
 * Written with the link pseudo-classes deliberately. The pink guard above
 * matches `a:link`, `a:visited` and friends at (0,1,1), which outranks a bare
 * `.hero-route` at (0,1,0) — so the guard was quietly forcing light text onto
 * every ochre button. Pairing the element, the class and the pseudo-class
 * reaches (0,2,1) and settles it.
 * ---------------------------------------------------------------------- */

a.hero-route, a.hero-route:link, a.hero-route:visited,
a.hero-route:hover, a.hero-route:focus, a.hero-route:active,
a.solid-button, a.solid-button:link, a.solid-button:visited,
a.solid-button:hover, a.solid-button:focus, a.solid-button:active,
a.header-portal, a.header-portal:link, a.header-portal:visited,
a.header-portal:hover, a.header-portal:focus, a.header-portal:active,
a.menu-portal:hover .menu-portal__icon,
a.menu-portal:focus .menu-portal__icon,
.header-contact span,
.menu-portal__icon,
.team-filters button[aria-pressed="true"],
.people-carousel .people-carousel__nav button:hover,
.people-carousel .people-carousel__nav button:focus,
.people-carousel .people-carousel__nav button:active,
.elementor-form .elementor-button[type="submit"],
.elementor-form .elementor-button[type="submit"]:hover,
.elementor-form .elementor-button[type="submit"]:focus {
	color: var(--coal);
}

/* -------------------------------------------------------------------------
 * Portal button in the main navigation
 *
 * Same square ochre treatment as the Contact arrow beside it, with a padlock
 * rather than an arrow because it leads to the customer portal.
 * ---------------------------------------------------------------------- */

.header-portal {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	flex: 0 0 auto;
	background: var(--ochre);
	transition: background 0.25s;
}

.header-portal:hover {
	background: #e88806;
}

.header-portal svg {
	display: block;
}

.header-tools {
	display: flex;
	align-items: center;
	gap: 14px;
}

/* -------------------------------------------------------------------------
 * Mobile menu
 * ---------------------------------------------------------------------- */

/* Close control: ochre, not the reset's pink. */
.mobile-menu .menu-close {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	min-width: 48px;
	padding: 0;
	border: 0;
	background: var(--ochre);
	color: var(--coal);
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.25s;
}

.mobile-menu .menu-close:hover,
.mobile-menu .menu-close:focus,
.mobile-menu .menu-close:active {
	background: #e88806;
	color: var(--coal);
}

/*
 * Parent items: the native disclosure triangle sat before the label. The
 * chevron now sits at the end of the line and turns when the item opens.
 */
.mobile-menu summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	list-style: none;
}

.mobile-menu summary::-webkit-details-marker,
.mobile-menu summary::marker {
	display: none;
	content: "";
}

.mobile-menu summary .nav-chevron {
	flex: 0 0 auto;
	width: 9px;
	height: 9px;
}

/* The portal link reads as a button, with its icon at the end of the line. */
.mobile-menu .menu-portal {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.mobile-menu .menu-portal__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	flex: 0 0 auto;
	background: var(--ochre);
	color: var(--coal);
	font-size: 20px;
	transition: background 0.25s;
}

.mobile-menu .menu-portal:hover .menu-portal__icon {
	background: #e88806;
}

/* -------------------------------------------------------------------------
 * Header tool buttons
 *
 * The Contact arrow and the portal lock are the same control in two forms, so
 * they share a hover. The hamburger sits beside them and needs its focus and
 * active states declared, or the reset's pink shows through once the menu has
 * been opened and closed — the button keeps focus after the dialog closes.
 * ---------------------------------------------------------------------- */

.header-contact span,
.header-portal {
	transition: background 0.25s, transform 0.25s;
}

.header-contact:hover span,
.header-contact:focus span,
.header-portal:hover,
.header-portal:focus {
	background: #e88806;
	color: var(--coal);
	transform: translateY( -2px );
}

.site-header .menu-toggle,
.site-header .menu-toggle:hover,
.site-header .menu-toggle:focus,
.site-header .menu-toggle:focus-visible,
.site-header .menu-toggle:active {
	background-color: transparent;
	border: 0;
	color: var(--ink);
}

.site-header .menu-toggle:hover,
.site-header .menu-toggle:focus-visible {
	color: var(--ochre);
}

.mobile-menu .menu-close,
.mobile-menu .menu-close:hover,
.mobile-menu .menu-close:focus,
.mobile-menu .menu-close:focus-visible,
.mobile-menu .menu-close:active {
	color: var(--coal);
}

/* -------------------------------------------------------------------------
 * Scrub hero headline
 *
 * ferromac.css sets clamp( 68px, 9.4vw, 150px ), which reaches its 150px
 * ceiling from roughly 1600px upward. Capped at 115px instead.
 *
 * Scoped above 760px on purpose: the design drops to clamp( 57px, 12.3vw,
 * 86px ) below that and 54px below 390px, both already under the new ceiling.
 * An unscoped override would have overridden those too, because this file
 * loads after ferromac.css at equal specificity.
 * ---------------------------------------------------------------------- */

@media ( min-width: 761px ) {
	.cinematic-journey .scroll-scrub__title {
		font-size: clamp( 68px, 9.4vw, 115px );
	}
}

/* -------------------------------------------------------------------------
 * Careers band headline
 *
 * ferromac.css sets clamp( 64px, 8vw, 130px ). Capped at 115px to match the
 * scrub hero. Scoped above 760px, where the design switches to a flat 64px.
 * ---------------------------------------------------------------------- */

@media ( min-width: 761px ) {
	/*
	 * Deliberately low specificity (0,1,1). Elementor writes typography to
	 * `.elementor-<page> .elementor-element.elementor-element-<id> ...` at
	 * four classes, so anything heavier here silently disables the Style tab.
	 * This only needs to outrank ferromac.css's own `.careers-band h2`, which
	 * it does by loading later.
	 */
	.careers-band h2 {
		font-size: clamp( 64px, 8vw, 115px );
	}
}

/* -------------------------------------------------------------------------
 * Carousel portraits
 *
 * 15% smaller than the design's featured pair. The grid is capped rather than
 * the images themselves, so both portraits shrink together and keep their
 * 1.1fr / 1fr ratio and the offset of the second card.
 *
 * Applies only to the carousel: the Our team directory and the design's own
 * featured pair are untouched.
 * ---------------------------------------------------------------------- */

@media ( min-width: 761px ) {
	.people-carousel .people-grid {
		/*
		 * The gap is scaled by the same 15% as the width. Capping the width
		 * alone left the fixed 7vw gutter untouched, so the columns absorbed
		 * the whole reduction and came out 16.7% smaller rather than 15%.
		 * Scaling both keeps it exact at any viewport.
		 */
		max-width: 935px;
		gap: 5.95vw;
	}

	/* The second card's offset scales with the portraits. */
	.people-carousel .person-card:nth-child( 2 ) {
		padding-top: 102px;
	}
}

/* -------------------------------------------------------------------------
 * Colour schemes
 *
 * Two palettes, applied at two levels:
 *
 *   body.ferromac-light   — whole page (set by the page's light flag)
 *   .fmi-scheme-light     — one widget, from its Colour scheme control
 *   .fmi-scheme-dark      — one widget pinned dark, e.g. on the light page
 *
 * The widget-level class sits on Elementor's wrapper, so it inherits to the
 * whole widget and outranks the body class simply by being closer.
 *
 * Why this is more than a token swap: the tokens do double duty (--coal is
 * both the dark ground and the text on ochre buttons), and four surfaces in
 * ferromac.css are hard-coded hex rather than tokens — .world-section,
 * .people-featured, .site-footer and the solid header. Those are what left
 * the globe and people sections dark with dark text on the first light build.
 * ---------------------------------------------------------------------- */

/* ---- Light palette ------------------------------------------------- */

body.ferromac-light,
.fmi-scheme-light {
	--coal: #f4f3ef;
	--panel: #e8e7e1;
	--paper: #ffffff;
	--ink: #151a1d;
	--muted: #5c6568;
	--line: #151a1d24;
	/*
	 * The accent on light pages is the logo colour, by request. Note it is
	 * 2.1:1 against the light panel, below the accessibility threshold for
	 * small text; a darkened tone (#8f5800, 4.8:1) was used before and can be
	 * restored here in one line if that becomes a concern.
	 */
	--ochre: #e88806;
	background-color: var(--coal);
	color: var(--ink);
}

/* Ochre fills stay brand ochre in the light scheme. */
body.ferromac-light a.hero-route,
body.ferromac-light a.solid-button,
body.ferromac-light a.header-portal,
body.ferromac-light .header-contact span,
body.ferromac-light .menu-portal__icon,
body.ferromac-light .menu-close,
body.ferromac-light .team-filters button[aria-pressed="true"],
body.ferromac-light .people-carousel .people-carousel__nav button:hover,
body.ferromac-light .people-carousel .people-carousel__nav button:focus,
body.ferromac-light .people-carousel .people-carousel__nav button:active,
body.ferromac-light .elementor-form .elementor-button[type="submit"],
body.ferromac-light .elementor-form .elementor-field-type-acceptance input[type="checkbox"]:checked,
.fmi-scheme-light a.hero-route,
.fmi-scheme-light a.solid-button,
.fmi-scheme-light .team-filters button[aria-pressed="true"],
.fmi-scheme-light .people-carousel .people-carousel__nav button:hover,
.fmi-scheme-light .people-carousel .people-carousel__nav button:focus,
.fmi-scheme-light .elementor-form .elementor-button[type="submit"],
.fmi-scheme-light .elementor-form .elementor-field-type-acceptance input[type="checkbox"]:checked {
	background-color: #e88806;
	border-color: #e88806;
}

body.ferromac-light a.hero-route:hover,
body.ferromac-light a.solid-button:hover,
body.ferromac-light a.header-portal:hover,
body.ferromac-light .header-contact:hover span,
body.ferromac-light .elementor-form .elementor-button[type="submit"]:hover,
.fmi-scheme-light a.hero-route:hover,
.fmi-scheme-light a.solid-button:hover,
.fmi-scheme-light .elementor-form .elementor-button[type="submit"]:hover {
	background-color: #e88806;
}

/* The film's kicker and the hero route sit on the dark photograph; brand ochre there. */
body.ferromac-light .scroll-scrub .eyebrow,
body.ferromac-light .scroll-scrub__kicker,
body.ferromac-light .careers-band .eyebrow,
.fmi-scheme-light .scroll-scrub__kicker,
.fmi-scheme-light .careers-band .eyebrow {
	color: #e88806;
}

/* ---- Dark palette (restores the design's values inside a pinned widget) */

.fmi-scheme-dark {
	--coal: #151a1d;
	--panel: #20272b;
	--paper: #e8e7e1;
	--ink: #eef0ef;
	--muted: #aab2b6;
	--line: #ffffff24;
	--ochre: #e88806;
	background-color: var(--coal);
	color: var(--ink);
}

/* ---- Hard-coded surfaces, remapped per scheme ------------------------ */

body.ferromac-light .world-section,
.fmi-scheme-light .world-section,
body.ferromac-light .people-featured,
.fmi-scheme-light .people-featured,
body.ferromac-light .site-footer,
.fmi-scheme-light .site-footer {
	background: var(--panel);
	color: var(--ink);
}

/*
 * The design applies a gradient to .site-header and a flat colour to
 * .is-solid, both via the `background` shorthand. Setting only
 * `background-color` here left the gradient in place, so both longhands are
 * declared explicitly in each state.
 */
body.ferromac-light .site-header,
.fmi-scheme-light .site-header {
	background-color: transparent;
	background-image: linear-gradient( #0a101859, transparent );
	color: var(--ink);
}

body.ferromac-light .site-header.is-solid,
.fmi-scheme-light .site-header.is-solid {
	background-color: #f4f3efed;
	background-image: none;
}

.fmi-scheme-dark .world-section {
	background: #111b23;
}

.fmi-scheme-dark .people-featured {
	background: #263138;
}

.fmi-scheme-dark .site-footer {
	background: #0e1316;
}

/* ---- Logo ------------------------------------------------------------- */

/*
 * The source logo is a dark mark with an ochre dot. The design flattens it to
 * white on the dark site with brightness(0) invert(1). On light it is simply
 * shown as drawn.
 */
/* ---- Logo and header on light pages ---------------------------------
 *
 * At the top of a light page the bar is transparent over the hero photograph,
 * so the logo and the navigation must stay light to be readable. Once the bar
 * takes its background on scroll (.is-solid), both flip to the dark mark.
 *
 * This is why "follow the colour scheme" cannot simply mean "dark on light
 * pages": the header is the one place where the scheme changes as you scroll.
 * -------------------------------------------------------------------- */

/* Transparent state: white mark, light navigation. */
body.ferromac-light .site-header:not( .is-solid ) .brand img.fmi-logo--auto,
.fmi-scheme-light .site-header:not( .is-solid ) .brand img.fmi-logo--auto {
	filter: brightness( 0 ) invert( 1 );
}

body.ferromac-light .site-header:not( .is-solid ),
body.ferromac-light .site-header:not( .is-solid ) .desktop-nav a,
body.ferromac-light .site-header:not( .is-solid ) .nav-group > a,
body.ferromac-light .site-header:not( .is-solid ) summary,
.fmi-scheme-light .site-header:not( .is-solid ) .desktop-nav a {
	color: #eef0ef;
}

/* Solid state: the original dark mark, untouched, and dark navigation. */
body.ferromac-light .site-header.is-solid .brand img.fmi-logo--auto,
body.ferromac-light .footer-address img.fmi-logo--auto,
body.ferromac-light .menu-top img,
.fmi-scheme-light .site-header.is-solid .brand img.fmi-logo--auto,
.fmi-scheme-light .footer-address img.fmi-logo--auto {
	filter: none;
}

body.ferromac-light .site-header.is-solid,
body.ferromac-light .site-header.is-solid .desktop-nav a,
body.ferromac-light .site-header.is-solid .nav-group > a,
body.ferromac-light .site-header.is-solid summary,
.fmi-scheme-light .site-header.is-solid .desktop-nav a {
	color: #151a1d;
}

body.ferromac-light .site-header:not( .is-solid ) {
	border-bottom-color: #ffffff1c;
}

body.ferromac-light .site-header.is-solid {
	border-bottom-color: #151a1d1c;
}

.fmi-scheme-dark .brand img.fmi-logo--auto,
.fmi-scheme-dark .footer-address img.fmi-logo--auto {
	filter: brightness( 0 ) invert( 1 );
}

/*
 * Explicit treatments. These win over the design's own
 * `.brand img { filter: brightness(0) invert(1) }` and over the scheme rules
 * above, so a logo uploaded in the right colours is left exactly as supplied.
 */
.site-header .brand img.fmi-logo--original,
.footer-address img.fmi-logo--original,
.menu-top img.fmi-logo--original {
	filter: none;
}

.site-header .brand img.fmi-logo--white,
.footer-address img.fmi-logo--white,
.menu-top img.fmi-logo--white {
	filter: brightness( 0 ) invert( 1 );
}

.site-header .brand img.fmi-logo--dark,
.footer-address img.fmi-logo--dark,
.menu-top img.fmi-logo--dark {
	filter: brightness( 0 );
}

/* ---- Things that must not follow the token swap ----------------------- */

/* Ochre buttons keep dark text in both schemes. */
body.ferromac-light a.hero-route,
body.ferromac-light a.solid-button,
body.ferromac-light a.header-portal,
body.ferromac-light .header-contact span,
body.ferromac-light .menu-portal__icon,
body.ferromac-light .menu-close,
body.ferromac-light .team-filters button[aria-pressed="true"],
body.ferromac-light .people-carousel .people-carousel__nav button:hover,
body.ferromac-light .people-carousel .people-carousel__nav button:focus,
body.ferromac-light .elementor-form .elementor-button[type="submit"],
.fmi-scheme-light a.hero-route,
.fmi-scheme-light a.solid-button,
.fmi-scheme-light .team-filters button[aria-pressed="true"],
.fmi-scheme-light .people-carousel .people-carousel__nav button:hover,
.fmi-scheme-light .people-carousel .people-carousel__nav button:focus,
.fmi-scheme-light .elementor-form .elementor-button[type="submit"] {
	color: #151a1d;
}

/* Copy over photographs stays light in both schemes. */
body.ferromac-light .scroll-scrub,
body.ferromac-light .careers-band,
body.ferromac-light .careers-band .elementor-heading-title,
body.ferromac-light .careers-band .elementor-widget-text-editor,
.fmi-scheme-light .scroll-scrub,
.fmi-scheme-light .careers-band,
.fmi-scheme-light .careers-band .elementor-heading-title,
.fmi-scheme-light .careers-band .elementor-widget-text-editor {
	color: #eef0ef;
}

/* The paper sections: white ground, dark copy, in the light scheme. */
body.ferromac-light .mission-section,
body.ferromac-light .editorial-section,
.fmi-scheme-light .mission-section,
.fmi-scheme-light .editorial-section {
	background: var(--paper);
	color: #151a1d;
}

body.ferromac-light .mission-section .elementor-heading-title,
body.ferromac-light .editorial-section .elementor-heading-title,
body.ferromac-light .mission-section .elementor-widget-text-editor,
body.ferromac-light .editorial-section .elementor-widget-text-editor,
.fmi-scheme-light .mission-section .elementor-heading-title,
.fmi-scheme-light .editorial-section .elementor-heading-title,
.fmi-scheme-light .mission-section .elementor-widget-text-editor,
.fmi-scheme-light .editorial-section .elementor-widget-text-editor {
	color: #151a1d;
}

/* Nav chevrons and carousel controls draw with currentColor; nothing to do.
 * Portraits: the design desaturates them on dark; lift slightly on light. */
body.ferromac-light .portrait img,
.fmi-scheme-light .portrait img {
	filter: saturate( 0.6 ) brightness( 1.02 );
}

body.ferromac-light .person-card:hover .portrait img,
.fmi-scheme-light .person-card:hover .portrait img {
	filter: saturate( 1 ) brightness( 1 );
}

/* Product blocks: the plates are dimmed for dark; less so on light. */
body.ferromac-light .material-slice img,
.fmi-scheme-light .material-slice img {
	filter: brightness( 0.92 );
}

body.ferromac-light .material-slice.active img,
.fmi-scheme-light .material-slice.active img {
	filter: brightness( 1 );
}

/* Form fields, tuned for a dark ground in the design. */
body.ferromac-light .elementor-form .elementor-field-group input.elementor-field-textual,
body.ferromac-light .elementor-form .elementor-field-group textarea.elementor-field-textual,
body.ferromac-light .elementor-form .elementor-field-group select.elementor-field-textual,
.fmi-scheme-light .elementor-form .elementor-field-group input.elementor-field-textual,
.fmi-scheme-light .elementor-form .elementor-field-group textarea.elementor-field-textual,
.fmi-scheme-light .elementor-form .elementor-field-group select.elementor-field-textual {
	border-bottom-color: #151a1d40;
	color: #151a1d;
}

body.ferromac-light .elementor-form .elementor-field-textual::placeholder,
.fmi-scheme-light .elementor-form .elementor-field-textual::placeholder {
	color: #151a1d66;
}

body.ferromac-light .elementor-form .elementor-field-type-acceptance input[type="checkbox"],
.fmi-scheme-light .elementor-form .elementor-field-type-acceptance input[type="checkbox"] {
	border-color: #151a1d40;
	background: #151a1d0d;
}

/* Globe controls and stats on the light panel. */
body.ferromac-light .world-regions button,
.fmi-scheme-light .world-regions button {
	color: var(--ink);
	border-color: var(--line);
}

body.ferromac-light .world-regions button[aria-pressed="true"],
.fmi-scheme-light .world-regions button[aria-pressed="true"] {
	color: var(--ochre);
}

/* -------------------------------------------------------------------------
 * Product block labels
 *
 * Each block is a photograph, so its label must be light regardless of the
 * page scheme. On light pages the label inherited the dark --ink and sat
 * dark on a dark photograph; it only turned light on hover, which was the
 * wrong way round. Now light at rest, brand ochre on hover and when active,
 * in both schemes.
 * ---------------------------------------------------------------------- */

.materials-section .material-slice .material-label,
body.ferromac-light .materials-section .material-slice .material-label,
.fmi-scheme-light .materials-section .material-slice .material-label,
.fmi-scheme-dark .materials-section .material-slice .material-label {
	color: #eef0ef;
	transition: color 0.3s;
}

.materials-section .material-slice:hover .material-label,
.materials-section .material-slice.active .material-label,
body.ferromac-light .materials-section .material-slice:hover .material-label,
body.ferromac-light .materials-section .material-slice.active .material-label,
.fmi-scheme-light .materials-section .material-slice:hover .material-label,
.fmi-scheme-light .materials-section .material-slice.active .material-label {
	color: #e88806;
}

/* The index number is always brand ochre over the photograph. */
.materials-section .material-slice .material-index,
body.ferromac-light .materials-section .material-slice .material-index,
.fmi-scheme-light .materials-section .material-slice .material-index {
	color: #e88806;
}

/* -------------------------------------------------------------------------
 * Hero copy over photographs
 *
 * On a photographic hero the headline, intro and route sit on the image, so
 * they must be light regardless of the page scheme. On light pages they were
 * inheriting the dark --ink and disappearing into the photograph.
 *
 * Two heroes are excluded on purpose because their copy is NOT on the photo:
 *   .type-hero          no photograph at all — follows the page scheme
 *   .page-hero--people  photograph beside the copy on the panel ground
 * ---------------------------------------------------------------------- */

.page-hero:not( .type-hero ):not( .page-hero--people ) .hero-copy,
.page-hero:not( .type-hero ):not( .page-hero--people ) .hero-copy h1,
.page-hero:not( .type-hero ):not( .page-hero--people ) .hero-copy > p:not( .eyebrow ),
body.ferromac-light .page-hero:not( .type-hero ):not( .page-hero--people ) .hero-copy,
body.ferromac-light .page-hero:not( .type-hero ):not( .page-hero--people ) .hero-copy h1,
body.ferromac-light .page-hero:not( .type-hero ):not( .page-hero--people ) .hero-copy > p:not( .eyebrow ),
.fmi-scheme-light .page-hero:not( .type-hero ):not( .page-hero--people ) .hero-copy,
.fmi-scheme-light .page-hero:not( .type-hero ):not( .page-hero--people ) .hero-copy h1,
.fmi-scheme-light .page-hero:not( .type-hero ):not( .page-hero--people ) .hero-copy > p:not( .eyebrow ) {
	color: #eef0ef;
}

/* The eyebrow over a photograph is always brand ochre, never the darkened text accent. */
.page-hero:not( .type-hero ):not( .page-hero--people ) .hero-copy .eyebrow,
body.ferromac-light .page-hero:not( .type-hero ):not( .page-hero--people ) .hero-copy .eyebrow,
.fmi-scheme-light .page-hero:not( .type-hero ):not( .page-hero--people ) .hero-copy .eyebrow {
	color: #e88806;
}

/* Breadcrumb and section navigation directly beneath a hero follow the page. */

/* -------------------------------------------------------------------------
 * Team member name on hover
 * ---------------------------------------------------------------------- */

.person-card:hover .person-caption h3,
.person-card:focus-visible .person-caption h3,
body.ferromac-light .person-card:hover .person-caption h3,
.fmi-scheme-light .person-card:hover .person-caption h3,
.fmi-scheme-dark .person-card:hover .person-caption h3 {
	color: #e88806;
}

.person-caption h3 {
	transition: color 0.3s;
}

/* -------------------------------------------------------------------------
 * Dropdown items in the transparent light header
 *
 * The transparent-state rule makes the top-level labels light so they read
 * over the hero photograph. The dropdown panel is a solid light surface, so
 * its items must go back to dark — they were inheriting the light colour and
 * vanishing into the panel.
 * ---------------------------------------------------------------------- */

body.ferromac-light .site-header:not( .is-solid ) .nav-dropdown,
body.ferromac-light .site-header:not( .is-solid ) .nav-dropdown a,
.fmi-scheme-light .site-header:not( .is-solid ) .nav-dropdown a {
	color: #151a1d;
}

body.ferromac-light .site-header .nav-dropdown,
.fmi-scheme-light .site-header .nav-dropdown {
	background: #f4f3ef;
	box-shadow: 0 25px 50px #0002;
}

body.ferromac-light .site-header .nav-dropdown a:hover,
.fmi-scheme-light .site-header .nav-dropdown a:hover {
	color: #e88806;
}

/* -------------------------------------------------------------------------
 * Forms on light pages — fallback
 *
 * The importer now sets the form widget's own colours to dark values, which
 * is what actually renders (the widget's per-element rule outranks any
 * stylesheet). This is the fallback for a form added by hand, and it has to
 * use !important for the same reason the field background does.
 * ---------------------------------------------------------------------- */

body.ferromac-light .elementor-form .elementor-field-group > label,
body.ferromac-light .elementor-form .elementor-field-label,
.fmi-scheme-light .elementor-form .elementor-field-group > label {
	color: #151a1d !important;
}

body.ferromac-light .elementor-form .elementor-field-group input.elementor-field-textual,
body.ferromac-light .elementor-form .elementor-field-group textarea.elementor-field-textual,
body.ferromac-light .elementor-form .elementor-field-group select.elementor-field-textual,
.fmi-scheme-light .elementor-form .elementor-field-group input.elementor-field-textual,
.fmi-scheme-light .elementor-form .elementor-field-group textarea.elementor-field-textual,
.fmi-scheme-light .elementor-form .elementor-field-group select.elementor-field-textual {
	border-bottom: 1px solid rgba( 21, 26, 29, 0.55 ) !important;
	color: #151a1d !important;
}

body.ferromac-light .elementor-form .elementor-field-textual::placeholder {
	color: rgba( 21, 26, 29, 0.45 ) !important;
}

body.ferromac-light .elementor-form .elementor-field-type-acceptance label,
body.ferromac-light .elementor-form .form-note {
	color: #151a1d;
}

/* -------------------------------------------------------------------------
 * Our steel: intro and detail copy in the breakdown
 * ---------------------------------------------------------------------- */

.materials-intro {
	max-width: 760px;
	margin: -20px 0 55px;
	font-size: 18px;
	line-height: 1.7;
	font-weight: 300;
	color: var(--muted);
}

.product-detail__copy {
	margin: 18px 0 26px;
	color: var(--muted);
	font-weight: 300;
	line-height: 1.7;
}

.product-detail__copy p {
	margin: 0 0 14px;
}

/* -------------------------------------------------------------------------
 * Enquiry heading and consent checkbox
 * ---------------------------------------------------------------------- */

/*
 * "Make an enquiry" / "Send an application" read as the form's heading.
 *
 * Targeted by the widget alone: it is the only heading widget in these two
 * sections. (The layout passed a class under the container key, which a
 * widget ignores, so no class ever landed on it — the earlier selectors that
 * relied on one matched nothing.)
 */
.contact-section .elementor-widget-heading .elementor-heading-title,
.application-section .elementor-widget-heading .elementor-heading-title {
	font: 500 clamp( 34px, 3.2vw, 50px ) / 1.02 var(--fmi-display);
	letter-spacing: -0.025em;
	text-transform: none;
	color: var(--ink);
	margin: 0;
}

/*
 * Spacing to the form. The contact section is a grid with the heading and
 * form in separate rows and row-gap zero, and a wrapper-reset rule at higher
 * specificity zeroes widget margins there — so the gap is set on the grid
 * itself. The application section is a plain block, where a margin works.
 */
.e-con.contact-section {
	row-gap: 44px;
}

.e-con.application-section > .elementor-widget-heading {
	margin-bottom: 44px;
}

body.ferromac-light .contact-section .elementor-widget-heading .elementor-heading-title,
body.ferromac-light .application-section .elementor-widget-heading .elementor-heading-title {
	color: #151a1d;
}

/*
 * The consent box had a border at 25% white, invisible on a light page. A
 * proper stroke in both schemes, and the widget's field border cannot
 * override it because of the !important the field background already needs.
 */
.elementor-form .elementor-field-type-acceptance input[type="checkbox"] {
	border: 1.5px solid rgba( 238, 240, 239, 0.55 ) !important;
	background: rgba( 238, 240, 239, 0.06 ) !important;
}

body.ferromac-light .elementor-form .elementor-field-type-acceptance input[type="checkbox"],
.fmi-scheme-light .elementor-form .elementor-field-type-acceptance input[type="checkbox"] {
	border: 1.5px solid rgba( 21, 26, 29, 0.6 ) !important;
	background: rgba( 21, 26, 29, 0.04 ) !important;
}

.elementor-form .elementor-field-type-acceptance input[type="checkbox"]:checked,
body.ferromac-light .elementor-form .elementor-field-type-acceptance input[type="checkbox"]:checked {
	border-color: #e88806 !important;
	background: #e88806 !important;
}

/* -------------------------------------------------------------------------
 * Scrub film hero on light pages
 *
 * The page-hero rule above does not cover the film hero, whose copy sits on
 * the video. Same treatment: light copy, logo-orange label.
 * ---------------------------------------------------------------------- */

body.ferromac-light .scroll-scrub__body,
body.ferromac-light .scroll-scrub__caption,
body.ferromac-light .scroll-scrub__title,
.fmi-scheme-light .scroll-scrub__body,
.fmi-scheme-light .scroll-scrub__caption,
.fmi-scheme-light .scroll-scrub__title {
	color: #eef0ef;
}

body.ferromac-light .scroll-scrub__kicker,
.fmi-scheme-light .scroll-scrub__kicker {
	color: #e88806;
}

/*
 * Hover on the ochre buttons was the design's lighter tint (#e88806). By
 * request it is the logo colour instead, in both schemes.
 */
a.hero-route:hover,
a.solid-button:hover,
a.header-portal:hover,
.header-contact:hover span,
.elementor-form .elementor-button[type="submit"]:hover,
.mobile-menu .menu-close:hover,
.mobile-menu .menu-portal:hover .menu-portal__icon,
body.ferromac-light a.hero-route:hover,
body.ferromac-light a.solid-button:hover,
body.ferromac-light a.header-portal:hover,
body.ferromac-light .header-contact:hover span,
body.ferromac-light .elementor-form .elementor-button[type="submit"]:hover {
	background-color: #e88806;
}

/* -------------------------------------------------------------------------
 * Product blocks without a photograph
 *
 * A slice whose family has no image set showed the reset's pink on hover.
 * Give the empty slice a proper ground in both schemes and an ochre wash on
 * hover, so a missing photograph is a quiet gap rather than a flash of pink.
 * ---------------------------------------------------------------------- */

.materials-section .material-slice {
	background-color: var(--panel);
	transition: background-color 0.3s, flex 0.6s cubic-bezier( 0.2, 0.7, 0.2, 1 );
}

.materials-section .material-slice:hover,
.materials-section .material-slice.active,
.materials-section .material-slice:focus-visible {
	background-color: #e88806;
}

/*
 * The photograph is positioned by the design (absolute, inset 0, z-index -2)
 * so it fills the block behind the label. It must not be repositioned: an
 * earlier version set it relative, which dropped it inside the block's 30px
 * padding and left the panel background showing around it as a frame.
 * Because it sits behind everything, the ground below only shows through on
 * a slice that has no photograph at all.
 */

/* On an empty slice the ochre fill would swallow an ochre label: go dark. */
.materials-section .material-slice:not( :has( img ) ):hover .material-label,
.materials-section .material-slice:not( :has( img ) ).active .material-label,
.materials-section .material-slice:not( :has( img ) ):hover .material-index,
.materials-section .material-slice:not( :has( img ) ).active .material-index {
	color: #151a1d;
}

/* -------------------------------------------------------------------------
 * Trade journey icons
 *
 * Uploaded icons, PNG or SVG, sit in the same 70px box as the built-in set.
 * SVGs have no intrinsic size, so the box is fixed rather than inherited.
 * ---------------------------------------------------------------------- */

.trade-text .process-icon {
	width: 70px;
	height: 70px;
	object-fit: contain;
	display: block;
	color: var(--ink);
}

/* Inline library icon: the SVG fills the box; its ink stroke is currentColor. */
.trade-text span.process-icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

/* -------------------------------------------------------------------------
 * Trade journey stage tabs
 *
 * The seven tabs sit over the sticky photograph, so like every other label on
 * a photo they must be light regardless of the page scheme. On light pages
 * they took the dark --muted and vanished into the image. Active stays ochre.
 * ---------------------------------------------------------------------- */

.trade-journey .trade-stages a,
body.ferromac-light .trade-journey .trade-stages a,
.fmi-scheme-light .trade-journey .trade-stages a {
	color: rgba( 238, 240, 239, 0.75 );
	transition: color 0.3s;
}

.trade-journey .trade-stages a:hover,
body.ferromac-light .trade-journey .trade-stages a:hover {
	color: #eef0ef;
}

.trade-journey .trade-stages a[aria-current="step"],
body.ferromac-light .trade-journey .trade-stages a[aria-current="step"],
.fmi-scheme-light .trade-journey .trade-stages a[aria-current="step"] {
	color: #e88806;
}


/* =========================================================================
 * v7.3 changes
 * ====================================================================== */

/* -------------------------------------------------------------------------
 * Mobile menu: slide in from the right, slide back out on close.
 * The closing half is driven by .is-closing from ferromac-chrome.js.
 * ---------------------------------------------------------------------- */

@keyframes fmi-menu-in {
	from { transform: translateX( 100% ); }
	to   { transform: translateX( 0 ); }
}

@keyframes fmi-menu-out {
	from { transform: translateX( 0 ); }
	to   { transform: translateX( 100% ); }
}

@keyframes fmi-backdrop-in {
	from { opacity: 0; }
	to   { opacity: 1; }
}

@keyframes fmi-backdrop-out {
	from { opacity: 1; }
	to   { opacity: 0; }
}

.mobile-menu[open] {
	animation: fmi-menu-in 0.42s cubic-bezier( 0.22, 1, 0.36, 1 );
}

.mobile-menu[open]::backdrop {
	animation: fmi-backdrop-in 0.42s ease-out;
}

.mobile-menu[open].is-closing {
	animation: fmi-menu-out 0.32s cubic-bezier( 0.55, 0, 0.75, 0.2 ) forwards;
}

.mobile-menu[open].is-closing::backdrop {
	animation: fmi-backdrop-out 0.32s ease-in forwards;
}

@media ( prefers-reduced-motion: reduce ) {
	.mobile-menu[open],
	.mobile-menu[open]::backdrop {
		animation: none;
	}
}

/* -------------------------------------------------------------------------
 * Mobile menu close button: no focus ring.
 * The dialog moves focus to the close button when it opens, and Hello
 * Elementor's reset draws a black 2px outline plus a white ring on it.
 * ---------------------------------------------------------------------- */

.mobile-menu .menu-close:focus,
.mobile-menu .menu-close:focus-visible {
	outline: none;
	box-shadow: none;
}

/* -------------------------------------------------------------------------
 * Mobile menu: smaller main items (was 27px).
 * ---------------------------------------------------------------------- */

.mobile-menu nav > details,
.mobile-menu nav > a {
	font-size: 21px;
	padding: 15px 0;
}

/* -------------------------------------------------------------------------
 * Vacancy pages: solid header (as on At a glance, set in
 * ferromac-chrome.js) and a dark hero title on the light ground.
 * ---------------------------------------------------------------------- */

body.single-fmi_vacancy.ferromac-light .page-hero:not( .type-hero ):not( .page-hero--people ) .hero-copy,
body.single-fmi_vacancy.ferromac-light .page-hero:not( .type-hero ):not( .page-hero--people ) .hero-copy h1,
body.single-fmi_vacancy.ferromac-light .page-hero:not( .type-hero ):not( .page-hero--people ) .hero-copy > p:not( .eyebrow ) {
	color: #151a1d;
}

/* -------------------------------------------------------------------------
 * Footer "We deliver." on mobile.
 * The footer template in Elementor sets 115px for all screen sizes, which
 * outranks the design's mobile size, so this needs !important.
 * ---------------------------------------------------------------------- */

@media ( max-width: 760px ) {
	.site-footer .footer-call > a {
		font-size: clamp( 40px, 11vw, 60px ) !important;
	}

	.site-footer .footer-call span {
		font-size: 0.8em !important;
	}
}


/* =========================================================================
 * v7.4 changes
 * ====================================================================== */

/* Brand orange: Elementor's global accent follows the logo orange. */
body[class*="elementor-kit-"] {
	--e-global-color-accent: #e88806;
}

/* Mobile menu close button: square corners (the reset gave it 3px). */
.mobile-menu .menu-close,
.mobile-menu .menu-close:hover,
.mobile-menu .menu-close:focus,
.mobile-menu .menu-close:active {
	border-radius: 0;
}

/* -------------------------------------------------------------------------
 * Vacancy pages: lower hero.
 * ---------------------------------------------------------------------- */

body.single-fmi_vacancy .page-hero {
	min-height: 0;
	padding-top: 190px;
	padding-bottom: 60px;
}

@media ( max-width: 760px ) {
	body.single-fmi_vacancy .page-hero {
		min-height: 0;
		padding-top: 130px;
		padding-bottom: 40px;
	}
}

/* -------------------------------------------------------------------------
 * Vacancy pages: role profile typography.
 * Titles and subtitles are added in ferromac_structure_vacancy_copy().
 * ---------------------------------------------------------------------- */

.job-detail .source-copy {
	font-size: 17px;
	line-height: 1.75;
}

.job-detail .source-copy p {
	margin-bottom: 18px;
}

.job-detail .source-copy .job-title {
	font-family: var( --fmi-display );
	font-size: clamp( 30px, 3vw, 42px );
	font-weight: 500;
	line-height: 1.1;
	color: var( --ink );
	margin: 60px 0 22px;
	padding-top: 28px;
	border-top: 1px solid var( --line );
	position: relative;
}

.job-detail .source-copy .job-title::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	width: 48px;
	height: 2px;
	background: #e88806;
}

.job-detail .source-copy > .job-title:first-child {
	margin-top: 0;
}

.job-detail .source-copy .job-subtitle {
	font-family: var( --fmi-display );
	font-size: 15px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #e88806;
	margin: 30px 0 12px;
}

.job-detail .source-copy .job-lead {
	font-size: 20px;
	line-height: 1.6;
	font-weight: 400;
	color: var( --ink );
}

.job-detail .source-copy ul {
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
}

.job-detail .source-copy li {
	position: relative;
	padding: 9px 0 9px 28px;
	border-bottom: 1px solid var( --line );
}

.job-detail .source-copy li:last-child {
	border-bottom: 0;
}

.job-detail .source-copy li::before {
	content: "";
	position: absolute;
	left: 0;
	top: calc( 9px + 0.85em );
	width: 12px;
	height: 2px;
	background: #e88806;
}

.job-detail .source-copy a {
	color: var( --ink );
	border-bottom: 1px solid #e88806;
	word-break: break-word;
}

@media ( max-width: 760px ) {
	.job-detail .source-copy {
		font-size: 16px;
	}

	.job-detail .source-copy .job-title {
		font-size: 30px;
		margin-top: 45px;
	}

	.job-detail .source-copy .job-lead {
		font-size: 18px;
	}
}

/* -------------------------------------------------------------------------
 * Commitment strips on mobile: room on the left for the numbers.
 * ---------------------------------------------------------------------- */

@media ( max-width: 760px ) {
	.commitment-strip {
		padding-left: 18px;
		padding-right: 18px;
	}
}


/* =========================================================================
 * v7.5 changes
 * ====================================================================== */

/* -------------------------------------------------------------------------
 * Team directory: filtered-out cards must actually disappear.
 * `.people-section .person-card` sets display: block, which beat the
 * browser's [hidden] rule, so the filter and search changed nothing visible.
 * ---------------------------------------------------------------------- */

.people-section .person-card[hidden] {
	display: none !important;
}

/* -------------------------------------------------------------------------
 * Team filter buttons: brand hover instead of the reset's pink.
 * ---------------------------------------------------------------------- */

.people-section .team-filters button {
	transition: border-color 0.25s, color 0.25s, background-color 0.25s;
}

.people-section .team-filters button:not( [aria-pressed="true"] ),
.people-section .team-filters button:not( [aria-pressed="true"] ):focus {
	background-color: transparent;
	color: var( --ink );
}

.people-section .team-filters button:not( [aria-pressed="true"] ):hover,
.people-section .team-filters button:not( [aria-pressed="true"] ):focus-visible {
	background-color: transparent;
	border-color: #e88806;
	color: #e88806;
}

.people-section .team-filters button[aria-pressed="true"],
.people-section .team-filters button[aria-pressed="true"]:hover,
.people-section .team-filters button[aria-pressed="true"]:focus {
	background-color: #e88806;
	border-color: #e88806;
	color: #151a1d;
}

.people-section .team-filters button:focus-visible {
	outline: 2px solid #e88806;
	outline-offset: 2px;
	box-shadow: none;
}

/* Search field: square, no reset ring. */
.people-section .team-search input {
	border-radius: 0;
}

.people-section .team-search input:focus {
	outline: none;
	box-shadow: none;
	border-bottom-color: #e88806;
}


/* =========================================================================
 * v7.6 — Team directory widget options
 * Column counts arrive as custom properties set by the widget's controls;
 * when a control is empty the fallbacks below reproduce the design
 * (3 per row, 2 on phones).
 * ====================================================================== */

.people-directory:not( .people-featured ) .people-grid,
.people-directory.people-featured--grid .people-grid {
	grid-template-columns: repeat( var( --fmi-team-cols, 3 ), minmax( 0, 1fr ) );
}

@media ( max-width: 1024px ) {
	.people-directory:not( .people-featured ) .people-grid,
	.people-directory.people-featured--grid .people-grid {
		grid-template-columns: repeat( var( --fmi-team-cols-tablet, var( --fmi-team-cols, 3 ) ), minmax( 0, 1fr ) );
	}
}

@media ( max-width: 760px ) {
	.people-directory:not( .people-featured ) .people-grid,
	.people-directory.people-featured--grid .people-grid {
		grid-template-columns: repeat( var( --fmi-team-cols-mobile, 2 ), minmax( 0, 1fr ) );
	}
}

/* Short selection as a plain grid instead of the offset pair. */
.people-directory.people-featured--grid .people-grid {
	max-width: none;
	margin-left: 0;
	gap: 50px 25px;
}

.people-directory.people-featured--grid .person-card:nth-child( 2 ) {
	padding-top: 0;
}

@media ( max-width: 760px ) {
	.people-directory.people-featured--grid .people-grid {
		gap: 35px 14px;
	}
}

/* Heading keeps the h2 size whatever level is chosen for it. */
.people-directory .section-heading .people-heading {
	font-family: var( --fmi-display );
	font-weight: 500;
	line-height: 1.03;
	font-size: clamp( 40px, 4.8vw, 78px );
}

@media ( max-width: 760px ) {
	.people-directory .section-heading .people-heading {
		font-size: 43px;
	}
}

/* Name and role keep their look whatever tag is chosen for the name. */
.people-directory .person-caption .person-name {
	font-family: var( --fmi-display );
	font-weight: 500;
	font-size: clamp( 24px, 2vw, 32px );
	line-height: 1.03;
	letter-spacing: -0.01em;
	text-transform: none;
	margin: 0;
	color: var( --ink );
	transition: color 0.3s;
}

.people-directory .person-card:hover .person-caption .person-name,
.people-directory .person-card:focus-visible .person-caption .person-name {
	color: #e88806;
}

@media ( max-width: 760px ) {
	.people-directory .person-caption .person-name {
		font-size: 23px;
		line-height: 1.08;
	}
}

@media ( max-width: 390px ) {
	.people-directory .person-caption .person-name {
		font-size: 20px;
	}
}

/* Photo colour treatments. */
.people-directory.people-tone--colour .portrait img,
.people-directory.people-tone--colour .person-card:hover .portrait img {
	filter: none;
}

.people-directory.people-tone--mono .portrait img,
.people-directory.people-tone--mono .person-card:hover .portrait img,
.people-directory.people-tone--mono-hover .portrait img {
	filter: grayscale( 1 );
}

.people-directory.people-tone--mono-hover .person-card:hover .portrait img,
.people-directory.people-tone--mono-hover .person-card:focus-visible .portrait img {
	filter: grayscale( 0 );
}

/* No zoom on hover. */
.people-directory.people-nozoom .person-card:hover .portrait img {
	transform: none;
}

/* Cards that do not open a biography. */
.people-directory.people-static .person-card {
	cursor: default;
}

/* Message when a search or filter leaves no one. */
.people-directory .team-empty {
	padding: 40px 0;
	color: var( --muted );
	font: 13px/1.6 var( --mono );
}

/* -------------------------------------------------------------------------
 * Language selector
 *
 * Last item of the main navigation, built from the same .nav-group /
 * <details> / .nav-dropdown markup as the other menus, so it inherits their
 * type, colours, chevron, light/dark header states and the open/close
 * behaviour in ferromac-chrome.js. Only the differences live here: a short
 * divider before it, the code in the summary, a narrower panel and the
 * current language in ochre. The mobile menu reuses the design's existing
 * .language-links style.
 * ---------------------------------------------------------------------- */

.nav-group--lang {
	position: relative;
	margin-left: 4px;
	padding-left: 20px;
}

.nav-group--lang::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 1px;
	height: 14px;
	margin-top: -7px;
	background: currentColor;
	opacity: 0.35;
}

.nav-group--lang summary {
	gap: 8px;
	padding: 10px 4px 10px 0;
}

.nav-group--lang summary:hover .nav-lang-code {
	color: var( --ochre );
}

.nav-group--lang .nav-dropdown {
	min-width: 200px;
}

.nav-group--lang .nav-dropdown a span {
	font: 11px var( --mono );
	opacity: 0.55;
}

.site-header .desktop-nav .nav-group--lang .nav-dropdown a[aria-current="true"] {
	color: var( --ochre );
}

@media ( max-width: 1250px ) {
	.nav-group--lang {
		padding-left: 14px;
	}
}
