/**
 * MES responsive overrides — reference parity
 * Load after static-interactions.css. Desktop (1601px+) unchanged.
 * Breakpoints: large laptop 1200–1600 · laptop 1024–1199 · tablet landscape 901–1023
 * · tablet portrait 768–900 · mobile landscape 481–767 · mobile portrait ≤480
 * Cache: 20260806g
 */

/* ==========================================
   Global
========================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body,
#root {
  max-width: 100%;
  overflow-x: clip;
}

img:not(.absolute):not([class*="object-cover"]):not(.mes-hero-backdrop):not(.mes-app-card-img):not(.mes-industry-slider-img):not(.mes-spotlight-panel-img):not(.mes-blog-hero-img):not(.mes-guide-cover-img),
video:not([class*="object-cover"]):not(.mes-process-video),
canvas,
svg,
iframe {
  max-width: 100%;
  height: auto;
}

/* Shared container rhythm — reference max-w-7xl + px-6/md:px-10 */
[class*="max-w-7xl"],
[class*="max-w-6xl"],
[class*="max-w-5xl"],
[class*="max-w-4xl"] {
  box-sizing: border-box;
}

/* Decorative oversized background type */
[class*="mes-style-0204"],
[class*="mes-style-0227"],
[class*="mes-style-0246"],
[class*="mes-style-0276"],
[class*="mes-style-0290"],
[class*="mes-style-0330"],
[class*="mes-style-0442"] {
  max-width: 100vw;
  overflow: hidden;
}

/* Side scroll rail — desktop only */
.fixed.right-6.top-1\/2.z-40.hidden.-translate-y-1\/2.lg\:block,
[class*="fixed"][class*="right-6"][class*="top-1/2"][class*="lg:block"] {
  display: none;
}

/* Mobile — collapse responsive grids (override static [class*="md:grid-cols-2"] → 2-col) */
@media (max-width: 767px) {
  [class*="md:grid-cols-2"]:not(.mes-about-stats-grid):not([class*="mes-about-stats"]),
  [class*="md:grid-cols-3"]:not(.mes-about-stats-grid),
  [class*="md:grid-cols-4"]:not(.mes-about-stats-grid),
  [class*="lg:grid-cols-2"],
  [class*="lg:grid-cols-3"],
  [class*="lg:grid-cols-4"]{
    grid-template-columns: 1fr !important;
  }

  [class*="sm:grid-cols-2"]:not(footer [class*="sm:grid-cols-4"]),
  [class*="sm:grid-cols-2"]:not(.mes-about-stats-grid):not([class*="mes-about-stats"]) {
    grid-template-columns: repeat(2,minmax(0,1fr))!important;
  }

}

/* ==========================================
   Header
========================================== */

@media (max-width: 767px) {
  header.mes-site-header,
  header.fixed.top-0 {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9998 !important;
    height: 64px !important;
    min-height: 64px !important;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.64)) !important;
    backdrop-filter: blur(12px) !important;
  }

  header.mes-site-header .md\:hidden,
  header .md\:hidden {
    display: flex !important;
    height: 64px !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  header.mes-site-header .md\:flex,
  header.mes-site-header .md\:block,
  header .md\:flex,
  header .md\:block {
    display: none !important;
  }

  header.mes-site-header img,
  header .md\:hidden img {
    max-height: 2.375rem !important;
    width: auto !important;
  }

  header button[aria-label="Open menu"] {
    display: flex !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border: 0px solid rgba(255, 255, 255, 0.18) !important;
    background: transparent !important;
  }

  .mes-mega-panel {
    display: none !important;
  }

  .mes-mobile-menu-panel {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10000 !important;
    background: rgba(0, 0, 0, 0.72) !important;
    overflow: hidden !important;
  }

  .mes-mobile-menu-panel.is-open {
    opacity: 1 !important;
    pointer-events: auto !important;
  }

  .mes-mobile-menu-panel .mes-mobile-menu-inner {
    height: 100% !important;
    max-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
  }
}

/* ==========================================
   Navigation
========================================== */

/* Lock page scroll when mobile menu is open — only menu panel scrolls */
html:has(body.mes-mobile-menu-open),
body.mes-mobile-menu-open {
  overflow: hidden !important;
  overscroll-behavior: none !important;
  touch-action: none;
}

body.mes-mobile-menu-open .mes-mobile-menu-panel,
body.mes-mobile-menu-open .mes-mobile-menu-panel .mes-mobile-menu-inner {
  touch-action: auto;
}

@media (max-width: 900px) {
  .mes-mega-panel {
    position: absolute !important;
    top: 104px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    padding: 1.125rem !important;
    min-height: auto !important;
  }

  .mes-mega-panel .mes-mega-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0 !important;
  }

  .mes-mega-panel .mes-mega-col {
    border-left: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 1.125rem !important;
  }

  .mes-mega-panel .mes-mega-footer {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

@media (max-width: 620px) {
  .mes-mega-panel .mes-mega-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================
   Home
========================================== */

/* Capabilities process cards (#capabilities) — full-bleed cover images like reference */
#capabilities .mt-16.grid > div > .group {
  position: relative;
  overflow: hidden;
}

#capabilities .mt-16.grid > div > .group > img[class*="object-cover"],
#capabilities .mt-16.grid img.absolute.inset-0 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center center;
}

#capabilities .mt-16.grid > div > .group > .absolute.inset-0.bg-gradient-to-t,
#capabilities .mt-16.grid > div > .group > .absolute.inset-x-0.top-0 {
  pointer-events: none;
}

/* Tablet — 2-col grid, uniform card height (reference parity) */
@media (min-width: 640px) and (max-width: 1023px) {
  #capabilities .mt-16.grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  #capabilities .mt-16.grid > [class*="lg:col-span"] {
    grid-column: span 1;
  }

  #capabilities .mt-16.grid > div > .group {
    height: 23.75rem;
    min-height: 23.75rem;
  }

  #capabilities .mt-16.grid > div > .group h3[class*="text-3xl"],
  #capabilities .mt-16.grid > div > .group h3[class*="text-2xl"] {
    font-size: 1.75rem;
    line-height: 1.05;
  }

  #capabilities .mt-16.grid > div > .group p {
    font-size: 0.9375rem;
    line-height: 1.55;
  }
}

/* Mobile portrait — single column, reference card height */
@media (max-width: 639px) {
  #capabilities .mt-16.grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  #capabilities .mt-16.grid > div > .group {
    height: 20rem;
    min-height: 20rem;
  }

  #capabilities .mt-16.grid > div > .group h3 {
    font-size: 1.625rem;
  }

  #capabilities .mt-16.grid > div > .group p {
    font-size: 0.875rem;
  }
}

/* Mobile landscape */
@media (min-width: 481px) and (max-width: 639px) {
  #capabilities .mt-16.grid > div > .group {
    height: 21.5rem;
    min-height: 21.5rem;
  }
}

/* Laptop — restore asymmetric 12-col layout with reference heights */
@media (min-width: 1024px) and (max-width: 1199px) {
  #capabilities .mt-16.grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1.25rem;
  }

  #capabilities .mt-16.grid > .lg\:col-span-7 {
    grid-column: span 7;
  }

  #capabilities .mt-16.grid > .lg\:col-span-5 {
    grid-column: span 5;
  }

  #capabilities .mt-16.grid > .lg\:col-span-4 {
    grid-column: span 4;
  }

  #capabilities .mt-16.grid > .lg\:col-span-7 > .group,
  #capabilities .mt-16.grid > .lg\:col-span-5 > .group {
    height: 26.25rem;
    min-height: 26.25rem;
  }

  #capabilities .mt-16.grid > .lg\:col-span-4 > .group {
    height: 20.5rem;
    min-height: 20.5rem;
  }
}

/* Large laptop — match reference lg heights without changing desktop 1601px+ */
@media (min-width: 1200px) and (max-width: 1600px) {
  #capabilities .mt-16.grid > .lg\:col-span-7 > .group,
  #capabilities .mt-16.grid > .lg\:col-span-5 > .group {
    height: 27.5rem;
    min-height: 27.5rem;
  }

  #capabilities .mt-16.grid > .lg\:col-span-4 > .group {
    height: 21.5rem;
    min-height: 21.5rem;
  }
}

/* Home hero outro — full-bleed background video (all breakpoints) */
body.home #root > div:first-child .mes-hero-outro .mes-hero-outro-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

body.home #root > div:first-child .mes-hero-outro .mes-hero-outro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

body.home #root > div:first-child .mes-hero-outro.is-active .mes-hero-outro-media > .absolute.inset-0 {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(26, 13, 4, 0.42) 0%, transparent 58%),
    linear-gradient(180deg, rgba(8, 12, 20, 0.62) 0%, rgba(8, 12, 20, 0.72) 100%) !important;
}

body.home #root > div:first-child .mes-hero-outro.is-active .mes-hero-outro-bg {
  opacity: 1;
}

body.home #root > div:first-child .mes-hero-outro .mes-hero-outro-orb,
body.home #root > div:first-child .mes-hero-outro .mes-hero-outro-ring-1,
body.home #root > div:first-child .mes-hero-outro .mes-hero-outro-ring-2 {
  z-index: 1;
}

body.home #root > div:first-child .mes-hero-outro .mes-hero-outro-content {
  z-index: 2;
}

