/* Shared responsive rules, loaded after the original component / design styles.
   1920px remains the reference artboard; content, never a scaled canvas, reflows. */
.home-page {
  --page-gutter: clamp(1rem, 2.5vw, 2rem);
  --section-space: clamp(4rem, 8.333vw, 10rem);
  --layout-gap: clamp(1.5rem, 3.125vw, 3.75rem);
}
.home-container,
.flow-container,
.site-header .site-header__inner {
  width: min(101.25rem, calc(100% - 2 * var(--page-gutter)));
  max-width: none;
  margin-inline: auto;
  min-width: 0;
}
:is(.flow-grid, .flow-split, .detail-layout, .support-layout, .product-overview, .product-overview__gallery, .home-brand__stats, .flow-stats, .home-footer__main, .home-footer__top, .home-news__featured) > * {
  min-width: 0;
}
.home-page :is(p, dd, address, .flow-copy, .product-title__model, .product-overview__model) {
  overflow-wrap: anywhere;
}
.home-page :is(input, textarea, select) {
  max-width: 100%;
}
.home-brand__stats dd,
.flow-stats dd {
  text-wrap: balance;
}
.flow-table {
  max-width: 100%;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}
.home-dialog:not(.site-search) {
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.home-hero__pause {
  min-width: 2.75rem;
  min-height: 2.75rem;
}
.research-stack:not([data-stack-pinned]) {
  padding-bottom: 0;
}
.research-stack:not([data-stack-pinned]) .research-stack__card {
  margin-block: 2rem;
}
.research-stack:not([data-stack-pinned]) .research-stack__card:first-child {
  margin-top: 0;
}
.research-stack:not([data-stack-pinned]) .research-stack__card:last-child {
  margin-bottom: 0;
}

/* Fluid spacing between the mobile and the original desktop compositions. */
@media (max-width: 1700px) {
  .home-products__heading,
  .home-brand {
    padding-top: var(--section-space);
  }
  .home-service {
    padding-block: var(--section-space);
  }
  .home-news {
    padding-block: var(--section-space);
  }
  .home-products__stage {
    padding-block: clamp(3rem, 4.167vw, 5rem);
  }
  .home-heading {
    font-size: clamp(2rem, 1.5rem + 1.25vw, 3rem);
    line-height: 1.4;
  }
  .home-hero {
    min-height: clamp(36rem, 49vw, 58.75rem);
    padding-bottom: clamp(3rem, 5.2vw, 6.25rem);
  }
  .home-hero__content {
    padding-top: clamp(12rem, 18.3vw, 21.9375rem);
  }
  .home-hero__timeline {
    margin-top: clamp(4rem, 7.5vw, 9rem);
  }
  .home-hero__controls {
    margin-top: clamp(2rem, 5.2vw, 6.25rem);
  }
  .home-service__inner {
    gap: var(--layout-gap);
  }
  .home-industry__inner {
    gap: var(--layout-gap);
    padding-block: clamp(3rem, 5.2vw, 6.25rem);
    min-height: 0;
  }
  .home-industry__card {
    padding: clamp(1.5rem, 2.6vw, 2.5rem);
  }
  .home-industry__details {
    margin-top: clamp(2rem, 6vw, 7rem);
  }
  .home-industry__thumbnails img {
    width: 100%;
  }
  .home-brand__content {
    gap: var(--layout-gap);
    padding-top: clamp(3rem, 7.5vw, 9rem);
  }
  .home-product {
    padding: clamp(1.25rem, 1.6vw, 1.875rem);
  }
  .home-brand__stats dt {
    font-size: clamp(2.25rem, 3.2vw, 3.5rem);
  }
  .home-brand__stats :is(sup, small) {
    font-size: 0.5em;
  }
  .home-brand__stats dd {
    line-height: 1.6;
    white-space: normal;
  }
  .home-news__featured {
    gap: var(--layout-gap);
  }

  .interior-page .flow-section {
    padding-block: var(--section-space);
  }
  .interior-page .flow-intro {
    padding-block: var(--section-space) clamp(3rem, 5.2vw, 6.25rem);
  }
  .flow-split {
    gap: var(--layout-gap);
  }
  .flow-hero {
    padding-top: clamp(17rem, 33.23vw, 39.875rem);
    padding-bottom: clamp(2rem, 3.18vw, 3.8125rem);
  }
  .flow-hero__nav {
    margin-top: clamp(2rem, 4.63vw, 5.5625rem);
  }
  .flow-hero__image {
    object-position: var(--hero-position, center);
  }
  .interior-page--products #new-products {
    padding-block: var(--section-space);
  }
  .interior-page--products #catalog {
    padding-top: 0;
  }
  .product-card {
    padding: clamp(1rem, 1.6vw, 1.875rem);
  }
  .product-card__media img {
    max-height: 100%;
  }
  .interior-page--product-detail .flow-section {
    padding-block: 2rem;
  }
  .interior-page--product-detail #introduction {
    padding-block: 2rem var(--section-space);
  }
  .product-overview {
    gap: var(--layout-gap);
    padding: clamp(1.25rem, 2.5vw, 3rem);
  }
  .product-overview__gallery {
    grid-template-columns: 4.5rem minmax(0, 1fr);
    gap: 1rem;
  }
  .product-overview__thumbs button {
    min-height: 4.5rem;
    padding: 0.5rem;
  }
  .product-overview__thumbs img {
    height: 3.5rem;
  }
  .product-overview__photo {
    min-height: clamp(22rem, 32vw, 36.875rem);
  }
  .product-overview__photo img {
    max-height: clamp(20rem, 28vw, 30rem);
    max-width: 90%;
    object-fit: contain;
  }
  .product-overview__body > .flow-copy {
    margin-top: 2rem;
  }
  .product-overview__body .flow-actions {
    margin-top: clamp(2rem, 4vw, 4rem);
  }
  .detail-layout {
    gap: var(--layout-gap);
    padding-block: var(--section-space);
  }
  .detail-layout__main > .flow-section {
    padding-block: 0 var(--section-space);
  }
  .detail-layout__main > .flow-section:last-child {
    padding-bottom: 0;
  }
  .support-layout {
    gap: var(--layout-gap);
  }
  .interior-page--research #applications {
    padding-bottom: min(var(--section-space), 6rem);
  }
  .photo-panel--research {
    padding-top: var(--section-space);
  }
  .technology-number {
    margin-top: 2rem;
    font-size: clamp(5rem, 7.8vw, 9.375rem);
  }
  .technology-tabs {
    margin-top: clamp(2rem, 8vw, 9rem);
  }
  .interior-page--manufacturing #standards {
    padding-block: var(--section-space);
  }
  .interior-page--manufacturing :is(#process, #flexible) {
    padding-block: 0 var(--section-space);
  }
  .interior-page--manufacturing #flexible .flow-split {
    padding-inline: 2rem;
    gap: 2rem;
  }
  .interior-page--manufacturing #flexible .flow-split > div {
    padding: 2rem 0;
  }
  .interior-page--quality #quality-process {
    padding-block: var(--section-space);
  }
  .interior-page--news #articles {
    padding-block: 3rem var(--section-space);
  }
  .news-featured > div {
    padding: clamp(1.5rem, 3vw, 3.75rem);
  }
  .interior-page--news-detail main > .flow-section {
    padding-block: 2rem var(--section-space);
  }
  .article-layout {
    gap: var(--layout-gap);
    padding: clamp(1.25rem, 3vw, 3.75rem);
  }
  .article-layout__meta {
    gap: 1.5rem;
    flex-wrap: wrap;
  }
  .interior-page--about :is(#introduction, #culture, #honors, #clients) {
    padding-block: var(--section-space);
  }
  .interior-page--about #company-data {
    padding-top: clamp(12rem, 27vw, 32.5rem);
    padding-bottom: 3rem;
  }
  .flow-stats > div {
    padding: clamp(1rem, 2vw, 2.5rem);
  }
  .flow-stats dt {
    font-size: clamp(2.25rem, 3.5vw, 3.5rem);
  }
  .flow-stats dd {
    line-height: 1.6;
  }
  .culture-panel__values {
    gap: 1.5rem;
  }
  .interior-page .contact-heading {
    padding-top: clamp(9rem, 14.7vw, 17.625rem);
    padding-bottom: var(--section-space);
  }
  .contact-heading .flow-grid {
    margin-top: clamp(2rem, 5vw, 4rem);
  }
  .contact-card {
    padding: clamp(1.5rem, 2.5vw, 3rem);
  }
  .interior-page main .contact-card .flow-copy {
    font-size: clamp(1rem, 1.25vw, 1.5rem);
    line-height: 1.6;
  }
  .interior-page--contact #network {
    padding-block: 0 var(--section-space);
  }
  .interior-page--contact #inquiry {
    padding-block: var(--section-space);
  }
  .inquiry-panel {
    gap: var(--layout-gap);
    padding: clamp(1.25rem, 3vw, 3rem);
  }
  .interior-page--cloud #introduction {
    padding-block: var(--section-space) 3rem;
  }
  .interior-page--cloud #management {
    padding-block: 0 var(--section-space);
  }
  .interior-page--cloud #features {
    padding-block: 0 var(--section-space);
  }
  .interior-page--cloud #architecture {
    padding-block: var(--section-space);
  }
  .interior-page--cloud #scenarios {
    padding-block: var(--section-space) 0;
  }
  .interior-page--cloud #solution {
    padding-block: var(--section-space);
  }
  .interior-page--cloud #consultation {
    padding-block: 0 var(--section-space);
  }
  .interior-page--cloud #features .flow-tile {
    padding: 2rem 1.5rem;
  }
  .interior-page--cloud #architecture .flow-grid {
    padding: 1.5rem;
    gap: 1.5rem;
  }
  .cloud-scenarios {
    grid-template-columns: minmax(0, 1fr);
    margin-inline: var(--page-gutter);
    gap: 0;
  }
  .cloud-scenarios__peek {
    display: none;
  }
  .cloud-scenarios__slide {
    padding: clamp(12rem, 24vw, 24rem) clamp(1.5rem, 4vw, 5rem) 3rem;
    min-height: 28rem;
  }
}

