/* Final spatial owner: one content rail, generous section rhythm, and content-led reflow. */
:root {
  --site331-gutter:clamp(24px,6vw,96px);
  --site331-width:1280px;
  --site331-rail:min(var(--site331-width),calc(100% - var(--site331-gutter)*2));
  --site331-section:clamp(112px,8vw,144px);
  --site331-columns:clamp(40px,5vw,72px);
  --site331-header:88px;
}
html body.editorial-site { font-weight:400;line-height:1.85; }
html body.editorial-site :is(h1,h2,h3,h4) { line-height:1.35;letter-spacing:-.025em;text-wrap:balance;overflow-wrap:break-word; }
html body.editorial-site :is(p,li) { line-height:1.85; }
html body.editorial-site > header .wrap,
html body.editorial-site > header > .shell.header-row {
  box-sizing:border-box;width:var(--site331-rail)!important;max-width:var(--site331-width)!important;
  margin-inline:auto!important;padding-inline:0!important;min-width:0;
}
html body.editorial-site > header .nav { gap:clamp(24px,3vw,40px); }
html body.editorial-site > header .header-tools { min-width:0; }

/* Home: the approved art remains full bleed; all copy follows the common rail. */
html body.page-home.journey-home.network-theme .hero295-home .hero295-inner {
  width:var(--site331-rail);max-width:var(--site331-width);padding:160px 0 120px;
}
html body.page-home.journey-home.network-theme .hero295-home .hero295-copy { padding-bottom:0; }
html body.page-home.journey-home.network-theme .hero295-home .hero295-intro { margin-top:40px;line-height:1.75; }
html body.page-home.journey-home.network-theme #about.source-workflow252 {
  min-height:auto;display:block;padding-block:var(--site331-section)!important;
}
html body.page-home.journey-home.network-theme #about .source-flow-layout252 {
  box-sizing:border-box;width:var(--site331-rail)!important;max-width:var(--site331-width);padding:0!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:clamp(64px,8vw,128px);align-items:center;
}
html body.page-home.journey-home.network-theme #about .source-cycle-panel252 { grid-area:auto;order:0;width:100%;max-width:520px;margin:0!important; }
html body.page-home.journey-home.network-theme #about .source-flow-copy252 { display:block;grid-area:auto;order:1;min-width:0;padding:0;max-width:600px; }
html body.page-home.journey-home.network-theme #about .source-flow-heading252 { margin-block:28px 40px;line-height:1.4; }
html body.page-home.journey-home.network-theme #about .source-flow-details252 { padding-top:32px; }
html body.page-home.journey-home.network-theme #about .source-flow-detail252 h3 { margin-bottom:20px; }
html body.page-home.journey-home.network-theme #about .source-flow-detail252 p+p { margin-top:20px; }
html body.page-home.journey-home.network-theme #sourcing.engineering-services.service-portrait.services301 {
  padding-block:var(--site331-section) calc(var(--site331-section) + 40px)!important;
}
html body.page-home.journey-home.network-theme #sourcing.engineering-services.service-portrait.services301 .workshop-inner {
  width:var(--site331-rail);max-width:var(--site331-width);
}
html body.page-home.journey-home.network-theme #sourcing.engineering-services.service-portrait.services301 .workshop-heading { margin-bottom:88px; }
html body.page-home.journey-home.network-theme #sourcing.engineering-services.service-portrait.services301 .workshop-grid { gap:32px; }
html body.page-home.journey-home.network-theme #sourcing.engineering-services.service-portrait.services301 .workshop-card { padding:48px 32px 40px; }
html body.page-home.journey-home.network-theme #sourcing.engineering-services.service-portrait.services301 .workshop-description { margin-top:24px; }
html body.page-home.journey-home.network-theme #sourcing.engineering-services.service-portrait.services301 .service-review301 { margin-top:32px; }

/* Keep the approved large map. Only the copy surface is made fully transparent. */
html body.page-equipment.equipment-gallery-page main#home > .hero307-equipment .hero295-inner,
html body.page-equipment.equipment-gallery-page main#home > .hero307-equipment .hero295-copy {
  background:transparent!important;background-image:none!important;box-shadow:none!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;filter:none!important;
}
html body.page-equipment.equipment-gallery-page main#home > .hero307-equipment .hero295-inner::before,
html body.page-equipment.equipment-gallery-page main#home > .hero307-equipment .hero295-inner::after,
html body.page-equipment.equipment-gallery-page main#home > .hero307-equipment .hero295-copy::before,
html body.page-equipment.equipment-gallery-page main#home > .hero307-equipment .hero295-copy::after { content:none!important;background:none!important;box-shadow:none!important; }

html body.page-equipment.equipment-gallery-page main#home { --eq312-gutter:var(--site331-gutter);--eq312-width:var(--site331-width); }
html body.page-equipment.equipment-gallery-page main#home > .hero295-category-shell { padding-top:var(--site331-section); }
html body.page-equipment.equipment-gallery-page main#home .equipment-category { padding:40px 32px!important; }
html body.page-equipment.equipment-gallery-page main#home > .equipment-photo-gallery { padding-top:var(--site331-section)!important; }
html body.page-equipment.equipment-gallery-page main#home .equipment-gallery-heading { margin-bottom:56px; }
html body.page-equipment.equipment-gallery-page main#home .equipment-gallery-track { gap:32px; }
html body.page-equipment.equipment-gallery-page main#home .equipment-photo-card { flex-basis:clamp(260px,26vw,400px); }
html body.page-equipment.equipment-gallery-page main#home > #equipment-adoption { padding-block:var(--site331-section)!important; }
html body.page-equipment.equipment-gallery-page main#home .adoption-layout253 { column-gap:var(--site331-columns); }

/* Materials: columns depend on usable card width rather than a fragile monitor cutoff. */
html body.materials301.materials303.editorial-site.page-materials.material-library254 .materials-stage313 .material-category-hero,
html body.materials301.materials303.materials-stage313-ready.editorial-site.page-materials.material-library254 #catalog.catalog-section,
html body.materials301.materials303.editorial-site.page-materials .materials-guide-inner315 {
  width:var(--site331-rail)!important;max-width:var(--site331-width)!important;margin-inline:auto!important;
}
html body.materials301.materials303.editorial-site.page-materials.material-library254 .materials-stage313,
html body.materials301.materials303.editorial-site.page-materials.material-library254 .materials-stage313 .material-category-hero { min-height:520px!important; }
html body.materials301.materials303.editorial-site.page-materials.material-library254 .materials-stage313 .material-category-hero { padding:160px 0 112px!important; }
html body.materials301.materials303.materials-stage313-ready.editorial-site.page-materials.material-library254 #catalog.catalog-section {
  display:grid!important;grid-template-columns:clamp(180px,18vw,224px) minmax(0,1fr)!important;
  column-gap:clamp(32px,4vw,56px)!important;row-gap:0;padding-top:48px!important;padding-bottom:var(--site331-section)!important;
}
html body.materials301.materials303.editorial-site.page-materials.material-library254 #catalog.catalog-section .catalog-grid {
  grid-template-columns:repeat(auto-fill,minmax(min(100%,248px),1fr))!important;gap:32px!important;
}
html body.materials301.materials303.editorial-site.page-materials .materials-guide315 { padding-bottom:var(--site331-section); }
html body.materials301.materials303.editorial-site.page-materials .materials-guide-tabs315 { margin-top:40px;margin-bottom:40px; }
html body.materials301.materials303.editorial-site.page-materials .materials-guide-panel315 { gap:var(--site331-columns); }

/* Technical reading pages keep images and tables wide while prose stays comfortable. */
html body.product-interior .interior-shell,
html body.product-interior.page-detail .product-detail {
  box-sizing:border-box;width:var(--site331-rail);max-width:var(--site331-width);margin-inline:auto;padding-inline:0;
}
html body.product-interior.page-detail .product-detail { padding-top:160px;padding-bottom:112px; }
html body.product-interior.page-detail .back-link { font-size:14px;margin-bottom:48px; }
html body.product-interior.page-detail .product-overview { column-gap:var(--site331-columns);row-gap:48px;margin-bottom:104px; }
html body.product-interior.page-detail .product-summary h1 { font-size:clamp(32px,3.2vw,48px);line-height:1.35;letter-spacing:-.025em; }
html body.product-interior.page-detail .product-summary > p { margin-top:28px; }
html body.product-interior.page-detail .detail-section { padding-block:96px;column-gap:64px;row-gap:32px;scroll-margin-top:184px; }
html body.product-interior.page-detail .detail-section :is(p,li) { font-size:16px;line-height:1.9;max-width:72ch; }
html body.product-interior.page-detail .detail-section h3 { margin-top:32px;margin-bottom:20px; }
html body.product-interior.page-detail .detail-section p+p { margin-top:20px; }
html body.product-interior.page-detail .detail-section:last-child { margin-inline:0;padding:72px 40px; }
html body.product-interior .product-jump > .interior-shell { gap:32px; }
html body.product-interior .product-jump a { font-size:14px;min-height:56px; }
html body.product-interior :is(.equipment-feature,.thermal-feature) { padding-block:var(--site331-section); }
html body.product-interior :is(.equipment-feature-layout,.thermal-feature-layout) { gap:var(--site331-columns); }
html body.product-interior .interior-description { font-size:16px;max-width:70ch; }
html body.product-interior .interior-service { padding-block:var(--site331-section); }

/* Contact closes each page with the same edges and a little more breathing room. */
html body footer#contact.footer.footer315[data-footer315][data-footer315-motion] { padding:72px 0 40px!important; }
html body footer#contact.footer.footer315[data-footer315][data-footer315-motion] > .wrap.footer-row { width:var(--site331-rail)!important;max-width:var(--site331-width)!important;row-gap:40px; }

