/*
 * M1-v2 final phone content layer.
 * Loaded after the legacy bundle so physical-phone device classes cannot
 * restore desktop card columns inside the mobile layout.
 */

@media (max-width: 767.98px) {
  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"] {
    padding-top: var(--site-header-height-mobile, 66px) !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    > .site-header {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    z-index: 300 !important;
    width: 100% !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    .site-header :is(.language-switcher, .language-menu-toggle) {
    min-width: 60px !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: keep-all !important;
  }

  /* Draw the hamburger and close states from fixed-position bars. */
  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    .site-header .nav-toggle {
    position: relative !important;
    gap: 0 !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    .site-header .nav-toggle > span {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    display: block !important;
    width: 20px !important;
    height: 2px !important;
    margin: 0 !important;
    opacity: 1 !important;
    transform-origin: center !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    .site-header:not(.is-open) .nav-toggle > span:nth-child(1) {
    transform: translate(-50%, calc(-50% - 6px)) !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    .site-header:not(.is-open) .nav-toggle > span:nth-child(2) {
    transform: translate(-50%, -50%) !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    .site-header:not(.is-open) .nav-toggle > span:nth-child(3) {
    transform: translate(-50%, calc(-50% + 6px)) !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    .site-header.is-open .nav-toggle > span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg) !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    .site-header.is-open .nav-toggle > span:nth-child(2) {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    transform: none !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    .site-header.is-open .nav-toggle > span:nth-child(3) {
    transform: translate(-50%, -50%) rotate(-45deg) !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    main > section.metrics.capability-strip {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-rows: minmax(138px, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 20px 18px !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    main > section.metrics.capability-strip > div,
  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    main > section.metrics.capability-strip > div:nth-of-type(n + 4) {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    gap: 9px !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 138px !important;
    padding: 17px 15px !important;
    overflow: visible !important;
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid #bdd7ec !important;
    border-top: 4px solid #2487c5 !important;
    border-radius: 8px !important;
    box-shadow: 0 8px 20px rgba(12, 45, 82, 0.06) !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    main > section.metrics.capability-strip > div::before {
    display: none !important;
    content: none !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    main > section.metrics.capability-strip strong {
    width: 100% !important;
    margin: 0 !important;
    font-size: clamp(21px, 6vw, 25px) !important;
    line-height: 1.1 !important;
    letter-spacing: 0 !important;
    overflow-wrap: normal !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    main > section.metrics.capability-strip > div:nth-of-type(5) strong {
    font-size: clamp(19px, 5.3vw, 22px) !important;
  }

  html[lang^="en"]:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    main > section.metrics.capability-strip strong {
    min-height: 2.2em !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    main > section.metrics.capability-strip span {
    width: 100% !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    overflow-wrap: break-word !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    .capabilities .capability-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-rows: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    .capabilities .capability-grid > div {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 20px 18px !important;
    overflow: visible !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    .capabilities .capability-grid > div::before {
    display: none !important;
    content: none !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    .capabilities .capability-grid > div :is(h3, p) {
    display: block !important;
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    .capabilities .capability-grid > div h3 {
    margin: 0 0 8px !important;
    font-size: 19px !important;
    line-height: 1.35 !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    .capabilities .capability-grid > div p {
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    #technology .tech-summary-panel article {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto !important;
    gap: 6px !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 18px 0 !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    #technology .tech-summary-panel article > :is(span, strong, p) {
    display: block !important;
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    writing-mode: horizontal-tb !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    #technology .tech-summary-panel article > span {
    font-size: 13px !important;
    line-height: 1.4 !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    #technology .tech-summary-panel article > strong {
    font-size: 17px !important;
    line-height: 1.4 !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    #technology .tech-summary-panel article > p {
    font-size: 15px !important;
    line-height: 1.7 !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    #projects .project-mini-grid {
    gap: 14px !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    #projects .project-mini-grid .project-card {
    display: grid !important;
    grid-template-rows: auto auto !important;
    width: 100% !important;
    overflow: hidden !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    #projects .project-mini-grid .project-card > figure,
  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    #projects .project-mini-grid .project-card > figure > .asset-picture {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    #projects .project-mini-grid .project-card img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    #projects .project-mini-grid .project-card > div {
    width: 100% !important;
    min-width: 0 !important;
    padding: 18px 20px !important;
  }

  /*
   * The six-step desktop ribbon becomes one readable mobile sequence.
   * Each step is a compact horizontal card so the icon, title and supporting
   * copy share one stable reading axis instead of a cramped two-column grid.
   */
  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    #process.process-ribbon {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 30px 18px 32px !important;
    overflow: visible !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    #process .process-ribbon-copy {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    #process .process-ribbon-copy h2 {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    font-size: clamp(27px, 7.6vw, 31px) !important;
    line-height: 1.18 !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    #process .process-ribbon-copy .button {
    justify-self: stretch !important;
    width: 100% !important;
    min-height: 46px !important;
    margin-top: 4px !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    #process .process-flow {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-rows: auto !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    #process .process-flow > li {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 58px minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto !important;
    align-content: start !important;
    align-items: start !important;
    justify-content: stretch !important;
    justify-items: start !important;
    column-gap: 14px !important;
    row-gap: 3px !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 16px !important;
    color: #edf7ff !important;
    text-align: left !important;
    background: rgba(7, 40, 67, 0.52) !important;
    border: 1px solid rgba(153, 202, 235, 0.28) !important;
    border-radius: 9px !important;
    box-shadow: none !important;
    transform: none !important;
    overflow: visible !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    #process .process-flow > li::before {
    position: static !important;
    display: block !important;
    grid-column: 1 !important;
    grid-row: 1 / span 3 !important;
    align-self: start !important;
    width: 52px !important;
    height: 52px !important;
    margin: 0 !important;
    background: rgba(225, 243, 255, 0.08) !important;
    border: 1px solid rgba(174, 218, 246, 0.58) !important;
    border-radius: 9px !important;
    content: "" !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    #process .process-flow > li::after {
    display: none !important;
    content: none !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    #process .process-icon {
    position: absolute !important;
    top: 26px !important;
    left: 26px !important;
    width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
    transform: none !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    #process .process-flow > li > span,
  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    #process .process-flow > li > h3,
  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    #process .process-flow > li > p {
    grid-column: 2 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    text-align: left !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    #process .process-flow > li > span {
    grid-row: 1 !important;
    color: #66c6ff !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    letter-spacing: 0.08em !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    #process .process-flow > li > h3 {
    grid-row: 2 !important;
    font-size: 17px !important;
    line-height: 1.32 !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    #process .process-flow > li > p {
    grid-row: 3 !important;
    color: rgba(225, 240, 250, 0.78) !important;
    font-size: 13.5px !important;
    line-height: 1.5 !important;
  }

  /* Keep every in-page destination clear of the sticky mobile header. */
  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    main > section[id] {
    scroll-margin-top: 78px !important;
  }

  /*
   * The open catalogue should occupy only the space its links require.
   * It remains scrollable when the Services group is expanded, but no fixed
   * white tail is retained under the RFQ button.
   */
  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    .site-header.is-open .site-nav {
    top: calc(100% + 6px) !important;
    right: 10px !important;
    left: 10px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-rows: auto !important;
    align-content: start !important;
    justify-content: stretch !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    block-size: auto !important;
    min-height: 0 !important;
    min-block-size: 0 !important;
    max-height: calc(100dvh - 82px) !important;
    max-block-size: calc(100dvh - 82px) !important;
    margin: 0 !important;
    padding: 8px 12px 12px !important;
    gap: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
  }

  html.device-mobile.input-coarse:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    .site-header.is-open .site-nav {
    height: auto !important;
    block-size: auto !important;
    min-height: 0 !important;
    min-block-size: 0 !important;
    align-content: start !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    .site-header.is-open .site-nav-dropdown:not(.is-open) > .site-nav-dropdown-menu {
    display: none !important;
  }

  /*
   * The collapsed catalogue already fits the audited phone heights. It must
   * not remain an iOS scroll container, otherwise elastic scrolling exposes
   * a false white tail below the RFQ button. Scrolling is enabled only while
   * the longer Services catalogue is expanded.
   */
  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    .site-header.is-open .site-nav:not(:has(.site-nav-dropdown.is-open)) {
    height: auto !important;
    max-height: none !important;
    max-block-size: none !important;
    overflow-y: hidden !important;
    overscroll-behavior-y: none !important;
    -webkit-overflow-scrolling: auto !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    .site-header.is-open .site-nav:has(.site-nav-dropdown.is-open) {
    max-height: calc(100dvh - 82px) !important;
    max-block-size: calc(100dvh - 82px) !important;
    overflow-y: auto !important;
    overscroll-behavior-y: none !important;
    -webkit-overflow-scrolling: auto !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    .site-header.is-open .site-nav > .nav-cta {
    min-height: 46px !important;
    margin-top: 10px !important;
  }
}

@media (max-width: 374.98px) {
  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    main > section.metrics.capability-strip {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-auto-rows: 1fr !important;
  }

  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    main > section.metrics.capability-strip > div,
  html:has(> body.m1-home-sample[data-page="home"]) >
    body.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.global-tech-page.m1-home-sample.m1-layout-sample[data-page="home"]
    main > section.metrics.capability-strip > div:nth-of-type(n + 4) {
    min-height: 112px !important;
  }
}