/* Navigation needs 1280px to fit the logo, links and the shared search tools. */
@media (max-width: 1280px) {
  .site-header--light .site-header__nav {
    color: #fff;
  }
  .site-header__nav {
    max-height: calc(100dvh - 80px);
    overscroll-behavior: contain;
    padding-inline: var(--page-gutter);
    scrollbar-width: thin;
  }
  .site-header .site-header__toggle {
    display: grid;
    grid-template-columns: 22px;
    grid-template-rows: repeat(3, 2px);
    place-content: center;
    justify-items: center;
    gap: 5px;
    flex: 0 0 2.75rem;
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
    padding: 0;
  }
  .site-header .site-header__toggle span {
    width: 22px;
    height: 2px;
    border-radius: 1px;
  }
  .site-nav-item__toggle {
    width: 2.75rem;
    height: 2.75rem;
  }
  .site-nav-panel__list a {
    min-height: 2.75rem;
  }
  .home-industry__inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  }
  .home-brand__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .flow-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-industry__navigation::before {
    display: none;
  }
  .home-industry__link {
    min-height: 2.75rem;
  }
  .home-footer__top {
    padding-block: 3rem 2rem;
    gap: 2rem;
  }
  .home-footer__main {
    padding-block: 2rem 3rem;
    gap: 2rem;
  }
  .home-footer__navigation {
    gap: 1.5rem;
  }
  .home-footer__navigation a {
    padding-block: 0.25rem;
  }
  .home-subscribe input {
    font-size: 1rem;
  }
  .interior-page--cases .flow-grid,
  .interior-page--news #articles .flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .interior-page--cloud #management > .flow-container > .flow-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}

