/* ============================================================
   Dropshipsupply — design tokens
   Display: Space Grotesk | Body: IBM Plex Sans | Utility: IBM Plex Mono
   ============================================================ */
:root {
  --ink: #0B1220;
  --ink-2: #121B2E;
  --ink-3: #1B2740;
  --paper: #F5F3EC;
  --paper-2: #EBE7DA;
  --charcoal: #1B2436;
  --ash: #8A94A6;
  --ash-light: #B9C0CE;
  --cobalt: #2454FF;
  --cobalt-dim: #1B3DBF;
  --amber: #FF7A29;
  --amber-dim: #E0651A;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(27, 36, 54, 0.14);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--charcoal);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ---------- Utility label / eyebrow ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--amber);
}

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--paper);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand .mark {
  width: 10px;
  height: 10px;
  background: var(--amber);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  gap: 36px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.nav-links a {
  color: var(--ash-light);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--paper); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--amber);
}
.nav-cta {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--ink) !important;
  background: var(--amber);
  padding: 10px 18px;
  border: 1px solid var(--amber);
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-cta:hover { background: transparent; color: var(--amber) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--paper);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 14px 26px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-primary {
  background: var(--amber);
  color: var(--ink);
  border-color: var(--amber);
}
.btn-primary:hover { background: var(--amber-dim); border-color: var(--amber-dim); }
.btn-outline {
  background: transparent;
  color: var(--paper);
  border-color: var(--line);
}
.btn-outline:hover { border-color: var(--paper); }
.btn-outline-dark {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--line-dark);
}
.btn-outline-dark:hover { border-color: var(--charcoal); }

/* ---------- Hero (dark) ---------- */
.hero {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero .wrap {
  padding-top: 96px;
  padding-bottom: 96px;
  position: relative;
  z-index: 2;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 18px 0 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--amber);
}
.hero p.lede {
  font-size: 18px;
  color: var(--ash-light);
  max-width: 46ch;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Stamp badge — signature element */
.stamp {
  position: absolute;
  top: 64px;
  right: 32px;
  width: 128px;
  height: 128px;
  border: 1.5px solid var(--amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-14deg);
  z-index: 3;
}
.stamp-inner {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  text-align: center;
  line-height: 1.9;
}

/* Hero manifest card */
.manifest-card {
  background: var(--ink-2);
  border: 1px solid var(--line);
  padding: 28px;
  position: relative;
}
.manifest-card::before,
.manifest-card::after,
.bracket-card::before,
.bracket-card::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--amber);
}
.manifest-card::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.manifest-card::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.manifest-title {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ash);
  border-bottom: 1px dashed var(--line);
  padding-bottom: 14px;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
}
.manifest-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ash-light);
}
.manifest-row:last-child { border-bottom: none; }
.manifest-row span:last-child { color: var(--paper); }
.manifest-row .status {
  color: var(--amber);
}

/* ---------- Sections (light) ---------- */
section { padding: 88px 0; }
section.tight { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.01em;
  margin-top: 14px;
}
.section-head p { color: var(--ash); font-size: 16px; margin-top: 14px; max-width: 56ch; }

.alt { background: var(--paper-2); }
.dark { background: var(--ink); color: var(--paper); }
.dark .ash { color: var(--ash-light); }

/* ---------- Bracket cards (signature) ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.bracket-card {
  background: var(--paper);
  border: 1px solid var(--line-dark);
  padding: 30px 26px;
  position: relative;
}
.bracket-card::before, .bracket-card::after { border-color: var(--cobalt); }
.dark .bracket-card {
  background: var(--ink-2);
  border-color: var(--line);
}
.bracket-card .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--cobalt);
  letter-spacing: 0.1em;
}
.bracket-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  margin: 14px 0 10px;
}
.bracket-card p { color: var(--ash); font-size: 15px; }
.dark .bracket-card p { color: var(--ash-light); }

/* ---------- Route line (signature, process/timeline) ---------- */
.route {
  position: relative;
  padding-left: 32px;
  border-left: 1px dashed var(--line-dark);
}
.dark .route { border-left-color: var(--line); }
.route-step {
  position: relative;
  padding-bottom: 44px;
}
.route-step:last-child { padding-bottom: 0; }
.route-step::before {
  content: "";
  position: absolute;
  left: -37px;
  top: 4px;
  width: 11px;
  height: 11px;
  background: var(--paper);
  border: 2px solid var(--amber);
  border-radius: 50%;
}
.dark .route-step::before { background: var(--ink); }
.route-step .tag {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
}
.route-step h4 {
  font-family: var(--font-display);
  font-size: 19px;
  margin: 8px 0 8px;
}
.route-step p { color: var(--ash); font-size: 15px; max-width: 52ch; }
.dark .route-step p { color: var(--ash-light); }

/* ---------- Stats strip ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stat {
  padding: 32px 28px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat .n {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--amber);
}
.stat .l {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ash-light);
  margin-top: 6px;
}

/* ---------- Logos / trust row ---------- */
.trust-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ash);
}

/* ---------- Forms ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ash);
}
.field input, .field textarea, .field select {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 14px;
  border: 1px solid var(--line-dark);
  background: var(--paper);
  color: var(--charcoal);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--cobalt);
  outline-offset: 1px;
}
.field textarea { resize: vertical; min-height: 130px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--ash-light);
  border-top: 1px solid var(--line);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.footer-grid h5 {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--paper);
  margin-bottom: 16px;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; font-size: 14px; }
.footer-grid a:hover { color: var(--amber); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ash);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .stamp { display: none; }
  .grid-3, .grid-2, .form-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 20px; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Mobile nav panel */
.mobile-panel {
  display: none;
  flex-direction: column;
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  padding: 8px 32px 24px;
}
.mobile-panel.open { display: flex; }
.mobile-panel a {
  font-family: var(--font-mono);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ash-light);
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-panel a:last-child { border-bottom: none; }

/* ---------- Product grid ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  background: var(--paper);
  border: 1px solid var(--line-dark);
  position: relative;
  display: flex;
  flex-direction: column;
}
.product-card::before, .product-card::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--cobalt);
}
.product-card::before { top: -1px; left: -1px; border-right: none; border-bottom: none; }
.product-card::after { bottom: -1px; right: -1px; border-left: none; border-top: none; }
.product-media {
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(135deg, var(--ink-3) 0px, var(--ink-3) 2px, var(--ink-2) 2px, var(--ink-2) 14px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-media .sku {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash-light);
  background: rgba(11, 18, 32, 0.72);
  padding: 6px 10px;
  border: 1px solid var(--line);
}
.product-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.product-cat {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cobalt);
}
.product-card h3 {
  font-family: var(--font-display);
  font-size: 19px;
}
.product-card p.desc {
  color: var(--ash);
  font-size: 14px;
  flex: 1;
}
.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px dashed var(--line-dark);
}
.product-price {
  font-family: var(--font-mono);
  font-size: 17px;
  color: var(--charcoal);
}
.product-price .was {
  font-size: 13px;
  color: var(--ash);
  text-decoration: line-through;
  margin-right: 6px;
}
.buy-btn {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  transition: background 0.2s ease, color 0.2s ease;
}
.buy-btn:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }

.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-chip {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 9px 16px;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: var(--ash);
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-chip:hover { border-color: var(--charcoal); color: var(--charcoal); }
.filter-chip.active { background: var(--charcoal); border-color: var(--charcoal); color: var(--paper); }

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

/* Focus visibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--cobalt);
  outline-offset: 2px;
}
