:root {
  --mp-black: #111111;
  --mp-charcoal: #1c1c1c;
  --mp-orange: #ff5401;
  --mp-red: #fe1f07;
  --mp-gold: #c8b112;
  --mp-yellow: #ffe10d;
  --mp-paper: #f6f6f4;
  --mp-muted: #686868;
  --mp-line: #dedbd6;
  --mp-shadow: 0 18px 42px rgba(17, 17, 17, .14);
}

/* 1.6.0 production correction: four-panel growth intelligence composition. */
.mp-growth-frame {
  display: grid;
  grid-template-columns: minmax(220px, 1.05fr) minmax(190px, .62fr) minmax(430px, 1.55fr) minmax(260px, 1.08fr);
  width: 100%;
  min-height: 680px;
  background: #111;
}

.mp-growth-frame .mp-growth-photo {
  order: initial;
  min-height: 680px;
  background-position: center;
  background-size: cover;
}

.mp-growth-band {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  padding: 48px 30px;
  background: linear-gradient(180deg, var(--mp-red), #e36f00);
  color: white;
}

.mp-growth-band p {
  margin: 0;
  color: white;
  font-size: clamp(25px, 2.15vw, 36px);
  font-weight: 500;
  line-height: 1.12;
}

.mp-growth-band span {
  font-size: 16px;
  line-height: 1.65;
}

.mp-growth-band a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 18px;
  border: 1px solid white;
  color: white;
  font-weight: 600;
}

.mp-growth-frame .mp-growth-copy {
  order: initial;
  padding: 58px clamp(30px, 3.5vw, 64px);
  border-right: 12px solid var(--mp-orange);
}

/* Make both photography columns fill the complete Connect / Partner / Evolve panel. */
body.page-id-1111 .elementor-element-4ed365a > .elementor-container {
  align-items: stretch !important;
}

body.page-id-1111 .elementor-element-4ed365a .elementor-element-7284456,
body.page-id-1111 .elementor-element-4ed365a .elementor-element-d93805a,
body.page-id-1111 .elementor-element-4ed365a .elementor-element-7284456 > .elementor-widget-wrap,
body.page-id-1111 .elementor-element-4ed365a .elementor-element-d93805a > .elementor-widget-wrap,
body.page-id-1111 .elementor-element-4ed365a .elementor-element-7284456 .elementor-widget-image,
body.page-id-1111 .elementor-element-4ed365a .elementor-element-d93805a .elementor-widget-image,
body.page-id-1111 .elementor-element-4ed365a .elementor-element-7284456 .elementor-widget-container,
body.page-id-1111 .elementor-element-4ed365a .elementor-element-d93805a .elementor-widget-container {
  height: 100% !important;
}

body.page-id-1111 .elementor-element-4ed365a .elementor-element-7284456 .elementor-widget-image img,
body.page-id-1111 .elementor-element-4ed365a .elementor-element-d93805a .elementor-widget-image img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  min-height: 660px;
  object-fit: cover;
}

body.page-id-1111 .elementor-element-4ed365a .elementor-element-405d231 img {
  width: 62px !important;
  height: 62px !important;
  min-height: 0 !important;
  object-fit: contain;
}

/* Rebuilt Services sections: alternating editorial panels with complete photography. */
body.page-id-1902 .mp-service-detail-section {
  display: block !important;
  width: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: auto 610px;
}

.mp-service-detail-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(420px, .82fr);
  min-height: 610px;
}

.mp-service-detail-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(54px, 6vw, 96px) max(42px, calc((100vw - 1510px) / 2));
}

.mp-service-dark {
  background: #111;
  color: white;
}

.mp-service-light {
  background: #f6f4f1;
  color: #111;
}

.mp-service-light .mp-service-detail-media {
  order: -1;
}

