/* ==========================================================================
   STORE 2 — dark streetwear theme
   Palette: near-black, bone white, electric lime. Type: Archivo (wide) + JetBrains Mono.
   Square corners, uppercase display type, hairline grid borders.
   ========================================================================== */

:root {
  --bg: #0b0b0b;
  --bg-2: #121212;
  --card: #151515;
  --ink: #f3f1ec;
  --ink-2: #c9c6be;
  --muted: #85827b;
  --line: #262626;
  --line-2: #333;
  --accent: #d4ff3a;
  --accent-ink: #0b0b0b;
  --ok: #5fd38d;
  --warn: #ffb547;
  --danger: #ff5a4e;
  --info: #6aa8ff;

  --font-display: "Archivo", "Arial Black", Impact, sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --container: 1440px;
  --gutter: clamp(16px, 3vw, 40px);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 15px; line-height: 1.55; font-stretch: 100%;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; border-radius: 0; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1; }
p { margin: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 130px); }
.section-sm { padding-block: clamp(40px, 5vw, 70px); }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.center { text-align: center; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.only-mobile { display: none !important; }
@media (max-width: 960px) { .only-mobile { display: inline-flex !important; } .hide-mobile { display: none !important; } }

.mono, .eyebrow { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.eyebrow { color: var(--accent); display: inline-block; }
.eyebrow.light { color: var(--accent); }
.display, .h2, .x-h2 {
  font-family: var(--font-display); font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  letter-spacing: -.02em; line-height: .88;
}
.display { font-size: clamp(2.8rem, 8vw, 7.5rem); }
.h2, .x-h2 { font-size: clamp(2.2rem, 5.4vw, 4.8rem); }
.display em, .h2 em, .x-h2 em, h2 em, h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--ink-2); max-width: 54ch; }
.hl { background: var(--accent); color: var(--accent-ink); padding: 0 .12em; display: inline-block; transform: skewX(-6deg); }
.hl-text { color: var(--accent); }

.section-head, .x-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(28px, 4vw, 52px); }
.section-head { flex-direction: row; justify-content: space-between; align-items: end; flex-wrap: wrap; }
.x-head-row { flex-direction: row; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 20px; }
.x-head-row > div:first-child { display: grid; gap: 14px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; background: var(--ink); color: var(--bg); border: 1px solid var(--ink);
  font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: .82rem;
  letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .4; pointer-events: none; }