/* Tablet: let text and galleries use the full reading width before they get cramped. */
@media (max-width: 1000px) {
  .home-industry__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
  .home-industry__heading {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }
  .home-industry__arrow {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0;
    flex: none;
  }
  .home-industry__heading h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
  }
  .home-industry__details {
    margin-top: 2rem;
  }
  .home-service__title {
    font-size: clamp(2rem, 4vw, 3rem);
  }
  .home-service__gallery {
    margin-top: 0;
  }
  .home-service__slide {
    width: 85%;
  }
  .home-service__slide img {
    height: auto;
    aspect-ratio: 680 / 420;
    object-fit: cover;
  }
  .product-overview {
    grid-template-columns: minmax(0, 1fr);
  }
  .product-overview__gallery {
    grid-template-columns: 5rem minmax(0, 1fr);
  }
  .product-overview__body .flow-actions {
    margin-top: 2rem;
  }
  .detail-layout {
    grid-template-columns: 13rem minmax(0, 1fr);
  }
  .support-layout {
    grid-template-columns: 13rem minmax(0, 1fr);
  }
  .detail-layout__aside a {
    font-size: 1rem;
    padding-inline: 1rem;
  }
  .support-layout__aside {
    padding: 1rem;
  }
  .support-layout__aside a {
    font-size: 1rem;
  }
  .support-layout__main > .flow-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .interior-page--research #capabilities .flow-split,
  .interior-page--manufacturing #standards .flow-split,
  .interior-page--about #introduction .flow-split {
    grid-template-columns: minmax(0, 1fr);
  }
  .culture-panel__values {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .about-culture .about-culture__value {
    padding-block: 3rem;
  }
  .about-culture .about-culture__value + .about-culture__value {
    border-top: 1px solid #ffffff30;
  }
  .research-skills {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-block: 2rem;
  }
}

@media (max-width: 800px) {
  .detail-layout,
  .support-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .detail-layout__aside,
  .support-layout__aside {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .detail-layout__aside nav,
  .support-layout__aside nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
    justify-content: start;
    gap: 0.5rem;
    padding: 0.25rem;
  }
  .detail-layout__aside a,
  .support-layout__aside a {
    flex: none;
    white-space: nowrap;
    padding: 0.75rem 1rem;
    min-height: 2.75rem;
  }
  .detail-layout__aside > img {
    display: none;
  }
  .support-layout__main > .flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .flow-hero__nav {
    gap: 0.75rem;
    flex-wrap: wrap;
  }
  .flow-hero__nav > a:not(.flow-hero__home),
  .flow-hero__select > summary {
    width: auto;
    min-width: 0;
    gap: 1.5rem;
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
  }
  .flow-hero__home {
    flex: none;
    width: 3.25rem;
    height: 3.25rem;
  }
  .flow-hero__select {
    flex: 1;
    min-width: 0;
  }
  .interior-page--manufacturing #flexible .flow-split {
    padding: 0;
    gap: 0;
  }
  .interior-page--manufacturing #flexible .flow-split > div {
    padding: 2rem;
  }
  .interior-page--cloud #architecture .flow-grid {
    padding: 1.25rem;
  }
  .interior-page--cloud #consultation .flow-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .news-featured > img {
    height: auto !important;
  }
  .article-layout__related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .article-layout__related .story-card {
    margin-bottom: 0;
  }
}

