/*
Theme Name: MEC Corporate V2
Description: A custom block theme.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Version: 0.6.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mec-corporate-v2
Tags: full-site-editing, block-patterns, block-styles, wide-blocks, accessibility-ready, style-variations
*/

/* WordPress inserts margin-block-start: var(--wp--style--block-gap) between the
   template's top-level sections (header part, main, footer part) — a gap that
   exists even when no markup asks for it. Zero it so sections butt edge-to-edge
   and own their vertical rhythm via padding; this does not affect block gaps
   inside nested layouts. */
.wp-site-blocks > * + * {
	margin-block-start: 0;
}

/* =============================================================================
   MEC Corporate V2 — Design System
   Same MEC brand tokens as V1 (mec-corporate), new layout system.
   ============================================================================= */

@font-face {
	font-family: 'Manrope';
	src: url('assets/fonts/manrope-700.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Manrope';
	src: url('assets/fonts/manrope-800.woff2') format('woff2');
	font-weight: 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Inter';
	src: url('assets/fonts/inter-400.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Inter';
	src: url('assets/fonts/inter-500.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'Inter';
	src: url('assets/fonts/inter-600.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

/* === 1. reset & base === */
body { font-family: 'Inter', sans-serif; }
.mec2-skip-link a {
	position: absolute; left: -9999px; top: 0; z-index: 999;
	background: var(--wp--preset--color--primary); color: var(--wp--preset--color--base);
	padding: 0.75rem 1.25rem; border-radius: 4px; font-weight: 600;
}
.mec2-skip-link a:focus { left: 1rem; top: 1rem; }

/* === 2. header/nav === */
.mec2-utility-bar {
	background: var(--wp--preset--color--secondary); padding: 0.5rem 2rem;
}
.mec2-utility-bar .wp-block-group { gap: 1.5rem; column-gap: 1.5rem; }
.mec2-utility-bar p { margin: 0; }
.mec2-utility-bar a {
	font-family: 'Inter', sans-serif; font-size: 0.8125rem; font-weight: 500;
	color: var(--wp--preset--color--base); text-decoration: none; opacity: 0.85;
	transition: opacity 0.15s ease;
}
.mec2-utility-bar a:hover, .mec2-utility-bar a:focus-visible { opacity: 1; text-decoration: underline; }
@media (prefers-reduced-motion: reduce) { .mec2-utility-bar a { transition: none; } }

.mec2-header {
	padding: 1.25rem 2rem; border-bottom: 1px solid var(--wp--preset--color--border);
	position: sticky; top: 0; z-index: 100; background: var(--wp--preset--color--base);
}
.mec2-nav-inner { width: 100%; }
.mec2-header-call { display: none; }
.mec2-site-logo { flex-shrink: 0; margin: 0; }
.mec2-site-logo img { display: block; height: auto; }
.mec2-nav { margin-left: auto; margin-right: 1.25rem; }
.mec2-nav.wp-block-navigation, .mec2-nav .wp-block-navigation__container {
	gap: 0.375rem; column-gap: 0.375rem; row-gap: 0.5rem;
}
.mec2-nav .wp-block-navigation-item > a,
.mec2-nav .wp-block-navigation-submenu > .wp-block-navigation-item__content {
	font-size: 0.9375rem; font-weight: 600; color: var(--wp--preset--color--heading);
	padding: 0.5rem 1rem;
}
.mec2-header-cta { flex-shrink: 0; }
.mec2-header-cta .wp-element-button {
	border-radius: 100px; padding: 0.625rem 1.375rem; font-size: 0.875rem; font-weight: 700;
	white-space: nowrap;
}
.mec2-nav { flex-shrink: 1; min-width: 0; }
.mec2-nav .wp-block-navigation-item { white-space: nowrap; }
.mec2-nav .wp-block-navigation-item > a { font-size: 0.8125rem; padding: 0.5rem 0.625rem; border-radius: 6px; transition: background-color 0.15s ease, color 0.15s ease; }
.mec2-nav .wp-block-navigation-item > a:hover,
.mec2-nav .wp-block-navigation-item > a:focus-visible {
	color: var(--wp--preset--color--primary); background-color: var(--wp--preset--color--surface);
}
@media (prefers-reduced-motion: reduce) { .mec2-nav .wp-block-navigation-item > a { transition: none; } }
.mec2-header-cta-btn .wp-element-button:hover,
.mec2-header-cta-btn .wp-element-button:focus-visible { filter: brightness(0.9); }
/* === 3. footer === */
.mec2-footer { padding: 4rem 2rem 2rem; }
.mec2-footer-grid { gap: 2rem; margin-bottom: 2.5rem; }
.mec2-footer-logo { margin: 0 0 1.25rem; }
.mec2-footer-logo img { display: block; height: auto; }
.mec2-footer-tagline { font-size: 0.9rem; opacity: 0.75; margin-top: 0.75rem; line-height: 1.6; }
.mec2-footer-heading { font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.6; margin-bottom: 1rem; }
.mec2-footer-list { list-style: none; margin: 0; padding: 0; }
.mec2-footer-list li { margin-bottom: 0.625rem; }
.mec2-footer-list a { color: var(--wp--preset--color--base); opacity: 0.85; text-decoration: none; font-size: 0.9rem; }
.mec2-footer-list a:hover { opacity: 1; text-decoration: underline; }
.mec2-footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 1.5rem; }
.mec2-footer-bottom p { font-size: 0.8rem; opacity: 0.6; margin: 0; }
/* === 4. hero === */
.mec2-hero {
	padding: 5rem 2rem 4.5rem; position: relative; overflow: hidden;
}
.mec2-hero-eyebrow {
	display: inline-block; font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 0.75rem;
	letter-spacing: 0.09em; text-transform: uppercase; color: var(--wp--preset--color--primary);
	margin-bottom: 0.75rem;
}
.mec2-hero h1 { font-size: 2.75rem; line-height: 1.15; margin: 0 0 1rem; }
.mec2-hero p { font-size: 1.125rem; line-height: 1.65; max-width: 640px; }
.mec2-hero .wp-block-buttons { gap: 0.75rem; }
.mec2-hero .wp-block-button.is-style-outline .wp-block-button__link {
	color: var(--wp--preset--color--base); border: 1.5px solid rgba(255,255,255,0.5);
	background: transparent; transition: border-color 0.15s ease, background 0.15s ease;
}
.mec2-hero .wp-block-button.is-style-outline .wp-block-button__link:hover,
.mec2-hero .wp-block-button.is-style-outline .wp-block-button__link:focus-visible {
	border-color: var(--wp--preset--color--base); background: rgba(255,255,255,0.08);
}
@media (prefers-reduced-motion: reduce) {
	.mec2-hero .wp-block-button.is-style-outline .wp-block-button__link { transition: none; }
}
.mec2-hero.has-surface-background-color .wp-block-button.is-style-outline .wp-block-button__link {
	color: var(--wp--preset--color--heading); border-color: var(--wp--preset--color--border); background: transparent;
}
.mec2-hero.has-surface-background-color .wp-block-button.is-style-outline .wp-block-button__link:hover,
.mec2-hero.has-surface-background-color .wp-block-button.is-style-outline .wp-block-button__link:focus-visible {
	border-color: var(--wp--preset--color--primary); background: var(--wp--preset--color--base);
}

/* Hero — engineering editorial cover (home) */
.mec2-hero-cover { min-height: 600px; padding: 0; }
.mec2-hero-cover .wp-block-cover__inner-container { position: relative; z-index: 1; padding: 5rem 2rem; max-width: 1280px; margin-inline: auto; }
.mec2-hero-cover::after {
	content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background: linear-gradient(180deg, rgba(31,27,28,0.55) 0%, rgba(31,27,28,0.05) 45%, rgba(31,27,28,0.6) 100%);
}
@media (prefers-reduced-motion: reduce) { .mec2-hero-cover::after { content: none; } }
@media (max-width: 768px) { .mec2-hero-cover { min-height: 540px; } }
@media (max-width: 480px) { .mec2-hero-cover { min-height: 520px; } }

/* Editorial band — homepage "How we deliver" transition */
.mec2-editorial-band { min-height: 360px; padding: 0; }
.mec2-editorial-band .wp-block-cover__inner-container { position: relative; z-index: 1; padding: 3.5rem 2rem; max-width: 1280px; margin-inline: auto; }
.mec2-editorial-band::after {
	content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background: linear-gradient(100deg, rgba(31,27,28,0.74) 0%, rgba(31,27,28,0.42) 55%, rgba(31,27,28,0.18) 100%);
}
@media (prefers-reduced-motion: reduce) { .mec2-editorial-band::after { content: none; } }
.mec2-editorial-band .mec2-eyebrow { margin-bottom: 0.85rem; }
.mec2-editorial-band h2 { margin: 0 0 0.85rem; font-size: 1.9rem; line-height: 1.25; max-width: 680px; }
.mec2-editorial-band .wp-block-cover__inner-container h2,
.mec2-editorial-band .wp-block-cover__inner-container .mec2-process { margin-left: 0 !important; margin-right: auto !important; text-align: left; }
.mec2-editorial-band .mec2-process {
	margin: 0; font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 0.925rem;
	letter-spacing: 0.02em; color: #fff; max-width: 820px;
}
@media (max-width: 768px) { .mec2-editorial-band { min-height: 310px; } .mec2-editorial-band h2 { font-size: 1.55rem; } }

/* === 5. sections === */
.mec2-section { padding: 5rem 2rem; }
.mec2-section--surface { background: var(--wp--preset--color--surface); }
.mec2-section-header { max-width: 700px; margin-bottom: 3rem; }
.mec2-section-header .mec2-eyebrow { margin-bottom: 0.75rem; }
.mec2-section-header h2 { margin: 0 0 1rem; font-size: 2rem; }
.mec2-section-header p { color: var(--wp--preset--color--body); font-size: 1.0625rem; line-height: 1.7; }
.mec2-eyebrow {
	/* WCAG AA fix: at 12px bold, brand Primary (#FC4406) on white/surface only reaches
	   3.52:1 (fails the 4.5:1 required for small text). #C93400 is the same hue darkened
	   for text-legibility only — not part of the brand palette, not used on buttons/logo/
	   large surfaces, which keep the exact brand Primary color unchanged. */
	display: inline-block; font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 0.75rem;
	letter-spacing: 0.09em; text-transform: uppercase; color: #C93400;
}
/* === 6. division quick-nav (tabs) === */
.mec2-quicknav {
	display: flex; flex-wrap: wrap; gap: 0.75rem; padding: 1.5rem 2rem;
	border-bottom: 1px solid var(--wp--preset--color--border);
}
.mec2-quicknav a {
	display: inline-flex; align-items: center; gap: 0.5rem;
	padding: 0.625rem 1.125rem; border-radius: 100px;
	background: var(--wp--preset--color--surface); color: var(--wp--preset--color--heading);
	font-size: 0.875rem; font-weight: 600; text-decoration: none; white-space: nowrap;
	border: 1px solid var(--wp--preset--color--border); transition: background-color 0.15s ease, color 0.15s ease;
}
.mec2-quicknav a:hover {
	/* WCAG AA fix: same darkened button shade as .wp-block-button, see note above. */
	background: #D63905; color: var(--wp--preset--color--base); border-color: #D63905;
}
@media (prefers-reduced-motion: reduce) { .mec2-quicknav a { transition: none; } }

/* === 7. division detail rows === */
.mec2-detail-row[id] { scroll-margin-top: 6rem; }
.mec2-detail-row {
	padding: 2.5rem 0; border-bottom: 1px solid var(--wp--preset--color--border);
}
.mec2-detail-row:last-child { border-bottom: none; }
.mec2-detail-badge {
	display: flex; flex-direction: column; align-items: center; text-align: center;
	background: var(--wp--preset--color--base); border: 1px solid var(--wp--preset--color--border);
	border-radius: 12px; padding: 1.5rem 1rem;
}
.mec2-detail-icon {
	display: flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; border-radius: 16px; margin-bottom: 0.75rem;
	/* Richer gradient badge (was flat 10% tint) using only the existing primary token at varying opacity — no new brand color introduced. */
	background: linear-gradient(135deg, rgba(252,68,6,0.18), rgba(252,68,6,0.05));
	box-shadow: 0 4px 14px rgba(252,68,6,0.16);
	border: 1.5px solid rgba(252,68,6,0.22);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mec2-detail-row:hover .mec2-detail-icon {
	transform: scale(1.06);
	box-shadow: 0 8px 20px rgba(252,68,6,0.26);
}
@media (prefers-reduced-motion: reduce) { .mec2-detail-icon { transition: none; } .mec2-detail-row:hover .mec2-detail-icon { transform: none; } }
.mec2-detail-icon::before, .mec2-doc-icon::before {
	content: ''; display: block; width: 22px; height: 22px;
	background-color: var(--wp--preset--color--primary);
	-webkit-mask-size: contain; mask-size: contain;
	-webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
	-webkit-mask-position: center; mask-position: center;
}
.mec2-doc-icon::before { width: 18px; height: 18px; }
.mec2-detail-badge .mec2-eyebrow { margin-bottom: 0.5rem; }
.mec2-detail-badge h3 { margin: 0; font-size: 1.05rem; }
.mec2-detail-row p { color: var(--wp--preset--color--body); line-height: 1.7; }
/* === 7b. compact service card grid === */
.mec2-service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.mec2-service-card {
	height: 100%; background: var(--wp--preset--color--base); border: 1px solid var(--wp--preset--color--border);
	border-radius: 12px; padding: 1.75rem; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mec2-service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
@media (prefers-reduced-motion: reduce) { .mec2-service-card { transition: none; } .mec2-service-card:hover { transform: none; } }
.mec2-service-icon {
	display: flex; align-items: center; justify-content: center;
	width: 48px; height: 48px; border-radius: 12px; margin-bottom: 1rem;
	/* Richer gradient badge (was flat 10% tint) using only the existing primary token at varying opacity — no new brand color introduced. */
	background: linear-gradient(135deg, rgba(252,68,6,0.18), rgba(252,68,6,0.05));
	box-shadow: 0 4px 14px rgba(252,68,6,0.16);
	border: 1.5px solid rgba(252,68,6,0.22);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.mec2-service-card:hover .mec2-service-icon {
	transform: scale(1.08) rotate(-3deg);
	box-shadow: 0 8px 20px rgba(252,68,6,0.26);
}
@media (prefers-reduced-motion: reduce) { .mec2-service-icon { transition: none; } .mec2-service-card:hover .mec2-service-icon { transform: none; } }
.mec2-service-icon::before {
	content: ''; display: block; width: 20px; height: 20px;
	background-color: var(--wp--preset--color--primary);
	-webkit-mask-size: contain; mask-size: contain;
	-webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
	-webkit-mask-position: center; mask-position: center;
}
.mec2-service-card h4 { margin: 0 0 0.5rem; font-size: 1rem; }
.mec2-service-card p { margin: 0; color: var(--wp--preset--color--body); font-size: 0.875rem; line-height: 1.6; }
.mec2-service-group-label {
	/* Same WCAG AA text-legibility fix as .mec2-eyebrow — see note above. */
	font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 0.75rem; letter-spacing: 0.06em;
	text-transform: uppercase; color: #C93400; margin: 0 0 1rem;
}
/* Group header banner image — one representative photo per service group (ICT page only), sits above the group label. */
.mec2-service-group-image { position: relative; border-radius: 12px; overflow: hidden; margin-bottom: 1.25rem; }
.mec2-service-group-image img { display: block; width: 100%; height: 160px; object-fit: cover; }
.mec2-service-group-image .mec2-stock-badge { top: 0.625rem; right: 0.625rem; }
@media (max-width: 960px) { .mec2-service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .mec2-service-grid { grid-template-columns: 1fr; } }
.mec2-detail-list { list-style: none; margin: 0; padding: 0; }
.mec2-detail-list li {
	padding: 0.5rem 0; border-bottom: 1px solid var(--wp--preset--color--border);
	color: var(--wp--preset--color--body); font-size: 0.9rem; display: flex; align-items: center; gap: 0.625rem;
}
.mec2-detail-list li:last-child { border-bottom: none; }
.mec2-detail-list li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--wp--preset--color--primary); flex-shrink: 0; }
/* === 8. cards & grids === */
.mec2-tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.mec2-tile-grid > .mec2-tile { margin-top: 0; }
.mec2-tile {
	position: relative; border: 1px solid var(--wp--preset--color--border); border-radius: 12px; overflow: hidden;
	background: var(--wp--preset--color--base); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.mec2-tile:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
@media (prefers-reduced-motion: reduce) { .mec2-tile { transition: none; } .mec2-tile:hover { transform: none; } }
.mec2-tile-photo img { display: block; width: 100%; }
.mec2-tile-body { padding: 1.5rem; }
.mec2-tile-num {
	/* Same WCAG AA text-legibility fix as .mec2-eyebrow — see note above. */
	font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 0.75rem;
	letter-spacing: 0.06em; text-transform: uppercase; color: #C93400;
	margin: 0 0 0.5rem;
}
.mec2-tile-body h3 { margin: 0 0 0.5rem; font-size: 1.125rem; }
.mec2-tile-body p { margin: 0; color: var(--wp--preset--color--body); font-size: 0.9rem; line-height: 1.6; }
.mec2-tile a { text-decoration: none; color: inherit; display: block; }
.mec2-stock-photo { position: relative; display: block; }
.mec2-stock-badge {
	position: absolute; top: 0.75rem; right: 0.75rem; margin: 0; z-index: 1;
	background: var(--wp--preset--color--secondary); color: var(--wp--preset--color--base);
	font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 0.6875rem;
	letter-spacing: 0.03em; text-transform: uppercase; padding: 0.375rem 0.625rem;
	border-radius: 6px; line-height: 1.2;
}

.mec2-doc-card {
	border: 1px solid var(--wp--preset--color--border); border-radius: 10px; padding: 1.25rem 1.5rem;
	gap: 1rem;
}
.mec2-doc-icon {
	display: flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border-radius: 8px; background: rgba(252,68,6,0.10); flex-shrink: 0;
}
.mec2-doc-meta { flex-grow: 1; }
.mec2-doc-meta p { margin: 0; font-size: 0.9rem; }
.mec2-doc-meta span { color: var(--wp--preset--color--body); font-size: 0.825rem; }
.mec2-coming-soon {
	flex-shrink: 0; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
	color: var(--wp--preset--color--body); background: var(--wp--preset--color--surface);
	padding: 0.375rem 0.75rem; border-radius: 100px; margin: 0;
}

/* === 8b. core values grid === */
.mec2-values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.mec2-value-card {
	padding: 1.75rem; border-radius: 12px;
	background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border);
	transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.mec2-value-card:hover { background: var(--wp--preset--color--base); box-shadow: 0 12px 32px rgba(0,0,0,0.08); border-color: rgba(252,68,6,0.15); }
@media (prefers-reduced-motion: reduce) { .mec2-value-card { transition: none; } }
.mec2-value-card h3 { font-size: 1rem; margin: 0 0 0.5rem; }
.mec2-value-card p { margin: 0; color: var(--wp--preset--color--body); font-size: 0.875rem; line-height: 1.65; }
@media (max-width: 960px) { .mec2-values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .mec2-values-grid { grid-template-columns: 1fr; } }

/* === 8c. dark section (philosophy/organization on About) === */
.mec2-dark-section p { color: rgba(255,255,255,0.82); }
.mec2-dark-section .mec2-eyebrow { color: var(--wp--preset--color--primary); }

/* === 8d. standards grid (Management System certifications) === */
.mec2-standards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.mec2-standard-card {
	background: var(--wp--preset--color--base); border: 1px solid var(--wp--preset--color--border);
	border-radius: 12px; padding: 2rem;
}
.mec2-standard-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.mec2-standard-card .mec2-detail-icon { margin-bottom: 0; }
.mec2-standard-status {
	display: inline-block; padding: 0.25rem 0.75rem; border-radius: 100px;
	font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.mec2-standard-status--targeted { background: rgba(252,68,6,0.08); color: #C93400; }
.mec2-standard-status--applied { background: rgba(94,94,94,0.08); color: var(--wp--preset--color--body); }
.mec2-standard-card h3 { font-size: 1.1rem; margin: 0 0 0.625rem; }
.mec2-standard-card p { font-size: 0.9rem; color: var(--wp--preset--color--body); line-height: 1.65; margin: 0; }
.mec2-standards-note { font-size: 0.875rem; color: var(--wp--preset--color--body); margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--wp--preset--color--border); }
@media (max-width: 1024px) {
	.mec2-standards-grid { grid-template-columns: repeat(2, 1fr); }
	.mec2-standard-card:last-child { grid-column: span 2; }
}
@media (max-width: 768px) {
	.mec2-standards-grid { grid-template-columns: 1fr !important; }
	.mec2-standard-card:last-child { grid-column: span 1 !important; }
}

/* === 8e. equipment/logistics photo strip (horizontal scroll gallery) === */
.mec2-photo-strip-scroller {
	display: flex; gap: 1.25rem; overflow-x: auto; padding-bottom: 0.5rem;
	scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.mec2-photo-strip-scroller::-webkit-scrollbar { height: 8px; }
.mec2-photo-strip-scroller::-webkit-scrollbar-thumb { background: var(--wp--preset--color--border); border-radius: 100px; }
.mec2-photo-strip-item {
	position: relative; flex: 0 0 auto; width: 320px; scroll-snap-align: start;
	border-radius: 12px; overflow: hidden;
}
.mec2-photo-strip-item img { display: block; width: 100%; height: 220px; object-fit: cover; }
.mec2-photo-strip-item .mec2-stock-badge { top: 0.625rem; right: 0.625rem; }
.mec2-photo-strip-caption {
	position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 0.75rem 1rem;
	background: linear-gradient(to top, rgba(31,27,28,0.85), rgba(31,27,28,0));
	color: var(--wp--preset--color--base); font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 0.875rem;
}
@media (max-width: 600px) { .mec2-photo-strip-item { width: 260px; } .mec2-photo-strip-item img { height: 180px; } }

/* === 9. cta === */
.mec2-cta { padding: 4.5rem 2rem; text-align: center; }
.mec2-cta h2 { margin: 0 0 0.75rem; }
.mec2-cta p { max-width: 560px; margin: 0 auto 2rem; }

/* === 9b. division cross-navigation === */
.mec2-division-crossnav { border-top: 1px solid var(--wp--preset--color--border); }
.mec2-crossnav { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.mec2-crossnav p { margin: 0; font-size: 0.9375rem; }
.mec2-crossnav a { color: var(--wp--preset--color--body); text-decoration: none; font-weight: 600; transition: color 0.15s ease; }
.mec2-crossnav a:hover { color: var(--wp--preset--color--primary); }
.mec2-crossnav .mec2-is-current a { color: var(--wp--preset--color--primary); }
@media (prefers-reduced-motion: reduce) { .mec2-crossnav a { transition: none; } }

/* === 10. buttons === */
.wp-element-button { border-radius: 100px; padding: 0.75rem 1.75rem; font-weight: 700; font-size: 0.9375rem; }
/* WCAG AA fix: brand Primary (#FC4406) paired with white only reaches 3.52:1 at this
   text size (needs 4.5:1). #D63905 is the same hue darkened ~15%, scoped strictly to
   button fill/text so links, icons, eyebrows, and the logo keep the exact brand color. */
.wp-block-button__link.has-primary-background-color { background-color: #D63905 !important; }
.wp-block-button__link.has-primary-color { color: #D63905 !important; }

/* === 11. responsive === */
@media (max-width: 782px) {
	.mec2-tile-grid { grid-template-columns: 1fr; }
	.mec2-hero h1 { font-size: 2rem; }

	/* Utility bar hidden on mobile — tap-to-call lives in the compact header bar */
	.mec2-utility-bar { display: none; }

	/* ---- Compact persistent header bar (Logo | Call | Menu) ---- */
	.mec2-header { padding: 0.5rem 1rem; }
	.mec2-nav-inner { flex-wrap: nowrap; justify-content: flex-start; gap: 0.5rem; }
	.mec2-site-logo { max-width: 118px; }
	.mec2-site-logo img { width: 118px !important; }
	.mec2-header-call {
		display: inline-flex; align-items: center; order: 3; flex-shrink: 0;
		margin-left: auto;
	}
	.mec2-header-call a {
		display: inline-flex; align-items: center; box-sizing: border-box;
		min-width: 44px; min-height: 44px;
		padding: 0.5rem 0.875rem; border-radius: 100px;
		background: var(--wp--preset--color--surface); color: var(--wp--preset--color--heading);
		font-family: 'Manrope', sans-serif; font-weight: 700; font-size: 0.8125rem;
		text-decoration: none; border: 1px solid var(--wp--preset--color--border);
	}
	.mec2-header-call a:hover,
	.mec2-header-call a:focus-visible { color: var(--wp--preset--color--primary); }

	/* Quote CTA moves out of the bar on mobile — provided by sitewide CTA bands + Contact */
	.mec2-header-cta { display: none !important; }

	/* Order menu toggle to the far right (Call pushed by margin-left:auto) */
	.mec2-nav { order: 4; margin-left: 0; margin-right: 0; flex-shrink: 0; }

	/* ---- Force native drawer state across the whole MEC mobile range (<=782px) ----
	   Core toggles hamburger/inline-nav around 600px; MEC's breakpoint is 782px,
	   so extend the drawer behaviour up to 782 and keep the inline nav >=783px. */
	.mec2-nav .wp-block-navigation__responsive-container-open {
		display: flex !important; align-items: center; justify-content: center;
		width: 44px; height: 44px; color: var(--wp--preset--color--heading);
	}
	.mec2-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none !important;
	}

	/* ---- Dark native drawer, styled to MEC language ---- */
	.mec2-nav .wp-block-navigation__responsive-container.is-menu-open {
		background: var(--wp--preset--color--secondary); color: #fff; padding: 1.5rem 1.25rem;
	}
	.mec2-nav .wp-block-navigation__responsive-container.is-menu-open
		.wp-block-navigation__responsive-close { position: relative; width: 100%; max-width: 440px; margin-inline: auto; }
	.mec2-nav .wp-block-navigation__responsive-container.is-menu-open
		.wp-block-navigation__responsive-container-content { flex-direction: column; align-items: stretch; }
	.mec2-nav .wp-block-navigation__responsive-container.is-menu-open
		.wp-block-navigation__container { flex-direction: column; align-items: stretch; width: 100%; }
	.mec2-nav .wp-block-navigation__responsive-container.is-menu-open
		.wp-block-navigation-item { width: 100%; }
	.mec2-nav .wp-block-navigation__responsive-container.is-menu-open
		.wp-block-navigation-item > a,
	.mec2-nav .wp-block-navigation__responsive-container.is-menu-open
		.wp-block-navigation-submenu > .wp-block-navigation-item__content {
		color: #fff; font-size: 1rem; padding: 0.875rem 0; border-bottom: 1px solid rgba(255,255,255,0.12);
	}
	.mec2-nav .wp-block-navigation__responsive-container.is-menu-open
		.wp-block-navigation-item > a:hover,
	.mec2-nav .wp-block-navigation__responsive-container.is-menu-open
		.wp-block-navigation-item > a:focus-visible { color: var(--wp--preset--color--primary); background: transparent; }
	.mec2-nav .wp-block-navigation__responsive-container.is-menu-open
		.wp-block-navigation__responsive-container-close { color: #fff; width: 44px; height: 44px; top: 1rem; right: 1rem; }

	.mec2-footer-grid { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
	.mec2-nav .wp-block-navigation__responsive-container.is-menu-open * { transition: none !important; animation: none !important; }
}

/* Body scroll lock while the mobile drawer is open (added by assets/mobile-nav.js). */
body.mec2-body-lock { overflow: hidden; }


/* === 12b. scroll reveal (progressive enhancement) === */
/* Elements are fully visible by default (editor + no-JS state). JS adds
   .mec2-reveal before paint-relevant layout, then .mec2-reveal-visible
   on intersection. Kept out of prefers-reduced-motion entirely by the script. */
.mec2-reveal { opacity: 0; transform: translateY(16px); }
.mec2-reveal-visible {
	opacity: 1; transform: translateY(0);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

/* === 12. icon glyphs (detail badges & doc cards) === */
.mec2-icon-checklist::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 11l3 3L22 4'/%3E%3Cpath d='M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 11l3 3L22 4'/%3E%3Cpath d='M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11'/%3E%3C/svg%3E");
}
.mec2-icon-energy::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='13 2 3 14 12 14 11 22 21 10 12 10 13 2'/%3E%3C/svg%3E");
}
.mec2-icon-refresh::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='23 4 23 10 17 10'/%3E%3Cpolyline points='1 20 1 14 7 14'/%3E%3Cpath d='M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='23 4 23 10 17 10'/%3E%3Cpolyline points='1 20 1 14 7 14'/%3E%3Cpath d='M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15'/%3E%3C/svg%3E");
}
.mec2-icon-signal::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.7 8.5a13 13 0 0 1 20.6 0M5 12.5a9 9 0 0 1 14 0M8.5 16.5a5 5 0 0 1 7 0'/%3E%3Ccircle cx='12' cy='20' r='1'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.7 8.5a13 13 0 0 1 20.6 0M5 12.5a9 9 0 0 1 14 0M8.5 16.5a5 5 0 0 1 7 0'/%3E%3Ccircle cx='12' cy='20' r='1'/%3E%3C/svg%3E");
}
/* Distinct handset icon for Telecommunications Systems (was reusing the signal-arc icon, too similar to Wi-Fi). */
.mec2-icon-phone::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.362 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.338 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.127.96.362 1.903.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.907.338 1.85.573 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}
/* CCTV camera icon for Physical Security & Surveillance (previously mislabeled "Security Systems" under ICT, confusing it with cybersecurity). */
.mec2-icon-camera::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 7l-7 5 7 5V7z'/%3E%3Crect x='1' y='5' width='15' height='14' rx='2' ry='2'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 7l-7 5 7 5V7z'/%3E%3Crect x='1' y='5' width='15' height='14' rx='2' ry='2'/%3E%3C/svg%3E");
}
/* Cloud icon for Cloud & Data Solutions (new service added to align with Cisco/Huawei-style ICT portfolios). */
.mec2-icon-cloud::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 10h-1.26A8 8 0 1 0 9 20h9a5 5 0 0 0 0-10z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 10h-1.26A8 8 0 1 0 9 20h9a5 5 0 0 0 0-10z'/%3E%3C/svg%3E");
}
.mec2-icon-lockshield::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Crect x='9' y='10' width='6' height='5' rx='1'/%3E%3Cpath d='M10.5 10V8.5a1.5 1.5 0 0 1 3 0V10'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Crect x='9' y='10' width='6' height='5' rx='1'/%3E%3Cpath d='M10.5 10V8.5a1.5 1.5 0 0 1 3 0V10'/%3E%3C/svg%3E");
}
.mec2-icon-doccheck::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cpolyline points='9 15 11 17 15 13'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cpolyline points='9 15 11 17 15 13'/%3E%3C/svg%3E");
}
.mec2-icon-industrial::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 20h20M4 20V10l6-5v5l6-5v5l4-3v8'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 20h20M4 20V10l6-5v5l6-5v5l4-3v8'/%3E%3C/svg%3E");
}
.mec2-icon-globe::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E");
}
.mec2-icon-hardhat::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 18a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v2z'/%3E%3Cpath d='M10 5V3M14 5V3M6 14V9a6 6 0 0 1 12 0v5'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 18a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1H3a1 1 0 0 0-1 1v2z'/%3E%3Cpath d='M10 5V3M14 5V3M6 14V9a6 6 0 0 1 12 0v5'/%3E%3C/svg%3E");
}
.mec2-icon-network::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='2' width='6' height='6' rx='1'/%3E%3Crect x='2' y='16' width='6' height='6' rx='1'/%3E%3Crect x='16' y='16' width='6' height='6' rx='1'/%3E%3Cpath d='M12 8v4M5 16v-2a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v2'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='2' width='6' height='6' rx='1'/%3E%3Crect x='2' y='16' width='6' height='6' rx='1'/%3E%3Crect x='16' y='16' width='6' height='6' rx='1'/%3E%3Cpath d='M12 8v4M5 16v-2a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v2'/%3E%3C/svg%3E");
}
.mec2-icon-wifi::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5a11 11 0 0 1 14 0M8 16a6.5 6.5 0 0 1 8 0'/%3E%3Ccircle cx='12' cy='19.5' r='1'/%3E%3Cpath d='M2 8.5a16 16 0 0 1 20 0'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5a11 11 0 0 1 14 0M8 16a6.5 6.5 0 0 1 8 0'/%3E%3Ccircle cx='12' cy='19.5' r='1'/%3E%3Cpath d='M2 8.5a16 16 0 0 1 20 0'/%3E%3C/svg%3E");
}
.mec2-icon-datacenter::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3' width='20' height='7' rx='1'/%3E%3Crect x='2' y='14' width='20' height='7' rx='1'/%3E%3Cline x1='6' y1='6.5' x2='6.01' y2='6.5'/%3E%3Cline x1='6' y1='17.5' x2='6.01' y2='17.5'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='3' width='20' height='7' rx='1'/%3E%3Crect x='2' y='14' width='20' height='7' rx='1'/%3E%3Cline x1='6' y1='6.5' x2='6.01' y2='6.5'/%3E%3Cline x1='6' y1='17.5' x2='6.01' y2='17.5'/%3E%3C/svg%3E");
}
.mec2-icon-integration::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='6' r='3'/%3E%3Ccircle cx='18' cy='6' r='3'/%3E%3Ccircle cx='12' cy='18' r='3'/%3E%3Cpath d='M8.6 7.6L15.4 4.4M15.4 7.6L8.6 4.4M12 15v-4M9 11h6'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='6' cy='6' r='3'/%3E%3Ccircle cx='18' cy='6' r='3'/%3E%3Ccircle cx='12' cy='18' r='3'/%3E%3Cpath d='M8.6 7.6L15.4 4.4M15.4 7.6L8.6 4.4M12 15v-4M9 11h6'/%3E%3C/svg%3E");
}
.mec2-icon-headset::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 14v-2a9 9 0 0 1 18 0v2'/%3E%3Cpath d='M21 15a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h3v4zM3 15a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H3v4z'/%3E%3Cpath d='M18 17v1a3 3 0 0 1-3 3h-2'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 14v-2a9 9 0 0 1 18 0v2'/%3E%3Cpath d='M21 15a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2h3v4zM3 15a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2H3v4z'/%3E%3Cpath d='M18 17v1a3 3 0 0 1-3 3h-2'/%3E%3C/svg%3E");
}
.mec2-icon-gauge::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21a9 9 0 1 0-9-9c0 2.4.9 4.6 2.4 6.2'/%3E%3Cpath d='M12 12l4-4M12 12v5'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21a9 9 0 1 0-9-9c0 2.4.9 4.6 2.4 6.2'/%3E%3Cpath d='M12 12l4-4M12 12v5'/%3E%3C/svg%3E");
}
.mec2-icon-lightbulb::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 22h4M12 2a7 7 0 0 0-4 12.7c.5.4.8 1 .8 1.7v.1h6.4v-.1c0-.7.3-1.3.8-1.7A7 7 0 0 0 12 2z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18h6M10 22h4M12 2a7 7 0 0 0-4 12.7c.5.4.8 1 .8 1.7v.1h6.4v-.1c0-.7.3-1.3.8-1.7A7 7 0 0 0 12 2z'/%3E%3C/svg%3E");
}
.mec2-icon-road::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17l3-10M21 17l-3-10M3 17h18M9 7h6M10 12h4'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17l3-10M21 17l-3-10M3 17h18M9 7h6M10 12h4'/%3E%3C/svg%3E");
}
.mec2-icon-warning::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E");
}
.mec2-icon-leaf::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20A7 7 0 0 1 4 13V8a2 2 0 0 1 2-2h9a7 7 0 0 1 0 14H8'/%3E%3Cpath d='M4 13l9-9'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20A7 7 0 0 1 4 13V8a2 2 0 0 1 2-2h9a7 7 0 0 1 0 14H8'/%3E%3Cpath d='M4 13l9-9'/%3E%3C/svg%3E");
}
/* HVAC fan icon for new Mechanical & HVAC Systems service (General Contracting division). */
.mec2-icon-hvac::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.827 16.379a6.082 6.082 0 0 1-8.618-7.002l5.412 1.45a6.082 6.082 0 0 1 7.002-8.618l-1.45 5.412a6.082 6.082 0 0 1 8.618 7.002l-5.412-1.45a6.082 6.082 0 0 1-7.002 8.618l1.45-5.412Z'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.827 16.379a6.082 6.082 0 0 1-8.618-7.002l5.412 1.45a6.082 6.082 0 0 1 7.002-8.618l-1.45 5.412a6.082 6.082 0 0 1 8.618 7.002l-5.412-1.45a6.082 6.082 0 0 1-7.002 8.618l1.45-5.412Z'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3C/svg%3E");
}
/* HSE (Health, Safety, Environment) shield-check icon for new HSE Compliance service (General Contracting division). */
.mec2-icon-hse::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
}
/* Warehouse icon for new Warehousing & Storage service (Transportation & Logistics division). */
.mec2-icon-warehouse::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 8.35V20a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V8.35a1 1 0 0 1 .53-.88l9-4.67a1 1 0 0 1 .94 0l9 4.67a1 1 0 0 1 .53.88Z'/%3E%3Cpath d='M6 21V13.5a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1V21'/%3E%3Cpath d='M9 21v-6h6v6'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 8.35V20a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V8.35a1 1 0 0 1 .53-.88l9-4.67a1 1 0 0 1 .94 0l9 4.67a1 1 0 0 1 .53.88Z'/%3E%3Cpath d='M6 21V13.5a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1V21'/%3E%3Cpath d='M9 21v-6h6v6'/%3E%3C/svg%3E");
}
.mec2-icon-shieldclock::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpolyline points='12 8 12 12 14.5 13.5'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpolyline points='12 8 12 12 14.5 13.5'/%3E%3C/svg%3E");
}

