/**
 * 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;
  }
}