@media (max-width: 640px) {
  .home-page {
    --section-space: 3.5rem;
  }
  .site-header .site-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.5rem;
  }
  .site-header .site-header__brand,
  .site-header .site-header__brand img {
    width: clamp(5rem, 25vw, 7.375rem);
    max-width: 100%;
    height: auto;
  }
  .site-header .site-header__actions {
    gap: 0.5rem;
    margin-left: 0;
    min-width: 0;
  }
  .header-tools {
    flex: none;
  }
  .header-tools__search {
    flex: none;
    min-height: 2.5rem;
    width: 2.5rem;
  }
  .header-tools__divider {
    margin-inline: 0;
  }
  .header-tools .header-tools__language {
    flex: none;
    width: 2.75rem;
    min-height: 2.5rem;
    padding-inline: 0;
    gap: 0;
    font-size: 0.8125rem;
  }
  .header-tools__language .header-tools__chevron {
    display: none;
  }
  .site-header .site-header__cloud {
    flex: 0 0 2.75rem;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
  }
  .home-hero {
    min-height: min(44rem, 100svh);
    padding-bottom: 2.5rem;
  }
  .home-hero__content {
    padding-top: clamp(12rem, 28svh, 17rem);
  }
  .home-hero__title {
    font-size: clamp(1.75rem, 5.5vw, 2.25rem);
  }
  .home-heading,
  .home-hero__title,
  .interior-page main :is(h1, h2) {
    text-wrap: balance;
  }
  .home-hero__timeline {
    margin-top: 4rem;
  }
  .home-hero__controls {
    margin-top: 2.5rem;
  }
  .home-hero__media img {
    object-position: 55% center;
  }
  .home-products__tabs {
    gap: 0.5rem;
  }
  .home-products__tab {
    height: auto;
    min-height: 3rem;
  }
  .home-products__tab::before {
    display: none;
  }
  .home-product__image img {
    max-height: 13rem;
  }
  .home-product .text-link {
    margin-top: 1.5rem;
  }
  .home-brand__content,
  .home-brand__tabs {
    width: calc(100% - 2 * var(--page-gutter));
  }
  .home-brand__stats {
    gap: 1.5rem 1rem;
  }
  .home-brand__stats dt {
    font-size: clamp(2rem, 8vw, 2.75rem);
    gap: 0.25rem;
  }
  .home-brand__stats dd {
    font-size: 0.9375rem;
  }
  .home-brand__tabs {
    gap: 0.5rem;
  }
  .home-brand__tab {
    min-height: 2.75rem;
    padding: 1rem;
    text-align: center;
  }
  .home-news__featured,
  .home-news__list {
    grid-template-columns: minmax(0, 1fr);
  }
  .home-news__photo {
    height: auto;
  }
  .home-support__grid {
    gap: 1rem;
  }
  .home-support__card {
    padding: 1.5rem;
  }
  .home-footer__navigation {
    column-gap: 1rem;
  }
  .home-footer__bottom > .home-container {
    gap: 0.75rem;
    font-size: 0.8125rem;
  }
  .home-footer__bottom {
    padding-block: 1.5rem;
  }
  .home-dialog:not(.site-search) {
    padding: 1.5rem;
  }
  .site-search.home-dialog {
    padding: 1.25rem;
  }
  .site-search .site-search__field-icon {
    display: none;
  }
  .site-search__key-hint {
    display: none;
  }
  .site-search__suggestions button {
    min-height: 2.75rem;
  }
  .site-search__clear {
    min-width: 2.25rem;
    min-height: 2.75rem;
  }
  .flow-grid,
  .flow-grid--four,
  .flow-grid--five,
  .interior-page--cases .flow-grid,
  .interior-page--news #articles .flow-grid,
  .support-layout__main > .flow-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .flow-tabs {
    gap: 0.375rem;
    margin-bottom: 2rem;
  }
  .flow-tabs__tab {
    flex-basis: 40%;
    min-height: 2.75rem;
    font-size: 1rem;
  }
  .flow-hero {
    padding-top: 17rem;
  }
  .flow-hero__nav {
    gap: 0.5rem;
  }
  .flow-hero__home {
    width: 2.75rem;
    height: 2.75rem;
  }
  .flow-hero__nav > a:not(.flow-hero__home),
  .flow-hero__select > summary {
    gap: 0.75rem;
    padding: 0.75rem 1rem;
  }
  .flow-actions {
    gap: 0.75rem;
  }
  .flow-actions .flow-button {
    min-height: 2.75rem;
    padding-inline: 1.25rem;
  }
  .product-overview__gallery {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
  .product-overview__photo {
    grid-row: 1;
    min-height: 20rem;
  }
  .product-overview__photo img {
    max-height: 18rem;
  }
  .product-overview__thumbs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.5rem;
  }
  .product-overview__thumbs button {
    min-height: 3.5rem;
    padding: 0.375rem;
  }
  .product-overview__thumbs img {
    height: 2.75rem;
  }
  .product-overview__body > .flow-copy {
    margin-top: 1.5rem;
  }
  .product-overview__body .flow-actions {
    margin-top: 1.5rem;
  }
  .new-products {
    margin-left: var(--page-gutter);
    padding-right: var(--page-gutter);
  }
  .new-products.site-carousel .site-carousel__slide {
    width: calc(100vw - 2 * var(--page-gutter));
    max-width: 100%;
  }
  .new-products__feature {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 1.25rem;
    min-height: 0;
    padding: 1.5rem;
  }
  .new-products__feature h2 {
    margin: 0 !important;
  }
  .new-products__visual {
    align-self: center;
    padding-top: 0;
  }
  .new-products__visual img {
    height: 13rem;
  }
  .new-products__link {
    align-self: end;
  }
  .design-slider {
    gap: 1rem;
  }
  .solution-row {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.5rem;
    gap: 1.5rem;
  }
  .solution-row > .flow-prose {
    grid-column: auto;
  }
  .flow-stats {
    gap: 0.75rem;
  }
  .flow-stats > div {
    padding: 1rem;
  }
  .flow-stats dt {
    font-size: clamp(1.75rem, 7.5vw, 2.5rem);
  }
  .flow-stats dd {
    font-size: 0.9375rem;
  }
  .interior-page--about #honors .flow-stats {
    gap: 1rem;
    flex-wrap: wrap;
  }
  .interior-page--about #honors .flow-stats > div {
    flex: 1 1 25%;
  }
  .research-skills {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .research-stack {
    padding-bottom: 0;
  }
  .research-stack__card {
    min-height: 0;
    margin-block: 1.5rem;
    padding: 3rem 1.5rem;
  }
  .research-stack__card .flow-copy {
    max-width: 100%;
  }
  .technology-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 2rem;
  }
  .technology-tabs > button {
    font-size: 1rem;
    padding: 1rem 0.5rem;
  }
  .interior-page--manufacturing #flexible .flow-split > div {
    padding: 1.5rem;
  }
  .article-layout__main > h2 {
    margin-bottom: 1.5rem !important;
  }
  .article-layout__meta {
    margin-block: 1.5rem;
    padding-bottom: 1.5rem;
  }
  .article-share {
    gap: 0.75rem;
    flex-wrap: wrap;
  }
  .article-share > button {
    width: 2.75rem;
    height: 2.75rem;
  }
  .article-layout__related {
    grid-template-columns: minmax(0, 1fr);
  }
  .article-layout__adjacent {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 2rem;
  }
  .news-featured > div {
    padding: 1.5rem;
  }
  .news-featured .flow-copy {
    margin-top: 1.5rem;
  }
  .news-featured time {
    margin-top: 1.5rem;
  }
  .contact-card {
    min-height: 0;
  }
  .sales-row > div {
    grid-template-columns: minmax(0, 1fr);
  }
  .inquiry-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
  }
  .interior-page--contact #inquiry .inquiry-panel h2 {
    font-size: clamp(1.5rem, 6.8vw, 2rem);
    line-height: 1.4;
  }
  .inquiry-form__verification {
    grid-template-columns: minmax(0, 1fr) 5rem;
  }
  .interior-page--cloud #management > .flow-container > .flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1rem;
    margin-block: 2rem;
  }
  .interior-page--cloud #management .source-icon {
    width: 6rem;
    min-height: 6rem;
  }
  .interior-page--cloud #architecture .flow-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .cloud-scenarios__slide {
    min-height: 0;
    padding: 12rem 1.5rem 2rem;
  }
}

