/*
Theme Name: Solidheat
Description: Custom theme for Solidheat Industries Pte. Ltd., with Theme Options, products, industries, case studies, services, partners and a knowledgebase.
Version: 4.9.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: solidheat
*/
:root {
  --orange: #ed9420;
  --red: #eb3a2a;
  --ink: #2b2f33;
  --steel: #5b6770;
  --paper: #f7f6f4;
  --navy: #2b2f33;
  --bath: #e4eef1;
  --heading: "Barlow Semi Condensed", Arial, sans-serif;
  --display: "Oswald", Arial, sans-serif;
  --body: "Inter", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; font: 400 18px/1.3 var(--body); color: #222; background: var(--paper); overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3, .eyebrow, .card-eyebrow, .text-link, .cta-button, .cap-link, .main-nav > ul > li > a, .quote-link { text-transform: uppercase; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.skip-link { position: fixed; left: 8px; top: -60px; z-index: 100; padding: 10px 16px; background: #fff; }
.skip-link:focus { top: 8px; }

.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 64px; }
.eyebrow { font: 700 24px/1.2 var(--body); letter-spacing: 4.8px; color: #fff; }
.eyebrow.center { font-size: 20px; letter-spacing: 4px; text-align: center; }
.accent-bar { display: block; width: 104px; height: 10px; margin-bottom: 36px; background: var(--orange); }
.accent-bar.small { width: 44px; height: 5px; margin-bottom: 18px; }
.center-bar { width: 80px; height: 5px; margin: 20px auto 0; }

.dots-bg { background: #fff; }
/* Faint heating-coil waves on navy */
.pegboard {
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='28'%3E%3Cpath d='M0 14c20-16 40-16 60 0s40 16 60 0' fill='none' stroke='%23fff' stroke-opacity='.06' stroke-width='2'/%3E%3C/svg%3E");
}
.text-link {
  display: inline-block;
  padding: 0 6px 6px;
  border-bottom: 2px solid var(--red);
  font: 600 16px/1.2 var(--display);
  letter-spacing: 1.6px;
  color: #d6270a;
}
.text-link span { display: inline-block; margin-left: 8px; transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }

/* Header */
.top-bar { background: var(--navy); color: #fff; font-size: 14px; }
.top-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1440px; min-height: 36px; margin: 0 auto; padding: 0 40px; }
.top-bar a:hover { color: #fff; }
.site-header { position: sticky; top: 0; z-index: 50; height: 84px; background: #fff; border-bottom: 3px solid var(--orange); box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1440px; height: 100%; margin: 0 auto; padding: 0 40px; }
.logo { flex: none; }
.logo img { width: 172px; }
.nav-toggle, .nav-button { display: none; }
.main-nav > ul { display: flex; gap: 8px; }
.main-nav li { position: relative; }
.main-nav > ul > li > a { display: flex; align-items: center; gap: 10px; padding: 14px 8px; font: 600 16px/1.2 var(--body); letter-spacing: .3px; color: var(--ink); transition: color .2s; }
.has-sub::after { content: ""; width: 7px; height: 7px; margin-top: -4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.main-nav > ul > li:hover > a, .main-nav > ul > li:focus-within > a { color: #d6270a; }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 320px;
  padding: 12px 0;
  border-top: 3px solid var(--orange);
  background: var(--navy);
  box-shadow: 0 16px 30px rgba(0,0,0,.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
li:hover > .dropdown, li:focus-within > .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown a { display: block; padding: 10px 20px; font: 500 15px/1.3 var(--body); color: #fff; }
.dropdown a:hover { background: var(--orange); color: #2b2f33; }
.mega { left: -190px; display: grid; grid-template-columns: repeat(4, 240px); width: 960px; padding: 22px 8px; }
.mega a { padding: 7px 14px; font-size: 14.5px; font-weight: 400; color: #d6e0e6; }
.dropdown .mega-head { margin-bottom: 4px; font-weight: 700; color: #fff; }
.quote-link { flex: none; padding: 14px 22px; background: var(--orange); font: 600 16px/1.2 var(--display); letter-spacing: 1.4px; color: #2b2f33; transition: background .2s, color .2s; }
.quote-link:hover { background: #000; color: #fff; }
.contact-row { display: flex; gap: 24px; }
.contact-row a { color: var(--orange); white-space: nowrap; }

/* Hero */
.hero {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  background: var(--navy) url("assets/images/banner-2.jpg") 100% 50% / auto 118% no-repeat;
}
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #2b2f33 0%, #2b2f33 44%, rgba(43,47,51,.74) 58%, rgba(43,47,51,.18) 100%), linear-gradient(180deg, transparent 60%, rgba(43,47,51,.8) 100%); }
.hero-content { position: relative; z-index: 1; max-width: 1440px; margin: 0 auto; padding: 104px 80px 130px; }
.hero h1, .cta h2 { margin: 18px 0 28px; font: 800 60px/1 var(--heading); letter-spacing: -.6px; color: #fff; }
.lead { max-width: 600px; font-size: 20px; line-height: 24px; color: #fff; }
.hero-foot { position: absolute; left: 0; right: 0; bottom: 74px; z-index: 1; display: flex; align-items: center; justify-content: space-between; max-width: 1440px; margin: 0 auto; padding: 0 23px 0 80px; }
.hero-foot .accent-bar { width: 100px; height: 8px; margin: 0; }
.hero-foot h2 { padding-right: 20px; border-right: 9px solid var(--orange); font: 800 32px/1.1 var(--heading); letter-spacing: -.32px; color: #fff; }

/* Products */
.products { padding-bottom: 80px; background: var(--bath); }
.product-more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 16px -24px 0; }
.product-more a { padding: 24px 26px; border-left: 6px solid var(--orange); background: #fff; transition: background .2s; }
.product-more a:hover { background: var(--navy); color: #fff; }
.product-more h3 { font: 600 22px/1.15 var(--display); }
.product-more p { margin-top: 8px; font-size: 16px; line-height: 1.35; }
.product-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: -45px -24px 0; }
.product-card { display: flex; flex-direction: column; background: var(--navy); box-shadow: 0 18px 32px rgba(0,0,0,.35); transition: transform .25s; }
.product-card:hover { transform: translateY(-6px); }
/* Source photos carry a red keyline, so they are cropped just inside it */
.product-photo { display: block; overflow: hidden; background: #fff; }
.product-photo img { width: 100%; transform: scale(1.03); }
.product-card h3 { display: flex; flex: 1; align-items: center; justify-content: center; min-height: 112px; margin: 0 24px 22px; padding-top: 18px; border-bottom: 3px solid var(--orange); font: 500 24px/1.1 var(--display); letter-spacing: .48px; text-align: center; color: #fff; }
.certified { display: grid; grid-template-columns: 220px 1fr; align-items: center; gap: 24px; margin: 64px -40px 0; }
.bar-label, .bar-heading { padding-left: 16px; border-left: 7px solid var(--orange); font: 700 34px/1.1 var(--heading); letter-spacing: -.3px; color: #2b2f33; text-transform: uppercase; }
.cert-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 32px 96px; }
.cert-logos img { width: auto; max-height: 110px; }

/* Industries */
.industries { padding: 112px 0; }
.industries h2 { margin-top: 26px; font: 700 46px/1.2 var(--display); letter-spacing: -.46px; text-align: center; color: #fff; }
.industry-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; margin-top: 72px; }
.industry-grid a { position: relative; display: flex; grid-column: span 2; align-items: flex-end; justify-content: center; aspect-ratio: 4 / 3; overflow: hidden; isolation: isolate; }
.industry-grid a:nth-child(n+4) { grid-column: span 3; aspect-ratio: 16 / 8; }
.industry-grid a::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--img) var(--pos) / var(--size) no-repeat; transition: transform .4s; }
.industry-grid a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.85) 100%); }
.industry-grid a:hover::before { transform: scale(1.06); }
.industry-grid span { display: flex; align-items: center; justify-content: center; width: calc(100% - 48px); min-height: 70px; margin-bottom: 26px; padding-bottom: 14px; border-bottom: 2px solid var(--orange); font: 600 28px/1.15 var(--display); text-align: center; text-transform: uppercase; color: #fff; }

/* Tell us what you need */
.needs { padding: 88px 24px; background: var(--orange); }
.needs .accent-bar { background: var(--navy); }
.needs-inner { display: grid; grid-template-columns: 190px 1fr; gap: 32px; max-width: 1377px; margin: 0 auto; }
.needs-title h2 { font: 700 40px/1.1 var(--heading); letter-spacing: -.4px; color: #2b2f33; }
.need-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.need-card {
  position: relative;
  min-height: 340px;
  padding: 30px;
  color: #fff;
  background-image: radial-gradient(circle, rgba(0,0,0,.1) 2.5px, transparent 2.6px);
  background-size: 14px 14px;
  transition: transform .25s;
}
.need-card:hover { transform: translateY(-5px); }
.need-card::after { content: ""; position: absolute; left: 30px; right: 30px; bottom: 30px; height: 3px; background: currentColor; }
.need-card.red { background-color: #d6270a; }
.need-card.ink { background-color: var(--navy); }
.need-card.white { background: #fff; color: var(--navy); }
.need-card h3 { font: 700 28px/1.1 var(--heading); letter-spacing: -.26px; }
.need-card p { margin-top: 22px; font-size: 20px; line-height: 24px; }
.arrow-box { position: absolute; right: 30px; bottom: 60px; display: grid; place-items: center; width: 58px; height: 58px; border: 1.6px solid currentColor; font-size: 20px; }

/* Stats */
.stats { position: relative; display: flex; align-items: center; justify-content: flex-end; min-height: 450px; background: var(--navy); }
/* Only the photo end of the banner is shown, so its built-in product text stays hidden */
.stats::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: min(55%, 560px); background: linear-gradient(90deg, transparent 55%, #2b2f33 100%), url("assets/images/banner-1.jpg") 100% 50% / auto 125% no-repeat; }
.stats-text { position: relative; padding: 64px 64px; text-align: right; }
.stats-text h3 { font: 800 40.8px/1.1 var(--heading); letter-spacing: -.41px; color: #fff; }
.stats-text .accent { color: var(--orange); }

/* About */
.about { padding: 104px 0; }
.bar-heading { margin-bottom: 40px; font-size: 26px; }
.about-row { display: grid; grid-template-columns: 1.5fr 1fr; gap: 28px; min-height: 480px; }
.about-row + .about-row { margin-top: 28px; }
.about-row.reverse { grid-template-columns: 1fr 1.5fr; }
.about-img { background-size: auto 125%; background-position: 100% 50%; background-repeat: no-repeat; }
.img-plant { background-image: url("assets/images/banner-2.jpg"); }
.img-tech { background-image: url("assets/images/banner-3.jpg"); }
.about-card { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 48px; background: #fff; box-shadow: 0 10px 34px rgba(0,0,0,.14); }
.about-card h3 { margin: 22px 0 16px; font: 800 38px/1.12 var(--heading); letter-spacing: -.4px; color: #2b2f33; }
.about-card p:not(.card-eyebrow) { margin-bottom: 26px; }
.card-eyebrow { display: inline-block; padding-bottom: 6px; border-bottom: 3px solid var(--orange); font: 700 20px/1.2 var(--body); letter-spacing: 4px; color: #2b2f33; }

/* Services */
.capabilities { position: relative; display: flex; align-items: center; min-height: 640px; overflow: hidden; background: var(--navy); }
.cap-bg { position: absolute; inset: 0; background-repeat: no-repeat; background-position: 100% 50%; background-size: auto 122%; opacity: 0; transition: opacity .45s; }
.cap-default, .cap-1 { background-image: url("assets/images/banner-3.jpg"); }
.cap-default { opacity: 1; }
.cap-2 { background-image: url("assets/images/banner-2.jpg"); }
.cap-3 { background-image: url("assets/images/banner-1.jpg"); }
.capabilities:has(.i1:hover, .i1:focus) .cap-1,
.capabilities:has(.i2:hover, .i2:focus) .cap-2,
.capabilities:has(.i3:hover, .i3:focus) .cap-3 { opacity: 1; }
.cap-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #2b2f33 0%, #2b2f33 42%, rgba(43,47,51,.65) 58%, rgba(43,47,51,.1) 100%); }
.cap-content { position: relative; z-index: 1; width: 100%; max-width: 1440px; margin: 0 auto; padding: 80px 64px; }
.cap-content .eyebrow { font-size: 20px; letter-spacing: 4px; }
.cap-list { max-width: 620px; margin: 40px 0 50px; }
.cap-list li { padding: 11px 0; cursor: default; }
.cap-list h3 { font: 700 36px/1.2 var(--heading); color: #fff; transition: color .2s; }
.cap-list p { max-height: 0; overflow: hidden; font-size: 18px; line-height: 1.4; color: #eee; opacity: 0; transition: max-height .35s, opacity .35s, margin .35s; }
.cap-list li:hover h3, .cap-list li:focus h3 { color: var(--orange); }
.cap-list li:hover p, .cap-list li:focus p { max-height: 120px; margin-top: 8px; opacity: 1; }
.cap-link { display: inline-block; padding-bottom: 6px; border-bottom: 2px solid #aaa; font: 600 16px/1.2 var(--display); letter-spacing: 1.6px; color: #ccc; }
.cap-link:hover { border-color: #fff; color: #fff; }

/* Partners */
.partners { padding: 96px 24px; background: var(--bath); }
.partners-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.partners h2 { margin-top: 28px; font: 800 44px/1.1 var(--heading); letter-spacing: -.44px; color: #2b2f33; }
.partner-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; margin-top: 48px; }
.partner-grid li { display: grid; place-items: center; padding: 18px 10px; background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.associates { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 48px; margin-top: 44px; }
.associates img { width: 280px; }

/* CTA */
/* Blog */
.blog { padding: 96px 24px; background: #fff; }
.blog-inner { max-width: 1312px; margin: 0 auto; }
.blog h2 { margin-top: 22px; font: 800 44px/1.1 var(--heading); letter-spacing: -.44px; color: var(--navy); }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.blog-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid #d5dfe4; border-bottom: 5px solid var(--orange); transition: transform .25s, box-shadow .25s; }
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 16px 30px rgba(43,47,51,.18); }
.blog-photo { display: block; aspect-ratio: 16 / 10; background: #fff var(--img) var(--pos) / var(--size) no-repeat; border-bottom: 1px solid #d5dfe4; }
.blog-text { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 24px 26px 26px; }
.blog-tag { margin-bottom: 14px; padding: 5px 10px; background: var(--bath); font: 600 13px/1.2 var(--display); letter-spacing: 1.2px; text-transform: uppercase; color: var(--navy); }
.blog-card h3 { margin-bottom: 20px; font: 700 27px/1.14 var(--heading); color: var(--navy); }
.blog-read { margin-top: auto; font: 600 15px/1.2 var(--display); letter-spacing: 1.4px; text-transform: uppercase; color: #d6270a; }
.blog-more { margin-top: 44px; text-align: center; }

.cta { display: flex; align-items: center; min-height: 500px; background: linear-gradient(90deg, #d6270a 0%, #b81f08 38%, rgba(43,47,51,.86) 72%, rgba(43,47,51,.55) 100%), var(--navy) url("assets/images/banner-1.jpg") 100% 50% / auto 125% no-repeat; }
.cta-content { width: 100%; max-width: 1440px; margin: 0 auto; padding: 64px 80px; }
.cta .eyebrow, .cta h2, .cta .lead { color: #fff; }
.cta h2 { margin: 18px 0 24px; }
.cta-button { display: inline-block; margin-top: 34px; padding: 18px 30px; background: var(--orange); font: 600 18px/1.2 var(--display); letter-spacing: 1.8px; color: #2b2f33; transition: background .2s; }
.cta-button:hover { background: #fff; }

/* Footer */
.site-footer { color: #fff; background: var(--navy); }
.footer-main { display: grid; grid-template-columns: 1fr 1.35fr .8fr; gap: 48px; padding: 88px max(64px, calc((100% - 1297px) / 2)); }
.footer-brand img { width: 210px; }
.footer-brand > p { margin: 18px 0 44px; font-size: 16px; }
.site-footer h2 { font: 700 20px/1.2 var(--heading); letter-spacing: .4px; }
.address { margin: 24px 0 26px; font: 800 28px/1.15 var(--heading); letter-spacing: -.3px; color: var(--orange); text-transform: uppercase; }
.footer-hq p { margin-bottom: 8px; font-size: 17px; }
.footer-hq a { text-decoration: underline; }
.footer-hq span { margin-left: 18px; }
.footer-links ul { margin: 24px 0 44px; }
.footer-links li { margin-bottom: 8px; }
.footer-links li a { font: 700 17px/1.2 var(--heading); letter-spacing: .4px; text-transform: uppercase; }
.footer-links li a:hover { color: var(--orange); }
.site-footer .text-link { border-color: var(--orange); color: var(--orange); }
.footer-bottom { padding: 28px max(64px, calc((100% - 1297px) / 2)); border-top: 1px solid rgba(255,255,255,.2); font-size: 14px; }

@media (max-width: 1280px) {
  .header-inner { gap: 14px; padding: 0 24px; }
  .top-bar-inner { padding: 0 24px; }
  .mega { left: -160px; grid-template-columns: repeat(4, 212px); width: 864px; }
  .logo img { width: 145px; }
  .main-nav > ul { gap: 0; }
  .main-nav > ul > li > a { gap: 6px; padding: 14px 6px; font-size: 14.5px; }
  .quote-link { padding: 12px 16px; font-size: 15px; }
  .about-card { padding: 34px; }
  .about-card h3 { font-size: 32px; }
}

@media (max-width: 1024px) {
  .top-bar p { display: none; }
  .contact-row { justify-content: space-between; width: 100%; }
  .site-header { height: 76px; }
  .logo img { width: 130px; }
  .quote-link { margin-left: auto; margin-right: 52px; padding: 11px 14px; font-size: 14px; }
  .nav-button { position: absolute; right: 24px; display: grid; gap: 6px; width: 32px; }
  .nav-button span { display: block; height: 3px; background: var(--ink); }
  .nav-toggle { position: absolute; right: 24px; z-index: 2; display: block; width: 32px; height: 32px; margin: 0; opacity: 0; cursor: pointer; }
  .main-nav { position: absolute; top: 100%; left: 0; right: 0; z-index: 3; display: none; max-height: calc(100vh - 76px); overflow-y: auto; background: var(--navy); }
  .mega { display: block; width: auto; }
  .mega a { padding: 6px 0; font-size: 15px; }
  .dropdown .mega-head { margin: 8px 0 2px; }
  .mega li > a:not(.mega-head) { padding-left: 12px; }
  .main-nav > ul > li > a { color: #fff; }
  .main-nav > ul > li:hover > a, .main-nav > ul > li:focus-within > a { color: var(--orange); }
  .nav-toggle:checked ~ .main-nav { display: block; }
  .main-nav > ul { display: block; padding: 8px 24px 24px; }
  .has-sub::after { display: none; }
  .main-nav > ul > li > a { padding: 14px 0; font-size: 18px; }
  .dropdown { position: static; width: auto; padding: 0 0 8px 12px; border: 0; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .dropdown a { padding: 7px 0; color: #c9d1d6; }
  .dropdown a:hover { background: none; color: #fff; }

  .container { padding: 0 24px; }
  .hero { background-size: auto 100%; }
  .hero::after { background: linear-gradient(90deg, rgba(43,47,51,.94) 0%, rgba(43,47,51,.76) 60%, rgba(43,47,51,.42) 100%); }
  .product-more { margin: 16px 0 0; }
  .hero-content { padding: 72px 24px 170px; }
  .hero-foot { bottom: 72px; padding: 0 24px; }
  .hero h1, .cta h2 { font-size: 48px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); margin: -45px 0 0; }
  .certified { grid-template-columns: 1fr; margin: 56px 0 0; }
  .cert-logos { justify-content: flex-start; gap: 48px; }
  .industries h2 { font-size: 38px; }
  .industry-grid a, .industry-grid a:nth-child(n+4) { grid-column: span 3; aspect-ratio: 4 / 3; }
  .industry-grid a:last-child { grid-column: span 6; aspect-ratio: 16 / 7; }
  .needs-inner { grid-template-columns: 1fr; }
  .need-cards { grid-template-columns: 1fr; gap: 24px; }
  .need-card { min-height: 270px; }
  .about-row, .about-row.reverse { grid-template-columns: 1fr; min-height: 0; }
  .about-row.reverse .about-img { order: -1; }
  .about-img { min-height: 360px; }
  .capabilities { min-height: 720px; }
  .cap-bg { background-size: auto 100%; }
  .cap-shade { background: linear-gradient(90deg, rgba(43,47,51,.94) 0%, rgba(43,47,51,.76) 60%, rgba(43,47,51,.42) 100%); }
  .cap-content { padding: 72px 24px; }
  .partner-grid { grid-template-columns: repeat(4, 1fr); }
  .blog-grid { gap: 18px; }
  .blog-text { padding: 18px; }
  .blog-card h3 { font-size: 22px; }
  .cta-content { padding: 64px 24px; }
  .footer-main { grid-template-columns: 1fr 1fr; padding: 72px 24px; }
  .footer-hq { order: 3; grid-column: 1 / -1; }
  .footer-bottom { padding: 24px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .eyebrow { font-size: 16px; letter-spacing: 3px; }
  .eyebrow.center { font-size: 16px; }
  .accent-bar { margin-bottom: 24px; }
  .hero { min-height: 0; }
  .hero h1, .cta h2 { font-size: 36px; }
  .hero h1 br, .cta h2 br { display: none; }
  .lead { font-size: 18px; }
  .hero-foot { justify-content: flex-end; }
  .hero-foot .accent-bar { display: none; }
  .hero-foot h2 { font-size: 26px; }
  .product-grid { grid-template-columns: 1fr; }
  .bar-label { font-size: 26px; }
  .industries { padding: 72px 0; }
  .industries h2 { font-size: 30px; }
  .industries h2 br { display: none; }
  .industry-grid { gap: 12px; margin-top: 44px; }
  .industry-grid a, .industry-grid a:nth-child(n+4), .industry-grid a:last-child { grid-column: span 6; aspect-ratio: 16 / 10; }
  .needs { padding: 72px 16px; }
  .needs-title h2 { font-size: 32px; }
  .stats { min-height: 330px; }
  .stats::before { inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.82) 100%), url("assets/images/banner-1.jpg") 100% 50% / auto 125% no-repeat; }
  .stats-text { padding: 40px 18px; }
  .stats-text h3 { font-size: 30px; }
  .about { padding: 72px 0; }
  .about-img { min-height: 260px; }
  .about-card h3 { font-size: 28px; }
  .cap-list h3 { font-size: 28px; }
  .partners { padding: 72px 16px; }
  .partners h2 { font-size: 32px; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .top-bar { font-size: 13px; }
  .top-bar-inner { padding: 0 16px; }
  .header-inner { padding: 0 16px; }
  .logo img { width: 112px; }
  .quote-link { margin-right: 44px; padding: 10px 11px; font-size: 13px; letter-spacing: .8px; }
  .nav-button { right: 16px; }
  .nav-toggle { right: 16px; }
  .blog { padding: 72px 16px; }
  .blog h2 { font-size: 30px; }
  .blog-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .blog-card h3 { font-size: 25px; }
  .blog-text { padding: 20px; }
  .product-more { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 40px; }
  .footer-hq { grid-column: auto; }
  .address { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* WordPress: backgrounds set from Theme Options */
.hero { background: var(--navy) var(--bg) var(--pos) / var(--size) no-repeat; }
.stats::before { background: linear-gradient(90deg, transparent 55%, var(--navy) 100%), var(--bg) var(--pos) / var(--size) no-repeat; }
.cta { background: linear-gradient(90deg, #d6270a 0%, #b81f08 38%, rgba(43,47,51,.86) 72%, rgba(43,47,51,.55) 100%), var(--navy) var(--bg) var(--pos) / var(--size) no-repeat; }

.service-block:target { scroll-margin-top: 110px; }

/* Hover animation across the site */
.text-link { background: linear-gradient(var(--red), var(--red)) bottom / 100% 0 no-repeat; transition: background-size .28s cubic-bezier(.22,1,.36,1), color .25s; }
.text-link:hover, .text-link:focus-visible { background-size: 100% 100%; color: #fff; }
.site-footer .text-link, .svc-head .text-link { background-image: linear-gradient(var(--orange), var(--orange)); }
.site-footer .text-link:hover, .site-footer .text-link:focus-visible, .svc-head .text-link:hover, .svc-head .text-link:focus-visible { color: #2b2f33; }

.quote-link, .quote-link:hover { background: var(--orange) linear-gradient(var(--navy), var(--navy)) left / 0 100% no-repeat; }
.quote-link { transition: background-size .35s cubic-bezier(.22,1,.36,1), color .25s; }
.quote-link:hover, .quote-link:focus-visible { background-size: 100% 100%; color: #fff; }
.cta-button, .cta-button:hover { background: var(--orange) linear-gradient(#fff, #fff) left / 0 100% no-repeat; }
.cta-button { transition: background-size .35s cubic-bezier(.22,1,.36,1); }
.cta-button:hover, .cta-button:focus-visible { background-size: 100% 100%; }
.blog-inner .cta-button, .blog-inner .cta-button:hover { background-image: linear-gradient(var(--navy), var(--navy)); transition: background-size .35s cubic-bezier(.22,1,.36,1), color .25s; }
.blog-inner .cta-button:hover { color: #fff; }

.dropdown a { transition: background-color .2s, color .2s, padding-left .25s cubic-bezier(.22,1,.36,1); }
.dropdown a:hover { padding-left: 28px; }
.has-sub::after { transition: transform .3s cubic-bezier(.22,1,.36,1); }

.product-card { transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s; }
.product-photo img { transition: transform .7s cubic-bezier(.22,1,.36,1); }
.product-card h3 { transition: color .3s, border-color .3s; }
.product-more a { transition: background-color .3s, color .3s, transform .35s cubic-bezier(.22,1,.36,1); }
.industry-grid a::before { transition: transform .9s cubic-bezier(.22,1,.36,1); }
.industry-grid a::after { background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,.85) 100%), linear-gradient(0deg, rgba(214,39,10,.72), rgba(232,105,10,.28)); background-size: 100% 100%, 100% 0; background-position: 0 0, 0 100%; background-repeat: no-repeat; transition: background-size .55s cubic-bezier(.22,1,.36,1); }
.industry-grid span { transition: transform .4s cubic-bezier(.22,1,.36,1), border-color .3s; }
.need-card { transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s; }
.arrow-box { transition: transform .35s cubic-bezier(.22,1,.36,1), background-color .3s, color .3s, border-color .3s; }
.about-img { transition: background-size 1.2s cubic-bezier(.22,1,.36,1); }
.about-card { transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s; }
.partner-grid li { transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s; }
.partner-grid img { transition: transform .35s cubic-bezier(.22,1,.36,1); }
.blog-card { transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s; }
.blog-photo { position: relative; overflow: hidden; background: #fff; }
.blog-photo::before { content: ""; position: absolute; inset: 0; background: var(--img) var(--pos) / var(--size) no-repeat; transition: transform .8s cubic-bezier(.22,1,.36,1); }
.blog-card h3 { transition: color .25s; }
.blog-read { position: relative; padding-bottom: 4px; }
.blog-read::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.22,1,.36,1); }

/* Lifts and zooms only where a real pointer can hover, so they don't stick on touch screens */
@media (hover: hover) and (min-width: 1025px) {
  .main-nav > ul > li > a { position: relative; }
  .main-nav > ul > li > a::before { content: ""; position: absolute; left: 8px; right: 8px; bottom: 6px; height: 2px; background: #d6270a; transform: scaleX(0); transform-origin: left; transition: transform .3s cubic-bezier(.22,1,.36,1); }
  .main-nav > ul > li:hover > a::before, .main-nav > ul > li:focus-within > a::before { transform: scaleX(1); }
  .main-nav > ul > li:hover > .has-sub::after { transform: translateY(4px) rotate(225deg); }
}
@media (hover: hover) {
  .product-card:hover { transform: translateY(-10px); box-shadow: 0 28px 44px rgba(0,0,0,.42); }
  .product-card:hover .product-photo img { transform: scale(1.12); }
  .product-card:hover h3 { color: var(--orange); }
  .product-more a:hover { transform: translateX(6px); }
  .industry-grid a:hover::before { transform: scale(1.1); }
  .industry-grid a:hover::after { background-size: 100% 100%, 100% 100%; }
  .industry-grid a:hover span { transform: translateY(-8px); border-color: #fff; }
  .need-card:hover { transform: translateY(-8px); box-shadow: 0 22px 36px rgba(0,0,0,.28); }
  .need-card:hover .arrow-box { transform: translate(4px, -4px); background: #fff; border-color: #fff; color: var(--navy); }
  .need-card.white:hover .arrow-box { background: var(--orange); border-color: var(--orange); color: #2b2f33; }
  .about-row:hover .about-img { background-size: auto 138%; }
  .about-row:hover .about-card { transform: translateY(-8px); box-shadow: 0 20px 44px rgba(0,0,0,.2); }
  .partner-grid li:hover { transform: translateY(-6px); box-shadow: 0 14px 26px rgba(43,47,51,.2), inset 0 -4px 0 var(--orange); }
  .partner-grid li:hover img { transform: scale(1.08); }
  .blog-card:hover { transform: translateY(-8px); box-shadow: 0 24px 40px rgba(43,47,51,.2); }
  .blog-card:hover .blog-photo::before { transform: scale(1.08); }
  .blog-card:hover h3 { color: #d6270a; }
  .blog-card:hover .blog-read::after { transform: scaleX(1); }
}

/* Phones: centred headings and content, with the longest text shortened */
.lead-short { display: none; }
@media (max-width: 640px) {
  .lead-full { display: none; }
  .lead-short { display: inline; }
  .eyebrow { font-size: 13px; letter-spacing: 1.5px; }
  .eyebrow.center, .svc-head .eyebrow { font-size: 13px; letter-spacing: 1.5px; }

  .hero::after { background: linear-gradient(180deg, rgba(43,47,51,.84) 0%, rgba(43,47,51,.72) 60%, rgba(43,47,51,.92) 100%); }
  .hero-content { padding: 52px 20px 124px; text-align: center; }
  .hero-content .accent-bar { width: 72px; height: 6px; margin: 0 auto 22px; }
  .hero h1 { margin: 14px 0 18px; }
  .lead { margin: 0 auto; }
  .hero-foot { bottom: 62px; justify-content: center; padding: 0 20px; }
  .hero-foot h2 { padding-right: 0; border-right: 0; font-size: 24px; text-align: center; }

  .bar-label, .bar-heading { padding-left: 0; border-left: 0; text-align: center; }
  .product-more a { border-left: 0; border-top: 5px solid var(--orange); text-align: center; }
  .needs-title, .needs-title h2 { text-align: center; }
  .needs-title .accent-bar { margin-right: auto; margin-left: auto; }
  .need-card { min-height: 250px; padding-bottom: 104px; text-align: center; }
  .need-card p { margin-top: 14px; font-size: 17px; line-height: 1.35; }
  .arrow-box { right: calc(50% - 24px); bottom: 42px; width: 48px; height: 48px; }
  .stats-text { width: 100%; padding: 40px 20px; text-align: center; }
  .stats-text h3 { font-size: 32px; }
  .stats::before { width: 100%; }
  .about-card { align-items: center; padding: 32px 22px; text-align: center; }
  .about-card h3 { font-size: 30px; }
  .card-eyebrow { font-size: 15px; letter-spacing: 2.5px; }
  .svc-head { align-items: center; text-align: center; }
  .svc-panel { min-height: 210px; gap: 20px; text-align: center; }
  .svc-num { font-size: 44px; }
  .svc-text { font-size: 16px; }
  .blog-text { align-items: center; text-align: center; }
  .cta { text-align: center; }
  .cta-content { padding: 52px 20px; }
  .cta-button { margin-top: 18px; }
  .page-head-inner { text-align: center; }
  .page-head .accent-bar { margin-right: auto; margin-left: auto; }

  .footer-tile, .footer-main, .footer-bottom { text-align: center; }
  .footer-brand img { margin: 0 auto; }
  .footer-main { gap: 36px; padding: 44px 20px; }
  .footer-products { display: none; }
  .footer-col ul { margin: 16px 0 22px; }
  .footer-col li a:hover, .footer-col li a:focus-visible { padding-left: 0; }
  .footer-col li a::before { display: none; }
  .footer-bottom { flex-direction: column; justify-content: center; }
}

/* WordPress: wide Products panel in a menu built under Appearance > Menus */
.main-nav > ul > .has-mega > .dropdown { display: grid; }
.has-mega > .dropdown > li > a { padding: 7px 14px; font-weight: 700; color: #fff; }
.has-mega .dropdown .sub-menu { padding: 0 0 8px; }
.has-mega .dropdown .sub-menu a { padding: 6px 14px; font-size: 14.5px; font-weight: 400; color: #d6e0e6; }

/* WordPress: logged-in admin bar and footer menu */
.admin-bar .site-header { top: 32px; }
.footer-links ul.menu, .footer-links ul:not([class]) { margin: 24px 0 44px; }
.partner-grid img { width: auto; max-height: 51px; }

/* WordPress: inner pages */
.page-head { background: var(--navy); color: #fff; }
.page-head-inner { max-width: 1312px; margin: 0 auto; padding: 72px 24px; }
.page-head .accent-bar { margin-bottom: 24px; }
.page-head h1 { font: 800 52px/1.05 var(--heading); letter-spacing: -.5px; }
.page-date, .page-intro { max-width: 760px; margin-top: 14px; font-size: 18px; }
.page-intro p { margin: 0; }

.card-text { margin: -8px 0 18px; font-size: 16px; line-height: 1.35; color: #5b6770; }
.blog-grid + .blog-grid { margin-top: 28px; }
.section-gap { margin-top: 64px; }
.entry { max-width: 860px; margin: 0 auto; padding: 64px 24px 88px; }
.entry-image { margin-bottom: 36px; background: #fff; }
.entry-image img { display: block; margin: 0 auto; max-height: 460px; width: auto; }
.entry-content { font-size: 18px; line-height: 1.6; }
.entry-content > * { margin-top: 0; margin-bottom: 22px; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 36px; font-family: var(--heading); font-weight: 800; line-height: 1.15; color: var(--navy); }
.entry-content h2 { font-size: 36px; }
.entry-content h3 { font-size: 28px; }
.entry-content h4 { font-size: 22px; }
.entry-content p a:not(.text-link):not(.cta-button), .entry-content li a { color: #d6270a; text-decoration: underline; }
.entry-content ul { padding-left: 24px; list-style: disc; }
.entry-content ol { padding-left: 24px; list-style: decimal; }
.entry-content img { max-width: 100%; height: auto; }
.entry-content blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 5px solid var(--orange); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: 10px 12px; border: 1px solid #d5dfe4; text-align: left; }
.entry-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 32px; }
.entry-actions .cta-button { margin-top: 0; }
.blog-inner .cta-button { margin-top: 8px; }
.service-block { padding: 8px 0 12px; border-top: 3px solid var(--orange); }
.service-block:first-child { padding-top: 0; }
.kb-heading { margin: 40px 0 18px; font: 800 34px/1.1 var(--heading); color: var(--navy); }
.kb-item { margin-bottom: 10px; border: 1px solid #d5dfe4; background: #fff; }
.kb-item summary { padding: 16px 20px; font-weight: 700; cursor: pointer; }
.kb-item .entry-content { padding: 0 20px 6px; }
.aligncenter { display: block; margin-right: auto; margin-left: auto; }
.alignleft { float: left; margin: 6px 24px 16px 0; }
.alignright { float: right; margin: 6px 0 16px 24px; }
.wp-caption-text, figcaption { font-size: 14px; color: #5b6770; }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 44px; }
.page-numbers { display: inline-block; padding: 8px 14px; border: 1px solid #d5dfe4; color: var(--navy); }
.page-numbers.current { background: var(--navy); color: #fff; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.empty-note { margin-bottom: 20px; }
.search-form { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.search-field { min-width: 240px; padding: 11px 12px; border: 1px solid #9fb2bc; font: inherit; }
.search-submit { padding: 11px 20px; border: 0; background: var(--orange); font: 600 16px/1.2 var(--display); color: #2b2f33; cursor: pointer; }

.main-nav > ul > li:nth-last-child(-n+2) > .dropdown { right: 0; left: auto; }

@media (max-width: 1024px) {
  .hero { background-size: cover; background-position: 100% 50%; }
  .main-nav > ul > .has-mega > .dropdown { display: block; width: auto; padding: 0 0 8px 12px; }
  .has-mega > .dropdown > li > a { padding: 8px 0 2px; }
  .has-mega .dropdown .sub-menu { padding: 0 0 6px 12px; }
  .has-mega .dropdown .sub-menu a { padding: 6px 0; font-size: 15px; }
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

@media (max-width: 640px) {
  .stats::before { background: linear-gradient(90deg, rgba(43,47,51,.2) 0%, rgba(43,47,51,.85) 100%), var(--bg) var(--pos) / var(--size) no-repeat; }
  .page-head-inner { padding: 52px 16px; }
  .page-head h1 { font-size: 36px; }
  .entry { padding: 44px 16px 64px; }
  .entry-actions { align-items: flex-start; flex-direction: column; }
}

/* Mobile menu: slides in from the right; each sub-menu slides over it, with a Back button */
.main-nav:not(.has-drill) .sub-toggle, .main-nav:not(.has-drill) .view-all, .main-nav:not(.has-drill) .drill-back { display: none; }
@media (max-width: 1024px) {
  .nav-button span { transition: transform .3s cubic-bezier(.22,1,.36,1), opacity .2s; }
  .nav-toggle:checked + .nav-button span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .nav-toggle:checked + .nav-button span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked + .nav-button span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  body.menu-open { overflow: hidden; }
  .main-nav.has-drill, .nav-toggle:checked ~ .main-nav.has-drill { position: fixed; top: var(--nav-top, 64px); right: 0; bottom: 0; left: 0; display: block; max-height: none; overflow: hidden; background: var(--navy); }
  .main-nav.has-drill { visibility: hidden; transform: translateX(100%); transition: transform .35s cubic-bezier(.22,1,.36,1), visibility .35s; }
  .nav-toggle:checked ~ .main-nav.has-drill { visibility: visible; transform: none; }
  .main-nav.has-drill ul { position: absolute; inset: 0; display: block; width: auto; margin: 0; padding: 4px 20px 24px !important; overflow-y: auto; border: 0; background: var(--navy); box-shadow: none; opacity: 1; -webkit-overflow-scrolling: touch; }
  .main-nav.has-drill ul.has-open-child { overflow: hidden; }
  .main-nav.has-drill li { position: static; display: grid; grid-template-columns: 1fr 52px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.14); }
  .main-nav.has-drill li:not(:has(> ul)) > a { grid-column: 1 / -1; }
  .main-nav.has-drill li > a, .main-nav.has-drill li li > a { min-height: 52px; padding: 16px 0; font: 600 17px/1.25 var(--body); letter-spacing: .3px; color: #fff; }
  .main-nav.has-drill li li > a { text-transform: none; }
  .main-nav.has-drill .dropdown a:hover { padding-left: 0; background: none; color: var(--orange); }
  .main-nav.has-drill li > ul { transform: translateX(100%); visibility: hidden; transition: transform .35s cubic-bezier(.22,1,.36,1), visibility .35s; }
  .main-nav.has-drill li.is-open > ul { transform: none; visibility: visible; }
  .main-nav.has-drill .view-all > a { color: var(--orange); }
  .main-nav.has-drill li.nav-foot { display: block; border-bottom: 0; }
  .main-nav.has-drill li.nav-foot a { display: block; color: var(--orange); }
  .main-nav.has-drill li.drill-back { display: block; margin: 0 -20px 4px; border-bottom: 3px solid var(--orange); background: color-mix(in srgb, var(--navy) 80%, #000); }
  .drill-back button { position: relative; display: block; width: 100%; min-height: 54px; padding: 14px 20px 14px 46px; border: 0; background: none; font: 700 17px/1.25 var(--body); letter-spacing: .3px; text-align: left; text-transform: uppercase; color: var(--orange); cursor: pointer; }
  .drill-back button::before { content: ""; position: absolute; top: 50%; left: 24px; width: 10px; height: 10px; margin-top: -5px; border-bottom: 2px solid currentColor; border-left: 2px solid currentColor; transform: rotate(45deg); }
  .drill-back button:focus-visible, .sub-toggle:focus-visible { outline-offset: -4px; }
  .sub-toggle { position: relative; width: 52px; height: 52px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; }
  .sub-toggle::before { content: ""; position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; margin: -5px 0 0 -7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); }
  .main-nav.has-drill li:hover > .sub-toggle { color: var(--orange); }
}
@media (prefers-reduced-motion: reduce) {
  .main-nav.has-drill, .main-nav.has-drill li > ul { transition: none; }
}
@media (max-width: 640px) {
  .industry-grid li:first-child a::before { background-size: auto 165%; }
}

/* First HTML design, with the brochure colours */
:root { --red: #d6270a; --bath: #f7f6f4; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}
.hero-content { padding-bottom: 150px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 30px; }
.hero-actions .cta-button { margin-top: 0; }
.hero-call { font-weight: 600; color: #fff; }
.hero-call:hover { color: var(--orange); }
.hero-foot h2 a:hover { color: var(--orange); }
.hero, .cta, .stats, .services-line, .industries, .products, .blog, .partners, .about { scroll-margin-top: 90px; }

.product-card h3 { flex: none; min-height: 96px; margin-bottom: 14px; }
.product-card p { flex: 1; margin: 0 24px 22px; font-size: 15px; line-height: 1.4; color: #f7f6f4; }

.cert-logos img { max-height: 92px; }

.industries h2 { margin-top: 0; }
.industries-intro { max-width: 720px; margin: 16px auto 0; font-size: 18px; line-height: 1.45; text-align: center; color: #f7f6f4; }
.industry-grid span { flex-direction: column; gap: 6px; min-height: 96px; }
.industry-grid b { font-weight: 600; }
.industry-grid small { font: 400 15px/1.3 var(--body); text-transform: none; color: #eceff1; }
.industries-more { margin-top: 36px; text-align: center; }
.industries .text-link { border-color: var(--orange); color: #fff; background-image: linear-gradient(var(--orange), var(--orange)); }
.industries .text-link:hover, .industries .text-link:focus-visible { color: #2b2f33; }

.needs-inner { grid-template-columns: 230px 1fr; }
.needs-title p { margin-top: 14px; font-size: 17px; line-height: 1.35; color: #2b2f33; }
.need-card { padding-bottom: 86px; }
.need-link { display: block; margin-top: 16px; font: 600 16px/1.2 var(--display); letter-spacing: 1px; text-transform: uppercase; }
.product-more .need-link { margin-top: 10px; font-size: 15px; color: var(--orange); }

.stats-text h3 { max-width: 760px; }

.max-steps { margin: 16px 0 14px; padding: 0; list-style: none; counter-reset: step; }
.max-steps li { position: relative; margin-bottom: 9px; padding-left: 34px; font-size: 15px; line-height: 1.35; counter-increment: step; }
.max-steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0; font: 800 17px/1.2 var(--heading); color: var(--orange); }
.max-steps strong { display: block; font: 700 18px/1.15 var(--heading); color: #2b2f33; }
.about-card p.max-close { margin-bottom: 16px; font-weight: 600; line-height: 1.35; color: #2b2f33; }

.partners-intro { max-width: 860px; margin: 16px auto 0; font-size: 17px; line-height: 1.45; }
.partner-grid { grid-template-columns: repeat(12, 1fr); }
.partner-grid li { grid-column: span 2; min-height: 92px; }
.partner-grid li:nth-child(7) { grid-column: 2 / span 2; }
.partner-grid img { max-width: 100%; height: auto; object-fit: contain; }
.partners-network { max-width: 860px; margin: 28px auto 0; font-size: 16px; line-height: 1.45; }
.partners-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; margin-top: 22px; }

.resources { padding: 96px 24px 0; background: #fff; }
.resources h2 { margin-top: 22px; font: 800 44px/1.1 var(--heading); letter-spacing: -.44px; color: var(--navy); }
.resources-intro { margin: 14px 0 28px; font-size: 17px; }
.resources .product-more { margin: 0; }
.resources .product-more a { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.cta .lead a { font-weight: 700; color: #fff; text-decoration: underline; }

/* Services: photo panels. Hovering heats a panel up from cold steel to full colour. */
.services-line { padding-top: 96px; background: var(--navy); color: #fff; }
.svc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; max-width: 1440px; margin: 0 auto 48px; padding: 0 64px; }
.svc-head .eyebrow { font-size: 20px; letter-spacing: 4px; }
.svc-head h2 { margin-top: 16px; font: 800 48px/1.05 var(--heading); letter-spacing: -.48px; }
.svc-intro { max-width: 760px; margin-top: 14px; font-size: 18px; line-height: 1.45; color: #f7f6f4; }
.svc-actions { display: flex; flex: none; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.svc-actions .cta-button { margin-top: 0; }
.svc-head .text-link { flex: none; border-color: var(--orange); color: #fff; background-image: linear-gradient(var(--orange), var(--orange)); }
.svc-head .text-link:hover, .svc-head .text-link:focus-visible { color: #2b2f33; }
.svc-list { display: flex; min-height: 520px; border-top: 1px solid rgba(255,255,255,.14); }
.svc-panel { position: relative; display: flex; flex: 1 1 0; flex-direction: column; justify-content: space-between; min-width: 0; padding: 26px 26px 36px; overflow: hidden; isolation: isolate; color: #fff; transition: flex-grow .7s cubic-bezier(.22,1,.36,1); }
li + li > .svc-panel { border-left: 1px solid rgba(255,255,255,.14); }
.svc-panel:focus-visible { outline-offset: -5px; }
.svc-photo { position: absolute; inset: 0; z-index: -2; background-repeat: no-repeat; background-size: auto 122%; filter: grayscale(1) brightness(.5); transition: filter .7s, transform 1.4s cubic-bezier(.22,1,.36,1); }
.svc-panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(43,47,51,.72) 0%, rgba(43,47,51,.2) 38%, rgba(43,47,51,.92) 100%); }
.svc-panel::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 7px; background: linear-gradient(90deg, var(--orange), var(--red)); transform: scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.22,1,.36,1); }
.svc-num { font: 800 76px/1 var(--heading); color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.55); transition: color .45s, -webkit-text-stroke-color .45s; }
.svc-panel h3 { font: 800 clamp(27px, 2.7vw, 40px)/1.05 var(--heading); letter-spacing: -.3px; }
.svc-text { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .55s cubic-bezier(.22,1,.36,1), opacity .35s; }
.svc-text > span { display: block; width: 360px; min-height: 0; overflow: hidden; font-size: 18px; line-height: 1.4; }
:is(.svc-panel:hover, .svc-panel:focus-visible, .svc-list:not(:hover):not(:focus-within) li:first-child .svc-panel) { flex-grow: 2.2; }
:is(.svc-panel:hover, .svc-panel:focus-visible, .svc-list:not(:hover):not(:focus-within) li:first-child .svc-panel) .svc-photo { filter: none; transform: scale(1.06); }
:is(.svc-panel:hover, .svc-panel:focus-visible, .svc-list:not(:hover):not(:focus-within) li:first-child .svc-panel)::after { transform: scaleX(1); }
:is(.svc-panel:hover, .svc-panel:focus-visible, .svc-list:not(:hover):not(:focus-within) li:first-child .svc-panel) .svc-num { color: var(--orange); -webkit-text-stroke-color: var(--orange); }
:is(.svc-panel:hover, .svc-panel:focus-visible, .svc-list:not(:hover):not(:focus-within) li:first-child .svc-panel) .svc-text { grid-template-rows: 1fr; margin-top: 12px; opacity: 1; }

/* Compact footer */
.site-footer { background: color-mix(in srgb, var(--navy) 82%, #000); }
.footer-contact { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--navy); border-bottom: 1px solid rgba(255,255,255,.14); }
.footer-tile { position: relative; padding: 26px 40px 24px; overflow: hidden; isolation: isolate; transition: color .3s; }
.footer-tile + .footer-tile { border-left: 1px solid rgba(255,255,255,.14); }
.footer-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--orange), var(--red)); transform: scaleY(0); transform-origin: bottom; transition: transform .45s cubic-bezier(.22,1,.36,1); }
.footer-tile:hover::before, .footer-tile:focus-within::before { transform: scaleY(1); }
.footer-tile:hover, .footer-tile:focus-within { color: #fff; }
.tile-label { margin-bottom: 8px; font-size: 14px; color: var(--orange); transition: color .3s; }
.footer-tile:hover .tile-label, .footer-tile:focus-within .tile-label { color: #fff; }
.tile-main { display: block; font: 800 28px/1.1 var(--heading); letter-spacing: -.2px; overflow-wrap: anywhere; }
.tile-address { display: block; font: 700 19px/1.2 var(--heading); }
.tile-address address { font-style: normal; }
.tile-stretch::after { content: ""; position: absolute; inset: 0; }
.tile-note { margin-top: 6px; font-size: 14px; }
.tile-note a { text-decoration: underline; overflow-wrap: anywhere; }
.footer-main { grid-template-columns: 1.1fr 1.2fr 1fr .8fr; gap: 40px; padding: 40px max(48px, calc((100% - 1344px) / 2)) 28px; }
.footer-brand img { width: 160px; }
.footer-brand > p { margin: 10px 0 14px; font-size: 15px; line-height: 1.4; }
.footer-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.footer-brand .footer-badges img { width: auto; height: 40px; padding: 3px; background: #fff; }
.footer-linkedin { display: grid; place-items: center; width: 40px; height: 40px; background: #fff; font: 800 19px/1 var(--body); color: #0a66c2; }
.site-footer h2 { font: 800 20px/1.2 var(--heading); letter-spacing: 0; color: #fff; }
.footer-col ul { margin: 12px 0 14px; }
.footer-col li { margin-bottom: 5px; }
.footer-col li a { position: relative; display: inline-block; font: 500 15px/1.3 var(--body); color: #f7f6f4; transition: color .25s, padding-left .3s cubic-bezier(.22,1,.36,1); }
.footer-col li a::before { content: ""; position: absolute; left: 0; top: .65em; width: 0; height: 2px; background: var(--orange); transition: width .3s cubic-bezier(.22,1,.36,1); }
.footer-col li a:hover, .footer-col li a:focus-visible { padding-left: 24px; color: var(--orange); }
.footer-col li a:hover::before, .footer-col li a:focus-visible::before { width: 16px; }
/* Only the top of the large word shows; it fills with heat from left to right on hover */
.footer-mark { height: clamp(36px, 10vw, 150px); padding: 0 max(24px, calc((100% - 1344px) / 2)); overflow: hidden; text-align: center; white-space: nowrap; }
.footer-mark span { display: inline-block; padding: 0 .04em; background: linear-gradient(90deg, var(--orange), var(--red)) left / 0 100% no-repeat; -webkit-background-clip: text; background-clip: text; font: 800 clamp(64px, 20.4vw, 318px)/.9 var(--heading); letter-spacing: -.01em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.2); transition: background-size 1.3s cubic-bezier(.22,1,.36,1), -webkit-text-stroke-color .6s; }
.footer-mark:hover span { background-size: 100% 100%; -webkit-text-stroke-color: transparent; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 28px; padding: 16px max(48px, calc((100% - 1344px) / 2)); border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; }
.footer-bottom a:hover { color: var(--orange); }
.to-top { font-weight: 600; color: #fff; transition: color .25s; }
.to-top span { display: inline-block; margin-left: 6px; transition: transform .3s cubic-bezier(.22,1,.36,1); }
.to-top:hover span { transform: translateY(-5px); }

/* Top bar, menu and Products panel */
.contact-row a:last-child { color: #fff; }
.call-icon { display: none; }
.nav-line { display: block; margin-top: 3px; font-size: 13.5px; font-weight: 400; line-height: 1.3; color: #c9d1d6; }
.dropdown a:hover .nav-line { color: inherit; }
.nav-foot { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.main-nav .nav-foot a { font-weight: 600; }
@media (min-width: 1024.01px) {
  .main-nav > ul > .has-mega > .dropdown { left: -170px; grid-template-columns: repeat(3, 1fr); width: 880px; padding: 16px 8px 8px; }
  .has-mega > .dropdown > li > a { padding: 12px 14px; }
  .nav-foot { grid-column: 1 / -1; margin-top: 8px; padding-top: 6px; border-top: 1px solid rgba(255,255,255,.16); }
}
@media (min-width: 1024.01px) and (max-width: 1199px) {
  .main-nav > ul > .has-mega > .dropdown { left: -240px; width: 820px; }
  .main-nav > ul > li > a { padding-right: 4px; padding-left: 4px; font-size: 14px; }
  .logo img { width: 130px; }
}
@media (max-width: 1024px) {
  .nav-line { display: none; }
  .header-inner { gap: 10px; padding-right: 66px; }
  .quote-link { order: 1; margin-right: 0; margin-left: auto; }
  .call-icon { display: grid; order: 2; flex: none; place-items: center; width: 44px; height: 44px; border: 2px solid var(--navy); color: var(--navy); }
  .call-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .nav-toggle, .nav-button { right: 20px; }
  .partner-grid { grid-template-columns: repeat(4, 1fr); }
  .partner-grid li, .partner-grid li:nth-child(7) { grid-column: auto; }
}

/* Sliders: Splide runs on phones only; on larger screens the same markup stays a normal grid */
.splide.sh-slider { visibility: visible; }
.industries .sh-slider { margin-top: 56px; }
.blog .sh-slider { margin-top: 44px; }
.splide__list { list-style: none; }
@media (min-width: 640.01px) {
  .sh-slider .splide__slide { display: contents; }
  .sh-slider .splide__track { overflow: visible; }
  .sh-slider .industry-grid, .sh-slider .blog-grid { display: grid; margin-top: 0; }
  .sh-slider .svc-list { display: flex; }
}
@media (min-width: 1024.01px) {
  .industry-grid li:nth-child(n+4) a { grid-column: span 3; aspect-ratio: 16 / 8; }
}
@media (min-width: 640.01px) and (max-width: 1024px) {
  .industry-grid li:last-child a { grid-column: span 6; aspect-ratio: 16 / 7; }
}
.sh-slider .splide__pagination { gap: 8px; margin-top: 18px; padding: 0; }
.sh-slider .splide__pagination__page { display: block; width: 26px; height: 24px; padding: 10px 0; border: 0; background: #b9c8d0; background-clip: content-box; cursor: pointer; transition: width .35s cubic-bezier(.22,1,.36,1), background-color .3s; }
.sh-slider .splide__pagination__page.is-active { width: 42px; background-color: var(--orange); }

@media (max-width: 1100px) {
  .svc-head { flex-direction: column; align-items: flex-start; padding: 0 24px; }
  .svc-head h2 { font-size: 38px; }
  .svc-list { flex-direction: column; min-height: 0; }
  .svc-panel { min-height: 250px; gap: 36px; padding: 22px 24px 30px; }
  li + li > .svc-panel { border-top: 1px solid rgba(255,255,255,.14); border-left: 0; }
  .svc-panel::after { transform: scaleX(1); }
  .svc-photo { filter: none; background-size: cover; }
  .svc-num { font-size: 56px; color: var(--orange); -webkit-text-stroke-color: var(--orange); }
  .svc-panel h3 { font-size: 34px; }
  .svc-text { grid-template-rows: 1fr; margin-top: 10px; opacity: 1; }
  .svc-text > span { width: auto; max-width: 620px; }
  .footer-contact { grid-template-columns: 1fr; }
  .footer-tile { padding: 22px 24px; }
  .footer-tile + .footer-tile { border-top: 1px solid rgba(255,255,255,.14); border-left: 0; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px; padding: 32px 24px 24px; }
  .footer-mark { padding: 0; }
  .footer-bottom { padding: 16px 24px; }
  .needs-inner { grid-template-columns: 1fr; }
}

/* Phones: centred text, sliders, side-by-side logos and the tightest footer */
@media (max-width: 640px) {
  .logo img { width: 104px; }
  .site-header { height: 64px; }
  .header-inner { gap: 8px; padding: 0 56px 0 12px; }
  .quote-link { padding: 11px 9px; font-size: 13px; letter-spacing: .5px; white-space: nowrap; }
  .nav-toggle, .nav-button { right: 12px; }
  .call-icon { width: 40px; height: 40px; }
  .hero::after { background: linear-gradient(180deg, rgba(43,47,51,.86), rgba(43,47,51,.76) 60%, rgba(43,47,51,.94)); }
  .hero-actions { justify-content: center; }
  .svc-head { align-items: center; text-align: center; }
  .svc-head .eyebrow { font-size: 13px; letter-spacing: 1.5px; }
  .svc-head h2 { font-size: 32px; }
  .svc-actions { justify-content: center; }
  .services-line { padding-top: 56px; padding-bottom: 28px; }
  .services-line .splide__pagination { padding-top: 0; }
  .svc-panel { height: 100%; min-height: 340px; gap: 18px; text-align: center; }
  .svc-num { font-size: 44px; }
  .svc-text { font-size: 16px; }

  .sh-slider .splide__list { display: flex; flex-direction: row; gap: 0; min-height: 0; margin: 0; border-top: 0; }
  .sh-slider:not(.is-initialized) .splide__track { overflow-x: auto; }
  .sh-slider:not(.is-initialized) .splide__slide { width: 86%; margin-right: 12px; }
  .industries, .blog { overflow: hidden; }
  .industries .sh-slider { margin: 36px -24px 0; }
  .blog .sh-slider { margin: 32px -24px 0; }
  .sh-slider .industry-grid a, .sh-slider .industry-grid li:last-child a { display: flex; height: 100%; aspect-ratio: 4 / 3; }
  .industry-grid span { width: calc(100% - 28px); min-height: 0; margin-bottom: 16px; font-size: 22px; }
  .industry-grid small { font-size: 14px; }
  .blog-card { height: 100%; }
  .product-card h3 { min-height: 0; }
  .partner-grid { grid-template-columns: repeat(2, 1fr); }
  .max-steps { text-align: left; }
  .resources { padding: 56px 24px 0; text-align: center; }
  .resources h2 { font-size: 34px; }

  .certified { justify-items: center; margin: 44px 0 0; }
  .cert-logos { flex-wrap: nowrap; justify-content: center; gap: 14px; width: 100%; }
  .cert-logos img { min-width: 0; max-width: calc(33% - 10px); max-height: 84px; height: auto; object-fit: contain; }

  .cta { min-height: 0; text-align: center; background: linear-gradient(180deg, rgba(214,39,10,.95) 0%, rgba(43,47,51,.9) 100%), var(--navy) var(--bg) 100% 50% / cover no-repeat; }
  .cta .lead { display: block; }
  .cta h2 { margin: 12px 0 12px; }

  .footer-tile, .footer-main, .footer-bottom { text-align: center; }
  .footer-tile { padding: 16px 20px; }
  .tile-main { font-size: 24px; }
  .tile-address { font-size: 17px; }
  .footer-main { grid-template-columns: 1fr; gap: 20px; padding: 24px 20px 18px; }
  .footer-brand img { width: 130px; margin: 0 auto; }
  .footer-brand > p { margin: 8px 0 12px; font-size: 14px; }
  .footer-badges { justify-content: center; }
  .footer-col ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 18px; margin: 8px 0 10px; }
  .footer-col li { margin: 0; }
  .footer-col li a:hover, .footer-col li a:focus-visible { padding-left: 0; }
  .footer-col li a::before { display: none; }
  .footer-bottom { flex-direction: column; justify-content: center; gap: 6px; padding: 12px 20px; }
}
@media (max-width: 360px) {
  .logo img { width: 82px; }
  .header-inner { gap: 6px; padding: 0 50px 0 8px; }
  .quote-link { padding: 10px 6px; font-size: 12px; }
  .call-icon { width: 36px; height: 36px; }
  .nav-toggle, .nav-button { right: 8px; }
}

/* Phones: top bar wraps instead of overflowing; facts stay readable over the photo */
@media (max-width: 640px) {
  .top-bar p { display: none; }
  .top-bar-inner { justify-content: center; padding: 6px 12px; }
  .contact-row { flex-wrap: wrap; justify-content: center; gap: 2px 14px; font-size: 13px; }
  .stats::before { background: linear-gradient(180deg, rgba(43,47,51,.86), rgba(43,47,51,.86)), var(--bg) var(--pos) / var(--size) no-repeat; }
  .stats-text h3 { font-size: 28px; }
}

/* Industries: card slider at every screen size */
.splide.sh-carousel { position: relative; visibility: visible; margin-top: 44px; }
.sh-carousel .splide__track { padding-top: 10px; padding-bottom: 14px; }
.sh-carousel:not(.is-initialized) .splide__track { overflow-x: auto; }
.sh-carousel:not(.is-initialized) .splide__slide { width: 31%; margin-right: 24px; }
.sh-carousel .splide__slide { height: auto; }
.ind-card { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: #fff; border-bottom: 5px solid var(--orange); color: var(--navy); transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s; }
.ind-photo { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy); }
.ind-photo::before { content: ""; display: block; width: 100%; height: 100%; background: var(--img) var(--pos) / var(--size) no-repeat; transition: transform .9s cubic-bezier(.22,1,.36,1); }
.ind-body { position: relative; display: flex; flex: 1; flex-direction: column; padding: 22px 56px 24px 24px; }
.ind-body h3 { font: 700 26px/1.12 var(--heading); letter-spacing: -.2px; color: var(--navy); transition: color .25s; }
.ind-text { margin-top: 10px; font-size: 16px; line-height: 1.4; color: #5b6770; }
.ind-arrow { position: absolute; right: 22px; bottom: 22px; font-size: 22px; font-style: normal; font-weight: 700; line-height: 1; color: var(--orange); transition: transform .3s cubic-bezier(.22,1,.36,1); }
.sh-carousel .splide__arrow { position: absolute; top: 38%; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; background: var(--orange); cursor: pointer; transition: background-color .25s, transform .25s; }
.sh-carousel .splide__arrow svg { width: 18px; height: 18px; fill: #000; transition: fill .25s; }
.sh-carousel .splide__arrow--prev { left: -24px; }
.sh-carousel .splide__arrow--prev svg { transform: scaleX(-1); }
.sh-carousel .splide__arrow--next { right: -24px; }
.sh-carousel .splide__arrow:hover { background: #fff; }
.sh-carousel .splide__pagination { gap: 8px; margin-top: 12px; padding: 0; }
.sh-carousel .splide__pagination__page { display: block; width: 26px; height: 24px; padding: 10px 0; border: 0; background: rgba(255,255,255,.4); background-clip: content-box; cursor: pointer; transition: width .35s cubic-bezier(.22,1,.36,1), background-color .3s; }
.sh-carousel .splide__pagination__page.is-active { width: 42px; background-color: var(--orange); }
@media (hover: hover) {
  .ind-card:hover { transform: translateY(-6px); box-shadow: 0 18px 30px rgba(0,0,0,.35); }
  .ind-card:hover .ind-photo::before { transform: scale(1.08); }
  .ind-card:hover h3 { color: var(--orange); }
  .ind-card:hover .ind-arrow { transform: translateX(5px); }
}
@media (max-width: 1100px) {
  .sh-carousel .splide__arrow--prev { left: -10px; }
  .sh-carousel .splide__arrow--next { right: -10px; }
}
@media (max-width: 640px) {
  .splide.sh-carousel { margin: 32px -24px 0; }
  .sh-carousel:not(.is-initialized) .splide__slide { width: 86%; margin-right: 12px; }
  .ind-body { padding: 16px 44px 18px 18px; }
  .ind-body h3 { font-size: 23px; }
  .ind-text { font-size: 15px; }
  .ind-arrow { right: 16px; bottom: 18px; }
}

/* Quality Certified lines up with the product cards, with the logos on the left beside it */
.certified { grid-template-columns: auto 1fr; gap: 48px; margin: 56px -24px 0; }
.cert-logos { justify-content: flex-start; gap: 24px 48px; }
@media (max-width: 1024px) {
  .certified { grid-template-columns: 1fr; gap: 24px; margin: 48px 0 0; }
}
@media (max-width: 640px) {
  .certified { justify-items: center; }
  .cert-logos { justify-content: center; gap: 14px; }
}

/* Colour plate: Charcoal headlines and dark sections, Orange buttons, links and active states,
   Red for the heat half of the gradient, Off-White section backgrounds, Steel body text */
body { color: var(--steel); background: var(--bath); }
.dots-bg, .blog, .resources { background: var(--bath); }
.site-footer, .footer-contact { background: var(--navy); }
.text-link { border-color: var(--orange); color: var(--orange); background-image: linear-gradient(var(--orange), var(--orange)); }
.text-link:hover, .text-link:focus-visible, .industries .text-link:hover, .industries .text-link:focus-visible, .svc-head .text-link:hover, .svc-head .text-link:focus-visible, .site-footer .text-link:hover, .site-footer .text-link:focus-visible { color: #fff; }
.blog-read, .blog-card:hover h3, .main-nav > ul > li:hover > a, .main-nav > ul > li:focus-within > a, .entry-content p a:not(.text-link):not(.cta-button), .entry-content li a { color: var(--orange); }
.main-nav > ul > li > a::before { background: var(--orange) !important; }
.quote-link, .quote-link:hover, .cta-button, .search-submit { font-weight: 700; color: #fff; }
.cta-button:hover, .cta-button:focus-visible { color: var(--navy); }
.blog-inner .cta-button:hover { color: #fff; }
.dropdown a:hover { color: #fff; }
.sh-carousel .splide__arrow svg { fill: #fff; }
.sh-carousel .splide__arrow:hover svg { fill: var(--navy); }
.need-card.white:hover .arrow-box { color: #fff; }
.about-card p:not(.card-eyebrow):not(.max-close), .max-steps li, .partners-intro, .partners-network, .resources-intro, .product-more p, .needs-inner + * { color: var(--steel); }
.needs-title p { color: var(--navy); }
.ind-text { color: var(--steel); }
.product-more h3 { color: var(--navy); }
.product-more a:hover h3, .product-more a:hover p { color: #fff; }

/* Enquiry cards: room for the arrow under the link text */
.need-card { padding-bottom: 134px; }
@media (max-width: 640px) {
  .need-card { min-height: 0; padding: 26px 22px 116px; }
  .need-card::after { left: 22px; right: 22px; bottom: 24px; }
  .arrow-box { bottom: 38px; }
  .need-link { margin-top: 12px; }
}

/* Partner logos: continuous loop that pauses on hover */
.logo-marquee { width: 100vw; margin: 40px 0 0 calc(50% - 50vw); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.partners { overflow: hidden; }
.logo-track { display: flex; width: max-content; padding: 8px 0 18px; animation: solidheat-logos 38s linear infinite; }
.logo-marquee:hover .logo-track, .logo-marquee:focus-within .logo-track { animation-play-state: paused; }
.logo-track li { display: grid; flex: none; place-items: center; width: 200px; height: 96px; margin-right: 14px; padding: 12px 16px; background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.1); transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s; }
.logo-track img { width: auto; max-width: 100%; height: auto; max-height: 62px; object-fit: contain; }
.logo-track li:hover { transform: translateY(-5px); box-shadow: 0 14px 26px rgba(43,47,51,.2), inset 0 -4px 0 var(--orange); }
@keyframes solidheat-logos {
  to { transform: translateX(-50%); }
}
@media (max-width: 640px) {
  .logo-track { animation-duration: 28s; }
  .logo-track li { width: 150px; height: 80px; margin-right: 10px; padding: 10px 12px; }
  .logo-track img { max-height: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-marquee { width: auto; margin-left: 0; -webkit-mask-image: none; mask-image: none; }
  .logo-track { flex-wrap: wrap; justify-content: center; width: auto; gap: 10px; animation: none; }
  .logo-track li { margin: 0; }
  .logo-track .logo-copy { display: none; }
}

/* Original section backgrounds: thermal contour lines and brochure facets, drawn for Solidheat */
.need-card { background-image: none; }
.pegboard, .industries { background: var(--navy) url("assets/bg/thermal-dark.svg") center / cover no-repeat; }
.services-line { background: var(--navy) url("assets/bg/thermal-dark.svg") center top / cover no-repeat; }
.products { background: var(--bath) url("assets/bg/thermal-light.svg") center / cover no-repeat; }
.about { background: var(--bath) url("assets/bg/facets-light.svg") center / cover no-repeat; }
.partners { background: var(--bath) url("assets/bg/thermal-light.svg") center / cover no-repeat; }
.resources { background: var(--bath); }
.blog { background: var(--bath) url("assets/bg/facets-light.svg") center / cover no-repeat; }
.footer-main { background: url("assets/bg/thermal-dark.svg") right center / cover no-repeat; }

/* How can we help: parallax photo under a white overlay, with icon cards */
.enquiry-band { position: relative; padding: 96px 24px 104px; overflow: hidden; isolation: isolate; background: #fff var(--enq) center / cover no-repeat fixed; scroll-margin-top: 90px; }
.enquiry-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.86) 45%, rgba(247,246,244,.8) 100%); }
.enquiry-inner { max-width: 1312px; margin: 0 auto; }
.enquiry-head { max-width: 720px; margin: 0 auto 68px; text-align: center; }
.enquiry-head .accent-bar { margin: 0 auto 22px; }
.enquiry-head h2 { font: 800 46px/1.08 var(--heading); letter-spacing: -.46px; color: var(--navy); }
.enquiry-head p { margin-top: 14px; font-size: 19px; line-height: 1.45; color: var(--navy); }
.route-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.route-card { position: relative; display: flex; flex-direction: column; padding: 56px 30px 28px; overflow: visible; background: #fff; box-shadow: 0 14px 34px rgba(43,47,51,.14); color: var(--steel); transition: transform .4s cubic-bezier(.22,1,.36,1), box-shadow .4s, background-color .35s, color .3s; }
.route-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: linear-gradient(90deg, var(--orange), var(--red)); transform: scaleX(.18); transform-origin: left; transition: transform .5s cubic-bezier(.22,1,.36,1); }
.route-icon { position: absolute; top: -34px; left: 30px; display: grid; place-items: center; width: 68px; height: 68px; background: var(--orange); color: #fff; box-shadow: 0 10px 20px rgba(232,105,10,.3); transition: transform .4s cubic-bezier(.22,1,.36,1), background-color .3s, color .3s; }
.route-icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.route-card h3 { font: 800 30px/1.1 var(--heading); letter-spacing: -.26px; color: var(--navy); transition: color .3s; }
.route-card p { flex: 1; margin-top: 12px; font-size: 17px; line-height: 1.45; }
.route-link { margin-top: 22px; font: 700 16px/1.2 var(--body); color: var(--orange); }
.route-link i { display: inline-block; margin-left: 6px; font-style: normal; transition: transform .3s cubic-bezier(.22,1,.36,1); }
.route-card:focus-visible { outline-offset: 3px; }
@media (hover: hover) {
  .route-card:hover { transform: translateY(-8px); background: var(--navy); box-shadow: 0 26px 44px rgba(43,47,51,.28); color: #f7f6f4; }
  .route-card:hover::after { transform: scaleX(1); }
  .route-card:hover h3 { color: #fff; }
  .route-card:hover .route-icon { transform: translateY(-4px) rotate(-4deg); }
  .route-card:hover .route-link i { transform: translateX(6px); }
}
@media (hover: none), (max-width: 1024px), (prefers-reduced-motion: reduce) {
  .enquiry-band { background-attachment: scroll; }
}
@media (max-width: 1024px) {
  .route-cards { grid-template-columns: 1fr; gap: 56px; max-width: 640px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .enquiry-band { padding: 60px 20px 64px; }
  .enquiry-head { margin-bottom: 56px; }
  .enquiry-head h2 { font-size: 34px; }
  .enquiry-head p { font-size: 17px; }
  .route-card { padding: 50px 22px 26px; text-align: center; }
  .route-icon { left: calc(50% - 32px); width: 64px; height: 64px; }
  .route-card h3 { font-size: 27px; }
}

/* An open sub-menu sits above the buttons of the panel underneath */
@media (max-width: 1024px) {
  .main-nav.has-drill li > ul { z-index: 5; }
}

/* Partner logos: two rows moving in opposite directions; grey until hovered */
.logo-marquee { margin-top: 44px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.logo-track { padding: 10px 0; animation: solidheat-logos-row 44s linear infinite; }
.logo-reverse { animation-direction: reverse; animation-duration: 50s; }
.logo-marquee .logo-track:hover { animation-play-state: paused; }
.logo-marquee:hover .logo-track:not(:hover), .logo-marquee:focus-within .logo-track:not(:hover) { animation-play-state: running; }
.logo-track li { width: 260px; height: 128px; margin-right: 32px; padding: 20px 34px; box-shadow: none; }
.logo-track img { max-height: 72px; filter: grayscale(1); opacity: .7; transition: filter .35s, opacity .35s, transform .35s cubic-bezier(.22,1,.36,1); }
.logo-track li:hover { transform: none; box-shadow: 0 12px 24px rgba(43,47,51,.14); }
.logo-track li:hover img { filter: none; opacity: 1; transform: scale(1.06); }
@keyframes solidheat-logos-row {
  to { transform: translateX(-25%); }
}
@media (hover: none) {
  .logo-track img { filter: none; opacity: 1; }
}
@media (max-width: 640px) {
  .logo-marquee { margin-top: 28px; }
  .logo-track { padding: 6px 0; animation-duration: 30s; }
  .logo-reverse { animation-duration: 34s; }
  .logo-track li { width: 150px; height: 82px; margin-right: 12px; padding: 10px 14px; }
  .logo-track img { max-height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  .logo-marquee { -webkit-mask-image: none; mask-image: none; }
  .logo-track { animation: none; }
  .logo-track li { margin: 0; }
}

/* Supplied graphics */
.partners { background: var(--bath) url("assets/bg/world.webp") center 62% / min(1240px, 94%) no-repeat; }
.resources { background: var(--bath) url("assets/bg/factory.webp") right bottom / auto 88% no-repeat; }
.site-footer { background: var(--navy) url("assets/bg/footer.webp") center / cover no-repeat; }
.footer-main { background: none; }
.services-line { position: relative; overflow: hidden; background: var(--navy); }
.services-line::before { content: ""; position: absolute; top: 0; right: -2%; width: min(980px, 72%); height: 300px; background: url("assets/bg/pipes.webp") right top / contain no-repeat; filter: brightness(0) invert(1); opacity: .1; pointer-events: none; }
.svc-head, .services-line .sh-slider { position: relative; z-index: 1; }

/* Services hover: the panel heats up, the ring turns and the text rises in */
.svc-num { position: relative; align-self: flex-start; display: inline-block; transition: color .45s, -webkit-text-stroke-color .45s, transform .55s cubic-bezier(.22,1,.36,1); }
.svc-num::before { content: ""; position: absolute; top: 50%; left: 50%; width: 132px; height: 132px; margin: -66px 0 0 -66px; background: url("assets/bg/ring.webp") center / contain no-repeat; filter: brightness(0) invert(1); opacity: 0; transform: scale(.55); transition: opacity .5s, transform .7s cubic-bezier(.22,1,.36,1); }
.svc-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 38%, rgba(232,105,10,.34) 50%, transparent 62%) -160% 0 / 260% 100% no-repeat; }
.svc-body { display: block; transform: translateY(10px); transition: transform .6s cubic-bezier(.22,1,.36,1); }
.svc-panel h3 { transition: color .3s; }
.svc-text { transition: grid-template-rows .55s cubic-bezier(.22,1,.36,1), opacity .4s .12s, margin .4s; }
.svc-go { display: block; margin-top: 10px; font: 700 15px/1.2 var(--body); color: #ffb37a; }
.svc-go i { display: inline-block; margin-left: 4px; font-style: normal; }
.svc-panel::after { transition: transform .7s cubic-bezier(.22,1,.36,1), box-shadow .5s; }
.svc-panel { transition: flex-grow .7s cubic-bezier(.22,1,.36,1), box-shadow .5s; }
@media (min-width: 1100.01px) {
  :is(.svc-panel:hover, .svc-panel:focus-visible, .svc-list:not(:hover):not(:focus-within) li:first-child .svc-panel) { box-shadow: inset 0 0 0 1px rgba(232,105,10,.6); }
  :is(.svc-panel:hover, .svc-panel:focus-visible, .svc-list:not(:hover):not(:focus-within) li:first-child .svc-panel) .svc-body { transform: none; }
  :is(.svc-panel:hover, .svc-panel:focus-visible, .svc-list:not(:hover):not(:focus-within) li:first-child .svc-panel) .svc-num { transform: translate(24px, 18px) scale(1.06); }
  :is(.svc-panel:hover, .svc-panel:focus-visible, .svc-list:not(:hover):not(:focus-within) li:first-child .svc-panel) .svc-num::before { opacity: .75; transform: scale(1); animation: solidheat-ring 14s linear infinite; }
  :is(.svc-panel:hover, .svc-panel:focus-visible, .svc-list:not(:hover):not(:focus-within) li:first-child .svc-panel)::after { box-shadow: 0 -4px 22px rgba(232,105,10,.75); }
  .svc-panel:hover .svc-photo::after, .svc-panel:focus-visible .svc-photo::after { animation: solidheat-sweep 1.5s cubic-bezier(.3,.6,.4,1) both; }
  .svc-panel:hover .svc-go i, .svc-panel:focus-visible .svc-go i { animation: solidheat-nudge 1.1s ease-in-out infinite; }
  .svc-list:hover .svc-panel:not(:hover) .svc-photo { filter: grayscale(1) brightness(.34); }
  .svc-list:hover .svc-panel:not(:hover) .svc-num { -webkit-text-stroke-color: rgba(255,255,255,.35); }
}
@keyframes solidheat-ring { to { transform: scale(1) rotate(360deg); } }
@keyframes solidheat-sweep { to { background-position: 260% 0; } }
@keyframes solidheat-nudge { 50% { transform: translateX(6px); } }
@media (max-width: 1100px) {
  .services-line::before { width: 90%; height: 220px; }
  .svc-body { transform: none; }
  .svc-num::before { display: none; }
}
@media (max-width: 640px) {
  .partners { background-position: center 40%; background-size: 150% auto; }
  .resources { background-size: auto 46%; }
  .svc-num { align-self: center; }
}
@media (prefers-reduced-motion: reduce) {
  .svc-num::before, .svc-photo::after, .svc-go i { animation: none !important; }
}

/* Headings: a small heat pulse taken from the logo, in place of a side bar */
.bar-label, .bar-heading { padding-left: 0; border-left: 0; }
.bar-label::before, .bar-heading::before { content: ""; display: block; width: 58px; height: 26px; margin-bottom: 10px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 58 26'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' x2='1' y1='0' y2='0'%3E%3Cstop offset='0' stop-color='%23e8690a'/%3E%3Cstop offset='1' stop-color='%23d6270a'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M1 14h15l4-11 7 21 6-16 3 6h21' fill='none' stroke='url(%23g)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") left center / contain no-repeat; }

/* Link cards: a heat corner that spreads across the card on hover, in place of a side bar */
.product-more a { position: relative; overflow: hidden; isolation: isolate; border: 1px solid rgba(43,47,51,.1); border-left: 1px solid rgba(43,47,51,.1); padding-right: 48px; transition: color .3s, transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s; }
.product-more a::before { content: ""; position: absolute; top: 0; right: 0; z-index: -1; width: 30px; height: 30px; background: linear-gradient(135deg, #d6270a, #e8690a); clip-path: polygon(0 0, 100% 0, 100% 100%); transform-origin: 100% 0; transition: transform .6s cubic-bezier(.22,1,.36,1); }
.product-more .need-link::after { content: "\2192"; display: inline-block; margin-left: 8px; transition: transform .3s; }
.product-more a:is(:hover, :focus-visible) { background: #fff; color: #fff; transform: translateY(-4px); box-shadow: 0 14px 28px rgba(43,47,51,.2); }
.product-more a:is(:hover, :focus-visible)::before { transform: scale(40); }
.product-more a:is(:hover, :focus-visible) :is(h3, p, .need-link) { color: #fff; }
.product-more a:is(:hover, :focus-visible) .need-link::after { transform: translateX(6px); }
@media (max-width: 640px) {
  .bar-label::before, .bar-heading::before { margin-inline: auto; background-position: center; }
  .product-more a { border-top: 1px solid rgba(43,47,51,.1); padding: 24px 26px; }
}
.hero-foot h2 { padding-right: 0; border-right: 0; }

/* Partners and Resources use the thermal line backgrounds */
.partners { background: var(--bath) url("assets/bg/thermal-light.svg") center / cover no-repeat; }
.resources { background: var(--bath) url("assets/bg/thermal-light.svg") center / cover no-repeat; }
.hero-foot { justify-content: flex-end; }
.sh-carousel { margin-top: 40px; }
@media (max-width: 640px) {
  .partners, .resources { background-position: center; background-size: cover; }
}
