@media (max-width: 1100px) {
  .nms-nav { gap: 14px; font-size: 12px; }
  .nms-brand { grid-template-columns: 52px auto; min-width: 218px; }
  .nms-brand__mark { width: 52px; }
  .nms-brand__wordmark { font-size: 25px; }
  .nms-brand__tagline { font-size: 8px; }
  .nms-brand-list { grid-template-columns: repeat(5, 1fr); row-gap: 10px; }
  .nms-capability { padding-inline: 10px; }
}

/* The approved homepage reference is a compact desktop composition at 819px wide. */
@media (min-width: 768px) and (max-width: 900px) {
  .home .nms-topbar { display: block; }
  .home .nms-container { width: min(var(--nms-container), calc(100% - (var(--nms-gutter) * 2))); }
  .home .nms-site-header__inner { min-height: 64px; gap: 12px; }
  .home .nms-brand { display: grid; grid-template-columns: 54px auto; grid-template-rows: auto auto; column-gap: 10px; min-width: 190px; }
  .home .nms-brand__mark { grid-row: 1 / 3; display: block; width: 54px; height: auto; }
  .home .nms-brand__wordmark { position: static; display: block; width: auto; height: auto; overflow: visible; clip: auto; color: #fff; font-size: 21px; font-weight: 900; letter-spacing: .06em; line-height: .95; white-space: normal; }
  .home .nms-brand__tagline { position: static; display: block; width: auto; height: auto; margin-top: 3px; overflow: visible; clip: auto; color: rgb(255 255 255 / 72%); font-size: 5.5px; font-weight: 800; letter-spacing: .06em; line-height: 1; text-transform: uppercase; white-space: normal; }
  .home .nms-nav { position: static; display: flex; flex-direction: row; align-items: center; gap: 11px; margin-left: auto; padding: 0; border: 0; background: transparent; box-shadow: none; font-size: 10px; }
  .home .nms-nav a { padding: 0; border: 0; color: rgb(255 255 255 / 86%); }
  .home .nms-menu-toggle { display: none; }
  .home .nms-inquiry-button { height: 36px; padding-inline: 12px; font-size: 10px; }
  .home .nms-hero { min-height: 302px; }
  .home .nms-hero__content { min-height: 282px; padding-block: 26px 22px; }
  .home .nms-hero__copy { width: 64%; }
  .home .nms-hero h1 { font-size: 30px; line-height: 1.08; }
  .home .nms-hero__lead { max-width: 390px; font-size: 13px; line-height: 1.3; }
  .home .nms-hero__actions { display: flex; grid-template-columns: none; margin-top: 16px; }
  .home .nms-hero .nms-button { width: auto; min-width: 112px; min-height: 34px; padding-inline: 13px; font-size: 10px; }
  .home .nms-hero-floating-search { position: static; width: min(680px, 100%); margin: 12px 0 0; }
  .home .nms-search { display: grid; grid-template-columns: minmax(0, 1fr) 170px; }
  .home .nms-search input,
  .home .nms-search button { height: 40px; }
  .home .nms-hero-tools__signals { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); min-height: 74px; padding-top: 20px; }
  .home .nms-hero-tools__signals div { grid-template-columns: 30px minmax(0, 1fr); padding: 7px 8px; }
  .home .nms-hero-tools__signals div > span { width: 26px; height: 26px; font-size: 14px; }
  .home .nms-hero-tools__signals .dashicons::before {
    width: 26px;
    height: 26px;
    line-height: 26px;
  }
  .home .nms-hero-tools__signals strong,
  .home .nms-hero-tools__signals small { font-size: 10px; }
  .home .nms-brand-coverage__inner { display: block; }
  .home .nms-brand-coverage { padding-block: 16px 14px; }
  .home .nms-section-heading { margin-bottom: 14px; }
  .home .nms-section-heading h2 { font-size: 18px; }
  .home .nms-brand-list { display: flex; overflow: visible; justify-content: center; flex-wrap: wrap; margin-top: 0; }
  .home .nms-brand-list a { flex: 0 0 auto; min-width: 0; padding: 0 18px; font-size: 11px; }
  .home .nms-product-grid,
  .home .nms-industry-grid,
  .home .nms-capabilities__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .home .nms-product-grid { gap: 6px; }
  .home .nms-product-systems { padding-block: 18px 20px; }
  .home .nms-product-card { min-height: 166px; }
  .home .nms-product-card__footer strong { font-size: 12px; }
  .home .nms-product-card__footer small { font-size: 11px; }
  .home .nms-inquiry-desk > .nms-container { grid-template-columns: .62fr 1fr; gap: 44px; min-height: 238px; padding-block: 22px; }
  .home .nms-inquiry-desk__panel { order: 1; }
  .home .nms-inquiry-desk__form { order: 2; }
  .home .nms-inquiry-desk__panel h2 { margin-bottom: 20px; font-size: 22px; }
  .home .nms-inquiry-desk__contact { margin-top: 13px; font-size: 13px; }
  .home .nms-inquiry-form__grid { grid-template-columns: 1fr 1fr; }
  .home .nms-inquiry-form input { height: 32px; }
  .home .nms-inquiry-form textarea { height: 50px; min-height: 50px; margin-top: 8px; }
  .home .nms-upload-box { margin-top: 8px; padding: 7px 10px; }
  .home .nms-inquiry-form__actions .nms-button { min-height: 36px; }
  .home .nms-industries { padding-block: 18px 20px; }
  .home .nms-industry-card { grid-template-rows: 72px 24px; }
  .home .nms-capabilities { padding-block: 14px 14px; }
  .home .nms-capability img { height: auto; aspect-ratio: 2.08; }
  .home .nms-capability__copy { min-height: 38px; padding: 5px 2px 0; }
  .home .nms-capability h3 { margin-bottom: 2px; font-size: 8px; }
  .home .nms-capability p { font-size: 7px; line-height: 1.15; }
  .home .nms-home-about { display: grid; grid-template-columns: .78fr 1.48fr; }
  .home .nms-home-about__image { min-height: 148px; }
  .home .nms-home-about__body { padding: 17px 28px; }
  .home .nms-home-about h2 { margin-bottom: 12px; font-size: 17px; }
  .home .nms-home-about__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .home .nms-home-about__stats div { grid-template-columns: 36px minmax(0, 1fr); }
  .home .nms-home-about__stats .dashicons { width: 28px; height: 28px; font-size: 16px; line-height: 28px; }
  .home .nms-home-about__stats strong { font-size: 12px; }
  .home .nms-home-about__stats small { font-size: 8px; }
  .home .nms-cta { min-height: 0; }
  .home .nms-cta__inner { display: grid; grid-template-columns: 1fr .6fr .6fr 168px; gap: 14px; min-height: 58px; padding-block: 8px; }
  .home .nms-cta__copy h2 { font-size: 17px; line-height: 1.04; }
  .home .nms-cta__contact a { font-size: 10px; }
  .home .nms-cta__actions .nms-button { min-height: 40px; white-space: nowrap; }
  .home .nms-footer { padding: 10px 0 8px; }
  .home .nms-footer__grid { grid-template-columns: 1.15fr .62fr .68fr .68fr .8fr 1fr; gap: 12px; }
  .home .nms-footer__brand img { width: 116px; }
  .home .nms-footer h3 { margin-bottom: 6px; font-size: 8px; }
  .home .nms-footer__nav { grid-template-columns: 1fr; }
  .home .nms-footer__nav a,
  .home .nms-footer__contact a,
  .home .nms-footer p { font-size: 8px; line-height: 1.25; }
  .home .nms-footer__bottom { margin-top: 10px; padding-top: 8px; font-size: 8px; }
}