/* === 10. ICT editorial (division 02) === */
body.page-id-21 .mec2-hero { padding-top: 3.5rem; padding-bottom: 3rem; }

/* compact desktop quicknav (scoped, content/behavior unchanged) */
body.page-id-21 .mec2-quicknav { padding-top: 1.25rem; padding-bottom: 1.25rem; }
body.page-id-21 .mec2-quicknav a { padding: 0.5rem 1rem; }

.mec2-intro-split .wp-block-columns,
.mec2-capability .wp-block-columns { gap: 3rem; }
.mec2-intro-split .wp-block-cover,
.mec2-capability .wp-block-cover { height: 100%; min-height: 380px; border-radius: 12px; overflow: hidden; }
.mec2-capability .wp-block-cover { min-height: 340px; }

/* soften the orange duotone into an enterprise neutral (no image changes) */
.mec2-capability .wp-block-cover::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
	background: linear-gradient(215deg, rgba(31,27,28,0.10), rgba(31,27,28,0.26));
}

.mec2-covers-intro { padding: 3rem 2rem; }
.mec2-covers-intro .mec2-section-header { margin-bottom: 0; max-width: none; }
.mec2-covers-intro .mec2-section-header h2 { margin-bottom: 0; text-align: center; }

/* editorial intro: stronger lead, better width + vertical centering (text unchanged) */
.mec2-intro-split .wp-block-columns > .wp-block-column:last-child {
	display: flex; flex-direction: column; justify-content: center;
}
.mec2-intro-split .mec2-cap-eyebrow { margin-bottom: 0.85rem; }
.mec2-intro-split .mec2-cap-head p:last-child {
	font-size: 1.3rem; line-height: 1.6; color: var(--wp--preset--color--heading);
	max-width: 36ch; margin: 0;
}

