
/* gutter-ui-audit-20260907: prevent intrinsic form widths from expanding mobile pages. */
.quote-shell, .quote-copy, .quote-form, .form-grid, .form-grid > *, .field, .lead-form, .form-row, .form-row > * { min-width: 0; }
.quote-form input, .quote-form select, .quote-form textarea, .lead-form input, .lead-form select, .lead-form textarea { min-width: 0; max-width: 100%; }
@media (max-width: 640px) {
  .quote-shell, .form-grid, .form-row { grid-template-columns: minmax(0, 1fr); }
  .quote-copy, .quote-form { max-width: 100%; overflow-wrap: anywhere; }
  .quote-form .btn, .quote-form button { white-space: normal; }
  .site-header .menu-toggle, .site-header [data-menu] { min-width: 44px; min-height: 44px; }
  .site-header [data-nav].is-open a, .site-header .nav-menu.active a, .site-footer a { min-height: 44px; display: inline-flex; align-items: center; }
  .site-footer a { min-width: 44px; }
}

@media(max-width:640px){
 .site-header .nav-shell {gap:12px;}
 .site-header .brand {min-width:0;flex:1 1 0;}
 .site-header .brand-name {min-width:0;overflow-wrap:anywhere;}
 .site-header .menu-toggle {flex:0 0 44px;margin-left:auto;}
}
@media(prefers-reduced-motion:reduce){section.hero-video[data-factory-hero-video]{display:block!important}section.hero-video .hero-video-bg{display:block!important}}

/* Preserve separate footer link rows while enlarging mobile tap targets. */
@media(max-width:640px){.site-footer a{display:flex;width:fit-content;max-width:100%;align-items:center;min-height:44px;}}

/* Keep each brand caption attached to its own photo rather than a taller neighbor. */
.factory-precision-fabrication-industrial .brand-grid > figure.brand-figure{align-self:start;}

/* Keep four story images in a complete two-by-two arrangement. */
@media(min-width:701px){
.factory-precision-fabrication-industrial .precision-story-grid figure:first-child{grid-row:auto;}
}
.factory-precision-fabrication-industrial .precision-story-grid img[src="/assets/gallery-01.webp"],
.factory-precision-fabrication-industrial .precision-story-grid img[src="/assets/gallery-03.webp"]{object-position:center top;}
