/* FIELDLOOM — industrial textile manufacturing
 * Charcoal + safety orange + white. Heritage workwear aesthetic.
 * Manrope rounded-geometric sans. Clean, airy, rounded-corner refresh.
 */

/* Manrope — self-hosted (CSP font-src 'self'); latin subset, ~85KB total */
@font-face{font-family:'Manrope';font-style:normal;font-weight:400;font-display:swap;src:url('fonts/manrope-400.woff2') format('woff2');}
@font-face{font-family:'Manrope';font-style:normal;font-weight:500;font-display:swap;src:url('fonts/manrope-500.woff2') format('woff2');}
@font-face{font-family:'Manrope';font-style:normal;font-weight:600;font-display:swap;src:url('fonts/manrope-600.woff2') format('woff2');}
@font-face{font-family:'Manrope';font-style:normal;font-weight:700;font-display:swap;src:url('fonts/manrope-700.woff2') format('woff2');}
@font-face{font-family:'Manrope';font-style:normal;font-weight:800;font-display:swap;src:url('fonts/manrope-800.woff2') format('woff2');}

:root {
  /* core */
  --ink:        #0a0a0a;
  --ink-2:      #1f1f1f;
  --ink-3:      #3a3a3a;
  --mute:       #555555;
  --paper:      #ffffff;
  --paper-2:    #f4f4f4;
  --paper-3:    #ebebeb;
  --paper-dk:   #131313;
  --line:       #dcdcdc;
  --line-strong:#b8b8b8;
  --line-dk:    #2a2a2a;
  /* accent — safety orange */
  --accent:     #e54a1f;
  --accent-dk:  #b8390f;
  --accent-bg:  #fdebe2;
  /* type */
  --font-sans:  'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* metrics */
  --maxw:       1400px;
  --pad-x:      clamp(20px, 3.4vw, 56px);
  --shadow:     0 8px 24px -8px rgba(10,10,10,0.12);
  --shadow-lg:  0 20px 48px -16px rgba(10,10,10,0.18);
  /* rounded-corner refresh */
  --radius:     14px;
  --radius-sm:  9px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 15.5px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }

/* Skip-to-content link (WCAG 2.4.1 Bypass Blocks) — off-screen until focused */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--accent); color: var(--paper); padding: 10px 16px; font-size: 13px; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; }
.skip-link:focus { left: 8px; top: 8px; outline: 2px solid #fff; outline-offset: 2px; }
#main:focus { outline: none; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }
em { font-style: normal; color: var(--accent); font-weight: 800; }
strong { font-weight: 700; }

/* ============ Top capability strip ============ */
.ticker {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 3px solid var(--accent);
  overflow: hidden;
}
.ticker-track {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 11px var(--pad-x);
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  white-space: nowrap;
  animation: none;
}
.ticker-track span {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  padding: 0 22px;
  border-right: 1px solid rgba(255,255,255,0.14);
}
.ticker-track span:first-child { padding-left: 0; }
.ticker-track span:nth-child(6) { border-right: none; }
.ticker-track span:nth-child(n+7) { display: none; }
@keyframes scrollX { from { transform: none; } to { transform: none; } }

/* ============ Navigation ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.brand-mark svg { width: 36px; height: 36px; display: block; }
.brand-name { display: flex; flex-direction: column; line-height: 1.15; gap: 2px; }
.brand-name .top { font-size: 16px; font-weight: 900; letter-spacing: 0.04em; }
.brand-sub { font-size: 9.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute); }
.nav-links { display: flex; gap: 30px; list-style: none; font-size: 14px; font-weight: 600; }
.nav-links a { color: var(--ink); padding: 8px 0; position: relative; transition: color .15s; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--accent); opacity: 0; transition: opacity .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a:hover::after, .nav-links a.active::after { opacity: 1; }
.nav-cta {
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 12px 22px; background: var(--accent); color: var(--paper);
  transition: background .15s, transform .15s;
}
.nav-cta:hover { background: var(--accent-dk); color: var(--paper); transform: translateY(-1px); }
.nav-toggle { display: none; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  font-size: 13.5px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  line-height: 1;
  border: 2px solid transparent;
  transition: background .15s, color .15s, border-color .15s, transform .15s;
}
.btn-primary { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dk); color: var(--paper); border-color: var(--accent-dk); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn .arrow { display: inline-block; transition: transform .15s; }
.btn:hover .arrow { transform: translateX(3px); }

/* ============ Generic section ============ */
.section { padding: clamp(64px, 7vw, 120px) 0; position: relative; }
.section-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); }