.mp-service-step {
  margin: 0 0 22px;
  color: var(--mp-yellow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
}

.mp-service-detail-copy h2 {
  max-width: 720px;
  margin: 0 0 24px;
  color: inherit;
  font-size: clamp(40px, 4.3vw, 68px);
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.mp-service-detail-copy h2::after {
  display: block;
  width: 82px;
  height: 6px;
  margin-top: 22px;
  background: linear-gradient(90deg, var(--mp-red), var(--mp-gold));
  content: '';
}

.mp-service-description {
  max-width: 780px;
  margin: 0 0 28px;
  color: inherit;
  font-size: 17px;
  line-height: 1.75;
  opacity: .82;
}

.mp-service-detail-copy ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  max-width: 820px;
  margin: 0 0 34px;
  padding: 0;
  list-style: none;
}

.mp-service-detail-copy li {
  position: relative;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.5;
}

.mp-service-detail-copy li::before {
  position: absolute;
  top: .5em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mp-red);
  content: '';
}

.mp-service-learn-more {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 14px;
  min-height: 50px;
  padding: 12px 20px;
  border: 1px solid var(--mp-red);
  color: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.mp-service-learn-more:hover,
.mp-service-learn-more:focus {
  background: var(--mp-red);
  color: white;
}

.mp-service-detail-media {
  position: relative;
  min-height: 610px;
  background: linear-gradient(135deg, var(--mp-red), var(--mp-gold));
}

.mp-service-detail-media::after {
  position: absolute;
  inset: auto 0 0 auto;
  width: 34%;
  height: 20%;
  background: linear-gradient(135deg, rgba(255,32,12,.94), rgba(221,180,0,.9));
  content: '';
}

.mp-service-detail-media img {
  display: block;
  width: calc(100% - 42px);
  height: calc(100% - 66px);
  min-height: 544px;
  object-fit: cover;
}

.mp-service-dark .mp-service-detail-media img {
  margin: 0 0 66px 42px;
}

.mp-service-light .mp-service-detail-media img {
  margin: 66px 42px 0 0;
}

/* Replace the three-item legacy widget with the complete published library. */
body.page-id-561 .mp-blog-results-replaced {
  display: none !important;
}

.mp-blog-library {
  padding: 64px max(24px, calc((100vw - 1160px) / 2)) 96px;
  background: #f4f3f1;
}

.mp-blog-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.mp-blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-bottom: 4px solid var(--mp-red);
  background: white;
  box-shadow: 0 12px 28px rgba(17,17,17,.09);
  content-visibility: auto;
  contain-intrinsic-size: auto 430px;
  transition: transform .2s ease, box-shadow .2s ease;
}

.mp-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(17,17,17,.14);
}

.mp-blog-card-image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.mp-blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.mp-blog-card:hover .mp-blog-card-image img {
  transform: scale(1.035);
}

.mp-blog-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.mp-blog-card time {
  color: #777;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mp-blog-card h3 {
  display: -webkit-box;
  min-height: 48px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  margin: 10px 0 12px;
  font-size: 19px;
  line-height: 1.25;
}

.mp-blog-card h3 a {
  color: #111;
}

.mp-blog-card p {
  display: -webkit-box;
  min-height: 66px;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  margin: 0 0 20px;
  color: #666;
  font-size: 14px;
  line-height: 1.55;
}

.mp-blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  margin-top: auto;
  color: #b91605;
  font-size: 13px;
  font-weight: 800;
}

.mp-blog-load-more {
  display: flex;
  min-height: 50px;
  margin: 42px auto 0;
  padding: 12px 24px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--mp-red);
  background: transparent;
  color: #111;
  font-weight: 800;
  cursor: pointer;
}

.mp-blog-load-more:hover,
.mp-blog-load-more:focus {
  background: var(--mp-red);
  color: white;
}

body .elementor-element-d5c4f93 {
  background-position: center !important;
  background-size: cover !important;
}