@media (max-width: 380px) {
  .home-brand__stats dd {
    font-size: 0.875rem;
  }
  .site-header .site-header__inner {
    gap: 0.375rem;
  }
  .site-header .site-header__actions {
    gap: 0.25rem;
  }
  .home-support__card {
    gap: 1rem;
  }
}

@media (max-width: 1800px) {
  .case-scenarios .design-slider button {
    left: 1rem;
  }
  .case-scenarios .design-slider button + button {
    left: auto;
    right: 1rem;
  }
}

@media (pointer: coarse) {
  .scenario-dots {
    gap: 0.25rem;
  }
  .scenario-dots button,
  .scenario-dots button[aria-current="true"] {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    background: transparent;
  }
  .scenario-dots button::before {
    content: "";
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    background: #ddd;
  }
  .scenario-dots button[aria-current="true"]::before {
    background: var(--design-gold);
  }
}

/* Phone landscape / short windows keep all content reachable without a pinned stage. */
@media (max-height: 540px) {
  .home-hero {
    min-height: 0;
  }
  .home-hero__content {
    padding-top: 8rem;
  }
  .home-hero__timeline {
    margin-top: 2rem;
  }
  .home-hero__controls {
    margin-top: 1.5rem;
  }
  .site-search.home-dialog {
    --search-inset: 0.5rem;
    padding: 1rem;
  }
  .site-search__header {
    margin-bottom: 0.75rem;
  }
  .site-search .site-search__description,
  .site-search__suggestions {
    display: none;
  }
  .site-search__results-head {
    margin-top: 0.75rem;
  }
  .site-search__field {
    min-height: 3.5rem;
  }
  .site-search__field input {
    padding-block: 0.375rem;
  }
  .about-history__dial {
    position: static;
  }
}