@media (min-width: 768px) and (max-width: 820px) {
  .nms-site-header__inner { gap: 12px; }
  .nms-brand { grid-template-columns: 46px auto; min-width: 190px; }
  .nms-brand__mark { width: 46px; }
  .nms-brand__wordmark { font-size: 22px; }
  .nms-brand__tagline { font-size: 7px; }
  .nms-nav { gap: 9px; font-size: 11px; }
  .nms-inquiry-button { gap: 6px; padding-inline: 9px; font-size: 11px; }
}

@media (max-width: 767px) {
  .nms-container { width: min(var(--nms-container), calc(100% - (var(--nms-gutter) * 2))); }
  .nms-topbar { display: none; }
  .nms-site-header__inner { min-height: 64px; gap: 10px; }
  .nms-brand { grid-template-columns: 40px auto; column-gap: 9px; min-width: 154px; }
  .nms-brand__mark { width: 40px; }
  .nms-brand__wordmark { font-size: 18px; }
  .nms-brand__tagline { font-size: 6px; }
  .nms-nav { display: none; position: absolute; top: 64px; right: 14px; left: 14px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px; border: 1px solid rgb(255 255 255 / 14%); background: #071019; box-shadow: var(--nms-shadow-float); }
  .nms-nav.is-open { display: flex; }
  .nms-nav a { padding: 12px; border-bottom: 1px solid rgb(255 255 255 / 12%); color: #fff; }
  .nms-nav a:last-child { border-bottom: 0; }
  .nms-menu-toggle { display: block; }
  .nms-inquiry-button { height: 38px; padding-inline: 10px; font-size: 11px; }
  .nms-inquiry-button > span:last-child { display: none; }
  .nms-hero { min-height: 910px; }
  .nms-hero__content { display: block; min-height: 910px; padding-top: 65px; padding-bottom: 28px; }
  .nms-hero__media img { object-position: center; }
  .nms-hero__copy { width: 100%; }
  .nms-hero h1 { font-size: clamp(36px, 11vw, 52px); }
  .nms-hero__lead { font-size: 15px; }
  .nms-hero__actions { display: grid; grid-template-columns: 1fr; }
  .nms-button { min-height: var(--nms-button-height-mobile); }
  .nms-inquiry-signal { width: min(100%, 250px); margin: 20px 0 0 auto; }
  .nms-section { padding-block: var(--nms-section-y-mobile); }
  .nms-brand-coverage { padding-block: 24px; }
  .nms-brand-coverage__inner, .nms-product-systems__layout { display: block; }
  .nms-brand-list { display: flex; overflow-x: auto; margin-top: 20px; padding-bottom: 5px; }
  .nms-brand-list a { flex: 0 0 auto; min-width: 105px; border-right: 1px solid var(--nms-color-line); }
  .nms-system-nav { display: flex; overflow-x: auto; gap: 18px; margin: 20px 0; padding: 0 0 10px; border-left: 0; border-bottom: 1px solid var(--nms-color-line); }
  .nms-system-nav a { flex: 0 0 auto; }
  .nms-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .nms-product-card__footer { min-height: 54px; padding: 9px; font-size: 11px; }
  .nms-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--nms-grid-gap-mobile); }
  .nms-product-card__footer { min-height: 58px; padding: 10px; font-size: 12px; }
  .nms-section-intro { display: block; }
  .nms-inquiry-desk > .nms-container { grid-template-columns: 1fr; min-height: 0; }
  .nms-inquiry-desk__media { min-height: 250px; }
  .nms-inquiry-desk__panel { padding: 34px 20px; }
  .nms-inquiry-desk__stats { grid-template-columns: 1fr; }
  .nms-inquiry-desk__stats div { min-height: 104px; }
  .nms-capabilities__grid { grid-template-columns: 1fr; gap: 20px; }
  .nms-capability, .nms-capability:first-child, .nms-capability:last-child { padding: 0 0 20px; border-right: 0; border-bottom: 1px solid var(--nms-color-line); }
  .nms-capability:last-child { padding-bottom: 0; border-bottom: 0; }
  .nms-industry-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .nms-industry-card span { font-size: 12px; }
  .nms-cta__inner { display: block; min-height: 520px; padding-block: 40px; }
  .nms-cta__copy { margin-bottom: 28px; }
  .nms-cta__copy h2 { font-size: 30px; }
  .nms-inquiry-form__grid { grid-template-columns: 1fr; }
  .nms-footer { padding-top: 36px; }
  .nms-footer__grid { grid-template-columns: 1fr; gap: 20px; }
  .nms-footer__nav { grid-template-columns: 1fr 1fr; gap: 8px 18px; }
}

