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

:root {
  --bg: #F6F6F4;
  --surface: #FFFFFF;
  --surface-alt: #ECECE7;
  --ink: #0E0E0E;
  --ink-soft: #2B2B28;
  --muted: #65645E;
  --line: #D6D5CE;
  --line-strong: #0E0E0E;
  --accent: #B5472A;
  --accent-hover: #96371E;
  --accent-soft: #F3E5E0;
  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, monospace;
  --max-w: 1240px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::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.65;
  -webkit-font-smoothing: antialiased;
}

body.modal-open { overflow: hidden; }

img, picture, svg { display: block; max-width: 100%; }
picture { flex: 1; display: flex; }
picture > img { width: 100%; height: 100%; object-fit: cover; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.hp-trap {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; border-bottom: 1px solid var(--line); }
.section-alt { background: var(--surface-alt); }
.section-dark { background: var(--ink); color: var(--bg); border-bottom-color: #252522; }
.section-dark .muted { color: #B4B3AC; }

/* Typography */
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

h1 { font-size: clamp(2.8rem, 6vw, 5.1rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); }
p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.muted { color: var(--muted); }
.accent-text { color: var(--accent); }

.eyebrow, .mono-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
}

.spec-tag, .cert-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 44px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.section-head p { max-width: 52ch; color: var(--muted); font-size: 0.96rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn-primary { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-dark { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn-dark:hover { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-sm { padding: 9px 15px; font-size: 0.72rem; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246, 246, 244, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.brand-link { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 34px; height: 34px; object-fit: cover; border: 1px solid var(--line-strong); }
.brand-name { font-family: var(--font-display); font-size: 1.55rem; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; }
.brand-sub { display: block; font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.1em; color: var(--muted); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }
.nav-links a:hover, .nav-links a.is-active { color: var(--accent); }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ink);
  background: transparent;
  cursor: pointer;
}

#mobileNav {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 20px 24px 28px;
}

#mobileNav.is-open { display: block; }
#mobileNav ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 12px; }
#mobileNav a { font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase; }

/* Hero Editorial Spread */
.hero { padding: 64px 0 72px; border-bottom: 1px solid var(--line); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: start;
}

.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero-lead { max-width: 54ch; font-size: 1.05rem; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }

.hero-media {
  align-self: start;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.hero-frame {
  align-self: start;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  display: flex;
}

.hero-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-top: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
}

/* Fact Strip */
.fact-strip { border-bottom: 1px solid var(--line); background: var(--surface); }
.fact-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact-item { padding: 26px 22px; border-right: 1px solid var(--line); }
.fact-item:last-child { border-right: 0; }
.fact-val { font-family: var(--font-display); font-size: 2.1rem; font-weight: 800; line-height: 1; }
.fact-lbl { margin-top: 6px; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* Lookbook Asymmetric Mosaic & Product Cards */
.lookbook-mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.lookbook-mosaic > .product-card:nth-child(4n + 1) { grid-column: span 7; }
.lookbook-mosaic > .product-card:nth-child(4n + 2) { grid-column: span 5; }
.lookbook-mosaic > .product-card:nth-child(4n + 3) { grid-column: span 5; }
.lookbook-mosaic > .product-card:nth-child(4n + 4) { grid-column: span 7; }

.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }

.product-card, .blog-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.product-card:hover, .blog-card:hover { border-color: var(--ink); transform: translateY(-2px); }

.card-media {
  align-self: start;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: flex;
  border-bottom: 1px solid var(--line);
  background: var(--surface-alt);
}

.card-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.card-specs { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 6px; font-size: 0.88rem; color: var(--ink-soft); }
.card-specs li { padding-left: 14px; position: relative; }
.card-specs li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 6px; height: 1px; background: var(--accent); }
.card-foot { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; }

/* Interactive Spec & Lead-Time Configurator (Zero Price) */
.cfg-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.cfg-controls { padding: 32px; display: grid; gap: 24px; border-right: 1px solid var(--line); }
.cfg-group-label { display: block; margin-bottom: 10px; font-family: var(--font-mono); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.cfg-options { display: flex; flex-wrap: wrap; gap: 8px; }

.cfg-btn {
  padding: 9px 14px;
  border: 1px solid var(--line);
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  cursor: pointer;
  transition: all 0.16s var(--ease);
}

.cfg-btn:hover { border-color: var(--ink); }
.cfg-btn.is-active { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.cfg-readout { padding: 32px; background: var(--surface-alt); display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.cfg-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cfg-metric { padding: 14px; background: var(--surface); border: 1px solid var(--line); }
.cfg-metric-val { font-family: var(--font-display); font-size: 1.65rem; font-weight: 700; line-height: 1.05; }
.cfg-note-box { padding: 14px; border-left: 2px solid var(--accent); background: var(--surface); font-size: 0.88rem; color: var(--ink-soft); }
.cfg-summary-pre { font-family: var(--font-mono); font-size: 0.75rem; line-height: 1.55; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line); padding: 12px; }

/* Factory Transparency & Split Feature */
.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.split-feature--rev .story-media { order: 2; }
.story-media { align-self: start; aspect-ratio: 3 / 2; overflow: hidden; display: flex; border: 1px solid var(--line-strong); }
.story-copy { display: grid; gap: 18px; }

.spec-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); }
.spec-table th, .spec-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; font-size: 0.92rem; vertical-align: top; }
.spec-table th { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; background: var(--surface-alt); color: var(--ink); width: 32%; }

.process-timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.process-step { padding: 24px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.process-num { font-family: var(--font-mono); font-size: 0.78rem; color: var(--accent); font-weight: 600; }

/* FAQ Accordion */
.faq-list { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  text-transform: uppercase;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.1rem; color: var(--accent); }
.faq-item[open] summary::after { content: "-"; }
.faq-answer { padding: 0 0 22px; color: var(--muted); max-width: 72ch; }

/* Blog & Article Prose */
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.b2b-article-body, article { max-width: 78ch; font-size: 1.02rem; line-height: 1.78; color: var(--ink-soft); }
.b2b-article-body h2, article h2 { margin: 2.2rem 0 0.9rem; color: var(--ink); }
.b2b-article-body h3, article h3 { margin: 1.7rem 0 0.7rem; color: var(--ink); }
.b2b-article-body ul, .b2b-article-body ol, article ul, article ol { padding-left: 1.4rem; margin: 0 0 1.25rem; }
.b2b-article-body blockquote, article blockquote { margin: 1.6rem 0; padding: 14px 20px; border-left: 3px solid var(--accent); background: var(--surface); font-style: italic; }

.table-scroll { width: 100%; overflow-x: auto; margin: 1.6rem 0; }
.b2b-article-body table, article table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.6rem 0;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 0.92rem;
  display: block;
  overflow-x: auto;
}
.b2b-article-body table thead, .b2b-article-body table tbody,
article table thead, article table tbody { display: table; width: 100%; min-width: 520px; }
.b2b-article-body table th, .b2b-article-body table td,
article table th, article table td { padding: 12px 14px; border: 1px solid var(--line); text-align: left; }
.b2b-article-body table th, article table th {
  background: var(--surface-alt);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink);
}

/* 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: 96px; display: grid; gap: 18px; }
.rfq-card { padding: 32px; background: var(--surface); border: 1px solid var(--line-strong); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  background: var(--bg);
  border-radius: var(--radius);
  font-size: 0.95rem;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); background: var(--surface); outline: none; }
.field textarea { min-height: 118px; resize: vertical; }

.form-feedback { margin-top: 12px; padding: 10px 14px; font-size: 0.88rem; border: 1px solid var(--accent); background: var(--accent-soft); color: var(--ink); display: none; }
.form-feedback.is-visible { display: block; }
#rfqSuccess, #waSuccess { display: none; margin-top: 16px; padding: 16px; border: 1px solid var(--ink); background: var(--surface-alt); font-family: var(--font-mono); font-size: 0.82rem; }
#rfqSuccess.is-visible, #waSuccess.is-visible { display: block; }

/* WhatsApp Modal & Floating CTA */
#waModal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#waModal.is-open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(14, 14, 14, 0.72); }
.modal-dialog {
  position: relative;
  z-index: 1;
  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;
}

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}
.wa-float:hover { background: var(--accent); border-color: var(--accent); color: #FFFFFF; }

/* Subtle GDPR Cookie Banner */
#cookieBanner {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 75;
  max-width: 410px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  display: none;
  gap: 12px;
  font-size: 0.84rem;
}
#cookieBanner.is-visible { display: grid; }
.cookie-actions { display: flex; gap: 8px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--bg); 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 #262623; }
.footer-col h3 { font-size: 1.15rem; margin-bottom: 14px; color: var(--bg); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 0.9rem; color: #BDBCB5; }
.footer-col a:hover { color: #FFFFFF; }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-family: var(--font-mono); font-size: 0.72rem; color: #9C9B94; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-grid, .cfg-shell, .split-feature, .rfq-grid { grid-template-columns: 1fr; }
  .cfg-controls { border-right: 0; border-bottom: 1px solid var(--line); }
  .rfq-aside { position: static; }
  .fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact-item:nth-child(2) { border-right: 0; }
  .fact-item:nth-child(1), .fact-item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .process-timeline, .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .section { padding: 56px 0; }
  .nav-links, .nav-actions { display: none; }
  .nav-toggle { display: inline-flex; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .lookbook-mosaic > .product-card { grid-column: 1 / -1 !important; }
  .card-grid, .form-grid, .process-timeline, .blog-grid, .footer-grid { grid-template-columns: 1fr; }
  .split-feature--rev .story-media { order: 0; }
  .wa-float { right: 14px; bottom: 14px; padding: 10px 14px; }
  #cookieBanner { left: 14px; right: 14px; bottom: 68px; max-width: none; }
}