.btn-accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn-ghost, .btn-light { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover, .btn-light:hover { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 16px; font-size: .74rem; }
.link { font-family: var(--font-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; border-bottom: 1px solid var(--accent); padding-bottom: 3px; }
.link:hover { color: var(--accent); }
.link-btn { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; color: var(--muted); letter-spacing: .04em; }
.link-btn:hover { color: var(--danger); }

/* ---------- announcement ---------- */
.announce { background: var(--accent); color: var(--accent-ink); overflow: hidden; white-space: nowrap; font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.announce-track { display: inline-flex; gap: 28px; padding: 8px 0; animation: s2-marquee 40s linear infinite; }
.announce-track i { font-style: normal; }
@keyframes s2-marquee { to { transform: translateX(-50%); } }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 11, 11, .86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: var(--header-h); padding-inline: var(--gutter); max-width: var(--container); margin: 0 auto; gap: 16px; }
.wordmark { font-family: var(--font-display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: 1.35rem; letter-spacing: -.02em; justify-self: center; white-space: nowrap; }
.wordmark span { display: none; }
.main-nav { display: flex; gap: 22px; }
.main-nav a { font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-2); display: inline-flex; gap: 6px; align-items: baseline; transition: color .2s; position: relative; }
.main-nav a small { font-size: .6rem; color: var(--muted); }
.main-nav a:hover, .main-nav a.active { color: var(--accent); }
.main-nav a.active small { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 4px; justify-self: end; }
.search { position: relative; margin-right: 6px; }
.search i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: .8rem; }
.search input { width: 170px; padding: 9px 12px 9px 34px; background: var(--bg-2); border: 1px solid var(--line); font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; transition: width .3s var(--ease), border-color .2s; }
.search input:focus { outline: none; width: 230px; border-color: var(--accent); }
.icon-btn { position: relative; width: 40px; height: 40px; display: inline-grid; place-items: center; font-size: 1rem; transition: color .2s, background .2s; }
.icon-btn:hover { color: var(--accent); }
.badge { position: absolute; top: 4px; right: 2px; min-width: 16px; height: 16px; padding: 0 4px; background: var(--accent); color: var(--accent-ink); font-family: var(--font-mono); font-size: .6rem; font-weight: 700; display: none; place-items: center; line-height: 16px; }
.badge.show { display: grid; }
.bag-btn { display: inline-flex; align-items: center; gap: 8px; margin-left: 6px; padding: 9px 12px; border: 1px solid var(--line-2); font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; transition: border-color .2s, background .2s, color .2s; }
.bag-btn:hover { border-color: var(--accent); color: var(--accent); }
.bag-count { min-width: 20px; height: 20px; display: inline-grid; place-items: center; background: var(--line); font-size: .66rem; padding: 0 5px; }
.bag-count.show { background: var(--accent); color: var(--accent-ink); }

@media (max-width: 960px) {
  :root { --header-h: 58px; }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .wordmark { font-size: 1.05rem; justify-self: start; }
  .search { display: none; }
  .main-nav {
    position: fixed; inset: 0; z-index: 80; background: var(--accent); color: var(--accent-ink);
    flex-direction: column; gap: 0; padding: 80px var(--gutter) 30px;
    clip-path: inset(0 0 100% 0); transition: clip-path .5s var(--ease);
  }
  body.nav-open .main-nav { clip-path: inset(0 0 0 0); }
  .main-nav a { color: var(--accent-ink); font-family: var(--font-display); font-weight: 900; font-stretch: 125%; font-size: clamp(2.2rem, 11vw, 3.6rem); letter-spacing: -.02em; padding: 8px 0; border-bottom: 2px solid rgba(0,0,0,.15); }
  .main-nav a small { color: var(--accent-ink); font-family: var(--font-mono); font-size: .7rem; }
  .main-nav a:hover, .main-nav a.active { color: var(--accent-ink); }
  .main-nav a.active::after { content: "←"; margin-left: auto; font-size: .5em; align-self: center; }
  .nav-close { position: absolute; top: 10px; right: 12px; color: var(--accent-ink) !important; font-size: 1.4rem; }
  .bag-btn { padding: 8px 10px; }
}

/* ---------- scrim + drawer ---------- */
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.65); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 70; }
body.drawer-open .scrim { opacity: 1; pointer-events: auto; }
body.drawer-open, body.nav-open { overflow: hidden; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100%); z-index: 90; background: var(--bg-2); border-left: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(102%); transition: transform .45s var(--ease); }
body.drawer-open .drawer { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-family: var(--font-display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: 1.5rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 4px 22px; }
.drawer-foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.ship-meter { padding: 14px 0 8px; font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; color: var(--ink-2); }
.ship-meter b { color: var(--accent); }
.meter { height: 4px; background: var(--line); margin-top: 10px; overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--accent); transition: width .5s var(--ease); }
.line { display: grid; grid-template-columns: 78px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line-img img { width: 78px; height: 98px; object-fit: cover; background: var(--card); }
.line-name { font-weight: 700; text-transform: uppercase; font-size: .86rem; letter-spacing: .01em; line-height: 1.25; display: block; }
.line-end { text-align: right; display: grid; gap: 6px; justify-items: end; font-family: var(--font-mono); font-size: .85rem; }
.empty { text-align: center; padding: 60px 10px; display: grid; gap: 16px; justify-items: center; color: var(--muted); font-family: var(--font-mono); text-transform: uppercase; font-size: .8rem; }
.empty i { font-size: 2.2rem; color: var(--line-2); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); }
.qty button { width: 40px; height: 42px; font-size: 1rem; transition: color .2s, background .2s; }
.qty button:hover { background: var(--accent); color: var(--accent-ink); }
.qty span, .qty input { min-width: 30px; width: 42px; text-align: center; font-family: var(--font-mono); font-weight: 600; border: 0; background: none; }
.qty input:focus { outline: none; }
.qty.sm { margin-top: 10px; }
.qty.sm button { width: 30px; height: 30px; font-size: .9rem; }