.section-num {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.18em;
  color: var(--accent); text-transform: uppercase;
  margin-bottom: 18px;
}
.section-num::before { content: ''; display: inline-block; width: 28px; height: 3px; background: var(--accent); }

.section-title {
  font-weight: 900;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 22px;
  max-width: 22ch;
}
.section-title em { color: var(--accent); font-weight: 900; }
.section-lede { font-size: 17px; line-height: 1.55; color: var(--mute); max-width: 64ch; margin-bottom: 56px; font-weight: 400; }
.eyebrow { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); font-weight: 700; }

/* ============ Hero ============ */
.hero { padding: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(48px, 5.5vw, 88px) var(--pad-x);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.hero-left { max-width: 720px; }
.hero-kicker {
  font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); font-weight: 800;
  margin-bottom: 26px;
  display: inline-flex; align-items: center; gap: 12px;
}
.hero-kicker::before { content: ''; display: inline-block; width: 36px; height: 3px; background: var(--accent); }
.hero-title {
  font-weight: 900;
  font-size: clamp(40px, 5.4vw, 80px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 26px;
  max-width: 16ch;
}
.hero-title em { color: var(--accent); font-weight: 900; }
.hero-sub { font-size: 17px; line-height: 1.55; color: var(--mute); max-width: 56ch; margin-bottom: 24px; }
.hero-benefits { list-style: none; display: flex; flex-wrap: wrap; gap: 9px 20px; margin: 0 0 32px; padding: 0; }
.hero-benefits li { font-size: 13.5px; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: 8px; letter-spacing: -0.005em; }
.hero-benefits li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { font-size: 13px; color: var(--mute); margin-top: 18px; max-width: 48ch; }
.hero-right { position: relative; aspect-ratio: 4/5; max-height: 640px; }
.hero-img-wrap {
  position: relative;
  width: 100%; height: 100%;
  background: var(--paper-2);
  overflow: hidden;
  border-bottom: 6px solid var(--accent);
}
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-img-cap { display: none; }
.hero-badge {
  position: absolute;
  left: -28px; bottom: 36px;
  background: var(--ink);
  color: var(--paper);
  padding: 16px 22px 18px 22px;
  display: flex; align-items: center; gap: 14px;
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow-lg);
}
.hero-badge-num {
  font-size: 36px; font-weight: 900;
  line-height: 0.9; letter-spacing: -0.04em;
  color: var(--accent);
}
.hero-badge-lbl {
  font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 700;
  color: rgba(255,255,255,0.75);
  line-height: 1.3;
}
.hero-pill {
  position: absolute;
  right: 0; top: 24px;
  background: var(--paper);
  color: var(--ink);
  padding: 9px 16px;
  font-size: 10.5px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 800;
  border-left: 3px solid var(--accent);
  box-shadow: var(--shadow);
}

/* ============ Certification strip (below trust) ============ */
.certs-strip {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.certs-strip-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 22px var(--pad-x) 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}
.certs-strip-label {
  font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 800;
  color: var(--mute);
  padding-right: 32px;
  border-right: 1px solid var(--line-strong);
  white-space: nowrap;
}
.certs-strip-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
}
.cs-badge {
  padding: 6px 18px 6px 0;
  display: flex; flex-direction: column;
  gap: 2px;
  border-right: 1px solid var(--line);
}
.cs-badge:last-child { border-right: none; }
.cs-badge strong {
  font-size: 13px; font-weight: 900;
  color: var(--ink);
  letter-spacing: 0.02em;
}
.cs-badge span {
  font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 600;
  color: var(--mute);
}

/* ============ Capability strip (huge numerals) ============ */
.trust { background: var(--ink); color: var(--paper); padding: 0; }
.trust-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-cell {
  padding: 36px clamp(20px, 2vw, 32px);
  border-left: 1px solid var(--line-dk);
}
.trust-cell:first-child { border-left: none; padding-left: 0; }
.trust-cell:last-child { padding-right: 0; }
.trust-num {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 900;
  line-height: 0.9;
  color: var(--paper);
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
.trust-num em { color: var(--accent); font-weight: 900; }
.trust-label {
  font-size: 11px; letter-spacing: 0.16em;
  color: rgba(255,255,255,0.62);
  text-transform: uppercase; font-weight: 700;
}

/* ============ Categories ============ */
.cats { background: var(--paper-2); }
.cats-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: end; margin-bottom: 56px; }
.cats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: start;
}
.cat {
  position: relative; display: block; overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform .25s, border-color .15s, box-shadow .25s;
}
.cat:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: var(--shadow); }
.cat::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0;
  height: 4px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s;
}
.cat:hover::after { transform: scaleX(1); }
.cat picture, .cat .cat-img { display: block; }
.cat-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .4s; }
.cat:hover .cat-img { transform: scale(1.04); }
.cat-meta { padding: 18px 20px 22px; }
.cat-num { font-size: 10.5px; letter-spacing: 0.16em; color: var(--accent); text-transform: uppercase; font-weight: 800; margin-bottom: 8px; }
.cat-name { font-size: 18px; font-weight: 800; color: var(--ink); margin-bottom: 6px; letter-spacing: -0.012em; line-height: 1.2; }
.cat-name em { color: var(--accent); font-weight: 800; }
.cat-tag { font-size: 12px; color: var(--mute); letter-spacing: 0.02em; font-weight: 500; }
/* Uniform grid — all six category cards equal size, consistent image ratio */
.cat-1, .cat-2, .cat-3, .cat-4, .cat-5, .cat-6 { grid-column: span 1; grid-row: span 1; }

/* ============ Story / dark sections ============ */
.story { background: var(--paper-dk); color: var(--paper); }
.story::before { display: none; }
.story .section-title { color: var(--paper); }
.story .section-num { color: var(--accent); }
.story-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.story-img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-bottom: 6px solid var(--accent); }
.story-prose { font-size: 16px; line-height: 1.7; color: rgba(255,255,255,0.78); }
.story-prose p + p { margin-top: 18px; }
.story-prose strong { color: var(--paper); font-weight: 700; }
.story-stats { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.14); }
.story-stats > div { padding: 0 20px; border-left: 1px solid rgba(255,255,255,0.14); }
.story-stats > div:first-child { padding-left: 0; border-left: none; }
.story-stat-n { font-size: 48px; font-weight: 900; color: var(--paper); margin-bottom: 8px; letter-spacing: -0.035em; line-height: 0.95; }
.story-stat-l { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.62); font-weight: 700; }

/* ============ Methods ============ */
.methods-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: end; margin-bottom: 56px; }
.methods-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.method {
  background: var(--paper); border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s, border-color .15s;
  display: flex; flex-direction: column;
  position: relative;
}
.method:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--ink); }
.method::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 4px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.method:hover::after { transform: scaleX(1); }
.method-img-wrap { aspect-ratio: 16/10; overflow: hidden; background: var(--ink); border-bottom: 1px solid var(--line); }
.method-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.method:hover .method-img { transform: scale(1.04); }
.method-body { padding: 28px 26px 30px; }
.method-num {
  font-size: 10.5px; letter-spacing: 0.18em; color: var(--accent);
  margin-bottom: 16px; font-weight: 800; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
}
.method-num::before { content: ''; display: inline-block; width: 24px; height: 2px; background: var(--accent); }
.method-name { font-size: 22px; font-weight: 900; margin-bottom: 12px; color: var(--ink); letter-spacing: -0.018em; line-height: 1.12; }
.method-name em { color: var(--accent); font-weight: 900; }
.method-desc { font-size: 14.5px; color: var(--mute); line-height: 1.6; margin-bottom: 24px; }
.method-list { list-style: none; font-size: 13px; border-top: 2px solid var(--ink); padding-top: 14px; }
.method-list li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--paper-3); }
.method-list li:last-child { border-bottom: none; }
.method-list li span:first-child { color: var(--mute); font-weight: 500; }
.method-list li span:last-child { color: var(--ink); font-weight: 700; }

/* ============ Process timeline ============ */
.process { background: var(--paper-2); }
.process-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: end; margin-bottom: 48px; }
.process-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.process-steps::before { display: none; }
.step {
  background: var(--paper); border: 1px solid var(--line);
  padding: 22px 18px; transition: border-color .15s, transform .15s, box-shadow .25s;
  border-top: 3px solid var(--accent);
}
.step:hover { border-color: var(--ink); border-top-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow); }
.step-dot {
  width: auto; height: auto; border: none; background: transparent;
  font-size: 30px; font-weight: 900; color: var(--ink);
  letter-spacing: -0.04em; margin-bottom: 14px; padding: 0; border-radius: 0;
  line-height: 1;
}
.step:hover .step-dot { background: transparent; color: var(--accent); }
.step-title { font-size: 14px; font-weight: 800; color: var(--ink); margin-bottom: 6px; letter-spacing: -0.005em; line-height: 1.2; text-transform: uppercase; }
.step-desc { font-size: 12.5px; color: var(--mute); line-height: 1.55; }

/* ============ Specs / certs ============ */
.specs-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(36px, 4vw, 64px); align-items: start; }
.spec-table { width: 100%; border-collapse: collapse; border: 1px solid var(--ink); background: var(--paper); }
.spec-table th, .spec-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }
.spec-table th { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); font-weight: 700; width: 30%; background: var(--paper-2); border-right: 1px solid var(--line); }
.spec-table td { color: var(--ink); font-weight: 500; }
.spec-table .row-h td { background: var(--ink); color: var(--paper); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 800; padding: 14px 18px; border-right: none; }
.certs { background: var(--paper-2); padding: 28px 26px; border: 1px solid var(--line); border-top: 4px solid var(--accent); }
.certs-title { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); margin-bottom: 18px; font-weight: 800; }
.certs-list { list-style: none; display: grid; gap: 16px; }
.certs-list li { display: flex; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.certs-list li:last-child { border-bottom: none; padding-bottom: 0; }
.cert-mark { flex: none; width: 44px; height: 44px; background: var(--ink); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 900; letter-spacing: 0.05em; }
.cert-name { font-weight: 800; font-size: 14px; margin-bottom: 3px; color: var(--ink); }
.cert-desc { font-size: 13px; color: var(--mute); line-height: 1.5; }

/* ============ Clients & testimonial ============ */
.clients { background: var(--paper); }
.clients-row {
  display: grid; grid-template-columns: repeat(6, 1fr);
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  margin: 48px 0;
}
.client-logo {
  font-size: 14.5px; font-weight: 800; color: var(--ink);
  text-align: center; padding: 22px 16px;
  border-right: 1px solid var(--line);
  letter-spacing: -0.005em; line-height: 1.2;
  transition: background .15s;
}
.client-logo:hover { background: var(--paper-2); }
.client-logo:last-child { border-right: none; }
.client-logo .smc {
  font-size: 9.5px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 700; display: block; margin-top: 5px; color: var(--mute);
}
.testi { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.testi-quote { font-size: clamp(20px, 2.2vw, 28px); line-height: 1.4; color: var(--ink); font-weight: 600; letter-spacing: -0.015em; }
.testi-quote::before { content: '"'; display: block; font-size: 64px; line-height: 0.7; color: var(--accent); margin-bottom: 8px; font-weight: 900; font-family: Georgia, serif; }
.testi-author { margin-top: 28px; font-size: 13px; color: var(--mute); padding-top: 20px; border-top: 1px solid var(--line); }
.testi-author strong { color: var(--ink); font-weight: 800; }

/* ============ FAQ ============ */
.faq { background: var(--paper-2); }
.faq-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: end; margin-bottom: 32px; }
.faq-list { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); background: var(--paper); }
.faq-item[open] { background: var(--paper); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  cursor: pointer; font-size: 16.5px; font-weight: 700; color: var(--ink);
  padding: 22px 24px; list-style: none; letter-spacing: -0.005em;
  transition: color .15s;
}
.faq-q:hover { color: var(--accent); }
.faq-q::-webkit-details-marker { display: none; }
.faq-icon { font-size: 22px; color: var(--accent); font-weight: 300; flex: none; transition: transform .25s; line-height: 1; }
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-a { font-size: 14.5px; line-height: 1.7; color: var(--mute); padding: 0 24px 24px 24px; max-width: 80ch; }
.faq-a strong { font-weight: 800; color: var(--ink); }

/* ============ Quote / inquiry section ============ */
.quote { background: var(--ink); color: var(--paper); }
.quote .section-title { color: var(--paper); }
.quote .section-num { color: var(--accent); }
.quote-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(40px, 5vw, 80px); align-items: start; }
.quote-left p { font-size: 16px; line-height: 1.65; color: rgba(255,255,255,0.78); margin-bottom: 28px; max-width: 50ch; }
.quote-info { font-size: 14px; }
.qi-row { display: grid; grid-template-columns: 110px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.14); }
.qi-row:last-child { border-bottom: none; }
.qi-row dt { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.62); font-weight: 700; padding-top: 2px; }
.qi-row dd { color: var(--paper); }
.qi-row a { color: var(--accent); }
.qi-row a:hover { text-decoration: underline; color: var(--accent); }

/* ============ Forms ============ */
.form { background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--accent); padding: 32px; }
.quote .form { background: var(--paper); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field { display: flex; flex-direction: column; }
.field label {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink); font-weight: 800; margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  font: inherit; font-size: 14.5px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  border-radius: 0;
  transition: border-color .15s;
  font-family: var(--font-sans);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-bg);
}
.field textarea { resize: vertical; min-height: 100px; line-height: 1.55; }
.form-submit {
  margin-top: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: var(--paper);
  border: 2px solid var(--accent);
  padding: 14px 32px;
  font-size: 13.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: 0; cursor: pointer;
  transition: background .15s, transform .15s;
}
.form-submit:hover { background: var(--accent-dk); border-color: var(--accent-dk); transform: translateY(-1px); }

/* ============ Footer ============ */
.footer { background: var(--ink); color: rgba(255,255,255,0.65); padding: 64px 0 0; border-top: 4px solid var(--accent); }
.footer-grid { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand { font-size: 24px; font-weight: 900; color: var(--paper); margin-bottom: 14px; letter-spacing: 0.04em; }
.footer-brand em { color: var(--accent); font-weight: 900; }
.footer-tag { font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,0.55); max-width: 36ch; margin-bottom: 16px; }
.footer-col h3 { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--paper); margin-bottom: 16px; font-weight: 800; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.14); }
.footer-col ul { list-style: none; font-size: 13.5px; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: rgba(255,255,255,0.6); transition: color .15s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: var(--maxw); margin: 0 auto;
  padding: 22px var(--pad-x); display: flex;
  justify-content: space-between; align-items: center; gap: 24px;
  font-size: 11.5px; color: rgba(255,255,255,0.62); border-top: 1px solid var(--line-dk);
  letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600;
}

/* ============ Page head ============ */
.page-head { padding: 56px 0 40px; background: var(--paper); border-bottom: 1px solid var(--line); position: relative; }
.page-head::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 120px; height: 4px; background: var(--accent); }
.page-head-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x); display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: end; }
.page-title { font-size: clamp(36px, 4.8vw, 72px); font-weight: 900; line-height: 0.98; letter-spacing: -0.035em; color: var(--ink); max-width: 18ch; }
.page-title em { color: var(--accent); font-weight: 900; }
.page-lede { font-size: 17px; line-height: 1.55; color: var(--mute); max-width: 60ch; }
.breadcrumb { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); margin-bottom: 22px; font-weight: 700; }
.breadcrumb a { color: var(--mute); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { margin: 0 8px; opacity: .5; }

/* ============ Product rows (products.html) ============ */
.product-row { padding: clamp(56px, 6vw, 96px) 0; border-bottom: 1px solid var(--line); }
.product-row:nth-child(even), .product-row.alt { background: var(--paper-2); }
.product-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 4.5vw, 72px); align-items: center;
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad-x);
}
.product-grid.reverse .product-img { order: 2; }
.product-img { width: 100%; aspect-ratio: 4/3; overflow: hidden; background: var(--ink); border-bottom: 4px solid var(--accent); }
.product-img picture, .product-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-body { max-width: 580px; }
.product-num { font-size: 11.5px; letter-spacing: 0.18em; color: var(--accent); margin-bottom: 16px; font-weight: 800; text-transform: uppercase; display: inline-flex; align-items: center; gap: 12px; }
.product-num::before { content: ''; display: inline-block; width: 28px; height: 3px; background: var(--accent); }
.product-name { font-size: clamp(28px, 3vw, 44px); font-weight: 900; line-height: 1; letter-spacing: -0.028em; margin-bottom: 18px; color: var(--ink); }
.product-name em { color: var(--accent); font-weight: 900; }
.product-desc { font-size: 16px; line-height: 1.65; color: var(--mute); margin-bottom: 26px; }
.product-specs { font-size: 13.5px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--ink); background: var(--paper); }
.product-specs > div { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.product-specs > div:nth-child(2n) { border-right: none; }
.product-specs > div:nth-last-child(-n+2) { border-bottom: none; }
.product-specs dt { font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); font-weight: 700; padding-top: 2px; }
.product-specs dd { color: var(--ink); font-weight: 600; }

/* ============ Industries grid ============ */
.industries-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(24px, 3vw, 40px) var(--pad-x) clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.industry-card {
  display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px 28px;
  transition: border-color .15s, transform .15s, box-shadow .25s;
  position: relative;
}
.industry-card::before {
  content: ''; position: absolute; left: 0; top: 0; width: 4px; height: 48px;
  background: var(--accent); transition: height .25s;
}
.industry-card:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow); }
.industry-card:hover::before { height: 100%; }
.industry-num { font-size: 11px; letter-spacing: 0.16em; color: var(--accent); margin-bottom: 18px; font-weight: 800; text-transform: uppercase; }
.industry-card h2, .industry-card h3 { font-size: 22px; font-weight: 900; margin-bottom: 12px; color: var(--ink); letter-spacing: -0.018em; line-height: 1.1; }
.industry-card p { font-size: 14.5px; line-height: 1.6; color: var(--mute); margin-bottom: 18px; flex: 1; }
.industry-tag { font-size: 10.5px; letter-spacing: 0.12em; color: var(--ink); font-weight: 700; padding-top: 18px; border-top: 1px solid var(--line); text-transform: uppercase; }

