@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg: #ffffff;
  --surface: #f5f7fa;
  --surface-alt: #eceff4;
  --ink: #181c22;
  --ink-soft: #363e4a;
  --muted: #616c7c;
  --line: #d8dfe8;
  --line-strong: #181c22;
  --accent: #1e40af;
  --accent-hover: #17328c;
  --accent-soft: #eef2ff;
  --wa: #15803d;
  --wa-hover: #116630;
  --danger: #b91c1c;
  --font-display: 'Barlow', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
  --container: 1240px;
  --radius: 2px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
img, picture, svg { display: block; max-width: 100%; }
picture { flex: 1; display: flex; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

/* Anti-spam honeypot: strictly off-screen, never focusable via normal flow */
.hp-trap {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--font-mono); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--accent);
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.12;
  color: var(--ink);
}
h1 { font-size: clamp(2.2rem, 4.1vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 2.7vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 1.5vw, 1.42rem); }
p { margin: 0 0 1rem; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

/* Export compliance strip & Header */
.compliance-strip {
  background: var(--ink);
  color: #e5e9f0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  border-bottom: 1px solid #2b323d;
}
.compliance-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 8px 0;
}
.compliance-items { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.compliance-items span { display: inline-flex; align-items: center; gap: 6px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.brand-link img { width: 34px; height: 34px; object-fit: cover; border: 1px solid var(--line); border-radius: var(--radius); }
.brand-sub {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease;
}
.site-nav a:hover, .site-nav a.is-active { color: var(--ink); border-bottom-color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

/* Mobile drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 55;
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 24px;
  overflow-y: auto;
}
.mobile-nav.is-open { display: flex; flex-direction: column; gap: 16px; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}
.btn-primary { background: var(--accent); color: #ffffff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-secondary { background: var(--bg); color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--ink); color: #ffffff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: var(--surface); }
.btn-wa { background: var(--wa); color: #ffffff; border-color: var(--wa); }
.btn-wa:hover { background: var(--wa-hover); border-color: var(--wa-hover); }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; }

/* Sections */
.section { padding: 84px 0; border-bottom: 1px solid var(--line); }
.section--surface { background: var(--surface); }
.section--tight { padding: 56px 0; }
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
}
.section-head-copy { max-width: 680px; display: flex; flex-direction: column; gap: 10px; }
.section-lead { font-size: 1.02rem; color: var(--ink-soft); }

/* Hero asymmetric spread */
.hero { padding: 64px 0 72px; border-bottom: 1px solid var(--line); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 48px;
  align-items: start;
}
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.hero-h1-accent { color: var(--accent); }
.hero-subtitle { font-size: 1.06rem; line-height: 1.65; color: var(--ink-soft); max-width: 60ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--muted);
}

/* Image framing hygiene: align-self start, strict aspect-ratio, zero dead filler */
.hero-media, .media-frame, .card-media {
  align-self: start;
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.hero-media { aspect-ratio: 3 / 2; display: flex; }
.media-frame { aspect-ratio: 4 / 3; display: flex; }
.card-media { aspect-ratio: 4 / 3; display: flex; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; }
.hero-media img, .media-frame img, .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-caption {
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

/* Fact / Metrics modular grid */
.fact-strip {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: var(--bg);
}
.fact-cell {
  padding: 20px 22px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fact-cell:last-child { border-right: 0; }
.fact-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.fact-value {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--ink);
}
.cert-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.cert-chip {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  padding: 5px 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--radius);
}

/* Lookbook / Product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.16s ease;
}
.product-card:hover { border-color: var(--ink); }
.card-body { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.card-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}
.card-specs {
  list-style: none;
  margin: 4px 0 8px;
  padding: 12px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.card-specs li { display: flex; gap: 8px; }
.card-specs li::before { content: '—'; color: var(--accent); font-family: var(--font-mono); }
.card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* Interactive Zero-Price Spec Configurator */
.cfg-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 32px;
  align-items: start;
}
.cfg-controls {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 28px;
  background: var(--bg);
  border: 1px solid var(--line);
}
.cfg-group { display: flex; flex-direction: column; gap: 10px; }
.cfg-group-label {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.cfg-options { display: flex; flex-wrap: wrap; gap: 8px; }
.cfg-btn {
  padding: 9px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.15s ease;
}
.cfg-btn:hover { border-color: var(--ink); color: var(--ink); }
.cfg-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}
.cfg-panel {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding: 28px;
  background: var(--ink);
  color: #f3f5f8;
  border: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cfg-panel h3 { color: #ffffff; }
.cfg-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.cfg-metric {
  padding: 14px;
  background: #222831;
  border: 1px solid #323b48;
}
.cfg-metric-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9aa5b5;
  margin-bottom: 4px;
}
.cfg-metric-val {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
}
.cfg-note {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #d5dce6;
  padding-top: 12px;
  border-top: 1px solid #323b48;
}
.cfg-summary {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.55;
  color: #c7d2fe;
  background: #11151b;
  border: 1px solid #2d3645;
  padding: 12px 14px;
}

/* Technical Tables (QA, Tolerances, MOQ, Article Tables) */
.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); background: var(--bg); }
.spec-table, .b2b-article-body table, article table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  text-align: left;
  background: var(--bg);
}
.b2b-article-body table, article table {
  display: block;
  overflow-x: auto;
  margin: 24px 0;
  border: 1px solid var(--line);
}
.spec-table th, .spec-table td,
.b2b-article-body table th, .b2b-article-body table td,
article table th, article table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  vertical-align: top;
}
.spec-table th:last-child, .spec-table td:last-child,
.b2b-article-body table th:last-child, .b2b-article-body table td:last-child,
article table th:last-child, article table td:last-child { border-right: 0; }
.spec-table thead th,
.b2b-article-body table thead th,
article table thead th {
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
}
.spec-table tbody tr:nth-child(even),
.b2b-article-body table tbody tr:nth-child(even),
article table tbody tr:nth-child(even) { background: #fafbfd; }

/* Factory Transparency & Process */
.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}
.feature-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.feature-cell {
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--bg);
}
.feature-num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 8px;
}
.process-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.process-step {
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.process-step-id {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 10px;
}

/* FAQ Accordion */
.faq-list { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--accent);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '−'; }
.faq-answer { padding: 0 0 22px; color: var(--ink-soft); font-size: 0.96rem; max-width: 72ch; }

/* Blog & Article Prose */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.b2b-article-body, article.prose { max-width: 76ch; font-size: 1rem; line-height: 1.75; color: var(--ink-soft); }
.b2b-article-body h2, article.prose h2 { margin: 2.2rem 0 0.85rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.b2b-article-body h3, article.prose h3 { margin: 1.6rem 0 0.65rem; }
.b2b-article-body ul, .b2b-article-body ol, article.prose ul, article.prose ol { margin: 0 0 1.25rem; padding-left: 1.35rem; }
.b2b-article-body li, article.prose li { margin-bottom: 0.45rem; }
.b2b-article-body blockquote, article.prose blockquote {
  margin: 1.6rem 0;
  padding: 14px 18px;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  color: var(--ink);
}
.sidebar-sticky {
  position: sticky;
  top: calc(var(--header-h) + 20px);
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Sticky Inquiry / RFQ Section */
.rfq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 44px;
  align-items: start;
}
.rfq-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.rfq-card {
  position: relative;
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
}
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 13px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.94rem;
  transition: border-color 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.field textarea { min-height: 118px; resize: vertical; }
.form-feedback {
  display: none;
  margin-top: 12px;
  padding: 11px 14px;
  font-size: 0.88rem;
  border: 1px solid var(--danger);
  background: #fef2f2;
  color: var(--danger);
}
.form-feedback.is-visible { display: block; }
.form-success {
  display: none;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid var(--wa);
  background: #f0fdf4;
  color: #14532d;
  font-size: 0.92rem;
}
.form-success.is-visible { display: block; }
.rfq-sla {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--muted);
}

/* Footer */
.site-footer { background: var(--ink); color: #cfd6e0; padding: 64px 0 32px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid #2b323d;
}
.site-footer h3, .site-footer h4 { color: #ffffff; font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.site-footer p, .site-footer li { font-size: 0.88rem; color: #b4becb; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a:hover { color: #ffffff; text-decoration: underline; }
.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #8c96a6;
}

/* WhatsApp Modal & Floating CTA */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--wa);
  color: #ffffff;
  border: 1px solid #14532d;
  border-radius: var(--radius);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}
.wa-float:hover { background: var(--wa-hover); }

#waModal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(24, 28, 34, 0.72);
}
#waModal.is-open { display: flex; }
.modal-panel {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  padding: 28px;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  font-family: var(--font-mono);
}

/* Subtle GDPR Cookie Banner */
#cookieBanner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 65;
  max-width: 420px;
  padding: 16px 18px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  font-size: 0.82rem;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#cookieBanner.is-hidden { display: none; }
.cookie-actions { display: flex; gap: 8px; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid, .cfg-grid, .split-feature, .rfq-grid, .article-layout { grid-template-columns: 1fr; }
  .cfg-panel, .rfq-aside, .sidebar-sticky { position: static; }
  .fact-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact-cell:nth-child(2) { border-right: 0; }
  .fact-cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .process-list, .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .site-nav, .header-actions .btn-secondary { display: none; }
  .nav-toggle { display: inline-flex; }
  .section { padding: 56px 0; }
  .hero { padding: 40px 0 48px; }
  .product-grid, .feature-grid-4, .process-list, .blog-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .fact-strip { grid-template-columns: 1fr; }
  .fact-cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .fact-cell:last-child { border-bottom: 0; }
  .rfq-card, .cfg-controls, .cfg-panel { padding: 20px; }
  #cookieBanner { left: 12px; right: 12px; bottom: 72px; max-width: none; }
}