@media(min-width:901px) {
  html body.page-home.journey-home.network-theme #about.source-workflow252 { min-height:calc(100svh - var(--site331-header));display:grid;align-items:center; }
}
@media(max-width:1100px) {
  html body.page-equipment.equipment-gallery-page main#home .equipment-category-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
  html body.product-interior.page-detail .detail-section { grid-template-columns:150px minmax(0,1fr);column-gap:40px; }
}
@media(max-width:1000px) {
  html body.materials301.materials303.materials-stage313-ready.editorial-site.page-materials.material-library254 #catalog.catalog-section { display:block!important; }
  html body.materials301.materials303.materials-stage313-ready.editorial-site.page-materials.material-library254 #catalog .catalog-sidebar { position:static!important;top:auto!important;margin:0 0 40px!important; }
  html body.materials301.materials303.editorial-site.page-materials.material-library254 #catalog .filter-list { display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;overflow:visible;padding:0; }
  html body.materials301.materials303.editorial-site.page-materials.material-library254 #catalog .filter-list button { width:100%;min-height:56px;white-space:normal; }
  html body.materials301.materials303.editorial-site.page-materials.material-library254 .materials-stage313 .interior-hero-copy { width:calc((100% - 48px)/2)!important; }
}
@media(max-width:900px) {
  :root { --site331-section:96px; }
  html body.page-home.journey-home.network-theme #about .source-flow-layout252 { display:grid;grid-template-columns:minmax(0,1fr);gap:72px; }
  html body.page-home.journey-home.network-theme #about .source-cycle-panel252 { max-width:480px;justify-self:center; }
  html body.page-home.journey-home.network-theme #about .source-flow-copy252 { width:100%;max-width:620px;justify-self:center; }
  html body.page-home.journey-home.network-theme #sourcing.engineering-services.service-portrait.services301 .workshop-grid { grid-template-columns:minmax(0,1fr);max-width:560px;margin-inline:auto;gap:32px; }
  html body.page-home.journey-home.network-theme #sourcing.engineering-services.service-portrait.services301 .workshop-card { margin-top:0;min-height:400px; }
          html body.page-equipment.equipment-gallery-page main#home .adoption-layout253 { grid-template-columns:minmax(0,1fr);row-gap:48px; }
}
@media(max-width:800px) {
  html body.materials301.materials303.editorial-site.page-materials.material-library254 .materials-stage313,
  html body.materials301.materials303.editorial-site.page-materials.material-library254 .materials-stage313 .material-category-hero { min-height:540px!important; }
  html body.materials301.materials303.editorial-site.page-materials.material-library254 .materials-stage313 .material-category-hero { padding:128px 0 280px!important; }
  html body.materials301.materials303.editorial-site.page-materials.material-library254 .materials-stage313 .interior-hero-copy { width:100%!important; }
  html body.materials301.materials303.editorial-site.page-materials.material-library254 .materials-stage-scene313 { height:280px; }
}
@media(max-width:700px) {
  :root { --site331-gutter:24px;--site331-section:80px;--site331-columns:40px;--site331-header:74px; }
  html body.page-home.journey-home.network-theme .hero295-home .hero295-inner { padding:260px 0 96px; }
  html body.page-home.journey-home.network-theme .hero295-home .hero295-intro { margin-top:32px; }
  html body.page-home.journey-home.network-theme #about .source-flow-layout252 { gap:56px; }
  html body.page-home.journey-home.network-theme #sourcing.engineering-services.service-portrait.services301 .workshop-heading { margin-bottom:56px; }
  html body.page-home.journey-home.network-theme #sourcing.engineering-services.service-portrait.services301 .workshop-card { min-height:0;padding:40px 28px; }
    html body.page-equipment.equipment-gallery-page main#home .equipment-category { padding:28px 24px!important; }
  html body.materials301.materials303.editorial-site.page-materials.material-library254 #catalog .filter-list { grid-template-columns:repeat(2,minmax(0,1fr));gap:10px; }
  html body.materials301.materials303.editorial-site.page-materials.material-library254 #catalog.catalog-section .catalog-grid { gap:28px!important; }
  html body.materials301.materials303.materials-stage313-ready.editorial-site.page-materials.material-library254 #catalog.catalog-section { padding-top:40px!important; }
  html body.product-interior.page-detail .product-detail { padding-top:120px;padding-bottom:80px; }
  html body.product-interior.page-detail .product-overview { grid-template-columns:minmax(0,1fr);gap:40px;margin-bottom:72px; }
  html body.product-interior.page-detail .detail-section { grid-template-columns:minmax(0,1fr);padding-block:64px;gap:28px;scroll-margin-top:154px; }
  html body.product-interior.page-detail .detail-section:last-child { padding:48px 24px; }
  html body.product-interior .product-jump > .interior-shell { gap:24px; }
  html body.product-interior .product-jump a { font-size:13px; }
  html body footer#contact.footer.footer315[data-footer315][data-footer315-motion] { padding-top:56px!important;padding-bottom:32px!important; }
}