/* tightened vertical rhythm between capability sections (~12%) */
.mec2-capability { padding-top: 4.4rem; padding-bottom: 4.4rem; }
.mec2-capability .mec2-cap-head { margin-bottom: 1.75rem; }
.mec2-capability .mec2-cap-eyebrow { margin-bottom: 0.5rem; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.mec2-capability h3 { margin: 0; font-size: 1.75rem; line-height: 1.25; }
.mec2-cap-right .wp-block-columns { flex-direction: row-reverse; }
/* desktop/tablet: 2-column capability service grids (3-service families fall 2+1) */
.mec2-capability .mec2-service-grid { grid-template-columns: repeat(2, 1fr); }
#security-infrastructure .mec2-service-grid { grid-template-columns: repeat(2, 1fr); }

.mec2-interstitial { padding: 0; }
.mec2-interstitial .wp-block-cover { min-height: 160px; border-radius: 0; }

@media (max-width: 782px) {
	.mec2-intro-split .wp-block-columns,
	.mec2-capability .wp-block-columns { gap: 1rem; }
	.mec2-intro-split .wp-block-cover { min-height: 220px !important; }
	.mec2-capability .wp-block-cover { min-height: 200px !important; }
	.mec2-capability h3 { font-size: 1.5rem; }
	.mec2-cap-right .wp-block-columns,
	.mec2-cap-left .wp-block-columns { flex-direction: column; }
	/* mobile density: 2-column service grids instead of 3 */
	.mec2-capability .mec2-service-grid { grid-template-columns: repeat(2, 1fr); }
	#security-infrastructure .mec2-service-grid { grid-template-columns: repeat(2, 1fr); }
	.mec2-covers-intro { padding: 2.5rem 1.5rem; }
	/* hero: tighten mobile title density (copy unchanged) */
	body.page-id-21 .mec2-hero h1 { font-size: 2rem; line-height: 1.18; margin-bottom: 0.9rem; }
	body.page-id-21 .mec2-hero p { font-size: 1rem; line-height: 1.55; }
}
@media (max-width: 600px) {
	/* small phones: 1-column ICT service cards for readable width */
	.mec2-capability .mec2-service-grid,
	#security-infrastructure .mec2-service-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { }
