:root {
  --max: 1380px;
  --gutter: clamp(22px, 4vw, 64px);
}

html,
body,
body.gwri-site {
  width: 100%;
  max-width: none;
  background: #fff;
  box-shadow: none;
}

.site-header,
main,
footer {
  width: 100%;
  max-width: none;
}

.site-header {
  padding-inline: var(--gutter);
}

.site-header .brand img,
.footer-logo {
  filter: none;
}

.site-header .brand {
  width: 210px;
}

.hero-copy {
  margin-left: max(var(--gutter), calc((100vw - var(--max)) / 2));
}

.content-section,
.spec-section,
.form-section,
.partners,
.catalog-section,
.request-layout,
.product-detail,
.commercial-sectors,
.collection-links,
.system-diagram,
.portfolio-section,
.contact-options,
.map-section,
.blog-index,
.partner-contact,
.brand-lockup,
.supplier-strip,
.service-brands {
  max-width: var(--max);
}

.proof,
.link-band,
.source-band,
.related-lines,
.spec-band {
  padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2));
  padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2));
}

.brand-grid {
  display: block !important;
  border: 0 !important;
  border-top: 1px solid var(--line) !important;
  background: transparent !important;
}

.brand-grid .brand-tile {
  display: grid !important;
  grid-template-columns: 220px minmax(280px, 1fr) minmax(190px, auto) !important;
  grid-template-rows: auto auto !important;
  gap: 3px 42px !important;
  align-items: center !important;
  min-height: 126px !important;
  padding: 24px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.brand-grid .brand-tile:hover,
.brand-grid .brand-tile:focus {
  background: #f6f8f6 !important;
}

.brand-grid .brand-tile img {
  grid-column: 1 !important;
  grid-row: 1 / 3 !important;
  width: 190px !important;
  height: 66px !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: left center !important;
}

.brand-grid .brand-tile h3 {
  grid-column: 2 !important;
  grid-row: 1 !important;
  margin: 0 !important;
}

.brand-grid .brand-tile p {
  grid-column: 2 !important;
  grid-row: 2 !important;
  margin: 0 !important;
}

.brand-grid .brand-tile strong {
  grid-column: 3 !important;
  grid-row: 1 / 3 !important;
  margin: 0 !important;
  text-align: right !important;
  white-space: nowrap !important;
}

.product-grid {
  display: block !important;
  border: 0 !important;
  border-top: 1px solid var(--line) !important;
  background: transparent !important;
}

.product-grid .product-card {
  display: grid !important;
  grid-template-columns: minmax(190px, .8fr) minmax(300px, 1.35fr) minmax(150px, .55fr) minmax(220px, .8fr) !important;
  grid-template-rows: 1fr !important;
  gap: 30px !important;
  align-items: center !important;
  min-height: 104px !important;
  padding: 22px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  background: transparent !important;
  box-shadow: none !important;
}

.product-grid .product-card p,
.product-grid .product-card h3,
.product-grid .product-card span,
.product-grid .product-card strong {
  margin: 0 !important;
  min-width: 0 !important;
  white-space: normal !important;
}

.product-grid .product-card p { grid-column: 1 !important; }
.product-grid .product-card h3 { grid-column: 2 !important; font-size: 25px !important; }
.product-grid .product-card span { grid-column: 3 !important; }
.product-grid .product-card strong { grid-column: 4 !important; text-align: right !important; }

.service-brands {
  margin: 0 auto;
  padding: 34px var(--gutter);
  border-bottom: 1px solid var(--line);
}

.service-brands > p {
  margin-bottom: 20px;
}

.service-brands > div {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
}

.service-brands a {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 14px;
  min-width: max-content;
  padding: 8px 0;
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
  font-weight: 800;
}

.service-brands img {
  width: 112px;
  height: 44px;
  object-fit: contain;
}

.service-brands a:hover,
.service-brands a:focus {
  color: var(--green-dark) !important;
  -webkit-text-fill-color: var(--green-dark) !important;
}

.partner-logos a,
.partner-logos > img {
  min-height: 0 !important;
  padding: 18px 4px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--line) !important;
  background: transparent !important;
  transform: none !important;
}

.partner-logos a:hover,
.partner-logos a:focus {
  border-color: var(--green) !important;
}

main .link-band,
main .source-band {
  background: #080b09 !important;
  color: #fff !important;
}

main .link-band h2,
main .link-band p,
main .link-band .link-list a,
main .link-band .link-list a:link,
main .link-band .link-list a:visited,
main .link-band .link-list span,
main .source-band h2,
main .source-band p,
main .source-band a,
main .source-band a:link,
main .source-band a:visited {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}

