/* Craftsman — OEM factory site. Layout: light catalogue look, 1200px column, soft grey bands, product photos on white. */
:root{
  --ink:#141414;
  --body:#2E2E33;
  --muted:#55555B;
  --line:#E4E4E6;
  --soft:#F3F3F2;
  --paper:#FFFFFF;
  --accent:#F26A1B;
  --accent-ink:#B4470A;
  --dark:#141414;
  --dark-muted:#B9B9BE;
  --font-display:"Inter Tight","Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --font-body:"Inter",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --radius:16px;
  color-scheme:light;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
body{margin:0;background:var(--paper);color:var(--body);font-family:var(--font-body);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:var(--accent-ink)}
a:hover{color:#8A3607}
:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:4px}
h1,h2,h3{font-family:var(--font-display);color:var(--ink);text-wrap:balance;margin:0;letter-spacing:-0.02em}
h1{font-size:clamp(2.3rem,5vw,3.8rem);line-height:1.04;font-weight:700}
h2{font-size:clamp(1.7rem,3vw,2.5rem);line-height:1.12;font-weight:700}
h3{font-size:1.15rem;line-height:1.3;font-weight:600;letter-spacing:-0.01em}
p{margin:0}
.wrap{max-width:1200px;margin:0 auto;padding-left:max(20px,env(safe-area-inset-left,0px));padding-right:max(20px,env(safe-area-inset-right,0px))}
.section{padding-block:88px}
.section.tight{padding-block:56px}
.band{background:var(--soft)}
.band-dark{background:var(--dark);color:var(--dark-muted)}
.band-dark h2,.band-dark h3,.band-dark strong{color:#fff}
.eyebrow{font-size:.8rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--accent-ink)}
.band-dark .eyebrow{color:var(--accent)}
.lead{font-size:1.2rem;color:var(--body);max-width:62ch}
.muted{color:var(--muted)}
.stack{display:flex;flex-direction:column;gap:16px}
.head-row{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px 32px;margin-bottom:36px}
.head-row > div{max-width:720px;display:flex;flex-direction:column;gap:10px}
.prose{max-width:68ch;display:flex;flex-direction:column;gap:16px}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 24px;border-radius:999px;font-weight:600;font-size:.98rem;text-decoration:none;border:1px solid transparent;cursor:pointer;font-family:inherit;transition:background .15s,color .15s,border-color .15s}
.btn-primary{background:var(--accent);color:var(--ink)}
.btn-primary:hover{background:#FF7F33;color:var(--ink)}
.btn-dark{background:var(--ink);color:#fff}
.btn-dark:hover{background:#2A2A2E;color:#fff}
.btn-outline{border-color:var(--ink);color:var(--ink);background:transparent}
.btn-outline:hover{background:var(--ink);color:#fff}
.btn-row{display:flex;flex-wrap:wrap;gap:12px}
.link-arrow{font-weight:600;text-decoration:none}
.link-arrow::after{content:" →"}

/* Header */
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:60;background:var(--paper)}
.site-header{position:sticky;top:env(safe-area-inset-top,0px);z-index:50;background:rgba(255,255,255,.96);backdrop-filter:saturate(1.2) blur(8px);border-bottom:1px solid var(--line)}
.site-header .wrap{display:flex;align-items:center;gap:24px;min-height:72px}
.logo img{height:26px;width:auto}
.nav{display:flex;gap:4px 22px;flex:1;justify-content:center;flex-wrap:wrap}
.nav a{color:var(--muted);text-decoration:none;font-size:.9rem;font-weight:500;padding:8px 0;border-bottom:2px solid transparent}
.nav a:hover{color:var(--ink)}
.nav a[aria-current="page"]{color:var(--ink);border-bottom-color:var(--accent)}
.header-cta{min-height:44px;padding:0 18px;font-size:.9rem}
.menu-btn{display:none;margin-left:auto;background:none;border:1px solid var(--line);border-radius:10px;width:44px;height:44px;align-items:center;justify-content:center;cursor:pointer;color:var(--ink)}
@media (max-width:1040px){
  .menu-btn{display:inline-flex}
  .header-cta{display:none}
  .nav{display:none;position:absolute;left:0;right:0;top:100%;background:var(--paper);border-bottom:1px solid var(--line);flex-direction:column;gap:0;padding:8px max(20px,env(safe-area-inset-right,0px)) 20px max(20px,env(safe-area-inset-left,0px))}
  .nav.open{display:flex}
  .nav a{padding:12px 0;border-bottom:1px solid var(--line);font-size:1rem}
  .nav a[aria-current="page"]{border-bottom-color:var(--line);color:var(--accent-ink)}
  .nav .btn{margin-top:14px;align-self:flex-start;border-bottom:0;color:var(--ink)}
}
.nav .btn{display:none}
@media (max-width:1040px){.nav .btn{display:inline-flex}}

/* Hero */
.hero{background:var(--soft)}
.hero .wrap{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:56px;align-items:center;padding-block:80px}
.hero-copy{display:flex;flex-direction:column;gap:20px}
.hero h1{max-width:14ch}
.hero .sub{font-size:1.25rem;color:var(--body);max-width:34ch}
.hero .products-line{font-size:.95rem;color:var(--muted)}
.hero .btn-row{margin-top:10px}
.hero-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.hero-grid figure{margin:0;background:var(--paper);border-radius:var(--radius);aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;padding:14px;max-width:100%}
.hero-grid img{max-height:100%;width:auto;object-fit:contain}
.page-hero{background:var(--soft)}
.page-hero .wrap{padding-block:72px;display:flex;flex-direction:column;gap:16px}
.page-hero h1{max-width:20ch;font-size:clamp(2.1rem,4.4vw,3.3rem)}
@media (max-width:860px){.hero .wrap{grid-template-columns:1fr;padding-block:56px;gap:36px}.section{padding-block:64px}}

/* Figures */
.figures{border-bottom:1px solid var(--line)}
.figures .wrap{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:28px;padding-block:40px}
.figure{display:flex;gap:14px;align-items:flex-start}
.figure svg{flex:none;width:34px;height:34px;stroke:var(--accent-ink)}
.figure b{display:block;font-family:var(--font-display);font-size:2rem;line-height:1;color:var(--ink);letter-spacing:-0.02em;font-variant-numeric:tabular-nums}
.figure span{display:block;margin-top:8px;font-size:.88rem;color:var(--muted);line-height:1.4}
@media (max-width:980px){.figures .wrap{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:420px){.figures .wrap{grid-template-columns:1fr}}

/* Logos */
.brands{text-align:center}
.brands .lead{margin:12px auto 0;font-size:1.05rem}
.logo-grid{margin-top:32px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.logo-tile{background:var(--paper);border:1px solid var(--line);border-radius:12px;height:108px;display:flex;align-items:center;justify-content:center;padding:10px 16px}
.logo-tile img{max-height:84px;width:auto;object-fit:contain}
@media (max-width:760px){.logo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.logo-tile{height:92px}}

/* Cards */
.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.card{border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;text-decoration:none;color:var(--body);display:flex;flex-direction:column;background:var(--paper);transition:border-color .15s,transform .15s}
a.card:hover{border-color:#C9C9CC;transform:translateY(-2px);color:var(--body)}
.card .ph{height:210px;display:flex;align-items:center;justify-content:center;border-bottom:1px solid var(--line);background:var(--paper);padding:12px}
.card .ph img{max-height:180px;width:auto;object-fit:contain}
.card .ph.placeholder{background:var(--soft);color:var(--muted);font-size:.85rem}
.card .body{padding:20px 22px 22px;display:flex;flex-direction:column;gap:6px}
.card p{font-size:.94rem;color:var(--muted)}
@media (max-width:900px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.cards{grid-template-columns:1fr}}

.features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.feature{background:var(--soft);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column}
.feature img{width:100%;height:260px;object-fit:cover}
.feature .body{padding:26px 28px 30px;display:flex;flex-direction:column;gap:10px}
.feature h3{font-size:1.35rem}
@media (max-width:800px){.features{grid-template-columns:1fr}}

/* Quality panel */
.panel-dark{background:var(--dark);color:var(--dark-muted);border-radius:20px;padding:48px}
.panel-dark h2{color:#fff}
.stages{list-style:none;margin:36px 0 0;padding:0;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;counter-reset:st}
.stages li{border-top:3px solid var(--accent);padding-top:12px;color:#fff;font-weight:600;font-size:.95rem;line-height:1.3;counter-increment:st}
.stages li::before{content:counter(st);display:block;font-weight:400;font-size:.8rem;color:var(--dark-muted);margin-bottom:2px}
.tests{margin-top:30px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;font-size:.95rem}
.audit-line{margin-top:30px;padding-top:22px;border-top:1px solid #333336;display:flex;flex-wrap:wrap;gap:6px 22px;align-items:baseline}
.audit-line b{color:#fff}
@media (max-width:900px){.stages{grid-template-columns:repeat(4,minmax(0,1fr))}.tests{grid-template-columns:1fr}.panel-dark{padding:32px 24px}}
@media (max-width:480px){.stages{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Steps */
.steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;counter-reset:step}
.steps li{border:1px solid var(--line);border-radius:var(--radius);padding:22px;counter-increment:step;display:flex;flex-direction:column;gap:6px}
.steps li::before{content:counter(step);width:36px;height:36px;border-radius:999px;background:var(--soft);color:var(--ink);font-weight:700;display:flex;align-items:center;justify-content:center;margin-bottom:8px}
.steps li:first-child::before{background:var(--accent)}
.steps b{font-family:var(--font-display);color:var(--ink);font-size:1.08rem}
.steps p{font-size:.92rem;color:var(--muted)}
@media (max-width:980px){.steps{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:480px){.steps{grid-template-columns:1fr}}

/* CTA */
.cta-box{background:var(--accent);border-radius:20px;padding:56px 48px;display:flex;flex-wrap:wrap;align-items:center;gap:24px 48px;color:var(--ink)}
.cta-box > div{flex:1 1 480px;display:flex;flex-direction:column;gap:10px;min-width:0}
.cta-box h2{font-size:clamp(1.6rem,3vw,2.2rem)}
.cta-box p{font-size:1.1rem}
@media (max-width:600px){.cta-box{padding:36px 24px}}

/* Tables */
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:12px}
table{border-collapse:collapse;width:100%;font-size:.95rem}
th,td{text-align:left;padding:13px 18px;border-bottom:1px solid var(--line);vertical-align:top}
tr:last-child td{border-bottom:0}
th{background:var(--soft);color:var(--ink);font-weight:600}
td:first-child{color:var(--ink);font-weight:500;white-space:nowrap}

/* Catalogue */
.filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:28px}
.filters button{font:inherit;font-size:.9rem;font-weight:500;min-height:42px;padding:0 16px;border-radius:999px;border:1px solid var(--line);background:var(--paper);color:var(--body);cursor:pointer}
.filters button[aria-pressed="true"]{background:var(--ink);color:#fff;border-color:var(--ink)}
.cat-group{margin-top:44px}
.cat-group:first-of-type{margin-top:0}
.cat-group > header{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 16px;margin-bottom:18px;padding-bottom:12px;border-bottom:1px solid var(--line)}
.cat-group > header p{color:var(--muted);font-size:.95rem}
.models{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:14px}
.model{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--paper);margin:0}
.model .img{aspect-ratio:1/1;display:flex;align-items:center;justify-content:center;padding:10px;max-width:100%}
.model img{max-height:100%;width:auto;object-fit:contain}
.model figcaption{padding:10px 12px 12px;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;gap:4px 8px;align-items:baseline}
.model figcaption b{color:var(--ink);font-size:.95rem;font-variant-numeric:tabular-nums}
.model figcaption span{font-size:.78rem;color:var(--muted);background:var(--soft);border-radius:999px;padding:1px 8px}
.model.placeholder .img{background:var(--soft);color:var(--muted);font-size:.85rem;text-align:center}
.spec-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 28px;margin:18px 0 22px;padding:0;list-style:none;font-size:.95rem}
.spec-list b{color:var(--ink)}
@media (max-width:640px){.spec-list{grid-template-columns:1fr}.models{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Two-column text + image */
.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:center}
.split img{border-radius:var(--radius);width:100%;height:100%;max-height:440px;object-fit:cover}
@media (max-width:860px){.split{grid-template-columns:1fr}}
.photo-strip{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px}
.photo-strip img{width:100%;height:260px;object-fit:cover;border-radius:12px}
@media (max-width:760px){.photo-strip{grid-template-columns:1fr 1fr}.photo-strip img:first-child{grid-column:1/-1}}

.qc-flow{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;counter-reset:q;list-style:none;padding:0;margin:0}
.qc-flow > li{border:1px solid var(--line);border-radius:14px;padding:22px;counter-increment:q;display:flex;flex-direction:column;gap:8px;background:var(--paper)}
.qc-flow > li h3::before{content:counter(q) "  ";color:var(--accent-ink);font-weight:700}
.qc-flow ul{margin:0;padding-left:18px;font-size:.92rem;color:var(--muted);display:flex;flex-direction:column;gap:4px}

.lab-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.lab-grid figure{margin:0;display:flex;flex-direction:column;gap:8px}
.lab-grid img{width:100%;aspect-ratio:6/5;object-fit:cover;border-radius:10px}
.lab-grid figcaption{font-size:.86rem;color:var(--body);line-height:1.35}
@media (max-width:900px){.lab-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:520px){.lab-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* News */
.posts{display:flex;flex-direction:column;gap:0;border-top:1px solid var(--line)}
.post{display:grid;grid-template-columns:160px minmax(0,1fr);gap:8px 32px;padding-block:28px;border-bottom:1px solid var(--line)}
.post time{color:var(--muted);font-size:.92rem;font-variant-numeric:tabular-nums}
.post div{display:flex;flex-direction:column;gap:8px;max-width:68ch}
@media (max-width:640px){.post{grid-template-columns:1fr}}

/* Form */
.contact-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:48px;align-items:start}
@media (max-width:900px){.contact-grid{grid-template-columns:1fr}}
form.enquiry{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;border:1px solid var(--line);border-radius:var(--radius);padding:32px}
.field{display:flex;flex-direction:column;gap:6px;min-width:0}
.field.full{grid-column:1/-1}
.field label,.field legend{font-weight:600;font-size:.92rem;color:var(--ink)}
.field .req{color:var(--accent-ink)}
.field input,.field select,.field textarea{font:inherit;font-size:1rem;padding:12px 14px;border:1px solid #CFCFD3;border-radius:10px;background:var(--paper);color:var(--ink);width:100%}
.field textarea{min-height:130px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(242,106,27,.2)}
fieldset.field{border:0;padding:0;margin:0}
.checks{display:flex;flex-wrap:wrap;gap:8px 18px}
.checks label{font-weight:400;display:flex;align-items:center;gap:8px;font-size:.95rem;color:var(--body);min-height:32px}
.checks input{width:18px;height:18px;accent-color:var(--accent)}
.form-note{grid-column:1/-1;font-size:.88rem;color:var(--muted)}
.form-status{grid-column:1/-1;border-radius:10px;padding:14px 16px;background:#EAF6EC;color:#1D5B2A;font-weight:500}
.form-status.error{background:#FDECEC;color:#8A1F1F}
@media (max-width:600px){form.enquiry{grid-template-columns:1fr;padding:22px}}
.contact-card{background:var(--soft);border-radius:var(--radius);padding:28px;display:flex;flex-direction:column;gap:16px}
.contact-card dl{margin:0;display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px 16px}
.contact-card dt{font-weight:600;color:var(--ink)}
.contact-card dd{margin:0;overflow-wrap:anywhere}

/* Footer */
.site-footer{background:var(--soft);margin-top:0}
.site-footer .wrap{display:grid;grid-template-columns:1.3fr 1fr 1fr 1.2fr;gap:32px;padding-block:56px 40px;font-size:.92rem;color:var(--muted)}
.site-footer h4{margin:0 0 10px;font-size:.88rem;color:var(--ink);letter-spacing:.02em}
.site-footer ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.site-footer a{color:var(--muted);text-decoration:none}
.site-footer a:hover{color:var(--ink)}
.site-footer .legal{grid-column:1/-1;border-top:1px solid var(--line);padding-top:20px;font-size:.84rem}
@media (max-width:860px){.site-footer .wrap{grid-template-columns:1fr 1fr}}
@media (max-width:480px){.site-footer .wrap{grid-template-columns:1fr}}

/* Factory reel + machinery gallery */
.reel{display:block;width:100%;max-width:100%;aspect-ratio:16/9;border-radius:var(--radius);background:#141414;object-fit:cover}
.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.gallery figure{margin:0;display:flex;flex-direction:column;gap:8px}
.gallery img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:12px}
.gallery figcaption{font-size:.92rem;color:var(--body);font-weight:500}
@media (max-width:860px){.gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:480px){.gallery{grid-template-columns:1fr}}