/* Compact download cards keep the file title separate from a full-width action. */
@media (max-width: 800px) {
  .interior-page--support .support-layout__main > .flow-panel {
    padding: 1rem 1rem 1.5rem;
  }
  .support-layout__main .resource-row {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 0.75rem;
    border: 1px solid #e9e7e2;
    border-radius: 0.75rem;
    background: #fafaf8;
  }
  .interior-page main .resource-row h2 {
    width: 100%;
    min-width: 0;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 1rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
  }
  .resource-row .resource-row__icon {
    flex: 0 0 2rem;
    width: 2rem;
    height: 2.25rem;
    margin-top: 0.125rem;
    object-fit: contain;
  }
  .resource-row .flow-button {
    width: 100%;
    min-height: 2.75rem;
    margin: 0;
    padding: 0.625rem 1rem;
    align-self: stretch;
    justify-content: center;
    border: 1px solid #dfcfaf;
    border-radius: 0.5rem;
    background: #fff;
    color: #946c25;
    font-size: 0.9375rem;
  }
}

/* Category navigation uses its natural content width without empty scroll padding. */
.scroll-tabs {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  margin-bottom: 2.5rem;
}
.home-products__categories .scroll-tabs {
  margin-bottom: 0;
}
.support-layout__aside .scroll-tabs--service {
  margin-bottom: 0;
}
.photo-panel--research .scroll-tabs {
  margin-top: clamp(1.5rem, 4vw, 4rem);
  margin-bottom: 0;
}
.scroll-tabs--overflow {
  grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem;
  gap: 0.5rem;
}
.scroll-tabs > .scroll-tabs__rail {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding-inline: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}
.scroll-tabs__rail::-webkit-scrollbar {
  display: none;
}
.scroll-tabs--overflow > .scroll-tabs__rail {
  justify-content: flex-start;
}
.scroll-tabs .scroll-tabs__rail > :is(a, button) {
  flex: 0 0 auto;
  min-height: 2.75rem;
  height: auto;
  padding: 0.75rem 1.25rem;
  white-space: nowrap;
  font-size: clamp(0.9375rem, 0.85rem + 0.3vw, 1.125rem);
  line-height: 1.5;
  scroll-snap-align: center;
}
.scroll-tabs .home-products__tab::before {
  display: none;
}
.scroll-tabs__arrow {
  display: none;
}
.scroll-tabs--overflow > .scroll-tabs__arrow {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: #fff;
  color: #333;
  cursor: pointer;
  transition:
    color 160ms ease,
    border-color 160ms ease;
}
.scroll-tabs__icon {
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  pointer-events: none;
}
.scroll-tabs__arrow:enabled:hover {
  border-color: var(--home-gold);
  color: var(--home-gold);
}
.scroll-tabs__arrow:disabled {
  border-color: #e5e5e5;
  color: #b8b8b8;
  opacity: 1;
  cursor: default;
}
.scroll-tabs__arrow:focus-visible {
  outline: 2px solid var(--home-gold);
  outline-offset: 2px;
}

/* One centered track supplies both the active manufacturing card and its previews. */
.interior-page .manufacturing-gallery {
  --manufacturing-slide-width: min(87.5rem, 76vw);
  display: block;
  margin-inline: 0;
  overflow: hidden;
}
.manufacturing-gallery__track.site-carousel {
  width: 100%;
  max-width: none;
  border-radius: 0;
}
.manufacturing-gallery__track .site-carousel__slide.flow-split {
  width: var(--manufacturing-slide-width);
  overflow: hidden;
}
.manufacturing-gallery__track .carousel-playback {
  right: calc((100% - var(--manufacturing-slide-width)) / 2 + 0.875rem);
}
.manufacturing-gallery__count {
  display: none;
}
@media (min-width: 1001px) {
  .manufacturing-gallery .design-slider button {
    width: 3rem;
    height: 3rem;
    top: calc(50% - 1.5rem);
    left: calc((100% - var(--manufacturing-slide-width)) / 2 - min(3.4375rem, 2.8646vw) - 1.5rem);
  }
  .manufacturing-gallery .design-slider button + button {
    left: auto;
    right: calc((100% - var(--manufacturing-slide-width)) / 2 - min(3.4375rem, 2.8646vw) - 1.5rem);
  }
}
@media (max-width: 1000px) {
  .interior-page .manufacturing-gallery {
    --manufacturing-slide-width: 100%;
    margin-inline: var(--page-gutter);
  }
  .manufacturing-gallery > .design-slider {
    padding-inline: 0;
  }
}