@media (max-width: 1180px) {
  .mp-growth-frame {
    grid-template-columns: minmax(220px, .85fr) minmax(180px, .55fr) minmax(390px, 1.3fr);
  }

  .mp-growth-photo-right {
    display: none;
  }

  .mp-blog-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .mp-growth-frame {
    grid-template-columns: 1fr 1fr;
  }

  .mp-growth-frame .mp-growth-photo,
  .mp-growth-band {
    min-height: 420px;
  }

  .mp-growth-frame .mp-growth-copy {
    grid-column: 1 / -1;
    border-right: 0;
    border-top: 10px solid var(--mp-orange);
  }

  .mp-growth-photo-right {
    display: block;
  }

  .mp-service-detail-inner {
    grid-template-columns: 1fr;
  }

  .mp-service-light .mp-service-detail-media,
  .mp-service-detail-media {
    order: -1;
    min-height: 430px;
  }

  .mp-service-detail-media img,
  .mp-service-dark .mp-service-detail-media img,
  .mp-service-light .mp-service-detail-media img {
    width: 100%;
    height: 430px;
    min-height: 430px;
    margin: 0;
  }

  .mp-service-detail-copy {
    padding: 54px 38px 68px;
  }

  .mp-blog-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .mp-growth-frame {
    grid-template-columns: 1fr;
  }

  .mp-growth-frame .mp-growth-photo,
  .mp-growth-band {
    min-height: 330px;
  }

  .mp-growth-frame .mp-growth-copy {
    grid-column: auto;
    padding: 44px 26px;
  }

  body.page-id-1111 .elementor-element-4ed365a .elementor-element-7284456 .elementor-widget-image img,
  body.page-id-1111 .elementor-element-4ed365a .elementor-element-d93805a .elementor-widget-image img {
    min-height: 390px;
  }

  .mp-service-detail-copy ul,
  .mp-blog-card-grid {
    grid-template-columns: 1fr;
  }

  .mp-service-detail-copy {
    padding: 46px 24px 58px;
  }

  .mp-service-detail-copy h2 {
    font-size: 38px;
  }

  .mp-blog-library {
    padding: 46px 18px 72px;
  }
}

/* Prevent animated side rails and off-canvas controls from creating a brief
   horizontal document scrollbar while Elementor initializes. */
html,
body {
  max-width: 100%;
  overflow-x: clip;
}

/* Static inner-page heroes should be fully visible on their first frame. */
body.page-id-1641 .elementor-element-cd7afad,
body.page-id-2340 .elementor-element-f123902,
body.page-id-1902 .elementor-element-c93cd69,
body.page-id-561 .elementor-element-8d36203,
body.page-id-812 .elementor-element-7b2938a,
body.page-id-3962 .elementor-element-8d36203,
body.page-id-3907 .elementor-element-8d36203 {
  background-color: #171313 !important;
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .mp-blog-card,
  .mp-blog-card-image img {
    transition: none !important;
  }
}

/* Meet the 44px minimum touch-target baseline without changing the visual
   language of the existing social rails and article cards. */
.elementor-social-icon {
  min-width: 44px !important;
  min-height: 44px !important;
}

body.page-id-561 .mp-blog-results .eael-post-elements-readmore-btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

/* Restore the original Elementor Services page. A separate legacy renderer
   hides it with an inline !important rule and substitutes a full-page layout. */
body.page-id-1902 .entry-content > .mp-services-page {
  display: none !important;
}

body.page-id-1902 .entry-content > .elementor.elementor-1902 {
  display: block !important;
}

/* Requested removal: the former homepage service-photo carousel. */
body.page-id-1111 .elementor-element-577a0ed {
  display: none !important;
}

/* Prevent the SEO panel from flashing above the hero before it is relocated. */
#content .mp-seo-intro {
  display: none !important;
}

#content .mp-seo-intro.mp-seo-intro-relocated {
  display: block !important;
}

/* Keep the original Why Us testimonial sliders inside their mobile viewport. */
body.page-id-2340 .elementor-element-670a80e .elementor-main-swiper,
body.page-id-2340 .elementor-element-c1b583d .elementor-main-swiper {
  overflow: hidden !important;
}

/* Keep the concierge available without covering page content. The chat panel
   keeps its existing dimensions; only the closed launcher becomes compact. */
.mpc-launcher {
  box-sizing: border-box !important;
  width: 54px !important;
  height: 54px !important;
  min-width: 54px !important;
  padding: 4px !important;
  gap: 0 !important;
}

.mpc-launcher .mpc-brandmark {
  width: 46px !important;
  height: 46px !important;
  margin: 0 !important;
}

