/* V154 — surgical fixes only: wordmark cache, square Services media, equal Process media. */

/* Homepage Services: the source file is square. Render its box as square too,
   so object-fit does not add dark side bands that resemble a fade. */
@media (min-width: 981px) {
  body.home-v143.visual-audit-v103.production-audit-v129 .journey-services__visual {
    width: min(100%, 653px) !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 1 / 1 !important;
    align-self: start !important;
    overflow: hidden !important;
    background: #080808 !important;
  }

  body.home-v143.visual-audit-v103.production-audit-v129 .journey-service__image,
  body.home-v143.visual-audit-v103.production-audit-v129 .journey-service__image picture,
  body.home-v143.visual-audit-v103.production-audit-v129 .journey-service__image img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    object-position: center !important;
    filter: none !important;
    mask: none !important;
    -webkit-mask: none !important;
    clip-path: none !important;
    transform: none !important;
  }
}

/* Remove any legacy decoration from both Services presentations. */
body.home-v143 .journey-services__visual::before,
body.home-v143 .journey-services__visual::after,
body.home-v143 .journey-service__image::before,
body.home-v143 .journey-service__image::after,
body.content-page .services-hero-mosaic--illustrations::before,
body.content-page .services-hero-mosaic--illustrations::after,
body.content-page .services-hero-mosaic--illustrations figure::before,
body.content-page .services-hero-mosaic--illustrations figure::after,
body.content-page .services-hero-mosaic--illustrations .services-hero-mosaic__link::before,
body.content-page .services-hero-mosaic--illustrations .services-hero-mosaic__link::after {
  content: none !important;
  display: none !important;
  background: none !important;
  opacity: 0 !important;
}

body.content-page .services-hero-mosaic--illustrations img,
body.home-v143 .journey-service__image img {
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  mask: none !important;
  -webkit-mask: none !important;
  clip-path: none !important;
}

/* Process page: use one equal two-column grid for all four illustration stages.
   Reverse changes order only, never media width. */
@media (min-width: 981px) {
  body.content-page .process-phase,
  body.content-page .process-phase.process-phase--options {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.content-page .process-phase__media--illustration {
    width: 100% !important;
    max-width: none !important;
    aspect-ratio: 1 / 1 !important;
  }

  body.content-page .process-phase__media--illustration picture,
  body.content-page .process-phase__media--illustration img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    object-position: center !important;
  }
}
