/* ==========================================================================
   FLUX SUPPLY — design tokens
   Palette: asphalt black, charcoal surface, steel line, flux orange accent,
   worn-paper text. Display face: Bebas Neue (stamped-metal headlines).
   Body face: Inter. Utility face: IBM Plex Mono (spec tags, SKUs).
   ========================================================================== */

:root {
  --bg: #15171a;
  --surface: #1f2225;
  --surface-2: #292d31;
  --line: #3a3f44;
  --line-soft: #2a2e32;
  --accent: #f4541b;
  --accent-dim: #c7431a;
  --accent-soft: rgba(244, 84, 27, 0.14);
  --text: #ece8e0;
  --text-muted: #9da0a2;
  --text-faint: #6b6f72;

  --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --max-width: 1180px;
  --radius: 3px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin: 0;
  text-transform: uppercase;
}

h1 { font-size: clamp(40px, 6.5vw, 76px); }
h2 { font-size: clamp(28px, 4vw, 44px); }
h3 { font-size: 22px; letter-spacing: 0.02em; }

p { margin: 0; }
.lede {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 540px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: #18120d;
  font-weight: 600;
}
.btn-primary:hover { background: #ff6a32; }
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(21, 23, 26, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.logo {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo .dot { color: var(--accent); }

.logo-icon {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex: 0 0 auto;
}

.logo-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  border-color: var(--accent);
}
.nav-cta { margin-left: 8px; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 18px;
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line-soft);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 14px 24px;
    border-bottom: 1px solid var(--line-soft);
    border-left: 2px solid transparent;
  }
  .nav-links a:hover, .nav-links a[aria-current="page"] {
    border-left-color: var(--accent);
    border-bottom-color: var(--line-soft);
  }
  .nav-cta { margin: 12px 24px 4px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
  padding: 96px 0 80px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      var(--accent-soft) 0px, var(--accent-soft) 10px,
      transparent 10px, transparent 20px
    );
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(to left, black, transparent 35%);
  mask-image: linear-gradient(to left, black, transparent 35%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; }
.hero h1 { margin: 18px 0 22px; max-width: 16ch; }
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-strip {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--line-soft);
  margin-top: 64px;
  flex-wrap: wrap;
}
.hero-strip-item {
  flex: 1 1 200px;
  padding: 18px 20px;
  border-right: 1px solid var(--line-soft);
}
.hero-strip-item:last-child { border-right: none; }
.hero-strip-item .num {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 13px;
  display: block;
  margin-bottom: 4px;
}
.hero-strip-item .label {
  font-size: 14px;
  color: var(--text-muted);
}

/* ==========================================================================
   GENERIC SECTION
   ========================================================================== */
.section { padding: 88px 0; }
.section-tight { padding: 56px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.section-head h2 { margin-top: 12px; }
.section-bordered { border-top: 1px solid var(--line-soft); }
.section-alt { background: var(--surface); }

/* ---------- category cards ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}
.cat-card {
  background: var(--bg);
  padding: 32px 24px;
  transition: background 0.15s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cat-card:hover { background: var(--surface); }
.cat-card .glyph {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.cat-card .glyph svg { width: 19px; height: 19px; }
.cat-card h3 { font-size: 18px; }
.cat-card p { color: var(--text-muted); font-size: 14px; }
.cat-card .arrow { margin-top: auto; font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); }

@media (max-width: 860px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .cat-grid { grid-template-columns: 1fr; }
}

/* ---------- feature list (why shops order from us) ---------- */
.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.feature-item {
  border-left: 2px solid var(--accent);
  padding-left: 20px;
}
.feature-item .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}
.feature-item h3 { margin-bottom: 8px; font-size: 19px; }
.feature-item p { color: var(--text-muted); font-size: 15px; }

@media (max-width: 860px) {
  .feature-list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   SPEC TAG — signature element (hang-tag styled like a real parts tag)
   ========================================================================== */
.tag-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 940px) { .tag-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .tag-grid { grid-template-columns: 1fr; } }