/* ============ Article body ============ */
.article-body { max-width: 880px; margin: 0 auto; padding: clamp(40px, 5vw, 72px) var(--pad-x) clamp(64px, 8vw, 112px); font-size: 16.5px; line-height: 1.75; color: var(--ink-3); }
.article-body h2 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 900; line-height: 1.1; letter-spacing: -0.022em; margin: 56px 0 20px; color: var(--ink); padding-top: 24px; border-top: 2px solid var(--ink); }
.article-body h2 em { color: var(--accent); font-weight: 900; }
.article-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.article-body h3 { font-size: 20px; font-weight: 800; margin: 36px 0 12px; color: var(--ink); letter-spacing: -0.012em; }
.article-body p { margin-bottom: 20px; }
.article-body a { color: var(--accent); border-bottom: 1px solid currentColor; font-weight: 600; }
.article-body a:hover { color: var(--accent-dk); }
.article-body ul, .article-body ol { margin: 0 0 22px 1.4em; }
.article-body li { margin-bottom: 9px; }
.article-body blockquote { margin: 32px 0; padding: 22px 28px; border-left: 4px solid var(--accent); background: var(--paper-2); font-size: 17px; line-height: 1.55; color: var(--ink); }
.article-body strong { color: var(--ink); font-weight: 700; }

.glossary-list { font-size: 15.5px; }
.glossary-list dt { font-weight: 900; color: var(--ink); margin: 22px 0 6px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 16px; letter-spacing: -0.005em; }
.glossary-list dt:first-child { padding-top: 0; border-top: none; }
.glossary-list dd { color: var(--ink-3); line-height: 1.65; margin-left: 0; margin-bottom: 6px; }

.will-list { list-style: none; font-size: 15.5px; padding: 8px 0; }
.will-list li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink-3); }
.will-list li:last-child { border-bottom: none; }
.will-list strong { color: var(--accent); margin-right: 8px; font-weight: 800; }

/* ============ Dark form (contact page) ============ */
.dark-form { padding: clamp(48px, 6vw, 88px) 0; max-width: var(--maxw); margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(40px, 5vw, 72px); padding: 0 var(--pad-x); }
.contact-info dl { display: grid; gap: 0; }
.contact-info dt { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mute); font-weight: 800; padding-top: 16px; }
.contact-info dt:first-child { padding-top: 0; }
.contact-info dd { font-size: 15px; color: var(--ink); padding: 4px 0 16px; border-bottom: 1px solid var(--line); }
.contact-info dd:last-child { border-bottom: none; }
.contact-info dd a { color: var(--accent); font-weight: 600; }

/* ============ Mobile CTA ============ */
.mobile-cta {
  position: fixed; bottom: 16px; left: 16px; right: 16px;
  background: var(--accent); color: var(--paper);
  padding: 16px;
  text-align: center; font-weight: 800; font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase;
  transform: translateY(120%); transition: transform .25s;
  z-index: 40; box-shadow: 0 12px 32px rgba(0,0,0,0.3);
  display: none;
}
.mobile-cta.show { transform: translateY(0); }

/* Reveal: disabled */
.reveal, .reveal.in { opacity: 1; transform: none; }

.inquiry-result { font-family: var(--font-sans) !important; }

