:root {
  --ink: #0b0b0c;
  --ink-2: #151517;
  --ink-3: #222226;
  --paper: #ffffff;
  --studio: #f3f3f0;
  --line: #e5e5e5;
  --gray: #767677;
  --muted: #a6a6ab;
  --red: #e32b2b;
  --red-d: #c21f1f;
  --green: #1fbf6a;
  --display: "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
  --text: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gut: 16px;
  --radius: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ink); color: #fff;
  font: 400 16px/1.5 var(--text);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; border-radius: 6px; }
.shelf :focus-visible, .outlets :focus-visible { outline-color: var(--red); }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: #fff; color: #000; padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 8px; }

/* ---------- header ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 30; height: 56px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--gut);
  background: linear-gradient(#0b0b0cf0, #0b0b0c00);
  transition: background .3s;
}
.top.solid { background: #0b0b0ce8; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 #ffffff14; }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { width: 138px; height: auto; }
.top-nav { display: flex; gap: 4px; }
.top-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px;
  font: 600 15px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: #fff;
}
.top-nav a:hover { color: var(--red); }

/* ---------- hero ---------- */
.hero { position: relative; height: 195svh; }
.stage { position: sticky; top: 0; height: 100svh; min-height: 600px; overflow: hidden;
  background:
    radial-gradient(120% 60% at 50% 62%, #2b2b30 0%, #151518 42%, #0b0b0c 75%),
    var(--ink);
}
.stage::after { /* soft floor glow under the box */
  content: ""; position: absolute; left: 50%; top: 66%; width: 130%; height: 40%; transform: translate(-50%, -10%);
  background: radial-gradient(50% 40% at 50% 30%, #e32b2b1f, transparent 70%); pointer-events: none;
}
#gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; z-index: 1; }
.poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; z-index: 1; }

.hero-copy { position: absolute; z-index: 2; left: var(--gut); right: var(--gut); top: calc(64px + env(safe-area-inset-top)); pointer-events: none; }
.eyebrow { margin: 0 0 8px; display: flex; align-items: center; gap: 8px; font: 600 12px/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #d6d6da; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px #e32b2b33; flex: none; }
h1 { margin: 0; font: 800 clamp(46px, 13.4vw, 112px)/.86 var(--display); letter-spacing: -.01em; text-transform: uppercase; text-wrap: balance; }
.sub { margin: 10px 0 0; font-size: 15px; color: #cfcfd3; }
.sub strong { color: #fff; font-weight: 600; }
.hint {
  position: absolute; z-index: 2; left: 50%; bottom: calc(176px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  margin: 0; font: 600 11px/1 var(--display); letter-spacing: .2em; text-transform: uppercase; color: #ffffff9e;
  display: flex; flex-direction: column; align-items: center; gap: 6px; transition: opacity .4s; pointer-events: none;
}
.hint::after { content: ""; width: 1px; height: 18px; background: linear-gradient(#fff9, transparent); animation: hint 1.6s ease-in-out infinite; }
@keyframes hint { 0%,100% { transform: translateY(-3px); opacity: .4 } 50% { transform: translateY(3px); opacity: 1 } }
.hint.gone { opacity: 0; }

.dock { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; padding: 0 var(--gut) calc(14px + env(safe-area-inset-bottom)); }
.chips { display: flex; gap: 6px; justify-content: center; margin-bottom: 10px; }
.chip {
  min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid #ffffff2e; background: #0b0b0c80;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font: 700 14px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: #ffffff70; }
.chip[aria-pressed="true"] { background: #fff; color: #000; border-color: #fff; }
.pick {
  display: grid; grid-template-columns: 44px 1fr auto 44px; align-items: center; gap: 6px;
  background: #ffffff; color: #000; border-radius: 18px; padding: 6px; box-shadow: 0 14px 40px #00000080;
}
.arrow {
  width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--studio); cursor: pointer;
  display: grid; place-items: center; transition: background .2s;
}
.arrow:hover { background: #e7e7e3; }
.arrow svg { width: 20px; height: 20px; fill: none; stroke: #000; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.pick-info { min-width: 0; text-decoration: none; display: grid; padding: 2px 4px; min-height: 44px; align-content: center; }
.pick-brand { font: 600 11px/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--gray); }
.pick-name { font: 700 16px/1.15 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick-price { font: 800 18px/1.15 var(--display); display: flex; gap: 6px; align-items: baseline; font-variant-numeric: tabular-nums; }
.pick-price .now.sale { color: var(--red); }
.pick-price s { font-weight: 500; font-size: 14px; color: var(--gray); }
.pick-price .off { font: 700 11px/1 var(--display); background: var(--red); color: #fff; padding: 3px 5px; border-radius: 4px; letter-spacing: .04em; align-self: center; }
.buy {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 64px; padding: 0 16px;
  background: var(--red); color: #fff; border-radius: 12px; text-decoration: none;
  font: 800 16px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; transition: background .2s;
}
.buy:hover { background: var(--red-d); }

/* ---------- perks ---------- */
.perks { position: relative; z-index: 2; background: var(--red); color: #fff; display: grid; gap: 2px; padding: 12px var(--gut); text-align: center; font-size: 14px; line-height: 1.35; }
.perks p { margin: 0; }
.perks strong { font-weight: 600; }

/* ---------- sections ---------- */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gut); }
.sec-head { margin-bottom: 20px; }
.kicker { margin: 0 0 6px; font: 700 13px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
h2 { margin: 0; font: 800 clamp(34px, 9.4vw, 64px)/.92 var(--display); text-transform: uppercase; letter-spacing: -.005em; text-wrap: balance; }
.sec-sub { margin: 10px 0 0; color: var(--gray); }

.shelf { background: var(--studio); color: #000; padding: 48px 0 52px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; margin: 0 calc(-1 * var(--gut)) 18px; padding: 2px var(--gut); scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid #00000026; background: transparent; cursor: pointer;
  font: 700 14px/1 var(--display); letter-spacing: .08em; text-transform: uppercase;
}
.tab[aria-pressed="true"] { background: #000; color: #fff; border-color: #000; }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.card { height: 100%; }
.card a { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; position: relative;
  box-shadow: 0 1px 0 #0000000d; transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s; }
.card a:hover { transform: translateY(-3px); box-shadow: 0 12px 30px #0000001f; }
.card .ph { aspect-ratio: 5 / 4; background: #fff; }
.card img { width: 100%; height: 100%; object-fit: cover; }
.card .meta { padding: 10px 12px 12px; display: grid; gap: 2px; flex: 1; align-content: start; border-top: 1px solid #f0f0ee; }
.card .b { font: 600 11px/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--gray); }
.card .n { font: 700 16px/1.15 var(--display); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.3em; }
.card .p { margin-top: 4px; font: 800 19px/1.1 var(--display); display: flex; flex-wrap: wrap; gap: 0 6px; align-items: baseline; font-variant-numeric: tabular-nums; }
.card .p .sale { color: var(--red); }
.card .p s { font-weight: 500; font-size: 14px; color: var(--gray); }
.badge { position: absolute; top: 8px; left: 8px; z-index: 1; font: 700 12px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; padding: 5px 7px; border-radius: 5px; background: var(--red); color: #fff; }
.badge.lelong { background: #000; }
.see-all { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; background: #000; color: #fff; text-decoration: none;
  font: 700 15px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.see-all:hover { background: var(--red); }

/* category boxes: each tile is the end of a boot box */
.cats { background: var(--ink); padding: 52px 0 56px; }
.boxes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.boxes a {
  position: relative; display: flex; flex-direction: column; height: 100%; text-decoration: none; border-radius: 12px; overflow: hidden;
  background: linear-gradient(160deg, #1d1d21, #111113 60%); box-shadow: inset 0 0 0 1px #ffffff14, 0 18px 30px #00000066;
  transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
.boxes a:hover { transform: translateY(-4px) rotate(-.6deg); }
.boxes a::before { /* red lid line */ content: ""; height: 8px; background: var(--red); box-shadow: 0 2px 0 #00000080; }
.boxes .lbl { margin: 12px 12px 0; background: #fff; border-radius: 6px; overflow: hidden; color: #000; }
.boxes .lbl img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; }
.boxes .lbl span { display: block; padding: 6px 8px 7px; border-top: 1px dashed #d4d4d0; font: 600 10px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--gray); }
.boxes .t { padding: 12px 12px 14px; display: grid; gap: 4px; }
.boxes .t b { font: 800 22px/1 var(--display); text-transform: uppercase; }
.boxes .t em { font: 600 13px/1 var(--display); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }

.outlets { background: #fff; color: #000; padding: 52px 0 56px; }
.stores { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.store { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 10px; background: #fff; }
.store h3 { margin: 0; font: 800 24px/1 var(--display); text-transform: uppercase; }
.store .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.state { display: inline-flex; align-items: center; gap: 6px; font: 700 13px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; }
.state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.state.open { color: #0d8a4a; background: #e3f6ec; }
.state.closed { color: #b81f1f; background: #fdeaea; }
.store address { font-style: normal; color: #333; font-size: 15px; line-height: 1.45; }
.store .hrs { margin: 0; font-size: 14px; color: var(--gray); }
.store .hrs b { color: #000; font-weight: 600; }
.store .acts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 14px; border-radius: 12px; text-decoration: none;
  font: 700 15px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn.call { background: #000; color: #fff; }
.btn.dir { background: var(--studio); color: #000; }
.btn.call:hover { background: var(--red); }
.btn.dir:hover { background: #e7e7e3; }
.store .stock { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 15px; color: #000; text-underline-offset: 4px; }
.store .stock:hover { color: var(--red); }

.foot { background: #000; color: #cfcfd3; padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 14px; }
.foot img { width: 160px; height: auto; margin-bottom: 14px; }
.foot p { margin: 6px 0; }
.foot .copy { color: #8c8c90; margin-top: 16px; }

/* ---------- reduced motion / no WebGL ---------- */
.still .hero { height: auto; }
.still .stage { position: relative; height: 100svh; }
.still .hint { display: none; }

/* ---------- wider screens ---------- */
@media (min-width: 760px) {
  :root { --gut: 32px; }
  .top { height: 72px; }
  .brand img { width: 170px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .boxes { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .stores { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .store address { min-height: 5.8em; }
  .perks { grid-auto-flow: column; justify-content: center; gap: 36px; }
  .shelf, .cats, .outlets { padding: 84px 0; }
  .sec-head { margin-bottom: 28px; }
}
@media (min-width: 1024px) {
  .hero { height: 210vh; }
  .stage { background: radial-gradient(70% 70% at 64% 60%, #2b2b30 0%, #151518 45%, #0b0b0c 80%), var(--ink); }
  .stage::after { left: 64%; width: 70%; }
  .hero-copy { left: 64px; right: auto; top: 50%; transform: translateY(-62%); width: 520px; }
  h1 { font-size: 112px; }
  .eyebrow { font-size: 14px; }
  .sub { font-size: 19px; margin-top: 16px; }
  .dock { left: 64px; right: auto; bottom: 48px; width: 480px; padding: 0; }
  .chips { justify-content: flex-start; }
  .hint { left: 64%; bottom: 36px; }
  .poster { object-fit: contain; object-position: 50% 50%; left: 40%; width: 52%;
    -webkit-mask-image: radial-gradient(60% 55% at 50% 50%, #000 60%, transparent 100%); mask-image: radial-gradient(60% 55% at 50% 50%, #000 60%, transparent 100%); }
}
