/* ============================================
   TIGEAR — Wholesale Landing
   Colors pulled from brand logo
   Orange:  #F26522
   Yellow:  #FFB81C
   Black:   #000000
   White:   #FFFFFF
   ============================================ */

:root {
  --orange: #F26522;
  --orange-dark: #d9531a;
  --yellow: #FFB81C;
  --ink: #000000;
  --paper: #ffffff;
  --mute: #888888;
  --line: #e5e5e5;
  --soft: #f5f5f5;
  --danger: #dc2626;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Montserrat", "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
img, svg { display: block; max-width: 100%; }

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 640px) { .container { padding: 0 32px; } }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-sm { padding: 10px 16px; font-size: 11px; }
.btn-lg { padding: 16px 28px; }
.btn-primary {
  background: var(--orange);
  color: var(--paper);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-outline {
  background: var(--paper);
  color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
}
.section-dark .btn-outline {
  background: transparent;
  color: var(--paper);
  border-color: var(--paper);
}
.section-dark .btn-outline:hover {
  background: var(--paper);
  color: var(--ink);
}

/* ===== Nav ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.logo-svg { height: 40px; width: auto; color: var(--ink); }
.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
}
.nav-links > a:not(.btn) {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links > a:not(.btn):hover { color: var(--orange); }
.nav-toggle {
  width: 48px;
  height: 48px;
  margin-right: -8px;
  background: transparent;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.nav-toggle .bars {
  position: relative;
  width: 24px;
  height: 20px;
}
.nav-toggle .bar {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle .bar:nth-child(1) { top: 0; }
.nav-toggle .bar:nth-child(2) { top: 9px; }
.nav-toggle .bar:nth-child(3) { top: 18px; }
.nav-toggle.open .bar:nth-child(1) { top: 9px; transform: rotate(45deg); }
.nav-toggle.open .bar:nth-child(2) { opacity: 0; }
.nav-toggle.open .bar:nth-child(3) { top: 9px; transform: rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 40;
  display: none;
}
.nav-overlay.active { display: block; }

.nav-mobile {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: var(--paper);
  border-top: 1px solid rgba(0,0,0,0.1);
}
.nav-mobile-inner {
  padding: 8px 20px 20px;
  display: flex;
  flex-direction: column;
}
.nav-mobile a {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  -webkit-tap-highlight-color: transparent;
}
.nav-mobile a:not(.btn):active { color: var(--orange); }
.nav-mobile a.btn { margin-top: 16px; }
body.menu-open { overflow: hidden; }
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .nav-overlay.active { display: none !important; }
  .nav-mobile { display: none !important; }
  body.menu-open { overflow: auto !important; }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  overflow: hidden;
}
.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero-inner { position: relative; padding: 64px 20px 80px; }
@media (min-width: 640px) { .hero-inner { padding: 96px 32px 112px; } }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.dot {
  width: 8px; height: 8px;
  background: var(--ink);
  display: inline-block;
}
.dot-orange { background: var(--orange); }

.hero-title {
  font-size: clamp(44px, 11vw, 120px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.92;
}
.underline-accent {
  position: relative;
  display: inline-block;
}
.underline-accent::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 8px;
  background: var(--orange);
}
.underline-light::after { background: var(--yellow); }

.hero-grid {
  margin-top: 56px;
  display: grid;
  gap: 32px;
  align-items: end;
}
.hero-desc {
  font-size: clamp(16px, 1.6vw, 18px);
  color: rgba(0,0,0,0.78);
  max-width: 560px;
  line-height: 1.6;
}
.hero-cta {
  display: flex; flex-wrap: wrap; gap: 12px;
}
@media (min-width: 768px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-cta { justify-content: flex-end; }
}

.stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(0,0,0,0.15);
}
.stat {
  padding: 24px;
  border-bottom: 1px solid rgba(0,0,0,0.15);
}
.stat:nth-child(odd) { border-right: 1px solid rgba(0,0,0,0.15); }
.stat-k { font-size: clamp(28px, 4vw, 36px); font-weight: 900; letter-spacing: -0.02em; }
.stat-v { margin-top: 8px; font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(0,0,0,0.7); }
@media (min-width: 768px) {
  .stats { grid-template-columns: repeat(4, 1fr); margin-top: 96px; }
  .stat { border-bottom: 0; padding: 28px; }
  .stat:not(:last-child) { border-right: 1px solid rgba(0,0,0,0.15); }
  .stat:nth-child(odd) { border-right: 1px solid rgba(0,0,0,0.15); }
}

/* ===== Marquee ===== */
.marquee {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  padding: 14px 0;
  animation: marquee 40s linear infinite;
  will-change: transform;
}
.marquee-track span {
  padding: 0 32px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 32px;
}
.marquee-track i {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--orange);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== Sections ===== */
.section {
  padding: 80px 0;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
@media (min-width: 640px) { .section { padding: 112px 0; } }

.section-dark {
  background: var(--ink);
  color: var(--paper);
}

.section-head {
  display: grid;
  gap: 24px;
  margin-bottom: 48px;
  align-items: end;
}
@media (min-width: 768px) {
  .section-head { grid-template-columns: 1fr auto; margin-bottom: 64px; }
}
.section-title {
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.95;
}
.section-desc {
  margin-top: 24px;
  font-size: 16px;
  color: rgba(0,0,0,0.75);
  line-height: 1.65;
  max-width: 560px;
}

/* ===== Catalog ===== */
.catalog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .catalog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .catalog-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.cat-card {
  border: 1px solid rgba(0,0,0,0.15);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -12px rgba(0,0,0,0.25);
}
.cat-thumb {
  aspect-ratio: 4 / 5;
  background: var(--soft);
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid rgba(0,0,0,0.15);
  color: var(--ink);
  position: relative;
  overflow: hidden;
}
.cat-thumb svg.glove-illus {
  width: 55%;
  height: auto;
  opacity: 0.85;
}
.cat-thumb .badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--orange);
  color: var(--paper);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 10px;
}
.cat-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.cat-cat {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(0,0,0,0.6);
}
.cat-title {
  margin-top: 8px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1.25;
  word-wrap: break-word;
}
.cat-desc {
  margin-top: 8px;
  font-size: 14px;
  color: rgba(0,0,0,0.7);
  line-height: 1.55;
  word-wrap: break-word;
  flex: 1;
}

