:root {
  --bg: #0b0908;
  --bg-2: #14100d;
  --panel: #1a1511;
  --line: #2c241c;
  --text: #f3eadb;
  --muted: #a8947c;
  --orange: #e85d04;
  --amber: #f6bd60;
  --blood: #9b2226;
  --bone: #e8dcc8;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; color: inherit; }

.wrap { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(11,9,8,.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.logo {
  font-family: "Oswald", sans-serif;
  letter-spacing: .22em;
  font-size: 18px;
  font-weight: 600;
}
.logo span { color: var(--orange); }
.nav-links { display: flex; gap: 22px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.cart-btn {
  background: transparent;
  border: 1px solid var(--line);
  padding: 8px 12px;
  cursor: pointer;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
}
.cart-btn b { color: var(--orange); }
.menu-btn { display: none; background: none; border: 0; color: var(--text); font-size: 22px; cursor: pointer; }

/* HERO */
.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: end stretch;
  overflow: hidden;
  background:
    radial-gradient(1200px 400px at 50% 120%, rgba(232,93,4,.18), transparent 60%),
    linear-gradient(180deg, #0000 40%, #0b0908 100%),
    repeating-linear-gradient(90deg, #14100d 0 40px, #100d0b 40px 80px);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, #0b0908 100%),
    linear-gradient(90deg, #0b0908 0%, transparent 30%, transparent 70%, #0b0908 100%);
  pointer-events: none;
}
.road {
  position: absolute; inset: auto 0 0 0; height: 42%;
  background:
    linear-gradient(180deg, transparent, #16110d 20%, #0d0b09);
}
.road-line {
  position: absolute; left: 50%; top: 8%;
  width: 6px; height: 100%;
  transform: translateX(-50%);
  background: repeating-linear-gradient(180deg, var(--amber) 0 28px, transparent 28px 52px);
  opacity: .55;
}
.hero-copy { position: relative; z-index: 2; padding: 0 0 64px; }
.eyebrow {
  color: var(--orange);
  letter-spacing: .28em;
  text-transform: uppercase;
  font-size: 11px;
  margin-bottom: 14px;
}
.hero h1 {
  font-family: "Oswald", sans-serif;
  font-size: clamp(48px, 10vw, 108px);
  line-height: .86;
  letter-spacing: .02em;
  text-transform: uppercase;
  max-width: 14ch;
}
.hero p { margin: 18px 0 28px; max-width: 46ch; color: var(--muted); }
.row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 18px;
  background: var(--orange);
  color: #140c06;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
}
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }

/* SECTIONS */
section { padding: 72px 0; }
.section-h {
  display: flex; justify-content: space-between; align-items: end; gap: 16px;
  margin-bottom: 28px;
}
.section-h h2 {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 32px;
}
.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1px solid var(--line);
  background: transparent;
  padding: 7px 12px;
  cursor: pointer;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.chip.on, .chip:hover { border-color: var(--orange); color: var(--text); }

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}
.card:hover { border-color: #4a3b2c; }
.mock {
  aspect-ratio: 4/5;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.mock svg { width: 58%; height: auto; }
.tag {
  position: absolute; top: 10px; left: 10px;
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  background: #0009; padding: 4px 8px;
}
.card-body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { font-size: 16px; font-family: "Oswald", sans-serif; letter-spacing: .04em; }
.meta { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.price { margin-top: auto; color: var(--amber); font-weight: 600; }

/* PRODUCT */
.product-view { display: none; }
.product-view.on { display: block; }
.shop-view.hide { display: none; }
.product-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; }
.product-art {
  background: var(--panel);
  border: 1px solid var(--line);
  min-height: 520px;
  display: grid;
  place-items: center;
}
.product-art svg { width: 55%; }
.product-info h1 {
  font-family: "Oswald", sans-serif;
  font-size: 42px;
  text-transform: uppercase;
  line-height: .95;
  margin: 8px 0 12px;
}
.product-info p { color: var(--muted); line-height: 1.6; margin-bottom: 22px; }
label.small { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 14px 0 8px; }
.size-row, .color-row { display: flex; gap: 8px; flex-wrap: wrap; }
.size-row button, .color-row button {
  border: 1px solid var(--line);
  background: transparent;
  min-width: 44px;
  height: 40px;
  padding: 0 10px;
  cursor: pointer;
}
.size-row button.on, .color-row button.on { border-color: var(--orange); color: var(--amber); }
.back { color: var(--muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

/* ABOUT / FAQ */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.panel { background: var(--bg-2); border: 1px solid var(--line); padding: 22px; }
.panel h3 { font-family: "Oswald", sans-serif; text-transform: uppercase; margin-bottom: 10px; }
.panel p, .panel li { color: var(--muted); line-height: 1.65; }
.panel ul { padding-left: 18px; }
details { border-top: 1px solid var(--line); padding: 14px 0; }
details summary { cursor: pointer; font-weight: 600; }
details p { margin-top: 8px; color: var(--muted); }

footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 48px;
  color: var(--muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* CART */
.overlay { position: fixed; inset: 0; background: #0008; display: none; z-index: 50; }
.overlay.on { display: block; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%);
  background: #120f0c; border-left: 1px solid var(--line);
  z-index: 60; transform: translateX(100%); transition: .25s ease;
  display: flex; flex-direction: column;
}
.drawer.on { transform: none; }
.drawer-h, .drawer-f { padding: 18px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.drawer-f { border-bottom: 0; border-top: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 10px; }
.cart-items { padding: 12px 18px; overflow: auto; flex: 1; }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.cart-line button { background: none; border: 0; color: var(--muted); cursor: pointer; }
.empty { color: var(--muted); padding: 24px 0; }
.note { font-size: 12px; color: var(--muted); line-height: 1.5; }

@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .product-layout, .two { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: #120f0c; padding: 16px; border-bottom: 1px solid var(--line);
  }
  .menu-btn { display: block; }
  .hero { min-height: 70vh; }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: 1fr; }
}