main .link-band .link-list a:hover,
main .link-band .link-list a:focus,
main .source-band .text-link:hover,
main .source-band .text-link:focus {
  color: #8bea9c !important;
  -webkit-text-fill-color: #8bea9c !important;
}

.embedded-form .form-step-actions .button,
.embedded-form .form-step-actions button[type="submit"] {
  width: auto !important;
  min-width: 280px !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
}

.contact-details > a {
  display: flex !important;
  width: fit-content;
  margin: 12px 0 !important;
  color: var(--green-dark) !important;
  -webkit-text-fill-color: var(--green-dark) !important;
  font-size: clamp(20px, 2vw, 28px) !important;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-socials a {
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
  margin: 0 !important;
  padding: 8px 12px;
  border: 1px solid var(--line);
  color: var(--ink) !important;
  -webkit-text-fill-color: var(--ink) !important;
  font-size: 14px !important;
}

.contact-socials a:hover,
.contact-socials a:focus {
  border-color: var(--green);
  color: var(--green-dark) !important;
  -webkit-text-fill-color: var(--green-dark) !important;
}

.social-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: none;
}

.contact-socials strong {
  font-size: 13px;
}

.portfolio-grid article {
  overflow: hidden;
}

.portfolio-grid article:not(:has(img))::before {
  content: "Project image coming soon";
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  background: var(--paper);
  color: var(--muted);
  font-weight: 800;
}

.project-summary {
  color: var(--muted);
}

.mobile-actions {
  display: none;
}

@media (max-width: 1100px) {
  .site-header nav { gap: 13px; font-size: 13px; }
  .brand-grid .brand-tile { grid-template-columns: 180px minmax(0, 1fr) !important; }
  .brand-grid .brand-tile strong { grid-column: 2 !important; grid-row: 3 !important; text-align: left !important; margin-top: 8px !important; }
  .product-grid .product-card { grid-template-columns: 170px minmax(260px, 1fr) 130px minmax(180px, .7fr) !important; gap: 20px !important; }
}

@media (max-width: 900px) {
  .site-header .brand { width: 184px; }
  .brand-grid .brand-tile { grid-template-columns: 150px minmax(0, 1fr) !important; gap: 4px 24px !important; }
  .brand-grid .brand-tile img { width: 135px !important; }
  .product-grid .product-card { grid-template-columns: 150px minmax(0, 1fr) !important; grid-template-rows: auto auto auto !important; }
  .product-grid .product-card p { grid-column: 1 !important; grid-row: 1 / 4 !important; }
  .product-grid .product-card h3 { grid-column: 2 !important; grid-row: 1 !important; }
  .product-grid .product-card span { grid-column: 2 !important; grid-row: 2 !important; }
  .product-grid .product-card strong { grid-column: 2 !important; grid-row: 3 !important; text-align: left !important; }
}

@media (max-width: 700px) {
  body.gwri-site {
    padding-bottom: 58px;
  }

  .mobile-actions {
    position: fixed;
    z-index: 70;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 58px;
    border-top: 1px solid #31553a;
    background: #080b09;
  }

  .mobile-actions a {
    display: grid;
    place-items: center;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-weight: 850;
  }

  .mobile-actions a + a {
    background: var(--green);
  }

  .mobile-actions a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -4px;
  }
}

@media (max-width: 560px) {
  .brand-grid .brand-tile,
  .product-grid .product-card {
    display: block !important;
    padding: 24px 0 !important;
  }

  .brand-grid .brand-tile img {
    width: 150px !important;
    height: 52px !important;
    margin-bottom: 18px !important;
  }

  .brand-grid .brand-tile h3,
  .brand-grid .brand-tile p,
  .brand-grid .brand-tile strong,
  .product-grid .product-card p,
  .product-grid .product-card h3,
  .product-grid .product-card span,
  .product-grid .product-card strong {
    display: block !important;
    margin-top: 8px !important;
    text-align: left !important;
  }

  .embedded-form .form-step-actions .button,
  .embedded-form .form-step-actions button[type="submit"] {
    width: 100% !important;
    min-width: 0 !important;
  }
}

@media (prefers-color-scheme: dark) {
  html,
  body,
  body.gwri-site,
  main,
  .content-section,
  .catalog-section,
  .product-detail,
  .portfolio-section,
  .blog-index,
  .contact-options,
  .service-brands {
    background: #fff !important;
    color: #162019 !important;
  }

  .brand-grid .brand-tile,
  .product-grid .product-card,
  .partner-logos a,
  .service-brands a,
  .contact-socials a {
    background: transparent !important;
    color: #162019 !important;
    -webkit-text-fill-color: #162019 !important;
  }
}
