/* InVac Industrial — shared stylesheet (generated site, edit in scripts/site_static/) */
:root {
  /* dark theme, matched to invac.in (bg #1A1A1A, bands #121212/#0D0D0D, Golos Text + Manrope) */
  --orange: #FF7900;
  --orange-dk: #FF8A1F;
  --orange-tint: rgba(255,121,0,.12);
  --ink: #FFFFFF;           /* headings */
  --ink-2: #E6E6E6;
  --text: #BDBDBD;          /* body copy */
  --black: #0D0D0D;
  --muted: #9A9A9A;
  --line: #2E2E2E;
  --bg: #1A1A1A;
  --bg-alt: #121212;
  --surface: #222222;       /* cards, forms, tables */
  --surface-2: #2A2A2A;
  --frame: #242424;
  --white: #FFFFFF;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.35);
  --shadow-lg: 0 2px 6px rgba(0,0,0,.35), 0 18px 40px rgba(0,0,0,.5);
  --head: "Golos Text", "Segoe UI", system-ui, sans-serif;
  --body: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
  --hdr-h: 72px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); font-weight: 500; line-height: 1.2; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); }
h2 { font-size: clamp(1.45rem, 1.1rem + 1.3vw, 2.1rem); }
h3 { font-size: 1.08rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--black); color: #fff; padding: 8px 14px; border-radius: 6px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.ico { width: 18px; height: 18px; flex: none; }
.muted { color: var(--muted); }
.eyebrow { font: 600 .78rem/1.2 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: .9em; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font: 600 .95rem/1.2 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn-lg { padding: 14px 26px; font-size: 1rem; }
.btn-primary { background: var(--orange); color: var(--black); }
.btn-primary:hover { background: var(--orange-dk); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--black); }
.btn-ghost-light { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* top bar + header */
.topbar { background: var(--black); color: #cfcfcf; font-size: .82rem; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; }
.topbar a { text-decoration: none; color: #e9e9e9; }
.topbar a:hover { color: var(--orange); }
.home-link { font-weight: 600; }
.topbar-contact { display: flex; gap: 18px; }
@media (max-width: 760px) { .topbar-contact a:not(:first-child) { display: none; } }
@media (max-width: 400px) { .topbar-contact { display: none; } }
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(18,18,18,.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; justify-content: space-between; height: var(--hdr-h); gap: 16px; }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.logo img { height: 30px; width: auto; }
.logo-sub { font: 500 .8rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-left: 1px solid var(--line); padding-left: 14px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link { background: none; border: 0; font: 500 .95rem/1 var(--body); color: var(--ink); padding: 10px 14px; border-radius: 8px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.nav-link:hover, .nav-link[aria-current] { color: var(--orange-dk); }
button.nav-link::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
.nav-item.open > button.nav-link::after { transform: translateY(2px) rotate(-135deg); }
.nav-cta { margin-left: 10px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.bars, .bars::before, .bars::after { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.bars { top: 21px; } .bars::before { content: ""; top: -7px; left: 0; } .bars::after { content: ""; top: 7px; left: 0; }
.nav-open .bars { background: transparent; }
.nav-open .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-open .bars::after { transform: translateY(-7px) rotate(-45deg); }
.mega { display: none; }
.mega-h { display: block; font: 600 .95rem/1.3 var(--head); text-decoration: none; color: var(--ink); padding-bottom: 10px; margin-bottom: 8px; border-bottom: 2px solid var(--orange); }
.mega-h:hover { color: var(--orange-dk); }
.mega-col li a { display: flex; gap: 8px; padding: 5px 0; font-size: .86rem; color: var(--ink-2); text-decoration: none; line-height: 1.35; }
.mega-col li a:hover { color: var(--orange-dk); }
.mega-col .code { flex: none; min-width: 70px; font-size: .72rem; }
.mega-inds { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px 20px; }
.mega-inds a { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 8px; text-decoration: none; font-weight: 500; }
.mega-inds a:hover { background: var(--orange-tint); }
.mega-inds .ico { color: var(--orange-dk); width: 22px; height: 22px; }

@media (min-width: 1000px) {
  .nav-item { position: static; }
  .mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 28px 0 32px; max-height: calc(100vh - 120px); overflow: auto; }
  .nav-item.open > .mega { display: block; }
  .mega-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
}
@media (max-width: 999px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; left: 0; right: 0; top: var(--nav-top, 108px); bottom: 0; background: var(--surface); flex-direction: column; align-items: stretch; gap: 0; padding: 12px 16px 40px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; border-top: 1px solid var(--line); }
  .nav-open .nav { transform: none; visibility: visible; }
  .nav-link { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav-item.open > .mega { display: block; padding: 8px 0 16px; }
  .mega .wrap { padding: 0; }
  .mega-grid { display: grid; gap: 18px; }
  .mega-inds { grid-template-columns: 1fr 1fr; }
  .nav-cta { margin: 20px 0 0; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) { .mega-inds { grid-template-columns: 1fr; } .logo-sub { display: none; } }

/* codes, tags, chips */
.code { display: inline-block; font: 600 .74rem/1 var(--body); letter-spacing: .06em; color: var(--orange-dk); background: var(--orange-tint); padding: 5px 8px; border-radius: 6px; }
.code-lg { font-size: .9rem; padding: 7px 12px; }
.tag { display: inline-block; font: 600 .72rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; padding: 7px 10px; border-radius: 6px; background: var(--bg-alt); color: var(--ink-2); text-decoration: none; }
.tag-atex { background: var(--black); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .88rem; font-weight: 500; text-decoration: none; color: var(--ink); }
a.chip:hover { border-color: var(--orange); color: var(--orange-dk); }
.chip span { font-size: .75rem; color: var(--muted); }
.chip-lg { padding: 10px 18px; font-size: .95rem; }

/* image frames */
.img-frame { background: var(--frame); position: relative; overflow: hidden; }
.img-frame.img-missing img { visibility: hidden; }
.img-frame.img-missing::after { content: "Image coming soon"; position: absolute; inset: 0; display: grid; place-items: center; font-size: .78rem; color: #9a9a95; }

/* hero */
.hero { background: var(--black); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 400px at 85% 10%, rgba(255,121,0,.22), transparent 60%), radial-gradient(600px 300px at 0% 100%, rgba(255,121,0,.08), transparent 60%); pointer-events: none; }
.hero h1, .hero h2 { color: #fff; }
.hero .lead { color: #d5d5d5; font-size: clamp(1rem, .95rem + .3vw, 1.18rem); max-width: 640px; }
.hero-home { padding: 64px 0 72px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; color: #bdbdbd; font-size: .92rem; border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; }
.hero-facts strong { color: var(--orange); font: 600 1.4rem/1 var(--head); margin-right: 6px; }
.hero-art { position: relative; height: 460px; }
.hero-img { position: absolute; border-radius: 18px; background: linear-gradient(160deg, #2b2b2b, #1c1c1c); border: 1px solid rgba(255,255,255,.08); }
.hero-img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }
.hero-img.h0 { width: 58%; height: 78%; left: 0; top: 6%; z-index: 2; }
.hero-img.h1 { width: 44%; height: 50%; right: 0; top: 0; }
.hero-img.h2 { width: 44%; height: 44%; right: 4%; bottom: 0; z-index: 3; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { height: 300px; }
}
@media (max-width: 480px) { .hero-art { height: 230px; } .hero-home { padding: 44px 0 48px; } }
.hero-sub { padding: 28px 0 44px; }
.hero-sub-in { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin: 18px 0 26px; }
.hero-sub .chips .chip { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #fff; }
.hero-sub .chips .chip span { color: #aaa; }
.hero-sub .chips a.chip:hover { border-color: var(--orange); color: var(--orange); }
.h1-ico { width: .9em; height: .9em; color: var(--orange); vertical-align: -.08em; margin-right: .3em; }
@media (max-width: 700px) { .hero-sub-in { flex-direction: column; align-items: flex-start; } }

/* breadcrumbs */
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; font-size: .84rem; color: #a8a8a8; position: relative; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #666; }
.crumbs a { color: #d8d8d8; text-decoration: none; }
.crumbs a:hover { color: var(--orange); }
.phero .crumbs ol { color: var(--muted); }
.phero .crumbs a { color: var(--ink-2); }
.phero .crumbs li + li::before { color: #bbb; }

/* sections */
.sec { padding: 72px 0; }
.sec-tight { padding: 48px 0; }
.sec-alt { background: var(--bg-alt); }
.sec-head { max-width: 720px; margin-bottom: 36px; }
.sec-head p:not(.eyebrow) { color: var(--muted); }
@media (max-width: 600px) { .sec { padding: 52px 0; } }

/* category cards */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.cat-card { grid-column: span 2; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: box-shadow .2s, transform .2s, border-color .2s; }
.cat-card:nth-child(4), .cat-card:nth-child(5) { grid-column: span 3; }
.cat-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: transparent; }
.cat-img { aspect-ratio: 16/10; }
.cat-img img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .3s; }
.cat-card:hover .cat-img img { transform: scale(1.04); }
.cat-body { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.cat-body h3 { font-size: 1.2rem; }
.cat-body p { color: var(--muted); font-size: .93rem; }
.cat-meta { margin-top: auto; margin-bottom: 0 !important; display: flex; justify-content: space-between; font-size: .85rem; font-weight: 600; color: var(--ink) !important; }
@media (max-width: 960px) { .cat-grid { grid-template-columns: 1fr 1fr; } .cat-card, .cat-card:nth-child(4), .cat-card:nth-child(5) { grid-column: span 1; } }
@media (max-width: 600px) { .cat-grid { grid-template-columns: 1fr; } }

/* product cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: box-shadow .2s, transform .2s, border-color .2s; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: transparent; }
.card-img { aspect-ratio: 1/1; }
.card-img img { width: 100%; height: 100%; object-fit: contain; padding: 18px; transition: transform .3s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-img .tag-atex { position: absolute; top: 12px; left: 12px; }
.card-body { padding: 18px 18px 16px; display: flex; flex-direction: column; flex: 1; }
.card-body .code { align-self: flex-start; margin-bottom: 10px; }
.card-t { font-size: 1.02rem; margin-bottom: 6px; }
.card-role { font-size: .84rem; font-weight: 600; color: var(--orange-dk); margin-bottom: 6px; }
.card-s { font-size: .88rem; color: var(--muted); line-height: 1.5; }
.card-meta { margin: auto 0 0; padding-top: 12px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: .82rem; color: var(--muted); }
.card-go { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); font-weight: 600; }
.card-go .ico { width: 15px; height: 15px; transition: transform .15s; }
.card:hover .card-go .ico, .cat-card:hover .card-go .ico, .ind-card:hover .card-go .ico { transform: translateX(3px); color: var(--orange-dk); }
@media (max-width: 560px) { .card-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .card-body { padding: 14px 12px; } .card-s { display: none; } .card-meta { flex-direction: column; gap: 6px; } .card-img img { padding: 10px; } }
@media (max-width: 370px) { .card-grid { grid-template-columns: 1fr; } }

/* industries */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.ind-card { display: flex; flex-direction: column; padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; background: var(--surface); transition: border-color .2s, box-shadow .2s; }
.ind-card:hover { border-color: var(--orange); box-shadow: var(--shadow); }
.ind-ico { width: 34px; height: 34px; color: var(--orange-dk); margin-bottom: 16px; }
.ind-card h3 { font-size: 1.05rem; }
.ind-card p { font-size: .88rem; color: var(--muted); flex: 1; }
@media (max-width: 960px) { .ind-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .ind-grid { grid-template-columns: 1fr; } }

/* ATEX band */
.atex-band { background: var(--black); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.atex-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; border: 60px solid rgba(255,121,0,.10); }
.atex-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.atex-band h2 { color: #fff; }
.atex-band p { color: #d0d0d0; max-width: 620px; }
.atex-ico { width: 40px; height: 40px; color: var(--orange); margin-bottom: 14px; }
.certs { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.certs img { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 12px; padding: 8px; border: 1px solid var(--line); }
.certs-lg { justify-content: center; gap: 18px; }
.certs-lg img { width: 112px; height: 112px; padding: 14px; border: 0; }
.certs-hero { margin-top: 8px; }
@media (max-width: 800px) { .atex-in { grid-template-columns: 1fr; } .certs-lg { justify-content: flex-start; } .certs-lg img { width: 84px; height: 84px; } }

/* services */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc { padding: 26px 22px; border-radius: var(--radius); background: var(--bg-alt); border-top: 3px solid var(--orange); }
.svc-ico { width: 30px; height: 30px; color: var(--ink); margin-bottom: 14px; }
.svc p { font-size: .9rem; color: var(--muted); margin: 0; }
@media (max-width: 960px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .svc-grid { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--orange); padding: 52px 0; }
.cta-in { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: var(--black); margin-bottom: .3em; }
.cta-band p { margin: 0; color: #2a1a0b; max-width: 620px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-primary { background: var(--black); color: #fff; }
.cta-band .btn-primary:hover { background: #000; }
.cta-band .btn-ghost-light { border-color: var(--black); color: var(--black); }
.cta-band .btn-ghost-light:hover { background: rgba(0,0,0,.08); }

/* category subs */
.subs { padding-top: 56px; padding-bottom: 32px; }
.sub { margin-bottom: 56px; scroll-margin-top: calc(var(--hdr-h) + 20px); }
.sub-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 22px; }
.sub-head h2 { margin: 0; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); }
.count { font-size: .85rem; color: var(--muted); white-space: nowrap; }

/* product hero */
.phero { padding: 24px 0 48px; background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }
.phero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; margin-top: 20px; }
.gallery { position: sticky; top: calc(var(--hdr-h) + 16px); }
.gal-main { border-radius: var(--radius); aspect-ratio: 1/1; border: 1px solid var(--line); background: var(--surface); }
.gal-main img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.gal-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.gal-t { flex: none; width: 76px; height: 76px; border-radius: 10px; border: 2px solid var(--line); padding: 0; cursor: pointer; background: var(--surface); }
.gal-t img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.gal-t[aria-current="true"] { border-color: var(--orange); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.phero-copy h1 { font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem); margin-top: .3em; }
.phero-copy .lead { font-size: 1.08rem; color: var(--ink-2); }
.pmeta { font-weight: 600; color: var(--muted); font-size: .92rem; }
.phero-copy .hero-actions { margin: 24px 0; }
@media (max-width: 860px) { .phero-grid { grid-template-columns: 1fr; gap: 28px; } .gallery { position: static; } .gal-main { aspect-ratio: 4/3; } }

/* sticky sub-nav */
.subnav { position: sticky; top: var(--hdr-h); z-index: 40; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.subnav-in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; align-items: center; }
.subnav-in::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 15px 14px; font-size: .92rem; font-weight: 500; text-decoration: none; color: var(--muted); border-bottom: 3px solid transparent; }
.subnav a:hover { color: var(--ink); }
.subnav a.active { color: var(--ink); border-bottom-color: var(--orange); }
.subnav a.subnav-cta { margin-left: auto; color: var(--orange-dk); font-weight: 600; }
.pbody { padding-top: 16px; padding-bottom: 40px; max-width: 1000px; }
.psec { padding: 44px 0 8px; scroll-margin-top: calc(var(--hdr-h) + 64px); }
.psec h2 { font-size: 1.55rem; }
.psec > p { max-width: 780px; color: var(--ink-2); }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.feat li { position: relative; padding-left: 30px; color: var(--ink-2); }
.feat li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 9px; border: solid var(--orange); border-width: 0 0 3px 3px; transform: rotate(-45deg); }
@media (max-width: 700px) { .feat { grid-template-columns: 1fr; } }

/* spec tables */
.scroll-hint { display: none; font-size: .82rem; color: var(--muted); margin-bottom: 8px; }
@media (max-width: 760px) { .scroll-hint { display: block; } }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-sm); -webkit-overflow-scrolling: touch; background: var(--surface); }
.spec { border-collapse: separate; border-spacing: 0; width: 100%; font-size: .88rem; min-width: 560px; }
.spec th, .spec td { padding: 11px 14px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; vertical-align: middle; white-space: nowrap; }
.spec td { color: var(--ink-2); }
.spec th { font-weight: 600; color: var(--ink); background: var(--surface); }
.spec .c0 { position: sticky; left: 0; z-index: 1; text-align: left; background: var(--surface-2); white-space: normal; min-width: 170px; max-width: 240px; box-shadow: 2px 0 0 var(--line); }
.spec tr.hd th { background: var(--black); color: #fff; border-color: #333; }
.spec tr.hd .c0 { background: var(--black); }
.spec tbody tr:not(.hd):hover td { background: var(--orange-tint); }
.spec tr:last-child > * { border-bottom: 0; }
.spec tr > *:last-child { border-right: 0; }
.tablist { display: flex; gap: 6px; margin-bottom: 10px; }
.tablist button { border: 1px solid var(--line); background: var(--surface); padding: 8px 14px; border-radius: 999px; cursor: pointer; font: 500 .88rem var(--body); }
.tablist button[aria-selected="true"] { background: var(--orange); color: var(--black); border-color: var(--orange); }
.models { margin-top: 22px; }
.models h3 { font-size: .95rem; }
.model-list { display: flex; flex-wrap: wrap; gap: 8px; }
.model-list li { font: 600 .8rem/1 var(--body); padding: 8px 10px; border-radius: 6px; background: var(--bg-alt); letter-spacing: .03em; }

/* applications + accessories */
.apps { display: flex; flex-wrap: wrap; gap: 10px; }
.app-chip { padding: 10px 16px 10px 14px; font-size: .92rem; background: var(--surface); }
.app-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; }
.acc { display: flex; flex-wrap: wrap; gap: 10px; }
.acc li { padding: 10px 16px; border-radius: var(--radius-sm); background: var(--bg-alt); font-weight: 500; font-size: .92rem; border-left: 3px solid var(--orange); }
.atex-note { display: grid; grid-template-columns: auto 1fr; gap: 20px; background: var(--black); border: 1px solid var(--line); color: #fff; border-radius: var(--radius); padding: 30px; margin-top: 44px; }
.atex-note h2 { color: #fff; font-size: 1.3rem; }
.atex-note p { color: #d0d0d0; }
@media (max-width: 520px) { .atex-note { grid-template-columns: 1fr; padding: 22px; } }

/* industry problem */
.prob { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; }
.prob-text p { font-size: 1.05rem; color: var(--ink-2); }
@media (max-width: 800px) { .prob { grid-template-columns: 1fr; gap: 12px; } }

/* enquiry + forms */
.enq-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.enq-page { grid-template-columns: 1.5fr 1fr; }
@media (max-width: 900px) { .enq-grid, .enq-page { grid-template-columns: 1fr; gap: 28px; } }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
@media (max-width: 480px) { .form-card { padding: 18px; } }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field legend { font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea { width: 100%; font: 400 .95rem/1.4 var(--body); padding: 11px 13px; border: 1px solid #3A3A3A; border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,121,0,.18); }
.radios { border: 0; padding: 0; margin: 0; flex-direction: row; flex-wrap: wrap; gap: 8px 20px; }
.radios legend { width: 100%; margin-bottom: 6px; padding: 0; }
.radios label { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; font-size: .92rem; cursor: pointer; }
.radios input { accent-color: var(--orange); width: 18px; height: 18px; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.form-note { margin: 0; font-size: .85rem; color: var(--muted); }
.contact-card { background: var(--bg-alt); border-radius: var(--radius); padding: 28px; }
.contact-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.contact-btns .ico { width: 18px; height: 18px; }
.offices { display: grid; gap: 18px; margin-top: 22px; }
.office { padding: 18px 20px; background: var(--surface); border-radius: var(--radius-sm); border: 1px solid var(--line); }
.office p { margin: 0 0 6px; font-size: .92rem; }
.office a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink-2); }
.office a:hover { color: var(--orange-dk); }
.office .ico { width: 16px; height: 16px; color: var(--orange-dk); }
.office-tag { font: 600 .72rem/1 var(--body) !important; letter-spacing: .12em; text-transform: uppercase; color: var(--orange-dk); margin-bottom: 10px !important; }
.office-city { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }

/* footer */
.ftr { background: var(--black); color: #bdbdbd; padding: 60px 0 28px; font-size: .9rem; }
.ftr-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 36px; }
.ftr-brand img { height: 30px; width: auto; margin-bottom: 16px; }
.ftr-h { font: 600 .78rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.ftr ul li { margin-bottom: 8px; }
.ftr a { color: #d6d6d6; text-decoration: none; }
.ftr a:hover { color: var(--orange); }
.ftr .btn-primary { color: var(--black); }
.offices-ftr { margin-top: 0; gap: 14px; }
.offices-ftr .office { background: transparent; border: 1px solid #2c2c2c; padding: 14px 16px; }
.offices-ftr .office-city { color: #fff; }
.offices-ftr .office a { color: #d6d6d6; }
.ftr-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid #2a2a2a; margin-top: 40px; padding-top: 20px; font-size: .82rem; }
@media (max-width: 960px) { .ftr-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ftr-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print { .topbar, .hdr, .subnav, .ftr, .cta-band, #enquiry { display: none !important; } .hero, .phero { background: var(--surface); color: #000; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note[data-ok="1"] { color: #1a7f37; font-weight: 600; }
.form-note[data-ok="0"] { color: #b42318; font-weight: 600; }
.form-note a { color: inherit; text-decoration: underline; }
/* ---- blog ---- */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.post-card { display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); text-decoration: none; color: inherit; transition: border-color .2s, transform .2s; }
.post-card:hover { border-color: var(--orange); transform: translateY(-2px); }
.post-card h2 { font-size: 1.15rem; line-height: 1.35; margin: 0; }
.post-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.post-card .card-go { margin-top: auto; }
.article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.article { max-width: 760px; font-size: 1.04rem; line-height: 1.75; }
.article h2 { font-size: 1.5rem; margin: 2em 0 .6em; }
.article h3 { font-size: 1.15rem; margin: 1.6em 0 .5em; }
.article p, .article ul, .article ol { margin: 0 0 1.1em; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin-bottom: .4em; }
.article a { color: var(--orange-dk); }
.article table { width: 100%; border-collapse: collapse; margin: 1.2em 0 1.6em; font-size: .93rem; display: block; overflow-x: auto; }
.article th, .article td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.article th { background: var(--surface-2); font-weight: 600; }
.article section { margin-top: 2em; }
.article-side { position: sticky; top: 96px; display: grid; gap: 18px; }
.side-card { border: 1px solid var(--line); border-radius: 14px; padding: 22px; background: var(--surface); }
.side-card h2 { font-size: 1.05rem; margin: 0 0 .5em; }
.side-card p { font-size: .93rem; color: var(--muted); }
.side-list { list-style: none; padding: 0; margin: 0 0 .8em; }
.side-list li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.side-list a { text-decoration: none; color: inherit; }
.side-list a:hover { color: var(--orange-dk); }
@media (max-width: 960px) { .article-wrap { grid-template-columns: minmax(0, 1fr); } .article-side { position: static; } }
/* never allow sideways scroll into the off-canvas mobile menu */
html { overflow-x: clip; }

/* ---- dark theme finishing ---- */
.tablist button, .field input, .field select, .field textarea, .chip, .app-chip { color: var(--ink-2); }
.field input::placeholder, .field textarea::placeholder { color: #777; }
.field select option { background: var(--surface); color: var(--ink); }
.sec-alt { background: var(--bg-alt); }
.hdr { border-bottom-color: #262626; }
.subnav { background: rgba(18,18,18,.96); }
.card:hover, .cat-card:hover, .post-card:hover, .ind-card:hover { border-color: var(--orange); }
.img-frame, .gal-main { background: radial-gradient(120% 90% at 50% 35%, #2c2c2c 0%, #1e1e1e 70%); }
.spec td { color: var(--ink-2); }
.article a, .prob-text a { color: var(--orange); }
.code { color: var(--orange); }
.lead, .hero .lead { color: #C8C8C8; }
