/* Al Ansaar Engineering: site styles. Direction B "Powder coat and zinc" (prep/06_DESIGN_SYSTEM.md).
   Hand-written; no framework. The drawings' phone rules are appended by build/generate.py. */
@font-face{font-family:Archivo;src:url(fonts/archivo-latin-wdth-100-112.woff2) format("woff2");font-weight:400 700;font-stretch:100% 112%;font-display:swap}
:root{--zw:#F2F3F1;--white:#FFFFFF;--graphite:#1E2125;--steel:#5B636C;--zinc:#C7CCD1;--powder:#D9520B;--powder-ink:#B3420A;--error:#A4260D;
  --max:1200px;--ease:cubic-bezier(.2,.7,.2,1);--ease-in:cubic-bezier(.25,1,.5,1);--ease-click:cubic-bezier(.3,1.6,.5,1)}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:92px}
body{margin:0;background:var(--zw);color:var(--graphite);font:400 17px/1.6 Archivo,"Segoe UI",Roboto,Arial,system-ui,sans-serif;font-stretch:100%}
h1,h2{font-stretch:112%;font-weight:620;letter-spacing:-.012em;margin:0}
h1{font-size:clamp(34px,4.4vw,58px);line-height:1.04}
h2{font-size:clamp(27px,3.4vw,40px);line-height:1.1}
h3{font-size:19px;line-height:1.3;font-weight:600;font-stretch:104%;margin:0}
p{margin:0}
a{color:inherit;text-underline-offset:.16em}
img,svg{max-width:100%}
img{height:auto}
[hidden]{display:none!important}
:focus-visible{outline:2px solid var(--powder);outline-offset:2px}
main:focus{outline:none}
.wrap{max-width:var(--max);margin:0 auto;padding:0 24px}
.vh{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.skip{position:absolute;left:-9999px;top:12px;z-index:30;background:var(--white);color:var(--graphite);padding:10px 14px;border:2px solid var(--graphite)}
.skip:focus{left:16px}
.lead{font-size:19px;line-height:1.55;color:var(--steel);max-width:66ch}
.hint{font-size:14.5px;line-height:1.45;color:var(--steel)}
.placeholder{background:#FFF4E5;color:#7A3E00}

/* buttons: one name per action everywhere (Request a quote, More info, Send enquiry) */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 20px;border-radius:2px;background:var(--graphite);color:#fff;font:inherit;font-weight:500;font-size:16px;line-height:1.2;text-decoration:none;border:1px solid var(--graphite);cursor:pointer;text-align:center}
.btn:hover{background:#000}
.btn.ghost{background:transparent;color:var(--graphite)}
.btn.ghost:hover{background:var(--white)}
.btn.light{background:#fff;color:var(--graphite);border-color:#fff}
.btn.light:hover{background:#E6E8EB}
.btn.outline-light{background:transparent;color:#fff;border-color:#fff}
.btn.outline-light:hover{background:#2E3237}
.btn.small{min-height:44px;padding:0 14px;font-size:15px}
.btn[disabled]{opacity:.6;cursor:default}
.actions{display:flex;gap:12px;flex-wrap:wrap}

/* header */
.site-head{position:sticky;top:0;z-index:20;background:var(--zw);border-bottom:1px solid var(--zinc)}
.site-head .wrap{display:flex;align-items:center;gap:28px;min-height:72px}
.logo{display:block;flex:none}
.logo img{height:38px;width:auto;display:block}
nav.main{margin-left:auto;display:flex;align-items:center;gap:26px;font-size:16px}
nav.main a:not(.btn){text-decoration:none;padding:8px 0;min-width:44px;border-bottom:2px solid transparent}
nav.main a:not(.btn):hover{border-bottom-color:var(--zinc)}
nav.main a[aria-current]{border-bottom-color:var(--powder)}
nav.main .nav-call{display:none}
.menu-btn{display:none;margin-left:auto;background:none;border:1px solid var(--graphite);border-radius:2px;min-height:44px;min-width:76px;padding:0 14px;font:inherit;font-weight:500;font-size:16px;color:var(--graphite);cursor:pointer}

/* page furniture */
.prose a,.cblocks a{overflow-wrap:anywhere}
a[href^="tel:"]{white-space:nowrap;overflow-wrap:normal}          /* a phone number never breaks across two lines */
.cblocks p a,.contact p a,.site-foot p a{display:inline-block}   /* phone and email links are full-height tap targets (WCAG 2.5.8) */
.page-head{padding-top:34px;padding-bottom:30px}
.page-head .lead{margin-top:16px}
.page-head .actions{margin-top:24px}
.page-head p+p{margin-top:12px}
.crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:4px 8px;margin:0 0 20px;padding:0;font-size:14.5px;color:var(--steel)}
.crumbs li+li::before{content:"/";margin-right:8px;color:#8A9199}
.crumbs a{color:var(--steel)}
.crumbs [aria-current]{color:var(--graphite)}
.count{color:var(--steel);margin-top:14px}
section.block{padding:88px 0}
section.block.tight{padding:0 0 88px}
section.block.white{background:var(--white);border-top:1px solid var(--zinc);border-bottom:1px solid var(--zinc);padding:88px 0}
.head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:34px}
.head p{color:var(--steel);max-width:52ch}
.after-tiles{margin-top:20px}
.prose>*{max-width:72ch}
.prose h2{font-size:clamp(23px,2.6vw,28px);margin:40px 0 12px}
.prose h2:first-child{margin-top:0}
.prose p,.prose ul{margin:12px 0}
.prose ul{padding-left:22px}
.prose li{margin:6px 0}
.prose li::marker{color:var(--powder)}
.linkrow{display:flex;gap:24px;flex-wrap:wrap;margin-top:28px}
.draft{background:#FFF4E5;border:1px solid #F0C68A;padding:12px 14px}

/* home hero */
.hero{padding:56px 0 40px}
.hero .wrap{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:24px;align-items:center}
.hero .copy{grid-column:1/span 6}
.hero .lead{margin:22px 0 30px;max-width:38ch}
.hero .fig{grid-column:7/span 6}
.fig{margin:0;container-type:inline-size;min-width:0}
.art{overflow:hidden}
.legend{display:none;margin:12px 0 0;padding-left:22px;font-size:15px;color:var(--steel)}
.legend li::marker{color:var(--powder-ink);font-weight:600}
.facts{border-top:1px solid var(--zinc);border-bottom:1px solid var(--zinc)}
.facts ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.facts li{padding:20px 24px 20px 0;font-size:15.5px;line-height:1.45;color:var(--steel)}
.facts li+li{padding-left:24px;border-left:1px solid var(--zinc)}
.facts b{display:block;color:var(--graphite);font-weight:600;font-size:16.5px}

/* category tiles */
.tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--zinc);border:1px solid var(--zinc)}
.tile{background:var(--zw);padding:22px 20px 20px;text-decoration:none;display:grid;grid-template-rows:110px auto auto;align-items:end;min-height:200px}
.tile:hover{background:var(--white)}
.tile-art{align-self:center;display:block;height:96px}
.tile-art svg{height:96px;width:auto;display:block}
.tile .tname{font-weight:600;font-size:17px;line-height:1.3;margin-top:8px}
.tile .tcount{color:var(--steel);font-size:15px}
.tile.all{background:var(--white);align-content:end}
.tile-search{grid-template-rows:auto;align-content:end;row-gap:2px}
.tile-search .tname{margin-top:0}
.tile-row{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.tile-row input{flex:1 1 120px;min-width:0}
.tile-row .btn{flex:0 0 auto}

/* product cards */
.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 24px}
.card{position:relative;display:flex;flex-direction:column;min-width:0}
.well{position:relative;display:block;background:var(--white);border:1px solid var(--zinc);border-radius:4px;aspect-ratio:4/3;min-height:0}
.well img{position:absolute;inset:16px;width:calc(100% - 32px);height:calc(100% - 32px);object-fit:contain}
.well img.native{object-fit:scale-down}   /* small catalogue photos are never enlarged */
.ph-art{position:absolute;inset:20%;display:flex;align-items:center;justify-content:center}
.ph-art svg{max-height:100%;width:auto}
.card h2,.card h3{font-size:19px;line-height:1.3;font-weight:600;font-stretch:104%;letter-spacing:0;margin:16px 0 6px}
.card p{color:var(--steel);font-size:15.5px;line-height:1.5;flex:1}
.card .actions{gap:8px;margin-top:16px}
.card .btn{min-height:44px;padding:0 14px;font-size:15px}
.card .more::after{content:"";position:absolute;inset:0}
.card .btn:not(.more){position:relative;z-index:1}
.card:hover .well{border-color:var(--steel)}

/* products listing */
.filterbar{display:grid;grid-template-columns:minmax(0,1fr);gap:18px;align-items:start;padding:20px 0;border-top:1px solid var(--zinc);border-bottom:1px solid var(--zinc)}
.search{max-width:560px}
.filtergroup{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px 14px;align-items:start}
.filters{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.flabel{font-weight:600;line-height:44px}
.search-row .btn{white-space:nowrap}
input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}   /* the page has its own Clear search button */
.chip{background:var(--white);color:var(--graphite);border:1px solid var(--steel);border-radius:2px;min-height:44px;padding:0 12px;font:inherit;font-size:15px;cursor:pointer}
.chip:hover{border-color:var(--graphite)}
.chip[aria-pressed="true"]{background:var(--graphite);color:#fff;border-color:var(--graphite);box-shadow:inset 0 -3px 0 var(--powder)}
.search label{display:block;font-weight:600;margin-bottom:6px}
.search-row{display:flex;gap:8px}
.search .hint{margin-top:6px}
.results{margin-top:20px;font-weight:500}
.results:empty{display:none}
.no-results{margin-top:12px;display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.cat-section{padding-top:48px}
.cat-section h2{font-size:clamp(23px,2.6vw,28px);margin-bottom:20px}
.cat-section h2 a{text-decoration-thickness:1px}
.closing{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-top:44px;padding:20px 24px;background:var(--white);border:1px solid var(--zinc)}
.sizes-note{margin-top:14px;color:var(--steel);font-size:15px}

/* product page */
.product{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:24px 40px;align-items:start}
.gallery{grid-column:1/span 5;min-width:0}
.pinfo{grid-column:6/span 7;min-width:0}
.pinfo h1{font-size:clamp(30px,3.6vw,46px)}
.pinfo .lead{margin:16px 0 24px}
.thumbs{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 0;padding:0}
.thumbs a{position:relative;display:block;width:96px;height:72px;background:var(--white);border:1px solid var(--zinc);border-radius:4px}
.thumbs img{position:absolute;inset:6px;width:calc(100% - 12px);height:calc(100% - 12px);object-fit:contain}
.psec{margin-top:36px}
.psec h2{font-size:clamp(22px,2.4vw,26px);margin-bottom:12px}
.psec p{max-width:70ch}
.psec p+p{margin-top:12px}
dl.specs{margin:0;border-top:1px solid var(--zinc)}
dl.specs div{display:grid;grid-template-columns:minmax(110px,32%) minmax(0,1fr);gap:16px;padding:10px 0;border-bottom:1px solid var(--zinc)}
dl.specs dt{color:var(--steel)}
dl.specs dd{margin:0}
.also{margin-top:24px;padding:16px 20px;background:var(--white);border:1px solid var(--zinc)}
.also a{margin-left:8px}

/* tables */
.table-wrap{overflow-x:auto;container:spec / inline-size}
table.spec{width:100%;border-collapse:collapse;background:var(--white);font-size:15.5px;line-height:1.4;font-variant-numeric:tabular-nums}
table.spec caption{caption-side:top;text-align:left;font-size:14.5px;color:var(--steel);padding:0 0 8px}
table.spec th,table.spec td{padding:10px 12px;text-align:left;vertical-align:top}
table.spec thead th{font-weight:600;font-size:14.5px;border-bottom:2px solid var(--graphite);vertical-align:bottom}
table.spec tbody th{font-weight:500;white-space:nowrap}
table.spec tbody th,table.spec td{border-bottom:1px solid var(--zinc)}
table.spec.plain tbody th{white-space:normal;font-weight:500}
table.spec .num{text-align:right;white-space:nowrap}
table.spec thead .num{white-space:normal}
table.spec .fold{display:none}
table.spec sup{color:var(--powder-ink);font-weight:600}
.tnote{font-size:14.5px;color:var(--steel);margin-top:8px}
@container spec (max-width:599px){
  table.spec.has-fold .dimc{display:none}
  table.spec.has-fold .fold{display:table-cell}
}
@container spec (max-width:430px){
  table.spec{font-size:13.5px}
  table.spec th,table.spec td{padding:8px 6px}
  table.spec thead th{font-size:13px}
}
@container spec (max-width:319px){   /* only the smallest phones: a size may wrap. Wider, "245 × 223 × 82" stays on one line (checked on every product at 340 to 430 px) */
  table.spec td.fold{white-space:normal}
}

/* custom boards, process, about */
.custom .wrap{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:24px;align-items:center}
.custom .fig{grid-column:1/span 7}
.custom .copy{grid-column:8/span 5}
.custom .copy p{color:var(--steel);margin:18px 0}
.custom ul{margin:0 0 26px;padding-left:20px}
.custom li{margin:4px 0}
.custom li::marker{color:var(--powder)}
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--zinc);border:1px solid var(--zinc)}
.step{background:var(--zw);padding:24px;min-width:0}
.step .n{font-stretch:112%;font-weight:620;font-size:28px;line-height:1;color:var(--powder-ink)}
.step svg{display:block;height:170px;max-width:100%;width:auto;margin:6px auto 14px}   /* drawn at 1:1 (viewBox height 170) */
.step p{color:var(--steel);font-size:15.5px;margin-top:6px}
.how{list-style:none;counter-reset:how;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.how li{counter-increment:how;border-top:2px solid var(--graphite);padding-top:16px}
.how li::before{content:counter(how);display:block;font-stretch:112%;font-weight:620;font-size:28px;line-height:1;color:var(--powder-ink);margin-bottom:10px}
.how p{color:var(--steel);margin-top:6px}
.about .wrap{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:24px;align-items:center}
.about .copy{grid-column:1/span 6}
.about .copy p{color:var(--steel);margin-top:18px;max-width:58ch}
.about .copy .lead{margin-top:0;color:var(--graphite)}
.about figure{grid-column:8/span 5;margin:0}
figure img{display:block;border-radius:4px}
figcaption{font-size:14px;color:var(--steel);margin-top:8px}
.photos{display:flex;flex-wrap:wrap;gap:24px;align-items:flex-start;margin:20px 0}
.photos figure{margin:0;min-width:0}
.addr{margin-top:8px}
h2+.table-wrap,h2+.photos{margin-top:20px}

/* contact band, quote band */
.contact{background:var(--graphite);color:#fff;padding:80px 0}
.contact h2{color:#fff}
.contact .grid{display:grid;grid-template-columns:repeat(5,minmax(0,auto));justify-content:space-between;gap:24px 32px;margin:34px 0 36px}
.contact h3{font-size:16px;color:#C7CCD1;font-weight:500;font-stretch:100%;margin-bottom:6px}
.contact a{color:#fff}
.contact p{line-height:1.75}
.band{background:var(--graphite);color:#fff;padding:52px 0}
.wrap+.band{margin-top:88px}
.band .wrap{display:flex;align-items:center;justify-content:space-between;gap:24px 40px;flex-wrap:wrap}
.band h2{font-size:clamp(24px,2.8vw,32px);color:#fff}
.band p{color:#C7CCD1;margin-top:8px;max-width:52ch}
section.block.more{padding:72px 0 88px}

/* contact page and form */
.contact-page{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:40px 24px;padding-bottom:96px;align-items:start}
.cblocks{grid-column:1/span 4;display:grid;gap:22px}
.cblocks h2{font-size:16px;font-stretch:100%;font-weight:600;letter-spacing:0;color:var(--steel);margin-bottom:4px}
.cblocks p+p{margin-top:8px}
.form-sec{grid-column:6/span 7;background:var(--white);border:1px solid var(--zinc);padding:32px}
.form-sec h2{font-size:clamp(24px,2.8vw,32px)}
.form-intro{color:var(--steel);margin:10px 0 22px}
.preview-note{background:#FFF4E5;border:1px solid #F0C68A;padding:10px 12px;font-size:15px;margin:0 0 22px}
.form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 16px}
.f-enquiry_type,.f-product,.f-message,.form-status,.privacy-line{grid-column:1/-1}
.form .btn{grid-column:1/-1;justify-self:start;min-width:160px}
.field label{display:block;font-weight:600;margin-bottom:6px}
.field .hint{margin:-2px 0 6px}
input,select,textarea{display:block;width:100%;font:inherit;font-size:17px;line-height:1.4;color:var(--graphite);background:var(--white);border:1px solid var(--steel);border-radius:2px;padding:10px 12px;min-height:46px}
textarea{resize:vertical;min-height:140px}
[aria-invalid="true"]{border-color:var(--error);box-shadow:inset 0 0 0 1px var(--error)}
.field-error{color:var(--error);font-size:15px;font-weight:500;margin-top:6px}
.form-status{padding:12px 14px;background:var(--zw);border-left:4px solid var(--steel)}
.form-status:empty{display:none}
.form-status.ok{border-left-color:#2E7D4F}
.form-status.fail{border-left-color:var(--error)}
.privacy-line{font-size:15px;color:var(--steel)}
.hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.notfound{padding-bottom:96px}
.notfound .actions{margin:28px 0}

/* footer */
.site-foot{background:#16181B;color:#C7CCD1;padding:56px 0 40px;font-size:15px;line-height:1.7}
.site-foot .wrap{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1.2fr) minmax(0,.9fr) minmax(0,1.5fr);gap:32px 40px}
.foot-brand img{height:30px;width:auto;display:block;margin-bottom:16px}
.site-foot h2{font-size:15px;font-stretch:100%;font-weight:600;letter-spacing:0;color:#fff;margin-bottom:10px}
.site-foot ul{list-style:none;margin:0;padding:0}
.site-foot li{margin:2px 0}
.site-foot a{color:#fff}
.site-foot li a{text-decoration:none;display:inline-block;padding:3px 0}
.site-foot li a:hover{text-decoration:underline}
.site-foot p+p{margin-top:12px}
.legal{grid-column:1/-1;border-top:1px solid #2E3237;padding-top:18px;color:#9AA1A9;font-size:14px}
.site-foot .placeholder{background:none;color:#E9B48F;padding:0}

/* drawings (inline SVG in "site" mode from tools/illustrations: classes only, colours here) */
.iso{display:block;width:100%;height:auto}
.iso text{fill:var(--graphite);font-family:Archivo,"Segoe UI",Roboto,Arial,sans-serif}
.iso-line{fill:none;stroke:var(--powder);stroke-linecap:round;stroke-linejoin:round}
.iso .w1{stroke-width:1.1px}.iso .w2{stroke-width:.7px}.iso .w3{stroke-width:.45px}
.iso-icon .w1{stroke-width:2.2px}.iso-icon .w2{stroke-width:1.4px}.iso-icon .w3{stroke-width:.9px}
.iso-step .w1{stroke-width:1.54px}.iso-step .w2{stroke-width:.98px}.iso-step .w3{stroke-width:.63px}
.iso .ghost{stroke:#B9A496}
.t-top{fill:#FAFBFA}.t-front{fill:#E9ECEE}.t-side{fill:#D8DDE1}.t-hole{fill:#C9CED3}
.t-otop{fill:#FDF3EC}.t-ofront{fill:#F8E1D2}.t-oside{fill:#EFCCB6}.t-ohole{fill:#E3B497}
.iso .dot{fill:var(--powder)}
.iso-hero .lbl{font-size:16.5px}.iso-hero .dim{font-size:15.18px}
.iso-figure .lbl{font-size:15.5px}.iso-figure .dim{font-size:14.26px}
.iso .lbl-narrow,.iso-num{display:none}
.iso-num circle{fill:var(--powder)}
.iso-num text{fill:#fff;font-weight:600}
.iso-hero .iso-num text{font-size:14.85px}.iso-figure .iso-num text{font-size:13.95px}

/* drawings: animation (storyboards in prep/07_ILLUSTRATIONS.md). The resting state is the finished drawing:
   start states exist only in each keyframe's "from", so reduced motion and no-JavaScript show it complete. */
@keyframes iso-draw{from{stroke-dashoffset:1}}
@keyframes iso-fade{from{opacity:0}}
@keyframes iso-back{from{transform:translate(8.7px,-5px);opacity:0}}
@keyframes iso-fwd{from{transform:translate(-10.4px,6px);opacity:0}}
@keyframes iso-click{from{transform:translate(-5.2px,3px);opacity:0}}
@keyframes iso-slide{from{transform:translate(-6.9px,4px);opacity:0}}
@keyframes iso-drop{from{transform:translate(0,-8px);opacity:0}}
@keyframes iso-left{from{transform:translate(-8px,0);opacity:0}}
@keyframes iso-pop{from{transform:scale(0)}}
@keyframes iso-flash{0%,45%{opacity:0}20%{opacity:1}}
@keyframes iso-spray{0%{opacity:0}45%{opacity:1}70%{opacity:.35}}
@keyframes iso-breathe{50%{opacity:.55}}
.iso-hero .iso-line:not(.ghost),.iso-figure .iso-line:not(.ghost),.iso-step .iso-line:not(.ghost){stroke-dasharray:1;animation:iso-draw .8s var(--ease) calc(var(--s,0s) + var(--d,0s)) both}
.iso-hero .iso-fill,.iso-figure .iso-fill,.iso-step .iso-fill{animation:iso-fade .6s ease-out calc(var(--s,0s) + var(--d,0s) + .35s) both}
.iso-hero .ghost,.iso-figure .ghost,.iso-step .ghost{animation:iso-fade .4s ease-out calc(var(--s,0s) + var(--d,0s)) both}
.iso-hero text,.iso-figure text{animation:iso-fade .4s ease-out calc(var(--d,0s) + .3s) both}
.iso-hero .dot,.iso-figure .dot{transform-box:fill-box;transform-origin:center;animation:iso-pop .3s var(--ease-click) var(--d,0s) both}
.iso-hero .iso-num,.iso-figure .iso-num{animation:iso-fade .4s ease-out var(--d,3.4s) both}
/* hero: plays on page load, about 4.6 s, then the callout dots breathe */
.iso-hero [data-part="din-rails"]{--d:.9s;animation:iso-back .6s var(--ease-in) .9s both}
.iso-hero [data-part="inner-cover"]{--d:1.4s;animation:iso-fwd .7s var(--ease-in) 1.4s both}
.iso-hero [data-part="breakers-row-1"]{--d:2.1s;animation:iso-click .26s var(--ease-click) 2.1s both}
.iso-hero [data-part="breakers-row-2"]{--d:2.4s;animation:iso-click .26s var(--ease-click) 2.4s both}
.iso-hero [data-part="breakers-row-3"]{--d:2.7s;animation:iso-click .26s var(--ease-click) 2.7s both}
.iso-hero [data-part="isolator-ghost"]{--d:3s;animation:iso-click .26s var(--ease-click) 3s both}
.iso-hero [data-part="door"],.iso-hero [data-part="hinges"]{--d:2.6s}
.iso-hero .iso-dim{--d:3.4s}
.iso-hero .iso-callout{--d:3.5s}
.iso-hero .iso-callout~.iso-callout{--d:3.6s}
.iso-hero .iso-callout~.iso-callout~.iso-callout{--d:3.7s}
.iso-hero .iso-callout~.iso-callout~.iso-callout~.iso-callout{--d:3.8s}
.iso-hero .dot{animation:iso-pop .3s var(--ease-click) var(--d,0s) both,iso-breathe 3s ease-in-out calc(var(--d,0s) + 1.1s) infinite}
/* JSO two-door board: plays once when scrolled into view, about 3.6 s */
.iso-figure [data-part="jso-cover"]{--d:.8s;animation:iso-fwd .5s var(--ease-in) .8s both}
.iso-figure [data-part="centre-post"]{--d:1.3s}
.iso-figure [data-part="left-door"]{--d:1.6s}
.iso-figure [data-part="right-door"]{--d:2.3s}
.iso-figure .iso-dim{--d:3s}
.iso-figure .iso-callout{--d:3.1s}
.iso-figure .iso-callout~.iso-callout{--d:3.2s}
.iso-figure .iso-callout~.iso-callout~.iso-callout{--d:3.3s}
/* process steps: about 1.6 s each, 0.15 s apart */
.step:nth-child(2){--s:.15s}.step:nth-child(3){--s:.3s}.step:nth-child(4){--s:.45s}.step:nth-child(5){--s:.6s}.step:nth-child(6){--s:.75s}
.iso-step [data-part="sheet-1"]{animation:iso-drop .35s var(--ease-in) var(--s,0s) both}
.iso-step [data-part="sheet-2"]{--d:.2s;animation:iso-drop .35s var(--ease-in) calc(var(--s,0s) + .2s) both}
.iso-step [data-part="sheet-3"]{--d:.4s;animation:iso-drop .35s var(--ease-in) calc(var(--s,0s) + .4s) both}
.iso-step [data-part="sheet-4"]{--d:.6s;animation:iso-drop .35s var(--ease-in) calc(var(--s,0s) + .6s) both}
.iso-step [data-part="folded-sheet"]{--d:.3s}
.iso-step [data-part="punch"]{--d:.7s;animation:iso-drop .45s var(--ease-in) calc(var(--s,0s) + .7s) both}
.iso-step [data-part="seam"]{--d:.5s}
.iso-step [data-part="torch"]{--d:.8s}
.iso-step [data-part="torch"] .iso-line:nth-last-child(-n+5){stroke-dasharray:none;animation:iso-flash .9s linear calc(var(--s,0s) + 1.1s) both}
.iso-step [data-part="spray"]{--d:.9s;animation:iso-spray 1s ease-in-out calc(var(--s,0s) + .9s) both}
.iso-step [data-part="tray"]{--d:.6s;animation:iso-slide .5s var(--ease-in) calc(var(--s,0s) + .6s) both}
.iso-step [data-part="truck"]{animation:iso-left .7s var(--ease-in) var(--s,0s) both}
.iso-process-4-coat [data-part="box"]{--d:.3s}
.iso-step [data-part="bundle"],.iso-step [data-part="folded-sheet-front"]{--d:.3s}
.iso-step [data-part="pedal"]{--d:.5s}
.iso-step [data-part="cover"]{--d:.9s;animation:iso-slide .5s var(--ease-in) calc(var(--s,0s) + .9s) both}
.iso-step [data-part="door"]{--d:1.2s;animation:iso-slide .5s var(--ease-in) calc(var(--s,0s) + 1.2s) both}
.iso-step [data-part="guides"]{--d:1.4s}
/* hold a drawing's animation until it is scrolled into view (only when the script is running) */
.js .reveal:not(.visible) .iso *{animation-play-state:paused}
@media (prefers-reduced-motion:reduce){.iso *{animation:none!important}}
@media print{.iso *{animation:none!important}.site-head{position:static}}

/* responsive. The menu button replaces the row of links below the width at which they stop fitting. */
@media (max-width:1079px){
  .site-head{position:static}
  .js .site-head{position:sticky}
  .site-head .wrap{flex-wrap:wrap;gap:0 16px}
  nav.main{flex-basis:100%;margin:0;flex-wrap:wrap;gap:0 22px;padding:0 0 12px}
  nav.main a:not(.btn){padding:10px 0}
  nav.main .head-cta{display:none}
  .js .menu-btn{display:inline-flex;align-items:center;justify-content:center}
  .js nav.main{display:none}
  .js nav.main.open{display:flex;flex-direction:column;align-items:stretch;gap:0;position:absolute;left:0;right:0;top:100%;background:var(--zw);border-bottom:1px solid var(--zinc);padding:4px 24px 22px;max-height:calc(100vh - 73px);max-height:calc(100dvh - 73px);overflow-y:auto}   /* dvh: the height Safari really shows, toolbars included; 73 px = the tallest header */
  .js nav.main.open a:not(.btn){padding:13px 0;border-bottom:1px solid var(--zinc);font-size:18px}
  .js nav.main.open a[aria-current]{border-bottom-color:var(--powder)}
  .js nav.main.open .nav-call{display:block}
  .js nav.main.open .head-cta{display:inline-flex;margin-top:18px}
}
@media (max-width:999px){
  .hero .copy,.hero .fig,.custom .fig,.custom .copy,.about .copy,.about figure,.gallery,.pinfo,.cblocks,.form-sec{grid-column:1/-1}
  .product,.contact-page{grid-template-columns:minmax(0,1fr)}
  .hero .lead{max-width:52ch}
  .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tiles{grid-template-columns:repeat(3,minmax(0,1fr))}
  .steps{grid-template-columns:repeat(2,minmax(0,1fr))}
  .facts ul{grid-template-columns:repeat(2,minmax(0,1fr))}
  .facts li:nth-child(3){padding-left:0;border-left:0}
  .facts li:nth-child(n+3){border-top:1px solid var(--zinc)}
  .filterbar{grid-template-columns:minmax(0,1fr)}
  .contact .grid{grid-template-columns:repeat(3,minmax(0,1fr));justify-content:normal}
  .site-foot .wrap{grid-template-columns:repeat(2,minmax(0,1fr))}
  .gallery{max-width:560px}
  .cblocks{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:639px){
  .wrap{padding-left:16px;padding-right:16px}
  section.block{padding:64px 0}
  section.block.tight{padding:0 0 64px}
  section.block.white{padding:64px 0}
  .head{display:block}.head p{margin-top:10px}
  .tiles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cards{grid-template-columns:minmax(0,1fr)}
  .steps,.how{grid-template-columns:minmax(0,1fr)}
  .contact .grid{grid-template-columns:minmax(0,1fr)}
  .facts ul{grid-template-columns:minmax(0,1fr)}
  .facts li,.facts li+li{padding:16px 0;border-left:0}
  .facts li+li{border-top:1px solid var(--zinc)}
  .hero{padding:32px 0 24px}
  .logo img{height:32px}
  .site-head .wrap{min-height:64px}
  .js nav.main.open{padding:4px 16px 22px}
  .band{padding:44px 0}
  .wrap+.band{margin-top:64px}
  section.block.more{padding:56px 0 64px}
  .form-sec{padding:22px 16px}
  .form{grid-template-columns:minmax(0,1fr)}
  .site-foot .wrap{grid-template-columns:minmax(0,1fr)}
  .cblocks{grid-template-columns:minmax(0,1fr)}
  .contact-page{padding-bottom:64px}
  .search-row{flex-wrap:wrap}
}
/* Products page on phones: one sideways-scrolling row of categories, and compact product rows (photo left, words right) */
@media (max-width:599px){
  .filtergroup{grid-template-columns:minmax(0,1fr);gap:6px}
  .flabel{line-height:1.4}
  .filters{flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x proximity;scroll-padding-inline:16px;margin:0 -16px;padding:2px 16px 8px;scrollbar-width:thin}
  .chip{flex:0 0 auto;white-space:nowrap;scroll-snap-align:start}
  #catalogue .cat-section h2{margin-bottom:4px}
  #catalogue .cards{gap:0}
  #catalogue .card{display:grid;grid-template-columns:88px minmax(0,1fr);grid-template-rows:auto auto 1fr;column-gap:14px;padding:14px 0;border-top:1px solid var(--zinc)}
  #catalogue .card .well{grid-row:1/span 3;align-self:start;aspect-ratio:1/1}
  #catalogue .card .well img{inset:6px;width:calc(100% - 12px);height:calc(100% - 12px)}
  #catalogue .card h2,#catalogue .card h3{margin:0 0 2px;font-size:17px}
  #catalogue .card p{font-size:15px;line-height:1.45;flex:none}
  #catalogue .card .actions{margin-top:2px}
  #catalogue .card .btn:not(.more){display:none}
  #catalogue .card .btn.more{min-height:44px;padding:0;border:0;background:none;color:var(--graphite);text-decoration:underline;font-size:15px;justify-content:flex-start}
}
@media (max-width:380px){.logo img{height:28px}.btn{padding:0 16px}}

/* generated by build/generate.py from the drawing manifests: phone layout of the labelled drawings */
@container (max-width:550px){.fig-hero .art svg{width:221.3%;max-width:none;margin-left:-72.2%}.fig-hero .iso-callout{display:none}.fig-hero .iso-num{display:inline}.fig-hero .legend{display:block}.fig-hero .iso-line.w1{stroke-width:1.5px}.fig-hero .iso-line.w2{stroke-width:1px}.fig-hero .iso-line.w3{stroke-width:.7px}}
@container (max-width:651px){.fig-jso .art svg{width:238.6%;max-width:none;margin-left:-59.4%}.fig-jso .iso-callout{display:none}.fig-jso .iso-num{display:inline}.fig-jso .legend{display:block}.fig-jso .iso-line.w1{stroke-width:1.5px}.fig-jso .iso-line.w2{stroke-width:1px}.fig-jso .iso-line.w3{stroke-width:.7px}}
/* hero drawing one step stronger (HERO_STRONGER in build/content.py) */
.iso-hero .w1{stroke-width:1.45px}.iso-hero .w2{stroke-width:.95px}.iso-hero .w3{stroke-width:.62px}
.iso-hero .t-otop{fill:#FBE8DB}.iso-hero .t-ofront{fill:#F4D3BE}.iso-hero .t-oside{fill:#E9BEA2}.iso-hero .t-ohole{fill:#DCA27F}