/* ============ Responsive ============ */
@media (max-width: 1200px) {
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-1, .cat-2, .cat-3, .cat-4, .cat-5, .cat-6 { grid-column: span 1; grid-row: auto; }
  .cat-1 .cat-img, .cat-2 .cat-img, .cat-3 .cat-img, .cat-4 .cat-img, .cat-5 .cat-img, .cat-6 .cat-img { aspect-ratio: 16/10; }
  .industries-grid, .methods-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .clients-row { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .footer-grid > div:nth-child(n+5) { grid-column: span 1; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-cell:nth-child(3) { border-left: none; padding-left: 0; }
  .trust-cell:nth-child(2) { padding-right: 0; }
  .trust-cell { padding-left: clamp(20px, 2vw, 32px); padding-right: clamp(20px, 2vw, 32px); }
}
@media (max-width: 1200px) {
  .certs-strip-row { grid-template-columns: repeat(3, 1fr); gap: 16px 0; }
  .cs-badge:nth-child(3) { border-right: none; }
}
@media (max-width: 960px) {
  .hero-badge { left: 16px; bottom: 16px; padding: 12px 16px 14px 16px; }
  .hero-badge-num { font-size: 28px; }
  .hero-pill { right: 16px; top: 16px; }
  .certs-strip-inner { grid-template-columns: 1fr; gap: 14px; }
  .certs-strip-label { padding-right: 0; padding-bottom: 14px; border-right: none; border-bottom: 1px solid var(--line-strong); }
  .certs-strip-row { grid-template-columns: repeat(2, 1fr); gap: 14px 0; }
  .cs-badge:nth-child(2) { border-right: none; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; }
  .nav-toggle .bar { display: block; width: 20px; height: 2px; background: var(--ink); margin: 2px 0; }
  .hero-inner, .cats-head, .methods-head, .process-head, .faq-head, .page-head-inner, .quote-grid, .story-grid, .specs-grid, .testi, .product-grid, .product-grid.reverse, .contact-grid {
    grid-template-columns: 1fr; gap: 28px;
  }
  .product-grid.reverse .product-img { order: 0; }
  .trust-inner { grid-template-columns: 1fr 1fr; gap: 0; }
  .trust-cell:nth-child(3) { border-left: none; }
  .clients-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .mobile-cta { display: block; }
  .form-row { grid-template-columns: 1fr; gap: 14px; }
  .product-specs { grid-template-columns: 1fr; }
  .product-specs > div { border-right: none; }
}
@media (max-width: 640px) {
  .cats-grid, .industries-grid, .methods-grid, .process-steps { grid-template-columns: 1fr; }
  .clients-row { grid-template-columns: repeat(2, 1fr); }
  .ticker-track { gap: 0; padding: 9px var(--pad-x); }
  .ticker-track span { padding: 0 14px; font-size: 10px; }
  .ticker-track span:first-child { padding-left: 0; }
  .ticker-track span:nth-child(n+4) { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .trust-inner { grid-template-columns: 1fr; }
  .trust-cell { border-left: none; padding: 22px 0; border-top: 1px solid var(--line-dk); }
  .trust-cell:first-child { border-top: none; padding-top: 0; }
}

/* ============ Reduced motion (WCAG 2.3.3) ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  /* neutralize the decorative hover/scroll-in transforms entirely */
  .cat:hover .cat-img, .method:hover .method-img,
  .btn:hover, .btn-primary:hover, .btn:hover .arrow { transform: none !important; }
}

/* ============ 3erp-inspired visual refresh (medium · orange kept) ============
   Rounded-geometric type (Manrope, set via --font-sans), softer corners,
   lighter heading weights, looser tracking, a little more air. Kept in one
   block so the whole refresh is easy to tune or revert. */

/* — softer rounded corners (the base design was all sharp 0-radius) — */
.cat, .industry-card, .method, .product-img, .hero-img-wrap,
.testi, .quote .form, .method-img-wrap { border-radius: var(--radius); }
.industry-card, .method { overflow: hidden; }
.btn, .nav-cta, .mobile-cta { border-radius: 10px; }
.form input, .form select, .form textarea, .inquiry-result { border-radius: var(--radius-sm); }
.hero-badge, .hero-pill, .cs-badge { border-radius: var(--radius-sm); }

/* — lighter, friendlier headings (Manrope tops at 800; tracking eased off the
     brutalist -0.03em) — */
.hero-title { font-weight: 800; letter-spacing: -0.022em; }
.section-title, .section-title em, .page-title, .page-title em { font-weight: 800; letter-spacing: -0.016em; }
.product-name, .cat-name, .industry-card h2, .industry-card h3, .method-name,
.step-title, .footer-brand, .story-stat-n, .trust-num, .hero-badge-num,
.brand-name .top { font-weight: 800; }

/* — a touch more breathing room — */
body { letter-spacing: -0.003em; }
.section-lede { margin-bottom: 60px; }