/* Keep portrait and landscape certificates intact in a shared display area. */
.flow-certificates.site-carousel {
  --certificate-height: clamp(14rem, 16vw, 17rem);
  max-width: 108rem;
  padding: clamp(1rem, 2vw, 2rem) 0;
}
.flow-certificates.site-carousel figure.swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.875rem;
  width: 100%;
  margin: 0;
  padding-inline: 0.75rem;
}
.flow-certificates .certificate-media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--certificate-height);
  flex-shrink: 0;
}
.flow-certificates .certificate-media > :is(img, svg) {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 17.25rem);
  max-height: 100%;
  object-fit: contain;
  /* filter: drop-shadow(0 3px 6px rgb(38 31 22 / 14%)); */
}
.flow-certificates .certificate-media > svg {
  width: 100%;
  height: 100%;
}
.flow-certificates.site-carousel figcaption {
  min-height: 3em;
  padding: 0;
  color: #51463a;
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.client-logos > div {
  min-width: 0;
}
.client-logos img {
  max-width: min(100%, 7.5rem);
  max-height: 4.25rem;
  object-fit: contain;
}

@media (max-width: 1700px) {
  /* Override .home-page img, whose specificity previously exposed the side images. */
  .interior-page .manufacturing-gallery__peek,
  .interior-page .cloud-scenarios__peek {
    display: none;
  }
  .manufacturing-gallery {
    margin-inline: var(--page-gutter);
    gap: 1.5rem;
  }
  .interior-page--manufacturing #flexible .flow-split {
    padding: 0;
    gap: 0;
  }
  .interior-page--manufacturing #flexible .flow-split > div {
    padding: clamp(1.5rem, 3vw, 3.75rem);
  }
  .interior-page main .flow-hero h1 {
    font-size: clamp(2rem, 1rem + 2.3vw, 3.75rem);
    line-height: 1.4;
  }
  .interior-page main .inquiry-panel h2 {
    font-size: clamp(1.5rem, 2.5vw, 3rem);
    line-height: 1.4;
  }
  .interior-page main .flow-empty h2 {
    font-size: clamp(1.25rem, 2.8vw, 2rem);
  }
  .interior-page--solutions main > .flow-section,
  .interior-page:is(.interior-page--support, .interior-page--support-faq, .interior-page--support-videos) #resources {
    padding-block: var(--section-space);
  }
}
@media (max-width: 1280px) {
  .home-page {
    --section-space: clamp(2.75rem, 6.25vw, 5rem);
  }
  .home-industry__heading h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  }
  .about-culture .about-culture__value {
    padding-block: clamp(3rem, 6vw, 5rem);
  }
  .about-history .about-history__events {
    padding-block: 3rem;
  }
}
@media (max-width: 1000px) {
  .interior-page--manufacturing #flexible .flow-split {
    display: flex;
    flex-direction: column;
  }
  .interior-page--manufacturing #flexible .flow-split > img {
    order: -1;
    width: 100%;
    height: auto !important;
    min-height: 0;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0;
  }
  .interior-page--manufacturing #flexible .flow-split > div {
    padding: clamp(1.25rem, 3vw, 2rem);
  }
  .interior-page--manufacturing #flexible .flow-split h2 {
    font-size: clamp(1.375rem, 3vw, 1.75rem);
    line-height: 1.4;
  }
  .interior-page--manufacturing #flexible .flow-split .flow-copy {
    font-size: 1rem;
    line-height: 1.7;
    margin-top: 0.875rem;
  }
  .interior-page--manufacturing #flexible .flow-split .flow-copy p + p {
    margin-top: 0.75rem;
  }
  :is(.manufacturing-gallery, .cloud-scenarios, .case-scenarios) > .design-slider {
    position: static;
    inset: auto;
    display: flex;
    justify-content: flex-end;
    grid-column: 1 / -1;
    pointer-events: auto;
    margin: 1rem 0 0;
  }
  :is(.manufacturing-gallery, .cloud-scenarios, .case-scenarios) .design-slider > div {
    display: flex;
  }
  :is(.manufacturing-gallery, .cloud-scenarios, .case-scenarios) .design-slider button {
    position: static;
    inset: auto;
    width: 2.75rem;
    height: 2.75rem;
  }
  .manufacturing-gallery__track .carousel-playback {
    top: 0.75rem;
    bottom: auto;
    right: 0.75rem;
  }
  .manufacturing-gallery > .design-slider {
    position: relative;
    justify-content: center;
  }
  .manufacturing-gallery__count {
    position: absolute;
    left: 0;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    color: #858585;
    font:
      0.8125rem/1.5 Arial,
      sans-serif;
  }
  .manufacturing-gallery__count b {
    color: #333;
    font-size: 1rem;
    font-weight: 500;
  }
  .client-logos {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
  .home-industry__heading h2 {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  }
  .home-industry__name {
    font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  }
  .home-brand__side-title {
    font-size: clamp(1.375rem, 2.8vw, 2rem);
  }
  .home-support__card h2 {
    font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  }
  .interior-page main .flow-empty h2 {
    font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  }
  .interior-page main .flow-hero h1 {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
  }
  .interior-page--solutions main > .flow-section,
  .interior-page:is(.interior-page--support, .interior-page--support-faq, .interior-page--support-videos) #resources {
    padding-block: var(--section-space);
  }
  .interior-page .support-layout {
    padding-block: 0;
  }
}
@media (max-width: 640px) {
  .home-page {
    --section-space: 2.75rem;
  }
  .home-heading,
  .home-service__title {
    font-size: 1.75rem;
    line-height: 1.4;
  }
  .interior-page .flow-intro {
    padding-bottom: 2.5rem;
  }
  .scroll-tabs {
    margin-bottom: 1.5rem;
  }
  .client-logos {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 2rem;
  }
  .client-logos > div {
    padding: 0.75rem;
    min-height: 5rem;
  }
  .client-logos img {
    max-height: 3.25rem;
  }
  body[data-page="news-detail"] .article-layout__related > h2 {
    font-size: 1.5rem;
    line-height: 1.4;
  }
  .news-banner {
    padding-bottom: 12rem;
  }
  .interior-page--manufacturing #process .flow-number {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  .interior-page--manufacturing #process h3 {
    margin-bottom: 1rem !important;
  }
  .flow-hero__nav {
    margin-top: 1.5rem;
  }
}