.mpc-launcher > b {
  display: none !important;
}

.mpc-shell {
  right: 16px !important;
  bottom: 16px !important;
}

.mp-shell {
  width: min(1170px, calc(100% - 48px));
  margin-inline: auto;
  font-family: Jost, sans-serif;
}

.mp-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #666;
  font-size: 15px;
  line-height: 1.4;
}

.mp-kicker > span {
  display: inline-block;
  width: 4px;
  height: 19px;
  background: var(--mp-red);
}

.mp-section-heading {
  max-width: 760px;
  margin-bottom: 42px;
}

.mp-section-heading h2,
.mp-growth-copy h2,
.mp-client-results h2,
.mp-process h2 {
  margin: 0 0 18px;
  color: var(--mp-black);
  font-family: Jost, sans-serif;
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.mp-section-heading > p:last-child,
.mp-growth-copy > p,
.mp-client-results .mp-section-heading > p:last-child,
.mp-process .mp-section-heading > p:last-child {
  color: var(--mp-muted);
  font-size: 17px;
  line-height: 1.75;
}

/* The recently-added SEO panels retain their current design; only their order changes. */
#content .mp-seo-intro.mp-seo-intro-relocated {
  width: 100%;
}

/* New homepage sections placed immediately before the existing value proposition. */
.mp-growth-system {
  padding: 0;
  background: var(--mp-black);
  color: white;
}

.mp-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  width: 100%;
  min-height: 590px;
  background: #111;
}

.mp-growth-photo {
  min-height: 590px;
  order: 2;
  background-position: center;
  background-size: cover;
}

.mp-growth-copy {
  order: 1;
  padding: clamp(52px, 6vw, 88px) max(32px, calc((100vw - 1170px) / 2));
  border-right: 12px solid var(--mp-orange);
}

.mp-growth-copy .mp-kicker,
.mp-growth-copy > p {
  color: #c9c4c1;
}

.mp-growth-copy h2 {
  color: white;
  text-transform: none;
}

.mp-capability-grid {
  display: grid;
  gap: 0;
  margin-top: 38px;
  border-top: 1px solid #3b3635;
}

.mp-capability-grid article {
  display: grid;
  grid-template-columns: 52px 1fr;
  column-gap: 16px;
  padding: 23px 0;
  border-bottom: 1px solid #3b3635;
}

.mp-capability-grid b {
  grid-row: 1 / 3;
  color: var(--mp-yellow);
  font-size: 13px;
  letter-spacing: .12em;
}

.mp-capability-grid h3,
.mp-market-cards h3,
.mp-client-card h3,
.mp-process-grid h3 {
  margin: 0 0 7px;
  color: inherit;
  font-size: 21px;
  line-height: 1.2;
}

.mp-capability-grid p,
.mp-market-cards p,
.mp-client-card p,
.mp-process-grid p {
  margin: 0;
  color: inherit;
  font-size: 15px;
  line-height: 1.65;
  opacity: .76;
}

.mp-local-growth {
  padding: 85px 0 95px;
  background: #f6f6f6;
}

.mp-market-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.mp-market-cards article {
  min-height: 270px;
  padding: 32px;
  border: 1px solid #ececec;
  border-bottom: 5px solid var(--mp-red);
  background: white;
  box-shadow: none;
}

.mp-market-cards article:nth-child(2) {
  border-bottom-color: var(--mp-orange);
}

.mp-market-cards article:nth-child(3) {
  border-bottom-color: var(--mp-gold);
}