/* ---------- toasts ---------- */
.toast-wrap { position: fixed; bottom: 20px; left: 20px; z-index: 120; display: grid; gap: 8px; max-width: calc(100% - 40px); }
.toast { display: flex; gap: 12px; align-items: center; padding: 14px 18px; background: var(--accent); color: var(--accent-ink); font-family: var(--font-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .03em; font-weight: 600; opacity: 0; transform: translateX(-20px); transition: all .3s var(--ease); }
.toast.show { opacity: 1; transform: none; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .announce-track, .x-marquee-track { animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   HOME
   ========================================================================== */
.x-hero { position: relative; min-height: calc(100svh - var(--header-h) - 34px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.x-hero-media { position: absolute; inset: 0; z-index: -2; background: var(--bg-2); }
.x-hero-media img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.85) contrast(1.1); animation: s2-zoom 18s ease-out both; }
@keyframes s2-zoom { from { transform: scale(1.12); } }
.x-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,11,11,.15) 20%, rgba(11,11,11,.92) 85%); }
.x-hero-inner { width: 100%; max-width: var(--container); margin: 0 auto; padding: 80px var(--gutter) clamp(32px, 5vw, 60px); display: grid; gap: 22px; }
.x-hero-inner .mono { color: var(--accent); }
.x-hero-title { font-family: var(--font-display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(4rem, 15vw, 15rem); line-height: .82; letter-spacing: -.04em; }
.x-hero-foot { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.x-hero-foot p { max-width: 42ch; color: var(--ink-2); }
.x-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.x-feature { position: absolute; top: 28px; right: var(--gutter); width: 230px; background: rgba(18,18,18,.85); backdrop-filter: blur(10px); border: 1px solid var(--line-2); display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 10px; transition: border-color .2s, transform .3s var(--ease); }
.x-feature:hover { border-color: var(--accent); transform: translateY(-3px); }
.x-feature img { width: 72px; height: 88px; object-fit: cover; }
.x-feature div { display: grid; align-content: center; gap: 4px; font-size: .82rem; }
.x-feature b { text-transform: uppercase; line-height: 1.2; }
.x-feature span:last-child { color: var(--accent); font-family: var(--font-mono); font-size: .76rem; }
@media (max-width: 760px) { .x-feature { display: none; } }

main { overflow-x: clip; }
.x-marquee { background: var(--accent); color: var(--accent-ink); overflow: hidden; border-block: 1px solid var(--accent); transform: rotate(-1.2deg) scale(1.03); margin-block: 26px -6px; }
.x-marquee-track { display: flex; gap: 34px; width: max-content; padding: 16px 0; animation: s2-marquee 30s linear infinite; font-family: var(--font-display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(1.4rem, 3vw, 2.4rem); letter-spacing: -.01em; white-space: nowrap; }
.x-marquee-track i { font-style: normal; }

/* category rows */
.x-rows { border-top: 1px solid var(--line); }
.x-row { position: relative; display: grid; grid-template-columns: 70px 1fr auto 40px; align-items: center; gap: 20px; padding: clamp(18px, 2.4vw, 30px) 0; border-bottom: 1px solid var(--line); transition: padding .35s var(--ease), color .2s; }
.x-row-num { font-family: var(--font-mono); font-size: .8rem; color: var(--muted); }
.x-row-name { font-family: var(--font-display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(2.2rem, 7vw, 6.4rem); line-height: .9; letter-spacing: -.03em; transition: transform .4s var(--ease), color .2s; }
.x-row-count { font-family: var(--font-mono); font-size: .76rem; text-transform: uppercase; color: var(--muted); }
.x-row-arrow { font-size: 1.4rem; transition: transform .3s var(--ease), color .2s; }
.x-row-img { position: absolute; right: 18%; top: 50%; width: 200px; aspect-ratio: 3/4; transform: translateY(-50%) rotate(4deg) scale(.6); opacity: 0; pointer-events: none; transition: all .45s var(--ease); z-index: 2; box-shadow: 0 30px 60px rgba(0,0,0,.6); }
.x-row-img img { width: 100%; height: 100%; object-fit: cover; }
.x-row:hover .x-row-name { color: var(--accent); transform: translateX(14px); }
.x-row:hover .x-row-arrow { color: var(--accent); transform: rotate(-45deg); }
.x-row:hover .x-row-img { opacity: 1; transform: translateY(-50%) rotate(4deg) scale(1); }
@media (max-width: 760px) {
  .x-row { grid-template-columns: 34px 1fr 24px; gap: 12px; }
  .x-row-count, .x-row-img { display: none; }
}

/* product grid + card */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid > * { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid > .no-results { grid-column: 1 / -1; }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .grid, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
.card { position: relative; display: flex; flex-direction: column; background: var(--bg); transition: background .3s; }
.card:hover { background: var(--bg-2); }
.card-media { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--card); margin: 12px 12px 0; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; filter: saturate(.9); }
.card:hover .card-media img { transform: scale(1.06); filter: saturate(1.05); }
.tag { position: absolute; top: 10px; left: 10px; background: var(--ink); color: var(--bg); font-family: var(--font-mono); font-size: .64rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; }
.tag-accent { background: var(--accent); color: var(--accent-ink); }
.tag-dark { background: var(--danger); color: #fff; }
.wish { position: absolute; top: 20px; right: 20px; width: 34px; height: 34px; background: rgba(11,11,11,.7); display: grid; place-items: center; z-index: 2; font-size: .85rem; transition: color .2s, background .2s; }
.wish:hover { background: var(--bg); color: var(--accent); }
.wish.on { color: var(--accent); }
.quick-add {
  position: absolute; left: 12px; right: 12px; top: 0; margin-top: calc((100% - 24px) * 1.3333 + 12px - 44px);
  height: 44px; background: var(--accent); color: var(--accent-ink); font-family: var(--font-mono); font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  opacity: 0; transform: translateY(8px); transition: all .3s var(--ease); z-index: 2;
}
.card:hover .quick-add, .quick-add:focus-visible { opacity: 1; transform: none; }
.quick-add:hover { background: var(--ink); color: var(--bg); }
@media (hover: none) { .quick-add { opacity: 1; transform: none; height: 36px; font-size: .64rem; margin-top: calc((100% - 24px) * 1.3333 + 12px - 36px); } }
.card-body { padding: 14px 12px 18px; display: grid; gap: 6px; }
.card-brand { font-family: var(--font-mono); font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.card-title { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: .98rem; text-transform: uppercase; line-height: 1.15; letter-spacing: -.005em; }
.card-title a:hover { color: var(--accent); }
.card-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.price { font-family: var(--font-mono); font-weight: 600; font-size: .9rem; }
.price s { color: var(--muted); font-weight: 400; font-size: .8em; margin-left: 6px; }
.stars { color: var(--accent); font-size: .7rem; letter-spacing: 1px; }
.stars .dim { color: var(--line-2); }

/* chips / tabs */
.chips, .tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.chip, .tabs button { padding: 9px 14px; border: 1px solid var(--line-2); font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); transition: all .2s; }
.chip:hover, .tabs button:hover { border-color: var(--ink); color: var(--ink); }
.chip.on, .tabs button.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* drop block */
.x-drop { display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid var(--line); min-height: 560px; }
.x-drop-media { position: relative; overflow: hidden; background: var(--bg-2); min-height: 320px; }
.x-drop-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15); }
.x-drop-media::after { content: ""; position: absolute; inset: 0; background: var(--accent); mix-blend-mode: multiply; opacity: .55; }
.x-drop-copy { padding: clamp(32px, 6vw, 90px); display: flex; flex-direction: column; justify-content: center; gap: 24px; align-items: flex-start; }
.x-drop-copy p { color: var(--ink-2); max-width: 40ch; }
.x-count, .countdown { display: flex; gap: 0; border: 1px solid var(--line-2); }
.x-count div, .countdown div { padding: 14px 18px; min-width: 84px; text-align: center; border-right: 1px solid var(--line-2); }
.x-count div:last-child, .countdown div:last-child { border-right: 0; }
.x-count b, .countdown b { display: block; font-family: var(--font-display); font-weight: 900; font-stretch: 125%; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1; color: var(--accent); }
.x-count span, .countdown span { font-family: var(--font-mono); font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
@media (max-width: 860px) { .x-drop { grid-template-columns: 1fr; } .x-count div { min-width: 0; flex: 1; padding: 12px 6px; } }

/* rail */
.x-arrows { display: flex; gap: 6px; }
.x-arrows .icon-btn { border: 1px solid var(--line-2); width: 46px; height: 46px; }
.x-arrows .icon-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.x-rail { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 24vw, 320px); overflow-x: auto; scroll-snap-type: x mandatory; padding-inline: var(--gutter); scrollbar-width: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.x-rail::-webkit-scrollbar { display: none; }
.x-rail > .card { scroll-snap-align: start; border-right: 1px solid var(--line); }
.x-rail > .card:first-child { border-left: 1px solid var(--line); }

/* manifesto */
.x-manifesto .container { display: grid; gap: 30px; }
.x-statement { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; font-size: clamp(1.7rem, 4.2vw, 3.6rem); line-height: 1.05; letter-spacing: -.02em; text-transform: uppercase; max-width: 22ch; }
.x-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.x-stats div { padding: 22px 18px 0 0; display: grid; gap: 6px; }
.x-stats b { font-family: var(--font-display); font-weight: 900; font-stretch: 125%; font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1; }
.x-stats span { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; color: var(--muted); }
@media (max-width: 760px) { .x-stats { grid-template-columns: 1fr 1fr; row-gap: 20px; } }

/* reviews */
.x-reviews { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.x-reviews figure { margin: 0; padding: clamp(22px, 3vw, 36px); border-right: 1px solid var(--line); display: grid; gap: 22px; align-content: space-between; }
.x-reviews figure:last-child { border-right: 0; }
.x-reviews blockquote { margin: 0; font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 600; line-height: 1.35; }
.x-reviews blockquote::before { content: "★★★★★"; display: block; color: var(--accent); font-size: .8rem; letter-spacing: 3px; margin-bottom: 14px; }
.x-reviews figcaption { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; color: var(--muted); }
.x-reviews figcaption b { color: var(--ink); }
@media (max-width: 860px) { .x-reviews { grid-template-columns: 1fr; } .x-reviews figure { border-right: 0; border-bottom: 1px solid var(--line); } .x-reviews figure:last-child { border-bottom: 0; } }

/* ---------- newsletter + footer ---------- */
.newsletter { border-top: 1px solid var(--line); }
.newsletter-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: end; padding-block: clamp(56px, 8vw, 110px); }
.newsletter h2 { font-family: var(--font-display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(2.2rem, 5.4vw, 4.8rem); line-height: .88; letter-spacing: -.03em; }
.newsletter-inner > div { display: grid; gap: 18px; }
.newsletter-inner p { color: var(--ink-2); max-width: 46ch; }
.news-form { display: flex; border: 1px solid var(--line-2); }
.news-form:focus-within { border-color: var(--accent); }
.news-form input { flex: 1; min-width: 0; background: none; border: 0; padding: 16px; font-family: var(--font-mono); font-size: .78rem; text-transform: uppercase; }
.news-form input:focus { outline: none; }
.news-form .btn { border: 0; background: var(--accent); color: var(--accent-ink); }
.news-form .btn:hover { background: var(--ink); color: var(--bg); }
@media (max-width: 760px) { .newsletter-inner { grid-template-columns: minmax(0, 1fr); } }

.site-footer { border-top: 1px solid var(--line); padding-top: 56px; overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 48px; }
.footer-grid h4 { font-family: var(--font-mono); font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 16px; }
.footer-grid > div > a { display: block; padding: 4px 0; font-weight: 600; text-transform: uppercase; font-size: .86rem; transition: color .2s; }
.footer-grid > div > a:hover { color: var(--accent); }
.footer-brand p { color: var(--ink-2); max-width: 34ch; margin-bottom: 20px; }
.socials { display: flex; gap: 6px; }
.socials a { width: 40px; height: 40px; border: 1px solid var(--line-2); display: grid; place-items: center; transition: all .2s; }
.socials a:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.pay-icons { display: flex; gap: 12px; font-size: 1.8rem; color: var(--ink-2); margin-bottom: 12px; }
.footer-giant { font-family: var(--font-display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(3rem, 15vw, 16rem); line-height: .8; letter-spacing: -.05em; text-align: center; white-space: nowrap; color: var(--bg-2); -webkit-text-stroke: 1px var(--line-2); padding: 0 var(--gutter); margin-bottom: -.06em; user-select: none; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--line); padding-block: 18px; font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; color: var(--muted); }
.footer-bottom a:hover { color: var(--accent); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ==========================================================================
   INNER PAGES
   ========================================================================== */
.page-hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero > img { position: absolute; top: 0; right: 0; width: 46%; height: 100%; object-fit: cover; z-index: -2; filter: grayscale(1) contrast(1.15); clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.page-hero::before { content: ""; position: absolute; top: 0; right: 0; width: 46%; height: 100%; z-index: -1; background: linear-gradient(90deg, var(--bg) 0%, transparent 40%); }
.page-hero .container { padding-block: clamp(56px, 9vw, 120px); display: grid; gap: 16px; }
.page-hero .display { font-size: clamp(3rem, 9vw, 8rem); max-width: 10ch; }
.page-hero p { max-width: 44ch; color: var(--ink-2); }
.crumbs, .crumbs-dark { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.crumbs a:hover, .crumbs-dark a:hover { color: var(--accent); }
@media (max-width: 760px) {
  .page-hero > img, .page-hero::before { width: 100%; clip-path: none; opacity: .28; }
}
.page-title { padding-block: clamp(36px, 6vw, 72px) 10px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.page-title .display { font-size: clamp(2.8rem, 8vw, 6.4rem); margin-top: 14px; }
.page-title p.muted { margin-top: 12px; }

/* shop */
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; padding: 18px 0; margin-bottom: 24px; position: sticky; top: var(--header-h); z-index: 10; background: var(--bg); border-bottom: 1px solid var(--line); }
.shop-tools { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.select, .input { width: 100%; padding: 12px 14px; background: var(--bg-2); border: 1px solid var(--line-2); font-size: .9rem; transition: border-color .2s; }
.select { appearance: none; width: auto; padding-right: 36px; cursor: pointer; font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23d4ff3a' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; }
.select.pill { border-radius: 0; }
.input:focus, .select:focus { outline: none; border-color: var(--accent); }
textarea.input { resize: vertical; min-height: 140px; }
.range-wrap { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; color: var(--muted); }
.range-wrap b { color: var(--ink); }
.range-wrap input[type=range], .range-wrap input[type=checkbox] { accent-color: var(--accent); }
.range-wrap input[type=range] { width: 120px; }
.result-count { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; color: var(--muted); }
.no-results { text-align: center; padding: 80px 20px; color: var(--muted); display: grid; gap: 14px; justify-items: center; font-family: var(--font-mono); text-transform: uppercase; font-size: .8rem; }
.no-results i { font-size: 2rem; color: var(--line-2); }

/* product detail */
.pd { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.pd-gallery { display: grid; grid-template-columns: 1fr; gap: 8px; position: sticky; top: calc(var(--header-h) + 20px); }
.pd-main { order: 1; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--card); cursor: zoom-in; border: 1px solid var(--line); }
.pd-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.pd-main.zoom img { transform: scale(1.9); }
.pd-thumbs { order: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.pd-thumbs button { aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line); opacity: .5; transition: all .2s; background: var(--card); }
.pd-thumbs button.on, .pd-thumbs button:hover { border-color: var(--accent); opacity: 1; }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info { display: grid; gap: 22px; }
.pd-info h1 { font-family: var(--font-display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(2.2rem, 4.4vw, 4rem); line-height: .9; letter-spacing: -.03em; margin-top: 8px; }
.pd-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding-block: 16px; border-block: 1px solid var(--line); }
.pd-price b { font-family: var(--font-mono); font-size: 1.6rem; }
.pd-price s { color: var(--muted); font-family: var(--font-mono); }
.save-pill { background: var(--accent); color: var(--accent-ink); font-family: var(--font-mono); font-size: .68rem; font-weight: 600; padding: 4px 8px; text-transform: uppercase; }
.opt-label { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; display: flex; justify-content: space-between; color: var(--ink-2); }
.opt-label a { color: var(--muted); text-decoration: underline; }
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); gap: 6px; }
.sizes button { height: 48px; border: 1px solid var(--line-2); font-family: var(--font-mono); font-weight: 600; font-size: .82rem; transition: all .15s; }
.sizes button:hover { border-color: var(--ink); }
.sizes button.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.pd-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-actions .btn { flex: 1; min-width: 170px; height: 56px; }
.pd-actions .btn:first-child { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.pd-actions .btn:first-child:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.wish-lg { width: 56px; height: 56px; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 1.05rem; transition: all .2s; }
.wish-lg.on, .wish-lg:hover { color: var(--accent); border-color: var(--accent); }
.stock { font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.stock::before { content: ""; width: 8px; height: 8px; background: var(--ok); animation: s2-blink 1.4s steps(2) infinite; }
.stock.low::before { background: var(--warn); }
.stock.out::before { background: var(--danger); animation: none; }
@keyframes s2-blink { 50% { opacity: .2; } }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.perks div { padding: 14px; font-size: .78rem; display: grid; gap: 4px; border-right: 1px solid var(--line); }
.perks div:last-child { border-right: 0; }
.perks b { text-transform: uppercase; font-size: .78rem; }
.perks i { color: var(--accent); }
details.acc { border-top: 1px solid var(--line); padding: 16px 0; }
details.acc:last-of-type { border-bottom: 1px solid var(--line); }
details.acc summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; font-family: var(--font-display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: .95rem; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; font-family: var(--font-mono); color: var(--accent); transition: transform .25s; }
details.acc[open] summary::after { transform: rotate(45deg); }
details.acc p, details.acc ul { margin-top: 12px; color: var(--ink-2); font-size: .92rem; }
details.acc ul { padding-left: 18px; }
@media (max-width: 900px) { .pd { grid-template-columns: 1fr; } .pd-gallery { position: static; } .perks { grid-template-columns: 1fr; } .perks div { border-right: 0; border-bottom: 1px solid var(--line); } }

/* cart + checkout */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.cart-table { border: 1px solid var(--line); padding: 0 22px; }
.cart-row { display: grid; grid-template-columns: 96px 1fr auto auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-row:last-child { border-bottom: 0; }
.cart-row img { width: 96px; height: 120px; object-fit: cover; background: var(--card); }
.cart-row h3 { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: 1rem; margin: 4px 0; line-height: 1.15; }
.cart-row .sub { font-family: var(--font-mono); font-weight: 600; min-width: 90px; text-align: right; }
@media (max-width: 680px) { .cart-row { grid-template-columns: 80px 1fr; gap: 14px; } .cart-row img { width: 80px; height: 100px; } .cart-row .qty, .cart-row .sub { grid-column: 2; justify-self: start; text-align: left; } }
.summary { border: 1px solid var(--line); background: var(--bg-2); padding: 24px; display: grid; gap: 14px; position: sticky; top: calc(var(--header-h) + 20px); }
.summary h3 { font-family: var(--font-display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: 1.5rem; }
.summary .row-between { font-size: .9rem; }
.summary .row-between > :last-child { font-family: var(--font-mono); }
.summary .total { font-size: 1.15rem; font-weight: 800; border-top: 1px solid var(--line); padding-top: 14px; text-transform: uppercase; }
.summary .green { color: var(--accent); }
.coupon { display: flex; }
.coupon .input { border-right: 0; font-family: var(--font-mono); text-transform: uppercase; font-size: .8rem; }
.coupon-msg { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; }
.coupon-msg.ok { color: var(--accent); }
.coupon-msg.err { color: var(--danger); }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } .summary { position: static; } }

.form-card { border: 1px solid var(--line); padding: clamp(20px, 3vw, 30px); display: grid; gap: 18px; }
.form-card h3 { font-family: var(--font-display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: 1.05rem; display: flex; align-items: center; gap: 12px; }
.form-card h3 .step { width: 28px; height: 28px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-family: var(--font-mono); font-size: .78rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fields .full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; color: var(--muted); }
@media (max-width: 600px) { .fields { grid-template-columns: 1fr; } }
.pay-opts { display: grid; gap: 8px; }
.pay-opt { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line-2); cursor: pointer; transition: border-color .2s, background .2s; }
.pay-opt:has(input:checked) { border-color: var(--accent); background: var(--bg-2); }
.pay-opt input { accent-color: var(--accent); width: 18px; height: 18px; }
.pay-opt .pay-title { font-weight: 700; text-transform: uppercase; font-size: .9rem; }
.pay-opt .pay-sub { font-size: .8rem; color: var(--muted); }
.pay-opt .pay-icons { margin: 0 0 0 auto; font-size: 1.4rem; }
.pay-opt.disabled { opacity: .5; }
.soon { font-family: var(--font-mono); font-size: .6rem; text-transform: uppercase; background: var(--line); color: var(--ink-2); padding: 3px 6px; margin-left: 6px; }
.mini-line { display: grid; grid-template-columns: 54px 1fr auto; gap: 12px; align-items: center; font-size: .85rem; }
.mini-line img { width: 54px; height: 66px; object-fit: cover; }
.mini-line b { text-transform: uppercase; }
.mini-line > b { font-family: var(--font-mono); }
.success { text-align: center; display: grid; justify-items: center; gap: 18px; padding: clamp(40px, 8vw, 100px) 20px; }
.success .tick { width: 84px; height: 84px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 2rem; }
.success .lead b { color: var(--accent); }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* orders */
.order { border: 1px solid var(--line); padding: 22px; display: grid; gap: 16px; }
.order + .order { margin-top: -1px; }
.order b { font-family: var(--font-mono); }
.order-items { display: flex; gap: 6px; flex-wrap: wrap; }
.order-items img { width: 54px; height: 66px; object-fit: cover; }
.status { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: .66rem; font-weight: 600; text-transform: uppercase; padding: 5px 10px; border: 1px solid currentColor; }
.status.Paid, .status.Delivered { color: var(--ok); }
.status.Pending { color: var(--warn); }
.status.Shipped, .status.Processing { color: var(--info); }
.status.Cancelled { color: var(--danger); }
.tracker { display: grid; grid-template-columns: repeat(4, 1fr); font-family: var(--font-mono); font-size: .66rem; text-transform: uppercase; color: var(--muted); }
.tracker div { padding-top: 12px; border-top: 3px solid var(--line); margin-right: 4px; }
.tracker div.done { border-color: var(--accent); color: var(--ink); }

/* blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.post { padding: 16px 16px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.post:hover { background: var(--bg-2); }
.post-feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
.post-img { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--card); }
.post-feature .post-img { aspect-ratio: 16 / 10; }
.post-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.6); transition: transform .8s var(--ease), filter .4s; }
.post:hover .post-img img { transform: scale(1.05); filter: none; }
.post-meta { display: flex; gap: 10px; font-family: var(--font-mono); font-size: .66rem; color: var(--muted); margin: 16px 0 10px; text-transform: uppercase; }
.post-meta b { color: var(--accent); }
.post h3 { font-family: var(--font-display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: 1.4rem; line-height: .95; letter-spacing: -.02em; margin-bottom: 12px; }
.post-feature h3 { font-size: clamp(2rem, 4vw, 3.4rem); }
.post p { color: var(--ink-2); font-size: .92rem; margin-bottom: 16px; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr 1fr; } .post-feature { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }

/* about */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.split-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.split-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); }
.split-copy { display: grid; gap: 20px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.stat { padding: 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--font-display); font-weight: 900; font-stretch: 125%; font-size: clamp(2.2rem, 4.4vw, 3.8rem); line-height: 1; color: var(--accent); }
.stat span { font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; color: var(--muted); }
.video-wrap { overflow: hidden; background: var(--bg-2); aspect-ratio: 16 / 7; border: 1px solid var(--line); }
.video-wrap video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.7); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.value { padding: 30px; display: grid; gap: 12px; border-right: 1px solid var(--line); }
.value:last-child { border-right: 0; }
.value .num { font-family: var(--font-mono); color: var(--accent); font-size: .8rem; }
.value h3 { font-family: var(--font-display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: 1.6rem; }
.value p { color: var(--ink-2); font-size: .92rem; }
@media (max-width: 900px) {
  .split, .values { grid-template-columns: 1fr; }
  .value { border-right: 0; border-bottom: 1px solid var(--line); }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); }
.c-card { padding: 26px; display: grid; gap: 8px; border-right: 1px solid var(--line); }
.c-card:last-child { border-right: 0; }
.c-card i { width: 44px; height: 44px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; margin-bottom: 8px; }
.c-card h4 { font-family: var(--font-display); font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: 1.1rem; }
.c-card p { color: var(--ink-2); font-size: .9rem; }
.map { border: 1px solid var(--line); min-height: 100%; overflow: hidden; }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }
@media (max-width: 900px) { .contact-cards { grid-template-columns: 1fr; } .c-card { border-right: 0; border-bottom: 1px solid var(--line); } .c-card:last-child { border-bottom: 0; } }

.faq { max-width: 860px; margin-inline: auto; }
.faq .h2 { margin-top: 12px; }

/* ---------- multiple product images: second image on card hover ---------- */
.card-media img.card-alt { position: absolute; inset: 0; opacity: 0; transition: opacity .45s var(--ease), transform .8s var(--ease); }
.card:hover .card-media img.card-alt { opacity: 1; }