.spec-tag {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px 22px;
}
.spec-tag::before {
  /* hole punch */
  content: "";
  position: absolute;
  top: 16px;
  left: 16px;
  width: 12px;
  height: 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 50%;
}
.spec-tag-stamp {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--accent);
  border: 1px dashed var(--accent-dim);
  padding: 3px 8px;
  border-radius: 2px;
  transform: rotate(4deg);
  text-transform: uppercase;
}
.spec-tag h3 {
  margin: 22px 0 4px 18px;
  font-size: 19px;
}
.spec-tag .sub {
  margin-left: 18px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: block;
}
.spec-tag-divider {
  border-top: 1px dashed var(--line);
  margin: 0 0 14px;
}
.spec-tag dl {
  margin: 0 0 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 14px;
  font-family: var(--font-mono);
  font-size: 12.5px;
}
.spec-tag dt { color: var(--text-faint); text-transform: uppercase; letter-spacing: 0.05em; }
.spec-tag dd { margin: 0; color: var(--text); text-align: right; }

.spec-tag-price {
  font-family: var(--font-mono);
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  margin: 4px 0 16px;
}
.spec-tag-price .unit {
  font-weight: 400;
  font-size: 12px;
  color: var(--text-muted);
  margin-left: 4px;
}

/* ---------- product filter (products page) ---------- */
.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text-muted);
  padding: 9px 16px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-btn:hover { color: var(--text); border-color: var(--accent); }
.filter-btn.active {
  background: var(--accent);
  color: #18120d;
  border-color: var(--accent);
  font-weight: 600;
}

/* ==========================================================================
   STEPS (about page — real process, numbering carries information)
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step .step-num {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}
.step h3 { font-size: 16px; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 14px; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* ---------- stat strip ---------- */
.stat-strip {
  display: flex;
  border: 1px solid var(--line-soft);
}
.stat {
  flex: 1;
  padding: 28px 24px;
  border-right: 1px solid var(--line-soft);
}
.stat:last-child { border-right: none; }
.stat .stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--accent);
  display: block;
}
.stat .stat-label {
  font-size: 13px;
  color: var(--text-muted);
}
@media (max-width: 700px) {
  .stat-strip { flex-direction: column; }
  .stat { border-right: none; border-bottom: 1px solid var(--line-soft); }
  .stat:last-child { border-bottom: none; }
}

/* ==========================================================================
   FORMS (contact page)
   ========================================================================== */
.form-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
}
@media (max-width: 860px) { .form-grid { grid-template-columns: 1fr; } }

.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 13px 14px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  outline: none;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .field-row { grid-template-columns: 1fr; } }

.form-note {
  font-size: 13px;
  color: var(--text-faint);
  margin-top: 12px;
}

.success-box {
  display: none;
  border: 1px solid var(--accent);
  background: var(--accent-soft);
  padding: 18px 20px;
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.success-box.show { display: block; }
.success-box .eyebrow { margin-bottom: 6px; }

.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.info-card h3 { margin-bottom: 18px; }
.info-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 14px;
}
.info-row:first-of-type { border-top: none; }
.info-row .k { color: var(--text-faint); font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; }
.info-row .v { color: var(--text); text-align: right; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 16px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: var(--text-muted); font-size: 14px; }
.footer-grid a:hover { color: var(--accent); }
.footer-grid p { color: var(--text-muted); font-size: 14px; max-width: 320px; }
.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-faint);
  flex-wrap: wrap;
  gap: 12px;
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- page hero (non-home pages) ---------- */
.page-hero {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--line-soft);
}
.page-hero h1 { font-size: clamp(34px, 5vw, 54px); margin-top: 16px; }
.page-hero .lede { margin-top: 16px; }

/* ---------- product/category photos ---------- */
.product-art {
  height: 190px;
  margin: 26px 0 18px 18px;
  border: 1px solid var(--line-soft);
  background: var(--bg);
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.03);
}

.product-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.spec-tag .product-art + h3 {
  margin-top: 0;
}


.form-note code {
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  padding: 1px 5px;
  border-radius: 3px;
}