.mp-market-cards span {
  display: block;
  margin-bottom: 34px;
  color: var(--mp-red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.mp-market-cards p {
  color: var(--mp-muted);
  opacity: 1;
}

.mp-outline-link {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  margin-top: 34px;
  padding: 16px 22px;
  border: 1px solid var(--mp-red);
  color: var(--mp-black) !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
}

.mp-outline-link:hover,
.mp-outline-link:focus {
  background: var(--mp-red);
  color: white !important;
}

/* Replace software logos with existing clients and results. */
.elementor-element-f8bc805 {
  padding: 70px 0 !important;
  background: #f6f6f6 !important;
}

.mp-client-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.mp-client-card {
  display: grid;
  grid-template-rows: 150px 1fr;
  min-height: 310px;
  overflow: hidden;
  border-bottom: 5px solid var(--mp-red);
  background: white;
  box-shadow: none;
}

.mp-client-logo {
  display: grid;
  place-items: center;
  padding: 30px;
  background: #fbfbfb;
}

.mp-client-logo img {
  width: auto;
  max-width: 170px;
  max-height: 120px;
  object-fit: contain;
}

.mp-client-card > div:last-child {
  padding: 28px 30px 34px;
}

.mp-client-card h3 {
  color: var(--mp-black);
}

.mp-client-card p {
  color: var(--mp-muted);
  opacity: 1;
}

/* Service carousel: preserve the current widget and replace only its photography. */
.elementor-element-577a0ed .lae-carousel-item > p {
  margin: 0;
  overflow: hidden;
}

.elementor-element-577a0ed .lae-carousel-item img {
  width: 100%;
  height: 435px;
  object-fit: cover;
  transition: transform .55s ease;
}

.elementor-element-577a0ed .lae-carousel-item:hover img {
  transform: scale(1.035);
}

.mp-service-photo-carousel {
  position: relative;
  width: 100%;
  margin: 42px 0 54px;
  font-family: Jost, sans-serif;
}

.mp-service-photo-track {
  display: grid;
  grid-auto-columns: minmax(270px, 23vw);
  grid-auto-flow: column;
  gap: 20px;
  overflow-x: auto;
  padding: 0 0 12px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.mp-service-photo-track::-webkit-scrollbar {
  display: none;
}

.mp-service-photo-card {
  position: relative;
  display: block;
  height: 440px;
  overflow: hidden;
  color: white !important;
  text-decoration: none !important;
  scroll-snap-align: start;
}

.mp-service-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.mp-service-photo-card:hover img,
.mp-service-photo-card:focus img {
  transform: scale(1.035);
}

.mp-service-photo-card > span {
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  display: grid;
  gap: 10px;
  padding: 21px 24px;
  background: rgba(110, 110, 110, .92);
}

.mp-service-photo-card small {
  font-size: 14px;
  font-weight: 400;
}

.mp-service-photo-card strong {
  font-size: 18px;
  font-weight: 400;
}

.mp-service-photo-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
}

.mp-service-photo-controls button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--mp-red);
  background: white;
  color: var(--mp-red);
  cursor: pointer;
}

.mp-service-photo-controls button:hover,
.mp-service-photo-controls button:focus {
  background: var(--mp-red);
  color: white;
}

img.mp-refreshed-photo {
  object-fit: cover;
}

/* Upgraded photography in the original Connect / Partner / Evolve section. */
body.page-id-1111 .elementor-element-4ed365a img.mp-refreshed-photo {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
}

/* Fresh Value & Expertise presentation using the existing brand identity. */
body.page-id-2340 .elementor-element-c245204 {
  padding: 0 !important;
  background: var(--mp-black) !important;
}

.mp-value-expertise {
  padding: 90px 0 100px;
  color: white;
}

.mp-value-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .7fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 46px;
}

.mp-value-header .mp-kicker {
  color: #c9c4c1;
}

.mp-value-header h2 {
  max-width: 690px;
  margin: 0;
  color: white;
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 400;
  line-height: 1.02;
  text-transform: uppercase;
}

.mp-value-header > p {
  margin: 0;
  padding-left: 28px;
  border-left: 4px solid var(--mp-orange);
  color: #c9c4c1;
  font-size: 17px;
  line-height: 1.75;
}

.mp-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.mp-value-card {
  overflow: hidden;
  border-bottom: 5px solid var(--mp-red);
  background: white;
  color: var(--mp-black);
}

.mp-value-card:nth-child(2) {
  border-bottom-color: var(--mp-orange);
}

.mp-value-card:nth-child(3) {
  border-bottom-color: var(--mp-gold);
}

.mp-value-media {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.mp-value-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(17,17,17,.58));
  content: '';
}

