/* ==========================================================================
   Rollflex — Industrial theme
   Steel / charcoal base, safety-yellow accent, condensed engineering type
   ========================================================================== */

:root {
  --ink: #15181c;
  --steel-900: #1b1f24;
  --steel-800: #23282f;
  --steel-700: #2e343c;
  --steel-600: #3d444e;
  --steel-400: #8a939e;
  --steel-200: #d5d9de;
  --steel-100: #eceef0;
  --paper: #f6f6f4;
  --white: #ffffff;
  --safety: #f5b400;
  --safety-dark: #d99c00;
  --blue: #1f4e9c;           /* from the Rollflex logo */
  --line: rgba(255, 255, 255, .08);

  --font-head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", "Segoe UI", Arial, sans-serif;
  --font-mono: "JetBrains Mono", Consolas, monospace;

  --wrap: 1200px;
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* Hazard stripe utility */
.hazard {
  height: 10px;
  background: repeating-linear-gradient(-45deg, var(--safety) 0 14px, var(--ink) 14px 28px);
}

/* Eyebrow label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--safety-dark);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--safety); }
.dark .eyebrow { color: var(--safety); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  text-decoration: none;
  padding: 14px 26px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
  cursor: pointer;
}
.btn-primary { background: var(--safety); color: var(--ink); }
.btn-primary:hover { background: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-ghost:hover { border-color: var(--safety); color: var(--safety); }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: var(--safety); color: var(--ink); }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar {
  background: var(--ink);
  color: var(--steel-400);
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .06em;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: var(--steel-200); text-decoration: none; }
.topbar a:hover { color: var(--safety); }
.topbar .sites span { margin-right: 18px; }
.topbar .sites span::before { content: "■ "; color: var(--safety); }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--steel-900);
  border-bottom: 3px solid var(--safety);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; }
.brand img { height: 46px; width: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav .dd > a {
  display: block;
  color: var(--steel-200);
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
  padding: 26px 14px;
  position: relative;
}
.nav > a::after, .nav .dd > a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0;
  height: 4px; background: var(--safety); transform: scaleX(0); transition: transform .2s;
}
.nav > a:hover, .nav .dd:hover > a, .nav a.active { color: var(--white); }
.nav > a:hover::after, .nav .dd:hover > a::after, .nav a.active::after { transform: scaleX(1); }
.nav .cta { margin-left: 12px; padding: 10px 18px; background: var(--safety); color: var(--ink); border-radius: var(--radius); }
.nav .cta::after { display: none; }
.nav .cta:hover { background: var(--white); color: var(--ink); }

.dd { position: relative; }
.dd-menu {
  position: absolute; top: 100%; left: 0; min-width: 260px;
  background: var(--steel-800);
  border-top: 3px solid var(--safety);
  padding: 8px 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: all .18s;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.dd:hover .dd-menu, .dd:focus-within .dd-menu { opacity: 1; visibility: visible; transform: none; }
.dd-menu a {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 20px; color: var(--steel-200); text-decoration: none; font-size: .95rem;
}
.dd-menu a small { font-family: var(--font-mono); color: var(--steel-400); font-size: .72rem; }
.dd-menu a:hover { background: var(--steel-700); color: var(--safety); }
.dd-menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 0; }

.menu-toggle {
  display: none; background: none; border: 2px solid var(--steel-600); color: var(--white);
  width: 46px; height: 42px; border-radius: var(--radius); cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 2px; background: currentColor; margin: 0 auto; position: relative; content: "";
}
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }

/* ==========================================================================
   Hero (home)
   ========================================================================== */
.hero {
  position: relative;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
  min-height: 640px;
  display: flex; align-items: center;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slides img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.4s ease; transform: scale(1.04);
}
.hero-slides img.on { opacity: 1; animation: kenburns 7s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(21,24,28,.96) 0%, rgba(21,24,28,.85) 42%, rgba(21,24,28,.35) 100%);
}
.hero::after { /* blueprint grid */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, #000 30%, transparent 75%);
}
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-top: 80px; padding-bottom: 80px; }
.hero h1 { max-width: 780px; }
.hero h1 em { font-style: normal; color: var(--safety); }
.hero .lead { max-width: 560px; font-size: 1.2rem; color: var(--steel-200); margin-bottom: 32px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-dots { position: absolute; z-index: 2; right: 24px; bottom: 28px; display: flex; gap: 8px; }
.hero-dots button { width: 34px; height: 5px; border: 0; background: rgba(255,255,255,.3); cursor: pointer; padding: 0; }
.hero-dots button.on { background: var(--safety); }

/* Stats strip */
.stats { background: var(--safety); color: var(--ink); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 20px; border-left: 2px solid rgba(0,0,0,.12); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-family: var(--font-head); font-size: 2.6rem; line-height: 1; }
.stat span { font-family: var(--font-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: 96px 0; }
.section.dark { background: var(--steel-900); color: var(--steel-200); }
.section.dark h2, .section.dark h3 { color: var(--white); }
.section.steel { background: var(--steel-100); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head p { max-width: 520px; margin: 0; color: var(--steel-600); }
.dark .section-head p { color: var(--steel-400); }

/* Product category cards */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--steel-200); border: 2px solid var(--steel-200); }
.cat {
  position: relative; background: var(--white); padding: 28px 24px 24px;
  text-decoration: none; color: var(--ink); display: flex; flex-direction: column;
  transition: background .25s;
}
.cat .num { font-family: var(--font-mono); font-size: .75rem; color: var(--steel-400); }
.cat .img { aspect-ratio: 4/3; display: grid; place-items: center; margin: 14px 0 18px; }
.cat .img img { max-height: 100%; object-fit: contain; transition: transform .35s; }
.cat h3 { margin-bottom: 6px; }
.cat p { font-size: .95rem; color: var(--steel-600); flex: 1; }
.cat .go { font-family: var(--font-head); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; }
.cat::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--safety); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.cat:hover::after { transform: scaleX(1); }
.cat:hover .img img { transform: scale(1.05); }

