/* MINSOLID Phase 2B — one visual system for the existing WPBakery components.
 * Preview/autosave recognition is unchanged. No generic builder reset, JS,
 * remote font, gradient, icon library, slider or WooCommerce selectors.
 */
body .ms-home {
    --ms-navy: #102c43;
    --ms-ink: #203442;
    --ms-muted: #586b78;
    --ms-line: #d8e1e7;
    --ms-pale: #f3f6f8;
    --ms-blue: #bed9ea;
    --ms-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-family: var(--ms-font);
    color: var(--ms-ink);
    text-align: left;
    background: #fff;
}
/* The verified Industrial shell only; no global .container/column overrides. */
body.minsolid-home-layout .site > .site-main > .container.content-container {
    width: 1440px; max-width: 100%; box-sizing: border-box;
}
body .ms-home .ms-home__container { box-sizing: border-box; max-width: 1320px; margin-inline: auto; padding: 104px 40px; }
body .ms-home .ms-home__eyebrow { font: 600 11px/1.6 var(--ms-font); color: var(--ms-muted); letter-spacing: .17em; margin: 0 0 24px; }
body .ms-home .ms-home-hero__title,
body .ms-home .ms-home-core__title { color: var(--ms-navy); font-family: var(--ms-font); font-weight: 500; letter-spacing: -.045em; text-transform: none; overflow-wrap: break-word; margin: 0; }
body .ms-home .ms-home-core__title { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.12; }
body .ms-home .ms-home__intro { color: var(--ms-muted); font: 400 17px/1.7 var(--ms-font); margin: 24px 0 0; }
body .ms-home .ms-home__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 30px; }
body .ms-home .ms-home__actions:empty { display: none; }
body .ms-home .ms-home__button { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; max-width: 100%; min-height: 50px; padding: 14px 22px; border: 1px solid var(--ms-navy); border-radius: 0; background: var(--ms-navy); color: #fff; font: 600 14px/1.4 var(--ms-font); text-decoration: none; text-align: center; white-space: normal; overflow-wrap: anywhere; box-shadow: none; transition: none; }
body .ms-home .ms-home__button--secondary { background: transparent; color: var(--ms-navy); }
body .ms-home .ms-home__button:hover { background: #234b67; border-color: #234b67; color: #fff; }
body .ms-home .ms-home__button:focus-visible,
body .ms-home .ms-home__text-link:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
body .ms-home .ms-home__text-link { display: inline-flex; align-items: center; gap: 20px; color: var(--ms-navy); font: 600 14px/1.5 var(--ms-font); text-decoration: none; margin-top: 26px; padding-block: 5px; }
body .ms-home .ms-home__text-link:hover { color: #396888; text-decoration: underline; text-underline-offset: 5px; }
/* Missing media remains an explicit reserved area, never a fabricated factory. */
body .ms-home .ms-home__media-placeholder { display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; box-sizing: border-box; width: 100%; height: 100%; min-height: 180px; padding: 32px; background: #e1e8ec; color: #405968; border: 1px solid #d2dde4; font: 500 17px/1.5 var(--ms-font); }
body .ms-home .ms-home__media-placeholder small { font-size: 12px; font-weight: 400; }
body .ms-home .ms-home__image,
body .ms-home .ms-home__card-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; margin: 0; }
/* BRAND HERO: the photograph spans seven columns; the solid panel overlaps one.
 * No photo-overlay gradient, background image, absolute text or autoplay.
 * Images may be absolutely fitted within the reserved figure, never the copy.
 */
body .ms-home .ms-home-hero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; max-width: 1440px; min-height: 660px; padding: 0; }
body .ms-home .ms-home-hero__copy { grid-column: 1 / 7; grid-row: 1; z-index: 1; min-width: 0; box-sizing: border-box; padding: 44px 40px; margin-block: 24px; background: var(--ms-navy); }
body .ms-home .ms-home-hero__title { color: #fff; font-size: clamp(56px, 4.25vw, 64px); line-height: 1.035; }
body .ms-home-hero .ms-home__eyebrow { color: var(--ms-blue); margin-bottom: 22px; }
body .ms-home-hero .ms-home__intro { color: #d9e4eb; font-size: 16px; line-height: 1.65; max-width: 560px; }
body .ms-home-hero .ms-home__button { background: #fff; border-color: #fff; color: var(--ms-navy); }
body .ms-home-hero .ms-home__button--secondary { color: #fff; border-color: #8098aa; background: transparent; }
body .ms-home-hero .ms-home__button:hover { background: var(--ms-blue); border-color: var(--ms-blue); color: var(--ms-navy); }
body .ms-home .ms-home-hero__media { grid-column: 6 / -1; grid-row: 1; align-self: stretch; position: relative; margin: 0; min-width: 0; min-height: 660px; background: #e1e8ec; }
body .ms-home .ms-home-hero__media > .ms-home__image,
body .ms-home .ms-home-hero__media > .ms-home__media-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; }
body .ms-home .ms-home-hero__media > .ms-home__media-placeholder { padding-left: 20%; }
body .ms-home .ms-home-hero__businesses { padding: 22px 32px; border-bottom: 1px solid var(--ms-line); color: var(--ms-muted); font: 500 11px/1.7 var(--ms-font); letter-spacing: .035em; text-align: center; }
body .ms-home .ms-home-hero__businesses span { color: #709bb7; margin-inline: 18px; }
/* Manufacturing core: one dominant photograph and a typographic two-column list. */
body .ms-home .ms-home-core__showcase { display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr); gap: 64px; align-items: center; }
body .ms-home .ms-home-core__media { margin: 0; min-width: 0; aspect-ratio: 4 / 5; position: relative; }
body .ms-home .ms-home-core__media > .ms-home__image,
body .ms-home .ms-home-core__media > .ms-home__media-placeholder { position: absolute; inset: 0; }
body .ms-home .ms-home-core__intro { min-width: 0; }
body .ms-home .ms-home-core__capabilities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); list-style: none; padding: 0; margin: 44px 0 0; gap: 0 28px; }
body .ms-home .ms-home-core__capability { display: grid; grid-template-columns: 24px minmax(0, 1fr); align-items: baseline; gap: 12px; list-style: none; padding: 20px 0; margin: 0; border-top: 1px solid var(--ms-line); min-width: 0; }
body .ms-home .ms-home-core__number { display: block; font: 400 12px/1.5 var(--ms-font); color: #5b7e97; margin: 0; }
body .ms-home .ms-home-core__label { font: 500 22px/1.25 var(--ms-font); color: var(--ms-navy); letter-spacing: -.02em; text-transform: none; margin: 0; overflow-wrap: break-word; }
body .ms-home-core .ms-home-core__label { font-size: 16px; line-height: 1.5; letter-spacing: 0; }
/* Supply / projects: photography carries the hierarchy, no boxed feature tiles. */
body .ms-home-solutions { background: var(--ms-pale); }
body .ms-home .ms-home-section__heading { max-width: 790px; margin-bottom: 48px; }
body .ms-home .ms-home__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
body .ms-home .ms-home__card { min-width: 0; }
body .ms-home .ms-home__card-media { position: relative; margin: 0 0 28px; aspect-ratio: 4 / 3; overflow: hidden; }
body .ms-home .ms-home__card-media > .ms-home__card-image,
body .ms-home .ms-home__card-media > .ms-home__media-placeholder { position: absolute; inset: 0; }
body .ms-home-solutions .ms-home__card > .ms-home-core__number,
body .ms-home-projects .ms-home__card > .ms-home-core__number { display: none; }
body .ms-home-solutions .ms-home-core__label,
body .ms-home-projects .ms-home-core__label { font-size: 27px; }
body .ms-home .ms-home__card > .ms-home__intro { font-size: 15px; line-height: 1.7; margin-top: 16px; }
body .ms-home-solutions .ms-home__text-link { border-bottom: 1px solid #b4c7d4; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    body .ms-home-solutions .ms-home__card-image { transition: opacity 160ms ease; }
    body .ms-home-solutions .ms-home__card:hover .ms-home__card-image { opacity: .94; }
}
body .ms-home-projects .ms-home__cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
body .ms-home-projects .ms-home__card-media { aspect-ratio: 3 / 2; }
/* Four horizontal milestones; ordinary document order becomes a mobile timeline. */
body .ms-home-sourcing { border-bottom: 1px solid var(--ms-line); }
body .ms-home-sourcing .ms-home-section__heading { max-width: 850px; }
body .ms-home-sourcing .ms-home__cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
body .ms-home-sourcing .ms-home__card { position: relative; border-top: 1px solid #a7becd; padding: 30px 24px 0 0; }
body .ms-home-sourcing .ms-home__card::before { content: ""; position: absolute; top: -3px; left: 0; width: 5px; height: 5px; background: #416782; }
body .ms-home-sourcing .ms-home-core__number { font-size: 42px; font-weight: 300; line-height: 1; color: #7596ad; margin-bottom: 28px; }
body .ms-home-sourcing .ms-home-core__label { font-size: 20px; max-width: 250px; }
body .ms-home-sourcing .ms-home__card > .ms-home__intro { max-width: 240px; }
/* Quality: a tall editorial image with five precise, short check lines. */
body .ms-home .ms-home-quality__editorial { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 64px; align-items: center; }
body .ms-home .ms-home-quality__media { position: relative; margin: 0; align-self: stretch; min-width: 0; min-height: 640px; }
body .ms-home .ms-home-quality__media > .ms-home__card-image,
body .ms-home .ms-home-quality__media > .ms-home__media-placeholder { position: absolute; inset: 0; }
body .ms-home-quality .ms-home-section__heading { margin-bottom: 32px; }
body .ms-home-quality .ms-home__cards { display: block; }
body .ms-home-quality .ms-home__card { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 5px 14px; border-top: 1px solid var(--ms-line); padding: 17px 0; }
body .ms-home-quality .ms-home-core__number { grid-column: 1; grid-row: 1 / 3; padding-top: 2px; }
body .ms-home-quality .ms-home-core__label { grid-column: 2; font-size: 17px; line-height: 1.4; letter-spacing: 0; }
body .ms-home-quality .ms-home__card > .ms-home__intro { grid-column: 2; font-size: 14px; line-height: 1.5; margin: 0; }
body .ms-home-quality .ms-home__text-link,
body .ms-home-quality .ms-home__card > .ms-home__card-image { grid-column: 2; }
/* Closing RFQ: decisive type and a single leading action, no animation. */
body .ms-home-rfq { background: var(--ms-navy); }
body .ms-home-rfq .ms-home__container { padding-block: 100px; }
body .ms-home-rfq .ms-home-core__title { font-size: clamp(38px, 5vw, 72px); line-height: 1.06; max-width: 950px; color: #fff; }
body .ms-home-rfq .ms-home__eyebrow { color: var(--ms-blue); }
body .ms-home-rfq .ms-home__intro { color: #d9e4eb; max-width: 630px; }
body .ms-home-rfq .ms-home__actions { margin-top: 36px; }
body .ms-home-rfq .ms-home__button { background: #fff; border-color: #fff; color: var(--ms-navy); min-width: 190px; }
body .ms-home-rfq .ms-home__button--secondary { color: #fff; background: transparent; border-color: #7f99ac; }
body .ms-home-rfq .ms-home__button:hover { background: var(--ms-blue); color: var(--ms-navy); border-color: var(--ms-blue); }
body .ms-home .ms-home-rfq__form { margin-top: 44px; background: #fff; color: var(--ms-ink); padding: 32px; max-width: 800px; scroll-margin-top: 120px; }
body .ms-home-rfq { scroll-margin-top: 110px; }
/* The current simplified footer remains deliberately quiet. */
body .ms-home-footer { border-top: 1px solid var(--ms-line); }
body .ms-home-footer .ms-home__container { padding-top: 48px; padding-bottom: 28px; }
body .ms-home .ms-home-footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
body .ms-home .ms-home-footer__brand { font: 600 16px/1.5 var(--ms-font); letter-spacing: .04em; margin: 0; color: var(--ms-navy); }
body .ms-home-footer nav { display: flex; flex-wrap: wrap; gap: 16px 24px; align-content: start; }
body .ms-home-footer nav a { color: var(--ms-muted); font: 400 14px/1.6 var(--ms-font); text-decoration: none; overflow-wrap: anywhere; }
body .ms-home-footer nav a:hover { color: var(--ms-navy); text-decoration: underline; }
body .ms-home-footer nav a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
body .ms-home .ms-home-footer__legal { color: var(--ms-muted); font: 400 12px/1.7 var(--ms-font); margin: 36px 0 0; padding-top: 22px; border-top: 1px solid var(--ms-line); }
/* Header: only the existing new-homepage menu; do not replace menu markup or JS. */
body.minsolid-home-layout .site > header.site-header.classic:not(.vertical):not(.transparent) .logo-img { max-height: 46px; width: auto; }
body.minsolid-home-layout .site-navigation .main-menu > .ms-header-rfq > a { text-transform: none; letter-spacing: 0; font-weight: 600; }
@media (min-width: 1200px) {
    body.minsolid-home-layout .site > header.site-header.classic:not(.vertical):not(.transparent) .site-navigation .main-menu > .menu-item > a { font-size: 12px; font-weight: 500; letter-spacing: .055em; padding-inline: 11px; }
    body.minsolid-home-layout .site > header.site-header.classic:not(.vertical):not(.transparent) .site-navigation .main-menu > .ms-header-rfq > a { display: inline-block; background: #102c43; color: #fff; padding: 13px 18px; margin-left: 18px; font-weight: 600; letter-spacing: 0; text-transform: none; text-decoration: none; }
    body.minsolid-home-layout .site > header.site-header.classic:not(.vertical):not(.transparent) .site-navigation .main-menu > .ms-header-rfq > a:hover { background: #234b67; }
}
@media (max-width: 1199px) {
    body.minsolid-home-layout .site-navigation .main-menu > .ms-header-rfq > a { border-top: 1px solid currentColor; margin-top: 16px; padding-top: 18px; }
}
/* Tablet: preserve generous type without forcing a 660px image next to narrow copy. */
@media (max-width: 999px) {
    body .ms-home .ms-home__container { padding: 64px 24px; }
    body .ms-home .ms-home-hero__grid { grid-template-columns: 1fr; min-height: 0; padding: 0; }
    body .ms-home .ms-home-hero__copy { grid-column: 1; grid-row: 1; margin: 0; padding: 48px 32px; }
    body .ms-home .ms-home-hero__title { font-size: clamp(38px, 6.5vw, 58px); max-width: 720px; }
    body .ms-home .ms-home-hero__media { grid-column: 1; grid-row: 2; min-height: 0; aspect-ratio: 3 / 2; }
    body .ms-home .ms-home-hero__media > .ms-home__media-placeholder { padding-left: 32px; }
    body .ms-home .ms-home-hero__businesses { padding: 20px 24px; }
    body .ms-home .ms-home-hero__businesses span { margin-inline: 8px; }
    body .ms-home .ms-home-core__showcase,
    body .ms-home .ms-home-quality__editorial { grid-template-columns: 1fr; gap: 40px; }
    body .ms-home .ms-home-core__intro { order: -1; }
    body .ms-home .ms-home-core__media { aspect-ratio: 4 / 3; }
    body .ms-home .ms-home-quality__content { order: -1; }
    body .ms-home .ms-home-quality__media { min-height: 0; aspect-ratio: 4 / 3; }
    body .ms-home .ms-home__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body .ms-home-solutions .ms-home__card:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: 680px; }
    body .ms-home-sourcing .ms-home__cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    body .ms-home-sourcing .ms-home__card { padding-right: 16px; }
    body .ms-home-sourcing .ms-home-core__label { font-size: 18px; }
    body .ms-home-quality .ms-home__cards { display: block; }
}
@media (max-width: 767px) {
    body .ms-home .ms-home__container { padding: 56px 20px; }
    body .ms-home .ms-home-hero__grid { padding: 0; }
    body .ms-home .ms-home-hero__copy { padding: 42px 24px; }
    body .ms-home .ms-home-hero__title { font-size: clamp(36px, 8.5vw, 52px); }
    body .ms-home .ms-home__intro { font-size: 16px; }
    body .ms-home .ms-home__actions { align-items: stretch; flex-direction: column; }
    body .ms-home .ms-home__button { width: 100%; }
    body .ms-home .ms-home-hero__media { aspect-ratio: 4 / 3; }
    body .ms-home .ms-home__cards,
    body .ms-home .ms-home-footer__grid { grid-template-columns: 1fr; }
    body .ms-home .ms-home-section__heading { margin-bottom: 32px; }
    body .ms-home .ms-home__card { max-width: none; }
    body .ms-home .ms-home-core__capabilities { gap: 0 20px; margin-top: 32px; }
    body .ms-home .ms-home-core__capability { grid-template-columns: 1fr; gap: 8px; }
    body .ms-home .ms-home__media-placeholder { padding: 24px; }
    body .ms-home-sourcing .ms-home__cards { display: block; }
    body .ms-home-sourcing .ms-home__card { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 10px 20px; border-top: 0; border-left: 1px solid #a7becd; padding: 0 0 32px 24px; }
    body .ms-home-sourcing .ms-home__card:last-child { padding-bottom: 0; }
    body .ms-home-sourcing .ms-home__card::before { left: -3px; top: 6px; }
    body .ms-home-sourcing .ms-home-core__number { grid-column: 1; grid-row: 1 / 3; font-size: 30px; margin: 0; }
    body .ms-home-sourcing .ms-home-core__label { grid-column: 2; font-size: 20px; max-width: none; }
    body .ms-home-sourcing .ms-home__card > .ms-home__intro { grid-column: 2; margin: 0; max-width: none; }
    body .ms-home-sourcing .ms-home__text-link { grid-column: 2; }
    body .ms-home-rfq .ms-home__container { padding-block: 64px; }
    body .ms-home .ms-home-rfq__form { padding: 20px; }
}