/* Keep the tablet header intentional instead of shrinking six links into a toolbar. */
@media (min-width: 768px) and (max-width: 900px) {
  .nms-site-header__inner { gap: 14px; }
  .nms-brand { min-width: 184px; }
  .nms-nav { display: none; position: absolute; top: 80px; right: 14px; left: 14px; flex-direction: column; align-items: stretch; gap: 0; margin-left: 0; padding: 8px; border: 1px solid rgb(255 255 255 / 14%); background: #071019; box-shadow: var(--nms-shadow-float); }
  .nms-nav.is-open { display: flex; }
  .nms-nav a { padding: 12px; border-bottom: 1px solid rgb(255 255 255 / 12%); color: #fff; }
  .nms-nav a:last-child { border-bottom: 0; }
  .nms-menu-toggle { display: block; }
  .nms-inquiry-button { gap: 7px; padding-inline: 10px; font-size: 11px; }
  .nms-hero__copy { width: min(570px, 72%); }
  .nms-hero h1 { font-size: clamp(40px, 5vw, 48px); }
  .nms-hero__lead { font-size: 15px; }
  .nms-product-systems-hero__inner { min-height: 540px; }
  .nms-product-systems-hero__content { margin-top: 54px; }
  .nms-product-systems-hero__content h1 { font-size: clamp(2.8rem, 6vw, 4.5rem); }
  .nms-product-systems-results .nms-archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .nms-product-systems-results .nms-archive-card__image { min-height: 190px; }
  .nms-product-systems-results .nms-archive-card__body { min-height: 210px; padding: 14px; }
  .nms-brand-detail-products__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .nms-brand-detail-products__grid .nms-archive-card__image { min-height: 210px; }
  .nms-brand-detail-products__grid .nms-archive-card__body { min-height: 250px; padding: 14px; }
  .nms-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px 34px; }
  .nms-footer__nav { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .nms-brand { min-width: 148px; }
  .nms-site-header__inner { gap: 6px; }
  .nms-header-actions { gap: 4px; }
  .nms-inquiry-button { padding-inline: 9px; }
  .nms-hero { min-height: 800px; }
  .nms-hero__content { min-height: 800px; padding-top: 54px; }
  .nms-hero__copy { width: 100%; }
  .nms-hero h1 { font-size: clamp(36px, 10.5vw, 48px); }
  .nms-hero__actions .nms-button { width: 100%; }
  .nms-search { width: 100%; }
  .nms-search input { font-size: 14px; }
  .nms-hero__suggestions { gap: 8px 11px; line-height: 1.4; }
  .nms-inquiry-signal { width: 100%; }
  .nms-brand-list a { min-width: 92px; }
  .nms-product-systems__layout { gap: 18px; }
  .nms-system-nav { gap: 20px; }
  .nms-product-systems-results .nms-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .nms-product-systems-results .nms-archive-card__image { min-height: 0; aspect-ratio: 1 / 1; }
  .nms-product-systems-results .nms-archive-card__body { min-height: 228px; padding: 12px; }
  .nms-product-systems-results .nms-archive-card h3 { font-size: .9rem; }
  .nms-product-systems-results .nms-archive-card__sku { margin-block: 10px 14px; font-size: .66rem; }
  .nms-product-systems-results .nms-archive-card__actions { align-items: flex-start; gap: 8px; }
  .nms-product-page { padding-block: 24px; }
  .nms-product-summary { gap: 12px; padding: 10px; }
  .nms-product-gallery { padding: 10px; }
  .nms-product-details { padding: 20px; }
  .nms-product-overview { gap: 20px; padding: 20px; }
  .nms-product-overview__items { grid-template-columns: 1fr; }
  .nms-product-content__body table { display: block; max-width: 100%; overflow-x: auto; }
  .nms-product-content__body img { max-width: 100%; height: auto; }

  /* Keep related product cards complete on narrow screens; desktop rules are scoped above 768px. */
  .nms-product-related { margin-top: 42px; }
  .nms-product-related__grid { gap: 12px; }
  .nms-product-related-card__image {
    display: grid;
    min-height: 150px;
    place-items: center;
    padding: 12px;
    background: var(--nms-color-paper);
  }
  .nms-product-related-card__image img {
    width: 100%;
    height: 150px;
    object-fit: contain;
  }
  .nms-product-related-card__image span {
    color: var(--nms-color-ink-soft);
    font-size: .72rem;
    text-align: center;
  }
  .nms-product-related-card__body {
    min-height: 0;
    padding: 14px;
  }
  .nms-product-related-card h3 {
    font-size: .92rem;
    overflow-wrap: anywhere;
  }
  .nms-product-related-card__actions {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 14px;
  }
  .nms-product-related-card__inquiry { margin-left: auto; }

  .nms-product-systems-hero,
  .nms-product-systems-hero__inner { min-height: 360px; }
  .nms-product-systems-hero__inner { padding-block: 16px 28px; }
  .nms-product-systems-hero__content { margin-top: 54px; }
  .nms-product-systems-hero__content h1 { font-size: clamp(2.55rem, 12vw, 4rem); }
  .nms-product-systems-body { padding-block: 18px 52px; }
  .nms-product-systems-tools { padding: 20px 16px; }
  .nms-product-systems-tools__heading { display: block; }
  .nms-product-systems-tools__heading > span { display: block; margin-top: 12px; white-space: normal; }
  .nms-product-systems-filter-form { display: block; padding-top: 18px; }
  .nms-product-systems-filter-form__search > div { display: grid; grid-template-columns: 1fr; }
  .nms-product-systems-filter-form__selects { grid-template-columns: 1fr; margin-top: 14px; }
  .nms-product-systems-filter-form__actions { display: flex; align-items: center; margin-top: 14px; }
  .nms-product-systems-filter-form__actions .nms-button { flex: 1; }
  .nms-product-systems-active { align-items: flex-start; flex-wrap: wrap; }
  .nms-product-systems-active a { margin-left: 0; }
  .nms-product-systems-results { margin-top: 38px; }
  .nms-product-systems-results__header { display: block; }
  .nms-product-systems-results__header > span { display: block; margin-top: 10px; }
  .nms-product-systems-results .nms-archive-card__image { min-height: 0; }
  .nms-product-systems-results .nms-archive-card__body { min-height: 224px; padding: 13px; }
  .nms-product-page { padding-block: 18px 52px; }
  .nms-product-summary { display: block; margin-top: 12px; padding: 8px; }
  .nms-product-gallery { padding: 12px; }
  .nms-product-gallery__main { min-height: 280px; }
  .nms-product-details { margin-top: 8px; padding: 22px 18px 20px; }
  .nms-product-details h1 { font-size: clamp(2.2rem, 12vw, 3.3rem); }
  .nms-product-part { margin-top: 20px; }
  .nms-product-facts div { grid-template-columns: 38% minmax(0, 1fr); }
  .nms-product-evidence { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nms-product-evidence > div { min-height: 78px; padding: 12px; }
  .nms-product-evidence > div:nth-child(2) { border-right: 0; }
  .nms-product-evidence > div:nth-child(-n + 2) { border-bottom: 1px solid var(--nms-color-line); }
  .nms-product-overview { display: block; padding: 22px 18px; }
  .nms-product-overview__items { margin-top: 22px; }
  .nms-product-content { margin-top: 48px; }
  .nms-product-related { margin-top: 48px; }
  .nms-product-final-cta { margin-top: 46px; padding: 24px 18px; }

  .nms-brands-body { padding-block: 18px 52px; }
  .nms-brands-hero__inner,
  .nms-industries-hero__inner { min-height: 450px; padding-block: 16px 28px; }
  .nms-brands-hero__content h1,
  .nms-industries-hero__copy h1 { font-size: clamp(2.45rem, 11vw, 4rem); }
  .nms-brands-directory { margin-top: 34px; padding: 18px 14px; }
  .nms-brands-directory > header { display: block; }
  .nms-brands-directory > header > p { margin-top: 14px; }
  .nms-brand-directory-search { display: block; padding: 14px; }
  .nms-brand-directory-search > div { display: grid; grid-template-columns: 1fr; margin-top: 8px; }
  .nms-brand-directory-search .nms-button { width: 100%; }
  .nms-brand-directory-letters { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
  .nms-brand-directory-letters a { min-width: 0; height: 28px; background: #f7fafc; border: 1px solid #dce5ec; font-size: .68rem; }
  .nms-brand-directory-letters a:first-child { grid-column: span 2; }
  .nms-brand-directory-letters a.is-active { background: #0a5fd5; border-color: #0a5fd5; color: #fff; }
  .nms-brand-directory-summary { gap: 8px 14px; line-height: 1.4; }
  .nms-brands-directory .nms-brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .nms-brands-directory .nms-brand-card { min-height: 118px; padding: 12px; }
  .nms-brands-directory .nms-brand-card__content strong { font-size: .84rem; overflow-wrap: anywhere; }
  .nms-brands-directory .nms-brand-card__mark { min-width: 34px; min-height: 34px; }
  .nms-brands-cta,
  .nms-industries-cta { margin-top: 36px; padding: 22px 18px; }
  .nms-page-section { margin-top: 44px; padding-top: 20px; }
  .nms-inquiry-guide-checklist,
  .nms-quality-disclosure,
  .nms-about-boundaries { margin-top: 36px; padding: 20px 16px; }
  .nms-contact-layout { display: block; margin-top: 36px; }
  .nms-contact-form { margin-top: 12px; }
  .nms-contact-panel,
  .nms-contact-form { padding: 22px 18px; }
  .nms-search-page,
  .nms-error-page { padding-block: 22px 52px; }
  .nms-search-page > header,
  .nms-error-page__header { padding-block: 24px; }
  .nms-search-page__form { display: grid; grid-template-columns: 1fr; }
  .nms-search-page__form .nms-button { width: 100%; }
  .nms-search-page .nms-archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .nms-search-page__empty,
  .nms-error-tools { display: block; padding: 22px 16px; }
  .nms-error-tools__note { margin-top: 24px; padding: 20px 0 0; border-top: 1px solid var(--nms-color-line); border-left: 0; }
}

@media (max-width: 767px) {
  .nms-capabilities {
    padding-block: 34px 38px;
  }

  .nms-capabilities__grid {
    gap: 14px;
    margin-top: 18px;
  }

  .nms-capability,
  .nms-capability:first-child,
  .nms-capability:last-child {
    display: grid;
    grid-template-rows: 132px auto;
    padding: 0;
    border: 1px solid var(--nms-color-line);
    background: #fff;
  }

  .nms-capability:last-child {
    border-bottom: 1px solid var(--nms-color-line);
  }

  .nms-capability img {
    order: 1;
    width: 100%;
    height: 132px;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .nms-capability__copy {
    order: 2;
    grid-template-columns: 32px minmax(0, 1fr);
    min-height: 0;
    gap: 10px;
    padding: 14px;
  }

  .nms-capability__icon {
    width: 28px;
    height: 28px;
    color: var(--nms-color-blue);
    font-size: 26px;
  }

  .nms-capability h3 {
    margin-bottom: 5px;
    font-size: 12px;
    line-height: 1.18;
  }

  .nms-capability p {
    font-size: 11px;
    line-height: 1.45;
  }
}

/* Header unity: keep the global navigation rhythm identical across home and inner pages. */
@media (min-width: 1101px) {
  .home .nms-site-header__inner,
  .nms-site-header__inner {
    min-height: 82px;
    gap: 24px;
  }

  .home .nms-brand,
  .nms-brand {
    grid-template-columns: 74px auto;
    column-gap: 13px;
    min-width: 300px;
  }

  .home .nms-brand__mark,
  .nms-brand__mark {
    width: 74px;
  }

  .home .nms-brand__wordmark,
  .nms-brand__wordmark {
    font-size: 30px;
    letter-spacing: .07em;
  }

  .home .nms-brand__tagline,
  .nms-brand__tagline {
    font-size: 8px;
  }

  .home .nms-nav,
  .nms-nav {
    gap: clamp(18px, 1.3vw, 25px);
    font-size: 13px;
  }

  .home .nms-inquiry-button,
  .nms-inquiry-button {
    height: 46px;
    padding-inline: 20px;
    font-size: 13px;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .home .nms-site-header__inner,
  .nms-site-header__inner {
    min-height: 76px;
    gap: 12px;
  }

  .home .nms-brand,
  .nms-brand {
    grid-template-columns: 52px auto;
    column-gap: 10px;
    min-width: 218px;
  }

  .home .nms-brand__mark,
  .nms-brand__mark {
    width: 52px;
  }

  .home .nms-brand__wordmark,
  .nms-brand__wordmark {
    font-size: 25px;
    letter-spacing: .065em;
  }

  .home .nms-brand__tagline,
  .nms-brand__tagline {
    margin-top: 3px;
    font-size: 7px;
  }

  .home .nms-nav,
  .nms-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    font-size: 11px;
  }

  .home .nms-nav a,
  .nms-nav a {
    padding: 0;
    border-bottom: 0;
    color: rgb(255 255 255 / 84%);
  }

  .home .nms-nav a.is-current,
  .nms-nav a.is-current {
    padding-bottom: 5px;
    border-bottom: 2px solid var(--nms-color-orange);
    color: #fff;
  }

  .home .nms-menu-toggle,
  .nms-menu-toggle {
    display: none;
  }

  .home .nms-inquiry-button,
  .nms-inquiry-button {
    height: 42px;
    padding-inline: 13px;
    font-size: 11px;
  }
}

@media (min-width: 768px) and (max-width: 900px) {
  .home .nms-site-header__inner,
  .nms-site-header__inner {
    min-height: 76px;
    gap: 14px;
  }

  .home .nms-brand,
  .nms-brand {
    grid-template-columns: 50px auto;
    column-gap: 10px;
    min-width: 184px;
  }

  .home .nms-brand__mark,
  .nms-brand__mark {
    width: 50px;
  }

  .home .nms-brand__wordmark,
  .nms-brand__wordmark {
    font-size: 22px;
  }

  .home .nms-brand__tagline,
  .nms-brand__tagline {
    font-size: 6.5px;
  }

  .home .nms-nav,
  .nms-nav {
    top: 76px;
  }
}

@media (max-width: 767px) {
  .home .nms-site-header__inner,
  .nms-site-header__inner {
    min-height: 64px;
    gap: 10px;
  }

  .home .nms-brand,
  .nms-brand {
    grid-template-columns: 40px auto;
    column-gap: 9px;
    min-width: 154px;
  }

  .home .nms-brand__mark,
  .nms-brand__mark {
    width: 40px;
  }

  .home .nms-brand__wordmark,
  .nms-brand__wordmark {
    font-size: 18px;
    letter-spacing: .06em;
  }

  .home .nms-brand__tagline,
  .nms-brand__tagline {
    margin-top: 3px;
    font-size: 6px;
    letter-spacing: .06em;
  }

  .home .nms-nav,
  .nms-nav {
    display: none;
    position: absolute;
    top: 64px;
    right: 12px;
    left: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: 8px;
    border: 1px solid rgb(255 255 255 / 14%);
    background: #071019;
    box-shadow: var(--nms-shadow-float);
  }

  .home .nms-nav.is-open,
  .nms-nav.is-open {
    display: flex;
  }

  .home .nms-nav a,
  .nms-nav a {
    padding: 12px;
    border-bottom: 1px solid rgb(255 255 255 / 12%);
    color: #fff;
  }

  .home .nms-nav a:last-child,
  .nms-nav a:last-child {
    border-bottom: 0;
  }

  .home .nms-menu-toggle,
  .nms-menu-toggle {
    display: block;
  }

  .home .nms-inquiry-button,
  .nms-inquiry-button {
    height: 38px;
    gap: 7px;
    padding-inline: 10px;
    font-size: 11px;
  }

  .home .nms-inquiry-button > span:last-child,
  .nms-inquiry-button > span:last-child {
    display: none;
  }
}

/* Footer unity: make the shared non-product footer read as a closing system, not a compressed info strip. */
.nms-footer:not(.nms-footer--products) {
  padding: clamp(42px, 4vw, 62px) 0 18px;
}

.nms-footer:not(.nms-footer--products) .nms-footer__grid {
  grid-template-columns: minmax(240px, 1.35fr) repeat(4, minmax(120px, .62fr)) minmax(210px, .95fr);
  gap: clamp(34px, 4vw, 64px);
  align-items: start;
}

.nms-footer:not(.nms-footer--products) .nms-footer__brand {
  margin-bottom: 16px;
}

.nms-footer:not(.nms-footer--products) .nms-footer__brand img {
  width: clamp(220px, 18vw, 270px);
}

.nms-footer:not(.nms-footer--products) h3 {
  margin-bottom: 15px;
  font-size: 12px;
  letter-spacing: .05em;
}

.nms-footer:not(.nms-footer--products) .nms-footer__nav {
  gap: 10px;
}

.nms-footer:not(.nms-footer--products) .nms-footer__nav a,
.nms-footer:not(.nms-footer--products) .nms-footer__contact a,
.nms-footer:not(.nms-footer--products) .nms-footer__contact p {
  font-size: 13px;
  line-height: 1.45;
}

.nms-footer:not(.nms-footer--products) .nms-footer__contact {
  display: grid;
  gap: 10px;
}

.nms-footer:not(.nms-footer--products) .nms-footer__contact .dashicons {
  color: #dce7ef;
  font-size: 17px;
  vertical-align: -3px;
}

.nms-footer:not(.nms-footer--products) .nms-footer__bottom {
  margin-top: clamp(28px, 3vw, 42px);
  padding-top: 16px;
  font-size: 11px;
}

@media (min-width: 768px) and (max-width: 1100px) {
  .nms-footer:not(.nms-footer--products) .nms-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 46px;
  }

  .nms-footer:not(.nms-footer--products) .nms-footer__grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .nms-footer:not(.nms-footer--products) .nms-footer__grid {
    grid-template-columns: minmax(240px, 1.12fr) repeat(3, minmax(130px, .72fr));
    gap: 34px 42px;
  }

  .nms-footer:not(.nms-footer--products) .nms-footer__grid > :first-child {
    grid-column: auto;
  }
}

@media (max-width: 767px) {
  .nms-footer:not(.nms-footer--products) {
    padding: 38px 0 16px;
  }

  .nms-footer:not(.nms-footer--products) .nms-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 28px;
  }

  .nms-footer:not(.nms-footer--products) .nms-footer__grid > :first-child,
  .nms-footer:not(.nms-footer--products) .nms-footer__contact {
    grid-column: 1 / -1;
  }

  .nms-footer:not(.nms-footer--products) .nms-footer__brand {
    margin-bottom: 4px;
  }

  .nms-footer:not(.nms-footer--products) .nms-footer__brand img {
    width: min(250px, 78vw);
  }

  .nms-footer:not(.nms-footer--products) h3 {
    margin-bottom: 11px;
    font-size: 11px;
  }

  .nms-footer:not(.nms-footer--products) .nms-footer__nav {
    gap: 9px;
    grid-template-columns: 1fr;
  }

  .nms-footer:not(.nms-footer--products) .nms-footer__nav a,
  .nms-footer:not(.nms-footer--products) .nms-footer__contact a,
  .nms-footer:not(.nms-footer--products) .nms-footer__contact p {
    font-size: 12px;
    line-height: 1.45;
  }

  .nms-footer:not(.nms-footer--products) .nms-footer__bottom {
    margin-top: 28px;
    font-size: 10px;
    line-height: 1.5;
  }
}

.nms-cta {
  min-height: 0;
  background:
    linear-gradient(90deg, rgb(6 22 32 / 98%), rgb(8 30 43 / 96%));
  border-top: 1px solid rgb(255 255 255 / 10%);
  border-bottom: 1px solid rgb(255 255 255 / 12%);
}

.nms-cta__inner {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) repeat(3, minmax(160px, auto)) 220px;
  gap: clamp(18px, 2.6vw, 44px);
  align-items: center;
  min-height: 118px;
  padding-block: 24px;
}

.nms-cta__copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 2vw, 32px);
  line-height: 1.12;
}

.nms-cta__contact {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgb(255 255 255 / 82%);
  font-size: 13px;
}

.nms-cta__contact .dashicons {
  width: 20px;
  height: 20px;
  color: #ff7a14;
  font-size: 19px;
}

.nms-cta__contact a {
  color: #fff;
  text-decoration: none;
  font-weight: 750;
}

.nms-cta__actions .nms-button {
  width: 100%;
  min-height: 48px;
  border-radius: 0;
}

.nms-footer {
  background:
    linear-gradient(180deg, #121b23, #101820);
  padding: 34px 0 12px;
}

.nms-footer__grid {
  grid-template-columns: minmax(220px, 1.35fr) repeat(5, minmax(105px, .58fr)) minmax(190px, .85fr);
  gap: clamp(18px, 2.3vw, 34px);
}

.nms-footer__brand--plate {
  padding: 10px 12px;
  border-radius: 4px;
  box-shadow: 0 14px 28px rgb(0 0 0 / 16%);
}

.nms-footer__brand--plate img {
  width: 196px !important;
}

.nms-footer p {
  font-size: 12px;
  line-height: 1.5;
}

.nms-footer h3 {
  margin-bottom: 10px;
  font-size: 11px;
}

.nms-footer__nav {
  gap: 8px;
}

.nms-footer__nav a,
.nms-footer__contact a {
  font-size: 12px;
}

.nms-footer__bottom {
  margin-top: 20px;
  padding-top: 12px;
}

body .nms-cta {
  min-height: 0 !important;
  border-top: 1px solid rgb(255 255 255 / 9%);
  border-bottom: 1px solid rgb(255 255 255 / 8%);
  background:
    radial-gradient(circle at 12% 12%, rgb(12 86 128 / 28%), transparent 34%),
    linear-gradient(90deg, #061927 0%, #092536 54%, #071927 100%) !important;
}

body .nms-cta__inner {
  display: grid !important;
  grid-template-columns: minmax(280px, 1.15fr) repeat(3, minmax(170px, .62fr)) minmax(180px, 220px) !important;
  gap: clamp(18px, 2.2vw, 34px) !important;
  min-height: 112px !important;
  padding-block: 22px !important;
  align-items: center !important;
}

body .nms-cta__copy h2 {
  max-width: 420px;
  margin: 0 !important;
  font-size: clamp(22px, 1.65vw, 30px) !important;
  line-height: 1.12 !important;
}

body .nms-cta__contact {
  min-width: 0;
  gap: 9px !important;
}

body .nms-cta__contact .dashicons {
  flex: 0 0 22px;
  width: 22px !important;
  height: 22px !important;
  color: #ff8616 !important;
  font-size: 20px !important;
}

body .nms-cta__contact a {
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
}

body .nms-cta__actions .nms-button {
  width: 100%;
  min-height: 48px !important;
}

body .nms-footer {
  padding: 28px 0 12px !important;
  background:
    linear-gradient(180deg, #141b22 0%, #101820 100%) !important;
}

body .nms-footer__grid {
  display: grid !important;
  grid-template-columns: minmax(180px, 1.25fr) repeat(5, minmax(96px, .58fr)) minmax(165px, .8fr) !important;
  gap: clamp(18px, 2.15vw, 32px) !important;
  align-items: start !important;
}

body .nms-footer__brand--plate {
  width: fit-content;
  max-width: 220px;
  padding: 8px 10px !important;
  border-radius: 5px !important;
  box-shadow: 0 12px 26px rgb(0 0 0 / 18%) !important;
}

body .nms-footer__brand--plate img {
  display: block !important;
  width: 180px !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
}

body .nms-footer h3 {
  margin: 0 0 9px !important;
  font-size: 11px !important;
  letter-spacing: .03em !important;
}

body .nms-footer p,
body .nms-footer__nav a,
body .nms-footer__contact a,
body .nms-footer__contact p {
  font-size: 12px !important;
  line-height: 1.42 !important;
}

body .nms-footer__nav {
  gap: 7px !important;
}

body .nms-footer__contact {
  display: grid;
  gap: 7px;
}

body .nms-footer__bottom {
  margin-top: 22px !important;
  padding-top: 11px !important;
  font-size: 10px !important;
}

body.post-type-archive-products .nms-footer__contact-band,
body.single-products .nms-footer__contact-band {
  display: grid !important;
  grid-template-columns: minmax(180px, 1.15fr) repeat(3, minmax(170px, .7fr)) !important;
  gap: 22px !important;
  padding: 0 0 22px !important;
}

body.post-type-archive-products .nms-footer__contact-band .nms-footer__brand,
body.single-products .nms-footer__contact-band .nms-footer__brand {
  min-height: 0 !important;
}

@media (max-width: 1100px) {
  /* The CTA has five children, but its desktop minimum columns cannot fit a
   * tablet container. Keep the headline and action full-width, then let the
   * three contact methods share two flexible columns. */
  body .nms-cta__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }

  body .nms-cta__copy,
  body .nms-cta__actions {
    grid-column: 1 / -1;
  }

  body .nms-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  body .nms-footer__summary,
  body .nms-footer__contact {
    grid-column: span 3;
  }

  .nms-cta__inner {
    grid-template-columns: 1fr 1fr;
  }

  .nms-cta__copy,
  .nms-cta__actions {
    grid-column: 1 / -1;
  }

  .nms-footer__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nms-footer__summary,
  .nms-footer__contact {
    grid-column: span 3;
  }
}

@media (max-width: 767px) {
  body .nms-cta__inner {
    grid-template-columns: 1fr !important;
  }

  body .nms-cta__copy,
  body .nms-cta__actions {
    grid-column: auto;
  }

  body .nms-footer__summary,
  body .nms-footer__contact {
    grid-column: auto;
  }

  .nms-cta__inner,
  .nms-footer__grid {
    grid-template-columns: 1fr;
  }

  .nms-footer__summary,
  .nms-footer__contact {
    grid-column: auto;
  }
}