/* Home hero mobile — 50% title / 50% industry video strip (first screen) */
@media (max-width: 767px) {
  body.home #root > div:first-child {
    height: 100svh !important;
    min-height: 100svh !important;
    max-height: 100svh !important;
    overflow: hidden !important;
    padding-top: 0 !important;
    background: #080c14 !important;
  }

  body.home #root > div:first-child > .mes-hero-showcase,
  body.home #root > div:first-child > .absolute.inset-0.flex.mes-hero-showcase {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
    background: #080c14 !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0122,
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0123,
  body.home #root > div:first-child .mes-hero-showcase .mes-hero-divider,
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0132 {
    display: none !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0124 {
    position: relative !important;
    z-index: 5 !important;
    flex: 0 0 50% !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 50% !important;
    max-height: 50% !important;
    min-height: 0 !important;
    clip-path: none !important;
    -webkit-clip-path: none !important;
    padding: 4.5rem 1.375rem 0.75rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    overflow: hidden !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0124 p:first-child,
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0124 h1,
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0124 h2 {
    width: 100% !important;
    text-align: center !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0124 p:first-child {
    margin: 0 0 0.5rem !important;
    font-size: 0.6875rem !important;
    line-height: 1.2 !important;
    letter-spacing: 0.28em !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0124 h1,
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0124 h2 {
    max-width: 100% !important;
    white-space: normal !important;
    text-wrap: balance !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0124 h1 {
    font-size: clamp(1.875rem, 10vw, 2.625rem) !important;
    line-height: 0.9 !important;
    letter-spacing: -0.03em !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0124 h2.mes-hero-partner {
    font-size: clamp(1.375rem, 6.5vw, 1.875rem) !important;
    line-height: 1 !important;
    margin-top: 0.25rem !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0124 .mes-style-0130 {
    width: 4.5rem !important;
    min-width: 4.5rem !important;
    height: 3px !important;
    margin: 0.75rem auto 0 !important;
    transform-origin: left center !important;
  }

  /* Hide value grid on mobile (reference) */
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0124 > div.relative.flex {
    display: none !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0133 {
    position: relative !important;
    flex: 0 0 50% !important;
    width: 100% !important;
    height: 50% !important;
    max-height: 50% !important;
    min-height: 0 !important;
    inset: auto !important;
    left: auto !important;
    right: auto !important;
    overflow: hidden !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0134 {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    transform: none !important;
    left: 0 !important;
    gap: 0 !important;
    overflow: hidden !important;
    grid-template-columns: none !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0135 {
    display: none !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0136,
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0143,
  body.home #root > div:first-child .mes-hero-showcase .mes-hero-card {
    position: relative !important;
    flex: 0.85 1 0 !important;
    width: auto !important;
    min-width: 0 !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
    cursor: pointer !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-hero-card.is-active,
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0136.is-active {
    flex: 6.5 1 0 !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-hero-card.is-inactive,
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0143.is-inactive {
    flex: 0.85 1 0 !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0137 {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    left: 0 !important;
    transform: none !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0137 video,
  body.home #root > div:first-child .mes-hero-showcase .mes-hero-card video {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0139 {
    transform: none !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-hero-card > div.absolute.inset-x-0.bottom-0,
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0136 > div.absolute.inset-x-0.bottom-0,
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0143 > div.absolute.inset-x-0.bottom-0 {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-hero-card.is-inactive > div.absolute.inset-x-0.bottom-0 span,
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0143.is-inactive > div.absolute.inset-x-0.bottom-0 span {
    opacity: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-hero-card.is-active > div.absolute.inset-x-0.bottom-0 span,
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0136.is-active > div.absolute.inset-x-0.bottom-0 span {
    opacity: 1 !important;
    font-size: 0.625rem !important;
    letter-spacing: 0.14em !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0140 {
    width: 1.125rem !important;
    height: 1.125rem !important;
  }

  /* Last slide — full-viewport ENGINEERING EXCELLENCE + background video */
  body.home #root > div:first-child .mes-hero-outro {
    z-index: 35 !important;
  }

  html.mes-hero-outro-active body.home #root > div:first-child .mes-hero-outro.is-active {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-height: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  html.mes-hero-outro-active body.home #root > div:first-child .mes-hero-outro.is-active .mes-hero-outro-bg {
    opacity: 1 !important;
  }

  html.mes-hero-outro-active body.home #root > div:first-child .mes-hero-outro.is-active .mes-hero-outro-media > .absolute.inset-0 {
    background:
      radial-gradient(ellipse at 30% 50%, rgba(26, 13, 4, 0.42) 0%, transparent 58%),
      linear-gradient(180deg, rgba(8, 12, 20, 0.62) 0%, rgba(8, 12, 20, 0.72) 100%) !important;
  }

  html.mes-hero-outro-active body.home #root > div:first-child .mes-hero-outro.is-active .mes-hero-outro-content {
    position: relative !important;
    z-index: 2 !important;
    padding: 0 1.5rem !important;
  }

  html.mes-hero-outro-active body.home #root > div:first-child .mes-hero-outro.is-active .mes-hero-outro-title {
    font-size: clamp(2.5rem, 13vw, 3.5rem) !important;
    line-height: 0.92 !important;
  }

  html.mes-hero-outro-active body.home #root > div:first-child .mes-hero-outro.is-active .mes-hero-outro-eyebrow {
    font-size: 0.6875rem !important;
    letter-spacing: 0.32em !important;
  }

  html.mes-hero-outro-active body.home #root > div:first-child .mes-hero-outro.is-active .mes-hero-outro-tags {
    flex-wrap: wrap !important;
    justify-content: center !important;
    row-gap: 0.5rem !important;
    column-gap: 0.75rem !important;
    max-width: 92vw !important;
  }

  html.mes-hero-outro-active body.home #root > div:first-child .mes-hero-outro.is-active .mes-hero-outro-tag {
    font-size: 0.625rem !important;
    letter-spacing: 0.12em !important;
  }

  html.mes-hero-outro-active body.home #root > div:first-child .mes-hero-outro.is-active .mes-hero-outro-tag-divider {
    display: none !important;
  }
}

/* ==========================================
   About
========================================== */

.mes-about-process-row,
.mes-about-mobile-process-list {
  width: 100%;
}

.mes-founder-video-frame {
  width: 100%;
  max-width: 100%;
}

/* Stats band — keep 1px dividers on mobile (override generic grid gap rules) */
@media (max-width: 767px) {
  .mes-about-stats-grid,
  [class*="mes-about-stats"] {
    gap: 1px !important;
  }
}

@media (max-width: 767px) and (min-width: 481px) {
  .mes-about-process-row {
    display: none !important;
  }

  .mes-about-mobile-process-list {
    display: grid !important;
    gap: 0.75rem;
  }

  .mes-about-mobile-process-list a {
    min-height: 4.5rem;
  }
}

@media (max-width: 1023px) and (min-width: 768px) {
  /* Skewed horizontal accordion breaks when stacked — use mobile cards instead */
  #what-we-do .mes-about-process-row {
    display: none !important;
  }

  #what-we-do .overflow-hidden.rounded-2xl > .flex.flex-col.gap-2,
  #what-we-do .mes-about-mobile-process-list {
    display: grid !important;
    gap: 0.75rem;
  }

  #what-we-do .overflow-hidden.rounded-2xl > .flex.flex-col.gap-2 > a,
  #what-we-do .mes-about-mobile-process-list a {
    min-height: 8.5rem;
  }
}

/* ==========================================
   Home — mobile portrait sliders (pipeline + capabilities)
========================================== */

.mes-pipeline-dots,
.mes-capabilities-dots,
.mes-industries-dots,
.mes-mfg-process-dots,
.mes-scm-benefit-dots,
.mes-scm-hub-dots,
.mes-eng-benefit-dots,
.mes-eng-process-dots,
.mes-gs-benefit-dots,
.mes-qm-benefit-dots,
.mes-sc-benefit-dots,
.mes-wh-benefit-dots,
.mes-wh-hub-dots,
.mes-dc-region-dots,
.mes-dc-industry-dots,
.mes-ic-benefit-dots,
.mes-ic-support-dots,
.mes-ic-industry-dots,
.mes-fr-benefit-dots,
.mes-fr-industry-dots,
.mes-cnc-region-dots,
.mes-cnc-industry-dots,
.mes-ext-industry-dots,
.mes-ta-app-dots,
.mes-ta-related-dots,
.mes-hy-app-dots,
.mes-hy-process-dots,
.mes-hy-related-dots,
.mes-hy-case-dots,
.mes-ev-app-dots,
.mes-ev-process-dots,
.mes-ev-related-dots,
.mes-ra-comp-dots,
.mes-ra-robot-dots,
.mes-ra-case-dots,
.mes-ab-process-dots,
.mes-ab-presence-dots,
.mes-ab-culture-dots,
.mes-ab-principles-dots,
.mes-ab-companies-dots,
.mes-ab-customers-dots,
.mes-in-blog-dots,
.mes-in-case-dots,
.mes-in-wp-dots,
.mes-in-pub-dots,
.mes-in-guide-dots,
.mes-in-tech-dots,
.mes-in-video-dots {
  display: none;
}

@media (max-width: 480px) {
  .mes-pipeline-slider,
  .mes-capabilities-slider,
  .mes-industries-slider {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding: 0 1.5rem 0.25rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .mes-pipeline-slider {
    margin-top: 2rem !important;
  }

  .mes-capabilities-slider {
    margin-top: 4rem !important;
  }

  .mes-industries-slider {
    align-items: stretch !important;
  }

  .mes-pipeline-slider::-webkit-scrollbar,
  .mes-capabilities-slider::-webkit-scrollbar,
  .mes-industries-slider::-webkit-scrollbar {
    display: none;
  }

  .mes-pipeline-slide,
  .mes-capabilities-slide,
  .mes-industries-slide {
    flex: 0 0 86% !important;
    min-width: 86% !important;
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }

  .mes-pipeline-slide > .flex.shrink-0 {
    display: none !important;
  }

  .mes-pipeline-slide > .group {
    min-height: 18.5rem;
  }

  .mes-capabilities-slide > a {
    display: block;
    height: 100%;
  }

  .mes-capabilities-slide .group {
    min-height: 20rem;
    height: 20rem !important;
  }

  .mes-industries-slide {
    align-self: stretch !important;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    min-height: 100%;
  }

  .mes-pipeline-dots,
  .mes-capabilities-dots,
  .mes-industries-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .mes-pipeline-dot,
  .mes-capabilities-dot,
  .mes-industries-dot {
    width: 0.5rem;
    height: 0.5rem;
    padding: 0;
    border: 0;
    border-radius: 9999px;
    cursor: pointer;
    transition: width 0.25s ease, background-color 0.25s ease, opacity 0.25s ease;
  }

  .mes-pipeline-dot {
    background: rgba(255, 255, 255, 0.28);
  }

  .mes-capabilities-dot {
    background: rgba(10, 22, 40, 0.22);
  }

  .mes-industries-dot {
    background: rgba(10, 22, 40, 0.22);
  }

  .mes-pipeline-dot.is-active,
  .mes-capabilities-dot.is-active,
  .mes-industries-dot.is-active {
    width: 1.5rem;
    background: #f37121;
  }
}

/* Home — industries mobile cards: image fills full card height */
@media (max-width: 1023px) {
  .mes-industries-slide {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
  }

  .mes-industries-slide > div {
    display: grid !important;
    grid-template: 1fr / 1fr;
    flex: 1 1 auto;
    width: 100%;
    min-height: 20rem;
    height: 100%;
    background-color: #0a1628;
    overflow: hidden;
    isolation: isolate;
  }

  .mes-industries-slide > div > img,
  .mes-industries-slide > div > .mes-style-0164,
  .mes-industries-slide > div > .absolute.inset-x-0.top-0,
  .mes-industries-slide > div > .relative.flex {
    grid-area: 1 / 1;
  }

  .mes-industries-slide > div > img {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center center;
    z-index: 0;
  }

  .mes-industries-slide > div > .mes-style-0164 {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    z-index: 1;
    pointer-events: none;
  }

  .mes-industries-slide > div > .absolute.inset-x-0.top-0 {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    z-index: 3;
    align-self: start;
  }

  .mes-industries-slide > div > .relative.flex {
    position: relative !important;
    z-index: 2;
    align-self: end;
    width: 100%;
    min-height: 100%;
    justify-content: flex-end;
  }
}

/* Industries portrait slider — uniform card height */
@media (max-width: 480px) {
  .mes-industries-slide {
    align-self: stretch !important;
    height: 100% !important;
  }

  .mes-industries-slide > div {
    flex: 1 1 auto !important;
    min-height: 32rem !important;
    height: 32rem !important;
  }
}

/* Page sliders — horizontal slider on mobile (mfg, scm, eng, gs, qm, sc, wh, dc, ic, fr, cnc, ext, ta, hy, ev, ra) */
@media (max-width: 767px) {
  .mes-mfg-process-slider,
  .mes-scm-benefit-slider,
  .mes-scm-hub-slider,
  .mes-eng-benefit-slider,
  .mes-eng-process-slider,
  .mes-gs-benefit-slider,
  .mes-qm-benefit-slider,
  .mes-sc-benefit-slider,
  .mes-wh-benefit-slider,
  .mes-wh-hub-slider,
  .mes-dc-region-slider,
  .mes-dc-industry-slider,
  .mes-ic-benefit-slider,
  .mes-ic-support-slider,
  .mes-ic-industry-slider,
  .mes-fr-benefit-slider,
  .mes-fr-industry-slider,
  .mes-cnc-region-slider,
  .mes-cnc-industry-slider,
  .mes-ext-industry-slider,
  .mes-ta-app-slider,
  .mes-ta-related-slider,
  .mes-hy-app-slider,
  .mes-hy-process-slider,
  .mes-hy-related-slider,
  .mes-hy-case-slider,
  .mes-ev-app-slider,
  .mes-ev-process-slider,
  .mes-ev-related-slider,
  .mes-ra-comp-slider,
  .mes-ra-robot-slider,
  .mes-ra-case-slider,
  .mes-ab-process-slider,
  .mes-ab-presence-slider,
  .mes-ab-culture-slider,
  .mes-ab-principles-slider,
  .mes-ab-companies-slider,
  .mes-ab-customers-slider,
  .mes-in-blog-slider,
  .mes-in-case-slider,
  .mes-in-wp-slider,
  .mes-in-pub-slider,
  .mes-in-guide-slider,
  .mes-in-tech-slider,
  .mes-in-video-slider {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
    margin-top: 2.5rem !important;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding: 0 1.5rem 0.25rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .mes-ab-process-slider,
  .mes-ab-presence-slider,
  .mes-ab-culture-slider,
  .mes-ab-principles-slider,
  
  .mes-ab-customers-slider,
  .mes-ic-support-slider{margin-top: 0 !important;}


  .mes-ab-customers-slider{border: 0 !important; background-color: transparent !important; margin-top: 15px !important;}

  .mes-ab-companies-slider{border: 0 !important; background-color: transparent !important;}


  .mes-mfg-process-slider::-webkit-scrollbar,
  .mes-scm-benefit-slider::-webkit-scrollbar,
  .mes-scm-hub-slider::-webkit-scrollbar,
  .mes-eng-benefit-slider::-webkit-scrollbar,
  .mes-eng-process-slider::-webkit-scrollbar,
  .mes-gs-benefit-slider::-webkit-scrollbar,
  .mes-qm-benefit-slider::-webkit-scrollbar,
  .mes-sc-benefit-slider::-webkit-scrollbar,
  .mes-wh-benefit-slider::-webkit-scrollbar,
  .mes-wh-hub-slider::-webkit-scrollbar,
  .mes-dc-region-slider::-webkit-scrollbar,
  .mes-dc-industry-slider::-webkit-scrollbar,
  .mes-ic-benefit-slider::-webkit-scrollbar,
  .mes-ic-support-slider::-webkit-scrollbar,
  .mes-ic-industry-slider::-webkit-scrollbar,
  .mes-fr-benefit-slider::-webkit-scrollbar,
  .mes-fr-industry-slider::-webkit-scrollbar,
  .mes-cnc-region-slider::-webkit-scrollbar,
  .mes-cnc-industry-slider::-webkit-scrollbar,
  .mes-ext-industry-slider::-webkit-scrollbar,
  .mes-ta-app-slider::-webkit-scrollbar,
  .mes-ta-related-slider::-webkit-scrollbar,
  .mes-hy-app-slider::-webkit-scrollbar,
  .mes-hy-process-slider::-webkit-scrollbar,
  .mes-hy-related-slider::-webkit-scrollbar,
  .mes-hy-case-slider::-webkit-scrollbar,
  .mes-ev-app-slider::-webkit-scrollbar,
  .mes-ev-process-slider::-webkit-scrollbar,
  .mes-ev-related-slider::-webkit-scrollbar,
  .mes-ra-comp-slider::-webkit-scrollbar,
  .mes-ra-robot-slider::-webkit-scrollbar,
  .mes-ra-case-slider::-webkit-scrollbar,
  .mes-ab-process-slider::-webkit-scrollbar,
  .mes-ab-presence-slider::-webkit-scrollbar,
  .mes-ab-culture-slider::-webkit-scrollbar,
  .mes-ab-principles-slider::-webkit-scrollbar,
  .mes-ab-companies-slider::-webkit-scrollbar,
  .mes-ab-customers-slider::-webkit-scrollbar,
  .mes-in-blog-slider::-webkit-scrollbar,
  .mes-in-case-slider::-webkit-scrollbar,
  .mes-in-wp-slider::-webkit-scrollbar,
  .mes-in-pub-slider::-webkit-scrollbar,
  .mes-in-guide-slider::-webkit-scrollbar,
  .mes-in-tech-slider::-webkit-scrollbar,
  .mes-in-video-slider::-webkit-scrollbar {
    display: none;
  }

  .mes-mfg-process-slide,
  .mes-scm-benefit-slide,
  .mes-scm-hub-slide,
  .mes-eng-benefit-slide,
  .mes-eng-process-slide,
  .mes-gs-benefit-slide,
  .mes-qm-benefit-slide,
  .mes-sc-benefit-slide,
  .mes-wh-benefit-slide,
  .mes-wh-hub-slide,
  .mes-dc-region-slide,
  .mes-dc-industry-slide,
  .mes-ic-benefit-slide,
  .mes-ic-support-slide,
  .mes-ic-industry-slide,
  .mes-fr-benefit-slide,
  .mes-fr-industry-slide,
  .mes-cnc-region-slide,
  .mes-cnc-industry-slide,
  .mes-ext-industry-slide,
  .mes-ta-app-slide,
  .mes-ta-related-slide,
  .mes-hy-app-slide,
  .mes-hy-process-slide,
  .mes-hy-related-slide,
  .mes-hy-case-slide,
  .mes-ev-app-slide,
  .mes-ev-process-slide,
  .mes-ev-related-slide,
  .mes-ra-comp-slide,
  .mes-ra-robot-slide,
  .mes-ra-case-slide,
  .mes-ab-process-slide,
  .mes-ab-presence-slide,
  .mes-ab-culture-slide,
  .mes-ab-principles-slide,
  .mes-ab-companies-slide,
  .mes-ab-customers-slide,
  .mes-in-blog-slide,
  .mes-in-case-slide,
  .mes-in-wp-slide,
  .mes-in-pub-slide,
  .mes-in-guide-slide,
  .mes-in-tech-slide,
  .mes-in-video-slide {
    flex: 0 0 86% !important;
    min-width: 86% !important;
    max-width: 86% !important;
    scroll-snap-align: center;
    scroll-snap-stop: always;
    align-self: stretch !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .mes-scm-hub-slide,
  .mes-eng-process-slide {
    height: 14rem !important;
    min-height: 14rem !important;
  }

  .mes-dc-region-slide,
  .mes-cnc-region-slide {
    height: 15rem !important;
    min-height: 15rem !important;
  }

  .mes-gs-benefit-slide,
  .mes-ic-benefit-slide,
  .mes-fr-benefit-slide {
    height: 19rem !important;
    min-height: 19rem !important;
  }

  .mes-wh-benefit-slide,
  .mes-dc-industry-slide,
  .mes-ic-industry-slide,
  .mes-fr-industry-slide,
  .mes-cnc-industry-slide,
  .mes-ext-industry-slide,
  .mes-ic-support-slide {
    height: 20rem !important;
    min-height: 20rem !important;
  }

  .mes-ta-app-slide {
    height: 28rem !important;
    min-height: 28rem !important;
  }

  .mes-ta-related-slide {
    height: 26rem !important;
    min-height: 26rem !important;
  }

  .mes-hy-app-slide {
    height: 32rem !important;
    min-height: 32rem !important;
  }

  .mes-hy-process-slide {
    height: 20rem !important;
    min-height: 20rem !important;
  }

  .mes-hy-related-slide {
    height: 26rem !important;
    min-height: 26rem !important;
  }

  .mes-hy-case-slide {
    height: 24rem !important;
    min-height: 24rem !important;
  }

  .mes-ev-app-slide {
    height: 40rem !important;
    min-height: 40rem !important;
  }

  .mes-ev-process-slide {
    height: 22rem !important;
    min-height: 22rem !important;
  }

  .mes-ev-related-slide,
  .mes-ra-robot-slide {
    height: 26rem !important;
    min-height: 26rem !important;
  }

  .mes-ra-comp-slide {
    height: 18rem !important;
    min-height: 18rem !important;
  }

  .mes-ra-case-slide {
    height: 24rem !important;
    min-height: 24rem !important;
  }

  .mes-ab-process-slide {
    height: 8rem !important;
    min-height: 8rem !important;
  }

  .mes-ab-presence-slide {
    height: 13rem !important;
    min-height: 13rem !important;
  }

  .mes-ab-culture-slide {
    height: 20rem !important;
    min-height: 20rem !important;
  }

  .mes-ab-principles-slide {
    height: 15rem !important;
    min-height: 15rem !important;
  }

  .mes-ab-companies-slide {
    height: 26rem !important;
    min-height: 26rem !important;
  }

  .mes-ab-customers-slide {
    height: 7rem !important;
    min-height: 7rem !important;
  }

  .mes-in-blog-slide,
  .mes-in-case-slide,
  .mes-in-wp-slide,
  .mes-in-pub-slide,
  .mes-in-guide-slide {
    height: 30rem !important;
    min-height: 30rem !important;
  }

  .mes-in-tech-slide {
    height: 14rem !important;
    min-height: 14rem !important;
  }

  .mes-in-video-slide {
    height: 24rem !important;
    min-height: 24rem !important;
  }

  .mes-in-blog-slide > a,
  .mes-in-case-slide > a,
  .mes-in-wp-slide > a,
  .mes-in-pub-slide > a,
  .mes-in-guide-slide > a,
  .mes-in-tech-slide > a,
  .mes-in-video-slide > a {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
  }

  .mes-in-blog-slide .relative.h-40,
  .mes-in-case-slide .relative.h-40,
  .mes-in-wp-slide .relative.h-40,
  .mes-in-pub-slide .relative.h-40,
  .mes-in-guide-slide .relative.h-40 {
    flex: 0 0 10rem !important;
    height: 10rem !important;
    min-height: 10rem !important;
    max-height: 10rem !important;
  }

  .mes-in-video-slide .relative.aspect-video {
    flex: 0 0 auto !important;
    aspect-ratio: 16 / 9 !important;
    width: 100% !important;
  }

  .mes-scm-benefit-slide,
  .mes-sc-benefit-slide {
    height: 23rem !important;
    min-height: 23rem !important;
  }

  .mes-eng-benefit-slide,
  .mes-qm-benefit-slide {
    height: 24rem !important;
    min-height: 24rem !important;
  }

  .mes-wh-hub-slide {
    height: 26rem !important;
    min-height: 26rem !important;
  }

  .mes-mfg-process-slide {
    height: 32rem !important;
    min-height: 32rem !important;
  }

  .mes-scm-benefit-slide > div,
  .mes-scm-hub-slide > div,
  .mes-eng-benefit-slide > div,
  .mes-gs-benefit-slide > div,
  .mes-qm-benefit-slide > div,
  .mes-sc-benefit-slide > div,
  .mes-wh-benefit-slide > div,
  .mes-wh-hub-slide > div,
  .mes-dc-region-slide > div,
  .mes-ic-benefit-slide > div,
  .mes-ic-support-slide > div,
  .mes-fr-benefit-slide > div,
  .mes-cnc-region-slide > div,
  .mes-ta-app-slide > div,
  .mes-ev-app-slide > div {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
  }

  .mes-hy-process-slide > a > div,
  .mes-ev-process-slide > a > div {
    height: 100% !important;
    min-height: 100% !important;
    aspect-ratio: auto !important;
  }

  .mes-mfg-process-slide > a,
  .mes-mfg-process-slide > div,
  .mes-eng-process-slide > a,
  .mes-dc-industry-slide > a,
  .mes-ic-industry-slide > a,
  .mes-fr-industry-slide > a,
  .mes-cnc-industry-slide > a,
  .mes-ext-industry-slide > a,
  .mes-ta-related-slide > a,
  .mes-hy-process-slide > a,
  .mes-ev-process-slide > a,
  .mes-ra-comp-slide > div {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
  }

  .mes-ab-presence-slide > div,
  .mes-ab-culture-slide > div,
  .mes-ab-principles-slide > div {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
  }

  .mes-ab-companies-slide > a,
  .mes-ab-companies-slide.group {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 100% !important;
  }

  .mes-ab-companies-slide > div {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    height: 100% !important;
    min-height: 100% !important;
  }

  .mes-ab-companies-slide .mes-ab-companies-media {
    position: relative !important;
    flex: 0 0 11rem !important;
    height: 11rem !important;
    min-height: 11rem !important;
    max-height: 11rem !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  .mes-ab-companies-slide .mes-ab-companies-media > img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .mes-ab-companies-slide .mes-ab-companies-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    background-color: #f8fafc !important;
  }

  .mes-ab-customers-pair {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1px !important;
    height: 100% !important;
    min-height: 100% !important;
    overflow: hidden;
    background: #e2e8f0;
  }

  .mes-ab-customers-item {
    height: 100% !important;
    min-height: 100% !important;
  }

  .mes-ev-related-slide > a {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
  }

  .mes-ra-robot-slide > div,
  .mes-ra-case-slide > div {
    height: 100% !important;
    min-height: 100% !important;
  }

  .mes-ra-case-slide > div > a {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 100% !important;
  }

  .mes-ra-case-slide .mes-app-card-media {
    aspect-ratio: auto !important;
    flex: 0 0 10rem !important;
    height: 10rem !important;
  }

  .mes-ra-robot-slide .mes-app-card-media {
    aspect-ratio: auto !important;
    flex: 1 1 auto !important;
    height: 100% !important;
    min-height: 0 !important;
  }

  .mes-mfg-process-slide > a > div,
  .mes-eng-process-slide > a > div {
    flex: 1 1 auto !important;
    height: 100% !important;
    min-height: 100% !important;
  }

  .mes-mfg-process-dots,
  .mes-scm-benefit-dots,
  .mes-scm-hub-dots,
  .mes-eng-benefit-dots,
  .mes-eng-process-dots,
  .mes-gs-benefit-dots,
  .mes-qm-benefit-dots,
  .mes-sc-benefit-dots,
  .mes-wh-benefit-dots,
  .mes-wh-hub-dots,
  .mes-dc-region-dots,
  .mes-dc-industry-dots,
  .mes-ic-benefit-dots,
  .mes-ic-support-dots,
  .mes-ic-industry-dots,
  .mes-fr-benefit-dots,
  .mes-fr-industry-dots,
  .mes-cnc-region-dots,
  .mes-cnc-industry-dots,
  .mes-ext-industry-dots,
  .mes-ta-app-dots,
  .mes-ta-related-dots,
  .mes-hy-app-dots,
  .mes-hy-process-dots,
  .mes-hy-related-dots,
  .mes-hy-case-dots,
  .mes-ev-app-dots,
  .mes-ev-process-dots,
  .mes-ev-related-dots,
  .mes-ra-comp-dots,
  .mes-ra-robot-dots,
  .mes-ra-case-dots,
  .mes-ab-process-dots,
  .mes-ab-presence-dots,
  .mes-ab-culture-dots,
  .mes-ab-principles-dots,
  .mes-ab-companies-dots,
  .mes-ab-customers-dots,
  .mes-in-blog-dots,
  .mes-in-case-dots,
  .mes-in-wp-dots,
  .mes-in-pub-dots,
  .mes-in-guide-dots,
  .mes-in-tech-dots,
  .mes-in-video-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
  }

  .mes-mfg-process-dot,
  .mes-scm-benefit-dot,
  .mes-scm-hub-dot,
  .mes-eng-benefit-dot,
  .mes-eng-process-dot,
  .mes-gs-benefit-dot,
  .mes-qm-benefit-dot,
  .mes-sc-benefit-dot,
  .mes-wh-benefit-dot,
  .mes-wh-hub-dot,
  .mes-dc-region-dot,
  .mes-dc-industry-dot,
  .mes-ic-benefit-dot,
  .mes-ic-industry-dot,
  .mes-fr-benefit-dot,
  .mes-fr-industry-dot,
  .mes-cnc-region-dot,
  .mes-cnc-industry-dot,
  .mes-ext-industry-dot,
  .mes-hy-related-dot,
  .mes-hy-case-dot,
  .mes-ev-app-dot,
  .mes-ev-process-dot,
  .mes-ev-related-dot,
  .mes-ra-comp-dot,
  .mes-ra-robot-dot,
  .mes-ra-case-dot,
  .mes-ab-process-dot,
  .mes-ab-companies-dot,
  .mes-ab-customers-dot,
  .mes-in-blog-dot,
  .mes-in-case-dot,
  .mes-in-wp-dot,
  .mes-in-pub-dot,
  .mes-in-guide-dot,
  .mes-in-tech-dot,
  .mes-in-video-dot {
    width: 0.5rem;
    height: 0.5rem;
    padding: 0;
    border: 0;
    border-radius: 9999px;
    background: rgba(10, 22, 40, 0.22);
    cursor: pointer;
    transition: width 0.25s ease, background-color 0.25s ease;
  }

  .mes-ic-support-dot,
  .mes-ta-app-dot,
  .mes-ta-related-dot,
  .mes-hy-app-dot,
  .mes-hy-process-dot,
  .mes-ab-presence-dot,
  .mes-ab-culture-dot,
  .mes-ab-principles-dot {
    width: 0.5rem;
    height: 0.5rem;
    padding: 0;
    border: 0;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.28);
    cursor: pointer;
    transition: width 0.25s ease, background-color 0.25s ease;
  }

  .mes-mfg-process-dot.is-active,
  .mes-scm-benefit-dot.is-active,
  .mes-scm-hub-dot.is-active,
  .mes-eng-benefit-dot.is-active,
  .mes-eng-process-dot.is-active,
  .mes-gs-benefit-dot.is-active,
  .mes-qm-benefit-dot.is-active,
  .mes-sc-benefit-dot.is-active,
  .mes-wh-benefit-dot.is-active,
  .mes-wh-hub-dot.is-active,
  .mes-dc-region-dot.is-active,
  .mes-dc-industry-dot.is-active,
  .mes-ic-benefit-dot.is-active,
  .mes-ic-industry-dot.is-active,
  .mes-fr-benefit-dot.is-active,
  .mes-fr-industry-dot.is-active,
  .mes-cnc-region-dot.is-active,
  .mes-cnc-industry-dot.is-active,
  .mes-ext-industry-dot.is-active,
  .mes-hy-related-dot.is-active,
  .mes-hy-case-dot.is-active,
  .mes-ev-app-dot.is-active,
  .mes-ev-process-dot.is-active,
  .mes-ev-related-dot.is-active,
  .mes-ra-comp-dot.is-active,
  .mes-ra-robot-dot.is-active,
  .mes-ra-case-dot.is-active,
  .mes-ab-process-dot.is-active,
  .mes-ab-companies-dot.is-active,
  .mes-ab-customers-dot.is-active,
  .mes-in-blog-dot.is-active,
  .mes-in-case-dot.is-active,
  .mes-in-wp-dot.is-active,
  .mes-in-pub-dot.is-active,
  .mes-in-guide-dot.is-active,
  .mes-in-tech-dot.is-active,
  .mes-in-video-dot.is-active {
    width: 1.5rem;
    background: #f37121;
  }

  .mes-ra-divider-hide,
  .mes-in-spacer-hide {
    display: none !important;
  }

  .mes-ic-support-dot.is-active,
  .mes-ta-app-dot.is-active,
  .mes-ta-related-dot.is-active,
  .mes-hy-app-dot.is-active,
  .mes-hy-process-dot.is-active,
  .mes-ab-presence-dot.is-active,
  .mes-ab-culture-dot.is-active,
  .mes-ab-principles-dot.is-active {
    width: 1.5rem;
    background: #34a853;
  }
}

@media (min-width: 768px) {
  .mes-ab-customers-slide,
  .mes-ab-customers-pair {
    display: contents;
  }
}

/* ==========================================
   Services / Solutions / Manufacturing
========================================== */

.mes-process-video-card,
.mes-process-video-shell {
  width: 100%;
  max-width: 100%;
}

.mes-manufacturing-typer {
  word-break: normal;
  overflow-wrap: break-word;
}

@media (max-width: 1023px) {
  .mes-process-video-card {
    min-height: 12rem;
  }

  .mes-process-video-card h3 {
    font-size: clamp(1.125rem, 3.5vw, 1.375rem);
    line-height: 1.15;
  }

  .mes-process-video-card p {
    font-size: 0.9375rem;
    line-height: 1.5;
  }
}

@media (max-width: 767px) {
  .mes-manufacturing-typer {
    font-size: inherit;
    line-height: 1.1;
  }

  .mes-page-hero-fixed .hero-marquee-track {
    animation-duration: 16s;
  }

  /* Process capability cards — single column (override static md:grid-cols-2 match on mobile) */
  section .mt-14.grid.gap-6[class*="md:grid-cols-2"],
  section .mt-14.grid[class*="md:grid-cols-2"][class*="lg:grid-cols-3"] {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  section .mt-14.grid[class*="md:grid-cols-2"] > div {
    width: 100% !important;
    min-width: 0 !important;
  }

  section .mt-14.grid[class*="md:grid-cols-2"] [class*="rounded-3xl"][class*="p-8"] {
    padding: 1.5rem !important;
  }

  section .mt-14.grid[class*="md:grid-cols-2"] h3.font-heading {
    font-size: 1.575rem !important;
    line-height: 1.15 !important;
    margin-top: 1.25rem !important;
  }

  section .mt-14.grid[class*="md:grid-cols-2"] p.font-medium {
    font-size: 0.9375rem !important;
    line-height: 1.55 !important;
  }

  section .mt-14.grid[class*="md:grid-cols-2"] .flex.h-12.w-12 {
    width: 2.75rem !important;
    height: 2.75rem !important;
  }

  section .mt-14.grid[class*="md:grid-cols-2"] .font-mono.text-xs {
    font-size: 0.6875rem !important;
  }
}

/* ==========================================
   Portfolio / Case Studies
========================================== */

@media (max-width: 767px) {
  article[class*="lg:grid-cols"] {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
}

/* ==========================================
   Blog / Insights
========================================== */

.mes-app-card-media,
.mes-guide-cover-media {
  overflow: hidden;
}

/* Aspect-ratio media shells (Tailwind aspect-[4/3] not compiled) */
.mes-app-card-media[class*="aspect-"] {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
}

.mes-app-card-media .mes-app-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
}

/* Industry pages — "Five processes" app card grid */
@media (max-width: 767px) {
  section.bg-slate-900 .mt-16.grid.grid-cols-2,
  section[class*="bg-slate-900"] .mt-16.grid[class*="grid-cols-2"][class*="grid-cols-3"],
  section[class*="bg-slate-900"] .mt-16.grid[class*="grid-cols-2"][class*="grid-cols-5"] {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
  }

  section.bg-slate-900 .mt-16.grid[class*="grid-cols-2"] > div,
  section[class*="bg-slate-900"] .mt-16.grid[class*="grid-cols-2"] > .mes-style-0004 {
    width: 100% !important;
    min-width: 0 !important;
  }

  section.bg-slate-900 .mt-16.grid[class*="grid-cols-2"] a.group,
  section[class*="bg-slate-900"] .mt-16.grid[class*="grid-cols-2"] a.group {
    display: block !important;
    width: 100% !important;
  }

  section.bg-slate-900 .mt-16.grid[class*="grid-cols-2"] .mes-app-card-media,
  section[class*="bg-slate-900"] .mt-16.grid[class*="grid-cols-2"] .mes-app-card-media {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3 !important;
    overflow: hidden !important;
  }

  section.bg-slate-900 .mt-16.grid[class*="grid-cols-2"] .mes-app-card-img,
  section[class*="bg-slate-900"] .mt-16.grid[class*="grid-cols-2"] .mes-app-card-img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  section.bg-slate-900 .mt-16.grid[class*="grid-cols-2"] .p-4,
  section[class*="bg-slate-900"] .mt-16.grid[class*="grid-cols-2"] .p-4 {
    padding: 0.625rem 0.375rem !important;
  }

  section.bg-slate-900 .mt-16.grid[class*="grid-cols-2"] .font-semibold,
  section[class*="bg-slate-900"] .mt-16.grid[class*="grid-cols-2"] .font-semibold {
    font-size: 0.8125rem !important;
    line-height: 1.25 !important;
  }
}

@media (min-width: 481px) and (max-width: 767px) {
  section.bg-slate-900 .mt-16.grid[class*="sm:grid-cols-3"],
  section[class*="bg-slate-900"] .mt-16.grid[class*="sm:grid-cols-3"] {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 0.875rem !important;
  }
}

@media (max-width: 1023px) {
  .mes-app-card-media[class*="lg:min-h"],
  .mes-app-card-media[class*="min-h-"] {
    min-height: 15rem;
  }

  .mes-guide-cover-media[class*="h-64"],
  .mes-guide-cover-media {
    height: 12rem;
    min-height: 12rem;
  }
}

@media (max-width: 480px) {
  .mes-app-card-media[class*="h-40"] {
    height: 9rem;
    min-height: 9rem;
  }

  /* Keep aspect-ratio process cards — do not force fixed height */
  section[class*="bg-slate-900"] .mt-16.grid[class*="grid-cols-2"] .mes-app-card-media {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 3 !important;
  }

  .mes-guide-cover-media {
    height: 11rem;
    min-height: 11rem;
  }
}

/* ==========================================
   Contact
========================================== */

@media (max-width: 767px) and (min-width: 481px) {
  .mes-contact-hero-fixed {
    height: auto !important;
    min-height: auto !important;
    padding-top: 64px !important;
    overflow: hidden !important;
  }

  .mes-contact-hero-fixed > .relative.mx-auto.grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.625rem !important;
    padding: 2rem 1.5rem 2.75rem !important;
    min-height: 0 !important;
    transform: none !important;
  }

  .mes-contact-hero-fixed h1 {
    font-size: clamp(2.5rem, 10vw, 3.625rem) !important;
    line-height: 0.95 !important;
  }

  .mes-contact-hero-fixed form {
    margin-top: 0.5rem !important;
    padding: 1.25rem !important;
    border-radius: 1.375rem !important;
  }

  .mes-contact-hero-fixed input,
  .mes-contact-hero-fixed textarea {
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* ==========================================
   Footer
========================================== */

@media (max-width: 1023px) {
  footer .mx-auto.flex.max-w-7xl.flex-col[class*="md:flex-row"] {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.75rem;
  }

  footer h2[class*="md:text-5xl"] {
    font-size: clamp(2rem, 6vw, 2.75rem);
    line-height: 0.95;
  }
}

@media (max-width: 767px) {
  footer .mx-auto.max-w-7xl.px-6.py-16,
  footer [class*="py-16"] {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

/* ==========================================
   Shared Components
========================================== */

.mes-inv-industry-slider {
  width: 100%;
}

.mes-spotlight-panel {
  overflow: hidden;
}

.mes-spotlight-panel-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.mes-industry-slider-media,
.mes-industry-slider-mobile-img {
  overflow: hidden;
}

.mes-industry-slider-mobile-img img,
.mes-industry-slider-img {
  width: 100%;
  max-width: none;
  object-fit: cover;
}

.mes-customer-logo-marquee {
  display: flex;
  align-items: center;
  width: max-content;
}

.mes-style-0201 {
  overflow: hidden;
}

.mes-style-0201 img {
  height: 2rem;
  max-height: 2rem;
  width: auto;
  max-width: 10.625rem;
  object-fit: contain;
}

@media (max-width: 1023px) {
  .mes-spotlight-panel[class*="min-h-"],
  .mes-spotlight-panel {
    min-height: 18rem;
  }

  .mes-inv-industry-slider {
    height: 22rem !important;
    min-height: 22rem !important;
    max-height: none !important;
  }
}

@media (max-width: 767px) {
  .mes-spotlight-panel[class*="min-h-"],
  .mes-spotlight-panel {
    min-height: 30rem;
  }

  .mes-industry-slider-mobile-img {
    min-height: 10rem;
  }

  body.home .relative.mt-9.overflow-hidden.mes-style-0144,
  body.home .mes-style-0144 {
    height: 3.5rem !important;
    min-height: 3.5rem !important;
  }

  body.home .mes-style-0144 img,
  body.home img[alt="MES partner logo"] {
    height: 1.75rem !important;
    max-height: 1.75rem !important;
    max-width: 8.75rem !important;
  }
}

.mes-faq-enhanced .mes-faq-button {
  min-height: 44px;
}

@media (max-width: 767px) {
  .mes-faq-enhanced .mes-faq-button {
    font-size: 0.9375rem;
    line-height: 1.35;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .mes-faq-enhanced .mes-faq-panel {
    font-size: 0.9375rem;
    line-height: 1.55;
  }

  .mes-faq-enhanced .mes-faq-icon {


    flex-shrink: 0;
  }
}

/* Inner page heroes — horizontal padding (override static zero-padding) */
@media (max-width: 1023px) {
  html.mes-static-page body:not(.mes-contact-page) .mes-page-hero-fixed > .relative.mx-auto,
  .mes-page-hero-fixed > .relative.mx-auto.grid,
  .mes-page-hero-fixed > .relative.mx-auto {
    padding-left: clamp(1.375rem, 4vw, 2.5rem) !important;
    padding-right: clamp(1.375rem, 4vw, 2.5rem) !important;
  }

  .mes-page-hero-fixed > header + .relative.mx-auto,
  .mes-page-hero-fixed > .relative.mx-auto:first-of-type {
    padding-top: clamp(1.5rem, 4vh, 2.5rem);
  }
}

@media (max-width: 767px) and (min-width: 481px) {
  .mes-page-hero-fixed {
    padding-top: 64px !important;
  }

  .mes-page-hero-fixed > .relative.mx-auto {
    padding-top: 1.5rem !important;
    padding-bottom: 1.75rem !important;
  }

  .mes-page-hero-fixed h1 {
    font-size: clamp(2.5rem, 10vw, 3.75rem);
    line-height: 0.92;
  }
}

@media (max-width: 480px) {
  .mes-page-hero-fixed {
    padding-top: 64px !important;
  }

  .mes-page-hero-fixed > .relative.mx-auto {
    padding: 1.25rem 1.375rem 1.75rem !important;
  }
}

/* ==========================================
   Large Laptop (1200px – 1600px)
========================================== */

@media (min-width: 1200px) and (max-width: 1600px) {
  /* Header — tighten nav chevrons (override oversized 24px caps) */
  header.mes-site-header nav button svg.lucide-chevron-down,
  header.mes-site-header nav .mes-style-0018 {
    width: 0.85vw;
    height: 0.85vw;
    min-width: 10px;
    min-height: 10px;
    max-width: 14px;
    max-height: 14px;
  }

  header.mes-site-header nav .mes-style-0017 {
    font-size: max(14px, 1.05vw);
    letter-spacing: 0.03em;
  }

  header.mes-site-header .mes-style-0009 {
    font-size: max(12px, 0.95vw);
  }

  header.mes-site-header .mes-style-0013 {
    font-size: max(13px, 0.98vw);
  }

  /* Home hero divider alignment */
  body.home .mes-hero-showcase {
    --mes-hero-panel-width: 44vw;
    --mes-hero-panel-slant: 8.5vw;
    --mes-hero-video-offset: 31vw;
  }

  body.home .mes-hero-showcase .mes-hero-divider,
  body.home .mes-hero-showcase .mes-style-0132 {
    transform: rotate(-1deg);
  }

  /* Inner page hero headings — reference lg:text-7xl */
  section[class*="overflow-hidden"] h1.lg\:text-7xl,
  section[class*="overflow-hidden"] h1[class*="lg:text-7xl"] {
    font-size: clamp(3.25rem, 4.5vw, 4.5rem);
    line-height: 0.92;
  }

  /* Section vertical rhythm */
  section[class*="md:py-24"],
  section[class*="lg:py-28"] {
    padding-top: clamp(5rem, 7vw, 7rem);
    padding-bottom: clamp(5rem, 7vw, 7rem);
  }

  .mes-mega-panel .mes-mega-list > li > a,
  .mes-mega-panel .mes-mega-list .mes-mega-parent > a {
    font-size: max(0.8125rem, 0.92vw);
  }
}

/* ==========================================
   Laptop (1024px – 1199px)
========================================== */

@media (min-width: 1024px) and (max-width: 1199px) {
  header.mes-site-header > .relative.hidden.items-center.md\:flex {
    padding-left: 2.8vw;
    padding-right: 2.2vw;
    gap: 1.6vw;
  }

  header.mes-site-header nav {
    gap: 2.2vw;
  }

  header.mes-site-header nav .mes-style-0017 {
    font-size: max(13px, 1vw);
    letter-spacing: 0.028em;
  }

  header.mes-site-header nav button svg.lucide-chevron-down,
  header.mes-site-header nav .mes-style-0018 {
    width: 0.8vw;
    height: 0.8vw;
    min-width: 9px;
    min-height: 9px;
    max-width: 13px;
    max-height: 13px;
  }

  header.mes-site-header .mes-style-0008 {
    max-width: 32vw;
  }

  [class*="max-w-7xl"],
  [class*="max-w-6xl"] {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  /* Footer two-column pivot at lg */
  footer .lg\:grid-cols-\[1\.1fr_2fr\],
  footer [class*="lg:grid-cols-[1.1fr_2fr]"] {
    grid-template-columns: 1fr 1.75fr;
    gap: 2.5rem;
  }

  /* Home hero — still split but tighter panel */
  body.home .mes-hero-showcase {
    --mes-hero-panel-width: 46vw;
    --mes-hero-panel-slant: 8vw;
    --mes-hero-video-offset: 30vw;
  }

  body.home .mes-style-0124 h1,
  body.home .mes-style-0124 h2 {
    font-size: clamp(2.75rem, 5.2vw, 3.75rem);
  }

  body.home .mes-style-0124 p:first-child {
    font-size: max(11px, 1.35vw);
    letter-spacing: 0.36em;
  }
}

/* Home hero — tablet side-by-side split (768–1023) */
@media (max-width: 1023px) and (min-width: 768px) {
  body.home #root > div:first-child {
    height: 100svh !important;
    min-height: 100svh !important;
    max-height: 100svh !important;
    overflow: hidden !important;
  }

  body.home #root > div:first-child > .mes-hero-showcase,
  body.home #root > div:first-child > .absolute.inset-0.flex.mes-hero-showcase {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
    background: #080c14 !important;
    --mes-hero-panel-width: 50vw;
    --mes-hero-panel-slant: 7vw;
    --mes-hero-divider-strip: 0.35vw;
    --mes-hero-video-offset: calc(var(--mes-hero-panel-width) - 14vw);
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0122,
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0123 {
    display: none !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0124,
  body.home #root > div:first-child .mes-hero-showcase [class*="w-[44%]"] {
    position: relative !important;
    z-index: 10 !important;
    flex: 0 0 var(--mes-hero-panel-width) !important;
    width: var(--mes-hero-panel-width) !important;
    max-width: var(--mes-hero-panel-width) !important;
    height: 100% !important;
    min-height: 0 !important;
    clip-path: polygon(0 0, 100% 0, calc(100% - var(--mes-hero-panel-slant)) 100%, 0 100%) !important;
    -webkit-clip-path: polygon(0 0, 100% 0, calc(100% - var(--mes-hero-panel-slant)) 100%, 0 100%) !important;
    padding: clamp(6.5rem, 11vh, 8.5rem) 1.75rem 1.5rem 3.4vw !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    overflow: hidden !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0124 p:first-child {
    margin: 0 0 0.5rem !important;
    font-size: clamp(0.625rem, 1.1vw, 0.75rem) !important;
    line-height: 1.2 !important;
    letter-spacing: 0.26em !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0124 h1,
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0124 h2 {
    max-width: 100% !important;
    white-space: normal !important;
    text-wrap: balance !important;
    line-height: 0.9 !important;
    letter-spacing: -0.03em !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0124 h1 {
    font-size: clamp(1.75rem, 7.2vw, 3.75rem) !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0124 h2.mes-hero-partner {
    font-size:clamp(1.25rem, 4vw, 2rem) !important;
    margin-top: 0.25rem !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0124 .mes-style-0130 {
    width: clamp(3rem, 6vw, 4.5rem) !important;
    min-width: 3rem !important;
    height: 3px !important;
    margin-top: 0.875rem !important;
    transform-origin: left center !important;
  }

  /* Value props — 2×2 inside left panel */
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0124 > div.relative.flex {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.625rem !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 1.25rem !important;
    padding: 0 !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0124 > div.relative.flex > div {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 4.5rem !important;
    padding: 0.625rem 0.375rem !important;
    border: 0px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 0.875rem !important;
    /* background: rgba(255, 255, 255, 0.055) !important; */
    backdrop-filter: blur(10px) !important;
    align-items: center !important;
    text-align: center !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0124 > div.relative.flex > div > div:first-child {
    width: 2rem !important;
    height: 2rem !important;
    min-width: 2rem !important;
    margin: 0 auto 0.375rem !important;
    border: 1px solid rgba(243, 113, 33, 0.6) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #f37121 !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0124 > div.relative.flex span,
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0124 > div.relative.flex p,
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0124 > div.relative.flex .mes-style-0013 {
    display: block !important;
    width: 100% !important;
    white-space: normal !important;
    font-size: 0.8625rem !important;
    line-height: 1.22 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    color: rgba(255, 255, 255, 0.72) !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0124 > div.relative.flex .mes-style-0131 {
    width: 1rem !important;
    height: 1rem !important;
  }

  /* Orange divider strip */
  body.home #root > div:first-child .mes-hero-showcase .mes-hero-divider,
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0132 {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 20 !important;
    pointer-events: none !important;
    background: #f37121 !important;
    clip-path: polygon(
      var(--mes-hero-panel-width) 0,
      calc(var(--mes-hero-panel-width) + var(--mes-hero-divider-strip)) 0,
      calc(var(--mes-hero-panel-width) - var(--mes-hero-panel-slant) + var(--mes-hero-divider-strip)) 100%,
      calc(var(--mes-hero-panel-width) - var(--mes-hero-panel-slant)) 100%
    ) !important;
    -webkit-clip-path: polygon(
      var(--mes-hero-panel-width) 0,
      calc(var(--mes-hero-panel-width) + var(--mes-hero-divider-strip)) 0,
      calc(var(--mes-hero-panel-width) - var(--mes-hero-panel-slant) + var(--mes-hero-divider-strip)) 100%,
      calc(var(--mes-hero-panel-width) - var(--mes-hero-panel-slant)) 100%
    ) !important;
    filter: drop-shadow(0 0 12px #f37121) !important;
    transform: none !important;
  }

  /* Right video panel — skewed accordion */
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0133,
  body.home #root > div:first-child .mes-hero-showcase [class*="inset-y-0"][class*="right-0"] {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    left: var(--mes-hero-video-offset) !important;
    width: auto !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0134 {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: -5.5vw !important;
    width: 79.5vw !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 0 !important;
    transform: skewX(-9deg) !important;
    overflow: hidden !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0137,
  body.home #root > div:first-child .mes-hero-showcase .mes-hero-card > div[class*="absolute inset-y-0"] {
    position: absolute !important;
    inset: 0 auto 0 0 !important;
    width: 68vw !important;
    height: 100% !important;
    left: -7vw !important;
    transform: skewX(9deg) !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0137 video,
  body.home #root > div:first-child .mes-hero-showcase .mes-hero-card video {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0139 {
    transform: skewX(9deg) !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0136,
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0143,
  body.home #root > div:first-child .mes-hero-showcase .mes-hero-card {
    position: relative !important;
    height: 100% !important;
    min-height: 0 !important;
    overflow: hidden !important;
    flex: 0.85 1 0 !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-hero-card.is-active,
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0136.is-active {
    flex: 6.5 1 0 !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-hero-card.is-inactive,
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0143.is-inactive {
    flex: 0.85 1 0 !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0140 {
    width: 1.125rem !important;
    height: 1.125rem !important;
  }

  body.home #root > div:first-child .mes-hero-outro {
    z-index: 35 !important;
  }

  /* Inner page heroes — reference md:text-6xl at tablet */
  section[class*="overflow-hidden"] h1[class*="sm:text-6xl"],
  section[class*="overflow-hidden"] h1.sm\:text-6xl {
    font-size: 3.75rem;
    line-height: 0.92;
  }

  section[class*="overflow-hidden"] h1[class*="sm:text-6xl"] span[class*="text-2xl"],
  section[class*="overflow-hidden"] h1 span[class*="sm:text-3xl"] {
    font-size: 1.75rem;
    line-height: 1.15;
  }

  /* Contact / two-column hero sections */
  .mes-contact-hero-fixed > .relative.mx-auto.grid,
  section [class*="lg:grid-cols"][class*="1.35fr"],
  [class*="lg:grid-cols-[1.35fr"] {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .mes-industry-accordion {
    flex-direction: column;
  }

  .mes-industry-card {
    width: 100%;
    min-height: 14rem;
  }

  .mes-inv-industry-slider {
    height: 22rem;
    min-height: 22rem;
    max-height: 22rem;
  }

  .mes-style-0015 .text-\[1\.05vw\],
  .mes-style-0012 .text-\[1\.05vw\],
  .mes-style-0008 .text-\[1vw\]{font-size: 12px !important;}
  .mes-mega-panel{top:120px !important;}

  .md\:text-3xl {
    font-size: 1.375rem;
    line-height: var(--tw-leading, 1.2);
}
footer .max-w-xs.text-sm{max-width: 100% !important;}

}

/* Home hero — tablet portrait alignment (768–900): vh slant + tuned spacer */
@media (min-width: 768px) and (max-width: 900px) {
  body.home #root > div:first-child > .mes-hero-showcase {
    --mes-hero-panel-width: 50vw !important;
    --mes-hero-panel-slant: 15.84vh !important;
    --mes-hero-video-offset: calc(var(--mes-hero-panel-width) - 12vw) !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0124,
  body.home #root > div:first-child .mes-hero-showcase [class*="w-[44%]"] {
    z-index: 25 !important;
    clip-path: polygon(0 0, 100% 0, calc(100% - 15.84vh) 100%, 0 100%) !important;
    -webkit-clip-path: polygon(0 0, 100% 0, calc(100% - 15.84vh) 100%, 0 100%) !important;
    padding-top: clamp(7rem, 12vh, 8.5rem) !important;
    padding-left: max(1rem, 3vw) !important;
    padding-right: 1.25rem !important;
    background: #080c14 !important;
  }

  /* Keep icon grid inside the safe zone above the diagonal cut */
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0124 > div.relative.flex {
    max-width: min(100%, calc(100% - 14vw)) !important;
    width: 100% !important;
  }

  /* Clip slider — vertical cut at top; full width at bottom (avoids negative clip coords) */
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0133,
  body.home #root > div:first-child .mes-hero-showcase [class*="inset-y-0"][class*="right-0"] {
    z-index: 8 !important;
    top: 0 !important;
    bottom: 0 !important;
    height: 100% !important;
    clip-path: polygon(
      calc(var(--mes-hero-panel-width) - var(--mes-hero-video-offset)) 0,
      100% 0,
      100% 100%,
      0% 100%
    ) !important;
    -webkit-clip-path: polygon(
      calc(var(--mes-hero-panel-width) - var(--mes-hero-video-offset)) 0,
      100% 0,
      100% 100%,
      0% 100%
    ) !important;
  }

  /*
   * Spacer width = panel edge − video container start + track bleed.
   * Positions the first slide flush with the orange divider (same math as desktop).
   */
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0135 {
    display: block !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    flex-basis: calc(var(--mes-hero-panel-width) - var(--mes-hero-video-offset) + 5.5vw) !important;
    width: calc(var(--mes-hero-panel-width) - var(--mes-hero-video-offset) + 5.5vw) !important;
    min-width: calc(var(--mes-hero-panel-width) - var(--mes-hero-video-offset) + 5.5vw) !important;
    max-width: calc(var(--mes-hero-panel-width) - var(--mes-hero-video-offset) + 5.5vw) !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0134 {
    left: -5.5vw !important;
    width: 79.5vw !important;
    top: 0 !important;
    bottom: 0 !important;
    height: 100% !important;
    min-height: 100% !important;
    transform: skewX(-9deg) !important;
    transform-origin: left bottom !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0136,
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0143,
  body.home #root > div:first-child .mes-hero-showcase .mes-hero-card {
    height: 100% !important;
    min-height: 100% !important;
    align-self: stretch !important;
  }

  /* Active card: right-edge divider only (not full box — avoids stray horizontal orange lines) */
  body.home #root > div:first-child .mes-hero-showcase .mes-hero-card.is-active,
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0136.is-active {
    box-shadow: inset -3px 0 0 #f37121 !important;
  }

  /* Bottom label bars — flush to viewport bottom, no clipped triangle gap */
  body.home #root > div:first-child .mes-hero-showcase .mes-hero-card > div.absolute.inset-x-0.bottom-0,
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0136 > div.absolute.inset-x-0.bottom-0,
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0143 > div.absolute.inset-x-0.bottom-0 {
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 6 !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-hero-card > div.absolute.inset-x-0.bottom-0 > div,
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0136 > div.absolute.inset-x-0.bottom-0 > div,
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0143 > div.absolute.inset-x-0.bottom-0 > div {
    border-top: none !important;
    min-height: clamp(5.25rem, 11vh, 6.5rem) !important;
    padding-bottom: 0.5rem !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-hero-card.is-active > div.absolute.inset-x-0.bottom-0 > div,
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0136.is-active > div.absolute.inset-x-0.bottom-0 > div {
    min-height: clamp(5.75rem, 12vh, 7rem) !important;
    background: #f37121 !important;
  }

  /* Top orange strip on cards conflicts with skewed bottom triangle */
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0136 > div.absolute.inset-x-0.top-0,
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0143 > div.absolute.inset-x-0.top-0,
  body.home #root > div:first-child .mes-hero-showcase .mes-hero-card > div.absolute.inset-x-0.top-0 {
    display: none !important;
  }

  /* Card divider line between strips */
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0142 {
    width: 3px !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    height: 100% !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0137,
  body.home #root > div:first-child .mes-hero-showcase .mes-hero-card > div[class*="absolute inset-y-0"] {
    left: -16vw !important;
    width: 72vw !important;
  }

  /* Hide standalone divider — orange line lives on the skewed slider track */
  body.home #root > div:first-child .mes-hero-showcase .mes-hero-divider,
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0132 {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }

  /* Orange accent: same skewX(-9deg) as slides — always flush with slider left edge */
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0134::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(var(--mes-hero-panel-width) - var(--mes-hero-video-offset) + 5.5vw);
    width: max(3px, var(--mes-hero-divider-strip, 0.35vw));
    background: #f37121;
    filter: drop-shadow(0 0 12px #f37121);
    z-index: 30;
    pointer-events: none;
  }
}

/* ==========================================
   Tablet Landscape (901px – 1023px)
========================================== */

@media (min-width: 901px) and (max-width: 1023px) {
  header.mes-site-header nav .mes-style-0017 {
    font-size: max(12px, 0.95vw);
  }

  header.mes-site-header nav {
    gap: 1.8vw;
  }

  header.mes-site-header .mes-style-0008 {
    max-width: 28vw;
  }

  header.mes-site-header .mes-style-0012,
  header.mes-site-header .mes-style-0015 {
    padding-left: 1.1vw;
    padding-right: 1.1vw;
  }

  header.mes-site-header .mes-style-0013 {
    font-size: max(12px, 0.92vw);
  }

  .mes-mega-panel .mes-mega-grid {
    padding: 3vh 1.8vw 2.8vh;
  }

  .mes-mega-panel .mes-mega-title {
    font-size: max(0.625rem, 0.68vw);
    letter-spacing: 0.28em;
  }

  .mes-mega-panel .mes-mega-list > li > a {
    font-size: max(0.75rem, 0.88vw);
    white-space: normal;
  }

  /* Process / capability grids — 2 columns */
  [class*="md:grid-cols-4"]:not(.mes-about-stats-grid):not([class*="mes-about-stats"]) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  [class*="lg:grid-cols-3"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  footer [class*="sm:grid-cols-4"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
  }

  /* Home hero — landscape tablet proportions */
  body.home #root > div:first-child > .mes-hero-showcase {
    --mes-hero-panel-width: 48vw !important;
    --mes-hero-panel-slant: 7.5vw !important;
    --mes-hero-video-offset: calc(var(--mes-hero-panel-width) - 14vw) !important;
  }

  body.home #root > div:first-child .mes-hero-showcase .mes-style-0124 {
    padding-top: clamp(7rem, 12vh, 9rem) !important;
    padding-left: 3.4vw !important;
    padding-right: 2rem !important;
  }
}

/* ==========================================
   Tablet Portrait (768px – 900px)
========================================== */

@media (min-width: 768px) and (max-width: 1024px) {
  header.mes-site-header,
  header.fixed.top-0 {
    z-index: 9998 !important;
  }

  header.mes-site-header .mes-style-0016,
  header.mes-site-header nav {
    position: relative;
    z-index: 2;
  }

  header.mes-site-header > .relative.hidden.items-center.md\:flex {
    height: auto;
    min-height: 4.5rem;
    max-height: none;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  header.mes-site-header nav {
    height: auto;
    min-height: 2.75rem;
    max-height: none;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 1.25rem 0.5rem;
    gap: 1.5rem;
    scrollbar-width: none;
  }

  header.mes-site-header nav::-webkit-scrollbar {
    display: none;
  }

  header.mes-site-header nav .mes-style-0017 {
    font-size: 14px;
    white-space: nowrap;
  }

  header.mes-site-header nav button svg.lucide-chevron-down,
  header.mes-site-header nav .mes-style-0018 {
    width: 12px;
    height: 12px;
    min-width: 12px;
    min-height: 12px;
    max-width: 12px;
    max-height: 12px;
  }

  header.mes-site-header .mes-style-0008 {
    max-width: min(360px, 42vw);
  }

  header.mes-site-header .mes-style-0007 {
    height: 2.75rem;
    max-height: 2.75rem;
    transform: none;
  }

  [class*="max-w-7xl"],
  [class*="max-w-6xl"],
  [class*="max-w-5xl"] {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  section[class*="min-h-[80vh]"],
  section [class*="min-h-[80vh]"] {
    min-height: 68vh;
    padding-top: clamp(6rem, 12vh, 9rem);
    padding-bottom: 4rem;
  }

  section[class*="md:py-24"],
  section[class*="lg:py-28"] {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  section[class*="py-24"],
  section[class*="md:py-24"] {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  [class*="lg:grid-cols-2"],
  [class*="lg:grid-cols-3"],
  [class*="lg:grid-cols-4"] {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  [class*="md:grid-cols-2"]:not(.mes-about-stats-grid) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  [class*="md:grid-cols-3"],
  [class*="md:grid-cols-4"]:not(.mes-about-stats-grid) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mes-about-stats-grid,
  [class*="mes-about-stats"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  footer .lg\:grid-cols-\[1\.1fr_2fr\],
  footer [class*="lg:grid-cols-[1.1fr_2fr]"] {
    grid-template-columns: 1fr;
  }

  footer [class*="sm:grid-cols-4"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mes-inv-industry-slider {
    height: 20rem;
    min-height: 20rem;
    max-height: 20rem;
  }

  /* Sticky sidebars become static */
  [class*="lg:sticky"],
  [class*="md:sticky"] {
    position: relative;
    top: auto;
  }

  /* Home hero — landscape tablet header clearance only (layout in 901–1023 block below) */
  section[class*="overflow-hidden"] h1[class*="md:text-6xl"],
  section[class*="overflow-hidden"] h1.md\:text-6xl {
    font-size: 3rem;
    line-height: 0.92;
  }

  section[class*="overflow-hidden"] h1[class*="sm:text-6xl"] {
    font-size: 3.25rem;
    line-height: 0.92;
  }
  .md\:text-5xl,
  .sm\:text-5xl {
    font-size: 2.7rem;}
    .md\:text-6xl {
      font-size: 2.75rem;
      
  }
  .md\:text-7xl {
    font-size: 3.0rem;
    line-height: var(--tw-leading, 1);
}

.md\:py-24 {
  padding-block: calc(var(--spacing) * 15);
}
.mes-mega-list a{font:450 clamp(16px,.98vw,17px)/1.18 var(--font-body,Arial,sans-serif)!important}

header nav span{font-size:18px !important ;}
.mes-style-0084 .max-w-7xl .mes-style-0004 .py-10{padding-block: calc(var(--spacing) * 7);}

.min-h-\[20rem\]{min-height: 13rem !important;}

.tab-line-animation{width: calc(var(--spacing) * 8) !important; left: calc(50% - 10px) !important;}

.tab-pad-4{padding: 2rem !important;}

}

/* Show side rail only on large screens */
@media (min-width: 1024px) {
  .fixed.right-6.top-1\/2.z-40.hidden.-translate-y-1\/2.lg\:block {
    display: block;
  }
}

/* ==========================================
   Mobile Landscape (481px – 767px)
========================================== */

@media (max-width: 767px) and (min-width: 481px) {
  /* Typography — reference inner-page h1 at sm breakpoint */
  section[class*="overflow-hidden"] h1[class*="text-5xl"],
  section[class*="overflow-hidden"] h1.text-5xl {
    font-size: 3.75rem;
    line-height: 0.92;
  }

  section[class*="overflow-hidden"] h1 span[class*="text-2xl"],
  section h1 span[class*="sm:text-3xl"] {
    font-size: 1.625rem;
    line-height: 1.2;
  }

  h2.font-heading[class*="md:text-5xl"],
  h2[class*="md:text-7xl"] {
    font-size: clamp(2rem, 7vw, 2.75rem);
    line-height: 0.95;
  }

  /* Section spacing — reference py-20 mobile */
  section[class*="py-24"],
  section[class*="md:py-24"],
  section[class*="md:py-24"],
  section[class*="lg:py-28"] {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  [class*="max-w-7xl"],
  [class*="max-w-6xl"],
  [class*="max-w-5xl"],
  [class*="max-w-4xl"] {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  [class*="px-10"],
  [class*="md:px-10"],
  [class*="lg:px-"] {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  /* Grids — !important beats static-interactions md:grid-cols-2 → 2-col on mobile */
  [class*="md:grid-cols-2"]:not(.mes-about-stats-grid):not([class*="mes-about-stats"]),
  [class*="md:grid-cols-3"]:not(.mes-about-stats-grid),
  [class*="md:grid-cols-4"]:not(.mes-about-stats-grid),
  [class*="lg:grid-cols-2"],
  [class*="lg:grid-cols-3"],
  [class*="lg:grid-cols-4"],
  [class*="sm:grid-cols-2"]:not(footer [class*="sm:grid-cols-4"]) {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }

  .mes-about-stats-grid,
  [class*="mes-about-stats"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px !important;
  }

  footer [class*="sm:grid-cols-4"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
  }

  footer .mx-auto.flex.max-w-7xl.flex-col[class*="md:flex-row"] {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.75rem;
  }

  footer h2[class*="md:text-5xl"] {
    font-size: 2.25rem;
    line-height: 0.95;
  }

  /* Forms & buttons — touch targets */
  input,
  textarea,
  select,
  button[type="submit"],
  a.rounded-full[class*="py-4"],
  a.rounded-full[class*="px-8"] {
    min-height: 44px;
  }

  input,
  textarea,
  select {
    font-size: 16px;
  }

  /* Industry slider */
  .mes-inv-industry-slider {
    height: auto;
    min-height: 16rem;
    max-height: none;
    flex-direction: column;
  }

  .mes-inv-industry-slider [class*="group/panel"] {
    min-height: 14rem;
    width: 100%;
  }

  /* Tables */
  table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Blog / article layout */
  article [class*="lg:grid-cols"],
  .mes-blog-hero-img {
    max-width: 100%;
  }

  /* Decorative type scale-down */
  [class*="mes-style-0204"],
  [class*="mes-style-0227"],
  [class*="mes-style-0246"],
  [class*="mes-style-0276"],
  [class*="mes-style-0290"],
  [class*="mes-style-0330"] {
    font-size: clamp(6rem, 28vw, 12rem);
  }

  /* About mobile process list visible; desktop row hidden */
  .mes-about-process-row {
    display: none;
  }

  .mes-about-mobile-process-list {
    display: grid;
    gap: 0.75rem;
  }

  /* Hide sticky rails */
  [class*="lg:sticky"],
  [class*="md:sticky"] {
    position: relative;
    top: auto;
  }

  /* Hero marquee pills */
  .hero-marquee-track {
    animation-duration: 16s;
  }

  /* Pointer-events-none decorative blobs — prevent overflow */
  [class*="pointer-events-none"][class*="w-["],
  [class*="pointer-events-none"][class*="-right-"],
  [class*="pointer-events-none"][class*="-left-"] {
    max-width: 100vw;
  }





}

/* ==========================================
   Mobile Portrait (≤480px)
========================================== */

@media (max-width: 480px) {
  html {
    font-size: 16px;
  }

  /* Inner page h1 — reference text-5xl */
  section[class*="overflow-hidden"] h1[class*="text-5xl"],
  section[class*="overflow-hidden"] h1.text-5xl,
  section h1.font-heading[class*="text-5xl"] {
    font-size: 2.5rem !important;
    line-height: 0.92;
    letter-spacing: -0.025em;
  }

  section h1 span[class*="text-2xl"],
  section h1 span[class*="sm:text-3xl"] {
    font-size: 1.375rem;
    line-height: 1.25;
  }

  h2.font-heading {
    font-size: clamp(1.75rem, 8vw, 2.25rem);
    line-height: 0.95;
  }

  h3.font-heading {
    font-size: clamp(1.375rem, 6vw, 1.75rem);
    line-height: 1.05;
  }

  p,
  li,
  .text-lg {
    font-size: 1rem;
    line-height: 1.55;
  }

  .font-mono.font-medium{font-size: 0.78rem;}
  

  [class*="max-w-7xl"],
  [class*="max-w-6xl"],
  [class*="max-w-5xl"],
  [class*="max-w-4xl"] {
    padding-left: 1.375rem;
    padding-right: 1.375rem;
  }

  section[class*="py-24"],
  section[class*="md:py-24"],
  section[class*="md:py-24"],
  section[class*="py-20"] {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  section[class*="min-h-[80vh]"],
  section [class*="min-h-[80vh]"] {
    min-height: auto;
    padding-top: 5.5rem;
    padding-bottom: 2.5rem;
  }

  [class*="gap-16"],
  [class*="gap-14"],
  [class*="gap-12"],
  [class*="lg:gap-24"] {
    gap: 1.5rem;
  }

  .mes-about-stats-grid,
  [class*="mes-about-stats"] {
    grid-template-columns: 1fr 1fr;
    gap: 1px !important;
  }

  footer [class*="sm:grid-cols-4"] {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  footer .mx-auto.max-w-7xl.px-6.py-16,
  footer [class*="py-16"] {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  footer h2 {
    font-size: 2rem;
  }

  footer a.rounded-full[class*="px-8"] {
    width: 100%;
    justify-content: center;
  }

  /* Contact hero */
  body.mes-contact-page .mes-contact-hero-fixed h1,
  .mes-contact-hero-fixed h1 {
    font-size: clamp(2.5rem, 12vw, 3rem);
    line-height: 0.92;
  }

  body.mes-contact-page .mes-contact-hero-fixed > .relative.mx-auto.grid,
  .mes-contact-hero-fixed > .relative.mx-auto.grid {
    padding: 2rem 1.375rem 2.75rem;
    gap: 1.5rem;
  }

  body.mes-contact-page .mes-contact-hero-fixed form {
    padding: 1.125rem;
    border-radius: 1.125rem;
  }

  /* Cards & CTAs full width */
  a[class*="inline-flex"][class*="rounded-full"],
  button[class*="rounded-full"]:not([aria-label="Open menu"]):not([aria-label="Close menu"]) {
    max-width: 100%;
  }

  .mes-search-box {
    padding: 1.25rem 1rem;
    border-radius: 1.125rem;
  }

  .mes-mobile-menu-inner {
    width: min(94vw, 420px);
    padding: 1.25rem 1.125rem 2.5rem;
  }

  .mes-mobile-menu-panel a {
    font-size: 1rem;
    padding: 0.625rem 0;
  }

  /* Industry accordion cards */
  .mes-industry-card {
    min-height: 14rem;
  }

  body.home .mes-hero-showcase .mes-hero-card {
    min-height: 0;
    height: 100%;
  }

  .mes-inv-industry-slider {
    min-height: 14rem;
  }

  .mes-inv-industry-slider [class*="group/panel"] {
    min-height: 12rem;
  }

  /* Oversized decorative numerals */
  [class*="mes-style-0204"],
  [class*="mes-style-0227"],
  [class*="mes-style-0246"],
  [class*="mes-style-0276"],
  [class*="mes-style-0290"],
  [class*="mes-style-0330"],
  [class*="mes-style-0442"] {
    font-size: clamp(4.5rem, 32vw, 8rem);
  }

  /* FAQ */
  .mes-faq-enhanced .mes-faq-button {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  /* Video embeds */
  .mes-founder-video-frame,
  video:not([class*="object-cover"]),
  iframe {
    width: 100%;
    max-width: 100%;
  }

  /* Home trusted-by strip — scope hero image scale */
  body.home .mes-style-0144 img.absolute {
    scale: 1;
  }

  body.home .mes-style-0144 .max-w-4xl {
    padding-left: 1.375rem !important;
    padding-right: 1.375rem !important;
  }

  body.home .mes-style-0144 .pt-1\.5 {
    padding-top: 0;
  }
}

/* ==========================================
   Accessibility & motion
========================================== */

@media (max-width: 767px) {
  .mes-parallax-layer {
    translate: none !important;
  }

  .mes-parallax-media {
    scale: 1 !important;
  }


.mes-style-0004 [class*="max-w-4xl"]{padding-left: 0!important;padding-right: 0!important;}
footer h3.font-mono{font-size: clamp(14px,2vw,34px)!important}
footer p, footer li{font-size: 0.9rem}
footer [class*="grid-cols-4"], footer[class*="grid-cols-2"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}

[class*="md:grid-cols-3"]:not(.mes-about-stats-grid),
[class*="sm:grid-cols-3"]{grid-template-columns:repeat(3,minmax(0,1fr))!important}

[class*="sm:grid-cols-1"],
[class*="sm:grid-cols-1"]:not(.mes-about-stats-grid) {
  grid-template-columns: 1fr !important;
}



p[class*="sm:text-sm"] ,
p.text-sm{font-size: 0.89rem!important}


.scroll-mt-24.mes-style-0075,
.scroll-mt-24.mes-style-0084{margin-top: 0 !important;}

html.mes-static-page body:not(.mes-contact-page) .mes-page-hero-fixed > .relative.mx-auto,
  .mes-page-hero-fixed > .relative.mx-auto.grid,
  .mes-page-hero-fixed > .relative.mx-auto {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  html.mes-static-page body:not(.mes-contact-page) .min-h-screen .mes-page-hero-fixed > .relative.mx-auto, 
  .min-h-screen .mes-page-hero-fixed > .relative.mx-auto.grid, 
  .min-h-screen .mes-page-hero-fixed > .relative.mx-auto{padding-left: 1.375rem !important;    padding-right: 1.375rem!important;}  

  
.mes-page-hero-fixed .mes-style-0004 p.text-2xl{font-size: 1.48rem!important}



.mes-faq-enhanced h2.text-4xl{font-size:clamp(30px,7vw,46px)!important}
h2[class*="md:text-3xl"]{font-size: 1.6rem!important;}

#core-values h3.font-heading,
#blogs h3.font-heading,
#case-studies h3.font-heading,
#white-papers h3.font-heading,
#publications h3.font-heading,
#industry-guides h3.font-heading,
#technical-resources h3.font-heading,
#videos h3.font-heading,
.mes-faq-enhanced .mes-faq-button h3{font-size: 1.25rem!important}

.tracking-\[0\.28em\]{    --tw-tracking: .25em;
  letter-spacing: .25em;}

  .min-h-\[20rem\] {min-height: 11rem !important;}
  .h-\[clamp\(440px\,62vh\,640px\)\] {
    height: clamp(480px, 45vh, 640px);
}

.mes-app-card-media[class*="aspect-"]{aspect-ratio: 16 / 9;}
.mes-app-card-media[class*="aspect-[4/3]"]{aspect-ratio: 4 / 3;}
.mes-app-card-media[class*="aspect-[3/4]"],
.mes-app-card-media[class*="aspect-[4/5]"]{aspect-ratio: 3 / 4;}


.pl-8[class*="sm:pl-0"] {padding-left: 0!important;padding-right: 0!important;}


html.mes-static-page body:not(.mes-contact-page) .min-h-screen .mes-page-hero-fixed > .relative.mx-auto[class*="sm:px-0"],
html.mes-static-page body:not(.mes-contact-page) .min-h-screen .mes-page-hero-fixed > .relative.mx-auto.px-0{padding-left: 0!important;padding-right: 0!important;}


}



@media (max-width: 550px) {
h2{font-size:clamp(30px,7vw,46px)!important}
h3{font-size:clamp(20px,4vw,34px)!important}
.sm-pad{padding:10px !important
}

.h-24 {
  height: calc(var(--spacing) * 20) !important;
}


#blogs,
#case-studies,
#white-papers,
#publications,
#industry-guides,
#technical-resources,
#videos{margin-top: 0 !important;}

}






@media (prefers-reduced-motion: reduce) {
  .hero-marquee-track,
  .mes-about-text-marquee,
  .mes-about-image-marquee,
  .mes-customer-logo-marquee {
    animation: none;
  }
}

/* Elementor compatibility for the source-derived granular DOM.
 * Elementor Containers default to flex/relative with kit padding. Those
 * defaults override the exported utility classes and push absolute hero
 * layers into normal flow. Reset only generated MES containers, then let the
 * original utility classes restore flex/grid/absolute behavior. */
.mes-granular-root.e-con,
.mes-granular-root .e-con {
  --padding-top: 0px;
  --padding-right: 0px;
  --padding-bottom: 0px;
  --padding-left: 0px;
  --padding-block-start: 0px;
  --padding-block-end: 0px;
  --padding-inline-start: 0px;
  --padding-inline-end: 0px;
  --gap: 0px;
  display: block;
}
.mes-granular-root.e-con.flex,
.mes-granular-root .e-con.flex { display: flex; }
.mes-granular-root.e-con.inline-flex,
.mes-granular-root .e-con.inline-flex { display: inline-flex; }
.mes-granular-root.e-con.grid,
.mes-granular-root .e-con.grid { display: grid; }
.mes-granular-root.e-con.absolute,
.mes-granular-root .e-con.absolute { position: absolute !important; }
.mes-granular-root.e-con.fixed,
.mes-granular-root .e-con.fixed { position: fixed !important; }
.mes-granular-root.e-con.fixed:not([class*=" w-"]),
.mes-granular-root .e-con.fixed:not([class*=" w-"]),
.mes-granular-root.e-con.absolute:not([class*=" w-"]),
.mes-granular-root .e-con.absolute:not([class*=" w-"]) {
  width: auto !important;
}
.mes-granular-root.e-con.relative,
.mes-granular-root .e-con.relative { position: relative !important; }
.mes-granular-root.e-con.static,
.mes-granular-root .e-con.static { position: static !important; }

/* Native Elementor widgets add an inner render node. Source utility classes
 * live on the editable widget wrapper, so pass the visual primitives through
 * to the actual heading/image without losing native Elementor controls. */
.mes-granular-root .elementor-widget-heading .elementor-heading-title,
.mes-global-header-template .elementor-widget-heading .elementor-heading-title,
.mes-global-footer-template .elementor-widget-heading .elementor-heading-title {
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
  font-style: inherit !important;
  font-weight: inherit !important;
  letter-spacing: inherit !important;
  line-height: inherit !important;
  text-align: inherit !important;
  text-transform: inherit !important;
}
.mes-granular-root .elementor-widget-image.w-full img { width: 100% !important; }
.mes-granular-root .elementor-widget-image.w-auto img { width: auto !important; }
.mes-granular-root .elementor-widget-image.h-full img { height: 100% !important; }
.mes-granular-root .elementor-widget-image.h-auto img { height: auto !important; }
.mes-granular-root .elementor-widget-image.object-cover img { object-fit: cover !important; }
.mes-granular-root .elementor-widget-image.object-contain img { object-fit: contain !important; }
.mes-global-header-template .elementor-widget-image {
  width: auto !important;
  flex: 0 0 auto !important;
}
.mes-global-header-template .elementor-widget-image img {
  width: auto !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: contain !important;
}
.mes-global-header-template .elementor-widget-image .elementor-widget-container,
.mes-global-header-template .elementor-widget-image figure,
.mes-global-header-template .elementor-widget-image a {
  width: auto !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}
.mes-global-header-template .elementor-widget-image.mes-style-0007,
.mes-global-header-template .elementor-widget-image.mes-style-0007 .elementor-widget-container,
.mes-global-header-template .elementor-widget-image.mes-style-0007 figure,
.mes-global-header-template .elementor-widget-image.mes-style-0007 a,
.mes-global-header-template .elementor-widget-image.mes-style-0007 img {
  width: auto !important;
  height: 6.2vh !important;
  max-width: none !important;
}

/* Global Elementor partials need the same source-DOM reset as pages. */
.mes-global-header-template .e-con,
.mes-global-footer-template .e-con {
  --padding-top: 0px;
  --padding-right: 0px;
  --padding-bottom: 0px;
  --padding-left: 0px;
  --padding-block-start: 0px;
  --padding-block-end: 0px;
  --padding-inline-start: 0px;
  --padding-inline-end: 0px;
  --gap: 0px;
  display: block;
}
.mes-global-header-template .e-con.flex,
.mes-global-footer-template .e-con.flex { display: flex !important; }
.mes-global-header-template .e-con.grid,
.mes-global-footer-template .e-con.grid { display: grid !important; }
.mes-global-header-template .hidden,
.mes-global-footer-template .hidden { display: none !important; }
@media (min-width: 768px) {
  .mes-global-header-template .md\:hidden,
  .mes-global-footer-template .md\:hidden,
  .mes-global-header-template .e-con.md\:hidden,
  .mes-global-footer-template .e-con.md\:hidden { display: none !important; }
  .mes-global-header-template .md\:flex,
  .mes-global-footer-template .md\:flex,
  .mes-global-header-template .e-con.md\:flex,
  .mes-global-footer-template .e-con.md\:flex { display: flex !important; }
  .mes-global-header-template .md\:block,
  .mes-global-footer-template .md\:block,
  .mes-global-header-template .e-con.md\:block,
  .mes-global-footer-template .e-con.md\:block { display: block !important; }
}
.mes-global-header-template .e-con.shrink-0,
.mes-global-footer-template .e-con.shrink-0 {
  flex: 0 0 auto !important;
  width: auto !important;
}

/* The global header is rendered from its exact saved fragment on the public
 * site for reference fidelity. Keep search functional while matching the
 * original pill control. */
.mes-global-header-template .mes-header-search {
  display: flex !important;
  align-items: center !important;
  width: min(36vw, 520px) !important;
  height: 4.8vh !important;
  min-height: 46px !important;
  padding: 0 0.55vh 0 1.5vw !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  border-radius: 9999px !important;
  background: rgba(255,255,255,.08) !important;
  overflow: hidden !important;
}
.mes-global-header-template .mes-header-search label {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.mes-global-header-template .mes-header-search input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  height: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  color: rgba(255,255,255,.75) !important;
  font: 400 1vw/1 Inter,sans-serif !important;
  box-shadow: none !important;
}
.mes-global-header-template .mes-header-search button {
  position: relative !important;
  flex: 0 0 auto !important;
  width: 4vh !important;
  height: 4vh !important;
  min-width: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 9999px !important;
  background: #f37121 !important;
  color: transparent !important;
  overflow: hidden !important;
  box-shadow: 0 0 24px rgba(243,113,33,.35) !important;
}
.mes-global-header-template .mes-header-search button::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 11px;
  border: 2px solid #fff;
  border-radius: 50%;
  transform: translate(-58%,-58%);
}
.mes-global-header-template .mes-header-search button::after {
  content: '';
  position: absolute;
  left: 56%;
  top: 57%;
  width: 7px;
  height: 2px;
  background: #fff;
  transform: rotate(45deg);
  transform-origin: left center;
}

/* Source buttons remain native Elementor controls in page content. Their
 * utility styling belongs to the widget wrapper; neutralize Elementor kit
 * paint and prevent inline CTAs from stretching across the container. */
.mes-granular-root .elementor-widget-button.inline-flex:not(.w-full),
.mes-granular-root .elementor-widget-button.inline-block:not(.w-full) {
  width: max-content !important;
  max-width: 100% !important;
  flex: 0 0 auto !important;
  align-self: flex-start !important;
}
.mes-granular-root .elementor-widget-button .elementor-button {
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: inherit !important;
  background: transparent !important;
  color: inherit !important;
  font: inherit !important;
  letter-spacing: inherit !important;
  line-height: inherit !important;
  text-transform: inherit !important;
  box-shadow: none !important;
}
.mes-granular-root .elementor-widget-button.w-full {
  width: 100% !important;
}
@media (min-width: 640px) {
  .mes-granular-root .elementor-widget-button.sm\:w-auto {
    width: max-content !important;
  }
}
@media (max-width: 767px) {
  .mes-granular-root .mes-page-hero-fixed h1.elementor-heading-title,
  .mes-granular-root .elementor-widget-heading.mes-page-hero-fixed h1.elementor-heading-title {
    font-size: clamp(2.5rem,10vw,3.75rem) !important;
    line-height: .92 !important;
  }
}
@media (max-width: 550px) {
  .mes-granular-root .mes-page-hero-fixed h2.elementor-heading-title,
  .mes-granular-root .elementor-widget-heading.mes-page-hero-fixed h2.elementor-heading-title {
    font-size: 30px !important;
    line-height: 1 !important;
  }
}

/* Listing references use full-width three-card rows for Videos and
 * Publications. Preserve dynamic records without introducing a fourth filter
 * column that is absent from the approved design. */
.mes-posts-archive[data-source="videos"] .mes-posts-filter,
.mes-posts-archive[data-source="publications"] .mes-posts-filter {
  display: none !important;
}
.mes-posts-archive[data-source="videos"] .mes-posts-layout,
.mes-posts-archive[data-source="publications"] .mes-posts-layout {
  display: block !important;
}
.mes-posts-archive[data-source="videos"] .mes-posts-grid,
.mes-posts-archive[data-source="publications"] .mes-posts-grid {
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
}
@media (max-width: 900px) {
  .mes-posts-archive[data-source="videos"] .mes-posts-grid,
  .mes-posts-archive[data-source="publications"] .mes-posts-grid {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }
}
@media (max-width: 640px) {
  .mes-posts-archive[data-source="videos"] .mes-posts-grid,
  .mes-posts-archive[data-source="publications"] .mes-posts-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Restore exported responsive flex directions over Elementor container
 * variables. */
@media (min-width: 640px) {
  .mes-granular-root .e-con.sm\:flex-row { flex-direction: row !important; }
  .mes-granular-root .e-con.sm\:flex-col { flex-direction: column !important; }
}
.mes-granular-root .e-con.hidden { display: none !important; }
@media (min-width: 640px) {
  .mes-granular-root .e-con.sm\:hidden { display: none !important; }
  .mes-granular-root .e-con.sm\:block { display: block !important; }
  .mes-granular-root .e-con.sm\:flex { display: flex !important; }
  .mes-granular-root .e-con.sm\:grid { display: grid !important; }
}
@media (min-width: 768px) {
  .mes-granular-root .e-con.md\:hidden { display: none !important; }
  .mes-granular-root .e-con.md\:block { display: block !important; }
  .mes-granular-root .e-con.md\:flex { display: flex !important; }
  .mes-granular-root .e-con.md\:grid { display: grid !important; }
}
@media (min-width: 1024px) {
  .mes-granular-root .e-con.lg\:hidden { display: none !important; }
  .mes-granular-root .e-con.lg\:block { display: block !important; }
  .mes-granular-root .e-con.lg\:flex { display: flex !important; }
  .mes-granular-root .e-con.lg\:grid { display: grid !important; }
}
@media (min-width: 768px) {
  .mes-granular-root .e-con.md\:flex-row { flex-direction: row !important; }
  .mes-granular-root .e-con.md\:flex-col { flex-direction: column !important; }
}
@media (min-width: 1024px) {
  .mes-granular-root .e-con.lg\:flex-row { flex-direction: row !important; }
  .mes-granular-root .e-con.lg\:flex-col { flex-direction: column !important; }
}
@media (max-width: 639px) {
  .mes-granular-root .e-con.flex-col > .inline-flex {
    width: 100% !important;
    max-width: 100% !important;
  }
}
@media (min-width: 640px) {
  .mes-granular-root .e-con.sm\:flex-row > .inline-flex {
    width: auto !important;
    flex: 0 0 auto !important;
  }
}

/* Elementor does not emit table/tr/td tags for Containers. Recreate the
 * source table formatting from the preserved table utility classes. */
.mes-granular-root .e-con[class~="min-w-[640px]"][class~="border-collapse"] {
  display: table !important;
  width: 100% !important;
  table-layout: auto !important;
  border-collapse: collapse !important;
}
.mes-granular-root .e-con[class~="min-w-[640px]"][class~="border-collapse"] > .e-con:first-child {
  display: table-header-group !important;
}
.mes-granular-root .e-con[class~="min-w-[640px]"][class~="border-collapse"] > .e-con:nth-child(2) {
  display: table-row-group !important;
}
.mes-granular-root .e-con[class~="min-w-[640px]"][class~="border-collapse"] > .e-con > .e-con {
  display: table-row !important;
}
.mes-granular-root .e-con[class~="min-w-[640px]"][class~="border-collapse"] > .e-con > .e-con > .elementor-element {
  display: table-cell !important;
  width: auto !important;
  vertical-align: middle !important;
}

/* Custom granular widgets render the source class list on their native output
 * element as well as Elementor's wrapper. Remove duplicated outer paint and
 * spacing so padding, borders and backgrounds occur exactly once. */
.mes-granular-root .elementor-widget-mesn-tag,
.mes-granular-root .elementor-widget-mesn-action,
.mes-granular-root .elementor-widget-mesn-video,
.mes-granular-root .elementor-widget-mesn-icon,
.mes-granular-root .elementor-widget-mesn-form-field {
  margin: 0 !important;
  padding: 0 !important;
  border-color: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

/* Homepage mobile reference: copy occupies the upper half and the interactive
 * industry accordion occupies the lower half. Elementor's absolute container
 * default otherwise leaves the cards off-canvas at left:44%. */
@media (max-width: 767px) {
  body.home .mes-granular-root .mes-hero-showcase {
    display: flex !important;
    flex-direction: column !important;
  }
  body.home .mes-granular-root .mes-hero-showcase > .e-con.mes-style-0124 {
    position: relative !important;
    width: 100% !important;
    height: 50% !important;
    min-height: 0 !important;
    flex: 0 0 50% !important;
  }
  body.home #root > div:first-child .mes-hero-showcase .mes-style-0133,
  body.home .mes-granular-root .mes-hero-showcase > .e-con.mes-style-0133 {
    position: absolute !important;
    inset: auto 0 0 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: 50% !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 50% !important;
    min-height: 0 !important;
    flex: none !important;
  }
  body.home .mes-granular-root .mes-hero-showcase .e-con.mes-style-0133 > .e-con.mes-style-0134 {
    position: absolute !important;
    inset: 0 !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
  }
  body.home .mes-granular-root .mes-pipeline-dots,
  body.home .mes-granular-root .mes-capabilities-dots,
  body.home .mes-granular-root .mes-industries-dots {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
  }
}

/* Homepage native-Elementor media parity. Source media nodes become widgets
 * with transparent wrappers; preserve the original absolute media boxes. */
@media (min-width: 768px) {
  body.home .mes-granular-root .mes-hero-showcase > .e-con.mes-style-0133 > .e-con.mes-style-0134 {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: -5.5vw !important;
    right: auto !important;
    width: 79.5vw !important;
    min-width: 79.5vw !important;
    max-width: none !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    transform: skewX(-9deg) !important;
    transform-origin: left bottom !important;
  }
  body.home .mes-granular-root .mes-hero-showcase .e-con.mes-style-0134 > .e-con.mes-hero-card {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    flex-basis: 0 !important;
    align-self: stretch !important;
  }
  body.home .mes-granular-root .mes-hero-showcase .e-con.mes-style-0134 > .e-con.mes-hero-card.is-active {
    flex: 6.5 1 0 !important;
  }
  body.home .mes-granular-root .mes-hero-showcase .e-con.mes-style-0134 > .e-con.mes-hero-card.is-inactive {
    flex: .85 1 0 !important;
  }
  body.home .mes-granular-root .mes-hero-card > .e-con.mes-style-0137 {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: -7vw !important;
    right: auto !important;
    width: 68vw !important;
    min-width: 68vw !important;
    max-width: none !important;
    height: 100% !important;
    transform: skewX(9deg) !important;
  }
}

.mes-granular-root .elementor-widget-image.absolute.inset-0,
.mes-granular-root .elementor-widget-mesn-video.absolute.inset-0 {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100% !important;
}
.mes-granular-root .elementor-widget-image.absolute.inset-0 > .elementor-widget-container,
.mes-granular-root .elementor-widget-image.absolute.inset-0 figure,
.mes-granular-root .elementor-widget-image.absolute.inset-0 img,
.mes-granular-root .elementor-widget-mesn-video.absolute.inset-0 > .elementor-widget-container,
.mes-granular-root .elementor-widget-mesn-video.absolute.inset-0 video {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  object-fit: cover !important;
}

/* Homepage reference parity: preserve source list/grid/flex semantics through
 * Elementor's extra wrappers. */
.mes-granular-root .sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.mes-granular-root .space-y-4 > .e-con + .e-con {
  margin-top: 1rem !important;
}

@media (min-width: 1024px) {
  body.home .mes-home-stats-card > .e-con.grid,
  body.home .mes-home-stats-card > [class~="grid"] {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 2.5rem !important;
    row-gap: 2.25rem !important;
    margin-top: 2rem !important;
    width: 100% !important;
  }
  body.home .mes-home-stats-card > .e-con.grid > .e-con,
  body.home .mes-home-stats-card > [class~="grid"] > .e-con {
    width: auto !important;
    min-width: 0 !important;
    gap: 0 !important;
  }
  body.home section:has(.mes-pipeline-slider) [class~="mt-12"][class~="flex-wrap"] {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    column-gap: 2rem !important;
    row-gap: .75rem !important;
  }
  body.home section:has(.mes-pipeline-slider) [class~="mt-12"][class~="flex-wrap"] > .e-con,
  body.home section:has(.mes-pipeline-slider) [class~="mt-12"][class~="flex-wrap"] > .elementor-widget {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    flex: 0 0 auto !important;
  }
  body.home .mes-pipeline-slider,
  body.home .mes-pipeline-slide {
    gap: 0 !important;
  }
  body.home .mes-pipeline-slide > .group {
    width: auto !important;
    min-width: 0 !important;
    flex: 1 1 0 !important;
  }
  body.home .mes-pipeline-slide > .flex.shrink-0 {
    display: flex !important;
    width: 4rem !important;
    min-width: 4rem !important;
    max-width: 4rem !important;
    flex: 0 0 4rem !important;
  }
  body.home .mes-industry-accordion .e-con.mes-style-0167 {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: -60px !important;
    right: auto !important;
    width: calc(min(1200px, calc(100vw - 240px)) + 120px) !important;
    min-width: calc(min(1200px, calc(100vw - 240px)) + 120px) !important;
    max-width: none !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 0 !important;
    transform: skewX(-9deg) !important;
  }
  body.home .mes-industry-accordion .e-con.mes-style-0167 > .mes-industry-card {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    flex-basis: 0 !important;
    align-self: stretch !important;
  }
  body.home .mes-industry-accordion .e-con.mes-style-0167 > .mes-industry-card.is-active {
    flex: 6 1 0 !important;
  }
  body.home .mes-industry-accordion .e-con.mes-style-0167 > .mes-industry-card.is-inactive {
    flex: 1 1 0 !important;
  }
}

body.home section:has(.space-y-4) .space-y-4 .h-12.w-12 {
  width: 3rem !important;
  min-width: 3rem !important;
  max-width: 3rem !important;
  flex: 0 0 3rem !important;
}

/* Elementor front-page preview does not execute the public hero initializer;
 * use permanent imported classes so poster placeholders retain media width. */
@media (min-width: 768px) {
  body.home.elementor-page-31 .mes-hero-showcase .e-con.mes-style-0137,
  body.home.elementor-page-31 .mes-hero-showcase .mes-style-0137 {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: -7vw !important;
    right: auto !important;
    width: 68vw !important;
    min-width: 68vw !important;
    max-width: none !important;
    height: 100% !important;
    transform: skewX(9deg) !important;
  }
}

body.mes-elementor-preview.home .mes-hero-showcase .mes-style-0138 {
  background: linear-gradient(180deg, rgba(8,12,20,.08), rgba(8,12,20,.42)) !important;
  opacity: 1 !important;
}

/* Public hero video visibility: the imported source overlay was opaque black.
 * Match the reference by retaining readable contrast without covering footage. */
body.home:not(.mes-elementor-preview) .mes-hero-showcase .mes-hero-card .mes-style-0138 {
  background: linear-gradient(180deg, rgba(8,12,20,.08) 0%, rgba(8,12,20,.24) 62%, rgba(8,12,20,.48) 100%) !important;
  opacity: 1 !important;
  transition: background .35s ease, opacity .35s ease !important;
}
body.home:not(.mes-elementor-preview) .mes-hero-showcase .mes-hero-card.is-active .mes-style-0138 {
  background: linear-gradient(180deg, rgba(8,12,20,.02) 0%, rgba(8,12,20,.12) 65%, rgba(8,12,20,.36) 100%) !important;
}

/* Global Elementor FAQ parity: full-width rows and centered plus/minus glyphs. */
.mes-faq-enhanced .mes-faq-item-open > .elementor-widget-mesn-action,
.mes-faq-enhanced .mes-faq-item-closed > .elementor-widget-mesn-action,
.mes-faq-enhanced .elementor-widget-mesn-action:has(> .elementor-widget-container > .mes-faq-button) {
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
}
.mes-faq-enhanced .elementor-widget-mesn-action:has(.mes-faq-button) > .elementor-widget-container {
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  flex: 1 1 100% !important;
}
.mes-faq-enhanced .mes-faq-button {
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 1.5rem !important;
}
.mes-faq-enhanced .mes-faq-button .mes-faq-icon {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: auto !important;
  flex: 0 0 2.25rem !important;
  width: 2.25rem !important;
  min-width: 2.25rem !important;
  max-width: 2.25rem !important;
  height: 2.25rem !important;
  min-height: 2.25rem !important;
  padding: 0 !important;
  line-height: 1 !important;
}
.mes-faq-enhanced .mes-faq-button .mes-faq-icon.h-8.w-8 {
  flex-basis: 2rem !important;
  width: 2rem !important;
  min-width: 2rem !important;
  max-width: 2rem !important;
  height: 2rem !important;
  min-height: 2rem !important;
}
.mes-faq-enhanced .mes-faq-icon svg {
  position: static !important;
  display: block !important;
  width: 1.25rem !important;
  height: 1.25rem !important;
  margin: 0 !important;
  transform: none !important;
}
.mes-faq-enhanced .mes-faq-icon.h-8.w-8 svg {
  width: 1rem !important;
  height: 1rem !important;
}

/* Preserve source dot/line dimensions on the visible Elementor wrappers. */
.mes-granular-root .elementor-widget-mesn-tag.pulse-dot,
.mes-granular-root .elementor-widget-mesn-tag.h-1\.5.w-1\.5 {
  width: .375rem !important;
  min-width: .375rem !important;
  max-width: .375rem !important;
  height: .375rem !important;
  min-height: .375rem !important;
  flex: 0 0 .375rem !important;
  border-radius: 9999px !important;
}
.mes-granular-root .elementor-widget-mesn-tag.h-px.w-6 {
  width: 1.5rem !important;
  min-width: 1.5rem !important;
  max-width: 1.5rem !important;
  height: 1px !important;
  min-height: 1px !important;
  flex: 0 0 1.5rem !important;
}

/* Reported media-layout parity repairs. */
body.home .mes-industry-card .elementor-widget-image,
body.home .mes-industry-card .elementor-widget-image > .elementor-widget-container,
body.home .mes-industry-card .elementor-widget-image figure,
body.home .mes-industry-card .elementor-widget-image img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  object-fit: cover !important;
}

#what-we-do .mes-about-process-card .elementor-widget-image,
#what-we-do .mes-about-process-card .elementor-widget-image > .elementor-widget-container,
#what-we-do .mes-about-process-card .elementor-widget-image figure,
#what-we-do .mes-about-process-card .elementor-widget-image img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  object-fit: cover !important;
}
#what-we-do .mes-about-process-card .mes-style-0040 {
  background: rgba(196,85,26,.12) !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
}
#what-we-do .mes-about-process-card.is-active .elementor-widget-image,
#what-we-do .mes-about-process-card.is-active .elementor-widget-image img {
  opacity: 1 !important;
  filter: brightness(1.25) saturate(1.12) !important;
}
#what-we-do .mes-about-process-card.is-active .mes-style-0040 {
  background: transparent !important;
  mix-blend-mode: normal !important;
}
#what-we-do .mes-about-process-card.is-active .mes-style-0041 {
  background: linear-gradient(to top,rgba(7,18,34,.46) 0%,rgba(7,18,34,.08) 48%,transparent 100%) !important;
}
#what-we-do .mes-about-process-card.is-inactive .elementor-widget-image,
#what-we-do .mes-about-process-card.is-inactive .elementor-widget-image img {
  opacity: .72 !important;
}
#what-we-do .mes-about-process-card.is-inactive .mes-style-0044 {
  background: linear-gradient(to top,rgba(7,18,34,.78),rgba(7,18,34,.32)) !important;
}

#philosophy .mes-ab-culture-slider .elementor-widget-mesn-tag.h-1.w-8 {
  width: 2rem !important;
  min-width: 2rem !important;
  max-width: 2rem !important;
  height: .25rem !important;
  min-height: .25rem !important;
  flex: 0 0 2rem !important;
}

#metrics-holdings .mes-ab-companies-media {
  height: 11rem !important;
  min-height: 11rem !important;
  max-height: 11rem !important;
  overflow: hidden !important;
}
#metrics-holdings .mes-ab-companies-media .elementor-widget-image,
#metrics-holdings .mes-ab-companies-media .elementor-widget-image > .elementor-widget-container,
#metrics-holdings .mes-ab-companies-media figure,
#metrics-holdings .mes-ab-companies-media img {
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  object-fit: cover !important;
}
#metrics-holdings .mes-ab-companies-body .elementor-widget-image:has(img[alt$="logo"]),
#metrics-holdings .mes-ab-companies-body .elementor-widget-image:has(img[alt$="logo"]) > .elementor-widget-container,
#metrics-holdings .mes-ab-companies-body figure:has(img[alt$="logo"]) {
  width: auto !important;
  min-width: 0 !important;
  max-width: 12rem !important;
  height: 3rem !important;
  min-height: 3rem !important;
  max-height: 3rem !important;
  margin: 0 !important;
}
#metrics-holdings .mes-ab-companies-body img[alt$="logo"] {
  display: block !important;
  width: auto !important;
  max-width: 12rem !important;
  height: 3rem !important;
  min-height: 3rem !important;
  max-height: 3rem !important;
  object-fit: contain !important;
}

#giving-back .mes-about-image-marquee {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: stretch !important;
  gap: 1rem !important;
  width: max-content !important;
  animation: mes-marquee-left 55s linear infinite !important;
}
#giving-back .mes-about-image-marquee > .e-con {
  position: relative !important;
  flex: 0 0 24rem !important;
  width: 24rem !important;
  min-width: 24rem !important;
  max-width: 24rem !important;
  height: 16rem !important;
  min-height: 16rem !important;
  max-height: 16rem !important;
  margin: 0 !important;
  overflow: hidden !important;
}
#giving-back .mes-about-image-marquee .elementor-widget-image,
#giving-back .mes-about-image-marquee .elementor-widget-image > .elementor-widget-container,
#giving-back .mes-about-image-marquee figure,
#giving-back .mes-about-image-marquee img {
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  object-fit: cover !important;
}

body.home .mes-style-0144 .mes-trusted-logo-marquee {
  animation: mes-marquee-left 38s linear infinite !important;
  will-change: transform !important;
}
body.home .mes-style-0144 .animate-marquee:not(.mes-trusted-logo-marquee) {
  animation: none !important;
  transform: none !important;
}
@media (max-width: 767px) {
  #giving-back .mes-about-image-marquee > .e-con {
    flex-basis: 20rem !important;
    width: 20rem !important;
    min-width: 20rem !important;
    max-width: 20rem !important;
    height: 14rem !important;
    min-height: 14rem !important;
    max-height: 14rem !important;
  }
}

#what-we-do .mes-about-process-card > a,
#what-we-do .mes-about-process-card > a.mes-scroll-reveal {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}
#metrics-holdings .mes-ab-companies-body .elementor-widget-image,
#metrics-holdings .mes-ab-companies-body .elementor-widget-image > .elementor-widget-container,
#metrics-holdings .mes-ab-companies-body .elementor-widget-image figure {
  width: auto !important;
  min-width: 0 !important;
  max-width: 12rem !important;
  height: 3rem !important;
  min-height: 3rem !important;
  max-height: 3rem !important;
  margin: 0 !important;
  overflow: hidden !important;
}
#metrics-holdings .mes-ab-companies-body .elementor-widget-image img {
  display: block !important;
  width: auto !important;
  max-width: 12rem !important;
  height: 3rem !important;
  min-height: 3rem !important;
  max-height: 3rem !important;
  object-fit: contain !important;
}

/* Global MES Difference: preserve the source two-column comparison table. */
.mes-global-difference-template .e-con.contents {
  display: contents !important;
}
.mes-global-difference-template .e-con.grid.grid-cols-2,
.mes-global-difference-template .grid.grid-cols-2 {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 !important;
  column-gap: 0 !important;
  row-gap: 0 !important;
}
.mes-global-difference-template .e-con.grid.grid-cols-2 > .e-con:not(.contents),
.mes-global-difference-template .grid.grid-cols-2 > .e-con:not(.contents) {
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  gap: 0 !important;
}
.mes-global-difference-template .e-con.contents > .e-con.mes-style-0084 {
  background: #0A1628 !important;
  color: #fff !important;
}
.mes-global-difference-template .e-con.contents > .e-con.mes-style-0084 * {
  color: inherit !important;
}
.mes-global-difference-template .e-con.contents > .e-con.mes-style-0084 .mes-style-0027 {
  color: #22c55e !important;
}

/* Manufacturing / Die Casting — Elementor parity repairs. */
.mes-dc-materials-section .flex-wrap.items-end.justify-between > .e-con:first-child {
  flex: 1 1 42rem !important;
  width: auto !important;
  min-width: 0 !important;
}
.mes-dc-materials-section .flex-wrap.items-end.justify-between > .e-con:last-child {
  flex: 0 0 19.25rem !important;
  width: 19.25rem !important;
  max-width: 100% !important;
}
.mes-dc-materials-section [class~="h-9"][class~="w-9"] {
  width: 2.25rem !important;
  min-width: 2.25rem !important;
  max-width: 2.25rem !important;
  height: 2.25rem !important;
  min-height: 2.25rem !important;
  flex: 0 0 2.25rem !important;
}
.mes-dc-materials-section [class~="h-2.5"][class~="w-2.5"] {
  display: block !important;
  width: .625rem !important;
  min-width: .625rem !important;
  max-width: .625rem !important;
  height: .625rem !important;
  min-height: .625rem !important;
  flex: 0 0 .625rem !important;
}
.mes-dc-materials-section .mes-scroll-reveal,
.mes-dc-secondary-section .mes-scroll-reveal,
.mes-dc-network-section .mes-scroll-reveal {
  opacity: 1 !important;
  transform: none !important;
}
.mes-dc-secondary-section .mt-8.flex.flex-wrap:not(.border-t) {
  display: flex !important;
  flex-flow: row wrap !important;
  align-content: flex-start !important;
  column-gap: .625rem !important;
  row-gap: .625rem !important;
}
.mes-dc-secondary-section .mt-8.flex.flex-wrap:not(.border-t) > .elementor-widget {
  width: auto !important;
  max-width: max-content !important;
  margin: 0 !important;
}
.mes-dc-network-section .mes-dc-region-slide {
  opacity: 1 !important;
  transform: none !important;
}
.mes-dc-tonnage-table {
  display: table !important;
  width: 100% !important;
  min-width: 640px !important;
  border-collapse: collapse !important;
  table-layout: fixed !important;
}
.mes-dc-tonnage-head { display: table-header-group !important; }
.mes-dc-tonnage-body { display: table-row-group !important; }
.mes-dc-tonnage-row { display: table-row !important; }
.mes-dc-network-section .mes-dc-tonnage-table .mes-dc-tonnage-cell {
  display: table-cell !important;
  width: auto !important;
  min-width: 0 !important;
  vertical-align: middle !important;
  padding: .875rem 1.25rem !important;
  line-height: 1.35 !important;
}
.mes-dc-network-section .mes-dc-tonnage-head .mes-dc-tonnage-cell {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}
.mes-dc-tonnage-row > .mes-dc-tonnage-cell:last-child { text-align: right !important; }
.mes-dc-tonnage-cell .elementor-widget-container { margin: 0 !important; }
.mes-dc-tonnage-cell .elementor-widget-image,
.mes-dc-tonnage-cell figure,
.mes-dc-tonnage-cell img {
  width: 1.25rem !important;
  min-width: 1.25rem !important;
  height: 1.25rem !important;
  margin: 0 !important;
}
.mes-dc-industries-section .mes-inv-industry-slider,
.mes-dc-industries-section .mes-inv-industry-slider > a,
.mes-dc-industries-section .mes-industry-slider-media {
  height: 30rem !important;
  min-height: 30rem !important;
  max-height: 30rem !important;
}
.mes-dc-industries-section .mes-industry-slider-media {
  top: 0 !important;
  bottom: auto !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
}
.mes-dc-industries-section .mes-inv-industry-slider > a {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  transition: flex-grow .5s cubic-bezier(.22,1,.36,1) !important;
}
.mes-dc-industries-section .mes-inv-industry-slider > a:hover,
.mes-dc-industries-section .mes-inv-industry-slider > a:focus-visible {
  flex-grow: 3.2 !important;
}
.mes-dc-industries-section .mes-industry-slider-img img,
.mes-dc-industries-section .mes-industry-slider-mobile-img img,
.mes-dc-industries-section img.mes-industry-slider-img,
.mes-dc-industries-section img.mes-industry-slider-mobile-img {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: center center !important;
}
.mes-faq-panel > .elementor-widget-text-editor[class*="pb-6"] {
  padding: 0 !important;
}

/* Native migrated Blog / Case Study detail pages. */
.mes-native-article{background:#fff;color:#172033}.mes-native-article__hero{padding:12rem 1.5rem 5rem;background:radial-gradient(circle at 80% 20%,rgba(243,113,33,.2),transparent 34%),#0b1422;color:#fff}.mes-native-article__hero-inner,.mes-native-article__body{width:min(920px,100%);margin:auto}.mes-native-article__back,.mes-native-article__return{display:inline-flex;color:#f37121;font-weight:700;text-decoration:none}.mes-native-article__eyebrow{margin-top:2.5rem;font:700 .75rem/1.2 monospace;letter-spacing:.26em;text-transform:uppercase;color:#8fb5e5}.mes-native-article h1{max-width:850px;margin:1rem 0 1.5rem;font-family:Oswald,sans-serif;font-size:clamp(2.7rem,6vw,5.4rem);line-height:.98;letter-spacing:-.025em}.mes-native-article__meta{display:flex;flex-wrap:wrap;gap:.75rem 1.5rem;color:#b8c7da}.mes-native-article__body{padding:4rem 1.5rem 6rem}.mes-native-article__featured{margin:0 0 3rem;overflow:hidden;border-radius:1.25rem;background:#eef2f7}.mes-native-article__featured img{display:block;width:100%;max-height:570px;object-fit:cover}.mes-native-article__content{font-size:1.08rem;line-height:1.8;color:#43546d}.mes-native-article__content>:first-child{margin-top:0}.mes-native-article__content h2,.mes-native-article__content h3,.mes-native-article__content h4,.mes-native-article__content h5{margin:2.4rem 0 1rem;font-family:Oswald,sans-serif;line-height:1.15;color:#111b2e}.mes-native-article__content h2{font-size:2.25rem}.mes-native-article__content h3{font-size:1.8rem}.mes-native-article__content h4,.mes-native-article__content h5{font-size:1.45rem}.mes-native-article__content p,.mes-native-article__content ul,.mes-native-article__content ol,.mes-native-article__content blockquote{margin:0 0 1.3rem}.mes-native-article__content img{display:block;max-width:100%;height:auto;margin:2rem auto;border-radius:.75rem}.mes-native-article__content a{color:#e85f12;text-decoration:underline}.mes-native-article__content table{display:block;max-width:100%;overflow:auto;border-collapse:collapse}.mes-native-article__content th,.mes-native-article__content td{padding:.8rem;border:1px solid #d9e1eb}.mes-native-article__return{margin-top:3rem;padding:.85rem 1.2rem;border:1px solid #f37121;border-radius:999px}.mes-posts-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.55rem;margin:2.25rem 0 0}.mes-posts-pagination a,.mes-posts-pagination span{display:inline-flex;min-width:2.65rem;height:2.65rem;align-items:center;justify-content:center;padding:0 .85rem;border:1px solid #cfd8e5;border-radius:999px;color:#17355d;text-decoration:none;font-weight:700}.mes-posts-pagination a:hover,.mes-posts-pagination .is-current{border-color:#f37121;background:#f37121;color:#fff}
@media(max-width:767px){.mes-native-article__hero{position:relative!important;inset:auto!important;top:auto!important;right:auto!important;bottom:auto!important;left:auto!important;z-index:auto!important;width:100%!important;height:auto!important;min-height:0!important;padding-top:8.5rem!important;padding-bottom:3.5rem!important;background:radial-gradient(circle at 80% 20%,rgba(243,113,33,.2),transparent 34%),#0b1422!important;backdrop-filter:none!important}.mes-native-article__body{padding-top:2rem}.mes-native-article__content{font-size:1rem}.mes-posts-pagination{gap:.35rem}.mes-posts-pagination a,.mes-posts-pagination span{min-width:2.35rem;height:2.35rem;padding:0 .65rem}}

/* Mobile industry slides are horizontally clipped, so viewport-based reveal observers cannot see later cards. */
.mes-dc-industries-section .mes-dc-industry-slide,
.mes-dc-industries-section .mes-dc-industry-slide.mes-scroll-reveal {
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
}

/* Remove Elementor's inner content width from angled industry media. */
.mes-dc-industries-section .mes-inv-industry-slider > a > .mes-industry-slider-media {
  position: absolute !important;
  left: -18% !important;
  right: -18% !important;
  top: -1px !important;
  bottom: -1px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  flex: none !important;
  border-radius: inherit !important;
  overflow: hidden !important;
}

/* Lighting Components: fixed thumbnail + front-layer text rows. */
.mes-lighting-components-section .mt-16.grid > .e-con > .e-con {
  gap: 0 !important;
}
.mes-lighting-components-section .flex.items-start.gap-4 {
  display: flex !important;
  flex-flow: row nowrap !important;
  align-items: flex-start !important;
  gap: 1rem !important;
  min-height: 5rem !important;
}
.mes-lighting-components-section .flex.items-start.gap-4 > .e-con:first-child {
  display: block !important;
  flex: 0 0 5rem !important;
  width: 5rem !important;
  min-width: 5rem !important;
  max-width: 5rem !important;
  height: 5rem !important;
  min-height: 5rem !important;
  max-height: 5rem !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}
.mes-lighting-components-section .flex.items-start.gap-4 > .e-con:last-child {
  position: relative !important;
  z-index: 2 !important;
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  gap: 0 !important;
  background: #fff !important;
}
.mes-lighting-components-section .flex.items-start.gap-4 .elementor-widget-image,
.mes-lighting-components-section .flex.items-start.gap-4 figure,
.mes-lighting-components-section .flex.items-start.gap-4 img {
  display: block !important;
  width: 5rem !important;
  min-width: 5rem !important;
  max-width: 5rem !important;
  height: 5rem !important;
  min-height: 5rem !important;
  max-height: 5rem !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover !important;
}
.mes-lighting-components-section .flex.items-start.gap-4 > .e-con:last-child > .elementor-widget-text-editor {
  width: 100% !important;
  margin: 0 !important;
}
.mes-lighting-components-section .mes-scroll-reveal {
  opacity: 1 !important;
  transform: none !important;
}

/* CNC Materials: match reference heading/legend/table geometry. */
.mes-cnc-materials-section .flex-wrap.items-end.justify-between > .e-con:first-child {
  flex: 1 1 42rem !important;
  width: auto !important;
  min-width: 0 !important;
}
.mes-cnc-materials-section .flex-wrap.items-end.justify-between > .e-con:last-child {
  flex: 0 0 11.5rem !important;
  width: 11.5rem !important;
  max-width: 11.5rem !important;
}
.mes-cnc-materials-section [class~="h-9"][class~="w-9"] {
  width: 2.25rem !important;
  min-width: 2.25rem !important;
  max-width: 2.25rem !important;
  height: 2.25rem !important;
  min-height: 2.25rem !important;
  flex: 0 0 2.25rem !important;
}
.mes-cnc-materials-section [class~="h-2.5"][class~="w-2.5"] {
  display: block !important;
  width: .625rem !important;
  min-width: .625rem !important;
  max-width: .625rem !important;
  height: .625rem !important;
  min-height: .625rem !important;
  flex: 0 0 .625rem !important;
}
.mes-cnc-materials-section .mes-scroll-reveal {
  opacity: 1 !important;
  transform: none !important;
}
.mes-cnc-materials-section .mt-3.grid .flex.items-center {
  flex-flow: row nowrap !important;
}
.mes-cnc-materials-section .mt-3.grid .flex.items-center > :last-child {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  white-space: nowrap !important;
}
@media (max-width: 767px) {
  .mes-dc-materials-section .flex-wrap.items-end.justify-between > .e-con:last-child,
  .mes-cnc-materials-section .flex-wrap.items-end.justify-between > .e-con:last-child {
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .mes-lighting-components-section .flex.items-start.gap-4 > .e-con:first-child,
  .mes-lighting-components-section .flex.items-start.gap-4 .elementor-widget-image,
  .mes-lighting-components-section .flex.items-start.gap-4 figure,
  .mes-lighting-components-section .flex.items-start.gap-4 img {
    flex-basis: 4rem !important;
    width: 4rem !important;
    min-width: 4rem !important;
    max-width: 4rem !important;
    height: 4rem !important;
    min-height: 4rem !important;
    max-height: 4rem !important;
  }
  .mes-dc-tonnage-cell { padding: .75rem 1rem !important; }
  .mes-dc-industries-section .mes-dc-industry-slide > a,
  .mes-dc-industries-section .mes-industry-slider-mobile-img { min-height: 20rem !important; height: 20rem !important; }
}

/* Reported four-page parity repair — scoped, Elementor-safe. */
.mes-industry-components-section .mt-16.grid > .e-con,
.mes-industry-components-section .mt-16.grid > .e-con > .e-con,
.mes-industry-components-section .mt-5.flex.flex-1.flex-col.gap-4 { min-width:0!important; }
.mes-industry-components-section .flex.items-start.gap-4 {
  display:flex!important; flex-flow:row nowrap!important; align-items:flex-start!important;
  gap:1rem!important; width:100%!important; min-width:0!important; min-height:5rem!important;
}
.mes-industry-components-section .flex.items-start.gap-4 > .e-con:first-child {
  display:block!important; flex:0 0 5rem!important; width:5rem!important; min-width:5rem!important;
  max-width:5rem!important; height:5rem!important; min-height:5rem!important; max-height:5rem!important;
  padding:0!important; margin:0!important; overflow:hidden!important;
}
.mes-industry-components-section .flex.items-start.gap-4 > .e-con:last-child {
  position:relative!important; z-index:2!important; display:block!important; flex:1 1 auto!important;
  width:auto!important; min-width:0!important; max-width:none!important; gap:0!important; padding:0!important;
  margin:0!important; background:#fff!important; overflow:visible!important;
}
.mes-industry-components-section .flex.items-start.gap-4 .elementor-widget-image,
.mes-industry-components-section .flex.items-start.gap-4 figure,
.mes-industry-components-section .flex.items-start.gap-4 img {
  display:block!important; width:5rem!important; min-width:5rem!important; max-width:5rem!important;
  height:5rem!important; min-height:5rem!important; max-height:5rem!important; margin:0!important;
  padding:0!important; object-fit:cover!important; border-radius:.5rem!important;
}
.mes-industry-components-section .flex.items-start.gap-4 .elementor-widget-text-editor,
.mes-industry-components-section .flex.items-start.gap-4 .elementor-widget-heading {
  display:block!important; width:100%!important; max-width:100%!important; margin:0!important; padding:0!important;
}
.mes-industry-components-section .mes-scroll-reveal { opacity:1!important; visibility:visible!important; transform:none!important; }
@media (min-width:768px) {
  .mes-industry-components-section .mt-16.grid { grid-auto-rows:1fr!important; }
  .mes-industry-components-section .mt-16.grid > .e-con,
  .mes-industry-components-section .mt-16.grid > .e-con > .e-con { height:100%!important; }
}

/* Extrusions: three even capability boxes and compact one-line Alloy Class legend. */
.mes-extrusions-capability-grid {
  display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr))!important; align-items:stretch!important; gap:1rem!important;
}
.mes-extrusions-capability-grid > .e-con { width:auto!important; min-width:0!important; height:100%!important; }
@media (min-width:768px) {
  .mes-extrusions-process-section .grid.grid-cols-2.gap-4 {
    display:grid!important; grid-template-columns:repeat(3,minmax(0,1fr))!important; align-items:stretch!important;
  }
  .mes-extrusions-process-section .grid.grid-cols-2.gap-4 > .e-con { width:auto!important; min-width:0!important; height:100%!important; }
  .mes-extrusions-materials-section .flex.flex-wrap.items-end.justify-between.gap-8 {
    display:grid!important; grid-template-columns:minmax(0,1fr) auto!important; align-items:end!important; gap:2rem!important;
  }
  .mes-extrusions-materials-section .flex.flex-wrap.items-end.justify-between.gap-8 > .e-con:first-child {
    width:auto!important; min-width:0!important;
  }
  .mes-extrusions-materials-section .flex.flex-wrap.items-end.justify-between.gap-8 > .e-con:last-child {
    width:auto!important; min-width:24rem!important; max-width:none!important; justify-self:end!important;
  }
  .mes-extrusions-materials-section .mt-3.grid {
    display:grid!important; grid-template-columns:repeat(3,max-content)!important; align-items:center!important; gap:1rem!important;
  }
}
.mes-extrusions-materials-section .mt-3.grid .flex.items-center {
  display:flex!important; flex-flow:row nowrap!important; align-items:center!important; width:auto!important; min-width:0!important;
}
.mes-extrusions-materials-section .mt-3.grid .flex.items-center > :last-child {
  display:block!important; width:auto!important; min-width:max-content!important; max-width:none!important; white-space:nowrap!important;
}
.mes-extrusions-materials-section [class~="h-2.5"][class~="w-2.5"] {
  display:block!important; flex:0 0 .625rem!important; width:.625rem!important; min-width:.625rem!important;
  max-width:.625rem!important; height:.625rem!important; min-height:.625rem!important;
}
.mes-extrusions-materials-section .divide-y > .e-con { min-height:7rem!important; align-items:center!important; }
.mes-extrusions-profiles-section .grid > .e-con { height:100%!important; }
.mes-extrusions-process-section .mes-scroll-reveal,
.mes-extrusions-profiles-section .mes-scroll-reveal,
.mes-extrusions-materials-section .mes-scroll-reveal { opacity:1!important; visibility:visible!important; transform:none!important; }

/* Active White Papers filter controls. */
.mes-white-papers-filter-active .mes-white-filter-select {
  display:block!important; width:100%!important; min-height:2.75rem!important; padding:.625rem 2.5rem .625rem 1rem!important;
  border:1px solid #d8e0ea!important; border-radius:.75rem!important; background:#fff!important;
  color:#53657e!important; font-size:.875rem!important; line-height:1.25rem!important; cursor:pointer!important;
  appearance:auto!important;
}
.mes-white-filter-footer { display:flex!important; flex-direction:column!important; align-items:flex-start!important; gap:.65rem!important; padding-top:.25rem!important; }
.mes-white-filter-count { font:600 .7rem/1.3 var(--font-mono,monospace)!important; letter-spacing:.12em!important; text-transform:uppercase!important; color:#53657e!important; }
.mes-white-filter-reset { border:0!important; background:transparent!important; color:#e85f12!important; font-weight:700!important; padding:0!important; cursor:pointer!important; }
.mes-white-filter-reset:hover,.mes-white-filter-reset:focus-visible { text-decoration:underline!important; }
@media (max-width:767px) {
  .mes-industry-components-section .flex.items-start.gap-4 > .e-con:first-child,
  .mes-industry-components-section .flex.items-start.gap-4 .elementor-widget-image,
  .mes-industry-components-section .flex.items-start.gap-4 figure,
  .mes-industry-components-section .flex.items-start.gap-4 img {
    flex-basis:4rem!important; width:4rem!important; min-width:4rem!important; max-width:4rem!important;
    height:4rem!important; min-height:4rem!important; max-height:4rem!important;
  }
  .mes-extrusions-process-section .grid.grid-cols-2.gap-4,
  section.mes-extrusions-process-section .mes-extrusions-capability-grid,
  section.mes-extrusions-process-section .mes-extrusions-capability-grid[class*="sm:grid-cols-2"] { display:grid!important; grid-template-columns:1fr!important; }
  .mes-extrusions-materials-section .flex.flex-wrap.items-end.justify-between.gap-8 > .e-con:last-child { width:100%!important; max-width:100%!important; }
  .mes-extrusions-materials-section .mt-3.grid { display:grid!important; grid-template-columns:repeat(3,max-content)!important; gap:.75rem!important; overflow-x:auto!important; }
}

/* ==========================================
   Full-site UI/UX remediation — 20 Aug 2026
========================================== */

/* Strong, consistent keyboard focus. */
:where(a,button,input,select,textarea,summary,[role="button"]):focus-visible {
  outline:3px solid #f59e0b!important;
  outline-offset:3px!important;
}
.mes-search-input:focus-visible { border-color:#f59e0b!important; box-shadow:0 0 0 4px rgba(245,158,11,.2)!important; }

/* Search loading/status and result information scent. */
.mes-search-status { min-height:1.25rem; margin:.5rem 0; color:#64748b; font-size:.8125rem; }
.mes-search-hit__type { display:block!important; margin-bottom:.2rem; color:#e85f12!important; font:700 .6875rem/1.2 var(--font-mono,monospace); letter-spacing:.12em; text-transform:uppercase; }
.mes-search-close { width:48px!important; height:48px!important; }

/* Stable image/card loading surfaces. */
.mes-app-card-media,
.mes-post-card__media,
.mes-process-video-layer,
[class*="mes-"][class*="-slide"] img { background-color:#e8edf3; }
img[data-mes-original-src] { transition:opacity .2s ease; }
img[data-mes-original-src]:not(.mes-image-ready) { opacity:.001; }
img.mes-image-ready { opacity:1; }

/* Video archive affordance. */
.mes-posts-archive[data-source="videos"] .mes-post-card__media { position:relative; }
.mes-posts-archive[data-source="videos"] .mes-post-card__media::after {
  content:"▶"; position:absolute; left:50%; top:50%; translate:-50% -50%; display:grid; place-items:center;
  width:4rem; height:4rem; border-radius:999px; color:#fff; background:rgba(5,15,30,.82);
  border:2px solid rgba(255,255,255,.9); font-size:1.35rem; padding-left:.2rem; box-shadow:0 10px 30px rgba(0,0,0,.28);
}

/* Reduced motion is a functional mode, not just a shorter animation. */
@media (prefers-reduced-motion:reduce) {
  html { scroll-behavior:auto!important; }
  *,*::before,*::after { animation-duration:.001ms!important; animation-iteration-count:1!important; scroll-behavior:auto!important; transition-duration:.001ms!important; }
  .animate-marquee,.mes-trusted-logo-marquee,.mes-customer-logo-marquee,.mes-about-text-marquee,.mes-about-image-marquee { animation:none!important; transform:none!important; }
  .mes-trusted-logo-marquee,.mes-customer-logo-marquee { display:flex!important; flex-wrap:wrap!important; width:100%!important; justify-content:center!important; }
  .mes-parallax-layer,.mes-parallax-media,.mes-scroll-reveal { transform:none!important; translate:none!important; scale:1!important; opacity:1!important; }
  video { visibility:hidden!important; }
}

@media (max-width:767px) {
  /* Reference uses complete vertical cards instead of clipped rails. */
  :is(
    .mes-mfg-process-slider,.mes-scm-benefit-slider,.mes-scm-hub-slider,.mes-eng-benefit-slider,.mes-eng-process-slider,
    .mes-gs-benefit-slider,.mes-qm-benefit-slider,.mes-sc-benefit-slider,.mes-wh-benefit-slider,.mes-wh-hub-slider,
    .mes-dc-region-slider,.mes-dc-industry-slider,.mes-ic-benefit-slider,.mes-ic-support-slider,.mes-ic-industry-slider,
    .mes-fr-benefit-slider,.mes-fr-industry-slider,.mes-cnc-region-slider,.mes-cnc-industry-slider,.mes-ext-industry-slider,
    .mes-ta-app-slider,.mes-ta-related-slider,.mes-hy-app-slider,.mes-hy-process-slider,.mes-hy-related-slider,.mes-hy-case-slider,
    .mes-ev-app-slider,.mes-ev-process-slider,.mes-ev-related-slider,.mes-ra-comp-slider,.mes-ra-robot-slider,.mes-ra-case-slider,
    .mes-ab-process-slider,.mes-ab-presence-slider,.mes-ab-culture-slider,.mes-ab-principles-slider,.mes-ab-companies-slider,
    .mes-ab-customers-slider,.mes-in-blog-slider,.mes-in-case-slider,.mes-in-wp-slider,.mes-in-pub-slider,.mes-in-guide-slider,
    .mes-in-tech-slider,.mes-in-video-slider
  ) {
    display:grid!important; grid-template-columns:minmax(0,1fr)!important; align-items:stretch!important;
    gap:1rem!important; width:100%!important; max-width:100%!important; margin:2rem 0 0!important; padding:0!important;
    overflow:visible!important; scroll-snap-type:none!important; transform:none!important;
  }
  :is(
    .mes-mfg-process-slider,.mes-scm-benefit-slider,.mes-scm-hub-slider,.mes-eng-benefit-slider,.mes-eng-process-slider,
    .mes-gs-benefit-slider,.mes-qm-benefit-slider,.mes-sc-benefit-slider,.mes-wh-benefit-slider,.mes-wh-hub-slider,
    .mes-dc-region-slider,.mes-dc-industry-slider,.mes-ic-benefit-slider,.mes-ic-support-slider,.mes-ic-industry-slider,
    .mes-fr-benefit-slider,.mes-fr-industry-slider,.mes-cnc-region-slider,.mes-cnc-industry-slider,.mes-ext-industry-slider,
    .mes-ta-app-slider,.mes-ta-related-slider,.mes-hy-app-slider,.mes-hy-process-slider,.mes-hy-related-slider,.mes-hy-case-slider,
    .mes-ev-app-slider,.mes-ev-process-slider,.mes-ev-related-slider,.mes-ra-comp-slider,.mes-ra-robot-slider,.mes-ra-case-slider,
    .mes-ab-process-slider,.mes-ab-presence-slider,.mes-ab-culture-slider,.mes-ab-principles-slider,.mes-ab-companies-slider,
    .mes-ab-customers-slider,.mes-in-blog-slider,.mes-in-case-slider,.mes-in-wp-slider,.mes-in-pub-slider,.mes-in-guide-slider,
    .mes-in-tech-slider,.mes-in-video-slider
  ) > * {
    width:100%!important; min-width:0!important; max-width:100%!important; flex:0 0 auto!important; scroll-snap-align:none!important;
  }
  section:has(:is(.mes-mfg-process-slider,.mes-wh-benefit-slider,.mes-wh-hub-slider,.mes-ta-app-slider,.mes-ta-related-slider,.mes-hy-app-slider,.mes-hy-process-slider,.mes-hy-related-slider,.mes-hy-case-slider,.mes-ev-app-slider,.mes-ev-process-slider,.mes-ev-related-slider,.mes-ra-comp-slider,.mes-ra-robot-slider,.mes-ra-case-slider,.mes-in-blog-slider,.mes-in-case-slider,.mes-in-wp-slider,.mes-in-pub-slider,.mes-in-guide-slider,.mes-in-tech-slider,.mes-in-video-slider)) [class*="mes-"][class*="-dots"] { display:none!important; }

  /* Full-card About presentation replaces the compressed accordion. */
  .mes-about-process-row { display:grid!important; grid-template-columns:1fr!important; gap:1rem!important; }
  .mes-about-process-accordion { display:none!important; }

  /* Mobile reading comfort and touch sizing. */
  main p:not([class*="font-mono"]),#root section p:not([class*="font-mono"]) { font-size:max(15px,1em)!important; line-height:1.55!important; }
  button[aria-label="Open menu"] { min-width:48px!important; min-height:48px!important; }
  .mes-posts-pagination a,.mes-posts-pagination span,.mes-white-filter-reset { min-width:44px!important; min-height:44px!important; display:inline-flex!important; align-items:center!important; justify-content:center!important; }

  /* Fixed header must not cover the first readable content block. */
  body:not(.home) .mes-page-hero-fixed { padding-top:max(64px,env(safe-area-inset-top))!important; }
  body:not(.home) main { scroll-padding-top:76px!important; }

  /* Contact form uses the available mobile canvas. */
  .mes-contact-page .elementor-widget-form,
  .mes-contact-page .elementor-widget-form .elementor-widget-container,
  .mes-contact-page .elementor-form,
  .mes-contact-page .elementor-form-fields-wrapper,
  .mes-contact-page .elementor-field-group,
  .mes-contact-hero-fixed .elementor-widget-form,
  .mes-contact-hero-fixed .elementor-form { width:100%!important; max-width:100%!important; }
  .mes-contact-page .elementor-field,.mes-contact-hero-fixed .elementor-field { width:100%!important; min-height:48px!important; }

  /* Consistent White Paper filter controls. */
  .mes-white-papers-filter-active .mes-white-filter-select,
  .mes-white-papers-filter-active input,
  .mes-white-papers-filter-active select { width:100%!important; max-width:100%!important; min-height:48px!important; }
  .mes-white-papers-filter-active aside,.mes-white-papers-filter-active form { width:100%!important; }

  /* Smaller sticky footprint on handheld screens. */
  header.mes-site-header,header.fixed.top-0 { min-height:64px!important; }
}

/* Improve low-contrast supporting copy on dark sections. */
:is(.bg-slate-900,.bg-black,.bg-\[\#05070b\],.bg-\[\#0A1628\]) p { color:#cbd5e1; }

/* Editorial hierarchy for dynamic archives. */
.mes-posts-featured { margin:1rem 0 2.5rem; border:1px solid #dbe3ec; background:#fff; overflow:hidden; }
.mes-posts-featured[hidden] { display:none!important; }
.mes-posts-featured > a { display:grid; grid-template-columns:minmax(0,1.4fr) minmax(20rem,.8fr); min-height:31rem; color:inherit; text-decoration:none; }
.mes-posts-featured__media { min-height:31rem; overflow:hidden; background:#e8edf3; }
.mes-posts-featured__media img { width:100%; height:100%; object-fit:cover; transition:transform .4s ease; }
.mes-posts-featured > a:hover .mes-posts-featured__media img { transform:scale(1.025); }
.mes-posts-featured__body { display:flex; flex-direction:column; justify-content:center; padding:clamp(2rem,4vw,4rem); }
.mes-posts-featured__eyebrow { color:#e85f12; font:700 .75rem/1.2 var(--font-mono,monospace); letter-spacing:.16em; text-transform:uppercase; }
.mes-posts-featured time { margin-top:1rem; color:#64748b; font-size:.8125rem; }
.mes-posts-featured h2 { margin:.75rem 0 1rem; color:#0a1628; font-size:clamp(2rem,4vw,4rem); line-height:.98; }
.mes-posts-featured p { color:#475569; font-size:1rem; line-height:1.65; }
.mes-posts-featured__cta { margin-top:1.5rem; color:#e85f12; font-weight:800; }
.mes-posts-archive.is-loading .mes-posts-results { opacity:.45; pointer-events:none; }
.mes-posts-archive.is-loading .mes-posts-results::before { content:"Updating results…"; display:block; padding:1rem; color:#475569; font-weight:700; }
.mes-posts-reset[hidden] { display:none!important; }

@media (max-width:767px) {
  .mes-posts-featured > a { grid-template-columns:1fr; min-height:0; }
  .mes-posts-featured__media { min-height:0; aspect-ratio:16/10; }
  .mes-posts-featured__body { padding:1.5rem; }
  .mes-posts-featured h2 { font-size:clamp(2rem,10vw,3rem)!important; }
  .mes-posts-filter { position:static!important; width:100%!important; }
  :is(.mes-pipeline-dot,.mes-capabilities-dot,.mes-industries-dot) {
    position:relative!important; width:44px!important; height:44px!important; min-width:44px!important; min-height:44px!important;
    padding:0!important; border:0!important; background:transparent!important;
  }
  :is(.mes-pipeline-dot,.mes-capabilities-dot,.mes-industries-dot)::before {
    content:""; position:absolute; left:50%; top:50%; translate:-50% -50%; width:8px; height:8px; border-radius:999px; background:rgba(10,22,40,.3);
  }
  .mes-pipeline-dot::before { background:rgba(255,255,255,.35); }
  :is(.mes-pipeline-dot,.mes-capabilities-dot,.mes-industries-dot).is-active::before { width:24px; background:#f37121; }
}
