/* ============================================
   PIECES OF KNOWLEDGE — shared stylesheet
   Dark, cinematic, editorial streetwear
   ============================================ */

:root {
  --bg: #0a0a0a;
  --bg-soft: #111111;
  --bg-card: #161616;
  --line: #262626;
  --text: #f2efe9;
  --text-dim: #9a958c;
  --accent: #e0322e;          /* POK red */
  --accent-soft: rgba(224, 50, 46, 0.12);
  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Space Grotesk', 'Segoe UI', sans-serif;
}

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

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

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

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- typography ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.05;
}
.kicker {
  font-size: 12px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 600;
}
.section-title { font-size: clamp(34px, 5vw, 64px); margin-bottom: 20px; }
.lead { color: var(--text-dim); font-size: 18px; max-width: 640px; }

/* ---------- header / nav ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px;
  background: linear-gradient(to bottom, rgba(10,10,10,0.92), rgba(10,10,10,0.75));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.logo span { color: var(--accent); }
.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a {
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-dim); transition: color 0.2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--text); }
.main-nav a.nav-cta {
  color: var(--text);
  border: 1px solid var(--accent);
  padding: 9px 18px;
  transition: background 0.2s;
}
.main-nav a.nav-cta:hover { background: var(--accent); }

.nav-toggle { display: none; background: none; border: 1px solid var(--line); color: var(--text); font-size: 20px; padding: 6px 12px; cursor: pointer; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(10,10,10,0.98);
    border-bottom: 1px solid var(--line);
    padding: 12px 0;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 28px; width: 100%; }
  .main-nav a.nav-cta { border: none; border-top: 1px solid var(--line); }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 16px 34px;
  border: 1px solid var(--text);
  color: var(--text);
  background: transparent;
  cursor: pointer;
  transition: all 0.25s;
}
.btn:hover { background: var(--text); color: var(--bg); }
.btn.btn-accent { border-color: var(--accent); background: var(--accent); color: #fff; }
.btn.btn-accent:hover { background: #c1221e; border-color: #c1221e; }
.btn.btn-small { padding: 10px 20px; font-size: 11px; }

/* ---------- sections ---------- */
section { padding: 110px 0; }
section.tight { padding: 70px 0; }
.section-head { margin-bottom: 56px; }
.divider { border: none; border-top: 1px solid var(--line); }

/* ---------- product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s, border-color 0.25s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); border-color: #3a3a3a; }
.product-card .img-box {
  aspect-ratio: 1 / 1;
  background: #1c1c1c radial-gradient(circle at 50% 40%, #242424, #161616);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  position: relative;
}
.product-card .img-box img {
  width: 100%; height: 100%; object-fit: contain; padding: 12px;
  transition: transform 0.35s;
}
.product-card:hover .img-box img { transform: scale(1.05); }
.badge {
  position: absolute; top: 12px; left: 12px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 10px;
  background: rgba(10,10,10,0.85);
  border: 1px solid var(--line);
  color: var(--text-dim);
}
.badge.sold { color: var(--accent); border-color: rgba(224,50,46,0.4); }
.product-card .info { padding: 16px 18px 18px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.product-card .title { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.product-card .meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; }
.product-card .price { font-family: var(--font-display); font-size: 19px; letter-spacing: 0.04em; }
.product-card .drop-date { font-size: 11px; color: var(--text-dim); letter-spacing: 0.08em; }

/* ---------- order modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.8);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  max-width: 720px; width: 100%;
  max-height: 90vh; overflow-y: auto;
  display: grid; grid-template-columns: 300px 1fr;
}
.modal .modal-img {
  background: #1c1c1c;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal .modal-img img { max-height: 340px; object-fit: contain; }
.modal .modal-body { padding: 30px; }
.modal h3 { font-size: 26px; margin-bottom: 6px; }
.modal .modal-price { font-family: var(--font-display); font-size: 22px; color: var(--accent); margin-bottom: 14px; }
.modal p.note { font-size: 13px; color: var(--text-dim); margin-bottom: 20px; }
.modal .qty-row { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.modal .qty-row label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); }
.modal input[type=number] {
  width: 90px; padding: 10px;
  background: var(--bg); border: 1px solid var(--line); color: var(--text);
  font-family: var(--font-body); font-size: 16px;
}
.modal .close-x {
  position: absolute; top: 18px; right: 22px;
  background: none; border: none; color: var(--text-dim);
  font-size: 26px; cursor: pointer;
}
.modal-wrap { position: relative; }
@media (max-width: 640px) { .modal { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 40px;
  color: var(--text-dim);
  font-size: 13px;
}
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; margin-bottom: 40px; }
.footer-grid h4 { font-family: var(--font-display); font-size: 15px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); margin-bottom: 14px; }
.footer-grid a { display: block; padding: 4px 0; color: var(--text-dim); }
.footer-grid a:hover { color: var(--text); }
.footer-note { border-top: 1px solid var(--line); padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }

/* ---------- forms ---------- */
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px;
  background: var(--bg-card); border: 1px solid var(--line); color: var(--text);
  font-family: var(--font-body); font-size: 15px;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }

/* ---------- misc ---------- */
.stat-row { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--line); }
.stat {
  flex: 1 1 160px; text-align: center; padding: 28px 16px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat .num { font-family: var(--font-display); font-size: 34px; color: var(--text); }
.stat .lbl { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-dim); margin-top: 6px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s, transform 0.7s; }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================
   v2 — color energy + new components
   ============================================ */
:root {
  --bone: #ece7dd;          /* light editorial sections */
  --bone-soft: #e2dccf;
  --ink: #121110;           /* text on bone */
  --ink-dim: #5c574e;
  --gold: #c8a24a;          /* secondary accent for premium touches */
}

/* red ticker marquee */
.ticker {
  background: var(--accent);
  color: #fff;
  overflow: hidden;
  padding: 12px 0;
  border-top: 1px solid #b3211d;
  border-bottom: 1px solid #b3211d;
}
.ticker-track {
  display: flex; gap: 0; width: max-content;
  animation: tickerScroll 28s linear infinite;
}
.ticker span {
  font-family: var(--font-display);
  font-size: 15px; letter-spacing: 0.18em; text-transform: uppercase;
  white-space: nowrap; padding: 0 26px;
}
.ticker span::after { content: "★"; margin-left: 52px; font-size: 12px; opacity: 0.85; }
@keyframes tickerScroll { to { transform: translateX(-50%); } }

/* light editorial sections */
.section-light {
  background: var(--bone);
  color: var(--ink);
}
.section-light .section-title { color: var(--ink); }
.section-light .lead { color: var(--ink-dim); }
.section-light .kicker { color: var(--accent); }

/* differentiators */
.diff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.diff-card {
  border: 1px solid #cfc8b8; background: rgba(255,255,255,0.5);
  padding: 30px 26px;
  transition: transform 0.25s, box-shadow 0.25s;
}
.diff-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(18,17,16,0.12); }
.diff-card .d-ic { font-size: 26px; line-height: 1; margin-bottom: 16px; }
.diff-card h3 { font-size: 18px; color: var(--ink); margin-bottom: 8px; }
.diff-card p { font-size: 14px; color: var(--ink-dim); }

/* trust stats band */
.trust-band { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.trust-cell {
  text-align: center; padding: 52px 20px;
  border-right: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.trust-cell:last-child { border-right: none; }
.trust-cell .t-ic { font-size: 24px; margin-bottom: 12px; opacity: 0.9; }
.trust-cell .t-num {
  font-family: var(--font-display);
  font-size: clamp(38px, 4.5vw, 58px);
  line-height: 1; color: var(--text);
}
.trust-cell .t-num em { color: var(--accent); font-style: normal; }
.trust-cell .t-lbl { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-dim); margin-top: 10px; }
@media (max-width: 800px) { .trust-cell { border-right: none; border-bottom: 1px solid var(--line); } .trust-cell:last-child { border-bottom: none; } }

/* testimonials / social proof */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.testi-card {
  border: 1px solid var(--line); background: var(--bg-card);
  padding: 30px 28px; display: flex; flex-direction: column; gap: 16px;
  position: relative;
}
.testi-card::before {
  content: "“"; font-family: var(--font-display);
  font-size: 64px; line-height: 0.6; color: var(--accent);
  display: block; height: 26px;
}
.testi-card p { font-size: 15px; line-height: 1.65; }
.testi-card .who { margin-top: auto; display: flex; align-items: center; gap: 12px; }
.testi-card .who .av {
  width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 16px;
}
.testi-card .who b { display: block; font-size: 14px; }
.testi-card .who small { color: var(--text-dim); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.stars { color: var(--gold); letter-spacing: 3px; font-size: 14px; }

/* behind the scenes */
.bts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.bts-tile {
  aspect-ratio: 4/5; position: relative; overflow: hidden;
  background: #151515; border: 1px solid var(--line);
  display: flex; align-items: flex-end;
}
.bts-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 14px; opacity: 0.9; }
.bts-tile .ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: #3c3c3c; font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; text-align: center; padding: 20px;
}
.bts-tile .cap {
  position: relative; z-index: 2; width: 100%;
  padding: 14px 16px;
  background: linear-gradient(transparent, rgba(10,10,10,0.92) 40%);
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
}
.bts-tile .cap b { color: var(--accent); margin-right: 8px; font-family: var(--font-display); }

/* end-of-page CTA band */
.cta-band {
  background:
    radial-gradient(ellipse at 15% 0%, rgba(224,50,46,0.25), transparent 55%),
    radial-gradient(ellipse at 90% 100%, rgba(200,162,74,0.12), transparent 50%),
    var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 100px 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(34px, 5.5vw, 72px); margin-bottom: 16px; }
.cta-band h2 em { font-style: normal; color: var(--accent); }
.cta-band p { color: var(--text-dim); max-width: 560px; margin: 0 auto 36px; }
.cta-band .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* tighter nav to fit more links */
.main-nav { gap: 22px; }
.main-nav a { font-size: 12px; }