/* News keeps its title above the feature and shows all three filters on phones. */
@media (max-width: 800px) {
  .interior-page--news .news-banner {
    padding: 3rem 0 4rem;
  }
  .interior-page--news .news-banner h1 {
    margin-top: 1.25rem !important;
    font-size: clamp(1.75rem, 4.5vw, 2.25rem) !important;
    line-height: 1.45 !important;
  }
  .interior-page--news .news-featured {
    margin-top: -2rem;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
  }
  .interior-page--news .news-featured > div {
    min-width: 0;
    padding: 1.25rem;
  }
  .interior-page--news .news-featured > div > .flow-label {
    font-size: 0.875rem;
  }
  .interior-page--news .news-featured time {
    margin-top: 0.75rem;
    font-size: 0.8125rem;
  }
  .interior-page--news main .news-featured h2 {
    font-size: 1.25rem;
    line-height: 1.5;
  }
  .interior-page--news .news-featured .flow-copy {
    margin-top: 1rem;
  }
  .interior-page--news #articles {
    padding-block: 2rem 3rem;
  }
  .interior-page--news .flow-tabs {
    width: 100%;
    min-height: 0;
    padding: 0.25rem;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
  }
  .interior-page--news .flow-tabs__tab {
    flex: 1 1 auto;
    min-width: max-content;
    min-height: 2.75rem;
    padding: 0.625rem 0.375rem;
    font-size: 0.875rem;
    line-height: 1.5;
    white-space: nowrap;
  }
  .interior-page--news .story-card__body {
    padding: 1.25rem;
  }
  .interior-page--news .story-card__body > .flow-label {
    font-size: 0.875rem;
  }
  .interior-page--news .story-card time {
    margin-top: 0.75rem;
  }
  .interior-page--news main .story-card h3 {
    font-size: 1.125rem;
    line-height: 1.5;
  }
}

/* Phone footer keeps useful contact information; the header owns site navigation. */
@media (max-width: 767px) {
  .home-footer__navigation {
    display: none;
  }
  .home-footer__top {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.5rem;
    padding-block: 2.5rem 2rem;
  }
  .home-footer__main {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-block: 1.5rem 2rem;
  }
  .home-footer__contact address {
    font-size: 0.875rem;
    line-height: 1.9;
  }
  .home-footer__follow {
    margin-top: 1.5rem !important;
  }
  .home-footer__socials {
    gap: 0.75rem;
  }
  .home-footer__socials a {
    width: 2.75rem;
    height: 2.75rem;
  }
  .home-footer__bottom {
    padding-block: 1.25rem;
  }
  .home-footer__bottom > .home-container {
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.75rem;
    line-height: 1.8;
  }
}
