/* ============================================================
   SUPREME STICKER PLUG — "BOX LOGO" theme
   Supreme red · white · black. Futura-style italic (Jost).
   Header is one giant box logo; UI chips are mini box logos.
   (Inventory rendering lives in script.js/products.js.)
   ============================================================ */
:root {
  --red: #ed1c24;            /* box logo red */
  --red-dark: #c8141b;
  --bg: #faf8f4;             /* warm paper */
  --ink: #111111;
  --ink-soft: #55524c;
  --muted: #9a958c;
  --line: #e7e2d9;
  --white: #ffffff;
  --max: 1180px;
  --mono: "IBM Plex Mono", "SF Mono", Consolas, monospace;
  --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: "Jost", "Futura", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 15.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Box-logo chip: white italic type on red */
.boxchip {
  display: inline-block;
  background: var(--red); color: #fff;
  font-style: italic; font-weight: 700;
  padding: .18em .55em .22em;
  line-height: 1.25;
}

/* ===== MARQUEE TOP BAR ===== */
.topbar {
  background: #111; color: #fff;
  overflow: hidden; white-space: nowrap;
  font-family: var(--mono); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  padding: .45rem 0;
}
.topbar__track { display: inline-block; animation: ticker 28s linear infinite; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,248,244,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--max); margin: 0 auto; padding: .9rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  flex-wrap: wrap;
}
.logo {
  background: var(--red); color: #fff;
  font-style: italic; font-weight: 700; font-size: 1.15rem;
  padding: .28rem .85rem .34rem;
  letter-spacing: .01em;
  transform: rotate(-1.5deg);
  box-shadow: 3px 3px 0 #111;
  transition: transform .15s;
}
.logo:hover { transform: rotate(.5deg) scale(1.03); }
.logo span { color: #fff; }
.logo__dot { display: none; }
.nav__links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.nav__links a { font-weight: 600; font-size: .92rem; color: var(--ink-soft); transition: color .15s; }
.nav__links a:hover { color: var(--red); }
.nav__links a.is-here { color: var(--red); }
.nav__soon {
  display: inline-block; vertical-align: middle;
  background: var(--red); color: #fff;
  font-style: italic; font-weight: 700;
  font-size: .58rem; text-transform: uppercase; letter-spacing: .04em;
  padding: .1em .4em .16em;
  transform: rotate(-2deg) translateY(-1px);
  margin-left: .15rem;
}

/* ===== HERO — one giant box logo ===== */
.hero {
  max-width: none;
  background: var(--red);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero__inner {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(3.5rem, 8vw, 6.5rem) 1.4rem clamp(3rem, 7vw, 5.5rem);
  position: relative;
}
.hero__kicker {
  display: inline-block;
  background: #fff; color: var(--red);
  font-family: var(--mono); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em;
  padding: .3rem .8rem;
  transform: rotate(-1.5deg);
  margin-bottom: 1.4rem;
  box-shadow: 3px 3px 0 rgba(0,0,0,.25);
}
.hero h1 {
  font-style: italic; font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  line-height: 1.04; letter-spacing: -.01em;
  margin-bottom: 1.3rem; max-width: 13ch;
  position: relative; z-index: 2;
  text-shadow: 4px 4px 0 rgba(0,0,0,.18);
}
.hero__sub {
  color: rgba(255,255,255,.92); max-width: 46ch; font-size: 1.12rem;
  margin-bottom: 2rem; position: relative; z-index: 2;
}
.hero__sub strong { color: #fff; }
.hero__cta { display: flex; gap: .8rem; flex-wrap: wrap; position: relative; z-index: 2; }
.btn {
  display: inline-block; padding: .8rem 1.7rem;
  font-weight: 700; font-size: .98rem;
  border: 2px solid #fff; color: #fff;
  transition: all .15s;
}
.btn:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.btn--accent {
  background: #fff; border-color: #fff; color: var(--red);
  font-style: italic;
  box-shadow: 4px 4px 0 rgba(0,0,0,.25);
}
.btn--accent:hover { background: #fff; transform: translateY(-2px); box-shadow: 6px 6px 0 rgba(0,0,0,.3); }

/* Floating hero stickers — die-cut white on red */
.hero__stickers { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero__stickers img {
  position: absolute;
  width: clamp(100px, 12vw, 165px); height: clamp(100px, 12vw, 165px);
  object-fit: contain;
  background: #fff; border-radius: 14px; padding: .55rem;
  box-shadow: 0 16px 38px rgba(0,0,0,.35);
  animation: bob 5s ease-in-out infinite;
}
.hero__stickers img:nth-child(1) { top: 8%;  right: 22%; transform: rotate(7deg); }
.hero__stickers img:nth-child(2) { top: 38%; right: 5%;  transform: rotate(-8deg); animation-delay: .8s; }
.hero__stickers img:nth-child(3) { top: 60%; right: 25%; transform: rotate(4deg);  animation-delay: 1.6s; }
.hero__stickers img:nth-child(4) { top: 6%;  right: 4%;  transform: rotate(-13deg); animation-delay: 2.4s; width: clamp(80px, 9vw, 120px); height: clamp(80px, 9vw, 120px); }
@keyframes bob { 0%,100% { margin-top: 0; } 50% { margin-top: -12px; } }

/* ===== SECTIONS ===== */
.section {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(2.4rem, 5vw, 3.8rem) 1.4rem;
}
.section__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }
.section__title {
  background: var(--red); color: #fff;
  font-style: italic; font-weight: 700;
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  padding: .22em .65em .28em;
  transform: rotate(-1deg);
  box-shadow: 3px 3px 0 #111;
}
.section__count { font-family: var(--mono); font-size: .78rem; color: var(--red); font-weight: 700; }
.section__head::after { content: ''; flex: 1; height: 2px; background: var(--line); }

/* ===== FILTERS ===== */
.filter { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 2.2rem; }
.filter__group { display: flex; align-items: flex-start; gap: .9rem; flex-wrap: wrap; }
.filter__label {
  font-family: var(--mono); font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em; color: var(--muted);
  min-width: 76px; padding-top: .45rem;
}
.filter__btns { display: flex; flex-wrap: wrap; gap: .35rem; flex: 1; }
.filter__btn {
  font-family: var(--mono); cursor: pointer;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-weight: 500; font-size: .74rem; color: var(--ink-soft);
  padding: .32rem .8rem;
  transition: all .15s;
}
.filter__btn:hover { border-color: var(--red); color: var(--red); }
.filter__btn.is-active {
  background: var(--red); border-color: var(--red); color: #fff; font-weight: 700;
}

/* ===== GRID / CARDS ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(225px, 1fr));
  gap: 1.2rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .7rem .7rem .95rem;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.card:hover {
  transform: translateY(-4px) rotate(-.5deg);
  border-color: var(--red);
  box-shadow: 0 14px 30px rgba(237,28,36,.14);
}
.card__img {
  position: relative; aspect-ratio: 1;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; margin-bottom: .8rem;
}
.card__img img { width: 100%; height: 100%; object-fit: contain; padding: 1.1rem; }
.card__placeholder { color: var(--muted); font-weight: 600; font-size: .85rem; text-align: center; line-height: 1.4; }
.card__tag {
  position: absolute; top: .55rem; left: .55rem;
  background: #111; color: #fff;
  font-family: var(--mono); font-size: .6rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .06em;
  padding: .16rem .45rem;
  transform: rotate(-2deg);
}
.card__tag--new {
  left: auto; right: .55rem;
  background: var(--red); color: #fff;
  font-style: italic;
  transform: rotate(2deg);
}
.card__name {
  font-size: .92rem; font-weight: 500; color: var(--ink);
  line-height: 1.4; margin-bottom: .45rem; min-height: 2.5em;
}
.card__price {
  display: inline-block;
  background: var(--red); color: #fff;
  font-style: italic; font-weight: 700; font-size: .88rem;
  padding: .1em .5em .16em;
  margin-bottom: .75rem;
}
.card__price--ask { font-size: .78rem; background: #111; }
.card__actions { display: flex; gap: .45rem; }
.card__btn {
  flex: 1; text-align: center; font-size: .78rem; font-weight: 700;
  padding: .52rem .4rem; border-radius: 6px;
  border: 1.5px solid var(--line); color: var(--ink-soft);
  transition: all .15s;
}
.card__btn:hover { border-color: #111; color: #111; }
.card__btn--red {
  background: var(--red); border-color: var(--red); color: #fff;
}
.card__btn--red:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }

/* ===== HOW TO BUY ===== */
.section--gray {
  max-width: none;
  background: #fff;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.section--gray > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.steps {
  list-style: none; counter-reset: step;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  margin: 0 auto 1.4rem;
}
.steps li { font-size: 1rem; line-height: 1.65; color: var(--ink-soft); }
.steps li strong { color: var(--ink); }
.steps li::before {
  content: "0" counter(step); counter-increment: step;
  display: inline-block;
  background: var(--red); color: #fff;
  font-style: italic; font-weight: 700; font-size: 1.1rem;
  padding: .1em .5em .16em;
  transform: rotate(-2deg);
  margin-bottom: .6rem;
}
.steps__note { font-family: var(--mono); font-size: .76rem; color: var(--muted); }

/* ===== CONTACT ===== */
.contact__lead { color: var(--ink-soft); margin-bottom: 1.8rem; }
.contact__grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem;
}
.contact__card {
  background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem 1.3rem;
  display: flex; flex-direction: column; gap: .15rem;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.contact__card:hover {
  transform: translateY(-3px) rotate(-.5deg);
  border-color: var(--red);
  box-shadow: 0 12px 26px rgba(237,28,36,.14);
}
.contact__icon { font-size: 1.35rem; margin-bottom: .35rem; }
.contact__label {
  font-family: var(--mono); font-weight: 700; font-size: .7rem;
  text-transform: uppercase; letter-spacing: .12em; color: var(--red);
}
.contact__value { font-weight: 500; font-size: .95rem; color: var(--ink-soft); word-break: break-all; }

/* ===== COMING SOON PAGES ===== */
.hero__inner--soon { padding-top: clamp(4rem, 10vw, 8rem); padding-bottom: clamp(4rem, 10vw, 8rem); }
.hero__inner--soon h1 { max-width: none; }
.soon__note { color: var(--ink-soft); max-width: 52ch; margin-bottom: 1.6rem; font-size: 1.05rem; }
.btn--red-solid {
  background: var(--red); border: 2px solid var(--red); color: #fff;
  font-style: italic;
  box-shadow: 4px 4px 0 #111;
}
.btn--red-solid:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; transform: translateY(-2px); }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--line);
  max-width: var(--max); margin: 0 auto;
  padding: 2rem 1.4rem 2.6rem;
  font-size: .85rem; color: var(--muted);
}
.footer__disclaimer { font-family: var(--mono); font-size: .68rem; margin-top: .6rem; max-width: 70ch; line-height: 1.7; }

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .hero__stickers img:nth-child(3), .hero__stickers img:nth-child(4) { display: none; }
  .hero__stickers img { opacity: .55; }
}
@media (max-width: 700px) {
  .steps { grid-template-columns: 1fr; gap: 1.4rem; }
  .filter__label { min-width: 0; padding-top: .4rem; }
  .nav__inner { justify-content: center; }
  .hero h1 { max-width: none; }
}
