:root {
  --mp-ink: #16191c; --mp-dark: #131517; --mp-panel: #1b1e21; --mp-line-d: #2c3135; --mp-char: #23272b;
  --mp-text: #4c555c; --mp-line: #dfe3e6; --mp-bg: #eef0f2;
  --mp-silver: #c9cfd4; --mp-silver-l: #eef1f3; --mp-steel: #9aa4ac; --mp-steel-d: #5f6a72;
  --mp-head: "Barlow Condensed", "Arial Narrow", sans-serif; --mp-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mp-hdr: 76px;
}
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-anchor: none; }
body { font-family: var(--mp-body); color: var(--mp-text); overflow-x: clip; -webkit-font-smoothing: antialiased; }
body.ehf-header #masthead { position: sticky; top: 0; z-index: 60; }
.elementor-widget-html, .elementor-widget-container { min-width: 0; }

/* ---------- type ---------- */
.mp-h1 .elementor-heading-title, .mp-h2 .elementor-heading-title, .mp-h3 .elementor-heading-title { font-family: var(--mp-head); text-transform: uppercase; letter-spacing: .01em; line-height: 1.04; color: var(--mp-ink); margin: 0; }
.mp-h1 .elementor-heading-title { font-size: clamp(2.8rem, 5.8vw, 5rem); font-weight: 800; color: #fff; }
.mp-h2 .elementor-heading-title { font-size: clamp(2.1rem, 4vw, 3.3rem); font-weight: 700; }
.mp-h3 .elementor-heading-title { font-size: clamp(1.35rem, 1.9vw, 1.65rem); font-weight: 700; }
.mp-h2-lt .elementor-heading-title, .mp-dark .mp-h2 .elementor-heading-title, .mp-dark .mp-h3 .elementor-heading-title { color: #fff; }
.mp-p, .mp-p p, .mp-lead, .mp-lead p { font-family: var(--mp-body); font-size: 1.05rem; line-height: 1.65; color: var(--mp-text); margin: 0; }
.mp-lead p { font-size: clamp(1.08rem, 1.4vw, 1.22rem); max-width: 36em; }
.mp-lead-lt p, .mp-dark .mp-p p, .mp-dark .mp-lead p { color: #bfc6cc; }
.mp-lead-lt p { color: #d6dbe0; }
.mp-eyebrow { font: 700 .8rem/1 var(--mp-body); letter-spacing: .22em; text-transform: uppercase; color: var(--mp-steel-d); margin: 0 0 4px; }
.mp-eyebrow-lt, .mp-dark .mp-eyebrow, .mp-head-lt .mp-eyebrow { color: var(--mp-silver); }
.mp-head-c { max-width: 720px; }
.mp-head-lt .mp-h2 .elementor-heading-title { color: #fff; }
.mp-head-lt .mp-lead p { color: #bfc6cc; }

/* ---------- buttons ---------- */
.mp-btn .elementor-button { font: 700 .95rem/1 var(--mp-body); letter-spacing: .08em; text-transform: uppercase; padding: 18px 30px; border-radius: 3px; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.mp-btn-pri .elementor-button { background: linear-gradient(180deg, #f1f3f5, #b7bfc5); color: #14171a; border-color: #d8dde1; }
.mp-btn-ghost .elementor-button { background: rgba(0,0,0,0); color: #fff; border-color: rgba(255,255,255,.5); }
.mp-btn-dark .elementor-button { background: var(--mp-ink); color: #fff; }

/* ---------- header (dark bar, silver logo) ---------- */
.mp-hdr { background: var(--mp-dark); border-bottom: 1px solid #2a2f33; }
.mp-hdr-in { position: relative; max-width: 1240px; margin: 0 auto; height: var(--mp-hdr); padding: 0 24px; display: flex; align-items: center; gap: 28px; }
.mp-brand { display: inline-flex; align-items: center; flex: none; }
.mp-brand img { height: 46px; width: auto; display: block; }
.mp-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.mp-nav a { font: 600 .93rem/1 var(--mp-body); letter-spacing: .09em; text-transform: uppercase; color: #d3d9de; text-decoration: none; padding: 14px 14px; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.mp-nav a.is-active { color: #fff; border-bottom-color: var(--mp-silver); }
.mp-cta { flex: none; font: 700 .88rem/1 var(--mp-body); letter-spacing: .09em; text-transform: uppercase; background: linear-gradient(180deg, #f1f3f5, #b7bfc5); color: #14171a !important; text-decoration: none; padding: 15px 24px; border-radius: 3px; border: 1px solid #d8dde1; transition: background .2s; }
.mp-burger { display: none; width: 46px; height: 46px; border: 1px solid #3a4046; border-radius: 4px; background: var(--mp-dark); cursor: pointer; padding: 0; position: relative; margin-left: auto; }
.mp-burger span, .mp-burger::before, .mp-burger::after { content: ''; position: absolute; left: 12px; right: 12px; height: 2px; background: var(--mp-silver); border-radius: 2px; transition: transform .2s, opacity .2s; }
.mp-burger::before { top: 15px; } .mp-burger span { top: 22px; } .mp-burger::after { top: 29px; }
.mp-menu-open .mp-burger::before { transform: translateY(7px) rotate(45deg); }
.mp-menu-open .mp-burger::after { transform: translateY(-7px) rotate(-45deg); }
.mp-menu-open .mp-burger span { opacity: 0; }

/* ---------- hero: full-width photo banner ---------- */
.mp-hero { position: relative; background: #0c0d0e; overflow: hidden; min-height: 600px; }
.mp-hero .mp-hero-bg { position: absolute !important; inset: 0; z-index: 0; width: 100% !important; max-width: none !important; margin: 0 !important; }
.mp-hero-bg .elementor-widget-container, .mp-hero-bg img { display: block; width: 100%; height: 100%; }
.mp-hero-bg img { object-fit: cover; object-position: 60% 55%; filter: grayscale(.35) contrast(1.05); }
.mp-hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(8,9,10,.94) 0%, rgba(8,9,10,.78) 36%, rgba(8,9,10,.25) 72%, rgba(8,9,10,.1) 100%); }
/* the inner wrapper must not form its own stacking context, or the photo would sit above the overlay */
.mp-hero > .e-con-inner { position: static; }
.mp-hero .mp-hero-copy, .mp-hero .elementor-widget-html { position: relative; z-index: 2; }
.mp-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.2); }
.mp-strip li { display: flex; align-items: center; gap: 14px; padding: 26px 20px 4px 0; color: #e8ecef; font: 700 1.05rem/1 var(--mp-head); letter-spacing: .12em; text-transform: uppercase; }
.mp-strip li + li { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.2); }
.mp-strip i { color: var(--mp-silver); font-size: 1.25rem; width: 28px; }

/* ---------- section backgrounds ---------- */
.mp-light { background: var(--mp-bg); }
.mp-dark { background: var(--mp-dark); }

/* ---------- solution cards ---------- */
.mp-card { background: #fff; border: 1px solid var(--mp-line); border-radius: 4px; border-top: 3px solid var(--mp-silver); transition: border-color .25s, box-shadow .25s; }
.mp-ic { width: 60px; height: 60px; border-radius: 6px; display: grid; place-items: center; background: #e4e8eb; color: #38414a; font-size: 1.5rem; }
.mp-link { display: inline-flex; align-items: center; gap: 10px; font: 700 .88rem/1 var(--mp-body); letter-spacing: .1em; text-transform: uppercase; color: var(--mp-steel-d); }
.mp-dark .mp-link { color: var(--mp-silver); }

/* ---------- product tiles ---------- */
.mp-prod { background: var(--mp-panel); border: 1px solid var(--mp-line-d); border-radius: 4px; overflow: hidden; transition: border-color .25s; }
.mp-prod-art { height: 270px; display: grid; place-items: center; background: radial-gradient(260px 200px at 50% 55%, rgba(190,200,208,.16), rgba(190,200,208,0) 70%), linear-gradient(180deg, #23272b, #181b1e); padding: 22px 20px 6px; overflow: hidden; }
.mp-art { display: block; }
.mp-prod-art .mp-art { width: auto; height: 100%; max-width: 100%; }
.mp-prod .mp-p p { color: #adb5bb; font-size: .98rem; }

/* ---------- industries (photo tiles) ---------- */
.mp-ind { position: relative; overflow: hidden; border-radius: 4px; transition: border-color .25s; }
.mp-ind-ic { width: 60px; height: 60px; border-radius: 6px; display: grid; place-items: center; background: #e4e8eb; color: #38414a; font-size: 1.5rem; }
.mp-ind-photo { min-height: 430px; justify-content: flex-end; background: #16181a; border: 1px solid #16181a; isolation: isolate; }
.mp-ind-photo .mp-ind-imgw { position: absolute !important; inset: 0; z-index: 0; width: 100% !important; max-width: none !important; margin: 0 !important; }
.mp-ind-imgw .elementor-widget-container, .mp-ind-imgw img { display: block; width: 100%; height: 100%; }
.mp-ind-imgw img { object-fit: cover; filter: grayscale(.7) contrast(1.05); }
.mp-ind-photo:nth-child(1) .mp-ind-imgw img { object-position: 80% 62%; }
.mp-ind-photo:nth-child(2) .mp-ind-imgw img { object-position: 52% 50%; }
.mp-ind-photo:nth-child(3) .mp-ind-imgw img { object-position: 34% 50%; }
.mp-ind-photo:nth-child(4) .mp-ind-imgw img { object-position: 50% 50%; }
.mp-ind-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(10,11,12,.94) 0%, rgba(10,11,12,.62) 46%, rgba(10,11,12,.1) 100%); }
.mp-ind-photo > *:not(.mp-ind-imgw) { position: relative; z-index: 2; }
.mp-ind-photo .mp-h3 .elementor-heading-title { color: #fff; }
.mp-ind-photo .mp-p p { color: #d7dde1; }
.mp-ind-photo .mp-ind-ic { background: rgba(238,241,243,.92); color: #20262b; }

/* ---------- why ---------- */
.mp-why-visual { min-width: 0; }
.mp-why-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: 62% 50%; border-radius: 4px; box-shadow: -12px 12px 0 #2f363b; filter: grayscale(.5) contrast(1.05); }
.mp-why-row { display: flex; gap: 20px; align-items: flex-start; padding: 22px 0; border-top: 1px solid var(--mp-line-d); }
.mp-why-row h3 { margin: 0 0 6px; font: 700 1.5rem/1.1 var(--mp-head); text-transform: uppercase; color: #fff; }
.mp-why-row p { margin: 0; color: #adb5bb; font-size: 1.02rem; line-height: 1.6; }
.mp-why-ic { flex: none; width: 52px; height: 52px; border-radius: 6px; display: grid; place-items: center; background: #272c30; color: var(--mp-silver); font-size: 1.3rem; }

/* ---------- silver call to action band ---------- */
.mp-sec.mp-band { background: linear-gradient(120deg, #e3e7ea 0%, #b6bec5 100%); }
.mp-band .mp-h2 .elementor-heading-title { color: var(--mp-ink); }
.mp-band .mp-lead p, .mp-band .mp-lead-lt p { color: #2a3036; }
.mp-band .mp-btn-dark .elementor-button:hover { background: #3a4147; }

/* ---------- contact form ---------- */
.mp-form-card { background: #fff; border: 1px solid var(--mp-line); border-radius: 4px; box-shadow: 0 30px 60px -45px rgba(0,0,0,.35); }
.mp-form .wpcf7-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mp-f { display: grid; gap: 6px; } .mp-full { grid-column: 1 / -1; }
.mp-f label { font: 700 .8rem/1 var(--mp-body); letter-spacing: .1em; text-transform: uppercase; color: var(--mp-ink); }
.mp-form .wpcf7-form-control-wrap { display: block; }
.mp-form input[type=text], .mp-form input[type=email], .mp-form input[type=tel], .mp-form textarea { width: 100%; font: 400 1rem/1.4 var(--mp-body); color: var(--mp-ink); padding: 14px 16px; border: 1.5px solid var(--mp-line); border-radius: 3px; background: #fff; transition: border-color .2s; box-sizing: border-box; }
.mp-form input:focus, .mp-form textarea:focus { outline: none; border-color: var(--mp-steel-d); box-shadow: 0 0 0 3px rgba(95,106,114,.2); }
.mp-form .mp-submit { background: var(--mp-ink); color: #fff; font: 700 .95rem/1 var(--mp-body); letter-spacing: .08em; text-transform: uppercase; padding: 18px 34px; border: 0; border-radius: 3px; cursor: pointer; transition: background .2s; }
.mp-form .wpcf7-response-output { grid-column: 1 / -1; margin: 6px 0 0; }

/* ---------- footer ---------- */
.mp-ftr { background: #0f1011; color: #aab2b8; }
.mp-ftr-in { max-width: 1240px; margin: 0 auto; padding: 64px 24px 28px; }
.mp-ftr-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding-bottom: 36px; border-bottom: 1px solid #25292d; }
.mp-ftr .mp-brand img { height: 50px; }
.mp-ftr-nav { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.mp-ftr-nav a { color: #cfd5da; text-decoration: none; font: 600 .9rem/1 var(--mp-body); letter-spacing: .1em; text-transform: uppercase; transition: color .2s; }
.mp-credits { margin: 26px 0 0; font-size: .78rem; line-height: 1.7; color: #7f888f; }
.mp-credits a { color: #aab2b8; text-decoration: underline; text-underline-offset: 2px; }
.mp-ftr-bot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 22px; margin-top: 22px; border-top: 1px solid #25292d; font-size: .9rem; }
.mp-ftr-bot a { color: #cfd5da; text-decoration: none; }

/* ---------- hover (colour changes only, pointer devices) ---------- */
@media (hover: hover) {
  .mp-btn-pri .elementor-button:hover, .mp-cta:hover { background: #fff; }
  .mp-btn-ghost .elementor-button:hover { background: rgba(255,255,255,.12); border-color: #fff; }
  .mp-btn-dark .elementor-button:hover { background: #3a4147; }
  .mp-nav a:hover { color: #fff; border-bottom-color: var(--mp-steel); }
  .mp-card:hover { border-color: var(--mp-steel); border-top-color: var(--mp-steel-d); box-shadow: 0 18px 34px -26px rgba(0,0,0,.35); }
  .mp-prod:hover { border-color: var(--mp-steel); }
  .mp-ind-photo:hover { border-color: var(--mp-silver); }
  .mp-form .mp-submit:hover { background: #3a4147; }
  .mp-ftr-nav a:hover, .mp-ftr-bot a:hover { color: #fff; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .mp-hdr-in { padding: 0 16px; gap: 12px; }
  .mp-burger { display: block; }
  .mp-cta { display: none; }
  .mp-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--mp-dark); padding: 8px 16px 20px; border-bottom: 1px solid #2a2f33; box-shadow: 0 24px 40px -24px rgba(0,0,0,.6); margin-left: 0; }
  .mp-menu-open .mp-nav { display: flex; }
  .mp-nav a { padding: 18px 8px; border-bottom: 1px solid #2a2f33; font-size: 1.05rem; }
  .mp-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mp-strip li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .mp-strip li:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.2); margin-top: 18px; }
  .mp-hero::after { background: linear-gradient(180deg, rgba(8,9,10,.82) 0%, rgba(8,9,10,.55) 45%, rgba(8,9,10,.3) 100%); }
  .mp-hero-bg img { object-position: 68% 50%; filter: grayscale(.2) contrast(1.05) brightness(1.15); }
  .mp-hero .mp-h1 .elementor-heading-title, .mp-hero .mp-lead p { text-shadow: 0 2px 14px rgba(0,0,0,.85); }
  .mp-form .wpcf7-form { grid-template-columns: 1fr; }
  .mp-why-photo img { aspect-ratio: 16 / 11; box-shadow: -8px 8px 0 #2f363b; }
  .mp-ind-photo { min-height: 340px; }
}
@media (max-width: 640px) {
  .mp-brand img { height: 40px; }
  .mp-strip li { font-size: .92rem; padding-right: 8px; }
  .mp-strip li + li { padding-left: 14px; }
  .mp-btn .elementor-button { padding: 16px 22px; }
}