.mp-value-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.mp-value-card:hover .mp-value-media img {
  transform: scale(1.035);
}

.mp-value-media b {
  position: absolute;
  right: 22px;
  bottom: 15px;
  z-index: 1;
  color: var(--mp-yellow);
  font-size: 13px;
  letter-spacing: .15em;
}

.mp-value-card-copy {
  min-height: 225px;
  padding: 30px 30px 36px;
}

.mp-value-card h3 {
  margin: 0 0 18px;
  color: var(--mp-black);
  font-size: 25px;
  font-weight: 500;
  line-height: 1.18;
}

.mp-value-card p {
  margin: 0;
  color: var(--mp-muted);
  font-size: 16px;
  line-height: 1.7;
}

/* Blog discovery and editorial planning interface. */
.mp-blog-hub {
  padding: 84px 0 52px;
  background: var(--mp-black);
  color: white;
}

.mp-blog-hub-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .65fr);
  gap: 60px;
  align-items: end;
  margin-bottom: 38px;
}

.mp-blog-hub .mp-kicker {
  color: #c9c4c1;
}

.mp-blog-hub h2 {
  max-width: 760px;
  margin: 0;
  color: white;
  font-size: clamp(38px, 4.7vw, 62px);
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
}

.mp-blog-hub-intro > p {
  margin: 0;
  color: #c9c4c1;
  font-size: 17px;
  line-height: 1.7;
}

.mp-blog-filter {
  display: grid;
  grid-template-columns: minmax(230px, 1.55fr) repeat(3, minmax(180px, 1fr)) auto;
  gap: 12px;
  align-items: end;
  padding: 22px;
  border-top: 4px solid var(--mp-orange);
  background: white;
  box-shadow: 0 20px 50px rgba(0,0,0,.24);
}

.mp-blog-filter label {
  display: grid;
  gap: 8px;
  margin: 0;
}

.mp-blog-filter label > span {
  color: #555;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.mp-blog-filter input,
.mp-blog-filter select {
  width: 100%;
  min-height: 50px;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid #d9d6d1;
  border-radius: 0;
  background: #faf9f7;
  color: var(--mp-black);
  font-family: Jost, sans-serif;
  font-size: 14px;
}

.mp-blog-filter input:focus,
.mp-blog-filter select:focus {
  border-color: var(--mp-orange);
  outline: 2px solid rgba(255,84,1,.2);
  outline-offset: 1px;
}

.mp-blog-clear {
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid var(--mp-red);
  border-radius: 0;
  background: var(--mp-red);
  color: white;
  font-family: Jost, sans-serif;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.mp-blog-clear:hover,
.mp-blog-clear:focus {
  background: var(--mp-black);
  border-color: var(--mp-black);
}

.mp-blog-planner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  margin-top: 18px;
  padding: 18px 22px;
  border: 1px solid #3b3635;
  background: #181818;
}

.mp-blog-planner span {
  color: var(--mp-yellow);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.mp-blog-planner strong {
  color: white;
  font-size: 16px;
  font-weight: 500;
}

.mp-blog-result-status {
  min-height: 23px;
  margin-top: 14px;
  color: #aaa;
  font-size: 13px;
}

body.page-id-561 .mp-blog-results {
  padding: 68px 0 95px !important;
  background: #f4f3f1 !important;
}

body.page-id-561 .mp-blog-results .elementor-widget-eael-post-grid {
  visibility: visible !important;
  opacity: 1 !important;
}

body.page-id-561 .mp-blog-results .eael-post-grid {
  gap: 20px;
}

body.page-id-561 .mp-blog-results .eael-grid-post[hidden] {
  display: none !important;
}

body.page-id-561 .mp-blog-results .eael-grid-post-holder {
  overflow: hidden;
  border: 0 !important;
  border-bottom: 5px solid var(--mp-red) !important;
  background: white;
  box-shadow: 0 14px 34px rgba(17,17,17,.1);
}

body.page-id-561 .mp-blog-results .eael-entry-thumbnail img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

body.page-id-561 .mp-blog-results .eael-entry-wrapper {
  padding: 28px 28px 34px !important;
}

body.page-id-561 .mp-blog-results .eael-entry-title,
body.page-id-561 .mp-blog-results .eael-entry-title a {
  color: var(--mp-black) !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
}

body.page-id-561 .mp-blog-results .eael-post-elements-readmore-btn {
  color: #b91605 !important;
  font-weight: 700;
}

/* Fixed, accessible case-study carousel. */
.elementor-element-1457bd6 {
  display: block !important;
  padding: 20px 0 100px !important;
  background: #f5f5f4;
}

.mp-case-carousel {
  overflow: hidden;
  border-radius: 24px;
  background: white;
  box-shadow: var(--mp-shadow);
}

.mp-case-slide {
  display: none;
  grid-template-columns: 300px 1fr;
  min-height: 470px;
}

.mp-case-slide.is-active {
  display: grid;
}

.mp-case-logo {
  display: grid;
  place-items: center;
  padding: 44px;
  background: white;
  border-right: 1px solid #ededed;
}

.mp-case-logo img {
  max-width: 190px;
  max-height: 180px;
  object-fit: contain;
}

.mp-case-content {
  padding: clamp(42px, 6vw, 80px);
}

.mp-case-content h3 {
  margin: 0 0 34px;
  color: var(--mp-black);
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 400;
  line-height: 1.2;
}

.mp-case-columns {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 44px;
}

.mp-case-columns h4 {
  margin: 0 0 14px;
  color: var(--mp-red);
  font-size: 13px;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.mp-case-columns ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mp-case-columns li {
  position: relative;
  padding-left: 18px;
  color: #4b4b4b;
  font-size: 16px;
  line-height: 1.55;
}

.mp-case-columns li::before {
  position: absolute;
  top: .65em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mp-gold);
  content: '';
}

.mp-case-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 0 24px 22px;
}

.mp-case-controls button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--mp-red);
  border-radius: 0;
  background: transparent;
  color: var(--mp-black);
  cursor: pointer;
}