/* Roller series list (home, dark) */
.series-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.series {
  background: var(--steel-800); border: 1px solid var(--steel-700); padding: 20px;
  text-decoration: none; color: var(--steel-200); transition: border-color .2s, transform .2s;
  display: flex; flex-direction: column;
}
.series:hover { border-color: var(--safety); transform: translateY(-4px); }
.series .code { font-family: var(--font-mono); color: var(--safety); font-size: .8rem; }
.series .img { background: var(--white); aspect-ratio: 1; display: grid; place-items: center; margin: 14px 0; padding: 10px; }
.series h3 { color: var(--white); font-size: 1.3rem; margin-bottom: 4px; }
.series p { font-size: .88rem; color: var(--steel-400); margin: 0; }

/* Features / why */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.feat { border-top: 3px solid var(--ink); padding-top: 22px; }
.feat .icon { width: 44px; height: 44px; color: var(--safety-dark); margin-bottom: 14px; }
.feat h3 { font-size: 1.35rem; }
.feat p { color: var(--steel-600); font-size: .98rem; }

/* Materials */
.mat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mat { padding: 22px; background: var(--white); border-left: 4px solid var(--steel-400); }
.mat:nth-child(1) { border-color: #9aa3ad; }
.mat:nth-child(2) { border-color: #c7ced6; }
.mat:nth-child(3) { border-color: #b0b8c2; }
.mat:nth-child(4) { border-color: var(--safety); }
.mat b { font-family: var(--font-head); font-size: 1.25rem; text-transform: uppercase; display: block; }
.mat span { font-family: var(--font-mono); font-size: .8rem; color: var(--steel-600); }

/* Apps chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-family: var(--font-mono); font-size: .8rem; padding: 8px 14px; border: 1px solid var(--steel-600); color: var(--steel-200); }

/* Locations */
.loc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.loc { background: var(--white); padding: 30px; position: relative; border: 1px solid var(--steel-200); }
.loc .flag { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; background: var(--ink); color: var(--safety); padding: 4px 10px; display: inline-block; margin-bottom: 14px; }
.loc h3 { font-size: 1.4rem; }
.loc address { font-style: normal; color: var(--steel-600); margin-bottom: 14px; }
.loc a { font-family: var(--font-mono); font-size: .9rem; font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--safety); }
.loc a:hover { background: var(--safety); }

/* CTA band */
.cta-band { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: 64px; padding-bottom: 64px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; max-width: 640px; }
.cta-band h2 em { font-style: normal; color: var(--safety); }

/* ==========================================================================
   Inner page header
   ========================================================================== */
.page-hero {
  background: var(--steel-900); color: var(--white); position: relative; overflow: hidden;
  padding: 64px 0 56px;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(270deg, #000 10%, transparent 70%);
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero p.lead { max-width: 640px; color: var(--steel-200); font-size: 1.12rem; margin: 0; }
.crumbs { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--steel-400); margin-bottom: 18px; }
.crumbs a { color: var(--steel-200); text-decoration: none; }
.crumbs a:hover { color: var(--safety); }
.crumbs span { margin: 0 8px; color: var(--safety); }
.page-hero .series-code {
  position: absolute; right: 24px; bottom: -30px; z-index: 0;
  font-family: var(--font-head); font-weight: 800; font-size: clamp(6rem, 16vw, 13rem); line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(245,180,0,.35);
}

/* Product layout */
.product-top { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.product-img { background: var(--white); border: 1px solid var(--steel-200); padding: 24px; position: relative; }
.product-img::before, .product-img::after { /* corner ticks */
  content: ""; position: absolute; width: 18px; height: 18px; border: 3px solid var(--safety);
}
.product-img::before { top: -2px; left: -2px; border-right: 0; border-bottom: 0; }
.product-img::after { bottom: -2px; right: -2px; border-left: 0; border-top: 0; }
.product-img img { margin: 0 auto; }

.keyspec { border-top: 3px solid var(--ink); }
.keyspec .row { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--steel-200); }
.keyspec .row dt { font-family: var(--font-mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--steel-600); padding-top: 3px; }
.keyspec .row dd { margin: 0; }
.keyspec .row dd ul { margin: 0; padding: 0; list-style: none; }
.keyspec .row dd li { padding-left: 16px; position: relative; }
.keyspec .row dd li::before { content: ""; position: absolute; left: 0; top: .7em; width: 7px; height: 2px; background: var(--safety-dark); }

/* Variant blocks */
.variant { margin-top: 72px; }
.variant-head { display: flex; align-items: baseline; gap: 16px; border-bottom: 3px solid var(--ink); padding-bottom: 12px; margin-bottom: 28px; }
.variant-head .idx { font-family: var(--font-mono); font-size: .8rem; background: var(--safety); padding: 2px 8px; }
.variant-head h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.variant-body { display: grid; grid-template-columns: 340px 1fr; gap: 36px; align-items: start; }
.variant-body .drawing { background: var(--white); border: 1px solid var(--steel-200); padding: 16px; }
.variant-body .drawing figcaption { font-family: var(--font-mono); font-size: .72rem; color: var(--steel-400); text-transform: uppercase; margin-top: 8px; letter-spacing: .08em; }
.variant-body .tables > * + * { margin-top: 24px; }
.tbl-label { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--steel-600); margin-bottom: 8px; }

/* Spec tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--steel-200); background: var(--white); }
table.spec { width: 100%; border-collapse: collapse; font-size: .92rem; }
table.spec td, table.spec th { padding: 10px 14px; border-bottom: 1px solid var(--steel-100); text-align: left; vertical-align: top; white-space: nowrap; }
table.spec thead td, table.spec thead th, table.spec tr.th td {
  background: var(--steel-900); color: var(--white);
  font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 500;
}
table.spec thead td strong, table.spec tr.th td strong { font-weight: 500; }
table.spec tbody tr:nth-child(even) td { background: #fafafa; }
table.spec tbody tr:hover td { background: #fff7de; }
table.spec td.pn { font-family: var(--font-mono); font-size: .85rem; color: var(--ink); }
table.spec td.mat { font-weight: 600; white-space: normal; min-width: 150px; }
table.spec td.empty { color: var(--steel-200); }

.note {
  border-left: 4px solid var(--safety); background: var(--white); padding: 18px 22px; font-size: .95rem; color: var(--steel-600);
}
.note b { color: var(--ink); }

/* Rollers overview cards */
.roller-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.roller-card {
  display: grid; grid-template-columns: 140px 1fr; gap: 20px; align-items: center;
  background: var(--white); border: 1px solid var(--steel-200); padding: 22px;
  text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.roller-card:hover { border-color: var(--ink); box-shadow: 6px 6px 0 var(--safety); }
.roller-card .code { font-family: var(--font-mono); font-size: .75rem; color: var(--safety-dark); font-weight: 500; }
.roller-card h3 { margin: 4px 0 6px; font-size: 1.4rem; }
.roller-card p { margin: 0; font-size: .92rem; color: var(--steel-600); }

/* Comparison */
table.compare td:first-child { font-weight: 600; }

/* Pulse rollers */
.pulse-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pulse {
  background: var(--white); border: 1px solid var(--steel-200); display: grid; grid-template-columns: 180px 1fr;
  position: relative; overflow: hidden;
}
.pulse .swatch { background: var(--steel-100); display: grid; place-items: center; padding: 20px; border-right: 6px solid var(--c, var(--safety)); }
.pulse .body { padding: 24px; }
.pulse .watt { font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1; }
.pulse .watt small { font-size: 1rem; color: var(--steel-600); margin-left: 4px; }
.pulse h3 { font-size: 1.25rem; margin: 6px 0 12px; }
.pulse h3 .tag { font-family: var(--font-mono); font-size: .7rem; padding: 3px 8px; background: var(--c); color: var(--cfg, var(--white)); vertical-align: middle; margin-left: 6px; letter-spacing: .06em; }
.load { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: .9rem; margin-top: 12px; }
.load dt { font-family: var(--font-mono); font-weight: 500; }
.load dd { margin: 0; color: var(--steel-600); }

/* Conveyors */
.conv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.sizes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.sizes span { font-family: var(--font-mono); font-size: .95rem; padding: 10px 14px; background: var(--ink); color: var(--safety); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.gallery figure { margin: 0; background: var(--white); border: 1px solid var(--steel-200); padding: 12px; }
.gallery figure.wide { grid-column: span 2; }
.gallery figcaption { font-family: var(--font-head); text-transform: uppercase; font-weight: 600; letter-spacing: .04em; padding-top: 10px; }

/* Careers */
.jobs { display: grid; gap: 16px; }
.job { background: var(--white); border: 1px solid var(--steel-200); }
.job summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 16px;
  padding: 20px 24px;
}
.job summary::-webkit-details-marker { display: none; }
.job summary .code { font-family: var(--font-mono); background: var(--ink); color: var(--safety); text-align: center; padding: 6px 0; font-size: .85rem; }
.job summary h3 { margin: 0; font-size: 1.4rem; }
.job summary .plus { width: 32px; height: 32px; border: 2px solid var(--ink); display: grid; place-items: center; font-weight: 700; transition: transform .2s; }
.job[open] summary .plus { transform: rotate(45deg); background: var(--safety); }
.job .job-body { padding: 0 24px 24px 110px; display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.job h4 { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .1em; color: var(--steel-600); margin-bottom: 10px; }
.job ul { margin: 0; padding-left: 18px; }
.job li { margin-bottom: 4px; }
.job li::marker { color: var(--safety-dark); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.contact-card { background: var(--white); border: 1px solid var(--steel-200); border-top: 6px solid var(--ink); padding: 32px; display: flex; flex-direction: column; }
.contact-card.hq { border-top-color: var(--safety); }
.contact-card .country { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .12em; color: var(--steel-600); text-transform: uppercase; }
.contact-card h3 { margin: 8px 0 18px; font-size: 1.5rem; }
.contact-card dl { margin: 0 0 20px; flex: 1; }
.contact-card dt { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .1em; color: var(--steel-400); text-transform: uppercase; margin-top: 12px; }
.contact-card dd { margin: 4px 0 0; }
.contact-card dd a { color: var(--ink); font-weight: 600; }

/* Drum motor */
.dm-specs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.dm-box { background: var(--white); border: 1px solid var(--steel-200); padding: 24px; }
.dm-box h3 { font-size: 1.15rem; border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 14px; }
.dm-box ul { margin: 0; padding-left: 18px; }
.dm-box li::marker { color: var(--safety-dark); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 14px; }
.pills span { font-family: var(--font-mono); font-size: .8rem; padding: 4px 10px; background: var(--steel-100); border: 1px solid var(--steel-200); }
.pills-label { font-family: var(--font-mono); font-size: .75rem; font-weight: 500; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--steel-400); font-size: .92rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 64px 0 48px; }
.site-footer h4 { color: var(--white); font-size: 1.05rem; letter-spacing: .08em; margin-bottom: 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--steel-200); text-decoration: none; }
.site-footer a:hover { color: var(--safety); }
.site-footer .logo-plate { display: inline-block; margin-bottom: 16px; }
.site-footer .logo-plate img { height: 36px; width: auto; }
.site-footer .bottom { border-top: 1px solid var(--steel-700); padding: 20px 0; font-family: var(--font-mono); font-size: .75rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slides img.on { animation: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .series-list { grid-template-columns: repeat(3, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1080px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; top: 76px; left: 0; right: 0; bottom: 0;
    background: var(--steel-900); flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px 40px; overflow-y: auto;
    transform: translateX(100%); transition: transform .25s;
  }
  body.nav-open .nav { transform: none; }
  body.nav-open { overflow: hidden; }
  .nav > a, .nav .dd > a { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav > a::after, .nav .dd > a::after { display: none; }
  .dd-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 8px 12px; }
  .nav .cta { margin: 20px 0 0; text-align: center; }
}
@media (max-width: 960px) {
  .product-top, .variant-body, .conv-grid { grid-template-columns: 1fr; }
  .variant-body .drawing { max-width: 420px; }
  .feat-grid, .loc-grid, .contact-grid, .dm-specs, .pulse-grid { grid-template-columns: 1fr; }
  .mat-grid { grid-template-columns: repeat(2, 1fr); }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 2px solid rgba(0,0,0,.12); }
  .job .job-body { padding: 0 24px 24px; grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .topbar .sites { display: none; }
  .section { padding: 64px 0; }
  .hero { min-height: 560px; }
  .cat-grid, .series-list { grid-template-columns: 1fr 1fr; }
  .series-list { gap: 10px; }
  .series { padding: 14px; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .roller-grid { grid-template-columns: 1fr; }
  .roller-card { grid-template-columns: 96px 1fr; }
  .pulse { grid-template-columns: 1fr; }
  .pulse .swatch { border-right: 0; border-bottom: 6px solid var(--c); }
  .pulse .swatch img { max-height: 140px; width: auto; }
  .keyspec .row { grid-template-columns: 1fr; gap: 4px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery figure.wide { grid-column: auto; }
  .job summary { grid-template-columns: 56px 1fr auto; padding: 16px; }
  .job summary h3 { font-size: 1.15rem; }
  .brand img { height: 32px; }
}
@media (max-width: 420px) {
  .cat-grid { grid-template-columns: 1fr; }
  .mat-grid { grid-template-columns: 1fr; }
}

/* Let wide tables scroll inside their wrapper instead of stretching the page */
.variant-body > *, .tables, .tables > div, .product-top > *, .conv-grid > * { min-width: 0; }
