/* V39: a calmer, traditional engineering-company look. Layout and content are unchanged.
   - plain serif headings and a plain sans for text; no monospace labels
   - square-ish buttons and chips instead of pills; no glows
   - dark sections in deep SHIVAS navy instead of near-black
   - the header hides while reading down and comes back on a small scroll up (v39.js) */
:root{--f-body:"Source Sans 3","Segoe UI",Arial,sans-serif!important;--f-mono:"Source Sans 3","Segoe UI",Arial,sans-serif!important;
  --f-display:"Source Serif 4",Georgia,"Times New Roman",serif!important;
  --f:"Source Sans 3","Segoe UI",Arial,sans-serif!important;--m:"Source Sans 3","Segoe UI",Arial,sans-serif!important;
  --v39-serif:"Source Serif 4",Georgia,"Times New Roman",serif;
  --blob1:transparent!important;--blob2:transparent!important;--blob3:transparent!important;--glow:none!important}
body{font-family:"Source Sans 3","Segoe UI",Arial,sans-serif}
body{-webkit-font-smoothing:antialiased}

/* headings */
h1:not(#v39a):not(#v39b),h2:not(#v39a):not(#v39b){font-family:var(--v39-serif)!important;font-weight:600!important;letter-spacing:-.005em!important;text-transform:none!important}
h1{line-height:1.12!important}
h2{line-height:1.18!important}
h3{letter-spacing:0!important}
.hero h1{font-size:clamp(32px,4vw,50px)!important}
#app .v31h h1{font-size:clamp(32px,3.8vw,48px)!important}
main h1,.pu h1{font-size:clamp(30px,3.6vw,46px)!important}
h1 em,h2 em{font-style:normal}

/* small labels: plain small capitals, no typewriter look */
.k,.eyebrow,.crumbs,.kick,.v31-k{font-family:var(--f-body)!important;font-weight:600!important;letter-spacing:.07em!important}
.crumbs{letter-spacing:0!important;font-weight:400!important;font-size:14px!important}
.snav a,.onpage a,#nav .links a{font-family:var(--f-body)!important;text-transform:none!important;letter-spacing:0!important;font-size:15px!important;font-weight:500!important}
.onpage a{font-size:14px!important}
.menu-btn,.pill-cta,.btn,.ib,button.copy,.wa,.ghost,.qbtn{font-family:var(--f-body)!important;letter-spacing:0!important;text-transform:none!important}

/* buttons, chips and cards: quieter shapes */
.btn,.pill-cta,.pill-ghost,.v31-btn,.menu-btn,.wa,.ghost,.qbtn,.onpage a,.snav a,.links a,.chip,.tag,.tags span,.chips span,.chips li,.pills span,button.copy,.copy,.v36-mail,.v37-first em,.v37-calc em,.pglink,.filters button,.presets button,.seg button,.hc-var button,.rbig-tags button,.pa-play,.pa-shapes button,.m3-f span,.hall-play span,.o-line li,.who span,.howto li,.tstat,.gl,.cb-chips i{border-radius:6px!important}
.ib,.thm,.srch-btn{border-radius:8px!important}
.dsw,.bswitch{border-radius:8px!important}
.dsw a,.dsw span,.bswitch a{border-radius:6px!important}
.card,.pp,.person,.bcard,.ar,.grp a,.dv,.m3,.facts,.v37-first,.pu-ct,.q,form.q{border-radius:8px!important}
.hero img,.hero figure,.hero .ph,.hero .pic{border-radius:8px!important}
*{text-shadow:none!important}
.pill-cta,.btn,.dv,.card,.bcard{box-shadow:none!important}
.hero figure,.hero .ph,.hero .pic,.hero-img{box-shadow:0 2px 10px rgba(16,40,64,.12)!important}

/* dark sections: deep SHIVAS navy, brand amber and teal only */
.night{--ink:#12304d;--deep:#163a5c;--panel:#1b4266;--panel2:#204a72;--line:#2f5a82;--line2:#3d6890;--fg:#f3f6f9;--muted:#bccbd9;--dim:#8ea6bd;
  --amber:#e8a317;--heat:#e0702f;--teal:#3fb3bb;--pink:#e8a317;--violet:#3fb3bb;--cyan:#7cc3d6;--lime:#a8c46e;--ok:#6cc59a;
  --navbg:rgba(18,48,77,.97);--blob1:transparent;--blob2:transparent;--blob3:transparent;--shadow:0 8px 24px -16px rgba(0,0,0,.5);--grad-hot:#e8a317;--grad-cool:#0e7c86}
html body .night{background:#12304d!important}
.dip{background:#12304d!important}
.pu-fig{background:#12304d!important}

/* header: always solid; hides on the way down, back on the way up */
header.top{position:sticky!important;top:0!important;transition:transform .25s ease!important}
header.top.tuck{transform:translateY(-100%)!important}
#app #nav,header#nav{position:fixed!important;top:0!important;transition:transform .25s ease!important}
#nav.nav-hide{transform:translateY(-110%)!important}
html{scroll-padding-top:calc(var(--hd-h,64px) + 12px)!important}
#app section{scroll-margin-top:calc(var(--hd-h,64px) + 12px)!important}
.gflt{top:var(--hd,0px)!important;transition:top .25s ease}
.c-out,.ts-d,.cx-nav,.cx-out{top:calc(var(--hd,0px) + 12px)!important;transition:top .25s ease}
.c-out{max-height:calc(100vh - var(--hd,0px) - 24px)!important}

/* contact lines without names */
.v39-lines{display:block;margin-top:4px;color:var(--muted,#5b6b7b);font-size:14px}
.v39-lines a{color:inherit}
.v39-mgmt{margin:18px 0 0;font-size:13.5px;color:var(--muted,#6b7785);line-height:1.5}
.v39-mgmt b{font-weight:600}

/* footers and the quote band in SHIVAS navy */
footer.foot,footer.v31-foot{background:#163a5c!important}
section.ask{background:#1F4E79!important}
footer .v39-lines{color:rgba(255,255,255,.78)!important}
.v39-lines a{white-space:nowrap}
.byline .av{display:none!important}
@media (max-width:640px){.snav a{font-size:14px!important;padding:6px 8px!important}}

/* V40: section bar on the division pages (appears below the hero, marks where you are) */
.v40-sb{position:fixed;left:0;right:0;top:var(--hd,0px);z-index:45;background:#fff;border-bottom:1px solid #d5dde6;box-shadow:0 2px 10px rgba(16,40,64,.08);transform:translateY(-130%);opacity:0;pointer-events:none;transition:transform .25s ease,top .25s ease,opacity .2s}
.v40-sb.on{transform:none;opacity:1;pointer-events:auto}
.v40-sb-in{max-width:1420px;margin:0 auto;display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;padding:6px 16px}
.v40-sb-in::-webkit-scrollbar{display:none}
.v40-sb a{flex:0 0 auto;padding:7px 12px;border-radius:6px;font:600 14.5px/1.2 var(--f-body);color:#3b4c5e;text-decoration:none;white-space:nowrap}
.v40-sb a:hover{background:#eef3f8;color:#1F4E79}
.v40-sb a.cur{background:#1F4E79;color:#fff}
.v40-sb a.q{margin-left:auto;background:#e8a317;color:#111}
[data-theme="dark"] .v40-sb{background:#10233a;border-color:#2b4866}
[data-theme="dark"] .v40-sb a{color:#c6d4e1}
[data-theme="dark"] .v40-sb a:hover{background:#1b3653;color:#fff}
[data-theme="dark"] .v40-sb a.cur{background:#2f6fa8;color:#fff}   /* #3f86c6 gave 3.9:1 with white (axe, 23 Nov 2026) */
[data-theme="dark"] .v40-sb a.q{color:#111}   /* the Enquiry chip keeps dark text on amber in dark mode */
html{scroll-padding-top:calc(var(--hd-h,64px) + var(--sb,0px) + 12px)!important}
#app section{scroll-margin-top:calc(var(--hd-h,64px) + var(--sb,0px) + 12px)!important}
@media (max-width:640px){.v40-sb a{font-size:14px;padding:7px 10px}.v40-sb-in{padding:5px 10px}}
@media print{.v40-sb{display:none}}
.rel-l{list-style:none;padding:0;margin:8px 0 18px;display:grid;gap:8px}
.rel-l a{display:block;padding:12px 16px;border:1px solid var(--line,#d5dde6);border-left:3px solid #0E7C86;border-radius:6px;text-decoration:none;font-weight:600;color:inherit}
.rel-l a:hover{border-color:#1F4E79}
/* V41: the author line is small */
.byline b,.byline span b{font-size:14px!important;font-weight:600!important}
.byline span{font-size:13.5px!important}
.author b{font-size:15px!important;font-weight:600!important}
.author span{font-size:13.5px!important}

/* V41: SHIVAS Reinplast environment section: air, water and acid, each a complete system */
#rein-loop .ws-g{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:22px}
#rein-loop .ws{display:grid;gap:10px;align-content:start;padding:20px 22px;border:1px solid var(--line,#d5dde6);border-top:4px solid var(--wc,#0E7C86);border-radius:8px;background:var(--panel,#fff)}
#rein-loop .ws-air{--wc:#c9a227}#rein-loop .ws-water{--wc:#3f86c6}#rein-loop .ws-zld{--wc:#0E7C86}#rein-loop .ws-acid{--wc:#b5562a}
#rein-loop .ws-h h3{margin:2px 0 2px;font-size:21px}
#rein-loop .ws-h p{margin:0;color:var(--muted,#5b6b7b);font-size:14.5px}
#rein-loop .ws-k{display:inline-block;font:700 12px/1 var(--f-body);letter-spacing:.07em;text-transform:uppercase;color:var(--wc)}
#rein-loop .ws-sys{margin:4px 0 0;font-weight:700;font-size:16px;color:#1F4E79}
[data-theme="dark"] #rein-loop .ws-sys{color:#9cc6ec}
#rein-loop .ws-ch{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
#rein-loop .ws-st{display:inline-block;padding:7px 11px;border-radius:6px;background:color-mix(in srgb,var(--wc) 12%,transparent);border:1px solid color-mix(in srgb,var(--wc) 40%,transparent);font-size:14.5px;font-weight:600;color:inherit;text-decoration:none}
#rein-loop a.ws-st:hover{border-color:var(--wc)}
#rein-loop .ws-ar{font-style:normal;color:var(--wc);font-weight:700}
#rein-loop .ws-r{margin:0;line-height:1.5;font-size:15px}
#rein-loop .ws-f{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:14px;border-top:1px solid var(--line,#d5dde6);padding-top:10px}
#rein-loop .ws-by{color:var(--muted,#5b6b7b)}
#rein-loop .ws-f a{font-weight:600}
#rein-loop .ws-tech{margin:18px 0 0;font-size:15px;color:var(--muted,#5b6b7b)}
@media (max-width:760px){#rein-loop .ws-g{grid-template-columns:1fr}}

/* V42: one clear, scrollable menu (division pages and the home page on phones) */
.menu.v42m{top:var(--hd,var(--nav-h,60px))!important;max-height:calc(100vh - var(--hd,60px));max-height:calc(100dvh - var(--hd,60px));overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:0!important;display:block!important;background:#fff!important;border-bottom:1px solid #d5dde6;box-shadow:0 18px 40px -20px rgba(16,40,64,.45)}
.menu.v42m[hidden],.mnav.v42m[hidden]{display:none!important}
.mnav.v42m{max-height:calc(100vh - 70px);max-height:calc(100dvh - 70px);overflow-y:auto;overscroll-behavior:contain;background:#fff;border-top:1px solid #d5dde6}
.v42m-in{max-width:1280px;margin:0 auto;padding:18px 20px 24px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px 28px}
.v42m-h{margin:0 0 6px!important;font:700 12px/1.2 var(--f-body)!important;letter-spacing:.08em!important;text-transform:uppercase;color:#0E7C86!important}
.v42m a{display:block!important;padding:8px 8px!important;margin:0 -8px!important;border:0!important;border-radius:6px;font:600 15.5px/1.3 var(--f-body)!important;letter-spacing:0!important;text-transform:none!important;color:#1b2b3c!important;text-decoration:none!important}
.v42m a small{display:block;font-weight:400;font-size:12.5px;line-height:1.3;color:#5b6b7b}
.v42m a span{display:none}
.v42m a:hover,.v42m a:focus-visible{background:#eef3f8}
.v42m-q{display:flex;gap:6px;margin-top:12px}
.v42m-q a{margin:0!important;flex:1;text-align:center;border:1px solid #1F4E79!important;padding:9px 4px!important;font-size:14.5px!important}
.v42m-q .q-call{background:#1F4E79;color:#fff!important}
.v42m-q .q-wa{background:#1f9d55;border-color:#1f9d55!important;color:#fff!important}
.v42m-q .q-ml{background:#fff;color:#1F4E79!important}
[data-theme="dark"] .menu.v42m,[data-theme="dark"] .mnav.v42m{background:#10233a!important;border-color:#2b4866}
[data-theme="dark"] .v42m a{color:#e3ebf3!important}[data-theme="dark"] .v42m a small{color:#9fb2c4}
[data-theme="dark"] .v42m a:hover{background:#1b3653}
[data-theme="dark"] .v42m-q .q-ml{background:transparent;color:#9cc6ec!important;border-color:#9cc6ec!important}
@media (max-width:960px){.v42m-in{grid-template-columns:1fr 1fr}}
@media (max-width:600px){.v42m-in{grid-template-columns:1fr;gap:14px;padding:14px 16px 22px}.v42m-g+.v42m-g{border-top:1px solid #e3e9ef;padding-top:12px}}
html.v42-lock,html.v42-lock body{overflow:hidden}
.v42-ml{display:inline-grid;place-items:center;color:#1F4E79}
[data-theme="dark"] .v42-ml{color:#9cc6ec}
@media (max-width:760px){.menu.v42m{max-height:calc(100dvh - var(--hd,60px) - 66px)}.mnav.v42m{max-height:calc(100dvh - 140px)}}
html.v42-lock .to-top,html.v42-lock .bt{display:none!important}
/* home header: room for About and the email button */
@media (min-width:901px){header.top .nav{gap:0!important}header.top .nav a{padding:6px 8px!important;font-size:15px!important}header.top .top-act{gap:6px!important}}
@media (min-width:901px) and (max-width:1320px){header.top .dsw small{display:none}header.top .dsw a,header.top .dsw span{padding-top:7px!important;padding-bottom:7px!important}}

/* V42: extra margin toggle in the calculators: one compact line */
.cx-mg,.v42-mg{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:0 0 4px;padding:0;border:0;background:none}
.cx-mg-l,.v42-mg-l{font-size:13.5px;font-weight:600;color:var(--muted,#5b6b7b);cursor:help}
.cx-mg .seg,.v42-mg .seg{display:inline-flex;gap:0;border:1px solid var(--line,#c9d3dd);border-radius:6px;overflow:hidden}
.cx-mg .seg button,.v42-mg .seg button{min-height:30px;padding:0 10px;border:0;border-right:1px solid var(--line,#c9d3dd);border-radius:0!important;background:var(--bg,#fff);color:inherit;font:600 13px var(--f-body);cursor:pointer}
.cx-mg .seg button:last-child,.v42-mg .seg button:last-child{border-right:0}
.cx-mg .seg button[aria-pressed="true"],.v42-mg .seg button[aria-pressed="true"]{background:#1F4E79;color:#fff}
.v42-mg{margin:4px 0 14px}
/* V42: the same menu on every other page */
.v42sub{position:fixed;left:0;right:0;z-index:60}
.v42-mb{width:auto!important;padding:0 14px!important;font:600 14.5px var(--f-body)!important;border:1px solid var(--line,#c9d3dd)!important;background:var(--bg,#fff)!important;color:inherit!important;min-height:40px}
@media (max-width:760px){.menu.v42m.v42sub{max-height:calc(100dvh - var(--hd,60px))}}
.v42-wa{display:inline-grid;place-items:center;color:#1f9d55!important}
[data-theme="dark"] .v42-wa{color:#4fd18b!important}
nav.dock .v42-dml{color:#1F4E79}
/* V42: phones: email sits beside WhatsApp; the header stays on one line */
nav.dock[aria-label="Quick contact"]{grid-template-columns:repeat(4,minmax(0,1fr))!important}
nav.dock[aria-label="Quick contact"] a{min-width:0;white-space:nowrap}
@media (max-width:520px){
 header.top:has(.snav) .logo img{width:72px!important;height:auto!important}
 header.top:has(.snav) .top-act{gap:4px!important}
 header.top:has(.snav) .top-act .ib:not(.v42-mb){width:34px!important;height:34px!important;min-width:34px!important}
 header.top:has(.snav) .top-act .v42-mb{min-height:34px!important;padding:0 9px!important;font-size:13.5px!important}
 header.top:has(.snav) .top-act .btn.amber{min-height:34px!important;padding:0 10px!important;font-size:0!important}
 header.top:has(.snav) .top-act .btn.amber::after{content:"Quote";font-size:13.5px;font-weight:600}
 header.top:has(.snav) .top-act .gl{display:none!important}
 header.top:not(:has(.snav)) .logo img{width:72px!important;height:auto!important}
 header.top:not(:has(.snav)) .top-act{gap:4px!important}
 header.top:not(:has(.snav)) .top-act .ib{width:34px!important;height:34px!important;min-width:34px!important}
 header.top:not(:has(.snav)) .top-act .btn{min-height:34px!important;padding:0 10px!important;font-size:13px!important}
}
/* V46: mail choice, shown only when no mail app opened */
.v46-ms{position:fixed;left:50%;bottom:calc(84px + env(safe-area-inset-bottom,0px));transform:translate(-50%,16px);z-index:95;width:min(420px,calc(100vw - 24px));padding:12px 14px;border-radius:10px;background:#12304d;color:#fff;box-shadow:0 14px 40px -12px rgba(0,0,0,.5);opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}
.v46-ms.on{opacity:1;pointer-events:auto;transform:translate(-50%,0)}
.v46-ms p{margin:0 0 8px;font:600 14.5px var(--f-body)}
.v46-ms div{display:flex;gap:8px}
.v46-ms a{flex:1;display:grid;place-items:center;min-height:40px;border-radius:6px;background:#fff;color:#1F4E79;font:700 14.5px var(--f-body);text-decoration:none}
.v46-ms a.v46-g{background:#e8a317;color:#111}
.v46-ms button{width:40px;border-radius:6px;border:1px solid rgba(255,255,255,.4);background:transparent;color:#fff;font-size:16px;cursor:pointer}

/* ===== V52 look: plain industrial ===== */
:root{--f-body:"Noto Sans","Segoe UI",Arial,sans-serif!important;--f-mono:"Noto Sans","Segoe UI",Arial,sans-serif!important;--f-display:"Noto Sans","Segoe UI",Arial,sans-serif!important;--f:"Noto Sans","Segoe UI",Arial,sans-serif!important;--m:"Noto Sans","Segoe UI",Arial,sans-serif!important;--v39-serif:"Noto Sans","Segoe UI",Arial,sans-serif}
body{font-family:"Noto Sans","Segoe UI",Arial,sans-serif!important;font-size:16px;line-height:1.6;-webkit-font-smoothing:auto}
h1,h2,h3,h4,h1:not(#v39a):not(#v39b),h2:not(#v39a):not(#v39b),h3:not(#v39a):not(#v39b){font-family:"Noto Sans","Segoe UI",Arial,sans-serif!important;font-weight:700!important;letter-spacing:-.005em!important;font-style:normal!important}
h1:not(#v39a):not(#v39b){font-size:clamp(28px,3.6vw,42px)!important;line-height:1.15!important}
h2:not(#v39a):not(#v39b){font-size:clamp(23px,2.6vw,32px)!important;line-height:1.2!important}
h3:not(#v39a):not(#v39b){line-height:1.25!important}
h1 em,h2 em,h3 em,h1 i,h2 i,h3 i,.hero h1 span,h2 span.accent{font-style:normal!important;color:inherit!important;background:none!important;-webkit-text-fill-color:currentColor!important}
.eyebrow,.k,.kick,.v31-k,.mono,.tblock,.tblock span,.stage-no,.v42m-h,.ws-k,.card-btn,.xp-more,.lbl-k,.sec-k,.hc-txt small,.m3-b .k,.byline,.coat-top .mono,.temp .mono,.v33-cap b,[class*="eyebrow"]{text-transform:none!important;letter-spacing:0!important;font-family:"Noto Sans","Segoe UI",Arial,sans-serif!important}
.eyebrow,[class*="eyebrow"]{font-size:14px!important;font-weight:600!important}
html body *:not(#v52x):not(svg):not(svg *){border-radius:2px!important;box-shadow:none!important}
header.top .dsw small{text-transform:none!important;letter-spacing:0!important}
.stage-temp,.tchip rect,[class*="dot"],.dots i,.lbl,.hc-play,.hall-play i,.av,input[type="radio"],input[type="range"]::-webkit-slider-thumb,.v52-ctl button{border-radius:2px!important}
.btn,.ib,.pill-cta,.qbtn,.wa,.ghost,button{font-weight:600!important}
:focus-visible{outline:2px solid #e8a317!important;outline-offset:2px!important}
.dip{background:#12304d!important}
.night{background-image:none!important}
/* ===== V52 How galvanizing works: normal height, play / step / skip ===== */
#dip.dip{height:auto!important}
#dip .dip-sticky{position:relative!important;top:auto!important;height:auto!important;padding-top:28px!important;padding-bottom:20px!important}
#dip .dip-stage{height:clamp(300px,50vh,520px);min-height:0}
@media (max-width:760px){#dip .dip-stage{height:min(58svh,440px)}#dip .dip-foot{padding-bottom:12px!important}}
.v52-w{width:100%;min-width:0;max-width:100%;box-sizing:border-box}#dip .dip-sticky>*{min-width:0}
#dip .dots{display:none!important}
#dip .dip-stage{position:relative}
.v54-sw{position:absolute;inset:0;z-index:2;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;cursor:grab;touch-action:pan-x pan-y;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
.v54-sw::-webkit-scrollbar{display:none}
.v54-sw.drag{cursor:grabbing;user-select:none}
.v54-sw>i{display:block;width:500%;height:1px}


.v53-rail{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:4px;margin:10px 0 2px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.v53-rail::-webkit-scrollbar{display:none}
.v53-rail button{display:grid;gap:1px;justify-items:start;min-width:0;padding:8px 10px;border:1px solid rgba(255,255,255,.22);border-top:3px solid rgba(255,255,255,.22);background:rgba(255,255,255,.04);color:#cfe0ee;text-align:left;cursor:pointer;font:500 14px "Noto Sans",Arial,sans-serif}
.v53-rail button b{font-size:12px;color:#9fb4c7;font-weight:600}
.v53-rail button span{font-weight:600;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.v53-rail button em{font-style:normal;font-size:13px;color:#9fb4c7}
.v53-rail button.done{border-top-color:#0E7C86}
.v53-rail button.on{border-color:#e8a317;border-top-color:#e8a317;background:rgba(232,163,23,.14)}
.v53-rail button.on em{color:#f3c15a}
.v53-hint{margin:4px 0 0;font-size:13.5px;color:#9fb4c7}
@media (max-width:900px){.v53-rail{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(118px,1fr)}}
label,dt,th,[class*="lab"],[class*="cap"] small,.stat small,.kv small,.read small,.tile small{text-transform:none!important;letter-spacing:0!important}
@media (min-width:1101px) and (max-width:1500px){header.top .top-in{gap:10px!important}header.top .nav a{font-size:13.5px!important;padding-left:5px!important;padding-right:5px!important}header.top .dsw small{font-size:9.5px!important}header.top .dsw b{font-size:12.5px!important}header.top .dsw a{padding-left:7px!important;padding-right:7px!important}}

/* ======================================================================================
   TYPE LAYER (Nov 2026). Headings in Archivo (self-hosted, 600-800, 35 KB), body stays Noto Sans.
   The extra :not(#v61) outranks the older heading rule above. Footer h4 labels keep their own style.
   ====================================================================================== */
h1:not(#v39a):not(#v39b):not(#v61),h2:not(#v39a):not(#v39b):not(#v61),h3:not(#v39a):not(#v39b):not(#v61){font-family:"Archivo","Noto Sans","Segoe UI",Arial,sans-serif!important;font-weight:800!important;letter-spacing:-.02em!important}
h3:not(#v39a):not(#v39b):not(#v61){font-weight:700!important;letter-spacing:-.01em!important}
.hproof b,.m3b b,.dv h3,.trust b,.steps b,.cl b,.ar b,.grp b{font-family:"Archivo","Noto Sans",Arial,sans-serif}
.hero h1,.v31-hero h1{line-height:1.06!important}

/* ======================================================================================
   NAV LAYER (Nov 2026). Division pages (#nav): section links always on a second row from 900 px,
   so laptops (1280-1439 px) see them too and wide screens no longer overflow. Same look as .snav.
   ====================================================================================== */
@media (min-width:900px){
  #nav .nav-in{flex-wrap:wrap;row-gap:0;padding-block:8px 0}
  #nav .nav-in>.dsw{margin-right:auto}
  #nav .links{display:flex!important;order:30;flex:1 0 100%;margin:0;padding:2px 0 8px;gap:4px;overflow-x:auto;scrollbar-width:none}
  #nav .links::-webkit-scrollbar{display:none}
  #nav .links a{flex:0 0 auto;padding:7px 12px!important;border-radius:999px}
  #nav .links a.on{color:var(--fg);background:var(--panel2);box-shadow:inset 0 0 0 1px var(--line,rgba(127,160,200,.3))}
  #nav .nav-in>.menu-btn{margin-left:0!important}
}
@media (min-width:900px) and (max-width:1100px){#nav .nav-in>.v42-ml,#nav .nav-in>.gal-btn{display:none!important}}

/* ======================================================================================
   DIVISION HERO MOSAIC (Nov 2026): one main photo and two linked tiles, all from the image library,
   captions from the library or the product the photo is filed under.
   ====================================================================================== */
.v61-hm{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-self:center}
#app[data-page="hdg"] .v61-hm.pg-wire,#app[data-page="wire"] .v61-hm.pg-hdg{display:none}
.v61-hm figure{grid-column:1/-1;margin:0;position:relative;border-radius:14px;overflow:hidden;background:#0b1622;aspect-ratio:3/2}
.v61-hm img{width:100%;height:100%;object-fit:cover;display:block}
.v61-hm .hm-s{position:relative;display:block;border-radius:12px;overflow:hidden;aspect-ratio:3/2;background:#0b1622}
.v61-hm .hm-s img{transition:transform .5s}.v61-hm .hm-s:hover img{transform:scale(1.04)}
.v61-hm figcaption,.v61-hm .hm-s span{position:absolute;left:8px;bottom:8px;right:auto;max-width:calc(100% - 16px);padding:4px 10px;border-radius:999px;background:rgba(8,18,30,.78);color:#fff;font:600 13px/1.3 "Noto Sans",Arial,sans-serif;text-shadow:none}
@media (max-width:900px){.v61-hm{order:-1}}
@media (max-width:600px){.v61-hm .hm-s span{font-size:11.5px;padding:3px 8px}}
@media (prefers-reduced-motion:reduce){.v61-hm .hm-s img{transition:none}}

/* ======================================================================================
   A11Y LAYER (Nov 2026). Brings text to WCAG AA contrast and touch targets to 24 px.
   Only text tones change: the brand colours stay for fills, borders and icons.
   Checked with tools/a11y.cjs (axe) on every page, light and dark.
   ====================================================================================== */
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* WhatsApp green: #1f9d55 gave 3.5:1 with white text */
.btn.wa,.q-wa,#c39Wa,.v31-btn.wa,.ab-acts a.w.w{background:#15803d!important;border-color:#15803d!important;color:#fff!important}
:root:not([data-theme="dark"]) :is(.ib.wa,.dock a.wa){color:#15803d!important}

/* light mode text tones (amber text #e8a317/#e08600 was 2.2-2.8:1 on white) */
:root:not([data-theme="dark"]){--dim:#5f7389;--ok:#0f7a4f}
:root:not([data-theme="dark"]) .dsw small{opacity:1}
:root:not([data-theme="dark"]) .v39-mgmt{color:#5b6776}
:root:not([data-theme="dark"]) :is(.inlink,.spot-k,.spot-w,.card-btn,.xp-more,.note-b>b,.xbanner,.xbanner i,.xbanner b,.range-more a,.ln-h .t,.ln-s dd[data-dw],#kPresets button[aria-pressed="true"]){color:#945400!important}
:root:not([data-theme="dark"]) :is(.ln-h .r,.person .eyebrow,.gco .eyebrow,#rein-range .range-more a){color:#0a6e78!important}
:root:not([data-theme="dark"]) button[data-m][aria-pressed="true"]{background:#0a6e78!important;border-color:#0a6e78!important;color:#fff!important}
/* calculator list: darker accents so the white text on the selected card passes */
.cx-nav a.d-wire{--c:#9a5a00}
.cx-nav a.d-rein{--c:#0a6e78}
.cx-nav a[aria-current="true"] small,.cx-nav a[aria-current="true"] span{color:#fff!important}
/* calculator drop-downs take the full width of the form, so long choices are not cut off */
.cx-in .fld.fsel{grid-column:1/-1}
/* a long typical-value item may wrap on a phone instead of widening the page */
@media (max-width:640px){.cx-assume i{white-space:normal}}
/* photographs in articles: one wide, or a landscape and a portrait side by side at the same height */
.post-b .pf{margin:6px 0 22px}
.post-b .pf img{display:block;width:100%;height:auto;border-radius:10px;background:var(--soft)}
.post-b .pf2{display:grid;grid-template-columns:1.78fr 1fr;gap:10px;align-items:start}
.post-b .pf figcaption{grid-column:1/-1;margin-top:2px;font-size:14px;line-height:1.45;color:var(--muted)}
/* ETP and ZLD process flow diagram (calculators): scrolls sideways on phones, colours follow the theme */
.zfd{overflow-x:auto;min-width:0;max-width:100%;border:1px solid var(--line);border-radius:8px;background:var(--panel);padding:8px}
.zfd svg{display:block;min-width:760px;width:100%;height:auto;font-family:"Noto Sans","Segoe UI",Arial,sans-serif}
.zfd rect{fill:var(--soft);stroke:var(--line);stroke-width:1.2}
.zfd .t{font-size:14px;font-weight:700;fill:var(--fg)}
.zfd .v{font-size:12.5px;fill:var(--muted)}
.zfd .o{font-size:12px;font-weight:600;fill:var(--muted)}
.zfd .ar{fill:none;stroke:var(--muted);stroke-width:1.6;marker-end:url(#zar)}
.zfd .mk{fill:var(--muted)}
.zfd .ar.w{stroke:#0a6e78;marker-end:url(#zarw)}.zfd .mkw,.zfd .o.w{fill:#0a6e78}
.zfd .ar.s{stroke:#945400;marker-end:url(#zars)}.zfd .mks,.zfd .o.s{fill:#945400}
.zfd .sl rect{stroke:#945400;stroke-width:1.8}
.zfd .off{opacity:.55}
:root[data-theme="dark"] .zfd .ar.w{stroke:#5fe0e8}:root[data-theme="dark"] .zfd :is(.mkw,.o.w){fill:#5fe0e8}
:root[data-theme="dark"] .zfd .ar.s{stroke:#ffc35a}:root[data-theme="dark"] .zfd :is(.mks,.o.s){fill:#ffc35a}
:root[data-theme="dark"] .zfd .sl rect{stroke:#ffc35a}
/* V81 (23 Nov 2026): ETP and ZLD calculator. The flow diagram moves: each stream is a tinted pipe with dashes running
   along it, width by flow; stage colour bars; the water balance bar; the evaporator options table. */
.zfd .ar{stroke-opacity:.42}
.zfd .fl{fill:none;stroke-linecap:round;stroke-dasharray:7 9;animation:zfl 1.1s linear infinite;pointer-events:none}
.zfd .fl.e{stroke:#c99a1e}.zfd .fl.w{stroke:#0f97a3}.zfd .fl.s{stroke:#b4621a}.zfd .fl.st{stroke:#8296ab}.zfd .fl.pw{stroke:#c99a1e}
.zfd .ar.e{stroke:#b5891a}.zfd .ar.st{stroke:#8296ab;marker-end:url(#zarst)}.zfd .mkst,.zfd .o.st{fill:#5a6c80}.zfd .ar.pw{stroke:#b07d00;marker-end:url(#zarpw)}.zfd .mkpw,.zfd .o.pw{fill:#7a5600}
.zfd rect.ac{stroke:none}.zfd .ac-e{fill:#c99a1e}.zfd .ac-t{fill:#5d7590}.zfd .ac-w{fill:#0f97a3}.zfd .ac-ev{fill:#7a5fb0}.zfd .ac-s{fill:#945400}
@keyframes zfl{to{stroke-dashoffset:-16}}

:root[data-theme="dark"] .zfd .fl.w{stroke:#5fe0e8}:root[data-theme="dark"] .zfd .fl.e{stroke:#ffcf5a}:root[data-theme="dark"] .zfd .fl.s{stroke:#ffb36b}:root[data-theme="dark"] .zfd .fl.st{stroke:#c9d4de}
:root[data-theme="dark"] .zfd :is(.mkst,.o.st){fill:#c9d4de}:root[data-theme="dark"] .zfd :is(.mkpw,.o.pw){fill:#ffcf5a}
.zwb{border:1px solid var(--line);border-radius:12px;background:var(--panel);padding:14px 16px;margin:0 0 6px}
.zwb-bar{display:flex;gap:2px;height:22px;border-radius:999px;overflow:hidden;background:var(--line)}
.zwb-bar i{display:block;min-width:4px}
.zwb .w1{background:#0a6e78}.zwb .w2{background:#14a3b0}.zwb .w3{background:#7fd3da}.zwb .l1{background:#7a4a24}.zwb .l2{background:#a8743e}.zwb .l3{background:#d6b27c}
.zwb-l{display:flex;flex-wrap:wrap;gap:6px 18px;margin:10px 0 0;padding:0;list-style:none;font-size:14px;color:var(--muted)}
.zwb-l li{display:flex;align-items:center;gap:6px}.zwb-l li i{display:inline-block;width:12px;height:12px;border-radius:3px}.zwb-l b{color:var(--fg);font-weight:700}
.zwb-n{margin:10px 0 0;font-size:14.5px;color:var(--muted)}.zwb-n b{color:var(--fg)}
.zcmp tr.on td{background:rgba(14,124,134,.1);font-weight:700}
.zcmp em{font-style:normal;font-size:12px;font-weight:700;color:#0a6e78;background:rgba(14,124,134,.12);border-radius:999px;padding:2px 8px;margin-left:6px;white-space:nowrap}
.zwhat{margin:4px 0 6px;padding:12px 16px;border-left:4px solid #0e7c86;background:rgba(14,124,134,.07);border-radius:10px;font-size:15px;color:var(--fg)}
:root[data-theme="dark"] .zcmp em{color:#5fe0e8;background:rgba(95,224,232,.12)}:root[data-theme="dark"] .zcmp tr.on td{background:rgba(95,224,232,.08)}:root[data-theme="dark"] .zwhat{border-left-color:#5fe0e8;background:rgba(95,224,232,.06)}
.mx label>span i,.xp-prog span{opacity:1!important}
/* water-system keys and the Reinplast line scope list (light cards) */
:root:not([data-theme="dark"]) .ws-air .ws-k{color:#7a5c00!important}
:root:not([data-theme="dark"]) .ws-water .ws-k{color:#2f6fae!important}
:root:not([data-theme="dark"]) .ws-zld .ws-k{color:#0a6e78!important}
:root:not([data-theme="dark"]) .ws-acid .ws-k{color:#9a4520!important}
:root:not([data-theme="dark"]) .ln-scope .t{color:#945400!important}
:root:not([data-theme="dark"]) .ln-scope .y{color:#0f7a4f!important}
:root:not([data-theme="dark"]) :is(.ln-scope .r,li>b>em[style*="#25adb8"]){color:#0a6e78!important}
:root:not([data-theme="dark"]) li>b>em[style*="#e8a317"]{color:#945400!important}
:root:not([data-theme="dark"]) :is(.lineup a>b>i,.st-h .opt,.flow-more){color:#945400!important}

/* amber labels on the navy "ask" panels (both modes): 4.0:1 -> 5.4:1 */
.ask-in .k,.need-h,.ask .k{color:#ffc35a!important}
#oMail{color:#111!important;background:#e8a317!important;border-color:#e8a317!important}

/* dark mode: the blue accent was 4.0:1 as text on the dark panels. Lighter accent for text,
   and dark text on the few places that use it as a fill. */
:root[data-theme="dark"]{--acc:#5b9bd5;--acc-fg:#0b1622;--dim:#8ea3b8}
:root[data-theme="dark"] :is(.dsw .on,.dsw .on>b,.dsw .on>small){color:#000!important}
:root[data-theme="dark"] :is(.parts li>span,.stages .n,.gl.on,.cs h2 i,.seg.mode button[aria-pressed="true"],.av,button[data-div][aria-pressed="true"],button[data-cat][aria-pressed="true"],button[data-mode][aria-pressed="true"],button[data-div][aria-pressed="true"]>i,button[data-cat][aria-pressed="true"]>i){color:#0b1622!important}
:root[data-theme="dark"] button[aria-pressed="true"]>i{opacity:1!important}
:root[data-theme="dark"] .dv-p .k,:root[data-theme="dark"] .dv-p .go{color:#ff7a7a!important}
:root[data-theme="dark"] :is(.ab-eye,.cx-nav a:not([aria-current="true"]) small){color:#8fd8de!important}
:root[data-theme="dark"] .ws-water .ws-k{color:#7fb4e3!important}
:root[data-theme="dark"] .ws-zld .ws-k{color:#3fc1ca!important}
:root[data-theme="dark"] .ws-acid .ws-k{color:#ec8a5e!important}
:root[data-theme="dark"] .v39-mgmt{color:#a3b5c7}
:root[data-theme="dark"] .pri.v31-btn.teal{color:#062126!important}

/* touch targets: small inline links in the footer and contact blocks, and the e-mail pills */
a[href^="mailto:"]{padding-top:3px!important;padding-bottom:3px!important}
footer p a,.foot p a,.v31-foot p a{display:inline-block;min-height:24px;padding-top:2px;padding-bottom:2px}
/* pultrusion: the animated line is the hero visual until a photo of the SHIVAS Products India line is supplied */
.pu-hero .pu-hfig{margin:6px 0 0}
.pu-hero .pu-logo{width:200px;height:auto}
/* buttons that are e-mail links keep the button shape (the e-mail pill style is for inline addresses) */
a.btn[href^="mailto:"],a.v31-btn[href^="mailto:"]{display:inline-flex!important;align-items:center;justify-content:center;padding:0 20px!important;word-break:normal}

/* ==================== MOTION LAYER (14 Nov 2026) ====================
   Scroll reveal. site.js adds .rv only when JS runs, the visitor allows motion,
   and the page is not one of the three division apps. Without JS nothing is hidden. */
body:not([data-pt="app"]) .rv{opacity:0;transform:translateY(16px);transition:opacity .6s cubic-bezier(.2,.6,.2,1),transform .6s cubic-bezier(.2,.6,.2,1)}
body:not([data-pt="app"]) .rv.rv-in{opacity:1;transform:none}
@media (prefers-reduced-motion:reduce){body:not([data-pt="app"]) .rv{opacity:1;transform:none;transition:none}}
/* the division apps use .rv/.in for their own reveal (transform only): never hide those (23 Nov 2026: the kettle drawing was invisible) */

/* ==================== FILTER LAYER (15 Nov 2026) ====================
   Phones: the product and article filters took the whole first screen (5+ rows), so no result was visible.
   Now: search on its own row, the division / topic chips as one swipeable row, family + photos + count below. */
@media (max-width:640px){
 .flt{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px;align-items:center}
 .flt input[type=search],.flt .seg,.flt .cnt{grid-column:1/-1}
 .flt .seg{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:0 -10px;padding:0 10px;
   -webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 28px),transparent)}
 .flt .seg::-webkit-scrollbar{display:none}
 .flt .seg::after{content:"";flex:0 0 18px}
 .flt .seg button{flex:none;white-space:nowrap}
 .flt select{width:100%;min-width:0}
 .flt .chk{white-space:nowrap}
 .flt .cnt{margin:0;width:auto}
}
/* calculators: hints in labels at full strength (AA on the light form), and the selected galvanizing or FRP card
   in dark mode on a deep navy so its white text passes */
.cx-in .fld em{opacity:1}
:root[data-theme="dark"] .cx-nav a.d-hdg[aria-current="true"]{background:#1f4e79;border-color:#4f8fca}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]) .cx-nav a.d-hdg[aria-current="true"]{background:#1f4e79;border-color:#4f8fca}}
/* product pages: articles from our engineers */
.rdl{list-style:none;margin:0;padding:0;display:grid;gap:10px;grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
.rdl a{display:grid;gap:4px;height:100%;padding:14px 16px;border:1px solid var(--line);border-left:4px solid var(--amber,#e8a317);border-radius:10px;background:var(--panel);color:var(--fg);text-decoration:none}
.rdl a:hover{border-color:var(--acc,#1f4e79)}
.rdl b{font-size:16px;line-height:1.3}
.rdl span{font-size:13px;color:var(--muted)}
/* calculators: keep room for the calculator while its script builds it, so nothing below it jumps (Lighthouse CLS) */
#calcs.cx{min-height:760px}
@media (max-width:899px){#calcs.cx{min-height:980px}}
/* ==================== CALCULATOR PLACES (23 Nov 2026) ====================
   Each calculator also sits on the pages it belongs to: a set on each division page (#tools, #rein-calc), one or two
   on product pages (#calc) and one on its own page (calculators/*.html). Built by mount() in assets/calcs.js. */
.tools .cx-app{margin:26px 0 22px}
.tools .tools-h{margin:38px 0 6px}
.tools .tools-p{margin:0 0 16px;color:var(--muted);max-width:72ch}
.cxsec .sub{max-width:72ch}
.cxsec .cx-one{margin-top:14px}
.cxpg .cx-one{margin-top:8px}
.cxpg .cxl{list-style:none;margin:0;padding:0;display:grid;gap:10px;grid-template-columns:repeat(auto-fill,minmax(240px,1fr))}
.cxpg .cxl a{display:grid;gap:3px;height:100%;padding:12px 14px;border:1px solid var(--line);border-left:4px solid var(--acc,#1f4e79);border-radius:10px;background:var(--panel);color:var(--fg);text-decoration:none}
.cxpg .cxl a:hover{border-color:var(--acc,#1f4e79)}
.cxpg .cxl b{font-size:15.5px;line-height:1.3}
.cxpg .cxl span{font-size:13px;color:var(--muted)}
.cxpg .cxin{margin:0;padding-left:20px;display:grid;gap:4px;max-width:80ch}
.cxpg .cxin li{line-height:1.5}
@media (max-width:899px){.cx-one:not(.cx-on),.cx-app:not(.cx-on){min-height:900px}}