.mp-case-controls button:hover,
.mp-case-controls button:focus {
  background: var(--mp-red);
  color: white;
}

.mp-case-count {
  min-width: 52px;
  color: var(--mp-red);
  text-align: center;
}

/* Process timeline. */
.elementor-element-7a4fde6 {
  padding: 85px 0 95px !important;
  background-color: #fff !important;
}

.mp-centered {
  margin-inline: auto;
  text-align: center;
}

.mp-centered .mp-kicker {
  justify-content: center;
}

.mp-process h2 em {
  color: var(--mp-red);
  font-style: normal;
}

.mp-process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  background: transparent;
  list-style: none;
}

.mp-process-grid li {
  position: relative;
  min-height: 300px;
  padding: 34px 30px;
  border: 3px solid var(--mp-red);
  border-radius: 14px;
  background: rgba(255,255,255,.92);
}

.mp-process-grid li::after {
  position: absolute;
  right: -9px;
  bottom: 28px;
  z-index: 2;
  color: var(--mp-red);
  font-size: 20px;
  content: '→';
}

.mp-process-grid li:nth-child(3)::after,
.mp-process-grid li:last-child::after {
  content: '';
}

.mp-process-grid b {
  color: #6f6f6f;
  font-size: 32px;
  letter-spacing: .04em;
}

.mp-process-grid li > span {
  display: block;
  width: 44px;
  height: 4px;
  margin: 18px 0 32px;
  background: linear-gradient(90deg, var(--mp-red), var(--mp-gold));
}

.mp-process-grid h3 {
  color: var(--mp-black);
}

.mp-process-grid p {
  color: var(--mp-muted);
  opacity: 1;
}