/* ===== Wholesale (dark) ===== */
.why-grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 1024px) {
  .why-grid { grid-template-columns: 5fr 7fr; gap: 64px; }
}
.section-dark .section-desc { color: rgba(255,255,255,0.8); }
.why-blocks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(255,255,255,0.15);
}
@media (min-width: 640px) { .why-blocks { grid-template-columns: 1fr 1fr; } }
.why-block {
  background: var(--ink);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.why-num {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--orange);
}
.why-block h3 { font-size: 22px; font-weight: 900; letter-spacing: -0.01em; }
.why-block p { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.6; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 64px; } }

.contact-list { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-icon {
  width: 40px; height: 40px;
  border: 1px solid var(--ink);
  display: inline-flex;
  align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(0,0,0,0.6);
}
.contact-value {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  word-break: break-word;
}

/* Form */
.form {
  border: 1px solid rgba(0,0,0,0.15);
  background: var(--paper);
  padding: 24px;
}
@media (min-width: 640px) { .form { padding: 40px; } }

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; }
.field + .field { margin-top: 0; }
.form > .field { margin-top: 20px; }

.field label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.field label span { opacity: 0.6; font-weight: 700; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--ink);
  background: var(--paper);
  padding: 14px 16px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242,101,34,0.15);
}
.field textarea { resize: vertical; min-height: 120px; }
.field input.invalid, .field textarea.invalid { border-color: var(--danger); }
.error {
  margin-top: 6px;
  font-size: 12px;
  color: var(--danger);
  font-weight: 500;
  min-height: 0;
}
.error:empty { display: none; }

.form-actions {
  margin-top: 28px;
  display: flex;
  flex-direction: column-reverse;
  gap: 16px;
}
@media (min-width: 640px) {
  .form-actions { flex-direction: row; align-items: center; justify-content: space-between; }
}
.form-note {
  font-size: 11px;
  color: rgba(0,0,0,0.6);
  max-width: 360px;
  line-height: 1.5;
}

.form-error-box {
  margin-bottom: 24px;
  border: 1px solid var(--danger);
  background: #fef2f2;
  color: var(--danger);
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
.form-success {
  margin-bottom: 24px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.form-success-title {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.25em; text-transform: uppercase;
}
.form-success p { font-size: 14px; margin-top: 4px; line-height: 1.5; }

.spinner {
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: var(--paper);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Footer ===== */
.footer { background: var(--paper); }
.footer-inner {
  padding-top: 48px;
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .footer-inner { grid-template-columns: 2fr 1fr 1fr; } }
.footer-desc {
  margin-top: 16px;
  font-size: 14px;
  color: rgba(0,0,0,0.7);
  max-width: 340px;
  line-height: 1.6;
}
.footer-h {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.footer-list { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer-list a:hover { opacity: 0.6; }
.footer-bottom {
  margin-top: 40px;
  padding: 24px 20px;
  border-top: 1px solid rgba(0,0,0,0.1);
  display: flex; flex-direction: column;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.6);
}
@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; padding: 24px 32px; }
}