@media (max-width: 900px) {
  .mp-split,
  .mp-case-slide,
  .mp-case-slide.is-active {
    grid-template-columns: 1fr;
  }

  .mp-growth-photo {
    min-height: 460px;
  }

  .mp-market-cards,
  .mp-client-track,
  .mp-process-grid,
  .mp-value-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mp-value-header,
  .mp-blog-hub-intro {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .mp-blog-filter {
    grid-template-columns: 1fr 1fr;
  }

  .mp-case-logo {
    min-height: 240px;
  }

  .mp-process-grid li:nth-child(3)::after {
    content: '→';
  }

  .mp-process-grid li:nth-child(even)::after,
  .mp-process-grid li:last-child::after {
    content: '';
  }
}

@media (max-width: 620px) {
  .mp-shell {
    width: min(100% - 32px, 1160px);
  }

  .mp-growth-system,
  .mp-local-growth,
  .elementor-element-f8bc805,
  .elementor-element-7a4fde6 {
    padding-block: 72px !important;
  }

  .mp-growth-system {
    padding-block: 0 !important;
  }

  .mp-growth-copy {
    padding: 42px 28px;
  }

  .mp-growth-photo {
    min-height: 330px;
  }

  .mp-market-cards,
  .mp-client-track,
  .mp-process-grid,
  .mp-case-columns,
  .mp-value-grid,
  .mp-blog-filter {
    grid-template-columns: 1fr;
  }

  .mp-value-expertise,
  .mp-blog-hub {
    padding-block: 70px;
  }

  .mp-value-header h2,
  .mp-blog-hub h2 {
    font-size: 38px;
  }

  .mp-value-header > p {
    padding-left: 20px;
  }

  .mp-blog-filter {
    padding: 18px;
  }

  .mp-blog-planner {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .mp-client-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .mp-service-photo-track {
    grid-auto-columns: 84vw;
  }

  .mp-service-photo-card {
    height: 390px;
  }

  .mp-client-card {
    min-width: 84vw;
    scroll-snap-align: start;
  }

  .mp-case-content {
    padding: 38px 26px;
  }

  .mp-case-columns {
    gap: 24px;
  }

  .mp-process-grid li::after {
    right: auto;
    bottom: -12px;
    left: 50%;
    content: '↓' !important;
  }

  .mp-process-grid li:last-child::after {
    content: '' !important;
  }

  #content .elementor > .mp-seo-intro.mp-seo-intro-relocated {
    padding: 42px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .elementor-element-577a0ed .lae-carousel-item img {
    transition: none;
  }
}

/* Long-form 2026 article drafts. */
.single-post .mp-longform-article {
  max-width: 860px;
  margin-inline: auto;
  color: #252525;
  font-size: 18px;
  line-height: 1.78;
}

.single-post .mp-longform-article h2 {
  margin: 64px 0 18px;
  color: var(--mp-black);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 500;
  line-height: 1.12;
}

.single-post .mp-longform-article h3 {
  margin: 34px 0 12px;
  color: var(--mp-red);
  font-size: 23px;
  line-height: 1.25;
}

.single-post .mp-longform-article p,
.single-post .mp-longform-article li {
  color: #4f4f4f;
}

.single-post .mp-longform-article a {
  color: #b91605;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.single-post .mp-longform-article .mp-article-deck {
  padding-left: 22px;
  border-left: 4px solid var(--mp-red);
  color: var(--mp-black);
  font-size: 22px;
}

.single-post .mp-article-image {
  margin: 42px 0;
}

.single-post .mp-article-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  max-height: 560px;
  object-fit: cover;
}

.single-post .mp-article-image figcaption {
  margin-top: 8px;
  color: #777;
  font-size: 12px;
}

.single-post .mp-article-table {
  width: 100%;
  margin: 30px 0;
  border-collapse: collapse;
  font-size: 15px;
}

.single-post .mp-article-table th,
.single-post .mp-article-table td {
  padding: 16px;
  border: 1px solid var(--mp-line);
  text-align: left;
  vertical-align: top;
}

.single-post .mp-article-table th {
  background: var(--mp-black);
  color: white;
}

.single-post .mp-article-sources {
  padding: 24px 24px 24px 44px;
  border-top: 4px solid var(--mp-gold);
  background: var(--mp-paper);
}

@media (max-width: 620px) {
  .single-post .mp-longform-article {
    font-size: 16px;
  }

  .single-post .mp-article-table {
    display: block;
    overflow-x: auto;
  }
}
